63 for (
int i = 0;
i < width_height_prod;
i++)
65 if (is_infrared_valid<T>(i0[
i],
format) && d0[i])
67 else if (is_infrared_valid<T>(
i1[i],
format) && d1[i])
unsigned long long _previous_depth_frame_counter
stream_profile get_profile() const
const int NUMBER_OF_FRAMES_WITHOUT_METADATA_FOR_WARNING
const void * get_data() const
rs2::frame merging_algorithm(const rs2::frame_source &source, const rs2::frameset first_fs, const rs2::frameset second_fs, const bool use_ir) const
bool is_infrared_valid(T ir_value, rs2_format ir_format) const
const int IR_UNDER_SATURATED_VALUE_Y16
bool should_ir_be_used_for_merging(const rs2::depth_frame &first_depth, const rs2::video_frame &first_ir, const rs2::depth_frame &second_depth, const rs2::video_frame &second_ir) const
rs2::frame _depth_merged_frame
GLint GLint GLsizei GLint GLenum format
void merge_frames_using_ir(uint16_t *new_data, uint16_t *d0, uint16_t *d1, const rs2::video_frame &first_ir, const rs2::video_frame &second_ir, int width_height_prod) const
std::map< int, rs2::frameset > _framesets
rs2_format
A stream's format identifies how binary data is encoded within a frame.
bool check_frames_mergeability(const rs2::frameset first_fs, const rs2::frameset second_fs, bool &use_ir) const
int _frames_without_requested_metadata_counter
rs2_format format() const
const int IR_UNDER_SATURATED_VALUE_Y8
rs2::frame process_frame(const rs2::frame_source &source, const rs2::frame &f) override
void reset_warning_counter_on_pipe_restart(const rs2::depth_frame &depth_frame)
GLsizei GLsizei GLchar * source
const int IR_OVER_SATURATED_VALUE_Y16
void merge_frames_using_only_depth(uint16_t *new_data, uint16_t *d0, uint16_t *d1, int width_height_prod) const
void discard_depth_merged_frame_if_needed(const rs2::frame &f)
bool should_process(const rs2::frame &frame) override
MAP_EXTENSION(RS2_EXTENSION_POINTS, librealsense::points)
const int IR_OVER_SATURATED_VALUE_Y8