Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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

Members

Defined in RMMFVideoControllerCustomCommands:
GetAudioBitRate(), GetAudioCodec(), GetFrameRate(), GetVideoBitRate(), GetVideoFrameSize(), GetVideoMimeType(), RMMFVideoControllerCustomCommands(), SetFrameRate()

Inherited from RMMFCustomCommandsBase:
iController, iDestinationPckg


Construction and destruction


RMMFVideoControllerCustomCommands()

IMPORT_C RMMFVideoControllerCustomCommands(RMMFController &aController);

Description

Constructor.

Parameters

RMMFController &aController

The client side controller object to be used by this custom command interface.

[Top]


Member functions


GetVideoFrameSize()

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()

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()

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()

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()

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()

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()

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

TInt