Home
last modified time | relevance | path

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

/external/libpng/contrib/gregbook/
Drpng2-x.c1127 uch g2_min = rgb[bg[pat].rgb2_min].g; in rpng2_x_load_bg_image() local
1133 int g2_diff = rgb[bg[pat].rgb2_max].g - g2_min; in rpng2_x_load_bg_image()
1148 g2 = g2_min + (g2_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1151 g2_inv = g2_min + (g2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()
1899 uch g2_min = rgb[bg[pat].rgb2_min].g; in rpng2_x_reload_bg_image() local
1905 int g2_diff = rgb[bg[pat].rgb2_max].g - g2_min; in rpng2_x_reload_bg_image()
1920 g2 = g2_min + (g2_diff * yidx) / yidx_max; in rpng2_x_reload_bg_image()
1923 g2_inv = g2_min + (g2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_reload_bg_image()
Drpng2-win.c875 uch g2_min = rgb[bg[pat].rgb2_min].g;
881 int g2_diff = rgb[bg[pat].rgb2_max].g - g2_min;
896 g2 = g2_min + (g2_diff * yidx) / yidx_max;
899 g2_inv = g2_min + (g2_diff * (yidx_max-yidx)) / yidx_max;