benilla-re systems structs docs

StopMovieDecoder

function · ui · primitive

Address
0x78c990 · 158 bytes, up to 0x78ca2d
Meaning
Destroys the decoder instance, the output bitmap and the tile textures
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 2

Callees 2

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