CompressionFactory.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 #define IS_COMPRESSION_ENABLED 1 // enabled by default
8 
9 typedef enum ZipMethod
10 {
12  rvl,
14  lz,
15 } ZipMethod;
16 
18 {
19 public:
20  static std::shared_ptr<ICompression> getObject(int t_width, int t_height, rs2_format t_format, rs2_stream t_streamType, int t_bpp);
21  static bool isCompressionSupported(rs2_format t_format, rs2_stream t_streamType);
22  static bool& getIsEnabled();
23 };
rs2_format
A stream&#39;s format identifies how binary data is encoded within a frame.
Definition: rs_sensor.h:59
static bool isCompressionSupported(rs2_format t_format, rs2_stream t_streamType)
rs2_stream
Streams are different types of data provided by RealSense devices.
Definition: rs_sensor.h:42
static std::shared_ptr< ICompression > getObject(int t_width, int t_height, rs2_format t_format, rs2_stream t_streamType, int t_bpp)
static bool & getIsEnabled()
ZipMethod


librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Thu Dec 22 2022 03:43:16