21 #ifndef LUNCHBOX_COMPRESSOR_H
22 #define LUNCHBOX_COMPRESSOR_H
26 #include <lunchbox/thread.h>
30 namespace detail {
class Compressor; }
52 LUNCHBOX_API
bool isGood()
const;
58 LUNCHBOX_API
bool uses(
const uint32_t name )
const;
79 const uint32_t tokenType,
80 const float minQuality,
81 const bool ignoreMSE );
99 const float minQuality,
const bool ignoreMSE );
105 LUNCHBOX_API
void clear();
114 LUNCHBOX_API
void compress(
void*
const in,
const uint64_t inDims[2] );
124 LUNCHBOX_API
void compress(
void*
const in,
const uint64_t pvp[4],
125 const uint64_t flags );
141 LUNCHBOX_API
void getResult(
const unsigned i,
void**
const out,
142 uint64_t*
const outSize )
const;
144 detail::Compressor*
const impl_;
145 LB_TS_VAR( _thread );
148 #endif // LUNCHBOX_COMPRESSOR_H