gml_Bitmap.h File Reference


Detailed Description

Defines the gml_TBitmap struct: a structure that describes how the set of pixels of a bitmap are organized in memory.

Defines gml_TPixelEncoding that explains the way a pixel is represented in memory.

#include "gml/base/gml_Types.h"

Go to the source code of this file.


Classes

struct  gml_TBitmap
 A structure that describes how the set of pixels of a bitmap are organized in memory. More...

Enumerations

enum  gml_TPixelEncoding {
  gml_cEncoding_NULL = 0, gml_cEncoding_G_8 = 256, gml_cEncoding_G_16 = 512, gml_cEncoding_RGB_888 = 768, gml_cEncoding_HSV_888,
  gml_cEncoding_LRG_888, gml_cEncoding_HLS_888, gml_cEncoding_YUV_888, gml_cEncoding_XRGB_8888 = 1024, gml_cEncoding_ARGB_8888,
  gml_cEncoding_XYUV_8888, gml_cEncoding_G_F, gml_cEncoding_G_32, gml_cEncoding_RGB_FFF = 1536, gml_cEncoding_HSV_SSS,
  gml_cEncoding_LRG_SSS, gml_cEncoding_HLS_SSS, gml_cEncoding_YUV_SSS, gml_cEncoding_LRG_FFF = 3072, gml_cEncoding_HLS_FFF,
  gml_cEncoding_HSV_FFF, gml_cEncoding_YUV_FFF, gml_cEncoding_ARGB_FFFF = 4096
}
 Defines the way a pixel is represented in memory order, ie. More...

Functions

static int gml_PixelSize (gml_TPixelEncoding encoding)
 Returns the size, in byte, of the memory storage of a pixel given a PixelEncoding.

Enumeration Type Documentation

Defines the way a pixel is represented in memory order, ie.

this does not depend on the machine byte ordering in words (big or little endian).

Enumerator:
gml_cEncoding_NULL  NULL encoding: invalid encoding, may mean "undefined".
gml_cEncoding_G_8  8 bits greyscale, 0 is black, 255 is white
gml_cEncoding_G_16  16 bit greyscale, 0 is black
gml_cEncoding_HSV_888  HSV colorspace.
gml_cEncoding_LRG_888  LRG colorspace.
gml_cEncoding_HLS_888  HLS colorspace.
gml_cEncoding_YUV_888  YUV colorspace.
gml_cEncoding_G_F  single precision floating-point greyscale, 0 is black, 1 is white
gml_cEncoding_G_32  32-bit greyscale, 0 is black


Function Documentation

static int gml_PixelSize ( gml_TPixelEncoding  encoding  )  [inline, static]

Returns the size, in byte, of the memory storage of a pixel given a PixelEncoding.

Compile-time constant.

Generated on Tue Jun 12 14:03:28 2007 for gml by Doxygen 1.5.2.