SceCamera: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Module ==
== Module ==


=== Known NIDs ===
For PS TV, this module is named [[SceCameraDummy]] because the PS TV does not have any camera.
 
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! Name !! World !! Privilege !! NID
! Version !! World !! Privilege
|-
| 1.69 || SceCamera || Non-secure || Kernel || 0xEF66B518
|-
| 3.65 || SceCamera || Non-secure || Kernel || 0xEC26CAF9
|-
|-
| 3.65 || SceCameraDummy || Non-secure || Kernel || 0x454C2BBD
| 0.931.010-3.740.011 || Non-secure || Kernel
|}
|}


Line 21: Line 18:
! Version !! Name !! World !! Visibility !! NID
! Version !! Name !! World !! Visibility !! NID
|-
|-
| 1.69-3.60 || [[SceCamera#SceCameraForDriver|SceCameraForDriver]] || Non-secure || Kernel || 0xBCBC1F4A
| 0.931.010-3.740.011 || [[SceCamera#SceCameraForDriver|SceCameraForDriver]] || Non-secure || Kernel || 0xBCBC1F4A
|-
|-
| 1.69-3.60 || [[SceCamera#SceCamera|SceCamera]] || Non-secure || User || 0xDA91B3ED
| 0.931.010-3.740.011 || [[SceCamera#SceCamera|SceCamera]] || Non-secure || User || 0xDA91B3ED
|}
|}


== SceCameraForDriver ==
== SceCameraForDriver ==
=== sceCameraUseCacheMemoryForTrialForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-0.995.000 || 0xF15F1F91
|-
| 0.996.090-3.740.011 || not present
|}
Registers a global variable used by [[#sceCameraReadForDriver]].
<source lang="C">int sceCameraUseCacheMemoryForTrialForDriver(int a1);</source>
=== sceCameraLedBlinkForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-0.995.000 || 0x8F6FA575
|-
| 0.996.090-3.740.011 || not present
|}
<source lang="C">
// maybe_devnum: must be 0 or 1
int sceCameraLedBlinkForDriver(int maybe_devnum, SceUInt32 maybe_onTime, SceUInt32 maybe_offTime, SceUInt32 blinkCount);
</source>
=== sceCameraLedSwitchForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-0.995.000 || 0x5EEDDA34
|-
| 0.996.090-3.740.011 || not present
|}
<source lang="C">
// maybe_devnum: must be 1
// mode: 0 (OFF) or 1 (ON)
int sceCameraLedSwitchForDriver(int maybe_devnum, SceBool mode);
</source>
=== sceCameraGetAttributeForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0xC2E71BE8
|}
This function is used for all attributes except attributes 13 and 25.
=== sceCameraSetAttributeForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0xD56A12BD
|}
This function is used for all attributes except attributes 13 and 25.
=== sceCameraSetActiveProcessForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0xE81EADE1
|}
<source lang="C">int sceCameraSetActiveProcessForDriver(SceUID pid);</source>
=== sceCameraStartPidForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0x5338BE86
|}
=== sceCameraStopPidForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0x8C3354E5
|}
=== sceCameraOpenForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0xE487870A
|}
=== sceCameraCloseForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0x0E9B4B9E
|}
=== sceCameraReadForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0x2D12FDF3
|}
=== sceCameraInitForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0x45EB69C9
|}
=== SceCameraForDriver_3590BB9B ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0x3590BB9B
|}
=== SceCameraForDriver_36C164BE ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0x36C164BE
|}
=== SceCameraForDriver_6443EEDB ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0x6443EEDB
|}
Registers internal handlers in 0x100-byte structure for index idx. Uses GPIO.
<source lang="C">
// idx: must be 0 or 1
int SceCameraForDriver_6443EEDB(SceUInt32 idx);
</source>
=== SceCameraForDriver_93477709 ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0x93477709
|}
=== SceCameraForDriver_B241F11F ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0xB241F11F
|}
=== SceCameraForDriver_DFBBA264 ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0xDFBBA264
|}
=== sceCameraDeinitForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0xF7A0C99F
|}
This is a guessed name.
=== SceCameraForDriver_B241F11F ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0xB241F11F
|}
=== sceCameraGetAttribute2ForDebugForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010 || not present
|-
| 0.940-0.995.000 || 0x356BAF6C
|-
| 0.996.090-3.740.011 || not present
|}
This is a guessed name.
This function is used for only attributes 13 and 25.
=== sceCameraSetAttribute2ForDebugForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010 || not present
|-
| 0.940-0.995.000 || 0x96498ADA
|-
| 0.996.090-3.740.011 || not present
|}
This is a guessed name.
This function is used for only attributes 13 and 25.


