feat(libSceAjm.native): implement sceAjmBatchJobDecodeSplit #1541
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1541"
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 emaurel on 2026-10-08T11:46:59Z.
What
sceAjmBatchJobDecodeSplitwas a stub that threw. It now builds the same run job assceAjmBatchJobDecode: theSIDEBAND_STREAMflag, with the result and stream sideband. The difference is that it takes lists of input and output buffers, the waysceAjmBatchJobRunissceAjmBatchJobRunSplitover a single buffer each. The engine already joins multiple inputs (JoinInputs) and spreads output over multiple buffers (PcmOutputs), so no decoder change is needed.On PS4 the decode helpers were inline functions in the SDK headers, so shadPS4 has
RunSplitbut noDecodeSplit. The flag and sideband size are therefore inferred from theDecode/Runpairing in this library, and that is recorded in TechnicalDebt.Tested
-DBUILD_TESTING=ONTestDecodeSplitinguest_ajm: the 6-frameMP3_MONOstream is decoded on two instances.sceAjmBatchJobDecode.sceAjmBatchJobDecodeSplit, with each frame's input split into two buffers 37 bytes in (mid-frame) and the output split into two buffers of 500 and 652 samples.guest_ajmpassed 5 of 5 runs on both systems. On Windows it also passed onmainbefore the change.SIDEBAND_STREAM, dropping the second input buffer, and dropping the second output buffer.agc_driver_dcc_keys_first_write, the intermittent NVIDIA failure of #1434 (addressed by the open #1441). Its binary loads only libc and libSceAgcDriver, which this PR does not change.python3 tools/check_conventions.py --base upstream/mainpasses.Checklist
main; no other open PR implements the same functions (#1468 also editslibSceAjm.native/Export.cpp, renaming the WVorbis stubs only)NotImplemented_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-08T11:47:26Z.
Progress report (
33a9199→cbaff8a)📈 System libraries: 85.45% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceAjmBatchJobDecodeSplitImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T17:07:08Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)docs/dev/TechnicalDebt.mdL171Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:54:34Z.
Closing: same as #867, no title is shown reaching
sceAjmBatchJobDecodeSpliton main. Please reopen with the title ID and the log line if you find one.Pull request closed