15 KiB
libSceAvSetting technical debt
Recovered behavior
sceAvControlIsColorimetryHdr(NID3jnRsjnzIjI) maps colorimetry values 9 through 20 to a 0/1 table; value 18 and values outside that range return false.sceAvControlIsDeepColorSupportedByMonitorInfo(NIDfnqFpsRrsg4) checks masks0x0aat offsets0x74and0x75, then mask0x03at offset0x352.sceAvControlIsHdrSupportedByMonitorInfo(NID5wP7bivaX7c) requires mask0x04at offset0x358and mask0x30at offset0x78.sceAvControlIsModeGen1Vr(NIDC81K5tny9CE) returns bit 1 of the 32-bit field at offset0x30.sceAvControlIsModeSystemDefault(NIDrVK3QqurCkg) returns true when bit 0 of the 32-bit field at offset0x30is clear.
These behaviors are recovered from static disassembly of the firmware 13.60 libSceAvSetting.sprx using Ghidra 12.1.4. The opaque monitor-info and video-mode layouts are represented by byte offsets because no project structure definition was found. These implementations have not been verified on a console.
Unknown function info
-
sceAvControlChangeOutputLayout, sceAvControlChangeOutputMode, sceAvControlChangeOutputModeForDiag, sceAvControlChangeProcessAttribute, sceAvControlChangeScanInMode - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvControlGetCurrentDeviceId, sceAvControlGetCurrentOutputMode, sceAvControlGetCurrentOutputModeWithSync, sceAvControlGetDetailHdcpStatus, sceAvControlGetDeviceInfo - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvControlGetHdcpStatus, sceAvControlGetMonitorInfo, sceAvControlGetNativeMonitorInfo, sceAvControlGetPuStatus, sceAvControlGetPuType - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvControlInit, sceAvControlIsAudioOutModeSupportedByMonitorInfo, sceAvControlIsDeviceConnected - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvControlIsSuspendedProcessOutputModeAvailable, sceAvControlIsVideoOutModeSupportedByMonitorInfo - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvControlSet2dVrMode, sceAvControlSetAudioMuteForShutdown, sceAvControlSetAvOutputMode, sceAvControlSetColorEffect, sceAvControlSetDefaultAudioOutMode - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvControlSetDefaultVideoOutMode, sceAvControlSetDispclk, sceAvControlSetGamutMetadata, sceAvControlSetHdcpEncryption, sceAvControlSetHdcpStatus - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvControlSetHdmiGamutMetadata, sceAvControlSetHdrMetadata, sceAvControlSetVideoOutSource, sceAvControlSimulateProcessOutputModeArbitration, sceAvSettingAddCallbacks - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvSettingAddCallbacksForLnc, sceAvSettingAddCallbacksForSocialScreen, sceAvSettingCallbackFuncsInit, sceAvSettingCallbackFuncsInitForLnc, sceAvSettingCallbackFuncsInitForLnc_ - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvSettingCallbackFuncsInit_, sceAvSettingChangeOutputMode, sceAvSettingChangeOutputMode2, sceAvSettingChangeOutputMode3, sceAvSettingChangeOutputModeForDiag - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvSettingChangeProcessAttribute, sceAvSettingCheckCallback, sceAvSettingControlHdcpEncryption, sceAvSettingDebugAddCallbacks, sceAvSettingDebugClearDiagCommand - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvSettingDebugSetDiagState, sceAvSettingDebugSetHdmiMonitorInfo, sceAvSettingDebugSetProcessAttribute, sceAvSettingDriverChangeConnectionStatus, sceAvSettingDriverUpdateStatus - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvSettingEnterAudioMuteForShutdown, sceAvSettingGetCurrentDeviceInfo_, sceAvSettingGetCurrentHdmiDeviceId, sceAvSettingGetCurrentOutputMode2_, sceAvSettingGetCurrentOutputMode_ - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvSettingGetDetailedHdcpStatus, sceAvSettingGetDeviceInfo, sceAvSettingGetHdcpStatus, sceAvSettingGetHdmiConnectDisconnectNum, sceAvSettingGetHdmiKsvList - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvSettingGetHdmiMonitorInfo, sceAvSettingGetHdmiRawEdid, sceAvSettingGetMorpheusPuStatus, sceAvSettingGetNativeHdmiMonitorInfo, sceAvSettingGetRawHdmiMonitorInfo - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvSettingInit, sceAvSettingIsSupportedAudioOutModeByHdmiMonitorInfo, sceAvSettingIsSupportedHdcpVersionByHdmiMonitorInfo, sceAvSettingIsSupportedVideoOutModeByHdmiMonitorInfo, sceAvSettingIsSuspendedProcessOutputModeAvailable - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvSettingIsSuspendedProcessOutputModeAvailable2, sceAvSettingIsVrSupportedByHdmiMonitorInfo2, sceAvSettingNotifyAudioOutMode, sceAvSettingNotifyResponseForSocialScreen, sceAvSettingNotifyUmdEvent - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvSettingNotifyVideoOutMode, sceAvSettingRemoveCallbacks, sceAvSettingRemoveProcessOutputMode, sceAvSettingSet2dVrMode, sceAvSettingSetAudioOutModeAny_ - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvSettingSetAudioOutModeInvalid_, sceAvSettingSetAvOutputMode, sceAvSettingSetDispclk, sceAvSettingSetDisplayBlackLevel, sceAvSettingSetHdcpMode - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvSettingSetHdcpStatus, sceAvSettingSetHdmiGamutMetadata_, sceAvSettingSetVideoOutModeAny_, sceAvSettingSetVideoOutModeInvalid_, sceAvSettingSetVideoOutSource - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvSettingSetVideoOutputColorEffect, sceAvSettingSimulateProcessOutputModeArbitration_, sceAvSettingTerm, sceAvSettingWaitCallback - names and NIDs match the PS5 3.20 inventory; signatures and behavior are unverified. No-parameter declarations resolve imports and throw through
NotImplemented_nid_no_patchwhen called. -
sceAvControlGetPuTypeByMonitorInfo (libSceAvSetting) - unknown signature
-
sceAvControlIsVideoOutModeSupportedByMonitorInfoWithOptions (libSceAvSetting) - unknown signature
-
sceAvControlSetDitherModeForDiag (libSceAvSetting) - unknown signature
-
sceAvControlSetLayoutModeForDiag (libSceAvSetting) - unknown signature
-
sceAvControlSetMonitorFakeMode (libSceAvSetting) - unknown signature
-
sceAvControlGetCurrentOutputSysMode (libSceAvSetting) - unknown signature
-
sceAvControlGetNativeHdmiMonitorInfo (libSceAvSetting) - unknown signature
-
sceAvControlGetRawMonitorInfo (libSceAvSetting) - unknown signature
-
sceAvControlGetKsvList (libSceAvSetting) - unknown signature
-
sceAvControlGetRawEdid (libSceAvSetting) - unknown signature
-
sceAvControlRemoveProcessOutputMode (libSceAvSetting) - unknown signature
-
sceAvControlUpdateDriverStatus (libSceAvSetting) - unknown signature
-
sceAvControlNotifyUmdEvent (libSceAvSetting) - unknown signature
-
sceAvControlAddCallbacksForLnc (libSceAvSetting) - unknown signature
-
sceAvControlAddCallbacksForResourceArbitrator (libSceAvSetting) - unknown signature
-
sceAvControlRemoveCallbacks (libSceAvSetting) - unknown signature
-
sceAvControlCheckCallback (libSceAvSetting) - unknown signature
-
sceAvControlWaitCallback (libSceAvSetting) - unknown signature
-
sceAvControlSetColorMode (libSceAvSetting) - unknown signature
-
sceAvControlCheckMonitorInfoCapability (libSceAvSetting) - unknown signature
-
sceAvControlCheckVideoOutMode (libSceAvSetting) - unknown signature
-
sceAvControlSetCheckoutputMode (libSceAvSetting) - unknown signature
-
sceAvControlSetSystemVideoMode (libSceAvSetting) - unknown signature
-
sceAvControlDebugAddCallbacks (libSceAvSetting) - unknown signature