summaryrefslogtreecommitdiffstats
path: root/libavfilter/tinterlace.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-15 03:20:02 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-15 03:25:43 +0100
commit18b46ecc93bf07663431ae561118990b525bc103 (patch)
tree48092edc1a27631dd2890ca039fc0cd99bfa9e60 /libavfilter/tinterlace.h
parent9d548fce24057649f0463e1243417d8f80f1d1db (diff)
downloadffmpeg-streaming-18b46ecc93bf07663431ae561118990b525bc103.zip
ffmpeg-streaming-18b46ecc93bf07663431ae561118990b525bc103.tar.gz
avfilter/tinterlace: Move lowpass_line to a separate function and call it through a function pointer
This permits replacing it by a optimized implementation Based-on / Idea-from: 2e1704059ae8625beda2ffde847ad22c5ba416dc by Kieran Kunhya Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/tinterlace.h')
-rw-r--r--libavfilter/tinterlace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/tinterlace.h b/libavfilter/tinterlace.h
index 8fc95cb..8d33452 100644
--- a/libavfilter/tinterlace.h
+++ b/libavfilter/tinterlace.h
@@ -51,6 +51,8 @@ typedef struct {
AVFrame *next;
uint8_t *black_data[4]; ///< buffer used to fill padded lines
int black_linesize[4];
+ void (*lowpass_line)(uint8_t *dstp, ptrdiff_t width, const uint8_t *srcp,
+ const uint8_t *srcp_above, const uint8_t *srcp_below);
} TInterlaceContext;
#endif /* AVFILTER_TINTERLACE_H */
OpenPOWER on IntegriCloud