CMceAvcCodec Class Reference
class CMceAvcCodec : public CMceVideoCodec
|
Class for the H264 codec information.
It checks the validity of inserted values for H264
mceclient.lib
Constructor & Destructor Documentation
CMceAvcCodec()
CMceAvcCodec
|
(
|
)
|
[private]
|
~CMceAvcCodec()
IMPORT_C
|
~CMceAvcCodec
|
(
|
)
|
|
Member Functions Documentation
ConstructL(TBuf8< KMceMaxSdpNameLength >)
By default Symbian 2nd phase constructor is private.
NewL(TBuf8< KMceMaxSdpNameLength >)
NewLC(TBuf8< KMceMaxSdpNameLength >)
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)
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
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]
|
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]
|
Parameters
const
TDesC8
& aSdpName
|
the sdp name
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.