SceCamera: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Module ==
== Module ==
For PS TV, this module is named [[SceCameraDummy]] because the PS TV does not have any camera.


{| class="wikitable"
{| class="wikitable"
Line 5: Line 7:
! Version !! World !! Privilege
! Version !! World !! Privilege
|-
|-
| 0.931-3.65 || Non-secure || Kernel
| 0.931.010-3.740.011 || Non-secure || Kernel
|}
|}


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


== SceCameraForDriver ==
== SceCameraForDriver ==


=== sceCameraIsActiveForDriver ===
=== sceCameraUseCacheMemoryForTrialForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-0.995.000 || 0xF15F1F91
|-
|-
| 3.60 || 0xEB1CC2CA
| 0.996.090-3.740.011 || not present
|}
|}


=== sceCameraSetAttributeForDriver ===
Registers a global variable used by [[#sceCameraReadForDriver]].
 
<source lang="C">int sceCameraUseCacheMemoryForTrialForDriver(int a1);</source>
 
=== sceCameraLedBlinkForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0xD56A12BD
| 0.931.010-0.995.000 || 0x8F6FA575
|-
| 0.996.090-3.740.011 || not present
|}
|}


This function is used for all attributes except attributes 13 and 25 (blacklisted in this function).
<source lang="C">
// maybe_devnum: must be 0 or 1
int sceCameraLedBlinkForDriver(int maybe_devnum, SceUInt32 maybe_onTime, SceUInt32 maybe_offTime, SceUInt32 blinkCount);
</source>


=== sceCameraSetNoiseReductionForDebugForDriver ===
=== sceCameraLedSwitchForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-0.995.000 || 0x5EEDDA34
|-
|-
| 0.940-3.60 || 0x233C9E27
| 0.996.090-3.740.011 || not present
|}
|}


Temp name was sceCameraSetAttribute2ForDriver.
<source lang="C">
 
// maybe_devnum: must be 1
This function is used only for attributes 13 and 25.
// mode: 0 (OFF) or 1 (ON)
int sceCameraLedSwitchForDriver(int maybe_devnum, SceBool mode);
</source>


=== sceCameraGetAttributeForDriver ===
=== sceCameraGetAttributeForDriver ===
Line 62: Line 75:
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0xC2E71BE8
| 0.931.010-3.740.011 || 0xC2E71BE8
|}
|}


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


=== sceCameraGetAttribute2ForDriver ===
=== sceCameraSetAttributeForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-3.740.011 || 0xD56A12BD
|-
| 0.940-0.945 || 0x356BAF6C
|-
| 1.04-3.74 || 0xFE3C170C
|}
|}
This is a guessed name


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


=== sceCameraSetActiveProcessForDriver ===
=== sceCameraSetActiveProcessForDriver ===
Line 87: Line 95:
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0xE81EADE1
| 0.931.010-3.740.011 || 0xE81EADE1
|}
|}


Line 97: Line 105:
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0x5338BE86
| 0.931.010-3.740.011 || 0x5338BE86
|}
|}


Line 105: Line 113:
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0x8C3354E5
| 0.931.010-3.740.011 || 0x8C3354E5
|}
|}


Line 113: Line 121:
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0xE487870A
| 0.931.010-3.740.011 || 0xE487870A
|}
|}


Line 121: Line 129:
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0x0E9B4B9E
| 0.931.010-3.740.011 || 0x0E9B4B9E
|}
|}


Line 129: Line 137:
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0x2D12FDF3
| 0.931.010-3.740.011 || 0x2D12FDF3
|}
|}


Line 137: Line 145:
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0x45EB69C9
| 0.931.010-3.740.011 || 0x45EB69C9
|}
|}


=== sceCameraUseCacheMemoryForTrialForDriver ===
=== SceCameraForDriver_3590BB9B ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || 0xF15F1F91
| 0.931.010-3.740.011 || 0x3590BB9B
|-
| 3.60 || not present
|}
|}


Registers a global variable used by [[#sceCameraReadForDriver]].
=== SceCameraForDriver_36C164BE ===
 
<source lang="C">int sceCameraUseCacheMemoryForTrialForDriver(int a1);</source>
 
=== sceCameraLedBlinkForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || 0x8F6FA575
| 0.931.010-3.740.011 || 0x36C164BE
|-
| 3.60 || not present
|}
|}


