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
|
||||
=============
|
||||
|
||||
|
@ -172,14 +172,14 @@ shrink_factor( IMAGE *in, IMAGE *out,
|
||||
* we keep enough scanlines to be able to serve a line of tiles.
|
||||
*/
|
||||
if( im_shrink( x, t[2], shrink, shrink ) ||
|
||||
im_tile_cache( t[2], t[3],
|
||||
t[2]->Xsize, 1,
|
||||
VIPS__TILE_HEIGHT * 2 ) )
|
||||
return( -1 );
|
||||
x = t[3];
|
||||
|
||||
if( im_affinei_all( t[3], t[4],
|
||||
interp, residual, 0, 0, residual, 0, 0 ) )
|
||||
vips_tilecache( t[2], &t[3],
|
||||
"tile_width", t[2]->Xsize,
|
||||
"tile_height", 1,
|
||||
"max_tiles", VIPS__TILE_HEIGHT * 2,
|
||||
"strategy", VIPS_CACHE_SEQUENTIAL,
|
||||
NULL ) ||
|
||||
im_affinei_all( t[3], t[4],
|
||||
interp, residual, 0, 0, residual, 0, 0 ) )
|
||||
return( -1 );
|
||||
x = t[4];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user