Home
last modified time | relevance | path

Searched refs:bg_green (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
358 bg_green = (uch)g; in main()
360 } else if (readpng_get_bgcolor(&bg_red, &bg_green, &bg_blue) > 1) { in main()
615 ((ulg)bg_green << GShift) | in rpng_x_create_window()
619 ((((ulg)bg_green << 8) >> GShift) & GMask) | in rpng_x_create_window()
750 green = bg_green; in rpng_x_display_image()
757 alpha_composite(green, g, a, bg_green); in rpng_x_display_image()
812 green = ((ush)bg_green << 8); in rpng_x_display_image()
819 alpha_composite(g, g, a, bg_green); in rpng_x_display_image()
Drpng-win.c121 static uch bg_red=0, bg_green=0, bg_blue=0; variable
370 bg_green = (uch)g; in WinMain()
372 } else if (readpng_get_bgcolor(&bg_red, &bg_green, &bg_blue) > 1) { in WinMain()
486 *dest++ = bg_green; in rpng_win_create_window()
579 *dest++ = bg_green; in rpng_win_display_image()
587 alpha_composite(*dest++, g, a, bg_green); in rpng_win_display_image()
Dreadpng2.c441 mainprog_ptr->bg_green = pBackground->green >> 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()
455 mainprog_ptr->bg_green = (uch)pBackground->green; in readpng2_info_callback()
Drpng2-x.c577 rpng2_info.bg_green = (uch)g; in main()
824 ulg bg_green = rpng2_info.bg_green; in rpng2_x_create_window() local
1038 (bg_green << GShift) | in rpng2_x_create_window()
1042 (((bg_green << 8) >> GShift) & GMask) | in rpng2_x_create_window()
1371 uch bg_green = rpng2_info.bg_green; in rpng2_x_display_row() local
1456 bg_green = *src2++; in rpng2_x_display_row()
1465 green = bg_green; in rpng2_x_display_row()
1472 alpha_composite(green, g, a, bg_green); in rpng2_x_display_row()
1524 bg_green = *src2++; in rpng2_x_display_row()
1533 green = ((ush)bg_green << 8); in rpng2_x_display_row()
[all …]
Drpng2-win.c532 rpng2_info.bg_green = (uch)g; in WinMain()
665 uch bg_green = rpng2_info.bg_green; in rpng2_win_create_window() local
717 *dest++ = bg_green; in rpng2_win_create_window()
787 *dest++ = bg_green; in rpng2_win_create_window()
1048 uch bg_green = rpng2_info.bg_green; in rpng2_win_display_row() local
1097 bg_green = *src2++; in rpng2_win_display_row()
1106 *dest++ = bg_green; in rpng2_win_display_row()
1114 alpha_composite(*dest++, g, a, bg_green); in rpng2_win_display_row()
Dreadpng.h83 int readpng_get_bgcolor(uch *bg_red, uch *bg_green, uch *bg_blue);
Dreadpng2.h106 uch bg_green; member
Dwritepng.h116 uch bg_green; member
Dwritepng.c165 background.green = mainprog_ptr->bg_green; in writepng_init()
Dwpng.c282 wpng_info.bg_green = (uch)g; in main()