RMMFVideoControllerCustomCommands Class Reference

#include "mmfstandardcustomcommands.h"

Link against: mmfstandardcustomcommands.lib

class RMMFVideoControllerCustomCommands : 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
ParameterDescription
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
ParameterDescription
aBitRateThe bit rate of the audio stream.

Returns: One of the system-wide error codes.

GetAudioCodec ( TFourCC & )

IMPORT_C TIntGetAudioCodec(TFourCC &aCodec)const

Gets the audio type.

Since
7.0s
ParameterDescription
aCodecThe FourCC of the audio codec.

Returns: 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
ParameterDescription
aFramesPerSecondThe number of frames per second, filled in by the controller plugin.

Returns: One of the system-wide error codes.

GetVideoBitRate ( TInt & )

IMPORT_C TIntGetVideoBitRate(TInt &aBitRate)const

Gets the video bit rate.

Since
7.0s
ParameterDescription
aBitRateThe bit rate of the video stream. If this value is KMMFVariableVideoBitRate it signifies a variable bit rate.

Returns: 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
ParameterDescription
aVideoFrameSizeThe frame size, in pixels.

Returns: One of the system-wide error codes.

GetVideoMimeType ( TDes8 & )

IMPORT_C TIntGetVideoMimeType(TDes8 &aMimeType)const

Gets the video clip MIME type.

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

SetFrameRate ( TReal32 )

IMPORT_C TIntSetFrameRate(TReal32aFramesPerSecond)const

Sets the frame rate of the clip.

Since
7.0s
ParameterDescription
aFramesPerSecondThe number of frames per second.

Returns: One of the system-wide error codes.