Repository navigation
Conversation
Implement the software video decoder: compute memory and queue queries, decoder memory queries, decoder creation, deletion and reset, access unit input and frame output with their non-blocking syncs, sequence finalization and AVC picture info. Signatures, structure layouts, argument checks and error codes follow shadPS4. An access unit is decoded when it is submitted, in Annex B or with 4-byte NAL lengths, so its input result is ready at once. Frames are written as NV12 with the pitch aligned to 64 and the height to 16, with the padding rows repeating the last row. Picture info keeps the input timestamps and attached data in display order. Codecs other than H.264, interlaced pictures, decoding errors and input after finalizing without a reset throw. The H.264 stream used by the Videodec2 test moves to a shared header so the new test checks the same reference pictures. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Progress report (cea1ef1 → 7781730)📈 System libraries: 86.46% (+0.44%, +13 implemented functions) ✅ 13 implemented
|
Collaborator
|
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 |
Contributor
Author
|
Closing for now: no title log on 🤖 Closed by Claude Code |
9 tasks done
This was referenced Oct 14, 2026
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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