mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
avfilter/vf_lut3d: fix building with --disable-optimizations
This commit is contained in:
parent
871fee82e1
commit
3ee7250116
@ -48,9 +48,11 @@ static int interp_##name##_##format##_##opt(AVFilterContext *ctx, void *arg, int
|
|||||||
DEFINE_INTERP_FUNC(tetrahedral, pf32, avx)
|
DEFINE_INTERP_FUNC(tetrahedral, pf32, avx)
|
||||||
DEFINE_INTERP_FUNC(tetrahedral, p16, avx)
|
DEFINE_INTERP_FUNC(tetrahedral, p16, avx)
|
||||||
#endif
|
#endif
|
||||||
|
#if HAVE_SSE2_EXTERNAL
|
||||||
DEFINE_INTERP_FUNC(tetrahedral, pf32, sse2)
|
DEFINE_INTERP_FUNC(tetrahedral, pf32, sse2)
|
||||||
DEFINE_INTERP_FUNC(tetrahedral, p16, sse2)
|
DEFINE_INTERP_FUNC(tetrahedral, p16, sse2)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
av_cold void ff_lut3d_init_x86(LUT3DContext *s, const AVPixFmtDescriptor *desc)
|
av_cold void ff_lut3d_init_x86(LUT3DContext *s, const AVPixFmtDescriptor *desc)
|
||||||
@ -78,11 +80,13 @@ av_cold void ff_lut3d_init_x86(LUT3DContext *s, const AVPixFmtDescriptor *desc)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
} else if (EXTERNAL_SSE2(cpu_flags) && s->interpolation == INTERPOLATE_TETRAHEDRAL && planar) {
|
} else if (EXTERNAL_SSE2(cpu_flags) && s->interpolation == INTERPOLATE_TETRAHEDRAL && planar) {
|
||||||
|
#if HAVE_SSE2_EXTERNAL
|
||||||
if (isfloat) {
|
if (isfloat) {
|
||||||
s->interp = interp_tetrahedral_pf32_sse2;
|
s->interp = interp_tetrahedral_pf32_sse2;
|
||||||
} else if (depth == 16) {
|
} else if (depth == 16) {
|
||||||
s->interp = interp_tetrahedral_p16_sse2;
|
s->interp = interp_tetrahedral_p16_sse2;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user