<source lang="C">
=== SceCameraForDriver_6443EEDB ===
// maybe_devnum: must be 0 or 1
int sceCameraLedBlinkForDriver(int maybe_devnum, SceUInt32 maybe_onTime, SceUInt32 maybe_offTime, SceUInt32 blinkCount);
</source>
 
=== sceCameraLedSwitchForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || 0x5EEDDA34
| 0.931.010-3.740.011 || 0x6443EEDB
|-
| 3.60 || not present
|}
|}
Registers internal handlers in 0x100-byte structure for index idx. Uses GPIO.


<source lang="C">
<source lang="C">
// maybe_devnum: must be 1
// idx: must be 0 or 1
// mode: must 0 (OFF) or 1 (ON)
int SceCameraForDriver_6443EEDB(SceUInt32 idx);
int sceCameraLedSwitchForDriver(int maybe_devnum, int mode);
</source>
</source>


=== SceCameraForDriver_3590BB9B ===
=== SceCameraForDriver_93477709 ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0x3590BB9B
| 0.931.010-3.740.011 || 0x93477709
|}
|}


=== SceCameraForDriver_36C164BE ===
=== SceCameraForDriver_B241F11F ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0x36C164BE
| 0.931.010-3.740.011 || 0xB241F11F
|}
|}


=== SceCameraForDriver_6443EEDB ===
=== SceCameraForDriver_DFBBA264 ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0x6443EEDB
| 0.931.010-3.740.011 || 0xDFBBA264
|}
|}


=== SceCameraForDriver_93477709 ===
=== sceCameraDeinitForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0x93477709
| 0.931.010-3.740.011 || 0xF7A0C99F
|}
|}
This is a guessed name.


=== SceCameraForDriver_B241F11F ===
=== SceCameraForDriver_B241F11F ===
Line 222: Line 218:
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0xB241F11F
| 0.931.010-3.740.011 || 0xB241F11F
|}
|}


=== SceCameraForDriver_DFBBA264 ===
=== sceCameraGetAttribute2ForDebugForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0xDFBBA264
| 0.931.010 || not present
|-
| 0.940-0.995.000 || 0x356BAF6C
|-
| 0.996.090-3.740.011 || not present
|}
|}


=== sceCameraDeinitForDriver ===
This is a guessed name.
 
This function is used for only attributes 13 and 25.
 
=== sceCameraSetAttribute2ForDebugForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-3.60 || 0xF7A0C99F
| 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 is a guessed name.
 
This function is used for only attributes 13 and 25.


=== SceCameraForDriver_22D51107 ===
=== sceCameraIsActiveForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010 || not present
|-
|-
| 3.60 || 0x22D51107
| 0.940-3.740.011 || 0x22E70D83
|}
|}


=== SceCameraForDriver_22E70D83 ===
=== SceCameraForDriver_EE3D4B1C ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-0.940 || not present
|-
|-
| 3.60 || 0x22E70D83
| 0.990.000-3.740.011 || 0xEE3D4B1C
|}
|}


=== SceCameraForDriver_96C63737 ===
=== SceCameraForDriver_22D51107 ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-0.940 || not present
|-
|-
| 3.60 || 0x96C63737
| 0.990.000-3.740.011 || 0x22D51107
|}
|}


=== SceCameraForDriver_B241F11F ===
=== sceCameraGetAttribute2ForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-0.995.000 || not present
|-
|-
| 3.60 || 0xB241F11F
| 0.996.090-3.740.011 || 0xFE3C170C
|}
|}
This is a guessed name.
This function is used for only attributes 13 and 25.


=== sceCameraSetAttribute2ForDriver ===
=== sceCameraSetAttribute2ForDriver ===
Line 288: Line 302:
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-0.995.000 || not present
|-
|-
| 1.04 - 3.74 || 0xB312CE90
| 0.996.090-3.740.011 || 0xB312CE90
|}
|}


This is a guessed name.
This is a guessed name.


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


=== SceCameraForDriver_D0810455 ===
=== sceCameraGetStatusForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-0.995.000 || not present
|-
|-
| 3.60 || 0xD0810455
| 0.996.090-3.740.011 || 0xEB1CC2CA
|}
|}
This is a guessed name. Temp name was sceCameraIsActiveForDriver.
<source lang="C">int sceCameraGetStatusForDriver(SceUID pid, SceUInt32 *puiStatus);</source>


