Difference between revisions of "MVDSTD:Initialize"

From 3dbrew
Jump to navigation Jump to search
Line 12: Line 12:
 
|-
 
|-
 
| 2
 
| 2
| Buffer size, normally from [[MVDSTD:CalculateVideoOutBufSize]].
+
| Buffer size, for H.264 this is normally from [[MVDSTD:CalculateWorkBufSize]]. For "MJPEG", this is value 1.
 
|-
 
|-
 
| 3
 
| 3
Line 35: Line 35:
  
 
=Description=
 
=Description=
This does MVDSTD initialization. The specified buffer is for storing the output decoded video data. The address(+size) must be within the 0x30000000 LINEAR-memory area.
+
This does MVDSTD initialization. The specified buffer is the H.264 work-buffer. The address(+size) must be within the 0x30000000 LINEAR-memory area.

Revision as of 18:05, 6 November 2014

Request

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

Index Word Description
0 Header code
1 Resultcode

Description

This does MVDSTD initialization. The specified buffer is the H.264 work-buffer. The address(+size) must be within the 0x30000000 LINEAR-memory area.