Home
last modified time | relevance | path

Searched refs:bg_red (Results 1 – 10 of 10) sorted by relevance

/external/libpng/contrib/gregbook/
Dreadpng2.c284 mainprog_ptr->bg_red = pBackground->red >> 8; in readpng2_info_callback()
289 mainprog_ptr->bg_red = mainprog_ptr->bg_green = in readpng2_info_callback()
292 mainprog_ptr->bg_red = mainprog_ptr->bg_green = in readpng2_info_callback()
295 mainprog_ptr->bg_red = mainprog_ptr->bg_green = in readpng2_info_callback()
298 mainprog_ptr->bg_red = (uch)pBackground->red; in readpng2_info_callback()
Drpng-x.c132 static uch bg_red=0, bg_green=0, bg_blue=0; variable
362 bg_red = (uch)r; in main()
365 } else if (readpng_get_bgcolor(&bg_red, &bg_green, &bg_blue) > 1) { in main()
621 bg_pixel = ((ulg)bg_red << RShift) | in rpng_x_create_window()
625 bg_pixel = ((((ulg)bg_red << 8) >> RShift) & RMask) | in rpng_x_create_window()
756 red = bg_red; in rpng_x_display_image()
763 alpha_composite(red, r, a, bg_red); in rpng_x_display_image()
818 red = ((ush)bg_red << 8); in rpng_x_display_image()
825 alpha_composite(r, r, a, bg_red); in rpng_x_display_image()
Drpng-win.c148 static uch bg_red=0, bg_green=0, bg_blue=0; variable
409 bg_red = (uch)r; in WinMain()
412 } else if (readpng_get_bgcolor(&bg_red, &bg_green, &bg_blue) > 1) { in WinMain()
538 *dest++ = bg_red; in rpng_win_create_window()
631 *dest++ = bg_red; in rpng_win_display_image()
639 alpha_composite(*dest++, r, a, bg_red); in rpng_win_display_image()
Drpng2-x.c579 rpng2_info.bg_red = (uch)r; in main()
836 ulg bg_red = rpng2_info.bg_red; in rpng2_x_create_window() local
1050 bg_pixel = (bg_red << RShift) | in rpng2_x_create_window()
1054 bg_pixel = (((bg_red << 8) >> RShift) & RMask) | in rpng2_x_create_window()
1383 uch bg_red = rpng2_info.bg_red; in rpng2_x_display_row() local
1468 bg_red = *src2++; in rpng2_x_display_row()
1477 red = bg_red; in rpng2_x_display_row()
1484 alpha_composite(red, r, a, bg_red); in rpng2_x_display_row()
1536 bg_red = *src2++; in rpng2_x_display_row()
1545 red = ((ush)bg_red << 8); in rpng2_x_display_row()
[all …]
Drpng2-win.c555 rpng2_info.bg_red = (uch)r; in WinMain()
695 uch bg_red = rpng2_info.bg_red;
749 *dest++ = bg_red;
819 *dest++ = bg_red;
1078 uch bg_red = rpng2_info.bg_red;
1127 bg_red = *src2++;
1138 *dest++ = bg_red;
1146 alpha_composite(*dest++, r, a, bg_red);
Dreadpng.h83 int readpng_get_bgcolor(uch *bg_red, uch *bg_green, uch *bg_blue);
Dreadpng2.h100 uch bg_red; member
Dwritepng.h115 uch bg_red; member
Dwritepng.c166 background.red = mainprog_ptr->bg_red; in writepng_init()
Dwpng.c282 wpng_info.bg_red = (uch)r; in main()