X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Finterlace.h;h=2101b7993964020849ea4f3cff40063d4579ad01;hb=19bb2cade5c8a9d7e666b9b668f7bb8f28e8b759;hp=da073aeba3615f584c8c8096fdda8007a107086e;hpb=b5a42c7f098a0eaee9cb08ce8b26b0c9a307d9c4;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);