RTS API Documentation
1.10.11
|
#include <switch.h>
Go to the source code of this file.
Data Structures | |
struct | kalman_estimator_s |
struct | cusum_kalman_detector_s |
Typedefs | |
typedef struct kalman_estimator_s | kalman_estimator_t |
typedef struct cusum_kalman_detector_s | cusum_kalman_detector_t |
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_estimate (kalman_estimator_t *est, float measurement, int system_model) |
switch_bool_t | switch_kalman_cusum_detect_change (cusum_kalman_detector_t *detector, float measurement, float rtt_avg) |
switch_bool_t | switch_kalman_is_slow_link (kalman_estimator_t *est_loss, kalman_estimator_t *est_rtt) |
typedef struct cusum_kalman_detector_s cusum_kalman_detector_t |
Definition at line 80 of file switch_estimators.h.
typedef struct kalman_estimator_s kalman_estimator_t |
Definition at line 79 of file switch_estimators.h.
switch_bool_t switch_kalman_cusum_detect_change | ( | cusum_kalman_detector_t * | detector, |
float | measurement, | ||
float | rtt_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().