Camera Services: Difference between revisions
m All old3DS-compatible cam: ports have the same command handler function |
m Add anchors |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__TOC__ | |||
{{Anchor|CAMC}}{{Anchor|cam:c}} | |||
==cam:c (PORT_REG) == | ==cam:c (PORT_REG) == | ||
Same as [[#cam:u_.28PORT_USER.29|cam:u]] | Same as [[#cam:u_.28PORT_USER.29|cam:u]] | ||
{{Anchor|CAMS}}{{Anchor|cam:s}} | |||
==cam:s (PORT_CAL) == | ==cam:s (PORT_CAL) == | ||
Same as [[#cam:u_.28PORT_USER.29|cam:u]] | Same as [[#cam:u_.28PORT_USER.29|cam:u]] | ||
{{Anchor|CAMQ}}{{Anchor|cam:q}} | |||
==cam:q (PORT_QTM) == | ==cam:q (PORT_QTM) == | ||
This was added with New3DS. | This was added with New3DS. | ||
{| class="wikitable" border="1" | |||
|- | |||
! Command Header | |||
! Description | |||
|- | |||
| 0x00010040 | |||
| [[CAMU:StartCapture|StartCapture]] | |||
|- | |||
| 0x00020040 | |||
| [[CAMU:StopCapture|StopCapture]] | |||
|- | |||
| 0x0003004? | |||
| [[CAMU:IsBusy|IsBusy]] | |||
|- | |||
| 0x00040040 | |||
| [[CAMU:ClearBuffer|ClearBuffer]] | |||
|- | |||
| 0x0005004? | |||
| [[CAMU:GetVsyncInterruptEvent|GetVsyncInterruptEvent]] | |||
|- | |||
| 0x0006004? | |||
| [[CAMU:GetBufferErrorInterruptEvent|GetBufferErrorInterruptEvent]] | |||
|- | |||
| 0x0007???? | |||
| [[CAMU:StartRecieving|StartRecieving]] | |||
|- | |||
| 0x00080040 | |||
| [[CAMU:IsFinishedRecieving|IsFinishedRecieving]] | |||
|- | |||
| 0x00090100 | |||
| [[CAMU:SetTransferLines|SetTransferLines]] | |||
|- | |||
| 0x000A008? | |||
| [[CAMU:GetMaxLines|GetMaxLines]] | |||
|- | |||
| 0x000B0100 | |||
| [[CAMU:SetTransferBytes|SetTransferBytes]] | |||
|- | |||
| 0x000C004? | |||
| [[CAMU:GetTransferBytes|GetTransferBytes]] | |||
|- | |||
| 0x000D008? | |||
| [[CAMU:GetMaxBytes|GetMaxBytes]] | |||
|- | |||
| 0x000E0080 | |||
| [[CAMU:SetTrimming|SetTrimming]] | |||
|- | |||
| 0x000F004? | |||
| [[CAMU:IsTrimming|IsTrimming]] | |||
|- | |||
| 0x00100140 | |||
| [[CAMU:SetTrimmingParams|SetTrimmingParams]] | |||
|- | |||
| 0x0011???? | |||
| [[CAMU:GetTrimmingParams|GetTrimmingParams]] | |||
|- | |||
| 0x00120140 | |||
| [[CAMU:SetTrimmingParamsCenter|SetTrimmingParamsCenter]] | |||
|- | |||
| 0x00130040 | |||
| [[CAMU:Activate|Activate]] | |||
|- | |||
| 0x00140080 | |||
| [[CAMU:SwitchContext|SwitchContext]] | |||
|- | |||
| 0x00150080 | |||
| [[CAMU:SetExposure|SetExposure]] | |||
|- | |||
| 0x00160080 | |||
| [[CAMU:SetWhiteBalance|SetWhiteBalance]] | |||
|- | |||
| 0x00170080 | |||
| [[CAMU:SetSharpness|SetSharpness]] | |||
|- | |||
| 0x00180080 | |||
| [[CAMU:SetAutoExposure|SetAutoExposure]] | |||
|- | |||
| 0x0019004? | |||
| [[CAMU:IsAutoExposure|IsAutoExposure]] | |||
|- | |||
| 0x001A0080 | |||
| [[CAMU:SetAutoWhiteBalance|SetAutoWhiteBalance]] | |||
|- | |||
| 0x001B004? | |||
| [[CAMU:IsAutoWhiteBalance|IsAutoWhiteBalance]] | |||
|- | |||
| 0x001C00C0 | |||
| [[CAMU:FlipImage|FlipImage]] | |||
|- | |||
| 0x001D020? | |||
| [[CAMU:SetDetailSize|SetDetailSize]] | |||
|- | |||
| 0x001E00C0 | |||
| [[CAMU:SetSize|SetSize]] | |||
|- | |||
| 0x001F0080 | |||
| [[CAMU:SetFrameRate|SetFrameRate]] | |||
|- | |||
| 0x00200080 | |||
| [[CAMU:SetPhotoMode|SetPhotoMode]] | |||
|- | |||
| 0x002100C0 | |||
| [[CAMU:SetEffect|SetEffect]] | |||
|- | |||
| 0x00220080 | |||
| [[CAMU:SetContrast|SetContrast]] | |||
|- | |||
| 0x00230080 | |||
| [[CAMU:SetLensCorrection|SetLensCorrection]] | |||
|- | |||
| 0x002400C0 | |||
| [[CAMU:SetOutputFormat|SetOutputFormat]] | |||
|- | |||
| 0x0025014? | |||
| [[CAMU:SetAutoExposureWindow|SetAutoExposureWindow]] | |||
|- | |||
| 0x0026014? | |||
| [[CAMU:SetAutoWhiteBalanceWindow|SetAutoWhiteBalanceWindow]] | |||
|- | |||
| 0x00270080 | |||
| [[CAMU:SetNoiseFilter|SetNoiseFilter]] | |||
|- | |||
| 0x00280080 | |||
| [[CAMU:SyncronizeVsyncTiming|SyncronizeVsyncTiming]] | |||
|- | |||
| 0x0029???? | |||
| [[CAMU:GetLatestVsyncTiming|GetLatestVsyncTiming]] | |||
|- | |||
| 0x002A???? | |||
| [[CAMU:GetStereoCallibrationData|GetStereoCallibrationData]] | |||
|- | |||
| 0x002B???? | |||
| [[CAMU:SetPackageParameterWithoutContext|SetPackageParameterWithoutContext]] | |||
|- | |||
| 0x002C0080 | |||
| [[CAMU:SetPackageParameterWithContext|SetPackageParameterWithContext]] | |||
|- | |||
| 0x002D???? | |||
| [[CAMU:SetPackageParameterWithContextDetail|SetPackageParameterWithContextDetail]] | |||
|- | |||
| 0x002E??? | |||
| [[CAMU:GetSuitableY2RStandardCoeffecient|GetSuitableY2RStandardCoeffecient]] | |||
|- | |||
| 0x002F | |||
| [[CAMU:PlayShutterSoundWithWave|PlayShutterSoundWithWave]] | |||
|- | |||
| 0x0030???? | |||
| [[CAMU:PlayShutterSound|GetShutterSound]] | |||
|- | |||
| 0x0031000? | |||
| [[CAMU:DriverInitailize|DriverInitialize]] | |||
|- | |||
| 0x0032000? | |||
| [[CAMU:DriverFinalize|DriverFinalize]] | |||
|- | |||
| 0x0033000? | |||
| [[CAMU:GetActivatedCamera|GetActivatedCamera]] | |||
|- | |||
| 0x0034000? | |||
| [[CAMU:GetSleepCamera|GetSleepCamera]] | |||
|- | |||
| 0x00350040 | |||
| [[CAMU:SetSleepCamera|SetSleepCamera]] | |||
|- | |||
| 0x00360040 | |||
| [[CAMU:SetBrightnessSyncronization|SetBrightnessSyncronization]] | |||
|- | |||
| 0x0037004? | |||
| ??? | |||
|- | |||
| 0x0038000? | |||
| ??? | |||
|- | |||
| 0x0039004? | |||
| ??? | |||
|- | |||
| 0x003A0080 | |||
| ??? | |||
|- | |||
| 0x003B004? | |||
| ??? | |||
|- | |||
| 0x003C0080 | |||
| ??? | |||
|- | |||
| 0x003D000? | |||
| ??? | |||
|- | |||
| 0x003E0000 | |||
| ??? | |||
|} | |||
Most commands are same as cam:u, although, with different command headers since some commands which are available in cam:u do not exist in cam:q | |||
{{Anchor|CAMU}}{{Anchor|cam:u}} | |||
==cam:u (PORT_USER)== | ==cam:u (PORT_USER)== | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 799: | Line 998: | ||
|} | |} | ||
{{Anchor|Y2R}}{{Anchor|Y2RU}}{{Anchor|y2r:u}} | |||
== y2r:u == | == y2r:u == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,152: | Line 1,352: | ||
| alpha | | alpha | ||
|} | |} | ||
[[Category:Services]] |