diff options
author | Thomas Mundt <tmundt75@gmail.com> | 2017-09-19 00:57:17 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-09-23 22:19:58 +0300 |
commit | 58ca446672fec10e851b820ce7df64bd2d1f3a70 (patch) | |
tree | 5868650f529e199d4bc9b4551d3b6fc021847b51 /libavfilter/tinterlace.h | |
parent | 01911b9b3cad85ff1c346165659c0181db661b3e (diff) |
avfilter/tinterlace: use drawutils for pad mode
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/tinterlace.h b/libavfilter/tinterlace.h index 7f50d3c8ee..cc13a6cc50 100644 --- a/libavfilter/tinterlace.h +++ b/libavfilter/tinterlace.h @@ -28,6 +28,7 @@ #define AVFILTER_TINTERLACE_H #include "libavutil/opt.h" +#include "drawutils.h" #include "avfilter.h" #define TINTERLACE_FLAG_VLPF 01 @@ -57,6 +58,8 @@ typedef struct TInterlaceContext { AVFrame *next; uint8_t *black_data[4]; ///< buffer used to fill padded lines int black_linesize[4]; + FFDrawContext draw; + FFDrawColor color; void (*lowpass_line)(uint8_t *dstp, ptrdiff_t width, const uint8_t *srcp, ptrdiff_t mref, ptrdiff_t pref); } TInterlaceContext; |