Home
last modified time | relevance | path

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

/external/libpng/contrib/gregbook/
Drpng2-x.c1112 uch b1_min = rgb[bg[pat].rgb1_min].b; in rpng2_x_load_bg_image() local
1118 int b1_diff = rgb[bg[pat].rgb1_max].b - b1_min; in rpng2_x_load_bg_image()
1129 b1 = b1_min + (b1_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1132 b1_inv = b1_min + (b1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()
1881 uch b1_min = rgb[bg[pat].rgb1_min].b; in rpng2_x_reload_bg_image() local
1887 int b1_diff = rgb[bg[pat].rgb1_max].b - b1_min; in rpng2_x_reload_bg_image()
1898 b1 = b1_min + (b1_diff * yidx) / yidx_max; in rpng2_x_reload_bg_image()
1901 b1_inv = b1_min + (b1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_reload_bg_image()
Drpng2-win.c842 uch b1_min = rgb[bg[pat].rgb1_min].b; in rpng2_win_load_bg_image() local
848 int b1_diff = rgb[bg[pat].rgb1_max].b - b1_min; in rpng2_win_load_bg_image()
859 b1 = b1_min + (b1_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()
862 b1_inv = b1_min + (b1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()