summaryrefslogtreecommitdiffstats
path: root/libavutil/mathematics.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/mathematics.h')
-rw-r--r--libavutil/mathematics.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/mathematics.h b/libavutil/mathematics.h
index 113286c..81b14fd 100644
--- a/libavutil/mathematics.h
+++ b/libavutil/mathematics.h
@@ -123,6 +123,11 @@ int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b);
int64_t av_compare_mod(uint64_t a, uint64_t b, uint64_t mod);
/**
+ * Rescale a timestamp while preserving known durations.
+ */
+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