CMMFVideoPostProcHwDevice Class Reference

#include "videoplayhwdevice.h"

Link against: devvideo.lib

class CMMFVideoPostProcHwDevice : public CMMFVideoPlayHwDevice

Inherits from

Public Member Functions
virtual ~CMMFVideoPostProcHwDevice()
IMPORT_C CMMFVideoPostProcHwDevice *NewL(TUid, MMMFDevVideoPlayProxy &)
pure virtual voidSetInputDevice(CMMFVideoDecodeHwDevice *)
pure virtual voidSetInputFormatL(const TUncompressedVideoFormat &)
pure virtual voidWritePictureL(TVideoPicture *)
Protected Member Functions
CMMFVideoPostProcHwDevice()
pure virtual voidSetProxy(MMMFDevVideoPlayProxy &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CMMFVideoHwDevice::CustomInterface(TUid)
CMMFVideoPlayHwDevice::AbortDirectScreenAccess()
CMMFVideoPlayHwDevice::CancelTimedSnapshot()
CMMFVideoPlayHwDevice::CommitL()
CMMFVideoPlayHwDevice::FreezePicture(const TTimeIntervalMicroSeconds &)
CMMFVideoPlayHwDevice::GetComplexityLevelInfo(TUint,CMMFDevVideoPlay::TComplexityLevelInfo &)
CMMFVideoPlayHwDevice::GetOutputFormatListL(RArray< TUncompressedVideoFormat > &)
CMMFVideoPlayHwDevice::GetPictureCounters(CMMFDevVideoPlay::TPictureCounters &)
CMMFVideoPlayHwDevice::GetSnapshotL(TPictureData &,const TUncompressedVideoFormat &)
CMMFVideoPlayHwDevice::GetSupportedSnapshotFormatsL(RArray< TUncompressedVideoFormat > &)
CMMFVideoPlayHwDevice::GetTimedSnapshotL(TPictureData *,const TUncompressedVideoFormat &,const TPictureId &)
CMMFVideoPlayHwDevice::GetTimedSnapshotL(TPictureData *,const TUncompressedVideoFormat &,const TTimeIntervalMicroSeconds &)
CMMFVideoPlayHwDevice::Initialize()
CMMFVideoPlayHwDevice::InputEnd()
CMMFVideoPlayHwDevice::IsPlaying()
CMMFVideoPlayHwDevice::NumComplexityLevels()
CMMFVideoPlayHwDevice::Pause()
CMMFVideoPlayHwDevice::PictureBufferBytes()
CMMFVideoPlayHwDevice::PlaybackPosition()
CMMFVideoPlayHwDevice::PostProcessorInfoLC()
CMMFVideoPlayHwDevice::Redraw()
CMMFVideoPlayHwDevice::ReleaseFreeze(const TTimeIntervalMicroSeconds &)
CMMFVideoPlayHwDevice::Resume()
CMMFVideoPlayHwDevice::ReturnPicture(TVideoPicture *)
CMMFVideoPlayHwDevice::Revert()
CMMFVideoPlayHwDevice::SetClockSource(MMMFClockSource *)
CMMFVideoPlayHwDevice::SetComplexityLevel(TUint)
CMMFVideoPlayHwDevice::SetInputCropOptionsL(const TRect &)
CMMFVideoPlayHwDevice::SetOutputCropOptionsL(const TRect &)
CMMFVideoPlayHwDevice::SetOutputFormatL(const TUncompressedVideoFormat &)
CMMFVideoPlayHwDevice::SetPauseOnClipFail(TBool)
CMMFVideoPlayHwDevice::SetPosition(const TTimeIntervalMicroSeconds &)
CMMFVideoPlayHwDevice::SetPostProcSpecificOptionsL(const TDesC8 &)
CMMFVideoPlayHwDevice::SetPostProcessTypesL(TUint32)
CMMFVideoPlayHwDevice::SetRotateOptionsL(TRotationType)
CMMFVideoPlayHwDevice::SetScaleOptionsL(const TSize &,TBool)
CMMFVideoPlayHwDevice::SetScreenClipRegion(const TRegion &)
CMMFVideoPlayHwDevice::SetVideoDestScreenL(TBool)
CMMFVideoPlayHwDevice::SetYuvToRgbOptionsL(const TYuvToRgbOptions &)
CMMFVideoPlayHwDevice::SetYuvToRgbOptionsL(const TYuvToRgbOptions &,const TYuvFormat &,TRgbFormat)
CMMFVideoPlayHwDevice::Start()
CMMFVideoPlayHwDevice::StartDirectScreenAccessL(const TRect &,CFbsScreenDevice &,const TRegion &)
CMMFVideoPlayHwDevice::Stop()

Detailed Description

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

Constructor & Destructor Documentation

CMMFVideoPostProcHwDevice ( )

IMPORT_CCMMFVideoPostProcHwDevice()[protected]

Constructor.

~CMMFVideoPostProcHwDevice ( )

IMPORT_C~CMMFVideoPostProcHwDevice()[virtual]

Destructor.

Member Function Documentation

NewL ( TUid, MMMFDevVideoPlayProxy & )

IMPORT_C CMMFVideoPostProcHwDevice *NewL(TUidaUid,
MMMFDevVideoPlayProxy &aProxy
)[static]

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

leave
"This method may leave with one of the system-wide error codes."
ParameterDescription
aUid"Post-processor implementation UID."
aProxy"The proxy implementation to use."

Returns: "A new CMMFVideoPostProcHwDevice object."

SetInputDevice ( CMMFVideoDecodeHwDevice * )

voidSetInputDevice(CMMFVideoDecodeHwDevice *aDevice)[pure virtual]

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

Pre-condition
"This method can only be called before the hwdevice has been initialized with Initialize()."
ParameterDescription
aDevice"The decoder source plug-in to use."

SetInputFormatL ( const TUncompressedVideoFormat & )

voidSetInputFormatL(const TUncompressedVideoFormat &aFormat)[pure virtual]

Sets the device input format to an uncompressed video format.

leave
"The method will leave if an error occurs. Typical error codes used: KErrNotSupported - The input format is not supported."
Pre-condition
"This method can only be called before the hwdevice has been initialized with Initialize()."
ParameterDescription
aFormat"The input format to use."

SetProxy ( MMMFDevVideoPlayProxy & )

voidSetProxy(MMMFDevVideoPlayProxy &aProxy)[protected, pure virtual]

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

ParameterDescription
aProxy"The proxy to use."

WritePictureL ( TVideoPicture * )

voidWritePictureL(TVideoPicture *aPicture)[pure virtual]

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.

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()."
ParameterDescription
aPicture"The picture to write."