5 #include "../include/librealsense2/hpp/rs_sensor.hpp" 6 #include "../include/librealsense2/hpp/rs_processing.hpp" 24 _width(0), _height(0), _stride(0), _bpp(0),
26 _current_frm_size_pixels(0),
27 _hole_filling_mode(hole_fill_def)
32 auto hole_filling_mode = std::make_shared<ptr_option<uint8_t>>(
43 hole_filling_mode->on_set([
this, hole_filling_mode](
float val)
47 if (!hole_filling_mode->is_valid(val))
49 <<
"Unsupported mode for hole filling selected: value " << val <<
" is out of range.");
51 _hole_filling_mode =
static_cast<uint8_t>(
val);
64 apply_hole_filling<float>(
const_cast<void*
>(tgt.get_data()));
66 apply_hole_filling<uint16_t>(
const_cast<void*
>(tgt.get_data()));
static const textual_icon lock
const uint8_t hole_fill_min
rs2::stream_profile _target_stream_profile
stream_profile get_profile() const
rs2_extension _extension_type
const void * get_data() const
void update_configuration(const rs2::frame &f)
void register_option(rs2_option id, std::shared_ptr< option > option)
rs2::frame process_frame(const rs2::frame_source &source, const rs2::frame &f) override
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
size_t _current_frm_size_pixels
const uint8_t hole_fill_max
rs2::frame prepare_target_frame(const rs2::frame &f, const rs2::frame_source &source)
stream_filter _stream_filter
rs2_format format() const
const rs2_stream_profile * get() const
GLsizei GLsizei GLchar * source
const uint8_t hole_fill_def
rs2::stream_profile _source_stream_profile
stream_profile clone(rs2_stream type, int index, rs2_format format) const
const uint8_t hole_fill_step
uint8_t _hole_filling_mode
std::string to_string(T value)