Lz4Compression.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 #include <lz4.h>
8 
10 {
11 public:
12  Lz4Compression(int t_width, int t_height, rs2_format t_format, int t_bpp);
13  int compressBuffer(unsigned char* t_buffer, int t_size, unsigned char* t_compressedBuf);
14  int decompressBuffer(unsigned char* t_buffer, int t_size, unsigned char* t_uncompressedBuf);
15 };
Lz4Compression(int t_width, int t_height, rs2_format t_format, int t_bpp)
int decompressBuffer(unsigned char *t_buffer, int t_size, unsigned char *t_uncompressedBuf)
int compressBuffer(unsigned char *t_buffer, int t_size, unsigned char *t_compressedBuf)
rs2_format
A stream&#39;s format identifies how binary data is encoded within a frame.
Definition: rs_sensor.h:59


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