Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Mundt <tmundt75@gmail.com>2017-04-21 00:33:39 +0300
committerJames Almer <jamrial@gmail.com>2017-05-02 20:09:50 +0300
commit2da5bf4c2f4cb878bad794be2b76108afbbd899d (patch)
tree509008cb5a54e60151674017dae6c88bdcd9d6a7 /libavfilter/interlace.h
parent20da4135020fdf66f6060bb14926befbcc42a7dd (diff)
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 <tmundt75@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/interlace.h')
-rw-r--r--libavfilter/interlace.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavfilter/interlace.h b/libavfilter/interlace.h
index 107c94fdb1..2101b79939 100644
--- a/libavfilter/interlace.h
+++ b/libavfilter/interlace.h
@@ -44,6 +44,12 @@ enum FieldType {
FIELD_LOWER = 1,
};
+enum VLPFilter {
+ VLPF_OFF = 0,
+ VLPF_LIN = 1,
+ VLPF_CMP = 2,
+};
+
typedef struct InterlaceContext {
const AVClass *class;
enum ScanMode scan; // top or bottom field first scanning