summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-02-01 08:22:59 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-02-01 08:22:59 +0100
commitb5570c833d8b41100cbeca41bf3f08ce968f3441 (patch)
tree9be29b95f95c9ebb1a28e52e7cd5650a11619775 /src/util.h
parent77babe2d63b8f6cc49965b97b769479129b703f7 (diff)
downloadadvtime-b5570c833d8b41100cbeca41bf3f08ce968f3441.tar.gz
advtime-b5570c833d8b41100cbeca41bf3f08ce968f3441.tar.bz2
advtime-b5570c833d8b41100cbeca41bf3f08ce968f3441.zip
Also put frame_average into util
Not yet needed by other tools than cuttime, but its really just a utility function.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index bc926b6..4666b06 100644
--- a/src/util.h
+++ b/src/util.h
@@ -26,6 +26,9 @@ frame_mix(struct video_frame *frame_a, struct video_frame *frame_b);
double
frame_diff(struct video_frame *frame_a, struct video_frame *frame_b);
+double
+frame_average(struct video_frame *frame);
+
void
print_time(int64_t msec);