feat(libSceAudiodec): export missing firmware functions from database #6847
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6847"
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 al3w0f205 on 2026-10-16T14:11:31Z.
What
Adds missing
libSceAudiodecfunctions identified from firmware export databases (aerolib.csv) as explicit throwing stubs (NotImplemented_nid_no_patch(__func__)). Also documents the unverified guest signatures under### Unknown function infoindocs/dev/debt/libSceAudiodec.mdand verifies throwing behavior in guest tests.Exported functions:
sceAudiodReportLoudnesssceAudiodReportMasteringGetParamssceAudiodReportMasteringSetParamssceAudiodReportMasteringStatessceAudiodReportOutputsceAudiodReportRegisterHandlersceAudiodReportSetEnableFlagsceAudiodReportUnregisterHandlersceAudiodecClearContextExsceAudiodecCpuClearContextsceAudiodecCpuDecodesceAudiodecCpuInitDecodersceAudiodecCpuQueryMemSizesceAudiodecCreateDecoderExsceAudiodecDecode2sceAudiodecDecode2ExsceAudiodecDecode2WithPrioritysceAudiodecDecode2WithPriorityExsceAudiodecDecodeExsceAudiodecDecodeWithPrioritysceAudiodecDecodeWithPriorityExsceAudiodecDeleteDecoderExsceAudiodecGetContextsceAudiodecInitializesceAudiodecRegisterCodecsceAudiodecTerminatesceAudiodecMp4aacGetCodecInfosceAudiodecMp4aacGetDecodedInformationsceAudiodecMp4aacGetDefaultChannelssceAudiodecMp4aacGetOutputBufferSizesceAudiodecMp4aacGetSidebandSizesceAudiodecMp4aacGetStateSizesceAudiodecMp4aacGetStreamsceAudiodecMp4aacInitializesceAudiodecMp4aacParameterSetsceAudiodecMp4aacRunsceAudiodecGetAjmContextsceAudiodecUnregisterCodecTested
tools/check_conventions.py --base origin/mainpassed with 0 errorsChecklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.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-16T14:12:15Z.
Progress report (
82ddae7→33f12e5)📉 System libraries: 87.93% (-0.9%, +38 declared functions)
🆕 38 declared as stubs
sceAudiodReportLoudnesssceAudiodReportMasteringGetParamssceAudiodReportMasteringSetParamssceAudiodReportMasteringStatessceAudiodReportOutputsceAudiodReportRegisterHandlersceAudiodReportSetEnableFlagsceAudiodReportUnregisterHandlersceAudiodecClearContextExsceAudiodecCpuClearContextsceAudiodecCpuDecodesceAudiodecCpuInitDecodersceAudiodecCpuQueryMemSizesceAudiodecCreateDecoderExsceAudiodecDecode2sceAudiodecDecode2ExsceAudiodecDecode2WithPrioritysceAudiodecDecode2WithPriorityExsceAudiodecDecodeExsceAudiodecDecodeWithPrioritysceAudiodecDecodeWithPriorityExsceAudiodecDeleteDecoderExsceAudiodecGetAjmContextsceAudiodecGetContextsceAudiodecInitializesceAudiodecMp4aacGetCodecInfosceAudiodecMp4aacGetDecodedInformationsceAudiodecMp4aacGetDefaultChannelssceAudiodecMp4aacGetOutputBufferSizesceAudiodecMp4aacGetSidebandSizesceAudiodecMp4aacGetStateSizesceAudiodecMp4aacGetStreamsceAudiodecMp4aacInitializesceAudiodecMp4aacParameterSetsceAudiodecMp4aacRunsceAudiodecRegisterCodecsceAudiodecTerminatesceAudiodecUnregisterCodecImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T14:39:57Z.
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)sceAudiodecCpuClearContextsceAudiodecCpuDecodesceAudiodecCpuInitDecodersceAudiodecCpuQueryMemSizeSome comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/tests/GuestAudiodec.cppImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T10:16:49Z.
Review: CHANGES_REQUESTED
Thanks for the PR. Requested changes:
sceAudiodecCpuClearContext,sceAudiodecCpuDecode,sceAudiodecCpuInitDecoderandsceAudiodecCpuQueryMemSizeare also implemented in #7416 (see the overlap bot comment). Drop those or coordinate with that PR.core/libs/tests/GuestAudiodec.cpp: only 3 of the 38 stubs are tested, and a throw-only test pins no value.Feel free to resubmit with a smaller set that has sources and behaviour.
Imported from boykopovar/AnyPS5. Originally posted by al3w0f205 on 2026-10-20T02:02:00Z.
Closing in favor of coordinating with #7416 and focusing on verified decoder functions with real signatures.
Pull request closed