opencv/3rdparty/openexr/IlmImf/dwaLookups.h
Alexander Alekhin 878af7ada8
Merge pull request #14725 from alalek:update_openexr_2.3.0
3rdparty: update OpenEXR 2.3.0 (#14725)

* openexr 2.2.1

* openexr 2.3.0

* openexr: build fixes

* openexr: build dwa tables on-demand
2019-06-10 20:04:23 +03:00

23 lines
573 B
C++

#include "ImfHeader.h"
#include "ImfNamespace.h"
#include "ImfExport.h"
#include <cstddef>
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
const unsigned short* get_dwaCompressorNoOp();
const unsigned short* get_dwaCompressorToLinear();
const unsigned short* get_dwaCompressorToNonlinear();
//const unsigned int* get_closestDataOffset();
//const unsigned short* get_closestData();
static inline
const unsigned short* get_dwaClosest(int idx)
{
throw std::runtime_error("OpenEXR: DW* compression tables are not available");
}
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT