make vipsthumbnail use a sequential cache
it wasn't setting the sequential option in the line cache
This commit is contained in:
parent
fd98d100a9
commit
f5134a2afd
14
TODO
14
TODO
@ -1,17 +1,3 @@
|
|||||||
- vipsthumbnail.c could use this instead of im_tile_cache() to get seq hint
|
|
||||||
set
|
|
||||||
|
|
||||||
if( vips_tilecache( in, out,
|
|
||||||
"tile_width", in->Xsize,
|
|
||||||
"tile_height", strip_height * nstrips,
|
|
||||||
"max_tiles", 2,
|
|
||||||
"strategy", VIPS_CACHE_SEQUENTIAL,
|
|
||||||
NULL ) )
|
|
||||||
return( -1 );
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
blocking bugs
|
blocking bugs
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
@ -172,13 +172,13 @@ shrink_factor( IMAGE *in, IMAGE *out,
|
|||||||
* we keep enough scanlines to be able to serve a line of tiles.
|
* we keep enough scanlines to be able to serve a line of tiles.
|
||||||
*/
|
*/
|
||||||
if( im_shrink( x, t[2], shrink, shrink ) ||
|
if( im_shrink( x, t[2], shrink, shrink ) ||
|
||||||
im_tile_cache( t[2], t[3],
|
vips_tilecache( t[2], &t[3],
|
||||||
t[2]->Xsize, 1,
|
"tile_width", t[2]->Xsize,
|
||||||
VIPS__TILE_HEIGHT * 2 ) )
|
"tile_height", 1,
|
||||||
return( -1 );
|
"max_tiles", VIPS__TILE_HEIGHT * 2,
|
||||||
x = t[3];
|
"strategy", VIPS_CACHE_SEQUENTIAL,
|
||||||
|
NULL ) ||
|
||||||
if( im_affinei_all( t[3], t[4],
|
im_affinei_all( t[3], t[4],
|
||||||
interp, residual, 0, 0, residual, 0, 0 ) )
|
interp, residual, 0, 0, residual, 0, 0 ) )
|
||||||
return( -1 );
|
return( -1 );
|
||||||
x = t[4];
|
x = t[4];
|
||||||
|
Loading…
Reference in New Issue
Block a user