=== sceCameraIsActiveForDriver ===
=== sceCameraIsActiveForDriver ===
Line 33: Line 258:
! Version !! NID
! Version !! NID
|-
|-
| 3.60 || 0xEB1CC2CA
| 0.931.010 || not present
|-
| 0.940-3.740.011 || 0x22E70D83
|}
 
=== SceCameraForDriver_EE3D4B1C ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-0.940 || not present
|-
| 0.990.000-3.740.011 || 0xEE3D4B1C
|}
 
=== SceCameraForDriver_22D51107 ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-0.940 || not present
|-
| 0.990.000-3.740.011 || 0x22D51107
|}
 
=== sceCameraGetAttribute2ForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-0.995.000 || not present
|-
| 0.996.090-3.740.011 || 0xFE3C170C
|}
|}


=== sceCameraSetForDriver ===
This is a guessed name.
 
This function is used for only attributes 13 and 25.
 
=== sceCameraSetAttribute2ForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.940-3.60 || 0xD56A12BD
| 0.931.010-0.995.000 || not present
|-
| 0.996.090-3.740.011 || 0xB312CE90
|}
|}


=== sceCameraGetForDriver ===
This is a guessed name.
 
This function is used for only attributes 13 and 25.
 
=== SceCameraForDriver_96C63737 ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.940-3.60 || 0xC2E71BE8
| 0.931.010-0.995.000 || not present
|-
| 0.996.090-3.740.011 || 0x96C63737
|}
|}


=== sceCameraStartPidForDriver ===
=== sceCameraGetStatusForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.940-3.60 || 0x5338BE86
| 0.931.010-0.995.000 || not present
|-
| 0.996.090-3.740.011 || 0xEB1CC2CA
|}
|}


=== sceCameraSetActiveProcessForDriver ===
This is a guessed name. Temp name was sceCameraIsActiveForDriver.
 
<source lang="C">int sceCameraGetStatusForDriver(SceUID pid, SceUInt32 *puiStatus);</source>
 
=== SceCameraForDriver_D259707C ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.940-3.60 || 0xE81EADE1
| 0.931.010-1.06 || not present
|-
| 1.500.151-3.740.011 || 0xD259707C
|}
|}


=== sceCameraConfigStopPidForDriver ===
Kernel equivalent of [[#SceCamera_99B5FB62]].
 
<source lang="C">int SceCameraForDriver_D259707C(SceUID pid, SceBool mode);</source>
 
=== SceCameraForDriver_D0810455 ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.940-3.60 || 0x8C3354E5
| 0.931.010-3.01 || not present
|-
| 3.100.081-3.740.011 || 0xD0810455
|}
|}


          SceCameraForDriver_0E9B4B9E: 0x0E9B4B9E
