1#ifndef RHR_COMPDECOMP_H
2#define RHR_COMPDECOMP_H
16 DepthCodec, (DepthRaw)(DepthPredict)(DepthPredictPlanar)(DepthQuant)(
DepthQuantPlanar)(DepthZfp))
21 bool depthFloat =
true;
22 int depthPrecision = 24;
25 message::CompressionMode depthCompress = message::CompressionNone;
#define V_RHREXPORT
Definition: export.h:9
std::vector< char, allocator< char > > buffer
CompressionParameters::RgbaCompressionParameters RgbaCompressionParameters
Definition: compdecomp.h:44
buffer V_RHREXPORT compressRgba(const unsigned char *rgba, int x, int y, int w, int h, int stride, RgbaCompressionParameters ¶m)
buffer compressDepth(const float *depth, int x, int y, int w, int h, int stride, vistle::DepthCompressionParameters ¶m)
Definition: compdecomp.cpp:55
bool V_RHREXPORT decompressTile(char *dest, const buffer &input, CompressionParameters param, int x, int y, int w, int h, int stride)
CompressionParameters::DepthCompressionParameters DepthCompressionParameters
Definition: compdecomp.h:48
param depthCodec
Definition: compdecomp.cpp:146
Definition: compdecomp.h:12
() DepthRaw() DepthPredict() DepthPredictPlanar() DepthQuant()() ZfpFixedRate() ZfpPrecision(ZfpAccuracy)) struct DepthCompressionParameters
Definition: compdecomp.h:18
bool isDepth
Definition: compdecomp.h:33
RgbaCompressionParameters rgba
Definition: compdecomp.h:35
ColorCodec rgbaCodec
Definition: compdecomp.h:29
message::CompressionMode rgbaCompress
Definition: compdecomp.h:30
DepthCompressionParameters depth
Definition: compdecomp.h:34
CompressionParameters()=default
DEFINE_ENUM_WITH_STRING_CONVERSIONS(ColorCodec,(Raw)(PredictRGB)(PredictRGBA)(Jpeg_YUV411)(Jpeg_YUV444)) DEFINE_ENUM_WITH_STRING_CONVERSIONS(DepthCodec
CompressionParameters(const RgbaCompressionParameters &rgba)
Definition: compdecomp.h:37
() DepthRaw() DepthPredict() DepthPredictPlanar() DepthQuant() DepthQuantPlanar(DepthZfp)) DEFINE_ENUM_WITH_STRING_CONVERSIONS(ZfpMode
CompressionParameters(const DepthCompressionParameters &depth)
Definition: compdecomp.h:39
Definition: compdecomp.h:28