[vlc-devel] [PATCH 00/10 v3] timestamp/tick cleaning

Steve Lhomme robux4 at ycbcr.xyz
Fri Jun 22 14:53:17 CEST 2018


Following the renaming of mtime_t to vlc_tick_t I updated the patches.
I also added macros for micro and nanoseconds, even though they won't be used
for now.

The msftime_t patches are groups in a single patch.

The floating point second conversion to vlc_tick_t is no longer using the
"secf" name, using C11 generic and C++ function overloading.

Steve Lhomme (10):
  vlc_tick: add helper function to convert milliseconds to/from
    vlc_tick_t
  vlc_tick: add helper macros to convert to/from seconds/vlc_tick_t
    explicitly
  vlc_tick: add helper functions to convert (milli)seconds to/from
    vlc_tick_t
  vlc_tick: add helper function for explicit nanosecond to/from
    vlc_tick_t conversion
  vlc_tick: add helper macros to conver to/from nanoseconds/vlc_tick_t
  vlc_tick: add helper function to convert microseconds to/from
    vlc_tick_t
  vlc_tick: add helper macros to convert to/from microseconds/vlc_tick_t
  vlc_tick: add helper fonctions to convert from vlc_tick_t from
    floating point seconds
  vlc_tick: add msftime_t to express 100ns time
  vlc_tick: add VLC_TICK_EPSILON to express the tiniest vlc_tick_t that
    can be used

 include/vlc_tick.h | 113 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 113 insertions(+)

-- 
2.17.0



More information about the vlc-devel mailing list