=== SceCameraForDriver_D259707C ===
=== SceCameraForDriver_D259707C ===
Line 312: Line 340:
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-1.06 || not present
|-
|-
| 3.60 || 0xD259707C
| 1.500.151-3.740.011 || 0xD259707C
|}
|}


=== SceCameraForDriver_EE3D4B1C ===
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.931 || not present
| 0.931.010-3.01 || not present
|-
|-
| 3.60 || 0xEE3D4B1C
| 3.100.081-3.740.011 || 0xD0810455
|}
|}
Gets 6-byte information from a 0x10-byte structure initialized by [[#SceCameraForDriver_6443EEDB]].
<source lang="C">
// 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);
</source>


== SceCamera ==
== SceCamera ==
Line 334: Line 375:
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || 0x7670474C
| 0.931.010-0.995.000 || 0x7670474C
|-
|-
| 3.60 || not present
| 0.996.090-3.740.011 || not present
|}
|}


Wrapper for [[#sceCameraUseCacheMemoryForTrial]].
Wrapper for [[#sceCameraUseCacheMemoryForTrialForDriver]].


=== sceCameraLedBlink ===
=== sceCameraLedBlink ===
Line 346: Line 387:
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || 0x89B16030
| 0.931.010-0.995.000 || 0x89B16030
|-
|-
| 3.60 || not present
| 0.996.090-3.740.011 || not present
|}
|}


Line 363: Line 404:
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || 0xD02CFA5C
| 0.931.010-0.995.000 || 0xD02CFA5C
|-
|-
| 3.60 || not present
| 0.996.090-3.740.011 || not present
|}
|}


Line 376: Line 417:
</source>
</source>


=== sceCameraSetExposureCeiling ===
=== sceCameraStart ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-3.740.011 || 0xA8FEAE35
|}
 
=== sceCameraStop ===
{| class="wikitable"
|-
|-
| 1.69 || 0x04F34BEE
! Version !! NID
|-
| 0.931.010-3.740.011 || 0x1DD9C9CE
|}
|}


=== sceCameraGetAutoControlHold ===
=== sceCameraOpen ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-3.740.011 || 0xA462F801
|}
 
=== sceCameraClose ===
{| class="wikitable"
|-
! Version !! NID
|-
|-
| 1.69 || 0x06A21BBB
| 0.931.010-3.740.011 || 0xCD6E1CFC
|}
 
=== sceCameraRead ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.931.010-3.740.011 || 0x79B5C2DE
|}
|}


Line 401: Line 462:
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x06D3816C
| 0.931.010-3.740.011 || 0x06D3816C
|}
|}


=== sceCameraSetContrast ===
=== sceCameraSetZoom ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x06FB2900
| 0.931.010-3.740.011 || 0xF7464216
|}
|}


=== sceCameraIsActive ===
=== sceCameraGetReverse ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-3.740.011 || 0x44F6043F
|-
| 1.69 || 0x103A75B8
|}
|}


Line 427: Line 486:
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x1175F477
| 0.931.010-3.740.011 || 0x1175F477
|}
|}


=== sceCameraGetNightmode ===
=== sceCameraGetGain ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x12B6FF26
| 0.931.010-3.740.011 || 0x2C36D6F3
|}
|}


=== sceCameraStop ===
=== sceCameraSetGain ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x1DD9C9CE
| 0.931.010-3.740.011 || 0xE65CFE86
|}
|}


=== sceCameraGetDeviceLocation ===
=== sceCameraGetNightmode ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-3.740.011 || 0x12B6FF26
|}
 
=== sceCameraSetNightmode ===
{| class="wikitable"
|-
! Version !! NID
|-
|-
| 1.69 || 0x274EF751
| 0.931.010-3.740.011 || 0x3F26233E
|}
|}


=== sceCameraGetGain ===
=== sceCameraGetWhiteBalance ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x2C36D6F3
| 0.931.010-3.740.011 || 0xDBFFA1DA
|}
|}


=== sceCameraGetSharpnessOff ===
=== sceCameraSetWhiteBalance ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-3.740.011 || 0x4D4514AC
|-
| 1.69 || 0x34CCAF85
|}
|}


=== sceCameraSetAutoControlHold ===
=== sceCameraGetISO ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-3.740.011 || 0x4EBD5C68
|-
| 1.69 || 0x3A0DABBD
|}
|}


Line 489: Line 550:
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x3CF630A1
| 0.931.010-3.740.011 || 0x3CF630A1
|}
|}


