Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <devvideorecord.h>
This item is not part of the S60 5th Edition SDK

Class MMMFDevVideoRecordProxy

class MMMFDevVideoRecordProxy;

Description

MMMFDevVideoRecordProxy is the interface the CDevVideoRecord implementation provides for video recording hardware devices. The hardware devices use this interface to report events and send used pictures and new buffers to the client.

Members

Defined in MMMFDevVideoRecordProxy:


Member functions


MdvrpNewBuffer(TVideoOutputBuffer *)

virtual void MdvrpNewBuffer(TVideoOutputBuffer *aBuffer)=0;

Description

Delivers a new coded data unit to the client. The CDevVideoRecord implementation will maintain a list of buffers and implement NumDataBuffers() and NextBufferL() based on those. The buffers will be returned back to the device using ReturnBuffer().

Parameters

TVideoOutputBuffer *aBuffer

"The buffer containing the data to send."


MdvrpReturnPicture(TVideoPicture *)

virtual void MdvrpReturnPicture(TVideoPicture *aPicture)=0;

Description

Returns a used input picture back to the client. Called by the encoder hardware device after the picture has been encoded.

Parameters

TVideoPicture *aPicture

"The picture to return."


MdvrpSupplementalInfoSent()

virtual void MdvrpSupplementalInfoSent()=0;

Description

Sends a notification to the client that the current supplemental info send request has completed.


MdvrpFatalError(CMMFVideoHwDevice *,TInt)

virtual void MdvrpFatalError(CMMFVideoHwDevice *aDevice, TInt aError)=0;

Description

Reports a fatal error to the client. The device must automatically stop processing video data when such errors occur, and may not do further processing before it has been deleted and re-created.

Parameters

CMMFVideoHwDevice *aDevice

"The device that reports the error."

TInt aError

"The error code."


MdvrpInitializeComplete(CMMFVideoHwDevice *,TInt)

virtual void MdvrpInitializeComplete(CMMFVideoHwDevice *aDevice, TInt aError)=0;

Description

Reports that an asynchronous Initialize() method has completed. The device is now ready for recording.

Parameters

CMMFVideoHwDevice *aDevice

"The device that was initialized."

TInt aError

"Initialization result error code, KErrNone if initialization was successful."


MdvrpStreamEnd()

virtual void MdvrpStreamEnd()=0;

Description

Reports that the input video data end has been reached and all pictures have been processed. Called by each hardware device after their InputEnd() methods have been called and all data has been processed. The proxy implementation will notify the client about stream end when all hardware devices have called this method.