aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/mpegaudiodsp.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-10-08 14:18:33 +0000
committerJames Almer <jamrial@gmail.com>2017-06-21 17:00:29 -0300
commitfd502f4f5fe8d2f241102ca9a529aa7f88209c22 (patch)
tree145739652cff190593860ec2e371d3df148e7027 /libavcodec/x86/mpegaudiodsp.c
parent664ac7c5e2e9b2b001be6124b90b398861c773af (diff)
downloadffmpeg-fd502f4f5fe8d2f241102ca9a529aa7f88209c22.tar.gz
build: Generalize yasm/nasm-related variable names
None of them are specific to the YASM assembler. (Cherry-picked from libav commit 39e208f4d4756367c7cd2d581847e0c1b8a429c1) Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86/mpegaudiodsp.c')
-rw-r--r--libavcodec/x86/mpegaudiodsp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/x86/mpegaudiodsp.c b/libavcodec/x86/mpegaudiodsp.c
index 9499141eea..f46a5c4f3d 100644
--- a/libavcodec/x86/mpegaudiodsp.c
+++ b/libavcodec/x86/mpegaudiodsp.c
@@ -30,7 +30,7 @@
static void imdct36_blocks_ ## CPU(float *out, float *buf, float *in, int count, int switch_point, int block_type);\
void ff_imdct36_float_ ## CPU(float *out, float *buf, float *in, float *win);
-#if HAVE_YASM
+#if HAVE_X86ASM
#if ARCH_X86_32
DECL(sse)
#endif
@@ -38,7 +38,7 @@ DECL(sse2)
DECL(sse3)
DECL(ssse3)
DECL(avx)
-#endif /* HAVE_YASM */
+#endif /* HAVE_X86ASM */
void ff_four_imdct36_float_sse(float *out, float *buf, float *in, float *win,
float *tmpbuf);
@@ -193,7 +193,7 @@ static void apply_window_mp3(float *in, float *win, int *unused, float *out,
#endif /* HAVE_6REGS && HAVE_SSE_INLINE */
-#if HAVE_YASM
+#if HAVE_X86ASM
#define DECL_IMDCT_BLOCKS(CPU1, CPU2) \
static void imdct36_blocks_ ## CPU1(float *out, float *buf, float *in, \
int count, int switch_point, int block_type) \
@@ -237,7 +237,7 @@ DECL_IMDCT_BLOCKS(ssse3,sse)
#if HAVE_AVX_EXTERNAL
DECL_IMDCT_BLOCKS(avx,avx)
#endif
-#endif /* HAVE_YASM */
+#endif /* HAVE_X86ASM */
av_cold void ff_mpadsp_init_x86(MPADSPContext *s)
{
@@ -263,7 +263,7 @@ av_cold void ff_mpadsp_init_x86(MPADSPContext *s)
}
#endif /* HAVE_SSE_INLINE */
-#if HAVE_YASM
+#if HAVE_X86ASM
#if HAVE_SSE
#if ARCH_X86_32
if (EXTERNAL_SSE(cpu_flags)) {
@@ -285,5 +285,5 @@ av_cold void ff_mpadsp_init_x86(MPADSPContext *s)
s->imdct36_blocks_float = imdct36_blocks_avx;
}
#endif
-#endif /* HAVE_YASM */
+#endif /* HAVE_X86ASM */
}