CMMFVideoPreProcHwDevice Class Reference

#include "videorecordhwdevice.h"

Link against: devvideo.lib

class CMMFVideoPreProcHwDevice : public CMMFVideoRecordHwDevice

Inherits from

Public Member Functions
virtual ~CMMFVideoPreProcHwDevice()
IMPORT_C CMMFVideoPreProcHwDevice *NewL(TUid, MMMFDevVideoRecordProxy &)
pure virtual voidReturnPicture(TVideoPicture *)
pure virtual voidSetOutputDevice(CMMFVideoEncodeHwDevice *)
pure virtual voidSetOutputFormatL(const TUncompressedVideoFormat &)
Protected Member Functions
CMMFVideoPreProcHwDevice()
pure virtual voidSetProxy(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 *)

Detailed Description

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

Constructor & Destructor Documentation

CMMFVideoPreProcHwDevice ( )

IMPORT_CCMMFVideoPreProcHwDevice()[protected]

Constructor.

~CMMFVideoPreProcHwDevice ( )

IMPORT_C~CMMFVideoPreProcHwDevice()[virtual]

Destructor.

Member Function Documentation

NewL ( TUid, MMMFDevVideoRecordProxy & )

IMPORT_C CMMFVideoPreProcHwDevice *NewL(TUidaUid,
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."
ParameterDescription
aUid"Pre-processor implementation UID."
aProxy"The proxy implementation to use."

Returns: "A new CMMFVideoPreProcHwDevice object."

ReturnPicture ( TVideoPicture * )

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

SetOutputDevice ( CMMFVideoEncodeHwDevice * )

voidSetOutputDevice(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()."
ParameterDescription
aDevice"The output encoder device to use."

SetOutputFormatL ( const TUncompressedVideoFormat & )

voidSetOutputFormatL(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()."
ParameterDescription
aFormat"The video format to use."

SetProxy ( MMMFDevVideoRecordProxy & )

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

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

ParameterDescription
aProxy"The proxy to use."