aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/videodsp_init.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-10-08 16:18:33 +0200
committerDiego Biurrun <diego@biurrun.de>2017-03-01 10:18:15 +0100
commit39e208f4d4756367c7cd2d581847e0c1b8a429c1 (patch)
tree6c3b1695b47827dc2224fdf75b0c0be781579847 /libavcodec/x86/videodsp_init.c
parentd1d6230ea3dd2c34bcd121f958706f3177f8d8c5 (diff)
downloadffmpeg-39e208f4d4756367c7cd2d581847e0c1b8a429c1.tar.gz
build: Generalize yasm/nasm-related variable names
None of them are specific to the YASM assembler.
Diffstat (limited to 'libavcodec/x86/videodsp_init.c')
-rw-r--r--libavcodec/x86/videodsp_init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/x86/videodsp_init.c b/libavcodec/x86/videodsp_init.c
index d5bfe010f7..e7f24a9a2c 100644
--- a/libavcodec/x86/videodsp_init.c
+++ b/libavcodec/x86/videodsp_init.c
@@ -27,7 +27,7 @@
#include "libavutil/x86/cpu.h"
#include "libavcodec/videodsp.h"
-#if HAVE_YASM
+#if HAVE_X86ASM
typedef void emu_edge_vfix_func(uint8_t *dst, const uint8_t *src,
x86_reg dst_stride, x86_reg src_stride,
x86_reg start_y, x86_reg end_y, x86_reg bh);
@@ -235,14 +235,14 @@ static av_noinline void emulated_edge_mc_sse2(uint8_t *buf, const uint8_t *src,
src_y, w, h, vfixtbl_sse, &ff_emu_edge_vvar_sse,
hfixtbl_sse2, &ff_emu_edge_hvar_sse2);
}
-#endif /* HAVE_YASM */
+#endif /* HAVE_X86ASM */
void ff_prefetch_mmxext(uint8_t *buf, ptrdiff_t stride, int h);
void ff_prefetch_3dnow(uint8_t *buf, ptrdiff_t stride, int h);
av_cold void ff_videodsp_init_x86(VideoDSPContext *ctx, int bpc)
{
-#if HAVE_YASM
+#if HAVE_X86ASM
int cpu_flags = av_get_cpu_flags();
#if ARCH_X86_32
@@ -264,5 +264,5 @@ av_cold void ff_videodsp_init_x86(VideoDSPContext *ctx, int bpc)
if (EXTERNAL_SSE2(cpu_flags) && bpc <= 8) {
ctx->emulated_edge_mc = emulated_edge_mc_sse2;
}
-#endif /* HAVE_YASM */
+#endif /* HAVE_X86ASM */
}