revise old comment
This commit is contained in:
parent
fc8dbfdb44
commit
dca526405e
@ -52,20 +52,9 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* TODO:
|
#define DEBUG
|
||||||
* Test for pixel size and use memcpy() on individual pixels once they reach
|
#define DEBUG_VERBOSE
|
||||||
* sizes of the order of tens of bytes. char-wise copy is quicker than
|
|
||||||
* memcpy() for smaller pixels.
|
|
||||||
*
|
|
||||||
* Also, I haven't tested it but int-wise copying may be faster still, as
|
|
||||||
* long as alignment permits it.
|
|
||||||
*
|
|
||||||
* tcv. 2006-09-01
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Turn on ADDR() range checks.
|
|
||||||
#define DEBUG 1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
@ -254,6 +243,11 @@ vips_zoom_gen( VipsRegion *or, void *seq, void *a, void *b, gboolean *stop )
|
|||||||
int left, right, top, bottom;
|
int left, right, top, bottom;
|
||||||
int width, height;
|
int width, height;
|
||||||
|
|
||||||
|
#ifdef DEBUG_VERBOSE
|
||||||
|
printf( "vips_zoom_gen: left=%d, top=%d, width=%d, height=%d\n",
|
||||||
|
r->left, r->top, r->width, r->height );
|
||||||
|
#endif /*DEBUG_VERBOSE*/
|
||||||
|
|
||||||
/* Area of input we need. We have to round out, as we may have
|
/* Area of input we need. We have to round out, as we may have
|
||||||
* part-pixels all around the edges.
|
* part-pixels all around the edges.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user