]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/x86/xvididct_init.c
dxva: move d3d11 locking/unlocking to functions
[ffmpeg] / libavcodec / x86 / xvididct_init.c
index c7b5ead40c2962cf16ef4966fb6c0462f98a9d07..a91b416b740ca0128393cf304e2844445ad89734 100644 (file)
@@ -26,7 +26,7 @@
 #include "idctdsp.h"
 #include "xvididct.h"
 
-#if ARCH_X86_32 && HAVE_YASM
+#if ARCH_X86_32 && HAVE_X86ASM
 static void xvid_idct_mmx_put(uint8_t *dest, ptrdiff_t line_size, short *block)
 {
     ff_xvid_idct_mmx(block);
@@ -55,7 +55,7 @@ static void xvid_idct_mmxext_add(uint8_t *dest, ptrdiff_t line_size, short *bloc
 av_cold void ff_xvid_idct_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
                                    unsigned high_bit_depth)
 {
-#if HAVE_YASM
+#if HAVE_X86ASM
     int cpu_flags = av_get_cpu_flags();
 
     if (high_bit_depth ||
@@ -85,5 +85,5 @@ av_cold void ff_xvid_idct_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
         c->idct      = ff_xvid_idct_sse2;
         c->perm_type = FF_IDCT_PERM_SSE2;
     }
-#endif /* HAVE_YASM */
+#endif /* HAVE_X86ASM */
 }