From 18b46ecc93bf07663431ae561118990b525bc103 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 15 Nov 2014 03:20:02 +0100 Subject: 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 --- libavfilter/tinterlace.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavfilter/tinterlace.h') diff --git a/libavfilter/tinterlace.h b/libavfilter/tinterlace.h index 8fc95cbc92..8d33452b0d 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 */ -- cgit v1.2.3