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:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-15 05:20:02 +0300
committerMichael Niedermayer <michaelni@gmx.at>2014-11-15 05:25:43 +0300
commit18b46ecc93bf07663431ae561118990b525bc103 (patch)
tree48092edc1a27631dd2890ca039fc0cd99bfa9e60 /libavfilter/tinterlace.h
parent9d548fce24057649f0463e1243417d8f80f1d1db (diff)
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 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 */