Location:
mmfstandardcustomcommands.h
class MMMFVideoPlayControllerCustomCommandImplementor;
Client class to access functionality specific to a video playback controller.
The class uses the custom command function of the controller plugin, and removes the necessity for the client to formulate the custom commands.
Defined in MMMFVideoPlayControllerCustomCommandImplementor
:
MvpcDirectScreenAccessEventL()
, MvpcGetAudioEnabledL()
, MvpcGetCropRegionL()
, MvpcGetFrameL()
, MvpcGetLoadingProgressL()
, MvpcGetRotationL()
, MvpcGetScaleFactorL()
, MvpcPlayL()
, MvpcPrepare()
, MvpcRefreshFrameL()
, MvpcSetCropRegionL()
, MvpcSetDisplayWindowL()
, MvpcSetRotationL()
, MvpcSetScaleFactorL()
, MvpcUpdateDisplayRegionL()
virtual void MvpcPrepare()=0;
Prepares the video clip to be accessed.
A call to this method tells the controller plugin to finalise its configuration and to prepare to start reading the video clip. It is not possible to play the video clip or query any of its properties (e.g. duration, meta data etc.) until the controller plugin has signified the completion of this method by generating a KMMFEventCategoryVideoPrepareComplete event.
virtual void MvpcGetFrameL(MMMFVideoFrameMessage &aVideoFrame)=0;
Gets a frame previously requested from the controller.
|
virtual void MvpcGetAudioEnabledL(TBool &aEnabled)=0;
Indicates whether audio is enabled.
|
virtual void MvpcSetDisplayWindowL(const TRect &aWindowRect, const TRect &aClipRect)=0;
Sets the screen region to be used to display the video.
|
virtual void MvpcUpdateDisplayRegionL(const TRegion &aRegion)=0;
Updates the region to display.
|
virtual void MvpcDirectScreenAccessEventL(const TMMFDSAEvent aDSAEvent)=0;
Pauses/Resumes video playback. This is to be used with direct screen access to indicate that the display has changed and should not be written to. This does not affect audio playback.
|
virtual void MvpcPlayL(const TTimeIntervalMicroSeconds &aStart, const TTimeIntervalMicroSeconds &aEnd)=0;
Sets a time window for video playback.
|
virtual void MvpcRefreshFrameL()=0;
Requests the controller to redraw the current frame.
virtual void MvpcGetLoadingProgressL(TInt &aPercentageComplete)=0;
Gets the progress of loading a video clip.
|
virtual void MvpcSetRotationL(TVideoRotation aRotation)=0;
Rotates the video image on the screen.
|
virtual void MvpcGetRotationL(TVideoRotation &aRotation)=0;
Queries the rotation that is currently applied to the video image.
|
virtual void MvpcSetScaleFactorL(TReal32 aWidthPercentage, TReal32 aHeightPercentage, TBool aAntiAliasFiltering)=0;
Scales the video image to a specified percentage of its original size.
|
virtual void MvpcGetScaleFactorL(TReal32 &aWidthPercentage, TReal32 &aHeightPercentage, TBool &aAntiAliasFiltering)=0;
Gets the scale factor currently applied to the video image.
|
virtual void MvpcSetCropRegionL(const TRect &aCropRegion)=0;
Selects a region of the video image to be displayed.
|
virtual void MvpcGetCropRegionL(TRect &aCropRegion)=0;
Gets the crop region currently applied to the image
|