![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <decklink_drift_fix.hpp>

Public Member Functions | |
| MovingAverage (unsigned int period) | |
| ~MovingAverage () | |
| void | add (double val) |
| double | avg () const |
| ptrdiff_t | filled () |
| double | getTotal () const |
| ptrdiff_t | size () const |
Private Member Functions | |
| void | inc (double *&p) |
Private Attributes | |
| double * | head |
| unsigned int | period |
| double * | tail |
| double | total |
| double * | window |
Definition at line 58 of file decklink_drift_fix.hpp.
|
inline |
|
inline |
Definition at line 70 of file decklink_drift_fix.hpp.
References window.
|
inline |
Definition at line 74 of file decklink_drift_fix.hpp.
References head, inc(), tail, total, val, and window.
Referenced by DecklinkAudioSummary::calculate_missing(), and AudioDriftFixer::update().

|
inline |
Definition at line 97 of file decklink_drift_fix.hpp.
Referenced by DecklinkAudioSummary::calculate_missing(), AudioDriftFixer::get_buffer_avg(), DecklinkAudioSummary::report(), and AudioDriftFixer::update().

|
inline |
Definition at line 113 of file decklink_drift_fix.hpp.
References filled(), period, and size().
Referenced by DecklinkAudioSummary::calculate_missing(), filled(), and AudioDriftFixer::update().

|
inline |
Definition at line 121 of file decklink_drift_fix.hpp.
References total.
|
inlineprivate |
|
inline |
|
private |
Definition at line 128 of file decklink_drift_fix.hpp.
|
private |
Definition at line 126 of file decklink_drift_fix.hpp.
Referenced by MovingAverage(), filled(), inc(), and size().
|
private |
Definition at line 129 of file decklink_drift_fix.hpp.
|
private |
Definition at line 130 of file decklink_drift_fix.hpp.
Referenced by add(), avg(), and getTotal().
|
private |
Definition at line 127 of file decklink_drift_fix.hpp.
Referenced by ~MovingAverage(), add(), and inc().