Lines Matching full:r2_diff
849 int r2_diff = rgb[bg[pat].rgb2_max].r - r2_min;864 r2 = r2_min + (r2_diff * yidx) / yidx_max;867 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max;