< prev index next >

src/java.desktop/unix/native/common/awt/colordata.h

Print this page




  27 
  28 #include "img_globals.h"
  29 
  30 typedef struct ColorEntry {
  31         unsigned char r, g, b;
  32         unsigned char flags;
  33 } ColorEntry;
  34 
  35 typedef struct _ColorData {
  36     ColorEntry  *awt_Colors;
  37     int         awt_numICMcolors;
  38     int         *awt_icmLUT;
  39     unsigned char *awt_icmLUT2Colors;
  40     unsigned char *img_grays;
  41     unsigned char *img_clr_tbl;
  42     char* img_oda_red;
  43     char* img_oda_green;
  44     char* img_oda_blue;
  45     int *pGrayInverseLutData;
  46     int screendata;

  47 } ColorData;
  48 
  49 
  50 #define CANFREE(pData) (pData  && (pData->screendata == 0))
  51 
  52 #endif           /* _COLORDATA_H_ */


  27 
  28 #include "img_globals.h"
  29 
  30 typedef struct ColorEntry {
  31         unsigned char r, g, b;
  32         unsigned char flags;
  33 } ColorEntry;
  34 
  35 typedef struct _ColorData {
  36     ColorEntry  *awt_Colors;
  37     int         awt_numICMcolors;
  38     int         *awt_icmLUT;
  39     unsigned char *awt_icmLUT2Colors;
  40     unsigned char *img_grays;
  41     unsigned char *img_clr_tbl;
  42     char* img_oda_red;
  43     char* img_oda_green;
  44     char* img_oda_blue;
  45     int *pGrayInverseLutData;
  46     int screendata;
  47     int representsPrimaries;
  48 } ColorData;
  49 
  50 
  51 #define CANFREE(pData) (pData  && (pData->screendata == 0))
  52 
  53 #endif           /* _COLORDATA_H_ */
< prev index next >