class TFourCC |
A class that holds a four character code, representing supported data encodings for the conversion destination. The four character codes are packed into a single TUint32.
FourCC codes are a representation of the datatypes used to identify codecs. FourCC codes are used in codec .rss files as a match string used by ECOM to correctly load the required DLL.
Public Member Functions | |
---|---|
TFourCC () | |
TFourCC ( TUint8 , TUint8 , TUint8 , TUint8 ) | |
TFourCC (const TDesC8 &) | |
TFourCC ( TInt32 ) | |
TUint32 | FourCC () |
void | FourCC ( TPtr8 *) |
void | Set ( TFourCC ) |
void | Set ( TUint32 ) |
TBool | operator!= (const TFourCC &) |
TBool | operator!= (const TUint32 &) |
TBool | operator== (const TFourCC &) |
TBool | operator== (const TUint32 &) |
Private Attributes | |
---|---|
TUint32 | iFourCC |
TFourCC | ( | TUint8 | aChar1, |
TUint8 | aChar2, | ||
TUint8 | aChar3, | ||
TUint8 | aChar4 | ||
) | [inline] |
Packs the four arguments into a single TUint32.
The four arguments are packed in little-endian format.
TUint8 aChar1 | A character that represents part of the FourCC code. This character will be the least significant byte of the code. |
TUint8 aChar2 | A character that represents part of the FourCC code. |
TUint8 aChar3 | A character that represents part of the FourCC code. |
TUint8 aChar4 | A character that represents part of the FourCC code. This character will be the most significant byte of the code. |
TFourCC | ( | const TDesC8 & | aDes | ) | [inline] |
Constructs a FourCC code with the given 8 bit desciptor where the descriptor contains the characters that make up the FourCC code.
const TDesC8 & aDes | The descriptor containing the characters from which to make the FourCC code. |
TFourCC | ( | TInt32 | aFourCC | ) | [inline] |
Constructor with a TInt32 in little-endian format.
TInt32 aFourCC | The FourCC code. |
void | FourCC | ( | TPtr8 * | aDes | ) | const [inline] |
Unpacks the FourCC code in little-endian format into the space provided by the argument.
The argument must be a pointer to a buffer of 4 bytes or greater.
TPtr8 * aDes | A buffer to hold the unpacked FourCC code. |
void | Set | ( | TFourCC | aFourCC | ) | [inline] |
Sets the FourCC code equal to the value in the supplied argument.
TFourCC aFourCC | The required TFourCC containting the FourCC code. |
void | Set | ( | TUint32 | aFourCC | ) | [inline] |
Sets the FourCC code equal to the supplied argument.
TUint32 aFourCC | The required FourCC code. |
TBool | operator!= | ( | const TFourCC & | aA | ) | const [inline] |
Inequality operator.
const TFourCC & aA | The TFourCC code that *this will be tested against. |
TBool | operator!= | ( | const TUint32 & | aUint | ) | const [inline] |
Inequality operator.
const TUint32 & aUint | The FourCC code that *this will be tested against. |
TBool | operator== | ( | const TFourCC & | aA | ) | const [inline] |
Equality operator.
const TFourCC & aA | The TFourCC code that *this will be tested against. |
TBool | operator== | ( | const TUint32 & | aUint | ) | const [inline] |
Equality operator.
const TUint32 & aUint | The FourCC code that *this will be tested against. |
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.