mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-27 00:28:14 +00:00
32 KiB
32 KiB
libSceCamera technical debt
Functional
- sceCameraIsAttached (libSceCamera) - no camera is ever attached: index 0 returns 0 (not attached) and any other index returns
SCE_CAMERA_ERROR_PARAM(0x802E0000), as shadPS4 does without a configured camera, with the error value from its camera_error.h. Not measured on a console. Closes when: a host camera is exposed to guests. - sceCameraOpen, sceCameraClose, sceCameraCloseByHandle, sceCameraStart, sceCameraStartByHandle, sceCameraStop, sceCameraStopByHandle, sceCameraGetFrameData and sceCameraIsValidFrameData (libSceCamera) - follow shadPS4's camera.cpp with no host camera configured: its check order and 584-byte frame data limit. Handle calls require a live ID; IDs are not reused, unlike shadPS4's counter. The console's ID reuse and exhaustion policy is unknown; exhaustion throws.
sceCameraStartByHandlesucceeds wheresceCameraStartreportsNOT_CONNECTED, as in shadPS4; which of the two the console does is not known. The open parameter is not read and no camera memory is mapped. Not measured on a console. Closes when: a host camera is exposed to guests. - sceCameraGetAttribute, sceCameraGetAutoExposureGain, sceCameraGetAutoWhiteBalance, sceCameraGetDefectivePixelCancellation, sceCameraGetLensCorrection, sceCameraGetContrast, sceCameraGetSaturation, sceCameraGetSharpness, sceCameraGetHue, sceCameraGetExposureGain, sceCameraGetWhiteBalance and sceCameraGetGamma (libSceCamera) - return the defaults in shadPS4's camera_config.cpp, not values read from a device. The exposure target check from firmware 3.00 always applies. Not measured on a console. Closes when: a host camera is exposed to guests.
- sceCameraSetAttribute, sceCameraSetAutoExposureGain, sceCameraSetAutoWhiteBalance, sceCameraSetDefectivePixelCancellation, sceCameraSetDefectivePixelCancellationInternal, sceCameraSetLensCorrection, sceCameraSetLensCorrectionInternal, sceCameraSetContrast, sceCameraSetSaturation, sceCameraSetSharpness, sceCameraSetHue, sceCameraSetExposureGain, sceCameraSetWhiteBalance and sceCameraSetGamma (libSceCamera) - report
NOT_CONNECTEDafter shadPS4's checks. shadPS4 refuses a non-null exposure gain or gamma insceCameraSetExposureGainandsceCameraSetGamma; here a null one is refused, likesceCameraSetWhiteBalance. The sharpness limit from firmware 3.50 always applies. Not measured on a console. Closes when: a host camera is exposed to guests. - sceCameraGetConfig, sceCameraSetConfig, sceCameraSetConfigInternal, sceCameraGetDeviceConfig and sceCameraGetDeviceConfigWithoutHandle (libSceCamera) - the type 1 default configuration and the cleared device configurations follow shadPS4's camera_config.cpp and camera_device.cpp; a new configuration is refused with
NOT_CONNECTEDbefore its type is read, as shadPS4 does without a camera. Not measured on a console. Closes when: a host camera is exposed to guests. - sceCameraGetDeviceInfo, sceCameraGetProductInfo, sceCameraGetRegistryInfo, sceCameraGetMmapConnectedCount, sceCameraGetCalibDataFromDevice, sceCameraGetCalibrationData and sceCameraAudioOpen (libSceCamera) - report a missing device with the errors from shadPS4's camera_device.cpp, camera_config.cpp, camera_calibration.cpp and camera_audio.cpp.
sceCameraGetCalibDataFromDeviceandsceCameraAudioOpenare declared without parameters, as in shadPS4. Not measured on a console. Closes when: a host camera is exposed to guests.
Additional PS5 3.20 imports
- sceCameraGetDeviceIDWithoutOpen (libSceCamera, NID
-H3UwGQvNZI) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraInitializeRegistryCalibData (libSceCamera, NID
0wnf2a60FqI) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetContrast (libSceCamera, NID
1-IJHxzRJGw) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2Finalize (libSceCamera, NID
186Jz869gsc) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraGetConnectedDeviceAndDriverMode (libSceCamera, NID
2dBOiluwiMw) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2IsAttached (libSceCamera, NID
2v21-m4gljU) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2SetSharpness (libSceCamera, NID
2zCd8XDOe-Y) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraSetTrackerMode (libSceCamera, NID
3VJOpzKoIeM) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraGetCalibDataForEve (libSceCamera, NID
4IGO2LPD3h8) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2SetContrast (libSceCamera, NID
66IVWcdNHyI) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraIsConnectedForSystem (libSceCamera, NID
68S3GKWhY6o) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2SetExposureGain (libSceCamera, NID
8MEjogxPrv0) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraSetRegister (libSceCamera, NID
8MjO05qk5hA) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraSetVideoSyncInternal (libSceCamera, NID
8WtmqmE4edw) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraSetAttributeInternal (libSceCamera, NID
96F7zp1Xo+k) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2SetWhiteBalance (libSceCamera, NID
AfIDd+2ycTs) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetSaturation (libSceCamera, NID
DAycoVmY3Mw) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetAutoExposureGain (libSceCamera, NID
FZkD-E6MNTQ) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraGetCalibDataFromDeviceForEve (libSceCamera, NID
H-7tWq8gfKs) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraGetVrCaptureInfo (libSceCamera, NID
IAz2HgZQWzE) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraSetCalibDataForEve (libSceCamera, NID
Jkz3xxMeyIM) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetAttribute (libSceCamera, NID
JtD7ZG45rdw) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraSetCalibData (libSceCamera, NID
LEMk5cTHKEA) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraSetProcessFocusByHandle (libSceCamera, NID
NVITuK83Z7o) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2SetConfig (libSceCamera, NID
O5x-G9Rqwx4) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2Initialize (libSceCamera, NID
PFRl8SmSW+4) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraAccGetData (libSceCamera, NID
QhjrPkRPUZQ) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2SetAttribute (libSceCamera, NID
Qk6kEJ0RJlM) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetHue (libSceCamera, NID
T8jy0JWa210) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2Stop (libSceCamera, NID
TZWR3p6XxXk) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2SetSaturation (libSceCamera, NID
TzkL-nUWfaQ) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetAutoWhiteBalance (libSceCamera, NID
U8oNsRef+jI) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraAudioClose (libSceCamera, NID
UFonL7xopFM) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraChangeAppModuleState (libSceCamera, NID
Y0pCDajzkVQ) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetFrameData (libSceCamera, NID
YlFCMjbyzh8) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetExposureGain (libSceCamera, NID
c9XZGDF1OcM) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2Open (libSceCamera, NID
dmLUJh3bVTc) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2Start (libSceCamera, NID
eGkcUia48ts) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraOpenByModuleId (libSceCamera, NID
eTywOSWsEiI) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetCalibrationData (libSceCamera, NID
emZBXv7cuAI) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraAudioGetData (libSceCamera, NID
fkZE7Hup2ro) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2SetHue (libSceCamera, NID
gB+OkFvkSXE) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetGamma (libSceCamera, NID
gJqqsinextg) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraGetCalibData (libSceCamera, NID
hHA1frlMxYE) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraWaitForEveReady (libSceCamera, NID
hPVradh5wpo) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraAudioGetData2 (libSceCamera, NID
hftC5A1C8OQ) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraSetAppModuleFocus (libSceCamera, NID
j5isFVIlZLk) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraGetDeviceID (libSceCamera, NID
jTJCdyv9GLU) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraSetForceActivate (libSceCamera, NID
jeTpU0MqKU0) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetFieldOfView (libSceCamera, NID
kVWBITsSB3o) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2IsValidFrameData (libSceCamera, NID
lQ7rWWlOArI) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraSetProcessFocus (libSceCamera, NID
lS0tM6n+Q5E) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetConfig (libSceCamera, NID
mLRzKdIDwiU) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetWhiteBalance (libSceCamera, NID
n+R7PGJa6MI) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraDeviceOpen (libSceCamera, NID
nBH6i2s4Glc) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraSetUacModeInternal (libSceCamera, NID
nnR7KAIDPv8) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraGetRegister (libSceCamera, NID
olojYZKYiYs) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2SetGamma (libSceCamera, NID
pfiqU2f6PQY) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraRemoveAppModuleFocus (libSceCamera, NID
py8p6kZcHmA) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2Close (libSceCamera, NID
uBRW3tEoWWM) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2SetVideoSync (libSceCamera, NID
ubD+FitjqhA) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraWaitForLukeReady (libSceCamera, NID
v9XTZHXoJyQ) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2GetSharpness (libSceCamera, NID
vPi3gSzw79M) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2SetAutoWhiteBalance (libSceCamera, NID
vS20kteXHdw) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraSetDebugStop (libSceCamera, NID
vejouEusC7g) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCamera2SetAutoExposureGain (libSceCamera, NID
vx9MQYicBVQ) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraIsConfigChangeDone (libSceCamera, NID
wQfd7kfRZvo) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraSetVideoSync (libSceCamera, NID
wpeyFwJ+UEI) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch - sceCameraAudioReset (libSceCamera, NID
wyU98EXAYxU) - listed in the PS5 3.20 export inventory; signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws throughNotImplemented_nid_no_patch