18 hdr_params(
int sequence_id,
float exposure,
float gain);
39 bool is_config_in_process()
const;
41 bool is_enabled()
const;
44 bool is_hdr_id(
int id)
const;
45 bool is_hdr_enabled_in_device(std::vector<byte>&
result)
const;
46 bool is_current_subpreset_hdr(
const std::vector<byte>& current_subpreset)
const;
47 bool configure_hdr_as_in_fw(
const std::vector<byte>& current_subpreset);
48 command prepare_hdr_sub_preset_command()
const;
49 std::vector<uint8_t> prepare_sub_preset_header()
const;
50 std::vector<uint8_t> prepare_sub_preset_frames_config()
const;
52 const int DEFAULT_HDR_ID = 0;
53 const int DEFAULT_CURRENT_HDR_SEQUENCE_INDEX = -1;
54 const int DEFAULT_HDR_SEQUENCE_SIZE = 2;
57 const float PRE_ENABLE_HDR_EXPOSURE = 30000.f;
63 void set_options_to_be_restored_after_disable();
64 void restore_options_after_disable();
66 bool validate_config()
const;
67 bool send_sub_preset_to_fw();
69 void set_id(
float value);
70 void set_sequence_size(
float value);
71 void set_sequence_index(
float value);
72 void set_enable_status(
float value);
73 void set_exposure(
float value);
74 void set_gain(
float value);
rs2_option
Defines general configuration controls. These can generally be mapped to camera UVC controls...
std::vector< hdr_params > _hdr_sequence_params
int _current_hdr_sequence_index
bool _emitter_on_off_to_be_restored
hdr_params & operator=(const hdr_params &other)
std::weak_ptr< sensor_base > _sensor
bool operator==(const hdr_params &first, const hdr_params &second)
bool _auto_exposure_to_be_restored
option_range _exposure_range
bool _is_config_in_process