AnyPS5/docs/dev
Angel b6f42c75d8 fix(avplayer): read the PS5 SceAvPlayerInitDataEx layout
PS5 titles pass a 0x230-byte SceAvPlayerInitDataEx: auto start is the
byte after debug_level at 0x74, nine 0x30-byte thread parameter blocks
fill 0x78-0x228 and the output video frame buffer count is at 0x228.
sceAvPlayerInitEx read both fields at their PS4 offsets: auto start at
0xa8 is the video decoder thread priority and the buffer count at 0xa4
lies in the audio decoder block. PPSA25063 (Poppy Playtime: Chapter 4)
sets every thread priority to 700, so its intro video started on its
own and stopped at once; it writes auto start 0 and starts playback
itself.

With this_size 0x230 or more both fields are read at the PS5 offsets;
smaller structures are read as before. The layout follows KytyPS5,
prosper, SharpProspero and sharpemu and is recorded in TechnicalDebt.

guest_avplayer builds a 0x230-byte structure with auto start 0 and
nonzero thread parameters, then with auto start 1, and checks when
playback starts and how many video buffers are allocated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 12:14:01 +02:00
..
ARCHITECTURE.md feat(shader): implement s_swappc_b64 fetch-shader call 2026-10-08 20:05:24 +02:00
BUILD.md build(relinker): add a dependency-free conversion build mode 2026-10-08 18:21:30 +11:00
CONVENTIONS.md refactor(docs): separated user and dev in docs + compatibility file 2026-09-28 22:58:17 +03:00
HW_ORACLE.md fix(oracle)!: require explicit float modes 2026-10-07 14:58:28 +05:00
PROGRESS.md fix(progress): exclude library test fixtures from function counts 2026-10-08 17:30:43 +05:30
TechnicalDebt.md fix(avplayer): read the PS5 SceAvPlayerInitDataEx layout 2026-10-09 12:14:01 +02:00