diff options
author | Thomas Mundt <tmundt75@gmail.com> | 2017-09-19 22:23:23 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-09-23 16:19:58 -0300 |
commit | 40bfaa190c61b6eeff1b76b767c12edd6609967d (patch) | |
tree | 533340612ea536e60bd9189fb110772e4513a49a /libavfilter/tinterlace.h | |
parent | 58ca446672fec10e851b820ce7df64bd2d1f3a70 (diff) | |
download | ffmpeg-40bfaa190c61b6eeff1b76b767c12edd6609967d.tar.gz |
avfilter/interlace: add support for 10 and 12 bit
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/tinterlace.h')
-rw-r--r-- | libavfilter/tinterlace.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); |