Home
last modified time | relevance | path

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

/external/libpng/contrib/gregbook/
Drpng2-x.c213 static int bgscale, bgscale_default = 16; variable
1114 bgscale = (pat == 0)? 8 : bgscale_default; in rpng2_x_load_bg_image()
1115 yidx_max = bgscale - 1; in rpng2_x_load_bg_image()
1137 yidx = (int)(row % bgscale); in rpng2_x_load_bg_image()
1138 even_odd_vert = (int)((row / bgscale) & 1); in rpng2_x_load_bg_image()
1156 even_odd_horiz = (int)((i / bgscale) & 1); in rpng2_x_load_bg_image()
1193 hmax = (bgscale-1)/2; /* half the max weight of a color */ in rpng2_x_load_bg_image()
1204 yidx = (int)(row % bgscale); in rpng2_x_load_bg_image()
1206 yidx = bgscale-1 - yidx; in rpng2_x_load_bg_image()
1209 xidx = (int)(i % bgscale); in rpng2_x_load_bg_image()
[all …]
Drpng2-win.c192 static int bgscale = 16; variable
845 int xidx, yidx, yidx_max = (bgscale-1);
885 yidx = row % bgscale;
886 even_odd_vert = (row / bgscale) & 1;
904 even_odd_horiz = (i / bgscale) & 1;
941 hmax = (bgscale-1)/2; /* half the max weight of a color */
952 yidx = row % bgscale;
954 yidx = bgscale-1 - yidx;
957 xidx = i % bgscale;
959 xidx = bgscale-1 - xidx;