Lines Matching full:r2_diff
1119 int r2_diff = rgb[bg[pat].rgb2_max].r - r2_min;
1134 r2 = r2_min + (r2_diff * yidx) / yidx_max;
1137 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max;
1888 int r2_diff = rgb[bg[pat].rgb2_max].r - r2_min;
1903 r2 = r2_min + (r2_diff * yidx) / yidx_max;
1906 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max;