[meta-intel] [PATCH 1/4] emenlow.conf: use the new method for specifying VA codecs

nitin.a.kamble at intel.com nitin.a.kamble at intel.com
Thu Jan 24 19:46:28 PST 2013


From: Nitin A Kamble <nitin.a.kamble at intel.com>

This replaces the old VA_FEATURES method to specify the codecs.

These VA codecs are included in the image when image has 'hwcodec'
in the IMAGE_FEATURES.

And one can disable the VA features by redefining the IMAGE_FEATURES
var in the local.conf .

The gst-va-intel package pulls in emgd driver and x11 pieces, hence
it is moved to the XSERVERCODECS var.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
---
 meta-emenlow/conf/machine/emenlow.conf |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/meta-emenlow/conf/machine/emenlow.conf b/meta-emenlow/conf/machine/emenlow.conf
index a3c4086..84a1827 100644
--- a/meta-emenlow/conf/machine/emenlow.conf
+++ b/meta-emenlow/conf/machine/emenlow.conf
@@ -14,6 +14,10 @@ require conf/machine/include/meta-intel.inc
 
 MACHINE_FEATURES += "va-impl-mixvideo"
 
+MACHINE_HWCODECS ?= "va-intel"
+XSERVERCODECS ?= "emgd-driver-video emgd-gst-plugins-va \
+                  emgd-gst-plugins-mixvideo gst-va-intel"
+
 XSERVER ?= "${XSERVER_IA32_BASE} \
            ${XSERVER_IA32_EXT} \
            ${XSERVER_IA32_EMGD} \
@@ -25,11 +29,3 @@ PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
 PREFERRED_VERSION_emgd-driver-bin ?= "1.16"
 
 APPEND += "video=vesafb vga=0x318 vmalloc=256MB"
-
-# Some of the EMGD components have dependency on libx11.
-# Add these only when Xserver is enabled with the EMGD driver
-# Otherwise unwanted X components will start showing up in the non-X images
-VA_FEATURES ?= "gst-va-intel va-intel \
-                ${@bb.utils.contains("XSERVER", "emgd-driver-bin", "emgd-driver-video emgd-gst-plugins-va emgd-gst-plugins-mixvideo", "", d)}"
-
-MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}"
-- 
1.7.3.4




More information about the meta-intel mailing list