32
Chapter 6, Using the Matrox M264 Hardware Codecs
12
If the decoded data needs to be processed, each surface sent to the decoder using
IMvDecoderVideo::GetUncompressedVideoAndVANCSurface()
must
be kept by the user application. To do this, the user application must wait for the
write completion event of the surface to be signaled. The decoder will signal the
write completion event of the surface once it has finished decompressing a frame
into the surface. When a write completion event is signaled, the user application
can process the video data referenced by the surface.
¦
Note
If the user application does not need to process the decoded data, it can be
sent to another Flex module.
13
After all the compressed data has been sent to the decoder, call
IMvDecoder::Flush()
to notify the decoder that no more compressed data will
be sent.
Remarks
$
The user application will be notified by the notification callback when the
decoder has decompressed all the compressed data.
$
Continue calling
IMvDecoderVideo::
GetUncompressedVideoAndVANCSurface()
until the notification
callback is called.
$
After calling
IMvDecoder::Flush()
, you can no longer call
IMvDecoderVideo::PutCompressedSurface()
.
14
When
NULL
is returned, release the two notification callbacks by calling
IMvDecoderVideo::SetOption()
with the
keMvCodecOptionCompletionCallback_pI
parameter and the
keMvCodecOptionAsynchErrorCallback_pI
parameter.
15
Call
IMvDecoderVideo::Close()
to close the codec when finished.
¦
Note
After calling this method, all surfaces sent to the decoder using
IMvDecoderVideo::GetUncompressedVideoAndVANCSurface()
will be
cancelled.
Содержание M264
Страница 1: ...Y11360 101 0970 Matrox M264 Installation and User Guide June 30 2016 ...
Страница 8: ...vi MATROX SOFTWARE LICENSE AGREEMENT Your notes ...
Страница 13: ...1 Introducing Matrox DSX This chapter provides an overview of Matrox DSX Topology API hardware ...
Страница 15: ...2 Preparing for the DSX Installation This chapter explains how to prepare for installing your DSX hardware ...
Страница 20: ...8 Chapter 2 Preparing for the DSX Installation Your notes ...
Страница 28: ...16 Chapter 4 Installing Your DSX Software for Windows Your notes ...
Страница 58: ...46 Chapter 8 Monitoring Your DSX System in Windows Your notes ...
Страница 62: ...50 Chapter 9 Monitoring Your DSX System in Linux Your notes ...
Страница 63: ...A DSX Specifications This appendix provides specifications for DSX hardware ...
Страница 66: ...54 Appendix A DSX Specifications Your notes ...
Страница 72: ...60 Index Your notes ...
Страница 74: ...www matrox com video ...