RMMFVideoControllerCustomCommands Class Reference

#include <mmf/common/mmfstandardcustomcommands.h>

Link against: mmfstandardcustomcommands.lib

class RMMFVideoControllerCustomCommands : public RMMFCustomCommandsBase, public RMMFCustomCommandsBase

Inherits from

Detailed 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.

Since
7.0s

Constructor & Destructor Documentation

RMMFVideoControllerCustomCommands ( RMMFController & )

IMPORT_CRMMFVideoControllerCustomCommands(RMMFController &aController)

Constructor.

Since
7.0s
Parameters
aControllerThe client side controller object to be used by this custom command interface.

Member Function Documentation

GetAudioBitRate ( TInt & )

IMPORT_C TIntGetAudioBitRate(TInt &aBitRate)const

Gets the audio bit rate.

Since
7.0s
Parameters
aBitRateThe bit rate of the audio stream.
Return Value
One of the system-wide error codes.

GetAudioCodec ( TFourCC & )

IMPORT_C TIntGetAudioCodec(TFourCC &aCodec)const

Gets the audio type.

Since
7.0s
Parameters
aCodecThe FourCC of the audio codec.
Return Value
One of the system-wide error codes.

GetFrameRate ( TReal32 & )

IMPORT_C TIntGetFrameRate(TReal32 &aFramesPerSecond)const

Gets the frame rate of the clip.

Since
7.0s
Parameters
aFramesPerSecondThe number of frames per second, filled in by the controller plugin.
Return Value
One of the system-wide error codes.

GetVideoBitRate ( TInt & )

IMPORT_C TIntGetVideoBitRate(TInt &aBitRate)const

Gets the video bit rate.

The bit rate of the video stream. If this value is KMMFVariableVideoBitRate it signifies

a variable bit rate.

Since
7.0s
Return Value
One of the system-wide error codes.

GetVideoFrameSize ( TSize & )

IMPORT_C TIntGetVideoFrameSize(TSize &aVideoFrameSize)const

Gets the frame size of the clip.

Since
7.0s
Parameters
aVideoFrameSizeThe frame size, in pixels.
Return Value
One of the system-wide error codes.

GetVideoMimeType ( TDes8 & )

IMPORT_C TIntGetVideoMimeType(TDes8 &aMimeType)const

Gets the video clip MIME type.

Since
7.0s
Parameters
aMimeTypeThe Mime type of the current clip.

SetFrameRate ( TReal32 )

IMPORT_C TIntSetFrameRate(TReal32aFramesPerSecond)const

Sets the frame rate of the clip.

Since
7.0s
Parameters
aFramesPerSecondThe number of frames per second.
Return Value
One of the system-wide error codes.