Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Mundt <tmundt75@gmail.com>2017-09-19 23:23:23 +0300
committerJames Almer <jamrial@gmail.com>2017-09-23 22:19:58 +0300
commit40bfaa190c61b6eeff1b76b767c12edd6609967d (patch)
tree533340612ea536e60bd9189fb110772e4513a49a /libavfilter/tinterlace.h
parent58ca446672fec10e851b820ce7df64bd2d1f3a70 (diff)
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.h5
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);