Searched refs:g2_diff (Results 1 – 2 of 2) sorted by relevance
1124 int g2_diff = rgb[bg[pat].rgb2_max].g - g2_min; in rpng2_x_load_bg_image() local1139 g2 = g2_min + (g2_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()1142 g2_inv = g2_min + (g2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()1896 int g2_diff = rgb[bg[pat].rgb2_max].g - g2_min; in rpng2_x_reload_bg_image() local1911 g2 = g2_min + (g2_diff * yidx) / yidx_max; in rpng2_x_reload_bg_image()1914 g2_inv = g2_min + (g2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_reload_bg_image()
875 int g2_diff = rgb[bg[pat].rgb2_max].g - g2_min; in rpng2_win_load_bg_image() local890 g2 = g2_min + (g2_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()893 g2_inv = g2_min + (g2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()