diff options
author | Marton Balint <cus@passwd.hu> | 2019-12-06 10:35:41 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2019-12-14 22:53:56 +0100 |
commit | 28b5dc6199ed7b4f62e345865fe28142b9cbf9e0 (patch) | |
tree | 981a1c86eff359216f5423172dcded0906f31f1b /libavfilter/tinterlace.h | |
parent | 8b5ef2dcffe56e94c26278645f0b3bcf0805c64d (diff) | |
download | ffmpeg-28b5dc6199ed7b4f62e345865fe28142b9cbf9e0.tar.gz |
avfilter/vf_interlace: restore lowpass mode constants
The documentation still mentions numerical constants in addition to textual
ones. It is also wrong to use distinct modes as flags and it disallows us to
actually use the flags field for real flags in the future.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavfilter/tinterlace.h')
-rw-r--r-- | libavfilter/tinterlace.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavfilter/tinterlace.h b/libavfilter/tinterlace.h index 5bcb9a583a..e204b61aa0 100644 --- a/libavfilter/tinterlace.h +++ b/libavfilter/tinterlace.h @@ -37,6 +37,12 @@ #define TINTERLACE_FLAG_CVLPF 2 #define TINTERLACE_FLAG_EXACT_TB 4 +enum VLPFilter { + VLPF_OFF = 0, + VLPF_LIN = 1, + VLPF_CMP = 2, +}; + enum TInterlaceMode { MODE_MERGE = 0, MODE_DROP_EVEN, @@ -59,6 +65,7 @@ typedef struct TInterlaceContext { int mode; ///< TInterlaceMode, interlace mode selected AVRational preout_time_base; int flags; ///< flags affecting interlacing algorithm + int lowpass; ///< legacy interlace filter lowpass mode int frame; ///< number of the output frame int vsub; ///< chroma vertical subsampling AVFrame *cur; |