Home
last modified time | relevance | path

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

/external/libpng/contrib/gregbook/
Drpng-x.c129 static uch bg_red=0, bg_green=0, bg_blue=0; variable
357 bg_red = (uch)r; in main()
360 } else if (readpng_get_bgcolor(&bg_red, &bg_green, &bg_blue) > 1) { in main()
614 bg_pixel = ((ulg)bg_red << RShift) | in rpng_x_create_window()
618 bg_pixel = ((((ulg)bg_red << 8) >> RShift) & RMask) | in rpng_x_create_window()
749 red = bg_red; in rpng_x_display_image()
756 alpha_composite(red, r, a, bg_red); in rpng_x_display_image()
811 red = ((ush)bg_red << 8); in rpng_x_display_image()
818 alpha_composite(r, r, a, bg_red); in rpng_x_display_image()
Drpng-win.c121 static uch bg_red=0, bg_green=0, bg_blue=0; variable
369 bg_red = (uch)r; in WinMain()
372 } else if (readpng_get_bgcolor(&bg_red, &bg_green, &bg_blue) > 1) { in WinMain()
487 *dest++ = bg_red; in rpng_win_create_window()
580 *dest++ = bg_red; in rpng_win_display_image()
588 alpha_composite(*dest++, r, a, bg_red); in rpng_win_display_image()
Dreadpng2.c440 mainprog_ptr->bg_red = pBackground->red >> 8; in readpng2_info_callback()
445 mainprog_ptr->bg_red = mainprog_ptr->bg_green = in readpng2_info_callback()
448 mainprog_ptr->bg_red = mainprog_ptr->bg_green = in readpng2_info_callback()
451 mainprog_ptr->bg_red = mainprog_ptr->bg_green = in readpng2_info_callback()
454 mainprog_ptr->bg_red = (uch)pBackground->red; in readpng2_info_callback()
Drpng2-x.c576 rpng2_info.bg_red = (uch)r; in main()
823 ulg bg_red = rpng2_info.bg_red; in rpng2_x_create_window() local
1037 bg_pixel = (bg_red << RShift) | in rpng2_x_create_window()
1041 bg_pixel = (((bg_red << 8) >> RShift) & RMask) | in rpng2_x_create_window()
1370 uch bg_red = rpng2_info.bg_red; in rpng2_x_display_row() local
1455 bg_red = *src2++; in rpng2_x_display_row()
1464 red = bg_red; in rpng2_x_display_row()
1471 alpha_composite(red, r, a, bg_red); in rpng2_x_display_row()
1523 bg_red = *src2++; in rpng2_x_display_row()
1532 red = ((ush)bg_red << 8); in rpng2_x_display_row()
[all …]
Drpng2-win.c531 rpng2_info.bg_red = (uch)r; in WinMain()
664 uch bg_red = rpng2_info.bg_red; in rpng2_win_create_window() local
718 *dest++ = bg_red; in rpng2_win_create_window()
788 *dest++ = bg_red; in rpng2_win_create_window()
1047 uch bg_red = rpng2_info.bg_red; in rpng2_win_display_row() local
1096 bg_red = *src2++; in rpng2_win_display_row()
1107 *dest++ = bg_red; in rpng2_win_display_row()
1115 alpha_composite(*dest++, r, a, bg_red); in rpng2_win_display_row()
Dreadpng.h83 int readpng_get_bgcolor(uch *bg_red, uch *bg_green, uch *bg_blue);
Dreadpng2.h105 uch bg_red; member
Dwritepng.h115 uch bg_red; member
Dwritepng.c164 background.red = mainprog_ptr->bg_red; in writepng_init()
Dwpng.c281 wpng_info.bg_red = (uch)r; in main()