Lines Matching refs:yidx
839 int xidx, yidx, yidx_max = (bgscale-1); in rpng2_win_load_bg_image() local
879 yidx = row % bgscale; in rpng2_win_load_bg_image()
882 r1 = r1_min + (r1_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()
883 g1 = g1_min + (g1_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()
884 b1 = b1_min + (b1_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()
885 r1_inv = r1_min + (r1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()
886 g1_inv = g1_min + (g1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()
887 b1_inv = b1_min + (b1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()
889 r2 = r2_min + (r2_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()
890 g2 = g2_min + (g2_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()
891 b2 = b2_min + (b2_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()
892 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()
893 g2_inv = g2_min + (g2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()
894 b2_inv = b2_min + (b2_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()
946 yidx = row % bgscale; in rpng2_win_load_bg_image()
947 if (yidx > hmax) in rpng2_win_load_bg_image()
948 yidx = bgscale-1 - yidx; in rpng2_win_load_bg_image()
954 k = xidx + yidx; in rpng2_win_load_bg_image()