sceMpegInit, Create, Delete, Reset, AddCallback, AddStrCallback, DemuxPssRing, GetPicture, IsEnd and the reference's
stub of TMB's videoCallback, native, with the decoder-feeding protocol the reference had, call for call: the demux a
sector at a time up to 8 starts ahead of the game, its callbacks queued as RPC-callback handlers with 32-byte data from
the game's heap; GetPicture delivering at once, waiting for the vblank its picture is due at (two fields a picture),
or queueing the game's nodata callback and waiting for data (the handler's end or a demux wakes it); the empty
delivery and IsEnd's end of display time. Pictures are decoded by FFmpeg's mpeg2video (libavcodec, libavutil:
optional, BOZO_FFMPEG_ROOT else pkg-config; without it libmpeg stays answered from the log) and converted bit-exact
into the game's RGBA32 column-major macroblocks. The movie's PCM goes to a MovieSoundSink. The IPU transfer's
completion now follows the native libmpeg.
bozo-run: library handler completions made natively (Libraries::queueHandler), waits of any reason with a
continuation (Libraries::waitFor), and the memory check's run lookup by binary search (a picture meets thousands of
runs).
boot: 6,822 libmpeg calls native, match1p: 8,224, 0 divergences; both match on every frame and record.
Co-Authored-By: Claude Opus 5.5 <[email protected]>