This commit is contained in:
John Cupitt 2016-03-21 16:40:55 +00:00
parent c2035eb0f0
commit 4f8aca3a93
2 changed files with 1 additions and 13 deletions

8
TODO
View File

@ -1,11 +1,3 @@
- look at reduceh_gen now
valgrind --tool=callgrind vipsthumbnail wtc.jpg -s 2000 --vips-info
self called
41% 125 reduceh_gen
25% loads various jpeg decode
- could instrument vips_region_prepare() and track number of pixels calculated
for each image ... on image close (or evelend?) print %computed, values over
100% would indicate overcomputation

View File

@ -102,7 +102,7 @@ typedef struct _VipsReducev {
int *matrixi[VIPS_TRANSFORM_SCALE + 1];
double *matrixf[VIPS_TRANSFORM_SCALE + 1];
/* And another set for orc: we want 8.8 precision.
/* And another set for orc: we want 2.6 precision.
*/
int *matrixo[VIPS_TRANSFORM_SCALE + 1];
@ -753,10 +753,6 @@ vips_reducev_raw( VipsReducev *reducev, VipsImage *in )
return( -1 );
}
/* Output short so we can see intermediates.
resample->out->BandFmt = VIPS_FORMAT_SHORT;
*/
#ifdef DEBUG
printf( "vips_reducev_build: reducing %d x %d image to %d x %d\n",
in->Xsize, in->Ysize,