feat(libSceVideodec2): declare sceVideodec2InitLibrary #8113
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8113"
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 Nixitov on 2026-10-19T22:09:36Z.
What
Declares
sceVideodec2InitLibrary(DXlobplVYj0) inlibSceVideodec2as a throwing export, following the existinglibSceVideoOutandlibkernelunimplemented declarations.The module's decoders are created per
sceVideodec2CreateDecoderand need no library-level initialisation, and no measured behaviour or signature exists for this call: neither SharpProspero nor EVO-PLAYER-PS5 declares it. Rather than invent one, it throws, and the debt entry records that together with the title that reaches it.Tested
Relinked against
maina30f58a42. PPSA98260 (TubeBlock), Windows, MinGW-w64 GCC 15.2:FAIL: unresolved ELF import DXlobplVYj0 from libSceVideodec2.prx, exits at load.q0gN8e4VLZo(sceVideodec2TermLibrary), which is the natural follow-up.No test: this is a declaration-only export like the existing
sceKernelUnknown*ones; there is no behaviour to assert beyond the throw.check_conventions.py --base origin/mainpasses.Checklist
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-19T22:10:23Z.
Progress report (
cecb540→4bd46aa)➖ System libraries: 42.1% (+0.0%, +1 declared functions)
🆕 1 declared as stubs
sceVideodec2InitLibraryImported from boykopovar/AnyPS5. Originally posted by DavidSamir on 2026-10-19T22:35:47Z.
TubeBlock (PPSA98260) imports thirteen more absent libSceVideodec2 functions after this one, starting with
sceVideodec2TermLibrary. #8119 exports those thirteen the same way and leavessceVideodec2InitLibraryto this PR.With this head (
pr-8113) and #8119 together onmain0929be5e8d, the sharedUnimplemented.cppjoined by hand, TubeBlock loads with no absent imports. It is still running at 60 s in 2 of 2 runs on Windows 11 (RTX 3070, WinLibs GCC 15.2.0, Release).AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by babyhuey on 2026-10-21T00:39:12Z.
Linux run of this head (bced97974) together with #8119 (
a42118dc4), since the description covers Windows only. Both merged ontomaine10b4d619, with the sharedUnimplemented.cppjoined by hand as @DavidSamir did (both PRs add it; nothing else conflicts). Ubuntu 24.04 container, GCC 13, Release,BUILD_TESTING=ON.guest_videodec2andguest_videodec2_unimplementedpass 5 of 5 (--repeat until-fail:5). The build has no warnings.maine10b4d619:symbol lookup error: ... undefined symbol: DXlobplVYj0at load.[YTV] videodec2 imports: 26/26 reachableand runs until theDisplayWindowVulkan check, where headless runs of the other UI titles stop too.AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-21T13:05:37Z.
@Nixitov thanks for the rebase. One small thing in the debt bullet: we keep game names and title IDs out of the docs, so could you replace the last sentence with "A title imports it from this module."? The code is fine as it is.
Imported from boykopovar/AnyPS5. Originally posted by Nixitov on 2026-10-21T16:02:06Z.
Done — the debt bullet now ends "A title imports it from this module." (
4bd46aa9e). Nothing else changed in the file;python tools/check_conventions.py --base origin/mainstill passes.AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by rooklz on 2026-10-22T12:51:11Z.
Title evidence for this, in case it helps the intake rule: PPSA98260 (TubeBlock, the SmartTube build in the homebrew catalog, release
01.000.157) importsDXlobplVYj0fromlibSceVideodec2, and on currentmainit is the title's first unresolved import, so the loader stops there before anything runs (tools/import_audit.pyon the relinker registry:Current stop: DXlobplVYj0 [libSceVideodec2.prx]). It also imports eight of the module's other unimplemented exports (QueryDecoderInfo,MapMemory,MapDirectMemory, the fourPresetDecoderConfigInfovariants andGetHevcPictureInfo), so a throwing declaration moves its stop to whichever of those it calls first.