Home
last modified time | relevance | path

Searched refs:bgscale (Results 1 – 2 of 2) sorted by relevance

/external/libpng/contrib/gregbook/
Drpng2-x.c211 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()
[all …]
Drpng2-win.c193 static int bgscale = 16; variable
839 int xidx, yidx, yidx_max = (bgscale-1); in rpng2_win_load_bg_image()
879 yidx = row % bgscale; in rpng2_win_load_bg_image()
880 even_odd_vert = (row / bgscale) & 1; in rpng2_win_load_bg_image()
898 even_odd_horiz = (i / bgscale) & 1; in rpng2_win_load_bg_image()
935 hmax = (bgscale-1)/2; /* half the max weight of a color */ in rpng2_win_load_bg_image()
946 yidx = row % bgscale; in rpng2_win_load_bg_image()
948 yidx = bgscale-1 - yidx; in rpng2_win_load_bg_image()
951 xidx = i % bgscale; in rpng2_win_load_bg_image()
953 xidx = bgscale-1 - xidx; in rpng2_win_load_bg_image()