x264: Enable using yasm-native for x86 machine.
authorLeon Woestenberg <leon@witty.(none)>
Sat, 28 Mar 2009 23:06:23 +0000 (00:06 +0100)
committerLeon Woestenberg <leon@witty.(none)>
Sat, 28 Mar 2009 23:12:10 +0000 (00:12 +0100)
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.

recipes/vlc/x264_r2245.bb

index e16e96b..a662b56 100644 (file)
@@ -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}"'