sync
This commit is contained in:
parent
c2035eb0f0
commit
4f8aca3a93
8
TODO
8
TODO
@ -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
|
- could instrument vips_region_prepare() and track number of pixels calculated
|
||||||
for each image ... on image close (or evelend?) print %computed, values over
|
for each image ... on image close (or evelend?) print %computed, values over
|
||||||
100% would indicate overcomputation
|
100% would indicate overcomputation
|
||||||
|
@ -102,7 +102,7 @@ typedef struct _VipsReducev {
|
|||||||
int *matrixi[VIPS_TRANSFORM_SCALE + 1];
|
int *matrixi[VIPS_TRANSFORM_SCALE + 1];
|
||||||
double *matrixf[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];
|
int *matrixo[VIPS_TRANSFORM_SCALE + 1];
|
||||||
|
|
||||||
@ -753,10 +753,6 @@ vips_reducev_raw( VipsReducev *reducev, VipsImage *in )
|
|||||||
return( -1 );
|
return( -1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Output short so we can see intermediates.
|
|
||||||
resample->out->BandFmt = VIPS_FORMAT_SHORT;
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf( "vips_reducev_build: reducing %d x %d image to %d x %d\n",
|
printf( "vips_reducev_build: reducing %d x %d image to %d x %d\n",
|
||||||
in->Xsize, in->Ysize,
|
in->Xsize, in->Ysize,
|
||||||
|
Loading…
Reference in New Issue
Block a user