CMMFVideoPreProcHwDevice Class Reference
#include
"videorecordhwdevice.h"
Link against: devvideo.lib
class CMMFVideoPreProcHwDevice : public CMMFVideoRecordHwDevice |
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_C | CMMFVideoPreProcHwDevice | ( | ) | [protected] |
~CMMFVideoPreProcHwDevice ( )
IMPORT_C | ~CMMFVideoPreProcHwDevice | ( | ) | [virtual] |
Member Function Documentation
NewL ( TUid, MMMFDevVideoRecordProxy & )
Creates a new video pre-processor hardware device object, based on the implementation UID.
- leave
- "This method will leave if an error occurs."
Parameter | Description | aUid | "Pre-processor implementation UID." |
aProxy | "The proxy implementation to use." |
Returns: "A new CMMFVideoPreProcHwDevice object."
ReturnPicture ( TVideoPicture * )
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()."
Parameter | Description | aPicture | "The picture to return." |
SetOutputDevice ( CMMFVideoEncodeHwDevice * )
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()."
Parameter | Description | aDevice | "The output encoder device to use." |
SetOutputFormatL ( const TUncompressedVideoFormat & )
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()."
Parameter | Description | aFormat | "The video format to use." |
SetProxy ( MMMFDevVideoRecordProxy & )
Set the proxy implementation to be used. Called just after the object is constructed.
Parameter | Description | aProxy | "The proxy to use." |