Gets 6-byte information from a 0x10-byte structure initialized by [[#SceCameraForDriver_6443EEDB]].
          SceCameraForDriver_22D51107: 0x22D51107
 
          SceCameraForDriver_22E70D83: 0x22E70D83
<source lang="C">
          SceCameraForDriver_2D12FDF3: 0x2D12FDF3
// idx: must be 0 or 1
          SceCameraForDriver_3590BB9B: 0x3590BB9B
// must_be_2: must be 2
          SceCameraForDriver_36C164BE: 0x36C164BE
// pDst: pointer to 3 words (total of 6 bytes)
          SceCameraForDriver_45EB69C9: 0x45EB69C9
int SceCameraForDriver_D0810455(SceUInt32 idx, SceUInt32 must_be_2, SceUInt16 *pDst);
          SceCameraForDriver_6443EEDB: 0x6443EEDB
</source>
          SceCameraForDriver_93477709: 0x93477709
          SceCameraForDriver_96C63737: 0x96C63737
          SceCameraForDriver_B241F11F: 0xB241F11F
          SceCameraForDriver_B312CE90: 0xB312CE90
          SceCameraForDriver_D0810455: 0xD0810455
          SceCameraForDriver_D259707C: 0xD259707C
          SceCameraForDriver_DFBBA264: 0xDFBBA264
          SceCameraForDriver_E487870A: 0xE487870A
          SceCameraForDriver_EE3D4B1C: 0xEE3D4B1C
          SceCameraForDriver_F7A0C99F: 0xF7A0C99F
          SceCameraForDriver_FE3C170C: 0xFE3C170C


== SceCamera ==
== SceCamera ==


=== sceCameraSetExposureCeiling ===
=== sceCameraUseCacheMemoryForTrial ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-0.995.000 || 0x7670474C
|-
| 0.996.090-3.740.011 || not present
|}
 
Wrapper for [[#sceCameraUseCacheMemoryForTrialForDriver]].
 
=== sceCameraLedBlink ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x4F34BEE
| 0.931.010-0.995.000 || 0x89B16030
|-
| 0.996.090-3.740.011 || not present
|}
|}


=== sceCameraGetAutoControlHold ===
Wrapper for [[#sceCameraLedBlinkForDriver]].
 
<source lang="C">
// maybe_devnum: must be 0 or 1
int sceCameraLedBlink(int maybe_devnum, SceUInt32 maybe_onTime, SceUInt32 maybe_offTime, SceUInt32 blinkCount);
</source>
 
=== sceCameraLedSwitch ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x6A21BBB
| 0.931.010-0.995.000 || 0xD02CFA5C
|-
| 0.996.090-3.740.011 || not present
|}
|}


=== sceCameraGetZoom ===
Wrapper for [[#sceCameraLedSwitchForDriver]].
 
<source lang="C">
// maybe_devnum: must be 1
// mode: must be 0 (OFF) or 1 (ON)
int sceCameraLedSwitch(int maybe_devnum, int mode);
</source>
 
=== sceCameraStart ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x6D3816C
| 0.931.010-3.740.011 || 0xA8FEAE35
|}
|}


=== sceCameraSetContrast ===
=== sceCameraStop ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x6FB2900
| 0.931.010-3.740.011 || 0x1DD9C9CE
|}
|}


=== sceCameraIsActive ===
=== sceCameraOpen ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x103A75B8
| 0.931.010-3.740.011 || 0xA462F801
|}
|}


=== sceCameraSetReverse ===
=== sceCameraClose ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x1175F477
| 0.931.010-3.740.011 || 0xCD6E1CFC
|}
|}


=== sceCameraGetNightmode ===
=== sceCameraRead ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x12B6FF26
| 0.931.010-3.740.011 || 0x79B5C2DE
|}
|}


=== sceCameraStop ===
=== sceCameraGetZoom ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x1DD9C9CE
| 0.931.010-3.740.011 || 0x06D3816C
|}
|}


=== sceCameraGetDeviceLocation ===
=== sceCameraSetZoom ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x274EF751
| 0.931.010-3.740.011 || 0xF7464216
|}
|}


=== sceCameraGetGain ===
=== sceCameraGetReverse ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x2C36D6F3
| 0.931.010-3.740.011 || 0x44F6043F
|}
|}


=== sceCameraGetSharpnessOff ===
=== sceCameraSetReverse ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x34CCAF85
| 0.931.010-3.740.011 || 0x1175F477
|}
|}


=== sceCameraSetAutoControlHold ===
=== sceCameraGetGain ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x3A0DABBD
| 0.931.010-3.740.011 || 0x2C36D6F3
|}
|}


=== sceCameraSetISO ===
=== sceCameraSetGain ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x3CF630A1
| 0.931.010-3.740.011 || 0xE65CFE86
|}
|}


