Searched refs:r2_diff (Results 1 – 2 of 2) sorted by relevance
1132 int r2_diff = rgb[bg[pat].rgb2_max].r - r2_min; in rpng2_x_load_bg_image() local1147 r2 = r2_min + (r2_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()1150 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()1904 int r2_diff = rgb[bg[pat].rgb2_max].r - r2_min; in rpng2_x_reload_bg_image() local1919 r2 = r2_min + (r2_diff * yidx) / yidx_max; in rpng2_x_reload_bg_image()1922 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_reload_bg_image()
880 int r2_diff = rgb[bg[pat].rgb2_max].r - r2_min;895 r2 = r2_min + (r2_diff * yidx) / yidx_max;898 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max;