mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter: call x86 init functions under if (ARCH_X86), not if (HAVE_MMX)
This commit is contained in:
parent
5a2cb78219
commit
f6c38c5f4e
@ -135,7 +135,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
|
||||
gf->blur_line = ff_gradfun_blur_line_c;
|
||||
gf->filter_line = ff_gradfun_filter_line_c;
|
||||
|
||||
if (HAVE_MMX)
|
||||
if (ARCH_X86)
|
||||
ff_gradfun_init_x86(gf);
|
||||
|
||||
av_log(ctx, AV_LOG_VERBOSE, "threshold:%.2f radius:%d\n", thresh, gf->radius);
|
||||
|
@ -400,7 +400,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
|
||||
|
||||
yadif->filter_line = filter_line_c;
|
||||
|
||||
if (HAVE_MMX)
|
||||
if (ARCH_X86)
|
||||
ff_yadif_init_x86(yadif);
|
||||
|
||||
av_log(ctx, AV_LOG_VERBOSE, "mode:%d parity:%d auto_enable:%d\n",
|
||||
|
@ -1,3 +1,4 @@
|
||||
MMX-OBJS-$(CONFIG_YADIF_FILTER) += x86/yadif.o
|
||||
MMX-OBJS-$(CONFIG_GRADFUN_FILTER) += x86/gradfun.o
|
||||
OBJS-$(CONFIG_GRADFUN_FILTER) += x86/gradfun.o
|
||||
OBJS-$(CONFIG_YADIF_FILTER) += x86/yadif.o
|
||||
|
||||
YASM-OBJS-$(CONFIG_HQDN3D_FILTER) += x86/hqdn3d.o
|
||||
|
Loading…
Reference in New Issue
Block a user