Lines Matching refs:bgscale
211 static int bgscale, bgscale_default = 16; variable
1105 bgscale = (pat == 0)? 8 : bgscale_default; in rpng2_x_load_bg_image()
1106 yidx_max = bgscale - 1; in rpng2_x_load_bg_image()
1128 yidx = (int)(row % bgscale); in rpng2_x_load_bg_image()
1129 even_odd_vert = (int)((row / bgscale) & 1); in rpng2_x_load_bg_image()
1147 even_odd_horiz = (int)((i / bgscale) & 1); in rpng2_x_load_bg_image()
1184 hmax = (bgscale-1)/2; /* half the max weight of a color */ in rpng2_x_load_bg_image()
1195 yidx = (int)(row % bgscale); in rpng2_x_load_bg_image()
1197 yidx = bgscale-1 - yidx; in rpng2_x_load_bg_image()
1200 xidx = (int)(i % bgscale); in rpng2_x_load_bg_image()
1202 xidx = bgscale-1 - xidx; in rpng2_x_load_bg_image()
1877 bgscale = (pat == 0)? 8 : bgscale_default; in rpng2_x_reload_bg_image()
1878 yidx_max = bgscale - 1; in rpng2_x_reload_bg_image()
1900 yidx = (int)(row % bgscale); in rpng2_x_reload_bg_image()
1901 even_odd_vert = (int)((row / bgscale) & 1); in rpng2_x_reload_bg_image()
1919 even_odd_horiz = (int)((i / bgscale) & 1); in rpng2_x_reload_bg_image()
1956 hmax = (bgscale-1)/2; /* half the max weight of a color */ in rpng2_x_reload_bg_image()
1967 yidx = (int)(row % bgscale); in rpng2_x_reload_bg_image()
1969 yidx = bgscale-1 - yidx; in rpng2_x_reload_bg_image()
1972 xidx = (int)(i % bgscale); in rpng2_x_reload_bg_image()
1974 xidx = bgscale-1 - xidx; in rpng2_x_reload_bg_image()