mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +08:00
878af7ada8
3rdparty: update OpenEXR 2.3.0 (#14725) * openexr 2.2.1 * openexr 2.3.0 * openexr: build fixes * openexr: build dwa tables on-demand
23 lines
573 B
C++
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
|