|
RTS API Documentation
1.10.11
|
Include dependency graph for switch_estimators.c:Go to the source code of this file.
Macros | |
| #define | KALMAN_SYSTEM_MODELS 3 /*loss, jitter, rtt*/ |
| #define | EST_LOSS 0 |
| #define | EST_JITTER 1 |
| #define | EST_RTT 2 |
Functions | |
| void | switch_kalman_init (kalman_estimator_t *est, float Q, float R) |
| switch_bool_t | switch_kalman_cusum_init (cusum_kalman_detector_t *detect_change, float epsilon, float h) |
| switch_bool_t | switch_kalman_cusum_detect_change (cusum_kalman_detector_t *detector, float measurement, float avg) |
| switch_bool_t | switch_kalman_estimate (kalman_estimator_t *est, float measurement, int system_model) |
| switch_bool_t | switch_kalman_is_slow_link (kalman_estimator_t *est_loss, kalman_estimator_t *est_rtt) |
| #define EST_JITTER 1 |
Definition at line 49 of file switch_estimators.c.
Referenced by switch_kalman_estimate().
| #define EST_LOSS 0 |
Definition at line 48 of file switch_estimators.c.
Referenced by switch_kalman_estimate().
| #define EST_RTT 2 |
Definition at line 50 of file switch_estimators.c.
Referenced by switch_kalman_estimate().
| #define KALMAN_SYSTEM_MODELS 3 /*loss, jitter, rtt*/ |
Definition at line 47 of file switch_estimators.c.
Referenced by switch_kalman_estimate().
| switch_bool_t switch_kalman_cusum_detect_change | ( | cusum_kalman_detector_t * | detector, |
| float | measurement, | ||
| float | avg | ||
| ) |
Definition at line 142 of file switch_estimators.c.
References cusum_kalman_detector_s::delta, cusum_kalman_detector_s::epsilon, FALSE, cusum_kalman_detector_s::g_last, cusum_kalman_detector_s::h, if(), cusum_kalman_detector_s::last_average, cusum_kalman_detector_s::measurement_noise_e, cusum_kalman_detector_s::N, cusum_kalman_detector_s::P_last, TRUE, cusum_kalman_detector_s::val_desired_last, cusum_kalman_detector_s::variance_Re, and cusum_kalman_detector_s::variance_Rv.
Referenced by process_rtcp_report().
| switch_bool_t switch_kalman_cusum_init | ( | cusum_kalman_detector_t * | detect_change, |
| float | epsilon, | ||
| float | h | ||
| ) |
Definition at line 113 of file switch_estimators.c.
Referenced by rtcp_stats_init().
| switch_bool_t switch_kalman_estimate | ( | kalman_estimator_t * | est, |
| float | measurement, | ||
| int | system_model | ||
| ) |
Definition at line 195 of file switch_estimators.c.
References EST_JITTER, EST_LOSS, EST_RTT, kalman_estimator_s::K, KALMAN_SYSTEM_MODELS, kalman_estimator_s::P, kalman_estimator_s::P_last, kalman_estimator_s::Q, kalman_estimator_s::R, SWITCH_FALSE, SWITCH_TRUE, kalman_estimator_s::val_estimate_last, and kalman_estimator_s::val_measured.
Referenced by process_rtcp_report().
| void switch_kalman_init | ( | kalman_estimator_t * | est, |
| float | Q, | ||
| float | R | ||
| ) |
| switch_bool_t switch_kalman_is_slow_link | ( | kalman_estimator_t * | est_loss, |
| kalman_estimator_t * | est_rtt | ||
| ) |
Definition at line 238 of file switch_estimators.c.
References SWITCH_FALSE, SWITCH_TRUE, and kalman_estimator_s::val_estimate_last.
Referenced by process_rtcp_report().
1.8.13