|
||
class CMMFVideoPreProcHwDevice : public CMMFVideoRecordHwDevice;
CMMFVideoPreProcHwDevice is the MSL video pre-processor plug-in interface. All MSL video pre-processors must implement this interface.
CBase
-
Base class for all classes to be instantiated on the heap.
CMMFVideoHwDevice
- CMMFVideoHwDevice is a base class for all video hardware devices.
CMMFVideoRecordHwDevice
- A base class for all video recording (encoding and pre-processing) hardware devi...
CMMFVideoPreProcHwDevice
- CMMFVideoPreProcHwDevice is the MSL video pre-processor plug-in interface. All M...
Defined in CMMFVideoPreProcHwDevice
:
CMMFVideoPreProcHwDevice()
Constructor.NewL(TUid,MMMFDevVideoRecordProxy &)
Creates a new video pre-processor hardware device object, based on the implement...ReturnPicture(TVideoPicture *)
Returns a used picture back to the pre-processor. Called by an encoder device wh...SetOutputDevice(CMMFVideoEncodeHwDevice *)
Sets the video encoder device that will receive data from this pre-processor. Pr...SetOutputFormatL(const TUncompressedVideoFormat &)
Sets the device output format. The picture size depends on the input data format...SetProxy(MMMFDevVideoRecordProxy &)
Set the proxy implementation to be used. Called just after the object is constru...~CMMFVideoPreProcHwDevice()
Destructor.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...Inherited from CMMFVideoHwDevice
:
CustomInterface(TUid)
Retrieves a custom interface to the device. Inherited from CMMFVideoRecordHwDevice
:
CommitL()
Commit all changes since the last CMMFVideoRecordHwDevice::CommitL(), CMMFVideoR...Freeze()
Freezes the input picture. Normal encoding can be continued using CMMFVideoRecor...GetFrameStabilisationOutput(TRect &)
Reads the frame stabilisation output picture position. This information can be u...Initialize()
Initializes the device, and reserves hardware resources. If direct capture is us...InputEnd()
Notifies the hardware device that the end of input data has been reached and no ...NumComplexityLevels()
Retrieves the number of complexity control levels available for this hardware de...Pause()
Pauses video recording. Recording can be resumed using CMMFVideoRecordHwDevice::...PreProcessorInfoLC()
Retrieves information about the pre-processing capabilities of this hardware dev...RecordingPosition()
Returns the current recording position. The position is the capture timestamp fr...ReleaseFreeze()
Releases a frozen input picture. Video capturing and encoding continues normally...Resume()
Resumes video recording after a pause. Revert()
Revert all changes since the last CMMFVideoRecordHwDevice::CommitL(), CMMFVideoR...SetClockSource(MMMFClockSource *)
Sets the clock source to use for video timing. When video recording is synchroni...SetColorEnhancementOptionsL(const TColorEnhancementOptions &)
Sets color enhancement pre-processing options.SetComplexityLevel(TUint)
Sets the complexity level to use for video processing in a hardware device. The ...SetCustomPreProcessOptionsL(const TDesC8 &)
Sets custom implementation-specific pre-processing options.SetFrameStabilisationOptionsL(const TSize &,TBool)
Sets frame stabilisation options.SetInputCropOptionsL(const TRect &)
Sets pre-processing options for input cropping. Input cropping is typically used...SetInputFormatL(const TUncompressedVideoFormat &,const TSize &)
Sets the hardware device input format. If both a pre-processor and an encoder ar...SetOutputCropOptionsL(const TRect &)
Sets pre-processing options for output cropping. Output cropping is performed af...SetOutputPadOptionsL(const TSize &,const TPoint &)
Sets pre-processing options for output padding. Output padding is performed as t...SetPreProcessTypesL(TUint32)
Sets the pre-processing types to be used.SetRgbToYuvOptionsL(TRgbRange,const TYuvFormat &)
Sets pre-processing options for RGB to YUV color space conversion. By default, i...SetRotateOptionsL(TRotationType)
Sets pre-processing options for rotation.SetScaleOptionsL(const TSize &,TBool)
Sets pre-processing options for scaling.SetSourceCameraL(TInt,TReal)
Sets the data source to be a camera, and sets the device to use direct capture f...SetSourceMemoryL(TReal,TBool,TBool)
Sets the data source to be memory buffers.SetYuvToYuvOptionsL(const TYuvFormat &,const TYuvFormat &)
Sets pre-processing options for YUV to YUV data format conversion. By default, t...Start()
Starts recording video. This includes capturing pictures from the camera (if dir...Stop()
Stops recording video. No new pictures will be captured, pre-processed, or encod...WritePictureL(TVideoPicture *)
Writes an uncompressed input picture. When the picture has been used, it must be...IMPORT_C static CMMFVideoPreProcHwDevice* NewL(TUid aUid, MMMFDevVideoRecordProxy &aProxy);
Creates a new video pre-processor hardware device object, based on the implementation UID.
|
|
|
virtual void SetOutputFormatL(const TUncompressedVideoFormat &aFormat)=0;
"This method can only be called before the hwdevice has been initialized with Initialize()."
Sets the device output format. The picture size depends on the input data format and possible scaling performed.
|
|
virtual void SetOutputDevice(CMMFVideoEncodeHwDevice *aDevice)=0;
"This method can only be called before the hwdevice has been initialized with Initialize()."
Sets the video encoder device that will receive data from this pre-processor. Pre-processed pictures will be written with
CMMFVideoRecordHwDevice::WritePictureL(TVideoPicture *)
or through a custom interface, and the encoder will return used pictures using CMMFVideoPreProcHwDevice::ReturnPicture(TVideoPicture *)
.
|
virtual void ReturnPicture(TVideoPicture *aPicture)=0;
"This method can only be called after the hwdevice has been initialized with Initialize()."
Returns a used picture back to the pre-processor. Called by an encoder device when used as output device from a pre-processor.
|
protected: virtual void SetProxy(MMMFDevVideoRecordProxy &aProxy)=0;
Set the proxy implementation to be used. Called just after the object is constructed.
|