18#define ABS(x)  ((x) > 0 ? (x) : (-(x))) 
   24#define COLOR_ARRAY_SIZE 32768 
   25#define BITS_PER_PRIM_COLOR 5 
   26#define MAX_PRIM_COLOR      0x1f 
   70    long Red, Green, Blue;
 
   88    for (i = 0; i < (
int)(Width * Height); i++) {
 
   99    for (i = 0; i < 256; i++) {
 
  102        for (
j = 0; 
j < 3; 
j++) {
 
  142            Red = Green = Blue = 0;
 
  155            fprintf(
stderr, 
"Null entry in quantized color map - thats weird.");
 
  161    for (i = 0; i < (
int)(Width * Height); i++) {
 
  179            "Quantization L(0) errors: Red = %d, Green = %d, Blue = %d.\n",
 
 
  209            for (
j = 0; 
j < 3; 
j++) {
 
  274        for (
j = 0; 
j < 3; 
j++) {
 
  289        (*NewColorMapSize)++;
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
QuantizedColorType * QuantizedColors
 
struct QuantizedColorType * Pnext
 
#define BITS_PER_PRIM_COLOR
 
static int SubdivColorMap(NewColorMapType *NewColorSubdiv, unsigned int ColorMapSize, unsigned int *NewColorMapSize)
 
struct NewColorMapType NewColorMapType
 
static int SortCmpRtn(const void *Entry1, const void *Entry2)
 
struct GifColorType GifColorType
 
int GIFquantize(unsigned int Width, unsigned int Height, int *ColorMapSize, byte *RedInput, byte *GreenInput, byte *BlueInput, byte *OutputBuffer, GifColorType *OutputColorMap)
 
struct QuantizedColorType QuantizedColorType