From a519583991c38d38503ab08357716513facc5725 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 12 Oct 2012 19:54:45 +0200 Subject: swscale: x86: Hide arch-specific initialization details Also give consistent names to init functions. --- libswscale/x86/yuv2rgb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libswscale/x86/yuv2rgb.c') diff --git a/libswscale/x86/yuv2rgb.c b/libswscale/x86/yuv2rgb.c index 419d5133f9..9968a8d49d 100644 --- a/libswscale/x86/yuv2rgb.c +++ b/libswscale/x86/yuv2rgb.c @@ -69,9 +69,9 @@ DECLARE_ASM_CONST(8, uint64_t, pb_07) = 0x0707070707070707ULL; #endif /* HAVE_INLINE_ASM */ -av_cold SwsFunc ff_yuv2rgb_init_mmx(SwsContext *c) +av_cold SwsFunc ff_yuv2rgb_init_x86(SwsContext *c) { -#if HAVE_INLINE_ASM +#if HAVE_MMX_INLINE int cpu_flags = av_get_cpu_flags(); if (c->srcFormat != AV_PIX_FMT_YUV420P && @@ -111,7 +111,7 @@ av_cold SwsFunc ff_yuv2rgb_init_mmx(SwsContext *c) case AV_PIX_FMT_RGB555: return yuv420_rgb15_MMX; } } -#endif /* HAVE_INLINE_ASM */ +#endif /* HAVE_MMX_INLINE */ return NULL; } -- cgit v1.2.3