Searched refs:g1_min (Results 1 – 2 of 2) sorted by relevance
1111 uch g1_min = rgb[bg[pat].rgb1_min].g; in rpng2_x_load_bg_image() local1117 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() local1886 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()
841 uch g1_min = rgb[bg[pat].rgb1_min].g; in rpng2_win_load_bg_image() local847 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()