MVD Services: Difference between revisions
No edit summary |
|||
Line 80: | Line 80: | ||
Initialization procedures: | Initialization procedures: | ||
* | * Color-conversion: Use command [[MVDSTD:Initialize]] with bufsize=1, then command 0x00180000. | ||
* H.264: If needed, use [[MVDSTD:CalculateWorkBufSize]]. Then use [[MVDSTD:Initialize]]. Then use commands 0x00050100, 0x00180000, and 0x001B0040. | * H.264: If needed, use [[MVDSTD:CalculateWorkBufSize]]. Then use [[MVDSTD:Initialize]]. Then use commands 0x00050100, 0x00180000, and 0x001B0040. | ||
Shutdown procedures: | Shutdown procedures: | ||
* | * Color-conversion: just use command 0x00190000, then [[MVDSTD:Shutdown]]. | ||
* H.264: Use command 0x00090042 in a loop, waiting for it to return a retval that isn't 0x00017002. Then use commands 0x001C0000, 0x00190000, and 0x00070000. Then use [[MVDSTD:Shutdown]]. | * H.264: Use command 0x00090042 in a loop, waiting for it to return a retval that isn't 0x00017002. Then use commands 0x001C0000, 0x00190000, and 0x00070000. Then use [[MVDSTD:Shutdown]]. | ||