#include <imageframe.h>
class TFrameFormat : public TFrameFormatBase |
Public Member Functions | |
---|---|
TFrameFormat(TUid) | |
IMPORT_C TUid | ColourSpace() |
virtual IMPORT_C TFrameFormatBase * | DuplicateL() |
IMPORT_C TUid | FormatCode() |
IMPORT_C TUid | Sampling() |
IMPORT_C void | SetColourSpace(TUid) |
Inherited Functions | |
---|---|
TFrameFormatBase::TFrameFormatBase(TUid) | |
TFrameFormatBase::Type()const |
This class is a specific implementation of TFrameFormatBase. An object of this class provides colour space and sampling information based on a specific image format code.
IMPORT_C | TFrameFormat | ( | TUid | aFormatCode | ) | [explicit] |
Constructor for the TFrameFormat class.
See also: imageframeformats.hrh
If the format code is not recognised, the format code, colour space and sampling are initialised as KNullUid.
Parameters | |
---|---|
aFormatCode | Unique UID specifying an image format code. The list of recognised formats is stored in file imageframeformats.hrh. |
IMPORT_C TUid | ColourSpace | ( | ) | const |
File imageframeconst.h contains the recognised colour space codes. These are named KUidColourSpaceXXX.
See also: imageframeconst.h
IMPORT_C TFrameFormatBase * | DuplicateL | ( | ) | const [virtual] |
Reimplemented from TFrameFormatBase::DuplicateL()const
Creates an identical object to itself and places it on the heap.
Leave Codes | |
---|---|
KErrNoMemory. |
IMPORT_C TUid | FormatCode | ( | ) | const |
File imageframeconst.h contains the recognised format codes. These are named KUidFormatXXX.
See also: imageframeconst.h
IMPORT_C TUid | Sampling | ( | ) | const |
File imageframeconst.h contains the recognised sampling codes. These are named KUidSamplingColorXXX.
See also: imageframeconst.h
IMPORT_C void | SetColourSpace | ( | TUid | aColourSpace | ) |
File imageframeconst.h contains the recognised colour space codes. These are named KUidColourSpaceXXX.
See also: imageframeconst.h
Parameters | |
---|---|
aColourSpace | The UID of the new colour space. |