feat(libSceVdecsw): decode H.264 through FFmpeg #1208
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1208"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-07T17:34:55Z.
What
Implements libSceVdecsw (13 exports) on top of FFmpeg's H.264 decoder:
sceVdecswQueryComputeMemoryInfo,sceVdecswAllocateComputeQueue,sceVdecswReleaseComputeQueue;sceVdecswQueryDecoderMemoryInfo,sceVdecswCreateDecoder,sceVdecswDeleteDecoder,sceVdecswResetDecoder;sceVdecswSetDecodeInput,sceVdecswTrySyncDecodeInput,sceVdecswSetDecodeOutput,sceVdecswTrySyncDecodeOutput,sceVdecswFinalizeDecodeSequence;sceVdecswGetAvcPictureInfo.Signatures, structure layouts (both config and output info versions), argument checks and error codes follow shadPS4's
vdecsw.cpp.TrySyncDecodeInputnever reports a pending decode.The H.264 test stream from
GuestVideodec2.cppmoves tocore/libs/tests/H264TestStream.hpp, so both tests check the same reference pictures. The libSceVdecsw unknown-signature entries in TechnicalDebt are replaced by one entry that lists the sources and the gaps.Tested
Ubuntu 24.04, GCC 13.3, Release build. The new
guest_vdecswtest passes:guest_videodec2still passes with the shared header. Not tested with a title.Also checked on Windows 11 (MinGW GCC Release build):
guest_vdecswandguest_videodec2pass.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-07T17:41:23Z.
Progress report (
cea1ef1→7781730)📈 System libraries: 86.46% (+0.44%, +13 implemented functions)
✅ 13 implemented
sceVdecswAllocateComputeQueuesceVdecswCreateDecodersceVdecswDeleteDecodersceVdecswFinalizeDecodeSequencesceVdecswGetAvcPictureInfosceVdecswQueryComputeMemoryInfosceVdecswQueryDecoderMemoryInfosceVdecswReleaseComputeQueuesceVdecswResetDecodersceVdecswSetDecodeInputsceVdecswSetDecodeOutputsceVdecswTrySyncDecodeInputsceVdecswTrySyncDecodeOutputImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T03:25:59Z.
Which title reaches libSceVdecsw on main? With the ID and the log line this can go in; otherwise I'll close it until one does. The same goes for #950 and #1206: no title is shown calling
sceKernelGetEventErroror the four libSceHttp functions (PPSA23566 imports them, but nothing shows it stopping at one).Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-08T19:29:58Z.
Closing for now: no title log on
mainshows a stop at these exports yet. The branch stays on the fork; I'll reopen with the title ID and log line if one turns up.🤖 Closed by Claude Code
Pull request closed