CMceAvcCodec Class Reference

class CMceAvcCodec : public CMceVideoCodec

Class for the H264 codec information.

It checks the validity of inserted values for H264

mceclient.lib

Inherits from

Public Member Functions
~CMceAvcCodec ()
CMceVideoCodec * CloneL ()
IMPORT_C CMceAvcCodec * NewL ( TBuf8 < KMceMaxSdpNameLength >)
IMPORT_C CMceAvcCodec * NewLC ( TBuf8 < KMceMaxSdpNameLength >)
TInt SetAllowedBitrates ( TUint )
void SetAllowedFrameRatesL ( TUint )
void SetAllowedResolutionsL ( TUint )
TInt SetBitrate ( TUint )
TInt SetCodecMode ( TUint )
void SetConfigKeyL (const TDesC8 &)
void SetFrameRateL ( TReal )
void SetMaxBitrateL ( TUint )
TInt SetPayloadType ( TUint8 )
void SetPreferredEncodingDecodingDeviceL ( TUid )
void SetResolutionL ( TSize )
Private Member Functions
CMceAvcCodec ()
void ConstructL ( TBuf8 < KMceMaxSdpNameLength >)
void SetSdpNameL (const TDesC8 &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CMceCodec::AllowedBitrates()const
CMceCodec::Attach(CMceMediaStream &)
CMceCodec::BaseFactory()
CMceCodec::Bitrate()const
CMceCodec::CMceCodec()
CMceCodec::CodecMode()const
CMceCodec::ConstructL(CMceComCodec *)
CMceCodec::EventReceivedL(TMceEvent &)
CMceCodec::ExternalizeFlatL(RWriteStream &)
CMceCodec::ExternalizeL(MMceComSerializationContext &)
CMceCodec::FlatData()
CMceCodec::FourCC()const
CMceCodec::FrameSize()const
CMceCodec::Id()const
CMceCodec::InitializeL(CMceMediaStream &)
CMceCodec::InternalizeFlatL(RReadStream &)
CMceCodec::InternalizeL(MMceComSerializationContext &)
CMceCodec::KeepAliveData()const
CMceCodec::KeepAlivePayloadType()const
CMceCodec::KeepAliveTimer()const
CMceCodec::MMFPriority()const
CMceCodec::MMFPriorityPreference()const
CMceCodec::PayloadType()const
CMceCodec::Preference()const
CMceCodec::SdpName()const
CMceCodec::SerializationId()const
CMceCodec::SetKeepAliveDataL(const TDesC8 &)
CMceCodec::SetKeepAlivePayloadTypeL(TUint8)
CMceCodec::SetKeepAliveTimerL(TUint8)
CMceCodec::SetMMFPriorityL(TInt)
CMceCodec::SetMMFPriorityPreferenceL(TInt)
CMceCodec::SetPreferenceL(TInt)
CMceCodec::SetStandByTimerL(TUint32)
CMceCodec::SetStateL(CMceCodec::TState)
CMceCodec::State()const
CMceCodec::Type()const
CMceCodec::Updated()
CMceCodec::~CMceCodec()
CMceVideoCodec::AllowedFrameRates()const
CMceVideoCodec::AllowedResolutions()const
CMceVideoCodec::CMceVideoCodec()
CMceVideoCodec::ComparePreferences(const CMceVideoCodec &,const CMceVideoCodec &)
CMceVideoCodec::ConfigKeyL()const
CMceVideoCodec::ConstructL(CMceComVideoCodec *)
CMceVideoCodec::Factory()
CMceVideoCodec::FrameRate()const
CMceVideoCodec::MaxBitRate()const
CMceVideoCodec::Resolution()const
CMceVideoCodec::~CMceVideoCodec()
Inherited Enumerations
CMceCodec:TState
Inherited Attributes
CMceCodec::iFlatData
CMceCodec::iStream
CMceCodec::iType

Constructor & Destructor Documentation

CMceAvcCodec()

CMceAvcCodec ( ) [private]

C++ default constructor.

~CMceAvcCodec()

IMPORT_C ~CMceAvcCodec ( )

Destructor.

Member Functions Documentation

CloneL()

CMceVideoCodec * CloneL ( ) const [virtual]

Clones the codec.

ConstructL(TBuf8< KMceMaxSdpNameLength >)

void ConstructL ( TBuf8 < KMceMaxSdpNameLength > aSdpName ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

TBuf8 < KMceMaxSdpNameLength > aSdpName

NewL(TBuf8< KMceMaxSdpNameLength >)

IMPORT_C CMceAvcCodec * NewL ( TBuf8 < KMceMaxSdpNameLength > aSdpName ) [static]

Two-phased constructor.

Parameters

TBuf8 < KMceMaxSdpNameLength > aSdpName sdp name

NewLC(TBuf8< KMceMaxSdpNameLength >)

IMPORT_C CMceAvcCodec * NewLC ( TBuf8 < KMceMaxSdpNameLength > aSdpName ) [static]

Two-phased constructor.

Parameters

TBuf8 < KMceMaxSdpNameLength > aSdpName sdp name

SetAllowedBitrates(TUint)

TInt SetAllowedBitrates ( TUint aBitrates ) [virtual]

Sets bitrates allowed with codec.

Parameters

TUint aBitrates allowed bitrate values

SetAllowedFrameRatesL(TUint)

void SetAllowedFrameRatesL ( TUint aFrameRates ) [virtual]
Sets frame rates allowed with the codec.
leave
KErrNotSupported if codec doesn't support frame rates issued

Parameters

TUint aFrameRates allowed frame rate values as a bitfield

SetAllowedResolutionsL(TUint)

void SetAllowedResolutionsL ( TUint aResolutions ) [virtual]
Sets resolutions allowed with the codec.
leave
KErrNotSupported if codec doesn't support resolutions issued

Parameters

TUint aResolutions bitfield of allowed resolutions

SetBitrate(TUint)

TInt SetBitrate ( TUint aBitrate ) [virtual]

Sets bitrate used with codec for encoding.

Parameters

TUint aBitrate bitrate value for encoding

SetCodecMode(TUint)

TInt SetCodecMode ( TUint aCodecMode ) [virtual]

Sets the codec specific mode.

Parameters

TUint aCodecMode mode of the codec

SetConfigKeyL(const TDesC8 &)

void SetConfigKeyL ( const TDesC8 & aConfigKey ) [virtual]
Set config key (sprop-parameter-sets)
leave
KErrNotSupported if setting config key is not possible

Parameters

const TDesC8 & aConfigKey

SetFrameRateL(TReal)

void SetFrameRateL ( TReal aFrameRate ) [virtual]
Sets frame rate used with the codec for encoding.
leave
KErrNotSupported if codec doesn't support frame rate value issued

Parameters

TReal aFrameRate frame rate for encoding

SetMaxBitrateL(TUint)

void SetMaxBitrateL ( TUint aMaxBitrate ) [virtual]
Sets maximum bitrate of the codec.
leave
KErrNotSupported if codec doesn't support frame sizes issued

Parameters

TUint aMaxBitrate value of maximum bitrate used for encoding

SetPayloadType(TUint8)

TInt SetPayloadType ( TUint8 aPayloadType ) [virtual]

Sets the payload type.

Parameters

TUint8 aPayloadType type identifier of the payload

SetPreferredEncodingDecodingDeviceL(TUid)

void SetPreferredEncodingDecodingDeviceL ( TUid aEncodingDecodingDevice ) [virtual]
Sets preferred encoding device for uplink stream and preferred decoding device for downlink stream.
leave
KErrNotSupported if setting preferred device is not possible

Parameters

TUid aEncodingDecodingDevice

SetResolutionL(TSize)

void SetResolutionL ( TSize aResolution ) [virtual]
Sets resolution of the video.
leave
KErrNotSupported if codec doesn't support resolution issued

Parameters

TSize aResolution resolution of the video in pixels

SetSdpNameL(const TDesC8 &)

void SetSdpNameL ( const TDesC8 & aSdpName ) [private, virtual]

Sets the sdp name.

Parameters

const TDesC8 & aSdpName the sdp name