pike.git / src / modules / Image / colortable.h

version» Context lines:

pike.git/src/modules/Image/colortable.h:30:    rgb_group color;    nct_weight_t weight;    INT32 no;   };      struct nct_scale   {    struct nct_scale *next;    rgb_group low,high;    rgbl_group vector; /* high-low */ -  double invsqvector; /* |vector|² */ +  double invsqvector; /* |vector|^2 */    INT32 realsteps;    int steps;    double mqsteps; /* 1.0/(steps-1) */    int no[1]; /* actually no[steps] */   };      struct neo_colortable   {    enum nct_type    {
pike.git/src/modules/Image/colortable.h:120:    {    float downback;    float down;    float downforward;    float forward;    int dir;    } floyd_steinberg;    struct nctd_randomcube    {    int r,g,b; +  struct svalue *rnd;    } randomcube;    struct nctd_ordered    {    int xs,ys;    int xa,ya;    int *rdiff,*gdiff,*bdiff;    int rx,ry,gx,gy,bx,by;    int row;    int same; /* true if rdiff, gdiff & bdiff is the same */    } ordered;