]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/interlace.h
Merge commit 'b4a911c189962e563a09fb0efaf6fa9ab56263a4'
[ffmpeg] / libavfilter / interlace.h
index da073aeba3615f584c8c8096fdda8007a107086e..2101b7993964020849ea4f3cff40063d4579ad01 100644 (file)
@@ -44,13 +44,19 @@ 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
     int lowpass;           // enable or disable low pass filtering
     AVFrame *cur, *next;   // the two frames from which the new one is obtained
     void (*lowpass_line)(uint8_t *dstp, ptrdiff_t linesize, const uint8_t *srcp,
-                         const uint8_t *srcp_above, const uint8_t *srcp_below);
+                         ptrdiff_t mref, ptrdiff_t pref);
 } InterlaceContext;
 
 void ff_interlace_init_x86(InterlaceContext *interlace);