Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <videoplayhwdevice.h>
Link against: devvideo.lib
This item is not part of the S60 5th Edition SDK

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:

Inherited from CBase:

Inherited from CMMFVideoHwDevice:

Inherited from CMMFVideoPlayHwDevice:


Construction and destruction


NewL(TUid,MMMFDevVideoPlayProxy &)

IMPORT_C static 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()

IMPORT_C virtual ~CMMFVideoPostProcHwDevice();

Description

Destructor.


CMMFVideoPostProcHwDevice()

protected: IMPORT_C CMMFVideoPostProcHwDevice();

Description

Constructor.

[Top]


Member functions


SetInputFormatL(const TUncompressedVideoFormat &)

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(CMMFVideoDecodeHwDevice *)

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 CMMFVideoPostProcHwDevice::WritePictureL(TVideoPicture *) or through a custom interface. After pictures have been processed, they must be returned to the decoder using CMMFVideoPlayHwDevice::ReturnPicture(TVideoPicture *).

Parameters

CMMFVideoDecodeHwDevice *aDevice

"The decoder source plug-in to use."


WritePictureL(TVideoPicture *)

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(MMMFDevVideoPlayProxy &)

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."