Home
last modified time | relevance | path

Searched refs:r2_diff (Results 1 – 2 of 2) sorted by relevance

/external/libpng/contrib/gregbook/
Drpng2-x.c1132 int r2_diff = rgb[bg[pat].rgb2_max].r - r2_min; in rpng2_x_load_bg_image() local
1147 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() local
1919 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()
Drpng2-win.c880 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;