Difference between revisions of "MVDSTD:ProcessNALUnit"

From 3dbrew
Jump to navigation Jump to search
Line 45: Line 45:
 
=Description=
 
=Description=
 
This starts the video frame decoding. Once finished the output data is written to the buffer listed [[MVDSTD:Initialize|here]].
 
This starts the video frame decoding. Once finished the output data is written to the buffer listed [[MVDSTD:Initialize|here]].
 +
 +
This is only used for H264, not MJPEG.

Revision as of 21:15, 5 November 2014

Request

Index Word Description
0 Header code [0x00080142]
1 Virtual addr for the input video frame.
2 Physical addr, normally the above vaddr converted to physaddr.
3 Frame byte-size.
4 Sequence-number / ID. The range normally used for this is 0x0..0x12. This value starts at 0x0, after value 0x12 is used the value that would be used for the next one is reset to zero.
5 ?
6 Value 0x0
7 KProcess handle

Response

Index Word Description
0 Header code
1 Resultcode

Description

This starts the video frame decoding. Once finished the output data is written to the buffer listed here.

This is only used for H264, not MJPEG.