28 return std::make_shared<RvlCompression>(t_width, t_height, t_format, t_bpp);
31 return std::make_shared<JpegCompression>(t_width, t_height, t_format, t_bpp);
34 return std::make_shared<Lz4Compression>(t_width, t_height, t_format, t_bpp);
37 ERR <<
"unknown zip method";
44 static bool m_isEnabled =
true;
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()