tweak
This commit is contained in:
parent
3c77c6b8eb
commit
46e1aed932
@ -546,8 +546,8 @@ vips_interpolate_nohalo_interpolate( VipsInterpolate *interpolate,
|
||||
* VIPS versions of Nicolas's pixel addressing values. Double bands for
|
||||
* complex images.
|
||||
*/
|
||||
const int lskip = IM_REGION_LSKIP( in ) / IM_IMAGE_SIZEOF_ELEMENT( in->im );
|
||||
const int bands_actual = in->im->Bands;
|
||||
const int lskip = IM_REGION_LSKIP( in ) / IM_IMAGE_SIZEOF_ELEMENT( in->im );
|
||||
const int bands =
|
||||
( im_iscomplex( in->im ) ? 2 * bands_actual : bands_actual );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user