1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

imgcodecs: drop bundled OpenEXR

This commit is contained in:
Kumataro
2025-01-03 13:33:54 +09:00
committed by Alexander Smorkalov
parent 9bd246dd05
commit b96e9fd1ce
293 changed files with 13 additions and 127345 deletions
@@ -1,11 +1,14 @@
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html
#include "test_precomp.hpp"
//#define GENERATE_DATA
namespace opencv_test { namespace {
#ifdef HAVE_OPENEXR
size_t getFileSize(const string& filename)
{
std::ifstream ifs(filename.c_str(), std::ios::in | std::ios::binary);
@@ -341,5 +344,6 @@ TEST(Imgcodecs_EXR, imwrite_regression_26207_extra)
remove(filename.c_str());
}
#endif // HAVE_OPENEXR
}} // namespace
-4
View File
@@ -507,7 +507,3 @@ TEST(Imgcodecs, imdecode_user_buffer)
}
}} // namespace
#if defined(HAVE_OPENEXR) && defined(OPENCV_IMGCODECS_ENABLE_OPENEXR_TESTS)
#include "test_exr.impl.hpp"
#endif