=== sceCameraSetNightmode ===
=== sceCameraGetNightmode ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x3F26233E
| 0.931.010-3.740.011 || 0x12B6FF26
|}
|}


=== sceCameraGetReverse ===
=== sceCameraSetNightmode ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x44F6043F
| 0.931.010-3.740.011 || 0x3F26233E
|}
|}


=== sceCameraSetSharpnessOff ===
=== sceCameraGetWhiteBalance ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x4B5405C8
| 0.931.010-3.740.011 || 0xDBFFA1DA
|}
|}


Line 231: Line 534:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x4D4514AC
| 0.931.010-3.740.011 || 0x4D4514AC
|}
|}


Line 239: Line 542:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x4EBD5C68
| 0.931.010-3.740.011 || 0x4EBD5C68
|}
|}


=== sceCameraGetExposureCeiling ===
=== sceCameraSetISO ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x5FA5B1BB
| 0.931.010-3.740.011 || 0x3CF630A1
|}
|}


=== sceCameraGetSaturation ===
=== sceCameraGetEV ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x624F7653
| 0.931.010-3.740.011 || 0x8B5E6147
|}
|}


Line 263: Line 566:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x62AFF0B8
| 0.931.010-3.740.011 || 0x62AFF0B8
|}
|}


=== sceCameraSetImageQuality ===
=== sceCameraGetEffect ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0x7E8EF3B2
|}
 
=== sceCameraSetEffect ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x75C4300B
| 0.931.010-3.740.011 || 0xE9D2CFB1
|}
|}


=== sceCameraRead ===
=== sceCameraGetContrast ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x79B5C2DE
| 0.931.010-3.740.011 || 0x8FBE84BE
|}
|}


=== sceCameraGetEffect ===
=== sceCameraSetContrast ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x7E8EF3B2
| 0.931.010-3.740.011 || 0x06FB2900
|}
|}


Line 295: Line 606:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x85D5951D
| 0.931.010-3.740.011 || 0x85D5951D
|}
|}


=== sceCameraGetEV ===
=== sceCameraSetBrightness ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x8B5E6147
| 0.931.010-3.740.011 || 0x98D71588
|}
|}


Line 311: Line 622:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x8DD1292B
| 0.931.010-3.740.011 || 0x8DD1292B
|}
 
=== sceCameraSetBacklight ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0xAE071044
|}
|}


=== sceCameraGetContrast ===
=== sceCameraGetSharpness ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x8FBE84BE
| 0.931.010-3.740.011 || 0xAA72C3DC
|}
|}


=== sceCameraSetBrightness ===
=== sceCameraSetSharpness ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x98D71588
| 0.931.010-3.740.011 || 0xD1A5BB0B
|}
|}


Line 335: Line 654:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x9FDACB99
| 0.931.010-3.740.011 || 0x9FDACB99
|}
|}


=== sceCameraOpen ===
=== sceCameraSetAntiFlicker ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xA462F801
| 0.931.010-3.740.011 || 0xE312958A
|}
|}


=== sceCameraStart ===
=== sceCameraGetSaturation ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xA8FEAE35
| 0.931.010-3.740.011 || 0x624F7653
|}
|}


=== sceCameraGetSharpness ===
=== sceCameraSetSaturation ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xAA72C3DC
| 0.931.010-3.740.011 || 0xF9F7CA3D
|}
|}


=== sceCameraSetBacklight ===
=== sceCameraGetNoiseReductionForDebug ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xAE071044
| 0.931.010 || not present
|-
| 0.940 || 0x27BB0528
|-
| 1.000.071-3.740.011 || not present
|}
|}


=== sceCameraClose ===
<source lang="C">int sceCameraGetNoiseReductionForDebug(int a1, void *pDst);</source>
 
=== sceCameraSetNoiseReductionForDebug ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xCD6E1CFC
| 0.931.010 || not present
|-
| 0.940 || 0x233C9E27
|-
| 1.000.071-3.740.011 || not present
|}
|}


