summaryrefslogtreecommitdiffstats
path: root/libavutil/mathematics.h
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 /libavutil/mathematics.h
parentc430cb49fdc9c91ead97ba5ebfb88146d0ebd924 (diff)
downloadffmpeg-streaming-2bcbdd84569037c3dd9011246691ccb50368fc18.zip
ffmpeg-streaming-2bcbdd84569037c3dd9011246691ccb50368fc18.tar.gz
lavu: add more doxy to av_rescale_delta
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/mathematics.h')
-rw-r--r--libavutil/mathematics.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/mathematics.h b/libavutil/mathematics.h
index 81b14fd..0021d52 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);
OpenPOWER on IntegriCloud