MMMFVideoPlayHwDeviceExtensionScanCopy Class Reference
#include
"videoplayhwdevice.h"
class MMMFVideoPlayHwDeviceExtensionScanCopy |
Detailed Description
A custom interface extending the functionality of CMMFVideoPlayHwDevice, adding support for the decoder to handle the copying of the bitstream data into the buffers, combining this with a scan of the data and support for the passing of information from the client to the decoder describing what part of a frame the data contains.
Member Function Documentation
ScanAndCopyCodedDataL ( TPtr8, TVideoInputBuffer *, TInt &, TFramePortion )
Passes a pointer to a piece of coded video data to the decoder. The data buffer, which is left empty by the client, must be retrieved from the decoder with GetBufferL().
-
leave
- "This method may leave with one of the system-wide error codes."
- Pre-condition
- "This method can only be called after the hwdevice has been initialized with Initialize()."
Parameter | Description | aCodedData | "A pointer to the coded data unit to scan and copy." |
aBuffer | "The empty data buffer." |
aPortion | "The portion of the frame that the data contains. Defaults to EFramePortionUnknown." |
WriteCodedDataL ( TVideoInputBuffer *, TFramePortion )
Writes a piece of coded video data to the decoder. The data buffer must be retrieved from the decoder with GetBufferL().
-
leave
- "This method may leave with one of the system-wide error codes."
- Pre-condition
- "This method can only be called after the hwdevice has been initialized with Initialize()."
Parameter | Description | aBuffer | "The coded data unit to write." |
aPortion | "The portion of the frame that the data contains. Defaults to EFramePortionUnknown." |