#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 |
auto_exposure_mechanism::auto_exposure_mechanism | ( | option & | gain_option, |
option & | exposure_option, | ||
const auto_exposure_state & | auto_exposure_state | ||
) |
void auto_exposure_mechanism::add_frame | ( | frame_holder | frame | ) |
void auto_exposure_mechanism::update_auto_exposure_roi | ( | const region_of_interest & | roi | ) |
void auto_exposure_mechanism::update_auto_exposure_state | ( | const auto_exposure_state & | auto_exposure_state | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |