]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/tinterlace.h
avutil/mem: Also poison new av_realloc-allocated blocks
[ffmpeg] / libavfilter / tinterlace.h
index b5c39aac522e49abcc9416f7517d3d90b63a449b..4059ebf81a1fc4f05ecc11dc5012cc13ee0325eb 100644 (file)
 #include "avfilter.h"
 
 #define TINTERLACE_FLAG_VLPF 01
-#define TINTERLACE_FLAG_EXACT_TB 2
-#define TINTERLACE_FLAG_CVLPF 4
+#define TINTERLACE_FLAG_CVLPF 2
+#define TINTERLACE_FLAG_EXACT_TB 4
+#define TINTERLACE_FLAG_BYPASS_IL 8
+
+enum VLPFilter {
+    VLPF_OFF = 0,
+    VLPF_LIN = 1,
+    VLPF_CMP = 2,
+};
 
 enum TInterlaceMode {
     MODE_MERGE = 0,
@@ -49,12 +56,17 @@ enum TInterlaceMode {
     MODE_NB,
 };
 
+enum InterlaceScanMode {
+    MODE_TFF = 0,
+    MODE_BFF,
+};
+
 typedef struct TInterlaceContext {
     const AVClass *class;
     int mode;                   ///< TInterlaceMode, interlace mode selected
     AVRational preout_time_base;
     int flags;                  ///< flags affecting interlacing algorithm
-    int frame;                  ///< number of the output frame
+    int lowpass;                ///< legacy interlace filter lowpass mode
     int vsub;                   ///< chroma vertical subsampling
     AVFrame *cur;
     AVFrame *next;