Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: videoplayhwdevice.h

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class MMMFVideoPlayHwDeviceExtensionScanCopy

class MMMFVideoPlayHwDeviceExtensionScanCopy;

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.

Members

Defined in MMMFVideoPlayHwDeviceExtensionScanCopy:
ScanAndCopyCodedDataL(), WriteCodedDataL()


Member functions


WriteCodedDataL()

virtual void WriteCodedDataL(TVideoInputBuffer *aBuffer, TFramePortion aPortion=EFramePortionUnknown)=0;

Pre-Condition

"This method can only be called after the hwdevice has been initialized with Initialize()."

Description

Writes a piece of coded video data to the decoder. The data buffer must be retrieved from the decoder with GetBufferL().

Parameters

TVideoInputBuffer *aBuffer

"The coded data unit to write."

TFramePortion aPortion

"The portion of the frame that the data contains. Defaults to EFramePortionUnknown."

Leave codes

"This

method may leave with one of the system-wide error codes."


ScanAndCopyCodedDataL()

virtual void ScanAndCopyCodedDataL(TPtr8 aCodedData, TVideoInputBuffer *aBuffer, TInt &aConsumed, TFramePortion aPortion=EFramePortionUnknown)=0;

Pre-Condition

"This method can only be called after the hwdevice has been initialized with Initialize()."

Description

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().

Parameters

TPtr8 aCodedData

"A pointer to the coded data unit to scan and copy."

TVideoInputBuffer *aBuffer

"The empty data buffer."

TInt &aConsumed

TFramePortion aPortion

"The portion of the frame that the data contains. Defaults to EFramePortionUnknown."

Leave codes

"This

method may leave with one of the system-wide error codes."