From 2da5bf4c2f4cb878bad794be2b76108afbbd899d Mon Sep 17 00:00:00 2001 From: Thomas Mundt Date: Thu, 20 Apr 2017 23:33:39 +0200 Subject: avfilter/interlace: add complex vertical low-pass filter This complex (-1 2 6 2 -1) filter slightly less reduces interlace 'twitter' but better retain detail and subjective sharpness impression compared to the linear (1 2 1) filter. Signed-off-by: Thomas Mundt Signed-off-by: James Almer --- libavfilter/tinterlace.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavfilter/tinterlace.h') diff --git a/libavfilter/tinterlace.h b/libavfilter/tinterlace.h index f52af13c9a..e01050cba7 100644 --- a/libavfilter/tinterlace.h +++ b/libavfilter/tinterlace.h @@ -30,6 +30,10 @@ #include "libavutil/opt.h" #include "avfilter.h" +#define TINTERLACE_FLAG_VLPF 01 +#define TINTERLACE_FLAG_EXACT_TB 2 +#define TINTERLACE_FLAG_CVLPF 4 + enum TInterlaceMode { MODE_MERGE = 0, MODE_DROP_EVEN, -- cgit v1.2.3