Lines Matching refs:uch
159 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
187 static uch inbuf[INBUFSIZE];
194 static uch *bg_data;
197 uch r, g, b;
264 static uch *dib;
265 static uch *wimage_data;
555 rpng2_info.bg_red = (uch)r; in WinMain()
556 rpng2_info.bg_green = (uch)g; in WinMain()
557 rpng2_info.bg_blue = (uch)b; in WinMain()
659 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_win_init()
665 rpng2_info.row_pointers = (uch **)malloc(rpng2_info.height * sizeof(uch *)); in rpng2_win_init()
695 uch bg_red = rpng2_info.bg_red;
696 uch bg_green = rpng2_info.bg_green;
697 uch bg_blue = rpng2_info.bg_blue;
698 uch *dest;
712 if (!(dib = (uch *)malloc(sizeof(BITMAPINFOHEADER) +
841 uch *src, *dest;
842 uch r1, r2, g1, g2, b1, b2;
843 uch r1_inv, r2_inv, g1_inv, g2_inv, b1_inv, b2_inv;
857 bg_data = (uch *)malloc(bg_rowbytes * rpng2_info.height);
871 uch r1_min = rgb[bg[pat].rgb1_min].r;
872 uch g1_min = rgb[bg[pat].rgb1_min].g;
873 uch b1_min = rgb[bg[pat].rgb1_min].b;
874 uch r2_min = rgb[bg[pat].rgb2_min].r;
875 uch g2_min = rgb[bg[pat].rgb2_min].g;
876 uch b2_min = rgb[bg[pat].rgb2_min].b;
974 uch ch;
1021 ch = (uch)(v * 255.0);
1040 *dest++ = (uch)(red * 255.0);
1041 *dest++ = (uch)(green * 255.0);
1042 *dest++ = (uch)(blue * 255.0);
1078 uch bg_red = rpng2_info.bg_red;
1079 uch bg_green = rpng2_info.bg_green;
1080 uch bg_blue = rpng2_info.bg_blue;
1081 uch *src, *src2=NULL, *dest;
1082 uch r, g, b, a;