wider margin for arrayjoin minimise
This patch makes arrayjoin leave a bigger margin off the end of each input image. This can help some loaders which have large output caches. See https://github.com/libvips/libvips/issues/2440
This commit is contained in:
parent
30fdc3df77
commit
778ff7fce5
@ -126,11 +126,13 @@ vips_arrayjoin_gen( VipsRegion *or, void *seq,
|
||||
*
|
||||
* minimise_all is quite expensive, so only trigger once for
|
||||
* each input.
|
||||
*
|
||||
* We don't lock for minimised[], but it's harmless.
|
||||
*/
|
||||
for( i = 0; i < n; i++ )
|
||||
if( !join->minimised[i] &&
|
||||
r->top > VIPS_RECT_BOTTOM( &join->rects[i] ) +
|
||||
256 ) {
|
||||
512 ) {
|
||||
vips_image_minimise_all( in[i] );
|
||||
join->minimised[i] = TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user