Line 13: |
Line 13: |
| |- | | |- |
| | 0x00010040 | | | 0x00010040 |
− | | StartCapture(Port port) | + | | [[CAMU:StartCapture|StartCapture]] |
| |- | | |- |
| | 0x00020040 | | | 0x00020040 |
− | | StopCapture(Port port) | + | | [[CAMU:StopCapture|StopCapture]] |
| |- | | |- |
| | 0x00030040 | | | 0x00030040 |
− | | IsBusy(bool* busy, Port port) | + | | [[CAMU:IsBusy|IsBusy]] |
| |- | | |- |
| | 0x00040040 | | | 0x00040040 |
− | | ClearBuffer(Port port) | + | | [[CAMU:ClearBuffer|ClearBuffer]] |
| |- | | |- |
| | 0x00050040 | | | 0x00050040 |
− | | GetVsyncInterruptEvent(Handle* event, Port port) | + | | [[CAMU:GetVsyncInterruptEvent|GetVsyncInterruptEvent]] |
| |- | | |- |
| | 0x00060040 | | | 0x00060040 |
− | | GetBufferErrorInterruptEvent(Handle* event, Port port) | + | | [[CAMU:GetBufferErrorInterruptEvent|GetBufferErrorInterruptEvent]] |
| |- | | |- |
| | 0x00070102 | | | 0x00070102 |
− | | SetReceiving(Handle* event, void* dst, Port port, u32 imageSize, s16 transferUnit) | + | | [[CAMU:SetReceiving|SetReceiving]] |
| |- | | |- |
| | 0x00080040 | | | 0x00080040 |
− | | IsFinishedReceiving(bool* finishedReceiving, Port port) | + | | [[CAMU:IsFinishedReceiving|IsFinishedReceiving]] |
| |- | | |- |
| | 0x00090100 | | | 0x00090100 |
− | | SetTransferLines(Port port, s16 lines, s16 width, s16 height) | + | | [[CAMU:SetTransferLines|SetTransferLines]] |
| |- | | |- |
| | 0x000A0080 | | | 0x000A0080 |
− | | GetMaxLines(s16* maxLines, s16 width, s16 height) | + | | [[CAMU:GetMaxLines|GetMaxLines]] |
| |- | | |- |
| | 0x000B0100 | | | 0x000B0100 |
− | | SetTransferBytes(Port port, u32 bytes, s16 width, s16 height) | + | | [[CAMU:SetTransferBytes|SetTransferBytes]] |
| |- | | |- |
| | 0x000C0040 | | | 0x000C0040 |
− | | GetTransferBytes(u32* transferBytes, Port port) | + | | [[CAMU:GetTransferBytes|GetTransferBytes]] |
| |- | | |- |
| | 0x000D0080 | | | 0x000D0080 |
− | | GetMaxBytes(u32* maxBytes, s16 width, s16 height) | + | | [[CAMU:GetMaxBytes|GetMaxBytes]] |
| |- | | |- |
| | 0x000E0080 | | | 0x000E0080 |
− | | SetTrimming(Port port, bool trimming) | + | | [[CAMU:SetTrimming|SetTrimming]] |
| |- | | |- |
| | 0x000F0040 | | | 0x000F0040 |
− | | IsTrimming(bool* trimming, Port port) | + | | [[CAMU:IsTrimming|IsTrimming]] |
| |- | | |- |
| | 0x00100140 | | | 0x00100140 |
− | | SetTrimmingParams(Port port, s16 xStart, s16 yStart, s16 xEnd, s16 yEnd) | + | | [[CAMU:SetTrimmingParams|SetTrimmingParams]] |
| |- | | |- |
| | 0x00110040 | | | 0x00110040 |
− | | GetTrimmingParams(s16* xStart, s16* yStart, s16* xEnd, s16* yEnd, Port port) | + | | [[CAMU:GetTrimmingParams|GetTrimmingParams]] |
| |- | | |- |
| | 0x00120140 | | | 0x00120140 |
− | | SetTrimmingParamsCenter(Port port, s16 trimWidth, s16 trimHeight, s16 camWidth, s16 camHeight) | + | | [[CAMU:SetTrimmingParamsCenter|SetTrimmingParamsCenter]] |
| |- | | |- |
| | 0x00130040 | | | 0x00130040 |
− | | Activate(CameraSelect select) | + | | [[CAMU:Activate|Activate]] |
| |- | | |- |
| | 0x00140080 | | | 0x00140080 |
− | | SwitchContext(CameraSelect select, Context context) | + | | [[CAMU:SwitchContext|SwitchContext]] |
| |- | | |- |
| | 0x00150080 | | | 0x00150080 |
− | | SetExposure(CameraSelect select, s8 exposure) | + | | [[CAMU:SetExposure|SetExposure]] |
| |- | | |- |
| | 0x00160080 | | | 0x00160080 |
− | | SetWhiteBalance(CameraSelect select, WhiteBalance whiteBalance) | + | | [[CAMU:SetWhiteBalance|SetWhiteBalance]] |
| |- | | |- |
| | 0x00170080 | | | 0x00170080 |
− | | SetWhiteBalanceWithoutBaseUp(CameraSelect select, WhiteBalance whiteBalance) | + | | [[CAMU:SetWhiteBalanceWithoutBaseUp|SetWhiteBalanceWithoutBaseUp]] |
| |- | | |- |
| | 0x00180080 | | | 0x00180080 |
− | | SetSharpness(CameraSelect select, s8 sharpness) | + | | [[CAMU:SetSharpness|SetSharpness]] |
| |- | | |- |
| | 0x00190080 | | | 0x00190080 |
− | | SetAutoExposure(CameraSelect select, bool autoExposure) | + | | [[CAMU:SetAutoExposure|SetAutoExposure]] |
| |- | | |- |
| | 0x001A0040 | | | 0x001A0040 |
− | | IsAutoExposure(bool* autoExposure, CameraSelect select) | + | | [[CAMU:IsAutoExposure|IsAutoExposure]] |
| |- | | |- |
| | 0x001B0080 | | | 0x001B0080 |
− | | SetAutoWhiteBalance(CameraSelect select, bool autoWhiteBalance) | + | | [[CAMU:SetAutoWhiteBalance|SetAutoWhiteBalance]] |
| |- | | |- |
| | 0x001C0040 | | | 0x001C0040 |
− | | IsAutoWhiteBalance(bool* autoWhiteBalance, CameraSelect select) | + | | [[CAMU:IsAutoWhiteBalance|IsAutoWhiteBalance]] |
| |- | | |- |
| | 0x001D00C0 | | | 0x001D00C0 |
− | | FlipImage(CameraSelect select, Flip flip, Context context) | + | | [[CAMU:FlipImage|FlipImage]] |
| |- | | |- |
| | 0x001E0200 | | | 0x001E0200 |
− | | SetDetailSize(CameraSelect select, s16 width, s16 height, s16 cropX0, s16 cropY0, s16 cropX1, s16 cropY1, Context context) | + | | [[CAMU:SetDetailSize|SetDetailSize]] |
| |- | | |- |
| | 0x001F00C0 | | | 0x001F00C0 |
− | | SetSize(CameraSelect select, Size size, Context context) | + | | [[CAMU:SetSize|SetSize]] |
| |- | | |- |
| | 0x00200080 | | | 0x00200080 |
− | | SetFrameRate(CameraSelect select, FrameRate frameRate) | + | | [[CAMU:SetFrameRate|SetFrameRate]] |
| |- | | |- |
| | 0x00210080 | | | 0x00210080 |
− | | SetPhotoMode(CameraSelect select, PhotoMode photoMode) | + | | [[CAMU:SetPhotoMode|SetPhotoMode]] |
| |- | | |- |
| | 0x002200C0 | | | 0x002200C0 |
− | | SetEffect(CameraSelect select, Effect effect, Context context) | + | | [[CAMU:SetEffect|SetEffect]] |
| |- | | |- |
| | 0x00230080 | | | 0x00230080 |
− | | SetContrast(CameraSelect select, Contrast contrast) | + | | [[CAMU:SetContrast|SetContrast]] |
| |- | | |- |
| | 0x00240080 | | | 0x00240080 |
− | | SetLensCorrection(CameraSelect select, LensCorrection lensCorrection) | + | | [[CAMU:SetLensCorrection|SetLensCorrection]] |
| |- | | |- |
| | 0x002500C0 | | | 0x002500C0 |
− | | SetOutputFormat(CameraSelect select, OutputFormat format, Context context) | + | | [[CAMU:SetOutputFormat|SetOutputFormat]] |
| |- | | |- |
| | 0x00260140 | | | 0x00260140 |
− | | SetAutoExposureWindow(CameraSelect select, s16 x, s16 y, s16 width, s16 height) | + | | [[CAMU:SetAutoExposureWindow|SetAutoExposureWindow]] |
| |- | | |- |
| | 0x00270140 | | | 0x00270140 |
− | | SetAutoWhiteBalanceWindow(CameraSelect select, s16 x, s16 y, s16 width, s16 height) | + | | [[CAMU:SetAutoWhiteBalanceWindow|SetAutoWhiteBalanceWindow]] |
| |- | | |- |
| | 0x00280080 | | | 0x00280080 |
− | | SetNoiseFilter(CameraSelect select, bool noiseFilter) | + | | [[CAMU:SetNoiseFilter|SetNoiseFilter]] |
| |- | | |- |
| | 0x00290080 | | | 0x00290080 |
− | | SynchronizeVsyncTiming(CameraSelect select1, CameraSelect select2) | + | | [[CAMU:SynchronizeVsyncTiming|SynchronizeVsyncTiming]] |
| |- | | |- |
| | 0x002A0080 | | | 0x002A0080 |
− | | GetLatestVsyncTiming(s64* timing, Port port, u32 past) | + | | [[CAMU:GetLatestVsyncTiming|GetLatestVsyncTiming]] |
| |- | | |- |
| | 0x002B0000 | | | 0x002B0000 |
− | | GetStereoCameraCalibrationData(StereoCameraCalibrationData* data) | + | | [[CAMU:GetStereoCameraCalibrationData|GetStereoCameraCalibrationData]] |
| |- | | |- |
| | 0x002C0400 | | | 0x002C0400 |
− | | SetStereoCameraCalibrationData(StereoCameraCalibrationData data) | + | | [[CAMU:SetStereoCameraCalibrationData|SetStereoCameraCalibrationData]] |
| |- | | |- |
| | 0x002D00C0 | | | 0x002D00C0 |
− | | WriteRegisterI2c(CameraSelect select, u16 addr, u16 data) | + | | [[CAMU:WriteRegisterI2c|WriteRegisterI2c]] |
| |- | | |- |
| | 0x002E00C0 | | | 0x002E00C0 |
− | | WriteMcuVariableI2c(CameraSelect select, u16 addr, u16 data) | + | | [[CAMU:WriteMcuVariableI2c|WriteMcuVariableI2c]] |
| |- | | |- |
| | 0x002F0080 | | | 0x002F0080 |
− | | ReadRegisterI2cExclusive(u16* data, CameraSelect select, u16 addr) | + | | [[CAMU:ReadRegisterI2cExclusive|ReadRegisterI2cExclusive]] |
| |- | | |- |
| | 0x00300080 | | | 0x00300080 |
− | | ReadMcuVariableI2cExclusive(u16* data, CameraSelect select, u16 addr) | + | | [[CAMU:ReadMcuVariableI2cExclusive|ReadMcuVariableI2cExclusive]] |
| |- | | |- |
| | 0x00310180 | | | 0x00310180 |
− | | SetImageQualityCalibrationData(ImageQualityCalibrationData data) | + | | [[CAMU:SetImageQualityCalibrationData|SetImageQualityCalibrationData]] |
| |- | | |- |
| | 0x00320000 | | | 0x00320000 |
− | | GetImageQualityCalibrationData(ImageQualityCalibrationData* data) | + | | [[CAMU:GetImageQualityCalibrationData|GetImageQualityCalibrationData]] |
| |- | | |- |
| | 0x003302C0 | | | 0x003302C0 |
− | | SetPackageParameterWithoutContext(PackageParameterCameraSelect param) | + | | [[CAMU:SetPackageParameterWithoutContext|SetPackageParameterWithoutContext]] |
| |- | | |- |
| | 0x00340140 | | | 0x00340140 |
− | | SetPackageParameterWithContext(PackageParameterContext param) | + | | [[CAMU:SetPackageParameterWithContext|SetPackageParameterWithContext]] |
| |- | | |- |
| | 0x003501C0 | | | 0x003501C0 |
− | | SetPackageParameterWithContextDetail(PackageParameterContextDetail param) | + | | [[CAMU:SetPackageParameterWithContextDetail|SetPackageParameterWithContextDetail]] |
| |- | | |- |
| | 0x00360000 | | | 0x00360000 |
− | | GetSuitableY2rStandardCoefficient(StandardCoefficient* coefficient) | + | | [[CAMU:GetSuitableY2rStandardCoefficient|GetSuitableY2rStandardCoefficient]] |
| |- | | |- |
| | 0x00370202 | | | 0x00370202 |
− | | PlayShutterSoundWithWave(u8* waveData, s32 size, ChannelParam param, OptionInfo info) | + | | [[CAMU:PlayShutterSoundWithWave|PlayShutterSoundWithWave]] |
| |- | | |- |
| | 0x00380040 | | | 0x00380040 |
− | | PlayShutterSound(ShutterSoundType sound) | + | | [[CAMU:PlayShutterSound|PlayShutterSound]] |
| |- | | |- |
| | 0x00390000 | | | 0x00390000 |
− | | DriverInitialize() | + | | [[CAMU:DriverInitialize|DriverInitialize]] |
| |- | | |- |
| | 0x003A0000 | | | 0x003A0000 |
− | | DriverFinalize() | + | | [[CAMU:DriverFinalize|DriverFinalize]] |
| |- | | |- |
| | 0x003B0000 | | | 0x003B0000 |
− | | GetActivatedCamera(CameraSelect* select) | + | | [[CAMU:GetActivatedCamera|GetActivatedCamera]] |
| |- | | |- |
| | 0x003C0000 | | | 0x003C0000 |
− | | GetSleepCamera(CameraSelect* select) | + | | [[CAMU:GetSleepCamera|GetSleepCamera]] |
| |- | | |- |
| | 0x003D0040 | | | 0x003D0040 |
− | | SetSleepCamera(CameraSelect select) | + | | [[CAMU:SetSleepCamera|SetSleepCamera]] |
| |- | | |- |
| | 0x003E0040 | | | 0x003E0040 |
− | | SetBrightnessSynchronization(bool brightnessSynchronization) | + | | [[CAMU:SetBrightnessSynchronization|SetBrightnessSynchronization]] |
| |} | | |} |
| | | |
− | | + | ===Port=== |
− | '''enum Port'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 216: |
Line 215: |
| |- | | |- |
| | PORT_BOTH | | | PORT_BOTH |
− | | |PORT_CAM1 | PORT_CAM2
| + | | PORT_CAM1 <nowiki>|</nowiki> PORT_CAM2 |
| |} | | |} |
| | | |
− | | + | ===CameraSelect=== |
− | '''enum CameraSelect'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 239: |
Line 237: |
| |- | | |- |
| | SELECT_IN1_OUT1 | | | SELECT_IN1_OUT1 |
− | | |SELECT_OUT1 | SELECT_IN1
| + | | SELECT_OUT1 <nowiki>|</nowiki> SELECT_IN1 |
| |- | | |- |
| | SELECT_OUT1_OUT2 | | | SELECT_OUT1_OUT2 |
− | | |SELECT_OUT1 | SELECT_OUT2
| + | | SELECT_OUT1 <nowiki>|</nowiki> SELECT_OUT2 |
| |- | | |- |
| | SELECT_IN1_OUT2 | | | SELECT_IN1_OUT2 |
− | | |SELECT_IN1 | SELECT_OUT2
| + | | SELECT_IN1 <nowiki>|</nowiki> SELECT_OUT2 |
| |- | | |- |
| | SELECT_ALL | | | SELECT_ALL |
− | | |SELECT_OUT1 | SELECT_IN1 | SELECT_OUT2
| + | | SELECT_OUT1 <nowiki>|</nowiki> SELECT_IN1 <nowiki>|</nowiki> SELECT_OUT2 |
| |} | | |} |
| | | |
− | | + | ===Context=== |
− | '''enum Context'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 268: |
Line 265: |
| |- | | |- |
| | CONTEXT_BOTH | | | CONTEXT_BOTH |
− | | |CONTEXT_A | CONTEXT_B
| + | | CONTEXT_A <nowiki>|</nowiki> CONTEXT_B |
| |} | | |} |
| | | |
− | | + | ===Flip=== |
− | '''enum Flip'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 291: |
Line 287: |
| |} | | |} |
| | | |
− | | + | ===Size=== |
− | '''enum Size'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 326: |
Line 321: |
| |} | | |} |
| | | |
− | | + | ===FrameRate=== |
− | '''enum FrameRate'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 373: |
Line 367: |
| |} | | |} |
| | | |
− | | + | ===WhiteBalance=== |
− | '''enum WhiteBalance'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 423: |
Line 416: |
| |} | | |} |
| | | |
− | | + | ===PhotoMode=== |
− | '''enum PhotoMode'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 446: |
Line 438: |
| |} | | |} |
| | | |
− | | + | ===Effect=== |
− | '''enum Effect'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 472: |
Line 463: |
| |} | | |} |
| | | |
− | | + | ===Contrast=== |
− | '''enum Contrast'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 522: |
Line 512: |
| |} | | |} |
| | | |
− | | + | ===LensCorrection=== |
− | '''enum LensCorrection'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 548: |
Line 537: |
| |} | | |} |
| | | |
− | | + | ===OutputFormat=== |
− | '''enum OutputFormat'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 562: |
Line 550: |
| |} | | |} |
| | | |
− | | + | ===ShutterSoundType=== |
− | '''enum ShutterSoundType'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 579: |
Line 566: |
| |} | | |} |
| | | |
− | | + | ===ImageQualityCalibrationData=== |
− | '''struct ImageQualityCalibrationData'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| ! Type | | ! Type |
Line 619: |
Line 605: |
| |} | | |} |
| | | |
− | | + | ===StereoCameraCalibrationData=== |
− | '''struct StereoCameraCalibrationData'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| ! Type | | ! Type |
Line 671: |
Line 656: |
| |} | | |} |
| | | |
− | | + | ===PackageParameterCameraSelect=== |
− | '''struct PackageParameterCameraSelect'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| ! Type | | ! Type |
| ! Field | | ! Field |
| |- | | |- |
− | | enum CameraSelect : 8 | + | | u8 |
− | | camera | + | | [[Camera_Services#CameraSelect|CameraSelect]] camera |
| |- | | |- |
| | s8 | | | s8 |
| | exposure | | | exposure |
| |- | | |- |
− | | enum WhiteBalance : 8 | + | | u8 |
− | | whiteBalance | + | | [[Camera_Services#WhiteBalance|WhiteBalance]] whiteBalance |
| |- | | |- |
| | s8 | | | s8 |
Line 695: |
Line 679: |
| | autoWhiteBalanceOn | | | autoWhiteBalanceOn |
| |- | | |- |
− | | enum FrameRate : 8 | + | | u8 |
− | | frameRate | + | | [[Camera_Services#FrameRate|FrameRate]] frameRate |
| |- | | |- |
− | | enum PhotoMode : 8 | + | | u8 |
− | | photoMode | + | | [[Camera_Services#PhotoMode|PhotoMode]] photoMode |
| |- | | |- |
| | u8 | | | u8 |
| | contrast | | | contrast |
| |- | | |- |
− | | enum LensCorrection : 8 | + | | u8 |
− | | lensCorrection | + | | [[Camera_Services#LensCorrection|LensCorrection]] lensCorrection |
| |- | | |- |
| | bool | | | bool |
Line 738: |
Line 722: |
| |} | | |} |
| | | |
− | | + | ===PackageParameterContext=== |
− | '''struct PackageParameterContext'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| ! Type | | ! Type |
| ! Field | | ! Field |
| |- | | |- |
− | | enum CameraSelect : 8 | + | | u8 |
− | | camera | + | | [[Camera_Services#CameraSelect|CameraSelect]] camera |
| |- | | |- |
− | | enum Context : 8 | + | | u8 |
− | | context | + | | [[Camera_Services#Context|Context]] context |
| |- | | |- |
− | | enum Flip : 8 | + | | u8 |
− | | flip | + | | [[Camera_Services#Flip|Flip]] flip |
| |- | | |- |
− | | enum Effect : 8 | + | | u8 |
− | | effect | + | | [[Camera_Services#Effect|Effect]] effect |
| |- | | |- |
− | | enum Size : 8 | + | | u8 |
− | | size | + | | [[Camera_Services#Size|Size]] size |
| |} | | |} |
| | | |
− | | + | ===PackageParameterContextDetail=== |
− | '''struct PackageParameterContextDetail'''
| |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| ! Type | | ! Type |
| ! Field | | ! Field |
| |- | | |- |
− | | enum CameraSelect : 8 | + | | u8 |
− | | camera | + | | [[Camera_Services#CameraSelect|CameraSelect]] camera |
| |- | | |- |
− | | enum Context : 8 | + | | u8 |
− | | context | + | | [[Camera_Services#Context|Context]] context |
| |- | | |- |
− | | enum Flip : 8 | + | | u8 |
− | | flip | + | | [[Camera_Services#Flip|Flip]] flip |
| |- | | |- |
− | | enum Effect : 8 | + | | u8 |
− | | effect | + | | [[Camera_Services#Effect|Effect]] effect |
| |- | | |- |
| | s16 | | | s16 |