11 #ifndef __PXL_DeepCompressor__
12 #define __PXL_DeepCompressor__
66 static void initCompressors();
70 static void registerCompressor(
const char *
name,
104 return doMerge(slist, nsamples);
115 return doCompress(slist);
118 void dump(
const char *msg=
"")
const;
121 virtual const char *className()
const = 0;
135 virtual void doDump()
const;
#define SYS_VISIBILITY_EXPORT
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
SYS_VISIBILITY_EXPORT void newPXLDeepCompressor()
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
GLuint const GLchar * name
exint entries() const
Alias of size(). size() is preferred.
A map of string to various well defined value types.
PXL_DeepSampleListPtr merge(const UT_Array< PXL_DeepSampleListPtr > &slist) const
UT_SharedPtr< PXL_DeepCompressor > PXL_DeepCompressorPtr
GLsizei GLenum GLenum * types
ImageBuf OIIO_API channels(const ImageBuf &src, int nchannels, cspan< int > channelorder, cspan< float > channelvalues={}, cspan< std::string > newchannelnames={}, bool shuffle_channel_names=false, int nthreads=0)
PXL_DeepSampleListPtr compress(const PXL_DeepSampleListPtr &slist) const
Compress a single sample list, returning a new sample list.