diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-02 21:30:51 -0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-03 16:31:26 +0100 |
commit | fe6f5f2908ae9ac49e8f4f0aae66839f1557c61a (patch) | |
tree | cdbe2ad5d6246ea136c201f382684062fa841f44 /libavfilter/vf_idet.h | |
parent | 50138ea4f7b3df618b905f9540174387cded79c6 (diff) | |
download | ffmpeg-fe6f5f2908ae9ac49e8f4f0aae66839f1557c61a.tar.gz |
avfilter/vf_idet: add a "half_life" option for statistics
This can be useful for videos in which the interlacing pattern changes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_idet.h')
-rw-r--r-- | libavfilter/vf_idet.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libavfilter/vf_idet.h b/libavfilter/vf_idet.h index 57332dfbdd..05aa1e0506 100644 --- a/libavfilter/vf_idet.h +++ b/libavfilter/vf_idet.h @@ -37,10 +37,14 @@ typedef struct { const AVClass *class; float interlace_threshold; float progressive_threshold; + float half_life; + uint64_t decay_coefficient; Type last_type; - int prestat[4]; - int poststat[4]; + uint64_t prestat[4]; + uint64_t poststat[4]; + uint64_t total_prestat[4]; + uint64_t total_poststat[4]; uint8_t history[HIST_SIZE]; |