feat(opus): add the CELT decoder system library #1829
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1829"
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 kali113 on 2026-10-08T20:45:34Z.
What
Add six
libSceOpusCeltDeclifecycle and decode exports backed by official libopus 1.6.1, pinned as a source submodule. The implementation decodes CELT-only raw packets to 48 kHz mono/stereo signed 16-bit interleaved PCM, validates decoder ownership and byte capacity, and copies PCM only after successful decoding. Unsupported modes and invalid calls throw; no console error codes are guessed.The fork branch
kali113:feat/opus-celt-dechas been rebuilt as one decoder-only commit (e3b8ae75) onmaind70b8998. It contains none of #1265, #1913, #1986 or #1999. An old branch backup remains available locally. There are no shader or unrelated test changes in that candidate. GitHub retains the old commit/diff snapshot on this closed PR; review the cleaned branch comparison or linked candidate commit rather than this closed PR's historical Files changed tab.The public ProsperoRadio caller at 2c4029c declares this interface; published decoder research describes the context pointer, caller allocation and byte counts. These sources establish the caller contract, not bit-exact console equivalence. Console state layout, context values and error behavior remain unverified and are recorded in TechnicalDebt.
This PR remains closed pending the runtime evidence requested in the closing review. The earlier description overstated readiness. ProsperoRadio normally opens the general
libSceOpusDecdecoder first; its production dispatch retries CELT only after a particular general-decoder error and a CELT packet. Main currently lacks the general decoder, proposed separately in #1823. No title log demonstrates reaching the CELT calls on current main, and this patch does not establish radio playback or a significant library-coverage increase. A reopened submission needs a real title's next-stop log on main.Duplicate recheck: reviewed file lists for all 538 current open PRs, including the complete 1,203-file list of #1128. Only #1823 touches an Opus decoder module; it implements the separate general decoder, not these CELT exports. Its commits are not included here.
Tested
Candidate
e3b8ae7511a17ea3c4f4d1e47e60f94ed3e887ae:7f1b5e3fand explicitly checks out candidatee3b8ae75; the workflow is not part of the contribution.python3 tools/check_conventions.py --base d70b89989473ba1f6ae13e44e079e67f1f8a44b0passes.Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-08T21:19:00Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T21:29:33Z.
Progress report (
a8b032b→6e6ee7e)📈 System libraries: 84.79% (+0.03%, +6 implemented functions)
✅ 6 implemented
sceOpusCeltDecCreateExsceOpusCeltDecDecodesceOpusCeltDecDestroysceOpusCeltDecGetSizesceOpusCeltDecInitializesceOpusCeltDecTerminateImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T09:29:53Z.
Closing: ProsperoRadio (PPSA99001) stops on the missing
libSceOpusDec.prxon main, and no log shows a title stopping at thesceOpusCeltDec*calls. The branch also carries #1265, #1913, #1986 and #1999. Reopen with only the decoder in the branch when it's a title's next stop on main, with the log line.Pull request closed