libSceJpegDec debt: note how a title calls sceJpegDecDecode #10114

Closed
opened 2026-10-23 09:57:35 +00:00 by xXPBSXx · 0 comments
xXPBSXx commented 2026-10-23 09:57:35 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-23T09:57:35Z.


The debt entry in docs/dev/debt/libSceJpegDec.md does not record how a title calls the function. A title call site adds this (call-site addresses included so the reading can be checked).

The changed entry now reads:

sceJpegDecDecode: decode mode 1 and pixel formats 9, 10 and 11 remain unimplemented and throw. Exact decoded pixel values and color conversion are not verified against the native decoder. One title (PPSA29866) disassembled for this entry has one call site (0x2c111d); it passes a null imageInfo and a parameter structure with decode mode 0, down-scale 1 and pixel format 0, and hands the result to another function whose handling of a negative result was not read. In the parameter structure built around this call site, mode 1 and formats 9, 10 and 11 do not show up; whether a down-scale of 1 means no scaling was not compared.

Fix: branch docs/debt-jpegdec-decode-title.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5995721416 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/10114). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-23T09:57:35Z. --- The debt entry in `docs/dev/debt/libSceJpegDec.md` does not record how a title calls the function. A title call site adds this (call-site addresses included so the reading can be checked). The changed entry now reads: > [sceJpegDecDecode](../../../core/libs/prx/libSceJpegDec/Export.cpp): decode mode 1 and pixel formats 9, 10 and 11 remain unimplemented and throw. Exact decoded pixel values and color conversion are not verified against the native decoder. One title (PPSA29866) disassembled for this entry has one call site (0x2c111d); it passes a null `imageInfo` and a parameter structure with decode mode 0, down-scale 1 and pixel format 0, and hands the result to another function whose handling of a negative result was not read. In the parameter structure built around this call site, mode 1 and formats 9, 10 and 11 do not show up; whether a down-scale of 1 means no scaling was not compared. Fix: branch `docs/debt-jpegdec-decode-title`. AI-assisted (Claude Code).
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#10114
No description provided.