Home
last modified time | relevance | path

Searched refs:g1_min (Results 1 – 2 of 2) sorted by relevance

/external/libpng/contrib/gregbook/
Drpng2-x.c1111 uch g1_min = rgb[bg[pat].rgb1_min].g; in rpng2_x_load_bg_image() local
1117 int g1_diff = rgb[bg[pat].rgb1_max].g - g1_min; in rpng2_x_load_bg_image()
1128 g1 = g1_min + (g1_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1131 g1_inv = g1_min + (g1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()
1880 uch g1_min = rgb[bg[pat].rgb1_min].g; in rpng2_x_reload_bg_image() local
1886 int g1_diff = rgb[bg[pat].rgb1_max].g - g1_min; in rpng2_x_reload_bg_image()
1897 g1 = g1_min + (g1_diff * yidx) / yidx_max; in rpng2_x_reload_bg_image()
1900 g1_inv = g1_min + (g1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_reload_bg_image()
Drpng2-win.c841 uch g1_min = rgb[bg[pat].rgb1_min].g; in rpng2_win_load_bg_image() local
847 int g1_diff = rgb[bg[pat].rgb1_max].g - g1_min; in rpng2_win_load_bg_image()
858 g1 = g1_min + (g1_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()
861 g1_inv = g1_min + (g1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()