Classes | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
librealsense::auto_exposure_mechanism Class Reference

#include <algo.h>

Classes

struct  exposure_and_frame_counter
 

Public Member Functions

void add_frame (frame_holder frame)
 
 auto_exposure_mechanism (option &gain_option, option &exposure_option, const auto_exposure_state &auto_exposure_state)
 
void update_auto_exposure_roi (const region_of_interest &roi)
 
void update_auto_exposure_state (const auto_exposure_state &auto_exposure_state)
 
 ~auto_exposure_mechanism ()
 

Private Attributes

auto_exposure_algorithm _auto_exposure_algo
 
std::condition_variable _cv
 
single_consumer_queue< frame_holder_data_queue
 
option_exposure_option
 
std::shared_ptr< std::thread > _exposure_thread
 
std::atomic< unsigned > _frames_counter
 
option_gain_option
 
std::atomic< bool > _keep_alive
 
std::mutex _queue_mtx
 
std::atomic< unsigned > _skip_frames
 

Static Private Attributes

static const int queue_size = 2
 

Detailed Description

Definition at line 105 of file algo.h.

Constructor & Destructor Documentation

auto_exposure_mechanism::auto_exposure_mechanism ( option gain_option,
option exposure_option,
const auto_exposure_state auto_exposure_state 
)

Definition at line 49 of file algo.cpp.

auto_exposure_mechanism::~auto_exposure_mechanism ( )

Definition at line 127 of file algo.cpp.

Member Function Documentation

void auto_exposure_mechanism::add_frame ( frame_holder  frame)

Definition at line 150 of file algo.cpp.

void auto_exposure_mechanism::update_auto_exposure_roi ( const region_of_interest roi)

Definition at line 144 of file algo.cpp.

void auto_exposure_mechanism::update_auto_exposure_state ( const auto_exposure_state auto_exposure_state)

Definition at line 137 of file algo.cpp.

Member Data Documentation

auto_exposure_algorithm librealsense::auto_exposure_mechanism::_auto_exposure_algo
private

Definition at line 130 of file algo.h.

std::condition_variable librealsense::auto_exposure_mechanism::_cv
private

Definition at line 132 of file algo.h.

single_consumer_queue<frame_holder> librealsense::auto_exposure_mechanism::_data_queue
private

Definition at line 134 of file algo.h.

option& librealsense::auto_exposure_mechanism::_exposure_option
private

Definition at line 129 of file algo.h.

std::shared_ptr<std::thread> librealsense::auto_exposure_mechanism::_exposure_thread
private

Definition at line 131 of file algo.h.

std::atomic<unsigned> librealsense::auto_exposure_mechanism::_frames_counter
private

Definition at line 136 of file algo.h.

option& librealsense::auto_exposure_mechanism::_gain_option
private

Definition at line 128 of file algo.h.

std::atomic<bool> librealsense::auto_exposure_mechanism::_keep_alive
private

Definition at line 133 of file algo.h.

std::mutex librealsense::auto_exposure_mechanism::_queue_mtx
private

Definition at line 135 of file algo.h.

std::atomic<unsigned> librealsense::auto_exposure_mechanism::_skip_frames
private

Definition at line 137 of file algo.h.

const int librealsense::auto_exposure_mechanism::queue_size = 2
staticprivate

Definition at line 127 of file algo.h.


The documentation for this class was generated from the following files:


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