View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Namespaces | Functions
predict.cpp File Reference
#include "predict.h"
#include <vistle/util/math.h>
#include <cstdint>
#include <cassert>
Include dependency graph for predict.cpp:

Namespaces

namespace  vistle
 

Functions

void vistle::transform_predict (unsigned char *output, const float *input, unsigned width, unsigned height, unsigned stride)
 
void vistle::transform_unpredict (float *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
void vistle::transform_predict_planar (unsigned char *output, const float *input, unsigned width, unsigned height, unsigned stride)
 
void vistle::transform_unpredict_planar (float *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template<int planes, bool planar, bool rgba>
void vistle::transform_predict (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template<int planes, bool planar, bool rgba>
void vistle::transform_unpredict (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template void vistle::transform_predict< 1, true, false > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template void vistle::transform_predict< 2, true, false > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template void vistle::transform_predict< 3, true, false > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template void vistle::transform_predict< 4, true, false > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template void vistle::transform_predict< 5, true, false > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template void vistle::transform_predict< 6, true, false > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template void vistle::transform_unpredict< 1, true, false > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template void vistle::transform_unpredict< 2, true, false > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template void vistle::transform_unpredict< 3, true, false > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template void vistle::transform_unpredict< 4, true, false > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template void vistle::transform_unpredict< 5, true, false > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template void vistle::transform_unpredict< 6, true, false > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
static void vistle::rgb2yuv (uint8_t r, uint8_t g, uint8_t b, uint8_t &y, uint8_t &u, u_int8_t &v)
 
static void vistle::yuv2rgb (uint8_t y, uint8_t u, uint8_t v, uint8_t &r, uint8_t &g, u_int8_t &b)
 
template<>
void vistle::transform_predict< 3, true, true > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template<>
void vistle::transform_unpredict< 3, true, true > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template<>
void vistle::transform_predict< 4, true, true > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
 
template<>
void vistle::transform_unpredict< 4, true, true > (unsigned char *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)