#include <mmfstandardcustomcommands.h>
Link against:
mmfstandardcustomcommands.lib
Class RMMFVideoControllerCustomCommands
class RMMFVideoControllerCustomCommands : public RMMFCustomCommandsBase;
Description
Client class to access functionality specific to a video controller.
The class uses the custom command function of the controller plugin, and removes the necessity for the client to formulate
the custom commands.
Derivation
RMMFVideoControllerCustomCommands
-
Client class to access functionality specific to a video controller.
Members
Defined in RMMFVideoControllerCustomCommands
:
Inherited from RMMFCustomCommandsBase
:
Construction and destruction
RMMFVideoControllerCustomCommands(RMMFController &)
IMPORT_C RMMFVideoControllerCustomCommands(RMMFController &aController);
Description
Constructor.
Parameters
RMMFController &aController |
The client side controller object to be used by this custom command interface.
|
|
GetVideoFrameSize(TSize &)const
IMPORT_C TInt GetVideoFrameSize(TSize &aVideoFrameSize) const;
Description
Gets the frame size of the clip.
Parameters
TSize &aVideoFrameSize |
The frame size, in pixels.
|
|
Return value
TInt
|
One of the system-wide error codes.
|
|
GetAudioCodec(TFourCC &)const
IMPORT_C TInt GetAudioCodec(TFourCC &aCodec) const;
Description
Gets the audio type.
Parameters
TFourCC &aCodec |
The FourCC of the audio codec.
|
|
Return value
TInt
|
One of the system-wide error codes.
|
|
GetVideoBitRate(TInt &)const
IMPORT_C TInt GetVideoBitRate(TInt &aBitRate) const;
Description
Gets the video bit rate.
Parameters
TInt &aBitRate |
The bit rate of the video stream. If this value is KMMFVariableVideoBitRate it signifies a variable bit rate.
|
|
Return value
TInt
|
One of the system-wide error codes.
|
|
GetAudioBitRate(TInt &)const
IMPORT_C TInt GetAudioBitRate(TInt &aBitRate) const;
Description
Gets the audio bit rate.
Parameters
TInt &aBitRate |
The bit rate of the audio stream.
|
|
Return value
TInt
|
One of the system-wide error codes.
|
|
SetFrameRate(TReal32)const
IMPORT_C TInt SetFrameRate(TReal32 aFramesPerSecond) const;
Description
Sets the frame rate of the clip.
Parameters
TReal32 aFramesPerSecond |
The number of frames per second.
|
|
Return value
TInt
|
One of the system-wide error codes.
|
|
GetFrameRate(TReal32 &)const
IMPORT_C TInt GetFrameRate(TReal32 &aFramesPerSecond) const;
Description
Gets the frame rate of the clip.
Parameters
TReal32 &aFramesPerSecond |
The number of frames per second, filled in by the controller plugin.
|
|
Return value
TInt
|
One of the system-wide error codes.
|
|
GetVideoMimeType(TDes8 &)const
IMPORT_C TInt GetVideoMimeType(TDes8 &aMimeType) const;
Description
Gets the video clip MIME type.
Parameters
TDes8 &aMimeType |
The Mime type of the current clip.
|
|
Return value