class MMMFDevVideoRecordProxy |
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.
Public Member Functions | |
---|---|
void | MdvrpFatalError(CMMFVideoHwDevice *, TInt) |
void | MdvrpInitializeComplete(CMMFVideoHwDevice *, TInt) |
void | MdvrpNewBuffer(TVideoOutputBuffer *) |
void | MdvrpReturnPicture(TVideoPicture *) |
void | MdvrpStreamEnd() |
void | MdvrpSupplementalInfoSent() |
void | MdvrpFatalError | ( | CMMFVideoHwDevice * | aDevice, |
TInt | aError | |||
) | [pure virtual] |
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.
CMMFVideoHwDevice * aDevice | "The device that reports the error." |
TInt aError | "The error code." |
void | MdvrpInitializeComplete | ( | CMMFVideoHwDevice * | aDevice, |
TInt | aError | |||
) | [pure virtual] |
Reports that an asynchronous Initialize() method has completed. The device is now ready for recording.
CMMFVideoHwDevice * aDevice | "The device that was initialized." |
TInt aError | "Initialization result error code, KErrNone if initialization was successful." |
void | MdvrpNewBuffer | ( | TVideoOutputBuffer * | aBuffer | ) | [pure virtual] |
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().
TVideoOutputBuffer * aBuffer | "The buffer containing the data to send." |
void | MdvrpReturnPicture | ( | TVideoPicture * | aPicture | ) | [pure virtual] |
Returns a used input picture back to the client. Called by the encoder hardware device after the picture has been encoded.
TVideoPicture * aPicture | "The picture to return." |
void | MdvrpStreamEnd | ( | ) | [pure virtual] |
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.