Lines Matching refs:yidx_max

1059     int xidx, yidx, yidx_max;  in rpng2_x_load_bg_image()  local
1082 yidx_max = bgscale - 1; in rpng2_x_load_bg_image()
1107 r1 = r1_min + (r1_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1108 g1 = g1_min + (g1_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1109 b1 = b1_min + (b1_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1110 r1_inv = r1_min + (r1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()
1111 g1_inv = g1_min + (g1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()
1112 b1_inv = b1_min + (b1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()
1114 r2 = r2_min + (r2_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1115 g2 = g2_min + (g2_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1116 b2 = b2_min + (b2_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1117 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()
1118 g2_inv = g2_min + (g2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()
1119 b2_inv = b2_min + (b2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()
1843 int xidx, yidx, yidx_max; in rpng2_x_reload_bg_image() local
1851 yidx_max = bgscale - 1; in rpng2_x_reload_bg_image()
1876 r1 = r1_min + (r1_diff * yidx) / yidx_max; in rpng2_x_reload_bg_image()
1877 g1 = g1_min + (g1_diff * yidx) / yidx_max; in rpng2_x_reload_bg_image()
1878 b1 = b1_min + (b1_diff * yidx) / yidx_max; in rpng2_x_reload_bg_image()
1879 r1_inv = r1_min + (r1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_reload_bg_image()
1880 g1_inv = g1_min + (g1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_reload_bg_image()
1881 b1_inv = b1_min + (b1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_reload_bg_image()
1883 r2 = r2_min + (r2_diff * yidx) / yidx_max; in rpng2_x_reload_bg_image()
1884 g2 = g2_min + (g2_diff * yidx) / yidx_max; in rpng2_x_reload_bg_image()
1885 b2 = b2_min + (b2_diff * yidx) / yidx_max; in rpng2_x_reload_bg_image()
1886 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_reload_bg_image()
1887 g2_inv = g2_min + (g2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_reload_bg_image()
1888 b2_inv = b2_min + (b2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_reload_bg_image()