[vlc-devel] [PATCH 01/18] clock: Avg: use double
Francois Cartegnie
fcartegnie at gmail.com
Thu Mar 7 15:35:51 CET 2019
> typedef struct
> {
> - vlc_tick_t i_value;
> - int i_residue;
> -
> - int i_count;
> - int i_divider;
> + double value; /* The average value */
> + int count; /* The number of sample evaluated */
> + int range; /* The maximum range of sample on which we calculate the average*/
> } average_t;
non exact and slower than integer/remain * timescale
What's the need ?
--
Francois Cartegnie
VideoLAN - VLC Developer
--
Francois Cartegnie
VideoLAN - VLC Developer
More information about the vlc-devel
mailing list