#include <latency-detector.h>
Classes | |
struct | detector_lock |
struct | record |
Public Member Functions | |
void | begin_render () |
void | copy_preview_to (cv::Mat &display) |
detector (int digits, int display_w) | |
void | end_render () |
int | get_next_value () |
void | submit_frame (rs2::frame f) |
~detector () | |
Private Member Functions | |
void | detect () |
void | next () |
void | update_instructions () |
Private Attributes | |
std::atomic_bool | _alive |
const int | _digits |
const int | _display_w |
cv::Mat | _instructions |
cv::Mat | _last_preview |
measurement< int > | _latency |
std::atomic_bool | _next |
std::atomic< int > | _next_value |
bit_packer | _packer |
std::mutex | _preview_mutex |
const cv::Size | _preview_size |
measurement< int > | _processing_time |
single_consumer_queue< record > | _queue |
std::chrono::high_resolution_clock::time_point | _render_start |
measurement< int > | _render_time |
std::chrono::high_resolution_clock::time_point | _start_time |
std::thread | _t |
Definition at line 140 of file latency-detector.h.
|
inline |
Definition at line 143 of file latency-detector.h.
|
inline |
Definition at line 178 of file latency-detector.h.
|
inline |
Definition at line 167 of file latency-detector.h.
|
inline |
Definition at line 224 of file latency-detector.h.
|
inlineprivate |
Definition at line 293 of file latency-detector.h.
|
inline |
Definition at line 172 of file latency-detector.h.
|
inline |
Definition at line 208 of file latency-detector.h.
|
inlineprivate |
Definition at line 241 of file latency-detector.h.
|
inline |
Definition at line 185 of file latency-detector.h.
|
inlineprivate |
Definition at line 261 of file latency-detector.h.
|
private |
Definition at line 380 of file latency-detector.h.
|
private |
Definition at line 377 of file latency-detector.h.
|
private |
Definition at line 378 of file latency-detector.h.
|
private |
Definition at line 393 of file latency-detector.h.
|
private |
Definition at line 392 of file latency-detector.h.
|
private |
Definition at line 397 of file latency-detector.h.
|
private |
Definition at line 387 of file latency-detector.h.
|
private |
Definition at line 388 of file latency-detector.h.
|
private |
Definition at line 381 of file latency-detector.h.
|
private |
Definition at line 391 of file latency-detector.h.
|
private |
Definition at line 390 of file latency-detector.h.
|
private |
Definition at line 396 of file latency-detector.h.
|
private |
Definition at line 383 of file latency-detector.h.
|
private |
Definition at line 385 of file latency-detector.h.
|
private |
Definition at line 395 of file latency-detector.h.
|
private |
Definition at line 384 of file latency-detector.h.
|
private |
Definition at line 382 of file latency-detector.h.