Lines Matching refs:yidx_max
837 int xidx, yidx, yidx_max = (bgscale-1); in rpng2_win_load_bg_image() local
880 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()
890 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()
891 g2_inv = g2_min + (g2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()
892 b2_inv = b2_min + (b2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()