class CVtImage : public CBase |
Abstract base class for VS images.
videosource.lib
Public Member Functions | |
---|---|
TInt | BytesPerRow () |
TUint32 * | DataAddress () |
TVtDisplayMode | DisplayMode () |
TVtDisplayMode | DisplayModeToVtDisplayMode ( TDisplayMode ) |
TUint32 * | LineAddress ( TInt ) |
TBool | NeedHeapLock () |
TSize | Size () |
IMPORT_C TVtImageType | Type () |
Protected Member Functions | |
---|---|
CVtImage ( TVtImageType ) |
Public Member Enumerations | |
---|---|
enum |
TVtDisplayMode
{
EVtColorNone , EVtColor4K , EVtColor64K , EVtColor16M , EVtColor16MU , EVtColor16MA , EVtColorIYUV } |
enum | TVtImageType { EVtImageBitmap , EVtImageIYUV } |
Private Attributes | |
---|---|
TVtImageType | iType |
CVtImage | ( | TVtImageType | aType | ) | [protected] |
C++ constructor.
TVtImageType aType |
TInt | BytesPerRow | ( | ) | const [pure virtual] |
Pure virtual function to get how many bytes this image has per scaline.
TUint32 * | DataAddress | ( | ) | const [pure virtual] |
Pure virtual function to get pointer to image data.
TVtDisplayMode | DisplayMode | ( | ) | const [pure virtual] |
Pure virtual function to get displaymode from image.
TVtDisplayMode | DisplayModeToVtDisplayMode | ( | TDisplayMode | aMode | ) | [static] |
Converts given TDisplayMode to corresponding TVtDisplayMode.
TDisplayMode aMode | Display mode as TDisplayMode. |
TUint32 * | LineAddress | ( | TInt | aLine | ) | const [pure virtual] |
Pure virtual function to get pointer to image data at defined line. If aLine is lower than zero then line zero is returned, also if aLine is greater than height of the image minus 1 ( height - 1 ) then line number ( height - 1 ) is returned.
TInt aLine | Number of vertical line for which pointer is wanted. |
TBool | NeedHeapLock | ( | ) | const [pure virtual] |
Pure virtual function to check whether bitmap heap needs to be locked for this image type.
Vt display modes. Used for identifying image's data format.
EVtColorNone |
Unsupported display mode. |
EVtColor4K |
4096 colour display mode (12 bpp). |
EVtColor64K |
2^16 colour display mode (16 bpp). |
EVtColor16M |
True colour display mode (24 bpp). |
EVtColor16MU |
True colour display mode (32 bpp). |
EVtColor16MA |
True colour display mode with alpha (32 bpp). |
EVtColorIYUV |
YUV 420 planar display mode. |
Enumeration for supported image types.
EVtImageBitmap |
CFbsBitmap image. |
EVtImageIYUV |
YUV 420 planar image where all Y samples are found first in memory as an array of unsigned char (possibly with a larger stride for memory alignment), followed immediately by all Cr (U) samples (with half the stride of the Y lines, and half the number of lines), then followed immediately by all Cb (V) samples in a similar fashion. |
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.