X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=images%2Fscale-gen.h;h=242a2fed2f01b2b8604cc786d6a4986c9c4f39e0;hb=6de1e8ff2085b921dfd2dd05ab4a6bdb22ed3048;hp=bbe5496ed7da46c4861067467999f64f6c1d1c44;hpb=e4c695d49529d03352d241872493a5161e646288;p=libucw.git diff --git a/images/scale-gen.h b/images/scale-gen.h index bbe5496e..242a2fed 100644 --- a/images/scale-gen.h +++ b/images/scale-gen.h @@ -37,7 +37,7 @@ IMAGE_SCALE_PREFIX(nearest_xy)(struct image *dest, struct image *src) # define IMAGE_WALK_COL_STEP IMAGE_SCALE_PIXEL_SIZE # define IMAGE_WALK_DO_ROW_START do{ row_start = src->pixels + (y_pos >> 16) * src->row_size; y_pos += y_inc; x_pos = x_start; }while(0) # define IMAGE_WALK_DO_STEP do{ byte *pos = row_start + (x_pos >> 16) * IMAGE_SCALE_PIXEL_SIZE; x_pos += x_inc; IMAGE_COPY_PIXEL(walk_pos, pos); }while(0) -# include "images/image-walk.h" +# include } #if 0 /* Experiments with rearranging pixels for SSE... */