Main Page | Modules | Class List | File List | Class Members | File Members

Gan_Pixel Struct Reference
[Access Individual Pixels of an Image]

Structure definition for image pixel of any format or type. More...

#include <gandalf/image/pixel.h>

List of all members.

Public Attributes

Gan_ImageFormat format
 format of image: grey-level, RGB colour etc.
Gan_Type type
 type of pixel values: unsigned char, float etc.
union {
   union {
      unsigned char   uc
      short   s
      unsigned short   us
      int   i
      unsigned int   ui
      double   d
      float   f
      Gan_Bool   b
      void *   p
      gan_uint8   ui8
      gan_uint16   ui16
      gan_uint32   ui32
      Gan_YXPixel_ui10   ui10
      Gan_YXPixel_ui12   ui12
   }   gl
 grey level
   union {
      Gan_GLAPixel_uc   uc
      Gan_GLAPixel_s   s
      Gan_GLAPixel_us   us
      Gan_GLAPixel_i   i
      Gan_GLAPixel_ui   ui
      Gan_GLAPixel_d   d
      Gan_GLAPixel_f   f
      Gan_GLAPixel_ui8   ui8
      Gan_GLAPixel_ui16   ui16
      Gan_GLAPixel_ui32   ui32
   }   gla
 grey level with alpha channel
   union {
      Gan_RGBPixel_uc   uc
      Gan_RGBPixel_s   s
      Gan_RGBPixel_us   us
      Gan_RGBPixel_i   i
      Gan_RGBPixel_ui   ui
      Gan_RGBPixel_d   d
      Gan_RGBPixel_f   f
      Gan_RGBPixel_ui8   ui8
      Gan_RGBPixel_ui16   ui16
      Gan_RGBPixel_ui32   ui32
   }   rgb
 RGB colour.
   union {
      Gan_RGBAPixel_uc   uc
      Gan_RGBAPixel_s   s
      Gan_RGBAPixel_us   us
      Gan_RGBAPixel_i   i
      Gan_RGBAPixel_ui   ui
      Gan_RGBAPixel_d   d
      Gan_RGBAPixel_f   f
      Gan_RGBAPixel_ui8   ui8
      Gan_RGBAPixel_ui16   ui16
      Gan_RGBAPixel_ui32   ui32
      Gan_RGBAPixel_ui12   ui12
   }   rgba
 RGB colour with alpha channel.
   union {
      Gan_Vector2_f   f
      Gan_Vector2   d
      Gan_Vector2_s   s
      Gan_Vector2_i   i
   }   vfield2D
 2D vector field
   union {
      Gan_Vector3_f   f
      Gan_Vector3   d
      Gan_Vector3_s   s
      Gan_Vector3_i   i
   }   vfield3D
 3D vector field
   union {
      Gan_RGBXPixel_ui8   ui8
      Gan_RGBXPixel_ui10   ui10
   }   rgbx
 RGBX data.
   union {
      Gan_RGBASPixel_ui10   ui10
   }   rgbas
 RGBA data with small alpha channel.
   union {
      Gan_YUVX444Pixel_ui8   ui8
   }   yuvx444
 YUV 4-4-4 with padding to a word boundary.
   union {
      Gan_YUVA444Pixel_ui8   ui8
   }   yuva444
 YUVA 4-4-4.
   union {
      Gan_YUV422Pixel_ui8   ui8
   }   yuv422
 YUV 4-2-2.
data
 nested union defining pixel types


Detailed Description

Structure definition for image pixel of any format or type.


The documentation for this struct was generated from the following file:
Generated on Fri Mar 17 12:44:53 2006 by  doxygen 1.3.9.1