Home | History | Annotate | Download | only in gregbook

Lines Matching full:uch

110 #define CLIP8P(c)        MAX(0,(MIN((c),255)))   /* 8-bit pos. integer (uch) */
131 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
159 static uch inbuf[INBUFSIZE];
166 static uch *bg_data;
169 uch r, g, b;
236 static uch *dib;
237 static uch *wimage_data;
531 rpng2_info.bg_red = (uch)r;
532 rpng2_info.bg_green = (uch)g;
533 rpng2_info.bg_blue = (uch)b;
628 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height);
634 rpng2_info.row_pointers = (uch **)malloc(rpng2_info.height * sizeof(uch *));
664 uch bg_red = rpng2_info.bg_red;
665 uch bg_green = rpng2_info.bg_green;
666 uch bg_blue = rpng2_info.bg_blue;
667 uch *dest;
681 if (!(dib = (uch *)malloc(sizeof(BITMAPINFOHEADER) +
810 uch *src, *dest;
811 uch r1, r2, g1, g2, b1, b2;
812 uch r1_inv, r2_inv, g1_inv, g2_inv, b1_inv, b2_inv;
826 bg_data = (uch *)malloc(bg_rowbytes * rpng2_info.height);
840 uch r1_min = rgb[bg[pat].rgb1_min].r;
841 uch g1_min = rgb[bg[pat].rgb1_min].g;
842 uch b1_min = rgb[bg[pat].rgb1_min].b;
843 uch r2_min = rgb[bg[pat].rgb2_min].r;
844 uch g2_min = rgb[bg[pat].rgb2_min].g;
845 uch b2_min = rgb[bg[pat].rgb2_min].b;
943 uch ch;
990 ch = (uch)(v * 255.0);
1009 *dest++ = (uch)(red * 255.0);
1010 *dest++ = (uch)(green * 255.0);
1011 *dest++ = (uch)(blue * 255.0);
1047 uch bg_red = rpng2_info.bg_red;
1048 uch bg_green = rpng2_info.bg_green;
1049 uch bg_blue = rpng2_info.bg_blue;
1050 uch *src, *src2=NULL, *dest;
1051 uch r, g, b, a;