mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
sceVideoCoreAcquireDecoderResource, sceVideoCoreAcquireDecoderResourceForBeWrapper, sceVideoCoreReleaseDecoderResource and sceVideoCoreReleaseDecoderResourceForBeWrapper follow shadPS4's videocore_server.cpp (0614ce324b): a null parameter, callback or id pointer returns INVALID_ARGUMENT (0x80DC0001); ids count up from 1 across both kinds; id 0, an unknown id or a resource of the other kind returns RESOURCE_NOT_FOUND (0x80DC0015) or BE_WRAPPER_RESOURCE_NOT_FOUND (0x80DC000E). The library gets its own CMakeLists so the new guest test is registered.
2.9 KiB
2.9 KiB
libSceVideoCoreServerInterface technical debt
Unknown function info
- sceVideoCoreAbortRequest, sceVideoCoreAddStream, sceVideoCoreAsyncAddStream, sceVideoCoreAsyncSendRequest, sceVideoCoreCancelThumbnail, sceVideoCoreChangeActiveStatus, sceVideoCoreChangeAudioStream, sceVideoCoreChangeDisplaySize, sceVideoCoreChangeHdcpSetting, sceVideoCoreChangeSubtitle, sceVideoCoreDeleteStream, sceVideoCoreGenerateThumbnail, sceVideoCoreGenerateThumbnail2, sceVideoCoreGetCanvasHandle, sceVideoCoreGetPlayStatus, sceVideoCoreGetPlayStatus2, sceVideoCoreGetStreamUid, sceVideoCoreGetThumbnail, sceVideoCoreGetThumbnail2, sceVideoCoreLaunchVideoCore, sceVideoCoreMediaSourceAbortSourceBuffer, sceVideoCoreMediaSourceAddSourceBuffer, sceVideoCoreMediaSourceAppendData, sceVideoCoreMediaSourceEndOfStream, sceVideoCoreMediaSourceGetBufferedTimeRanges, sceVideoCoreMediaSourceGetInputBufferEmptySize, sceVideoCoreMediaSourceGetPlaybackQuality, sceVideoCoreMediaSourceGetSourceBufferEvent, sceVideoCoreMediaSourceRemoveSourceBuffer, sceVideoCoreMediaSourceSetDuration, sceVideoCoreMediaSourceSetTimestampOffset, sceVideoCorePlayControl, sceVideoCoreRegistEventCallback, sceVideoCoreSetAudioMute, sceVideoCoreSetAudioVolume, sceVideoCoreSetFullScreen, sceVideoCoreSetInitialInfo, sceVideoCoreSetInitializeInfo, sceVideoCoreSetPlaybackRange, sceVideoCoreSetThumbnailInfo, sceVideoCoreSyncAddStream, sceVideoCoreSyncSendRequest and sceVideoCoreUnregistEventCallback (libSceVideoCoreServerInterface) - names and NIDs are present in the PS5 3.20 export inventory, but no credible prototypes were found. The declarations have no parameters solely to resolve known imports; this is not an ABI claim and callers must not call them until signatures are verified
Functional
- sceVideoCoreAcquireDecoderResource, sceVideoCoreAcquireDecoderResourceForBeWrapper, sceVideoCoreReleaseDecoderResource and sceVideoCoreReleaseDecoderResourceForBeWrapper (libSceVideoCoreServerInterface) - console behaviour is unmeasured. The signatures, the 16-byte acquire parameter, the error codes and the bookkeeping follow shadPS4's
videocore_server.cpp: ids count up from 1 across both kinds and are not reused, and id 0, an unknown id or a resource of the other kind returns RESOURCE_NOT_FOUND (0x80DC0015) or BE_WRAPPER_RESOURCE_NOT_FOUND (0x80DC000E). The parameter is stored but not checked against a decoder budget, so every acquire with valid pointers succeeds, and the callback is stored but never called; when the console calls it is unknown