aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-27 02:58:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-27 02:58:09 +0200
commit2bcbdd84569037c3dd9011246691ccb50368fc18 (patch)
tree1021b820b3c52e66c74a184fe709ff5641da9f2a
parentc430cb49fdc9c91ead97ba5ebfb88146d0ebd924 (diff)
downloadffmpeg-2bcbdd84569037c3dd9011246691ccb50368fc18.tar.gz
lavu: add more doxy to av_rescale_delta
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/mathematics.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/mathematics.h b/libavutil/mathematics.h
index 81b14fd29e..0021d523ef 100644
--- a/libavutil/mathematics.h
+++ b/libavutil/mathematics.h
@@ -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);