Lines Matching refs:uch
172 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
208 static uch inbuf[INBUFSIZE];
215 static uch *bg_data;
222 uch r, g, b;
579 rpng2_info.bg_red = (uch)r; in main()
580 rpng2_info.bg_green = (uch)g; in main()
581 rpng2_info.bg_blue = (uch)b; in main()
792 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_x_init()
798 rpng2_info.row_pointers = (uch **)malloc(rpng2_info.height * sizeof(uch *)); in rpng2_x_init()
843 uch *xdata; in rpng2_x_create_window()
1006 xdata = (uch *)malloc(4*rpng2_info.width*rpng2_info.height); in rpng2_x_create_window()
1009 xdata = (uch *)malloc(2*rpng2_info.width*rpng2_info.height); in rpng2_x_create_window()
1012 xdata = (uch *)malloc(rpng2_info.width*rpng2_info.height); in rpng2_x_create_window()
1087 uch *src; in rpng2_x_load_bg_image()
1089 uch r1, r2, g1, g2, b1, b2; in rpng2_x_load_bg_image()
1090 uch r1_inv, r2_inv, g1_inv, g2_inv, b1_inv, b2_inv; in rpng2_x_load_bg_image()
1106 bg_data = (uch *)malloc(bg_rowbytes * rpng2_info.height); in rpng2_x_load_bg_image()
1123 uch r1_min = rgb[bg[pat].rgb1_min].r; in rpng2_x_load_bg_image()
1124 uch g1_min = rgb[bg[pat].rgb1_min].g; in rpng2_x_load_bg_image()
1125 uch b1_min = rgb[bg[pat].rgb1_min].b; in rpng2_x_load_bg_image()
1126 uch r2_min = rgb[bg[pat].rgb2_min].r; in rpng2_x_load_bg_image()
1127 uch g2_min = rgb[bg[pat].rgb2_min].g; in rpng2_x_load_bg_image()
1128 uch b2_min = rgb[bg[pat].rgb2_min].b; in rpng2_x_load_bg_image()
1226 uch ch; in rpng2_x_load_bg_image()
1273 ch = (uch)(v * 255.0); in rpng2_x_load_bg_image()
1292 *dest++ = (uch)(red * 255.0); in rpng2_x_load_bg_image()
1293 *dest++ = (uch)(green * 255.0); in rpng2_x_load_bg_image()
1294 *dest++ = (uch)(blue * 255.0); in rpng2_x_load_bg_image()
1383 uch bg_red = rpng2_info.bg_red; in rpng2_x_display_row()
1384 uch bg_green = rpng2_info.bg_green; in rpng2_x_display_row()
1385 uch bg_blue = rpng2_info.bg_blue; in rpng2_x_display_row()
1386 uch *src, *src2=NULL; in rpng2_x_display_row()
1388 uch r, g, b, a; in rpng2_x_display_row()
1624 uch bg_red = rpng2_info.bg_red; in rpng2_x_redisplay_image()
1625 uch bg_green = rpng2_info.bg_green; in rpng2_x_redisplay_image()
1626 uch bg_blue = rpng2_info.bg_blue; in rpng2_x_redisplay_image()
1627 uch *src, *src2=NULL; in rpng2_x_redisplay_image()
1629 uch r, g, b, a; in rpng2_x_redisplay_image()
1876 uch r1, r2, g1, g2, b1, b2; in rpng2_x_reload_bg_image()
1877 uch r1_inv, r2_inv, g1_inv, g2_inv, b1_inv, b2_inv; in rpng2_x_reload_bg_image()
1895 uch r1_min = rgb[bg[pat].rgb1_min].r; in rpng2_x_reload_bg_image()
1896 uch g1_min = rgb[bg[pat].rgb1_min].g; in rpng2_x_reload_bg_image()
1897 uch b1_min = rgb[bg[pat].rgb1_min].b; in rpng2_x_reload_bg_image()
1898 uch r2_min = rgb[bg[pat].rgb2_min].r; in rpng2_x_reload_bg_image()
1899 uch g2_min = rgb[bg[pat].rgb2_min].g; in rpng2_x_reload_bg_image()
1900 uch b2_min = rgb[bg[pat].rgb2_min].b; in rpng2_x_reload_bg_image()
1998 uch ch; in rpng2_x_reload_bg_image()
2041 ch = (uch)(v * 255.0); in rpng2_x_reload_bg_image()
2060 *dest++ = (uch)(red * 255.0); in rpng2_x_reload_bg_image()
2061 *dest++ = (uch)(green * 255.0); in rpng2_x_reload_bg_image()
2062 *dest++ = (uch)(blue * 255.0); in rpng2_x_reload_bg_image()