MMMFVideoPlayControllerCustomCommandImplementor Class Reference
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.
Member Functions Documentation
MvpcDirectScreenAccessEventL(const TMMFDSAEvent)
void
|
MvpcDirectScreenAccessEventL
|
(
|
const
TMMFDSAEvent
|
aDSAEvent
|
)
|
[pure virtual]
|
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.
Parameters
const
TMMFDSAEvent
aDSAEvent
|
Whether the video display should be active.
|
MvpcGetAudioEnabledL(TBool &)
void
|
MvpcGetAudioEnabledL
|
(
|
TBool
&
|
aEnabled
|
)
|
[pure virtual]
|
Indicates whether audio is enabled.
Parameters
TBool
& aEnabled
|
On return, contains a boolean indicating whether audio is enabled.
|
MvpcGetCropRegionL(TRect &)
void
|
MvpcGetCropRegionL
|
(
|
TRect
&
|
aCropRegion
|
)
|
[pure virtual]
|
Gets the crop region currently applied to the image
Parameters
TRect
& aCropRegion
|
The dimensions of the crop region, relative to the video image. If no crop region has been applied, the full dimensions of the video image will be returned.
|
MvpcGetFrameL(MMMFVideoFrameMessage &)
Gets a frame previously requested from the controller.
MvpcGetLoadingProgressL(TInt &)
void
|
MvpcGetLoadingProgressL
|
(
|
TInt
&
|
aPercentageComplete
|
)
|
[pure virtual]
|
Gets the progress of loading a video clip.
Parameters
TInt
& aPercentageComplete
|
The progress loading the clip, as a percentage.
|
MvpcGetRotationL(TVideoRotation &)
Queries the rotation that is currently applied to the video image.
MvpcGetScaleFactorL(TReal32 &, TReal32 &, TBool &)
void
|
MvpcGetScaleFactorL
|
(
|
TReal32
&
|
aWidthPercentage,
|
|
TReal32
&
|
aHeightPercentage,
|
|
TBool
&
|
aAntiAliasFiltering
|
|
)
|
[pure virtual]
|
Gets the scale factor currently applied to the video image.
Parameters
TReal32
& aWidthPercentage
|
The percentage (100 = original size) used to scale the width of the video image will be copied into here.
|
TReal32
& aHeightPercentage
|
The percentage (100 = original size) used to scale the height of the video image will be copied into here.
|
TBool
& aAntiAliasFiltering
|
A boolean indicating if anti-aliasing filtering should be used. ETrue if anti-aliasing filtering is being used, EFalse if not.
|
MvpcPlayL(const TTimeIntervalMicroSeconds &, const TTimeIntervalMicroSeconds &)
Sets a time window for video playback.
MvpcPrepare()
void
|
MvpcPrepare
|
(
|
)
|
[pure virtual]
|
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.
MvpcRefreshFrameL()
void
|
MvpcRefreshFrameL
|
(
|
)
|
[pure virtual]
|
Requests the controller to redraw the current frame.
MvpcSetCropRegionL(const TRect &)
void
|
MvpcSetCropRegionL
|
(
|
const
TRect
&
|
aCropRegion
|
)
|
[pure virtual]
|
Selects a region of the video image to be displayed.
Parameters
const
TRect
& aCropRegion
|
The dimensions of the crop region, relative to the video image.
|
MvpcSetDisplayWindowL(const TRect &, const TRect &)
void
|
MvpcSetDisplayWindowL
|
(
|
const
TRect
&
|
aWindowRect,
|
|
const
TRect
&
|
aClipRect
|
|
)
|
[pure virtual]
|
Sets the screen region to be used to display the video.
Parameters
const
TRect
& aWindowRect
|
|
const
TRect
& aClipRect
|
The clip rect used to display the video.
|
MvpcSetRotationL(TVideoRotation)
Rotates the video image on the screen.
MvpcSetScaleFactorL(TReal32, TReal32, TBool)
void
|
MvpcSetScaleFactorL
|
(
|
TReal32
|
aWidthPercentage,
|
|
TReal32
|
aHeightPercentage,
|
|
TBool
|
aAntiAliasFiltering
|
|
)
|
[pure virtual]
|
Scales the video image to a specified percentage of its original size.
Parameters
TReal32
aWidthPercentage
|
The percentage (100 = original size) to be used to scale the width of the video image.
|
TReal32
aHeightPercentage
|
The percentage (100 = original size) to be used to scale the height of the video image. If this is not equal to aWidthPercentage then the image may be distorted.
|
TBool
aAntiAliasFiltering
|
A boolean indicating if anit-aliasing filtering should be used. ETrue if anti-aliasing should be used. If the plugin does not support this kind of processing, this value will be ignored.
|
MvpcUpdateDisplayRegionL(const TRegion &)
void
|
MvpcUpdateDisplayRegionL
|
(
|
const
TRegion
&
|
aRegion
|
)
|
[pure virtual]
|
Updates the region to display.
Parameters
const
TRegion
& aRegion
|
A TRegion containing the current display regions, ownership of the TRegion is not transferred.
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.