auto-exposure-processor.cpp
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2019 Intel Corporation. All Rights Reserved.
3 
5 
7  : auto_exposure_processor("Auto Exposure Processor", stream, enable_ae_option) {}
8 
11  _stream(stream),
12  _enable_ae_option(enable_ae_option) {}
13 
15 {
17 }
18 
20 {
21  // We dont actually modify the frame, only calculate and process the exposure values.
22  auto&& fi = (frame_interface*)f.get();
23  ((librealsense::frame*)fi)->additional_data.fisheye_ae_mode = true;
24 
25  fi->acquire();
27  if (auto_exposure)
28  auto_exposure->add_frame(fi);
29 
30  return f;
31 }
auto_exposure_processor(rs2_stream stream, enable_auto_exposure_option &enable_ae_option)
rs2_frame * get() const
Definition: rs_frame.hpp:590
GLuint const GLchar * name
bool should_process(const rs2::frame &frame) override
GLdouble f
enable_auto_exposure_option & _enable_ae_option
rs2_stream
Streams are different types of data provided by RealSense devices.
Definition: rs_sensor.h:42
auto_exposure_mechanism * get_auto_exposure()
Definition: ds5-options.h:72
GLsizei GLsizei GLchar * source
rs2::frame process_frame(const rs2::frame_source &source, const rs2::frame &f) override


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:45:06