Location:
devvideoplay.h
class MMMFDevVideoPlayProxy;
MMMFDevVideoPlayProxy is the interface to the CMMFDevVideoPlay
API implementation that the hardware devices use to deliver data back to the client and report their progress to the API
implementation.
Defined in MMMFDevVideoPlayProxy
:
MdvppFatalError()
, MdvppInitializeComplete()
, MdvppNewBuffers()
, MdvppNewPicture()
, MdvppPictureLoss()
, MdvppPictureLoss()
, MdvppReferencePictureSelection()
, MdvppReturnPicture()
, MdvppSliceLoss()
, MdvppStreamEnd()
, MdvppSupplementalInformation()
, MdvppTimedSnapshotComplete()
virtual void MdvppNewPicture(TVideoPicture *aPicture)=0;
Delivers a new decoded picture to the client. The CMMFDevVideoPlay
implementation will maintain a list of decoded pictures and implement GetNewPictureInfo() and NextPictureL() based on those.
The pictures will be returned back to the hardware device using ReturnPicture().
|
virtual void MdvppNewBuffers()=0;
Notifies the client that one or more new empty input buffers are available. Called by the decoder hardware device.
virtual void MdvppReturnPicture(TVideoPicture *aPicture)=0;
Returns a used input video picture back to the caller. Called by a post-processor hardware device after the picture has been processed and the picture source was the client, not another plug-in.
|
virtual void MdvppSupplementalInformation(const TDesC8 &aData, const TTimeIntervalMicroSeconds &aTimestamp, const TPictureId
&aPictureId)=0;
Delivers supplemental information from a decoder hardware device to the client. The information is codec-dependent. The method is synchronous - the client MMMFDevVideoPlayObserver::MdvppSupplementalInformation() method is called immediately, and the memory for the supplemental information can be re-used when the call returns.
|
virtual void MdvppPictureLoss()=0;
Back channel information, indicating a picture loss without specifying the lost picture.
virtual void MdvppPictureLoss(const TArray< TPictureId > &aPictures)=0;
Back channel information, indicating the pictures that have been lost.
|
virtual void MdvppSliceLoss(TUint aFirstMacroblock, TUint aNumMacroblocks, const TPictureId &aPicture)=0;
Back channel information, indicating the loss of consecutive macroblocks in raster scan order.
|
virtual void MdvppReferencePictureSelection(const TDesC8 &aSelectionData)=0;
Back channel information from the decoder, indicating a reference picture selection request. The request is delivered as a coding-standard specific binary message. Reference picture selection can be used to select a pervious correctly transmitted picture to use as a reference in case later pictures have been lost.
|
virtual void MdvppTimedSnapshotComplete(TInt aError, TPictureData *aPictureData, const TTimeIntervalMicroSeconds &aPresentationTimestamp,
const TPictureId &aPictureId)=0;
Delivers a timed snapshot result to the client. The memory reserved for the snapshot picture can no longer be used in the device.
|
virtual void MdvppFatalError(CMMFVideoHwDevice *aDevice, TInt aError)=0;
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.
|
virtual void MdvppInitializeComplete(CMMFVideoHwDevice *aDevice, TInt aError)=0;
Reports that an asynchronous Initialize() method has completed. The device is now ready for playback.
|
virtual void MdvppStreamEnd()=0;
Reports that the input video stream 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.