diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-10-12 21:54:45 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-08-29 01:59:24 +0400 |
commit | a519583991c38d38503ab08357716513facc5725 (patch) | |
tree | 680be0eb073b89921962a9215354256cb4b01ce4 /libswscale/x86/swscale.c | |
parent | a64f6a04ac5773aeff2003897455dadb9609f18b (diff) |
swscale: x86: Hide arch-specific initialization details
Also give consistent names to init functions.
Diffstat (limited to 'libswscale/x86/swscale.c')
-rw-r--r-- | libswscale/x86/swscale.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c index 059589f681..0b5f870272 100644 --- a/libswscale/x86/swscale.c +++ b/libswscale/x86/swscale.c @@ -302,18 +302,18 @@ INPUT_FUNCS(sse2); INPUT_FUNCS(ssse3); INPUT_FUNCS(avx); -av_cold void ff_sws_init_swScale_mmx(SwsContext *c) +av_cold void ff_sws_init_swscale_x86(SwsContext *c) { int cpu_flags = av_get_cpu_flags(); -#if HAVE_INLINE_ASM +#if HAVE_MMX_INLINE if (cpu_flags & AV_CPU_FLAG_MMX) - sws_init_swScale_MMX(c); + sws_init_swscale_MMX(c); +#endif #if HAVE_MMXEXT_INLINE if (cpu_flags & AV_CPU_FLAG_MMXEXT) - sws_init_swScale_MMXEXT(c); + sws_init_swscale_MMXEXT(c); #endif -#endif /* HAVE_INLINE_ASM */ #define ASSIGN_SCALE_FUNC2(hscalefn, filtersize, opt1, opt2) do { \ if (c->srcBpc == 8) { \ |