4 #include "../include/librealsense2/hpp/rs_sensor.hpp" 5 #include "../include/librealsense2/hpp/rs_processing.hpp" 38 LOG_ERROR(
"Failed obtaining depth units option");
45 _stride =
sizeof(float) * _width;
68 auto new_data = (
float*)ptr->get_frame_data();
70 ptr->set_sensor(
orig->get_sensor());
72 memset(new_data, 0, _width * _height *
sizeof(
float));
stream_profile get_profile() const
frame allocate_video_frame(const stream_profile &profile, const frame &original, int new_bpp=0, int new_width=0, int new_height=0, int new_stride=0, rs2_extension frame_type=RS2_EXTENSION_VIDEO_FRAME) const
stream_filter _stream_filter
const rs2_stream_profile * get() const
GLsizei GLsizei GLchar * source
stream_profile clone(rs2_stream type, int index, rs2_format format) const