dwaLookups.h 573 B

12345678910111213141516171819202122
  1. #include "ImfHeader.h"
  2. #include "ImfNamespace.h"
  3. #include "ImfExport.h"
  4. #include <cstddef>
  5. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
  6. const unsigned short* get_dwaCompressorNoOp();
  7. const unsigned short* get_dwaCompressorToLinear();
  8. const unsigned short* get_dwaCompressorToNonlinear();
  9. //const unsigned int* get_closestDataOffset();
  10. //const unsigned short* get_closestData();
  11. static inline
  12. const unsigned short* get_dwaClosest(int idx)
  13. {
  14. throw std::runtime_error("OpenEXR: DW* compression tables are not available");
  15. }
  16. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT