#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,
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;