mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
On a PS4 Pro with firmware 10.71 a successful sceJpegEncEncode returns the size of the JPEG it wrote, the same value it stores in the output info, and it does so when the output info pointer is null too. AnyPS5 returned 0, so a title that takes the size from the return value got an empty image. The guest test now checks the returned size against the output info. Co-Authored-By: Claude Opus 5.5 <[email protected]>
685 B
685 B
libSceJpegEnc technical debt
Unimplemented functionality
- sceJpegEncEncode (libSceJpegEnc) - MJPEG mode throws; its encoding path is not implemented. Restart intervals are confirmed by the native validator, MCU counter and DRI writer: 0 disables restart markers, -1 selects one MCU row, and 1 through 65535 specify an MCU count. Other values return the invalid-parameter error. A successful call returns the JPEG's size, as a PS4 Pro (firmware 10.71) does; the size itself comes from this encoder, so it differs from the console's for the same image (the console 633 bytes, this encoder 650, for an 8x8 RGBA image at 4:2:0).