=== sceCameraSetNightmode ===
=== sceCameraGetEV ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x3F26233E
| 0.931.010-3.740.011 || 0x8B5E6147
|}
|}


=== sceCameraGetReverse ===
=== sceCameraSetEV ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x44F6043F
| 0.931.010-3.740.011 || 0x62AFF0B8
|}
|}


=== sceCameraSetSharpnessOff ===
=== sceCameraGetEffect ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-3.740.011 || 0x7E8EF3B2
|}
 
=== sceCameraSetEffect ===
{| class="wikitable"
|-
|-
| 1.69 || 0x4B5405C8
! Version !! NID
|-
| 0.931.010-3.740.011 || 0xE9D2CFB1
|}
|}


=== sceCameraSetWhiteBalance ===
=== sceCameraGetContrast ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x4D4514AC
| 0.931.010-3.740.011 || 0x8FBE84BE
|}
|}


=== sceCameraGetISO ===
=== sceCameraSetContrast ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x4EBD5C68
| 0.931.010-3.740.011 || 0x06FB2900
|}
|}


=== sceCameraGetExposureCeiling ===
=== sceCameraGetBrightness ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-3.740.011 || 0x85D5951D
|-
| 1.69 || 0x5FA5B1BB
|}
|}


=== sceCameraGetSaturation ===
=== sceCameraSetBrightness ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x624F7653
| 0.931.010-3.740.011 || 0x98D71588
|}
|}


=== sceCameraSetEV ===
=== sceCameraGetBacklight ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x62AFF0B8
| 0.931.010-3.740.011 || 0x8DD1292B
|}
|}


=== sceCameraSetImageQuality ===
=== sceCameraSetBacklight ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-3.740.011 || 0xAE071044
|-
| 1.69 || 0x75C4300B
|}
|}


=== sceCameraRead ===
=== sceCameraGetSharpness ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x79B5C2DE
| 0.931.010-3.740.011 || 0xAA72C3DC
|}
|}


=== sceCameraGetEffect ===
=== sceCameraSetSharpness ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x7E8EF3B2
| 0.931.010-3.740.011 || 0xD1A5BB0B
|}
|}


=== sceCameraGetBrightness ===
=== sceCameraGetAntiFlicker ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x85D5951D
| 0.931.010-3.740.011 || 0x9FDACB99
|}
|}


=== sceCameraGetEV ===
=== sceCameraSetAntiFlicker ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x8B5E6147
| 0.931.010-3.740.011 || 0xE312958A
|}
|}


=== sceCameraGetBacklight ===
=== sceCameraGetSaturation ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x8DD1292B
| 0.931.010-3.740.011 || 0x624F7653
|}
|}


=== sceCameraGetContrast ===
=== sceCameraSetSaturation ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0x8FBE84BE
| 0.931.010-3.740.011 || 0xF9F7CA3D
|}
|}


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


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


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


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


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


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


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


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


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


=== sceCameraGetImageQuality ===
=== sceCameraSetNoiseReduction ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-0.940 || not present
|-
|-
| 1.69 || 0xE2AC7BCE
| 1.000.071-3.740.011 || 0xF9B79556
|}
|}


=== sceCameraSetAntiFlicker ===
=== sceCameraGetSharpnessOff ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-1.69 || 0xE312958A
| 0.931.010-0.940 || not present
|-
| 1.000.071-3.740.011 || 0x34CCAF85
|}
|}


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


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


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


=== sceCameraSetNoiseReduction ===
=== sceCameraGetImageQuality ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931 || not present
| 0.931.010-1.06 || not present
|-
|-
| 1.69 || 0xF9B79556
| 1.500.151-3.740.011 || 0xE2AC7BCE
|}
|}


=== sceCameraSetSaturation ===
=== sceCameraSetImageQuality ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 0.931-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
|-
|-
| 0.931 || not present
| 0.931.010-1.06 || not present
|-
|-
| 1.69 || 0xFEB99ACC
| 1.500.151-3.740.011 || 0x99B5FB62
|}
|}


<pre>
Usermode equivalent of [[#SceCameraForDriver_D259707C]].
0x27BB0528 sceCameraGetNoiseReductionForDebug
 
0xC387F4DC sceCameraGetSharpnessOffForDebug
<source lang="C">int SceCamera_99B5FB62(SceBool mode);</source>
0xE22C2375 sceCameraSetSharpnessOffForDebug
</pre>


[[Category:ARM]]
[[Category:ARM]]

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);