![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
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(const TMMFDSAEvent)
Pauses/Resumes video playback. This is to be used with direct screen access to i...MvpcGetAudioEnabledL(TBool &)
Indicates whether audio is enabled.MvpcGetCropRegionL(TRect &)
Gets the crop region currently applied to the imageMvpcGetFrameL(MMMFVideoFrameMessage &)
Gets a frame previously requested from the controller.MvpcGetLoadingProgressL(TInt &)
Gets the progress of loading a video clip.MvpcGetRotationL(TVideoRotation &)
Queries the rotation that is currently applied to the video image.MvpcGetScaleFactorL(TReal32 &,TReal32 &,TBool &)
Gets the scale factor currently applied to the video image.MvpcPlayL(const TTimeIntervalMicroSeconds &,const TTimeIntervalMicroSeconds &)
Sets a time window for video playback.MvpcPrepare()
Prepares the video clip to be accessed.MvpcRefreshFrameL()
Requests the controller to redraw the current frame.MvpcSetCropRegionL(const TRect &)
Selects a region of the video image to be displayed.MvpcSetDisplayWindowL(const TRect &,const TRect &)
Sets the screen region to be used to display the video.MvpcSetRotationL(TVideoRotation)
Rotates the video image on the screen.MvpcSetScaleFactorL(TReal32,TReal32,TBool)
Scales the video image to a specified percentage of its original size.MvpcUpdateDisplayRegionL(const TRegion &)
Updates the region to display.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
|