Back to index

radiance  4R0+20100331
Classes | Defines | Typedefs | Functions | Variables
pic.h File Reference

Go to the source code of this file.

Classes

struct  rgbpixel

Defines

#define rgb_bright(p)   (int)((77L*(p)->r+151L*(p)->g+28L*(p)->b)/256)

Typedefs

typedef int colormap [3][256]
typedef unsigned char pixel

Functions

void initializeclosest (void)
int closest (int r, int g, int b)
int makecm (int nw, int *na)
void ciq (int dith, int nw, int synth, colormap cm)
void biq (int dith, int nw, int synth, colormap cm)
void picreadcm (colormap map)
void picwritecm (colormap cm)
void picwriteline (int y, pixel *l)
void picreadline3 (int y, rgbpixel *l3)

Variables

int xmax
int ymax

Class Documentation

struct rgbpixel

Definition at line 15 of file pic.h.

Class Members
pixel b
pixel g
pixel r

Define Documentation

#define rgb_bright (   p)    (int)((77L*(p)->r+151L*(p)->g+28L*(p)->b)/256)

Definition at line 19 of file pic.h.


Typedef Documentation

typedef int colormap[3][256]

Definition at line 11 of file pic.h.

typedef unsigned char pixel

Definition at line 13 of file pic.h.


Function Documentation

void biq ( int  dith,
int  nw,
int  synth,
colormap  cm 
)
void ciq ( int  dith,
int  nw,
int  synth,
colormap  cm 
)
int closest ( int  r,
int  g,
int  b 
)
void initializeclosest ( void  )
int makecm ( int  nw,
int *  na 
)
void picreadcm ( colormap  map)
void picreadline3 ( int  y,
rgbpixel l3 
)
void picwritecm ( colormap  cm)
void picwriteline ( int  y,
pixel l 
)

Variable Documentation

int xmax

Definition at line 111 of file macbethcal.c.

int ymax

Definition at line 111 of file macbethcal.c.