Searched refs:r2_diff (Results 1 – 2 of 2) sorted by relevance
1123 int r2_diff = rgb[bg[pat].rgb2_max].r - r2_min; in rpng2_x_load_bg_image() local1138 r2 = r2_min + (r2_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()1141 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()1895 int r2_diff = rgb[bg[pat].rgb2_max].r - r2_min; in rpng2_x_reload_bg_image() local1910 r2 = r2_min + (r2_diff * yidx) / yidx_max; in rpng2_x_reload_bg_image()1913 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_reload_bg_image()
874 int r2_diff = rgb[bg[pat].rgb2_max].r - r2_min; in rpng2_win_load_bg_image() local889 r2 = r2_min + (r2_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()892 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()