ICompression.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 <NetdevLog.h>
7 
8 #include <librealsense2/rs.hpp>
9 
11 {
12 public:
13  ICompression(int t_width, int t_height, rs2_format t_format, int t_bpp):
14  m_width(t_width),m_height(t_height), m_format(t_format), m_bpp(t_bpp) {};
15  virtual int compressBuffer(unsigned char* t_buffer, int t_size, unsigned char* t_compressedBuf) = 0;
16  virtual int decompressBuffer(unsigned char* t_buffer, int t_size, unsigned char* t_uncompressedBuf) = 0;
17 
18 protected:
22 };
int m_compFrameCounter
Definition: ICompression.h:21
virtual int compressBuffer(unsigned char *t_buffer, int t_size, unsigned char *t_compressedBuf)=0
int m_decompFrameCounter
Definition: ICompression.h:21
virtual int decompressBuffer(unsigned char *t_buffer, int t_size, unsigned char *t_uncompressedBuf)=0
ICompression(int t_width, int t_height, rs2_format t_format, int t_bpp)
Definition: ICompression.h:13
rs2_format
A stream&#39;s format identifies how binary data is encoded within a frame.
Definition: rs_sensor.h:59
rs2_format m_format
Definition: ICompression.h:20


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