Browse Source

lavu: add more doxy to av_rescale_delta

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
2bcbdd8456
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      libavutil/mathematics.h

+ 6
- 0
libavutil/mathematics.h View File

@@ -124,6 +124,12 @@ int64_t av_compare_mod(uint64_t a, uint64_t b, uint64_t mod);

/**
* Rescale a timestamp while preserving known durations.
*
* @param in_ts Input timestamp
* @param in_tb Input timesbase
* @param fs_tb Duration and *last timebase
* @param duration duration till the next call
* @param out_tb Output timesbase
*/
int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb);



Loading…
Cancel
Save