28 #define MAXIMAGEWIDTH (900*14)
31 #define MAXIMAGEHEIGHT (900*14)
33 #define COMPUTE_IMAGE_XDIM(xsize,bpp) ((bpp)>8 ? ((xsize)*(bpp)+7)/8 :((xsize)+8/(bpp)-1)/(8/(bpp)))
122 return (1 << bpp) - 1;
151 void fast_get_line(
inT32 x,
164 void get_line(
inT32 x,
177 void get_column(
inT32 x,
190 void fast_put_line(
inT32 x,
203 void put_line(
inT32 x,
216 void put_column(
inT32 x,
228 void check_legal_access(
inT32 x,
235 void FromPix(
const Pix* src_pix);
251 uinT8 ret_white_value,
333 return &pixels[index * 3];
347 if (width > linewidth) {
void set_res(inT32 resolution)
DLLSYM void fast_reduce_sub_image(IMAGE *source, inT32 xstart, inT32 ystart, inT32 xext, inT32 yext, IMAGE *dest, inT32 xdest, inT32 ydest, inT32 scale, BOOL8 adjust_grey)
void free_mem(void *oldchunk)
DLLSYM void enlarge_sub_image(IMAGE *source, inT32 xstart, inT32 ystart, IMAGE *dest, inT32 xdest, inT32 ydest, inT32 xext, inT32 yext, inT32 scale, BOOL8 adjust_grey)
void * alloc_mem(inT32 count)
void set_bpp(inT8 new_bpp)
void put_line(inT32 x, inT32 y, inT32 width, IMAGELINE *linebuf, inT32 margins)
DLLSYM void copy_sub_image(IMAGE *source, inT32 xstart, inT32 ystart, inT32 xext, inT32 yext, IMAGE *dest, inT32 xdest, inT32 ydest, BOOL8 adjust_grey)
inT8(* IMAGE_READER)(int, uinT8 *, inT32, inT32, inT8, inT32)
void put_column(inT32 x, inT32 y, inT32 height, IMAGELINE *linebuf, inT32 margins)
inT8(* IMAGE_WRITER)(int, uinT8 *, inT32, inT32, inT8, inT8, inT32)
DLLSYM void reduce_sub_image(IMAGE *source, inT32 xstart, inT32 ystart, inT32 xext, inT32 yext, IMAGE *dest, inT32 xdest, inT32 ydest, inT32 scale, BOOL8 adjust_grey)
uinT8 * pixels
image pixels
void get_line(inT32 x, inT32 y, inT32 width, IMAGELINE *linebuf, inT32 margins)
void get_column(inT32 x, inT32 y, inT32 height, IMAGELINE *linebuf, inT32 margins)
void fast_put_line(inT32 x, inT32 y, inT32 width, IMAGELINE *linebuf)
void fast_get_line(inT32 x, inT32 y, inT32 width, IMAGELINE *linebuf)
inT8(* IMAGE_OPENER)(int, inT32 *, inT32 *, inT8 *, inT8 *, inT32 *)