=== sceCameraSetSharpness ===
=== sceCameraGetSharpnessOffForDebug ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xD1A5BB0B
| 0.931.010 || not present
|-
| 0.940 || 0xC387F4DC
|-
| 1.000.071-3.740.011 || not present
|}
|}


=== sceCameraGetWhiteBalance ===
<source lang="C">int sceCameraGetSharpnessOffForDebug(int a1, void *pDst);</source>
 
=== sceCameraSetSharpnessOffForDebug ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xDBFFA1DA
| 0.931.010 || not present
|-
| 0.940 || 0xE22C2375
|-
| 1.000.071-3.740.011 || not present
|}
|}


=== sceCameraGetImageQuality ===
=== sceCameraIsActive ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xE2AC7BCE
| 0.931.010 || not present
|-
| 0.940-3.740.011 || 0x103A75B8
|}
|}


=== sceCameraSetAntiFlicker ===
Wrapper to [[#sceCameraIsActiveForDriver]].
 
=== sceCameraGetDeviceLocation ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xE312958A
| 0.931.010-0.940 || not present
|-
| 1.000.071-3.740.011 || 0x274EF751
|}
|}


=== sceCameraSetGain ===
=== sceCameraGetAutoControlHold ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xE65CFE86
| 0.931.010-0.940 || not present
|-
| 1.000.071-3.740.011 || 0x06A21BBB
|}
|}


=== sceCameraSetEffect ===
=== sceCameraSetAutoControlHold ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xE9D2CFB1
| 0.931.010-0.940 || not present
|-
| 1.000.071-3.740.011 || 0x3A0DABBD
|}
|}


=== sceCameraSetZoom ===
=== sceCameraGetNoiseReduction ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xF7464216
| 0.931.010-0.940 || not present
|-
| 1.000.071-3.740.011 || 0xFEB99ACC
|}
|}


Line 439: Line 790:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xF9B79556
| 0.931.010-0.940 || not present
|-
| 1.000.071-3.740.011 || 0xF9B79556
|}
|}


=== sceCameraSetSaturation ===
=== sceCameraGetSharpnessOff ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-0.940 || not present
|-
| 1.000.071-3.740.011 || 0x34CCAF85
|}
 
=== sceCameraSetSharpnessOff ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-0.940 || not present
|-
| 1.000.071-3.740.011 || 0x4B5405C8
|}
 
=== sceCameraGetExposureCeiling ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-0.940 || not present
|-
| 1.000.071-3.740.011 || 0x5FA5B1BB
|}
 
=== sceCameraSetExposureCeiling ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-0.940 || not present
|-
| 1.000.071-3.740.011 || 0x04F34BEE
|}
 
=== sceCameraGetImageQuality ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-1.06 || not present
|-
| 1.500.151-3.740.011 || 0xE2AC7BCE
|}
 
=== sceCameraSetImageQuality ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xF9F7CA3D
| 0.931.010-1.06 || not present
|-
| 1.500.151-3.740.011 || 0x75C4300B
|}
|}


=== sceCameraGetNoiseReduction ===
=== SceCamera_99B5FB62 ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xFEB99ACC
| 0.931.010-1.06 || not present
|-
| 1.500.151-3.740.011 || 0x99B5FB62
|}
|}


