aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer/gst-va-intel.bb
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2015-06-24 10:23:05 -0700
committerDarren Hart <dvhart@linux.intel.com>2015-06-24 10:23:05 -0700
commitdc39b5cc7a83424be8731ad779852aa3553c48d7 (patch)
treeb2a1a33b37a6e4d062b68ec88d1e4a92b12a65ff /recipes-multimedia/gstreamer/gst-va-intel.bb
parentfe0d32f59bfe8ee1f76f7f9435c425f9b23903af (diff)
downloadmeta-minnow-dc39b5cc7a83424be8731ad779852aa3553c48d7.tar.gz
meta-minnow-dc39b5cc7a83424be8731ad779852aa3553c48d7.tar.bz2
meta-minnow-dc39b5cc7a83424be8731ad779852aa3553c48d7.zip
multimedia: Add gstreamer and libva support for EMGD
EMGD requires specific versions and support from gstreamer and libva. These are copied in from meta-intel/daisy with PR and INC_PR removed as suggested by Koon Kooi. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'recipes-multimedia/gstreamer/gst-va-intel.bb')
-rw-r--r--recipes-multimedia/gstreamer/gst-va-intel.bb54
1 files changed, 54 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gst-va-intel.bb b/recipes-multimedia/gstreamer/gst-va-intel.bb
new file mode 100644
index 0000000..9e0d0ca
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gst-va-intel.bb
@@ -0,0 +1,54 @@
+DESCRIPTION = "GStreamer Video Acceleration Add-ons for Intel BSPs"
+LICENSE = "MIT"
+DEPENDS = "gst-meta-base"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+def map_gst_vaapi(d):
+ if base_contains('MACHINE_FEATURES', 'va-impl-mixvideo', "1", "0", d) == "1":
+ return "gst-va-mixvideo-vaapi"
+ if base_contains('MACHINE_FEATURES', 'va-impl-intel', "1", "0", d) == "1":
+ return "gst-va-intel-vaapi"
+ return ""
+
+VAAPI_IMPL = "${@map_gst_vaapi(d)}"
+
+PACKAGES = "\
+ gst-va-intel \
+ gst-va-intel-general \
+ gst-va-intel-video \
+ ${VAAPI_IMPL} \
+ "
+
+ALLOW_EMPTY_gst-va-intel = "1"
+ALLOW_EMPTY_gst-va-intel-general = "1"
+ALLOW_EMPTY_gst-va-intel-video = "1"
+ALLOW_EMPTY_gst-va-intel-vaapi = "1"
+ALLOW_EMPTY_gst-va-mixvideo-vaapi = "1"
+
+RDEPENDS_gst-va-intel = "\
+ gst-va-intel-general \
+ gst-va-intel-video \
+ ${VAAPI_IMPL} \
+ "
+
+RDEPENDS_gst-va-intel-general = "\
+ ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", \
+ "commercial", "gst-ffmpeg", "", d)} \
+ "
+
+RDEPENDS_gst-va-intel-video = "\
+ gst-plugins-good-isomp4 \
+ "
+
+# The gstreamer-vaapi package contains the vaapi implementation
+#
+RDEPENDS_gst-va-intel-vaapi = "\
+ gstreamer-vaapi \
+ "
+
+# The emgd driver contains the vaapi implementation
+#
+RDEPENDS_gst-va-mixvideo-vaapi = "\
+ emgd-driver-bin \
+ "