MVDSTD:Initialize

From 3dbrew
Revision as of 18:08, 6 November 2014 by Yellows8 (talk | contribs) (→‎Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x00010082]
1 Buffer address
2 Buffer size, for H.264 this is normally from MVDSTD:CalculateWorkBufSize. For "MJPEG", this is value 1.
3 Value 0x0
4 KProcess handle

Response[edit]

Index Word Description
0 Header code
1 Resultcode

Description[edit]

This does MVDSTD initialization. The specified buffer is the H.264 work-buffer, for "MJPEG" the size is 0x1 since it's not used for that. The user process doesn't use the data stored in this work-buffer at all. The address(+size) must be within the 0x30000000 LINEAR-memory area.