From: Leon Woestenberg Date: Sat, 28 Mar 2009 23:06:23 +0000 (+0100) Subject: x264: Enable using yasm-native for x86 machine. X-Git-Tag: Release-2010-05/1~1294^2~36^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ee45495fb0e27961b5d5cdb5dd192b314908833;p=openembedded.git x264: Enable using yasm-native for x86 machine. Results in using optimized assembler functions instead of their C equivalent. The x264 encoder has many x86/SSE optimizations, this will increase its performance much. --- diff --git a/recipes/vlc/x264_r2245.bb b/recipes/vlc/x264_r2245.bb index e16e96b8b6..a662b56240 100644 --- a/recipes/vlc/x264_r2245.bb +++ b/recipes/vlc/x264_r2245.bb @@ -16,7 +16,8 @@ X264_ECFLAGS = "" # disable use of assembler written functions X264_DISABLE_ASM = "--disable-asm" # use assembler written functions for those archs supporting this -#X264_DISABLE_ASM_x86 = "" +X264_DISABLE_ASM_x86 = "" +DEPENDS_x86 = "yasm-native" EXTRA_OECONF = '--enable-shared ${X264_DISABLE_ASM} --extra-cflags="${X264_ECFLAGS}"'