CMMFVideoPostProcHwDevice Class Reference

class CMMFVideoPostProcHwDevice : public CMMFVideoPlayHwDevice

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

Inherits from

Public Member Functions
~CMMFVideoPostProcHwDevice ()
IMPORT_C CMMFVideoPostProcHwDevice * NewL ( TUid , MMMFDevVideoPlayProxy &)
void SetInputDevice ( CMMFVideoDecodeHwDevice *)
void SetInputFormatL (const TUncompressedVideoFormat &)
void WritePictureL ( TVideoPicture *)
Protected Member Functions
CMMFVideoPostProcHwDevice ()
void SetProxy ( 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()
Private Attributes
TUid iDtor_ID_Key

Constructor & Destructor Documentation

CMMFVideoPostProcHwDevice()

IMPORT_C CMMFVideoPostProcHwDevice ( ) [protected]

Constructor.

~CMMFVideoPostProcHwDevice()

IMPORT_C ~CMMFVideoPostProcHwDevice ( ) [virtual]

Destructor.

Member Functions Documentation

NewL(TUid, MMMFDevVideoPlayProxy &)

IMPORT_C CMMFVideoPostProcHwDevice * NewL ( TUid aUid,
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."

Parameters

TUid aUid "Post-processor implementation UID."
MMMFDevVideoPlayProxy & aProxy "The proxy implementation to use."

SetInputDevice(CMMFVideoDecodeHwDevice *)

void SetInputDevice ( 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()."

Parameters

CMMFVideoDecodeHwDevice * aDevice "The decoder source plug-in to use."

SetInputFormatL(const TUncompressedVideoFormat &)

void SetInputFormatL ( 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()."

Parameters

const TUncompressedVideoFormat & aFormat "The input format to use."

SetProxy(MMMFDevVideoPlayProxy &)

void SetProxy ( MMMFDevVideoPlayProxy & aProxy ) [protected, pure virtual]

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

Parameters

MMMFDevVideoPlayProxy & aProxy "The proxy to use."

WritePictureL(TVideoPicture *)

void WritePictureL ( 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()."

Parameters

TVideoPicture * aPicture "The picture to write."

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key [private]