diff options
author | Martin Vignali <martin.vignali@gmail.com> | 2017-12-18 11:18:14 +0100 |
---|---|---|
committer | Martin Vignali <martin.vignali@gmail.com> | 2017-12-19 20:59:47 +0100 |
commit | d31770d9a603596a0ae970328a34c1bf5cff1715 (patch) | |
tree | 66e296bb92d6fb60a45f9cc3eb58337c2573f706 /libavfilter/x86 | |
parent | c76cf303ce1131ca3ac249bb9328567797761e41 (diff) | |
download | ffmpeg-d31770d9a603596a0ae970328a34c1bf5cff1715.tar.gz |
avfilter/vf_interlace : move func init in ff_interlace_init and add depth arg for ff_interlace_init_x86
Diffstat (limited to 'libavfilter/x86')
-rw-r--r-- | libavfilter/x86/vf_interlace_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/x86/vf_interlace_init.c b/libavfilter/x86/vf_interlace_init.c index 70fe86ccff..b024b61735 100644 --- a/libavfilter/x86/vf_interlace_init.c +++ b/libavfilter/x86/vf_interlace_init.c @@ -48,11 +48,11 @@ void ff_lowpass_line_complex_12_sse2(uint8_t *dstp, ptrdiff_t linesize, const uint8_t *srcp, ptrdiff_t mref, ptrdiff_t pref, int clip_max); -av_cold void ff_interlace_init_x86(InterlaceContext *s) +av_cold void ff_interlace_init_x86(InterlaceContext *s, int depth) { int cpu_flags = av_get_cpu_flags(); - if (s->csp->comp[0].depth > 8) { + if (depth > 8) { if (EXTERNAL_SSE2(cpu_flags)) { if (s->lowpass == VLPF_LIN) s->lowpass_line = ff_lowpass_line_16_sse2; |