8 #include "../include/librealsense2/hpp/rs_frame.hpp" 9 #include "../include/librealsense2/hpp/rs_processing.hpp" 24 template<
typename Tin,
typename Tout>
25 void convert(
const void* in_data,
void* out_data)
30 auto in =
reinterpret_cast<const Tin*
>(in_data);
31 auto out =
reinterpret_cast<Tout*
>(out_data);
34 const float round = fp ? 0.5f : 0.f;
42 if (std::isnormal(
input))
72 bool stereoscopic_depth =
false;
74 float d2d_convert_factor = 0;
84 float stereo_baseline_meter;
87 if (
auto a = As<librealsense::extendable_interface>(snr))
102 dss = As<librealsense::depth_stereo_sensor>(snr);
112 const uint8_t fractional_bits = 5;
113 const uint8_t fractions = 1 << fractional_bits;
stream_profile get_profile() const
GLboolean GLboolean GLboolean GLboolean a
static info update_info_from_frame(const rs2::frame &f)
def info(name, value, persistent=False)
virtual float get_depth_scale() const =0
virtual float get_stereo_baseline_mm() const =0
rs2_intrinsics get_intrinsics() const
GLenum GLenum GLenum input
GLsizei GLsizei GLchar * source
MAP_EXTENSION(RS2_EXTENSION_POINTS, librealsense::points)