View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Namespaces | Macros | Functions | Variables
compdecomp.cpp File Reference
#include "compdecomp.h"
#include "depthquant.h"
#include "predict.h"
#include <iostream>
#include <mutex>
#include <memory>
Include dependency graph for compdecomp.cpp:

Namespaces

namespace  vistle
 

Macros

#define CERR   std::cerr << "CompDecomp: "
 

Functions

buffer vistle::copyTile (const char *img, int x, int y, int w, int h, int stride, int bpp)
 
buffer vistle::compressDepth (const float *depth, int x, int y, int w, int h, int stride, vistle::DepthCompressionParameters &param)
 
return vistle::copyTile (reinterpret_cast< const char * >(depth), x, y, w, h, stride, sizeof(float))
 
buffer compressRgba (const unsigned char *rgba, int x, int y, int w, int h, int stride, vistle::RgbaCompressionParameters &param)
 
buffer compressTile (const char *input, int x, int y, int w, int h, int stride, vistle::CompressionParameters &param)
 
bool decompressTile (char *dest, const buffer &input, CompressionParameters param, int x, int y, int w, int h, int stride)
 

Variables

param vistle::depthCodec = vistle::CompressionParameters::DepthRaw
 

Macro Definition Documentation

◆ CERR

#define CERR   std::cerr << "CompDecomp: "

Function Documentation

◆ compressRgba()

buffer compressRgba ( const unsigned char *  rgba,
int  x,
int  y,
int  w,
int  h,
int  stride,
vistle::RgbaCompressionParameters param 
)

◆ compressTile()

buffer compressTile ( const char *  input,
int  x,
int  y,
int  w,
int  h,
int  stride,
vistle::CompressionParameters param 
)

◆ decompressTile()

bool decompressTile ( char *  dest,
const buffer input,
CompressionParameters  param,
int  x,
int  y,
int  w,
int  h,
int  stride 
)