benilla-re systems structs docs

StartMovieDecoder

function · ui · host

Address
0x78c7a0 · 495 bytes, up to 0x78c98e
Meaning
Creates the DivX decoder instance and the tile textures for a movie
Confidence
verified, proof one
Finding
ui/movieframe#the-decoder

Finding: The decoder in ui: the movie frame

The video is decoded by the imported library DivxDecoder.dll, with InitializeDivxDecoder, SetOutputFormat, DivxDecode and UnInitializeDivxDecoder. 0x78c7a0 numbers a decoder instance (a counter, 0xcf511c), initialises it with the file's width and height and sets its output format to 1. The width must be 1024 or 800, else the start fails. It then allocates the output bitmap for that size, 4 bytes a pixel, and creates one texture per tile: 2 tiles for 1024 wide and 6 for 800 wide. 0x78c990 destroys the instance, frees the buffers and the textures.

The derivation is in the doc.

Callers 1

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.