RvlCompression.h
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2020 Intel Corporation. All Rights Reserved.
3 
4 #pragma once
5 
6 #include "ICompression.h"
7 
9 {
10 public:
11  RvlCompression(int t_width, int t_height, rs2_format t_format, int t_bpp);
12  int compressBuffer(unsigned char* t_buffer, int t_size, unsigned char* t_compressedBuf);
13  int decompressBuffer(unsigned char* t_buffer, int t_size, unsigned char* t_uncompressedBuf);
14 
15 private:
16  int encodeVLE(int value);
17  int decodeVLE();
19 };
int encodeVLE(int value)
GLfloat value
int decompressBuffer(unsigned char *t_buffer, int t_size, unsigned char *t_uncompressedBuf)
rs2_format
A stream's format identifies how binary data is encoded within a frame.
Definition: rs_sensor.h:59
RvlCompression(int t_width, int t_height, rs2_format t_format, int t_bpp)
int compressBuffer(unsigned char *t_buffer, int t_size, unsigned char *t_compressedBuf)


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:41