7 #define IS_COMPRESSION_ENABLED 1 // enabled by default
rs2_format
A stream's format identifies how binary data is encoded within a frame.
static bool isCompressionSupported(rs2_format t_format, rs2_stream t_streamType)
rs2_stream
Streams are different types of data provided by RealSense devices.
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()