32 auto _last_frame =
reinterpret_cast<T*
>(_last_frame_data);
51 T diff =
static_cast<T>(fabs(cur_val - prev_val));
72 unsigned char hist = history[
i];
74 if (classification & mask)
void on_set_delta(float val)
rs2::stream_profile _target_stream_profile
void on_set_persistence_control(uint8_t val)
std::array< uint8_t, PRESISTENCY_LUT_SIZE > _persistence_map
void on_set_alpha(float val)
std::vector< uint8_t > _history
rs2_extension _extension_type
rs2::stream_profile _source_stream_profile
std::vector< uint8_t > _last_frame
void recalc_persistence_map()
void temp_jw_smooth(void *frame_data, void *_last_frame_data, uint8_t *history)
void update_configuration(const rs2::frame &f)
rs2::frame prepare_target_frame(const rs2::frame &f, const rs2::frame_source &source)
rs2_extension
Specifies advanced interfaces (capabilities) objects may implement.
const size_t PRESISTENCY_LUT_SIZE
GLsizei GLsizei GLchar * source
size_t _current_frm_size_pixels
uint8_t _persistence_param
MAP_EXTENSION(RS2_EXTENSION_POINTS, librealsense::points)
rs2::frame process_frame(const rs2::frame_source &source, const rs2::frame &f) override