CMMFVideoPreProcHwDevice Class Reference

class CMMFVideoPreProcHwDevice : public CMMFVideoRecordHwDevice

CMMFVideoPreProcHwDevice is the MSL video pre-processor plug-in interface. All MSL video pre-processors must implement this interface.

Inherits from

  • CMMFVideoPreProcHwDevice
Public Member Functions
~CMMFVideoPreProcHwDevice ()
IMPORT_C CMMFVideoPreProcHwDevice * NewL ( TUid , MMMFDevVideoRecordProxy &)
void ReturnPicture ( TVideoPicture *)
void SetOutputDevice ( CMMFVideoEncodeHwDevice *)
void SetOutputFormatL (const TUncompressedVideoFormat &)
Protected Member Functions
CMMFVideoPreProcHwDevice ()
void SetProxy ( MMMFDevVideoRecordProxy &)
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)
CMMFVideoRecordHwDevice::CommitL()
CMMFVideoRecordHwDevice::Freeze()
CMMFVideoRecordHwDevice::GetFrameStabilisationOutput(TRect &)
CMMFVideoRecordHwDevice::GetPictureCounters(CMMFDevVideoRecord::TPictureCounters &)
CMMFVideoRecordHwDevice::Initialize()
CMMFVideoRecordHwDevice::InputEnd()
CMMFVideoRecordHwDevice::NumComplexityLevels()
CMMFVideoRecordHwDevice::Pause()
CMMFVideoRecordHwDevice::PreProcessorInfoLC()
CMMFVideoRecordHwDevice::RecordingPosition()
CMMFVideoRecordHwDevice::ReleaseFreeze()
CMMFVideoRecordHwDevice::Resume()
CMMFVideoRecordHwDevice::Revert()
CMMFVideoRecordHwDevice::SetClockSource(MMMFClockSource *)
CMMFVideoRecordHwDevice::SetColorEnhancementOptionsL(const TColorEnhancementOptions &)
CMMFVideoRecordHwDevice::SetComplexityLevel(TUint)
CMMFVideoRecordHwDevice::SetCustomPreProcessOptionsL(const TDesC8 &)
CMMFVideoRecordHwDevice::SetFrameStabilisationOptionsL(const TSize &,TBool)
CMMFVideoRecordHwDevice::SetInputCropOptionsL(const TRect &)
CMMFVideoRecordHwDevice::SetInputFormatL(const TUncompressedVideoFormat &,const TSize &)
CMMFVideoRecordHwDevice::SetOutputCropOptionsL(const TRect &)
CMMFVideoRecordHwDevice::SetOutputPadOptionsL(const TSize &,const TPoint &)
CMMFVideoRecordHwDevice::SetPreProcessTypesL(TUint32)
CMMFVideoRecordHwDevice::SetRgbToYuvOptionsL(TRgbRange,const TYuvFormat &)
CMMFVideoRecordHwDevice::SetRotateOptionsL(TRotationType)
CMMFVideoRecordHwDevice::SetScaleOptionsL(const TSize &,TBool)
CMMFVideoRecordHwDevice::SetSourceCameraL(TInt,TReal)
CMMFVideoRecordHwDevice::SetSourceMemoryL(TReal,TBool,TBool)
CMMFVideoRecordHwDevice::SetYuvToYuvOptionsL(const TYuvFormat &,const TYuvFormat &)
CMMFVideoRecordHwDevice::Start()
CMMFVideoRecordHwDevice::Stop()
CMMFVideoRecordHwDevice::WritePictureL(TVideoPicture *)
Private Attributes
TUid iDtor_ID_Key

Constructor & Destructor Documentation

CMMFVideoPreProcHwDevice()

IMPORT_C CMMFVideoPreProcHwDevice ( ) [protected]

Constructor.

~CMMFVideoPreProcHwDevice()

IMPORT_C ~CMMFVideoPreProcHwDevice ( ) [virtual]

Destructor.

Member Functions Documentation

NewL(TUid, MMMFDevVideoRecordProxy &)

IMPORT_C CMMFVideoPreProcHwDevice * NewL ( TUid aUid,
MMMFDevVideoRecordProxy & aProxy
) [static]
Creates a new video pre-processor hardware device object, based on the implementation UID.
leave
"This method will leave if an error occurs."

Parameters

TUid aUid "Pre-processor implementation UID."
MMMFDevVideoRecordProxy & aProxy "The proxy implementation to use."

ReturnPicture(TVideoPicture *)

void ReturnPicture ( TVideoPicture * aPicture ) [pure virtual]

Returns a used picture back to the pre-processor. Called by an encoder device when used as output device from a pre-processor.

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

Parameters

TVideoPicture * aPicture "The picture to return."

SetOutputDevice(CMMFVideoEncodeHwDevice *)

void SetOutputDevice ( CMMFVideoEncodeHwDevice * aDevice ) [pure virtual]

Sets the video encoder device that will receive data from this pre-processor. Pre-processed pictures will be written with WritePictureL() or through a custom interface, and the encoder will return used pictures using ReturnPicture() .

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

Parameters

CMMFVideoEncodeHwDevice * aDevice "The output encoder device to use."

SetOutputFormatL(const TUncompressedVideoFormat &)

void SetOutputFormatL ( const TUncompressedVideoFormat & aFormat ) [pure virtual]

Sets the device output format. The picture size depends on the input data format and possible scaling performed.

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

Parameters

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

SetProxy(MMMFDevVideoRecordProxy &)

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

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

Parameters

MMMFDevVideoRecordProxy & aProxy "The proxy to use."

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key [private]