View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

predict.h
Go to the documentation of this file.
1#ifndef VISTLE_RHR_PREDICT_H
2#define VISTLE_RHR_PREDICT_H
3
4#include <cstdlib>
5
6namespace vistle {
7
8void transform_predict(unsigned char *output, const float *input, unsigned width, unsigned height, unsigned stride);
9void transform_unpredict(float *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride);
10void transform_predict_planar(unsigned char *output, const float *input, unsigned width, unsigned height,
11 unsigned stride);
12void transform_unpredict_planar(float *output, const unsigned char *input, unsigned width, unsigned height,
13 unsigned stride);
14
15template<int planes, bool planar = true, bool rgba = false>
16void transform_predict(unsigned char *output, const unsigned char *input, unsigned width, unsigned height,
17 unsigned stride);
18template<int planes, bool planar = true, bool rgba = false>
19void transform_unpredict(unsigned char *output, const unsigned char *input, unsigned width, unsigned height,
20 unsigned stride);
21
22} // namespace vistle
23#endif
void transform_unpredict(float *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
Definition: predict.cpp:43
void transform_unpredict_planar(float *output, const unsigned char *input, unsigned width, unsigned height, unsigned stride)
Definition: predict.cpp:101
void transform_predict(unsigned char *output, const float *input, unsigned width, unsigned height, unsigned stride)
Definition: predict.cpp:14
void transform_predict_planar(unsigned char *output, const float *input, unsigned width, unsigned height, unsigned stride)
Definition: predict.cpp:68