| class CVisualFrame : public CBase |
| Public Member Functions | |
|---|---|
| ~CVisualFrame () | |
| IMPORT_C const RChunk & | DataChunkL () |
| IMPORT_C TDataContainer | DataContainer () |
| IMPORT_C TInt | DataOffset () |
| IMPORT_C TPtr8 | DataPtrL () |
| IMPORT_C TSize | Dimension () |
| IMPORT_C TInt | FrameFormat () |
| IMPORT_C const TFrameLayout & | FrameLayout () |
| IMPORT_C CImageFrame * | GetImageFrameL () |
| IMPORT_C TInt | MaxSize () |
| IMPORT_C CVisualFrame * | NewL ( TDes8 &, const TSize &, TInt ) |
| IMPORT_C CVisualFrame * | NewL ( RChunk &, TInt , TInt , TInt , const TSize &, TInt ) |
| IMPORT_C CVisualFrame * | NewL ( TDes8 &, const TSize &, TInt , const TFrameLayout &) |
| IMPORT_C CVisualFrame * | NewL ( RChunk &, TInt , TInt , const TSize &, TInt , const TFrameLayout &) |
| IMPORT_C CVisualFrame * | NewL (const CImageFrame *) |
| IMPORT_C void | SetSizeL ( TInt ) |
| IMPORT_C TInt | Size () |
| Public Member Enumerations | |
|---|---|
| enum | TDataContainer { EInChunk , EInDescriptor } |
| enum |
TDataFormat
{
EFormatMonochrome = 0x0001, EFormat16bitRGB444 = 0x0002, EFormat16BitRGB565 = 0x0004, EFormat32BitRGB888 = 0x0008, EFormatJpeg = 0x0010, EFormatExif = 0x0020, EFormatFbsBitmapColor4K = 0x0040, EFormatFbsBitmapColor64K = 0x0080, EFormatFbsBitmapColor16M = 0x0100, EFormatUserDefined = 0x0200, EFormatYUV420Interleaved = 0x0400, EFormatYUV420Planar = 0x0800, EFormatYUV422 = 0x1000, EFormatYUV422Reversed = 0x2000, EFormatYUV444 = 0x4000, EFormatYUV420SemiPlanar = 0x8000, EFormatExtYUV422Interleaved = 0x00100000, EFormatExtYUV422Planar = 0x00200000, EFormatExtYUV444Planar = 0x00400000, EFormatExtDctCoeff = 0x00800000 } |
| Private Attributes | |
|---|---|
| CVisualFrameImpl * | iVisualFrameImpl |
| IMPORT_C const RChunk & | DataChunkL | ( | ) | const |
| IMPORT_C TDataContainer | DataContainer | ( | ) | const |
| IMPORT_C TInt | DataOffset | ( | ) | const |
| IMPORT_C TPtr8 | DataPtrL | ( | ) | const |
| IMPORT_C const TFrameLayout & | FrameLayout | ( | ) | const |
| IMPORT_C TInt | MaxSize | ( | ) | const |
| IMPORT_C CVisualFrame * | NewL | ( | TDes8 & | aBuffer, |
| const TSize & | aDimension, | |||
| TInt | aFrameFormat | |||
| ) | [static] | |||
| IMPORT_C CVisualFrame * | NewL | ( | RChunk & | aChunk, |
| TInt | aSize, | |||
| TInt | aMaxSize, | |||
| TInt | aDataOffset, | |||
| const TSize & | aDimension, | |||
| TInt | aFrameFormat | |||
| ) | [static] | |||
| RChunk & aChunk | An RChunk reference to buffer containing the image data. |
| TInt aSize | The amount of image data in bytes. |
| TInt aMaxSize | |
| TInt aDataOffset | The offset value specifying the location of the image data in the chunk. |
| const TSize & aDimension | The dimensions of the corresponding image data. |
| TInt aFrameFormat | The frame format of the corresponding image data. |
| IMPORT_C CVisualFrame * | NewL | ( | TDes8 & | aBuffer, |
| const TSize & | aDimension, | |||
| TInt | aFrameFormat, | |||
| const TFrameLayout & | aFrameLayout | |||
| ) | [static] | |||
| TDes8 & aBuffer | A descriptor reference to buffer containing the image data. |
| const TSize & aDimension | The dimensions of the corresponding image data. |
| TInt aFrameFormat | |
| const TFrameLayout & aFrameLayout | The layout of the image color components. |
| IMPORT_C CVisualFrame * | NewL | ( | RChunk & | aChunk, |
| TInt | aSize, | |||
| TInt | aMaxSize, | |||
| const TSize & | aDimension, | |||
| TInt | aFrameFormat, | |||
| const TFrameLayout & | aFrameLayout | |||
| ) | [static] | |||
| RChunk & aChunk | An RChunk reference to buffer containing the image data. |
| TInt aSize | The amount of image data in bytes. |
| TInt aMaxSize | The maximum size of the memory reserved in the chunk for the image data. |
| const TSize & aDimension | The dimensions of the corresponding image data. |
| TInt aFrameFormat | The frame format of the corresponding image data. |
| const TFrameLayout & aFrameLayout | The layout of the image color components. TFrameLayout contains the scan line lengths and offsets for each component in planar YUV case |
| IMPORT_C CVisualFrame * | NewL | ( | const CImageFrame * | aImageFrame | ) | [static] |
Symbian C++ Two-phased constructor.
| const CImageFrame * aImageFrame |
| IMPORT_C void | SetSizeL | ( | TInt | aSize | ) |
| TInt aSize |
| EFormatMonochrome = 0x0001 |
8 bit greyscale values, 0=black, 255=white. |
| EFormat16bitRGB444 = 0x0002 |
Packed RGB triplets, 4 bits per pixel with red in the least significant bits and the 4 most significant bits unused. |
| EFormat16BitRGB565 = 0x0004 |
Packed RGB triplets, 5 bits per pixel for red and blue and 6 bits for green, with red in the least significant bits. |
| EFormat32BitRGB888 = 0x0008 |
Packed RGB triplets, 8 bits per pixel with red in the least significant bits and the 8 most significant bits unused. |
| EFormatJpeg = 0x0010 |
JFIF JPEG. |
| EFormatExif = 0x0020 |
EXIF JPEG |
| EFormatFbsBitmapColor4K = 0x0040 |
CFbsBitmap object with display mode EColor4K. |
| EFormatFbsBitmapColor64K = 0x0080 |
CFbsBitmap object with display mode EColor64K. |
| EFormatFbsBitmapColor16M = 0x0100 |
CFbsBitmap object with display mode EColor16M. |
| EFormatUserDefined = 0x0200 |
Implementation dependent. |
| EFormatYUV420Interleaved = 0x0400 |
4:2:0 format, 8 bits per sample, Y00Y01Y10Y11UV. |
| EFormatYUV420Planar = 0x0800 |
4:2:0 format, 8 bits per sample, Y00Y01Y02Y03...U0...V0... |
| EFormatYUV422 = 0x1000 |
4:2:2 format, 8 bits per sample, UY0VY1. |
| EFormatYUV422Reversed = 0x2000 |
4:2:2 format, 8 bits per sample, Y1VY0U. |
| EFormatYUV444 = 0x4000 |
4:4:4 format, 8 bits per sample, Y00U00V00 Y01U01V01... |
| EFormatYUV420SemiPlanar = 0x8000 |
4:2:0 format, 8 bits per sample, Y00Y01Y02Y03...U0V0... |
| EFormatExtYUV422Interleaved = 0x00100000 |
4:2:2 format, 8 bits per sample, Y0Y1UV. |
| EFormatExtYUV422Planar = 0x00200000 |
4:2:2 format, 8 bits per sample, Y0Y1Y2...U0U1...V0V1. |
| EFormatExtYUV444Planar = 0x00400000 |
4:4:4 format, 8 bits per sample, Y0U0V0Y1U1V1. |
| EFormatExtDctCoeff = 0x00800000 |
DCT coefficients |
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.