Searched refs:g1_diff (Results 1 – 2 of 2) sorted by relevance
1117 int g1_diff = rgb[bg[pat].rgb1_max].g - g1_min; in rpng2_x_load_bg_image() local1128 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()1886 int g1_diff = rgb[bg[pat].rgb1_max].g - g1_min; in rpng2_x_reload_bg_image() local1897 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()
847 int g1_diff = rgb[bg[pat].rgb1_max].g - g1_min; in rpng2_win_load_bg_image() local858 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()