MVD Services: Difference between revisions

No edit summary
Line 22: Line 22:
| 0x00030300
| 0x00030300
|  
|  
| [[MVDSTD:CalculateVideoOutBufSize|CalculateVideoOutBufSize]]
| [[MVDSTD:CalculateWorkBufSize|CalculateWorkBufSize]]
|-
|-
| 0x00050100
| 0x00050100
Line 81: Line 81:
Initialization procedures:
Initialization procedures:
* MJPEG: Use command [[MVDSTD:Initialize]] with bufsize=1, then command 0x00180000.
* MJPEG: Use command [[MVDSTD:Initialize]] with bufsize=1, then command 0x00180000.
* H.264: If needed, use [[MVDSTD:CalculateVideoOutBufSize]]. Then use [[MVDSTD:Initialize]]. Then use commands 0x00050100, 0x00180000, and 0x001B0040. Then use [[MVDSTD:DecodeFrame]] 3 times with unknown input data. Use command 0x000A0000, then use [[MVDSTD:DecodeFrame]] with unknown data.
* H.264: If needed, use [[MVDSTD:CalculateWorkBufSize]]. Then use [[MVDSTD:Initialize]]. Then use commands 0x00050100, 0x00180000, and 0x001B0040. Then use [[MVDSTD:DecodeFrame]] 3 times with unknown input data. Use command 0x000A0000, then use [[MVDSTD:DecodeFrame]] with unknown data.


Shutdown procedures:
Shutdown procedures: