CMceVideoCodec Class Reference
class CMceVideoCodec : public CMceCodec |
Base class for video codecs.
It defines setters and getters for generic video codec attributes. These attributes are used in single video stream and they are negotiated with remote terminal.
mceclient.lib
Constructor & Destructor Documentation
CMceVideoCodec()
CMceVideoCodec | ( | ) | [protected] |
~CMceVideoCodec()
~CMceVideoCodec | ( | ) | [virtual] |
Member Functions Documentation
AllowedFrameRates()
IMPORT_C TUint | AllowedFrameRates | ( | ) | const |
Gets frame rates currently allowed for encoding and decoding.
AllowedResolutions()
IMPORT_C TUint | AllowedResolutions | ( | ) | const |
Gets currently allowed resolutions as a bitfield
ComparePreferences(const CMceVideoCodec &, const CMceVideoCodec &)
ConfigKeyL()
IMPORT_C HBufC8 * | ConfigKeyL | ( | ) | const |
Get config key (sprop-parameter-sets)
ConstructL(CMceComVideoCodec *)
Second-phase constructor flat data container
Factory()
Gets video codec factory.
FrameRate()
IMPORT_C TReal | FrameRate | ( | ) | const |
Gets frame rate currently used for encoding and decoding.
MaxBitRate()
IMPORT_C TUint | MaxBitRate | ( | ) | const |
Gets maximum bit rate currently allowed
Resolution()
IMPORT_C TSize | Resolution | ( | ) | const |
SetAllowedFrameRatesL(TUint)
void | SetAllowedFrameRatesL | ( | TUint | aFrameRates | ) | [pure 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 | ) | [pure virtual] |
Sets resolutions allowed with the codec.
- leave
- KErrNotSupported if codec doesn't support resolutions issued
Parameters
TUint aResolutions | bitfield of allowed resolutions |
SetConfigKeyL(const TDesC8 &)
void | SetConfigKeyL | ( | const TDesC8 & | aConfigKey | ) | [pure virtual] |
Set config key (sprop-parameter-sets)
- leave
- KErrNotSupported if setting config key is not possible
SetFrameRateL(TReal)
void | SetFrameRateL | ( | TReal | aFrameRate | ) | [pure 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 | ) | [pure 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 |
SetPreferredEncodingDecodingDeviceL(TUid)
void | SetPreferredEncodingDecodingDeviceL | ( | TUid | aEncodingDecodingDevice | ) | [pure 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 | ) | [pure virtual] |
Sets resolution of the video.
- leave
- KErrNotSupported if codec doesn't support resolution issued
Parameters
TSize aResolution | resolution of the video in pixels |
Member Data Documentation
TAny * iReserved1
TAny * | iReserved1 | [private] |
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.