diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-29 14:38:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-29 14:42:34 +0200 |
commit | db6b389c7f2176487cc4622a18f58e6b10af8e99 (patch) | |
tree | caf15aa1b76925c7e152329af6d22c71523c12f4 /libswscale/x86/yuv2rgb.c | |
parent | 477641e9f8a711b65a463ea75a4167b7cfdc84a5 (diff) | |
parent | a519583991c38d38503ab08357716513facc5725 (diff) | |
download | ffmpeg-db6b389c7f2176487cc4622a18f58e6b10af8e99.tar.gz |
Merge commit 'a519583991c38d38503ab08357716513facc5725'
* commit 'a519583991c38d38503ab08357716513facc5725':
swscale: x86: Hide arch-specific initialization details
Conflicts:
libswscale/x86/Makefile
libswscale/x86/swscale.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/x86/yuv2rgb.c')
-rw-r--r-- | libswscale/x86/yuv2rgb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/x86/yuv2rgb.c b/libswscale/x86/yuv2rgb.c index cceca49ca8..a54b84aae7 100644 --- a/libswscale/x86/yuv2rgb.c +++ b/libswscale/x86/yuv2rgb.c @@ -68,9 +68,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 HAVE_MMXEXT_INLINE @@ -106,7 +106,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; } |