From 40bfaa190c61b6eeff1b76b767c12edd6609967d Mon Sep 17 00:00:00 2001 From: Thomas Mundt Date: Tue, 19 Sep 2017 22:23:23 +0200 Subject: avfilter/interlace: add support for 10 and 12 bit Reviewed-by: Michael Niedermayer Signed-off-by: Thomas Mundt Signed-off-by: James Almer --- libavfilter/tinterlace.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libavfilter/tinterlace.h') diff --git a/libavfilter/tinterlace.h b/libavfilter/tinterlace.h index cc13a6cc50..b5c39aac52 100644 --- a/libavfilter/tinterlace.h +++ b/libavfilter/tinterlace.h @@ -27,7 +27,9 @@ #ifndef AVFILTER_TINTERLACE_H #define AVFILTER_TINTERLACE_H +#include "libavutil/bswap.h" #include "libavutil/opt.h" +#include "libavutil/pixdesc.h" #include "drawutils.h" #include "avfilter.h" @@ -60,8 +62,9 @@ typedef struct TInterlaceContext { int black_linesize[4]; FFDrawContext draw; FFDrawColor color; + const AVPixFmtDescriptor *csp; void (*lowpass_line)(uint8_t *dstp, ptrdiff_t width, const uint8_t *srcp, - ptrdiff_t mref, ptrdiff_t pref); + ptrdiff_t mref, ptrdiff_t pref, int clip_max); } TInterlaceContext; void ff_tinterlace_init_x86(TInterlaceContext *interlace); -- cgit v1.2.3