gdal icon indicating copy to clipboard operation
gdal copied to clipboard

Warper: improve performance of multi-band bicubic warping

Open rouault opened this issue 4 months ago • 1 comments

On extracted2.tif dataset from https://github.com/OSGeo/gdal/issues/11042#issuecomment-2420556574 (12500 x 10000 pixels, 3 bands, Byte) gdalwarp -s_srs EPSG:8353 -t_srs EPSG:3857 -r cubic extracted2.tif tmp.tif -overwrite goes from 30.4 seconds to 26.0.

and improve performance of Byte/UInt16 multi-band bicubic warping with XSCALE=1 and YSCALE=1 on SSE2 / x86_64

gdalwarp -s_srs EPSG:8353 -t_srs EPSG:3857 -r cubic extracted2.tif tmp.tif -overwrite -wo XSCALE=1 -wo YSCALE=1 goes from 19.0 seconds to 15.7.

rouault avatar Oct 19 '24 16:10 rouault