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:
committed by
Alexander Smorkalov
parent
9bd246dd05
commit
b96e9fd1ce
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user