X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Finterlace.h;h=2101b7993964020849ea4f3cff40063d4579ad01;hb=c3e08544100cdd7045f710bfcea33e07d9fcd25b;hp=da073aeba3615f584c8c8096fdda8007a107086e;hpb=b853d6aa5b918c6ca4786f14cd1fa8a1c4254fe9;p=ffmpeg diff --git a/libavfilter/interlace.h b/libavfilter/interlace.h index da073aeba36..2101b799396 100644 --- a/libavfilter/interlace.h +++ b/libavfilter/interlace.h @@ -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);