Usermode equivalent of [[#SceCameraForDriver_D259707C]].


<source lang="C">int SceCamera_99B5FB62(SceBool mode);</source>
[[Category:ARM]]
[[Category:Kernel]]
[[Category:Modules]]
[[Category:Modules]]
[[Category:Kernel]]
[[Category:Library]]

Latest revision as of 10:45, 4 September 2023

Module

For PS TV, this module is named SceCameraDummy because the PS TV does not have any camera.

Version World Privilege
0.931.010-3.740.011 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
0.931.010-3.740.011 SceCameraForDriver Non-secure Kernel 0xBCBC1F4A
0.931.010-3.740.011 SceCamera Non-secure User 0xDA91B3ED

SceCameraForDriver

sceCameraUseCacheMemoryForTrialForDriver

Version NID
0.931.010-0.995.000 0xF15F1F91
0.996.090-3.740.011 not present

Registers a global variable used by #sceCameraReadForDriver.

int sceCameraUseCacheMemoryForTrialForDriver(int a1);

sceCameraLedBlinkForDriver

Version NID
0.931.010-0.995.000 0x8F6FA575
0.996.090-3.740.011 not present
// maybe_devnum: must be 0 or 1
int sceCameraLedBlinkForDriver(int maybe_devnum, SceUInt32 maybe_onTime, SceUInt32 maybe_offTime, SceUInt32 blinkCount);

sceCameraLedSwitchForDriver

Version NID
0.931.010-0.995.000 0x5EEDDA34
0.996.090-3.740.011 not present
// maybe_devnum: must be 1
// mode: 0 (OFF) or 1 (ON)
int sceCameraLedSwitchForDriver(int maybe_devnum, SceBool mode);

sceCameraGetAttributeForDriver

Version NID
0.931.010-3.740.011 0xC2E71BE8

This function is used for all attributes except attributes 13 and 25.

sceCameraSetAttributeForDriver

Version NID
0.931.010-3.740.011 0xD56A12BD

This function is used for all attributes except attributes 13 and 25.

sceCameraSetActiveProcessForDriver

Version NID
0.931.010-3.740.011 0xE81EADE1
int sceCameraSetActiveProcessForDriver(SceUID pid);

sceCameraStartPidForDriver

Version NID
0.931.010-3.740.011 0x5338BE86

sceCameraStopPidForDriver

Version NID
0.931.010-3.740.011 0x8C3354E5

sceCameraOpenForDriver

Version NID
0.931.010-3.740.011 0xE487870A

sceCameraCloseForDriver

Version NID
0.931.010-3.740.011 0x0E9B4B9E

sceCameraReadForDriver

Version NID
0.931.010-3.740.011 0x2D12FDF3

sceCameraInitForDriver

Version NID
0.931.010-3.740.011 0x45EB69C9

SceCameraForDriver_3590BB9B

Version NID
0.931.010-3.740.011 0x3590BB9B

SceCameraForDriver_36C164BE

Version NID
0.931.010-3.740.011 0x36C164BE

SceCameraForDriver_6443EEDB

Version NID
0.931.010-3.740.011 0x6443EEDB

Registers internal handlers in 0x100-byte structure for index idx. Uses GPIO.

// idx: must be 0 or 1
int SceCameraForDriver_6443EEDB(SceUInt32 idx);

SceCameraForDriver_93477709

Version NID
0.931.010-3.740.011 0x93477709

SceCameraForDriver_B241F11F

Version NID
0.931.010-3.740.011 0xB241F11F

SceCameraForDriver_DFBBA264

Version NID
0.931.010-3.740.011 0xDFBBA264

sceCameraDeinitForDriver

Version NID
0.931.010-3.740.011 0xF7A0C99F

This is a guessed name.

SceCameraForDriver_B241F11F

Version NID
0.931.010-3.740.011 0xB241F11F

sceCameraGetAttribute2ForDebugForDriver

Version NID
0.931.010 not present
0.940-0.995.000 0x356BAF6C
0.996.090-3.740.011 not present

This is a guessed name.

This function is used for only attributes 13 and 25.

sceCameraSetAttribute2ForDebugForDriver

Version NID
0.931.010 not present
0.940-0.995.000 0x96498ADA
0.996.090-3.740.011 not present

This is a guessed name.

This function is used for only attributes 13 and 25.

sceCameraIsActiveForDriver

Version NID
0.931.010 not present
0.940-3.740.011 0x22E70D83

SceCameraForDriver_EE3D4B1C

Version NID
0.931.010-0.940 not present
0.990.000-3.740.011 0xEE3D4B1C

SceCameraForDriver_22D51107

Version NID
0.931.010-0.940 not present
0.990.000-3.740.011 0x22D51107

sceCameraGetAttribute2ForDriver

Version NID
0.931.010-0.995.000 not present
0.996.090-3.740.011 0xFE3C170C

This is a guessed name.

This function is used for only attributes 13 and 25.

sceCameraSetAttribute2ForDriver

Version NID
0.931.010-0.995.000 not present
0.996.090-3.740.011 0xB312CE90

This is a guessed name.

This function is used for only attributes 13 and 25.

SceCameraForDriver_96C63737

Version NID
0.931.010-0.995.000 not present
0.996.090-3.740.011 0x96C63737

sceCameraGetStatusForDriver

Version NID
0.931.010-0.995.000 not present
0.996.090-3.740.011 0xEB1CC2CA

This is a guessed name. Temp name was sceCameraIsActiveForDriver.

int sceCameraGetStatusForDriver(SceUID pid, SceUInt32 *puiStatus);

SceCameraForDriver_D259707C

Version NID
0.931.010-1.06 not present
1.500.151-3.740.011 0xD259707C

Kernel equivalent of #SceCamera_99B5FB62.

int SceCameraForDriver_D259707C(SceUID pid, SceBool mode);

SceCameraForDriver_D0810455

Version NID
0.931.010-3.01 not present
3.100.081-3.740.011 0xD0810455

Gets 6-byte information from a 0x10-byte structure initialized by #SceCameraForDriver_6443EEDB.

// idx: must be 0 or 1
// must_be_2: must be 2
// pDst: pointer to 3 words (total of 6 bytes)
int SceCameraForDriver_D0810455(SceUInt32 idx, SceUInt32 must_be_2, SceUInt16 *pDst);

SceCamera

sceCameraUseCacheMemoryForTrial

Version NID
0.931.010-0.995.000 0x7670474C
0.996.090-3.740.011 not present

Wrapper for #sceCameraUseCacheMemoryForTrialForDriver.

sceCameraLedBlink

Version NID
0.931.010-0.995.000 0x89B16030
0.996.090-3.740.011 not present

Wrapper for #sceCameraLedBlinkForDriver.

// maybe_devnum: must be 0 or 1
int sceCameraLedBlink(int maybe_devnum, SceUInt32 maybe_onTime, SceUInt32 maybe_offTime, SceUInt32 blinkCount);

sceCameraLedSwitch

Version NID
0.931.010-0.995.000 0xD02CFA5C
0.996.090-3.740.011 not present

Wrapper for #sceCameraLedSwitchForDriver.

// maybe_devnum: must be 1
// mode: must be 0 (OFF) or 1 (ON)
int sceCameraLedSwitch(int maybe_devnum, int mode);

sceCameraStart

Version NID
0.931.010-3.740.011 0xA8FEAE35

sceCameraStop

Version NID
0.931.010-3.740.011 0x1DD9C9CE

sceCameraOpen

Version NID
0.931.010-3.740.011 0xA462F801

sceCameraClose

Version NID
0.931.010-3.740.011 0xCD6E1CFC

sceCameraRead

Version NID
0.931.010-3.740.011 0x79B5C2DE

sceCameraGetZoom

Version NID
0.931.010-3.740.011 0x06D3816C

sceCameraSetZoom

Version NID
0.931.010-3.740.011 0xF7464216

sceCameraGetReverse

Version NID
0.931.010-3.740.011 0x44F6043F

sceCameraSetReverse

Version NID
0.931.010-3.740.011 0x1175F477

sceCameraGetGain

Version NID
0.931.010-3.740.011 0x2C36D6F3

sceCameraSetGain

Version NID
0.931.010-3.740.011 0xE65CFE86

sceCameraGetNightmode

Version NID
0.931.010-3.740.011 0x12B6FF26

sceCameraSetNightmode

Version NID
0.931.010-3.740.011 0x3F26233E

sceCameraGetWhiteBalance

Version NID
0.931.010-3.740.011 0xDBFFA1DA

sceCameraSetWhiteBalance

Version NID
0.931.010-3.740.011 0x4D4514AC

sceCameraGetISO

Version NID
0.931.010-3.740.011 0x4EBD5C68

sceCameraSetISO

Version NID
0.931.010-3.740.011 0x3CF630A1

sceCameraGetEV

Version NID
0.931.010-3.740.011 0x8B5E6147

sceCameraSetEV

Version NID
0.931.010-3.740.011 0x62AFF0B8

sceCameraGetEffect

Version NID
0.931.010-3.740.011 0x7E8EF3B2

sceCameraSetEffect

Version NID
0.931.010-3.740.011 0xE9D2CFB1

sceCameraGetContrast

Version NID
0.931.010-3.740.011 0x8FBE84BE

sceCameraSetContrast

Version NID
0.931.010-3.740.011 0x06FB2900

sceCameraGetBrightness

Version NID
0.931.010-3.740.011 0x85D5951D

sceCameraSetBrightness

Version NID
0.931.010-3.740.011 0x98D71588

sceCameraGetBacklight

Version NID
0.931.010-3.740.011 0x8DD1292B

sceCameraSetBacklight

Version NID
0.931.010-3.740.011 0xAE071044

sceCameraGetSharpness

Version NID
0.931.010-3.740.011 0xAA72C3DC

sceCameraSetSharpness

Version NID
0.931.010-3.740.011 0xD1A5BB0B

sceCameraGetAntiFlicker

Version NID
0.931.010-3.740.011 0x9FDACB99

sceCameraSetAntiFlicker

Version NID
0.931.010-3.740.011 0xE312958A

sceCameraGetSaturation

Version NID
0.931.010-3.740.011 0x624F7653

sceCameraSetSaturation

Version NID
0.931.010-3.740.011 0xF9F7CA3D

sceCameraGetNoiseReductionForDebug

Version NID
0.931.010 not present
0.940 0x27BB0528
1.000.071-3.740.011 not present
int sceCameraGetNoiseReductionForDebug(int a1, void *pDst);

sceCameraSetNoiseReductionForDebug

Version NID
0.931.010 not present
0.940 0x233C9E27
1.000.071-3.740.011 not present

sceCameraGetSharpnessOffForDebug

Version NID
0.931.010 not present
0.940 0xC387F4DC
1.000.071-3.740.011 not present
int sceCameraGetSharpnessOffForDebug(int a1, void *pDst);

sceCameraSetSharpnessOffForDebug

Version NID
0.931.010 not present
0.940 0xE22C2375
1.000.071-3.740.011 not present

sceCameraIsActive

Version NID
0.931.010 not present
0.940-3.740.011 0x103A75B8

Wrapper to #sceCameraIsActiveForDriver.

sceCameraGetDeviceLocation

Version NID
0.931.010-0.940 not present
1.000.071-3.740.011 0x274EF751

sceCameraGetAutoControlHold

Version NID
0.931.010-0.940 not present
1.000.071-3.740.011 0x06A21BBB

sceCameraSetAutoControlHold

Version NID
0.931.010-0.940 not present
1.000.071-3.740.011 0x3A0DABBD

sceCameraGetNoiseReduction

Version NID
0.931.010-0.940 not present
1.000.071-3.740.011 0xFEB99ACC

sceCameraSetNoiseReduction

Version NID
0.931.010-0.940 not present
1.000.071-3.740.011 0xF9B79556

sceCameraGetSharpnessOff

Version NID
0.931.010-0.940 not present
1.000.071-3.740.011 0x34CCAF85

sceCameraSetSharpnessOff

Version NID
0.931.010-0.940 not present
1.000.071-3.740.011 0x4B5405C8

sceCameraGetExposureCeiling

Version NID
0.931.010-0.940 not present
1.000.071-3.740.011 0x5FA5B1BB

sceCameraSetExposureCeiling

Version NID
0.931.010-0.940 not present
1.000.071-3.740.011 0x04F34BEE

sceCameraGetImageQuality

Version NID
0.931.010-1.06 not present
1.500.151-3.740.011 0xE2AC7BCE

sceCameraSetImageQuality

Version NID
0.931.010-1.06 not present
1.500.151-3.740.011 0x75C4300B

SceCamera_99B5FB62

Version NID
0.931.010-1.06 not present
1.500.151-3.740.011 0x99B5FB62

Usermode equivalent of #SceCameraForDriver_D259707C.

int SceCamera_99B5FB62(SceBool mode);