[oe-commits] Leon Woestenberg : x264: Enable using yasm-native for x86 machine.

GIT User account git at amethyst.openembedded.net
Sat Mar 28 23:14:24 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 0ee45495fb0e27961b5d5cdb5dd192b314908833
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0ee45495fb0e27961b5d5cdb5dd192b314908833

Author: Leon Woestenberg <leon at witty.(none)>
Date:   Sun Mar 29 00:06:23 2009 +0100

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.

---

 recipes/vlc/x264_r2245.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/vlc/x264_r2245.bb b/recipes/vlc/x264_r2245.bb
index e16e96b..a662b56 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}"'
 





More information about the Openembedded-commits mailing list