Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: videorecordhwdevice.h
Link against: devvideo.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CMMFVideoPreProcHwDevice

class CMMFVideoPreProcHwDevice : public CMMFVideoRecordHwDevice;

Description

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

Derivation

Members

Defined in CMMFVideoPreProcHwDevice:
CMMFVideoPreProcHwDevice(), NewL(), ReturnPicture(), SetOutputDevice(), SetOutputFormatL(), SetProxy(), ~CMMFVideoPreProcHwDevice()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CMMFVideoHwDevice:
CustomInterface()

Inherited from CMMFVideoRecordHwDevice:
CommitL(), Freeze(), GetFrameStabilisationOutput(), GetPictureCounters(), Initialize(), InputEnd(), NumComplexityLevels(), Pause(), PreProcessorInfoLC(), RecordingPosition(), ReleaseFreeze(), Resume(), Revert(), SetClockSource(), SetColorEnhancementOptionsL(), SetComplexityLevel(), SetCustomPreProcessOptionsL(), SetFrameStabilisationOptionsL(), SetInputCropOptionsL(), SetInputFormatL(), SetOutputCropOptionsL(), SetOutputPadOptionsL(), SetPreProcessTypesL(), SetRgbToYuvOptionsL(), SetRotateOptionsL(), SetScaleOptionsL(), SetSourceCameraL(), SetSourceMemoryL(), SetYuvToYuvOptionsL(), Start(), Stop(), WritePictureL()


Construction and destruction


NewL()

static IMPORT_C CMMFVideoPreProcHwDevice *NewL(TUid aUid, MMMFDevVideoRecordProxy &aProxy);

Description

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

Parameters

TUid aUid

"Pre-processor implementation UID."

MMMFDevVideoRecordProxy &aProxy

"The proxy implementation to use."

Return value

CMMFVideoPreProcHwDevice *

"A new CMMFVideoPreProcHwDevice object."

Leave codes

"This

method will leave if an error occurs."


~CMMFVideoPreProcHwDevice()

virtual IMPORT_C ~CMMFVideoPreProcHwDevice();

Description

Destructor.


CMMFVideoPreProcHwDevice()

protected: IMPORT_C CMMFVideoPreProcHwDevice();

Description

Constructor.

[Top]


Member functions


SetOutputFormatL()

virtual void SetOutputFormatL(const TUncompressedVideoFormat &aFormat)=0;

Pre-Condition

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

Description

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

Parameters

const TUncompressedVideoFormat &aFormat

"The video format to use."

Leave codes

"

The method will leave if an error occurs. Typical error codes used: KErrNotSupported - The format specified is not supported."


SetOutputDevice()

virtual void SetOutputDevice(CMMFVideoEncodeHwDevice *aDevice)=0;

Pre-Condition

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

Description

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

Parameters

CMMFVideoEncodeHwDevice *aDevice

"The output encoder device to use."


ReturnPicture()

virtual void ReturnPicture(TVideoPicture *aPicture)=0;

Pre-Condition

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

Description

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

Parameters

TVideoPicture *aPicture

"The picture to return."


SetProxy()

protected: virtual void SetProxy(MMMFDevVideoRecordProxy &aProxy)=0;

Description

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

Parameters

MMMFDevVideoRecordProxy &aProxy

"The proxy to use."