# libSceVideoCoreServerInterface technical debt ### Functional - [sceVideoCoreAbortRequest, sceVideoCoreAddStream, sceVideoCoreAsyncAddStream, sceVideoCoreAsyncSendRequest, sceVideoCoreCancelThumbnail, sceVideoCoreChangeActiveStatus, sceVideoCoreChangeAudioStream, sceVideoCoreChangeDisplaySize, sceVideoCoreChangeHdcpSetting, sceVideoCoreChangeSubtitle and sceVideoCoreDeleteStream](../../../core/libs/prx/libSceVideoCoreServerInterface/Export.cpp) (libSceVideoCoreServerInterface) - return 0, as firmware 13.42 does: read from its disassembly and run under a CPU emulator on x86-64, not on a console, each prints `[ERR]() ` (`printf`) and `This API is not available.` (`puts`), then clears `eax` and returns. The prints are not reproduced. No argument is read, so the declarations keep no parameters; other firmware versions were not read. - [sceVideoCoreGenerateThumbnail, sceVideoCoreGenerateThumbnail2, sceVideoCoreGetCanvasHandle, sceVideoCoreGetPlayStatus, sceVideoCoreGetPlayStatus2, sceVideoCoreGetStreamUid, sceVideoCoreGetThumbnail, sceVideoCoreGetThumbnail2, sceVideoCoreLaunchVideoCore, sceVideoCoreMediaSourceAbortSourceBuffer and sceVideoCoreMediaSourceAddSourceBuffer](../../../core/libs/prx/libSceVideoCoreServerInterface/Export.cpp) (libSceVideoCoreServerInterface) - return 0, as firmware 13.42 does: read from its disassembly and run under a CPU emulator on x86-64, not on a console, each prints `[ERR]() ` (`printf`) and `This API is not available.` (`puts`), then clears `eax` and returns. The prints are not reproduced. No argument is read, so the declarations keep no parameters; other firmware versions were not read. - [sceVideoCoreMediaSourceAppendData, sceVideoCoreMediaSourceEndOfStream, sceVideoCoreMediaSourceGetBufferedTimeRanges, sceVideoCoreMediaSourceGetInputBufferEmptySize, sceVideoCoreMediaSourceGetPlaybackQuality, sceVideoCoreMediaSourceGetSourceBufferEvent, sceVideoCoreMediaSourceRemoveSourceBuffer, sceVideoCoreMediaSourceSetDuration, sceVideoCoreMediaSourceSetTimestampOffset, sceVideoCorePlayControl and sceVideoCoreRegistEventCallback](../../../core/libs/prx/libSceVideoCoreServerInterface/Export.cpp) (libSceVideoCoreServerInterface) - return 0, as firmware 13.42 does: read from its disassembly and run under a CPU emulator on x86-64, not on a console, each prints `[ERR]() ` (`printf`) and `This API is not available.` (`puts`), then clears `eax` and returns. The prints are not reproduced. No argument is read, so the declarations keep no parameters; other firmware versions were not read. - [sceVideoCoreSetAudioMute, sceVideoCoreSetAudioVolume, sceVideoCoreSetFullScreen, sceVideoCoreSetInitialInfo, sceVideoCoreSetInitializeInfo, sceVideoCoreSetPlaybackRange, sceVideoCoreSetThumbnailInfo, sceVideoCoreSyncAddStream, sceVideoCoreSyncSendRequest and sceVideoCoreUnregistEventCallback](../../../core/libs/prx/libSceVideoCoreServerInterface/Export.cpp) (libSceVideoCoreServerInterface) - return 0, as firmware 13.42 does: read from its disassembly and run under a CPU emulator on x86-64, not on a console, each prints `[ERR]() ` (`printf`) and `This API is not available.` (`puts`), then clears `eax` and returns. The prints are not reproduced. No argument is read, so the declarations keep no parameters; other firmware versions were not read. - [sceVideoCoreAcquireDecoderResource and sceVideoCoreAcquireDecoderResourceForBeWrapper](../../../core/libs/prx/libSceVideoCoreServerInterface/Export.cpp) (libSceVideoCoreServerInterface) - returning `0x80DC0001` (`VideoCoreErrorInvalidArgument`) when `param` or `resourceId` is unmapped or unwritable via `GuestCopyIn_nid_no_patch`/`GuestCopyOut_nid_no_patch` is a host-safety fallback preserving host errno; console behavior on unmapped pointers is not measured. - [sceVideoCoreAcquireDecoderResource, sceVideoCoreAcquireDecoderResourceForBeWrapper, sceVideoCoreReleaseDecoderResource and sceVideoCoreReleaseDecoderResourceForBeWrapper](../../../core/libs/prx/libSceVideoCoreServerInterface/Export.cpp) (libSceVideoCoreServerInterface) - console behaviour is unmeasured. The signatures, the 16-byte acquire parameter, the error codes and the bookkeeping follow [shadPS4's `videocore_server.cpp`](https://github.com/shadps4-emu/shadPS4/blob/0614ce324be092791b758d79f93d9f1ca5b10a81/src/core/libraries/videodec/videocore_server.cpp#L27-L81): 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