Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: videoplayhwdevice.h
Link against: devvideo.lib

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

Class CMMFVideoPostProcHwDevice

class CMMFVideoPostProcHwDevice : public CMMFVideoPlayHwDevice;

Description

CMMFVideoPostProcHwDevice is the MSL video post-processor plug-in interface. All MSL video post-processors must implement this interface.

Derivation

Members

Defined in CMMFVideoPostProcHwDevice:
CMMFVideoPostProcHwDevice(), NewL(), SetInputDevice(), SetInputFormatL(), SetProxy(), WritePictureL(), ~CMMFVideoPostProcHwDevice()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CMMFVideoHwDevice:
CustomInterface()

Inherited from CMMFVideoPlayHwDevice:
AbortDirectScreenAccess(), CancelTimedSnapshot(), CommitL(), FreezePicture(), GetComplexityLevelInfo(), GetOutputFormatListL(), GetPictureCounters(), GetSnapshotL(), GetSupportedSnapshotFormatsL(), GetTimedSnapshotL(), Initialize(), InputEnd(), IsPlaying(), NumComplexityLevels(), Pause(), PictureBufferBytes(), PlaybackPosition(), PostProcessorInfoLC(), Redraw(), ReleaseFreeze(), Resume(), ReturnPicture(), Revert(), SetClockSource(), SetComplexityLevel(), SetInputCropOptionsL(), SetOutputCropOptionsL(), SetOutputFormatL(), SetPauseOnClipFail(), SetPosition(), SetPostProcSpecificOptionsL(), SetPostProcessTypesL(), SetRotateOptionsL(), SetScaleOptionsL(), SetScreenClipRegion(), SetVideoDestScreenL(), SetYuvToRgbOptionsL(), Start(), StartDirectScreenAccessL(), Stop()


Construction and destruction


NewL()

static IMPORT_C CMMFVideoPostProcHwDevice *NewL(TUid aUid, MMMFDevVideoPlayProxy &aProxy);

Description

Creates a new video post-processor hardware device object, based on the implementation UID.

Parameters

TUid aUid

"Post-processor implementation UID."

MMMFDevVideoPlayProxy &aProxy

"The proxy implementation to use."

Return value

CMMFVideoPostProcHwDevice *

"A new CMMFVideoPostProcHwDevice object."

Leave codes

"This

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


~CMMFVideoPostProcHwDevice()

virtual IMPORT_C ~CMMFVideoPostProcHwDevice();

Description

Destructor.


CMMFVideoPostProcHwDevice()

protected: IMPORT_C CMMFVideoPostProcHwDevice();

Description

Constructor.

[Top]


Member functions


SetInputFormatL()

virtual void SetInputFormatL(const TUncompressedVideoFormat &aFormat)=0;

Pre-Condition

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

Description

Sets the device input format to an uncompressed video format.

Parameters

const TUncompressedVideoFormat &aFormat

"The input format to use."

Leave codes

"The

method will leave if an error occurs. Typical error codes used: KErrNotSupported - The input format is not supported."


SetInputDevice()

virtual void SetInputDevice(CMMFVideoDecodeHwDevice *aDevice)=0;

Pre-Condition

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

Description

Sets the decoder device that will write data to this post-processor. Decoded pictures will be written with WritePictureL() or through a custom interface. After pictures have been processed, they must be returned to the decoder using ReturnPicture().

Parameters

CMMFVideoDecodeHwDevice *aDevice

"The decoder source plug-in to use."


WritePictureL()

virtual void WritePictureL(TVideoPicture *aPicture)=0;

Pre-Condition

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

Description

Writes an uncompressed video picture to the post-processor. The picture must be returned to the client or source plug-in after it has been used.

Parameters

TVideoPicture *aPicture

"The picture to write."

Leave codes

"This

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


SetProxy()

protected: virtual void SetProxy(MMMFDevVideoPlayProxy &aProxy)=0;

Description

Set the proxy implementation to be used. Called just after the object is constructed.

Parameters

MMMFDevVideoPlayProxy &aProxy

"The proxy to use."