Skip to content

Commit

Permalink
Add gdal_minmax_element.hpp public header, that can also be vendored,…
Browse files Browse the repository at this point in the history
… to find the min/max elements in a buffer

Refs qgis/QGIS#59285

NaN values are taken into account for float/double
Contains a SSE2 optimized version for float/double in the no-nodata case (also taking into account NaN)
  • Loading branch information
rouault committed Nov 2, 2024
1 parent 779871e commit 9d70518
Show file tree
Hide file tree
Showing 4 changed files with 1,383 additions and 0 deletions.
1 change: 1 addition & 0 deletions autotest/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ add_executable(
test_gdal_aaigrid.cpp
test_gdal_dted.cpp
test_gdal_gtiff.cpp
test_gdal_minmax_element.cpp
test_gdal_pixelfn.cpp
test_gdal_typetraits.cpp
test_ogr.cpp
Expand Down
Loading

0 comments on commit 9d70518

Please sign in to comment.