Searched refs:yidx_max (Results 1 – 2 of 2) sorted by relevance
1059 int xidx, yidx, yidx_max; in rpng2_x_load_bg_image() local1082 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()[all …]
837 int xidx, yidx, yidx_max = (bgscale-1); in rpng2_win_load_bg_image() local880 r1 = r1_min + (r1_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()881 g1 = g1_min + (g1_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()882 b1 = b1_min + (b1_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()883 r1_inv = r1_min + (r1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()884 g1_inv = g1_min + (g1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()885 b1_inv = b1_min + (b1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()887 r2 = r2_min + (r2_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()888 g2 = g2_min + (g2_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()889 b2 = b2_min + (b2_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()[all …]