55 std::function<bool(T*)> fp_oper = [](
T* ptr) {
return !*((
int *)ptr); };
56 std::function<bool(T*)> uint_oper = [](
T* ptr) {
return !(*ptr); };
76 std::function<bool(T*)> fp_oper = [](
T* ptr) {
return !*((
int *)ptr); };
77 std::function<bool(T*)> uint_oper = [](
T* ptr) {
return !(*ptr); };
83 for (
int j = 1;
j < height - 1; ++
j)
119 std::function<bool(T*)> fp_oper = [](
T* ptr) {
return !*((
int *)ptr); };
120 std::function<bool(T*)> uint_oper = [](
T* ptr) {
return !(*ptr); };
126 for (
int j = 1;
j < height - 1; ++
j)
136 if (!empty(q) && (*q <
tmp))
140 if (!empty(q) && (*q <
tmp))
144 if (!empty(q) && (*q <
tmp))
148 if (!empty(q) && (*q <
tmp))
rs2::stream_profile _target_stream_profile
rs2_extension _extension_type
void update_configuration(const rs2::frame &f)
void holes_fill_nearest(T *image_data, size_t width, size_t height, size_t stride)
rs2::frame process_frame(const rs2::frame_source &source, const rs2::frame &f) override
size_t _current_frm_size_pixels
GLint GLsizei GLsizei height
GLdouble GLdouble GLint stride
void holes_fill_farest(T *image_data, size_t width, size_t height, size_t stride)
rs2::frame prepare_target_frame(const rs2::frame &f, const rs2::frame_source &source)
GLdouble GLdouble GLdouble q
rs2_extension
Specifies advanced interfaces (capabilities) objects may implement.
void apply_hole_filling(void *image_data)
GLsizei GLsizei GLchar * source
rs2::stream_profile _source_stream_profile
uint8_t _hole_filling_mode
MAP_EXTENSION(RS2_EXTENSION_POINTS, librealsense::points)
void holes_fill_left(T *image_data, size_t width, size_t height, size_t stride)
std::string to_string(T value)