feat(libSceOpusCeltDec): implement CELT decoder on FFmpeg Opus backend #4485
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4485"
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 SandBoss on 2026-10-12T13:18:27Z.
What
Implements all 6 libSceOpusCeltDec exports on the same backend as
libSceOpusDec: context/state registry, 640-byte state for mono/stereo,
48000 Hz only, packet framing check, FFmpeg AV_CODEC_ID_OPUS decode
with float-to-s16 conversion. Links PRIVATE ffmpeg like libSceOpusDec.
Reworks guest_opus_celt_dec from a NotImplemented check into the full
behavioural test. Updates the TechnicalDebt bullet to the new contract
(CELT-only restriction and console retryable errors unverified).
Signatures follow ProsperoRadio's opus_decoder.cpp, which uses this
library as the fallback when libSceOpusDec reports a retryable error.
Tested
test_stubgen, check_conventions comment/wrapped/ci_gate — all pass.
initialized in this workspace); Export.cpp is byte-identical to the
proven libSceOpusDec implementation modulo symbol renames, and the
guest test mirrors guest_opus_dec. Needs CI full Linux/Windows build.
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 github-actions[bot] on 2026-10-12T13:37:40Z.
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)sceOpusCeltDecCreateExsceOpusCeltDecDecodesceOpusCeltDecDestroysceOpusCeltDecGetSizesceOpusCeltDecInitializesceOpusCeltDecTerminateImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T00:22:31Z.
Closing: no title reaches libSceOpusCeltDec. As its entry in
docs/dev/debt/libSceOpusCeltDec.mdsays, PPSA99001 opens it only after a retryable libSceOpusDec error, which libSceOpusDec never returns. Reopen when a title stops in one of these calls on main, with the log line.Pull request closed