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)
voidSetAllowedFrameRatesL(TUint)
voidSetAllowedResolutionsL(TUint)
TInt SetBitrate(TUint)
TInt SetCodecMode(TUint)
voidSetConfigKeyL(const TDesC8 &)
voidSetFrameRateL(TReal)
voidSetMaxBitrateL(TUint)
TInt SetPayloadType(TUint8)
voidSetPreferredEncodingDecodingDeviceL(TUid)
voidSetResolutionL(TSize)
Private Member Functions
CMceAvcCodec()
voidConstructL(TBuf8< KMceMaxSdpNameLength >)
voidSetSdpNameL(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 >)

voidConstructL(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 > aSdpNamesdp name

NewLC(TBuf8< KMceMaxSdpNameLength >)

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

Two-phased constructor.

Parameters

TBuf8< KMceMaxSdpNameLength > aSdpNamesdp name

SetAllowedBitrates(TUint)

TInt SetAllowedBitrates(TUintaBitrates)[virtual]

Sets bitrates allowed with codec.

Parameters

TUint aBitratesallowed bitrate values

SetAllowedFrameRatesL(TUint)

voidSetAllowedFrameRatesL(TUintaFrameRates)[virtual]
Sets frame rates allowed with the codec.
leave
KErrNotSupported if codec doesn't support frame rates issued

Parameters

TUint aFrameRatesallowed frame rate values as a bitfield

SetAllowedResolutionsL(TUint)

voidSetAllowedResolutionsL(TUintaResolutions)[virtual]
Sets resolutions allowed with the codec.
leave
KErrNotSupported if codec doesn't support resolutions issued

Parameters

TUint aResolutionsbitfield of allowed resolutions

SetBitrate(TUint)

TInt SetBitrate(TUintaBitrate)[virtual]

Sets bitrate used with codec for encoding.

Parameters

TUint aBitratebitrate value for encoding

SetCodecMode(TUint)

TInt SetCodecMode(TUintaCodecMode)[virtual]

Sets the codec specific mode.

Parameters

TUint aCodecModemode of the codec

SetConfigKeyL(const TDesC8 &)

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

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

Parameters

TReal aFrameRateframe rate for encoding

SetMaxBitrateL(TUint)

voidSetMaxBitrateL(TUintaMaxBitrate)[virtual]
Sets maximum bitrate of the codec.
leave
KErrNotSupported if codec doesn't support frame sizes issued

Parameters

TUint aMaxBitratevalue of maximum bitrate used for encoding

SetPayloadType(TUint8)

TInt SetPayloadType(TUint8aPayloadType)[virtual]

Sets the payload type.

Parameters

TUint8 aPayloadTypetype identifier of the payload

SetPreferredEncodingDecodingDeviceL(TUid)

voidSetPreferredEncodingDecodingDeviceL(TUidaEncodingDecodingDevice)[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)

voidSetResolutionL(TSizeaResolution)[virtual]
Sets resolution of the video.
leave
KErrNotSupported if codec doesn't support resolution issued

Parameters

TSize aResolutionresolution of the video in pixels

SetSdpNameL(const TDesC8 &)

voidSetSdpNameL(const TDesC8 &aSdpName)[private, virtual]

Sets the sdp name.

Parameters

const TDesC8 & aSdpNamethe sdp name