feat(libs): implement libSceVdecsw on top of libSceVideodec2 #2203
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2203"
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 XairRrR on 2026-10-09T11:29:48Z.
What
Uncharted: Legacy of Thieves Collection (PPSA05684) plays its intro and menu movies through libSceVdecsw and stops on
mainwith:(#1208 and #1881 were closed because no title was shown reaching the module.)
vdecsw.h, checked against the title's movie decoder; decoding goes through libSceVideodec2.sceVdecswFinalizeDecodeSequenceand marked as the last frame: the title waits for it to end a movie.guest_videodec2moves totests/H264Fixture.hpp; the newguest_vdecswtest decodes it through Vdecsw.Tested
Arch Linux, GCC 16.2.1, NVIDIA GeForce RTX 4070 Ti SUPER (driver 615.71.09).
main(d70b8998):tools/check_conventions.pypasses; of the 514 ctest tests all pass exceptagc_driver_dcc_keys_first_write, which fails the same way onmain(an unchanged pending image was uploaded again).agc_driver_storage_cache_budgetpasses run alone; underctest -j8a local 3 GB RSS limit stopped it.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)Imported from boykopovar/AnyPS5. Originally posted by popcoder565 on 2026-10-09T15:47:00Z.
Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head
60c26120, merged ontomaind70b8998in one build with 38 other PRs that had no Windows run.guest_vdecsw,guest_videodec2. None of them reported skipping a case.No title was run.
🤖 Addressed by Claude Code
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-09T21:03:57Z.
Checked on Linux (GCC, merged onto current
main): build and ctest green forguest_vdecswandguest_videodec2;guest_vdecswfails without the change. Struct sizes and offsets match shadPS4vdecsw.h; the inferred error codes and queue depth are recorded in TechnicalDebt. Windows run by @popcoder565 also passes. Merging once CI is green.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T21:13:51Z.
Progress report (
d70b899→60c2612)📈 System libraries: 85.12% (+0.43%, +13 implemented functions)
✅ 13 implemented
sceVdecswAllocateComputeQueuesceVdecswCreateDecodersceVdecswDeleteDecodersceVdecswFinalizeDecodeSequencesceVdecswGetAvcPictureInfosceVdecswQueryComputeMemoryInfosceVdecswQueryDecoderMemoryInfosceVdecswReleaseComputeQueuesceVdecswResetDecodersceVdecswSetDecodeInputsceVdecswSetDecodeOutputsceVdecswTrySyncDecodeInputsceVdecswTrySyncDecodeOutput