aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2019-09-04 22:21:11 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2019-09-04 22:21:11 +0500
commitf40666aedd3b6d8b23f5f7f5aaa12fba53ff8966 (patch)
tree8cae7f699bb5f0a6724b810ef5bc00775cb1872a
parenta830cd7664edc727cb0b9fe8c61871558ad68c19 (diff)
downloadmeta-amd-f40666aedd3b6d8b23f5f7f5aaa12fba53ff8966.tar.gz
meta-amd-f40666aedd3b6d8b23f5f7f5aaa12fba53ff8966.tar.bz2
meta-amd-f40666aedd3b6d8b23f5f7f5aaa12fba53ff8966.zip
gstreamer1.0-omx: gstomx.conf add mesa omx bellagio enc avc & dec hevc
This adds the mesa omx bellagio video encoder avc & video decoder hevc to the gstreamer1.0-omx's gstomx.conf so that they are availble in the gstreamer pipelines. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
-rw-r--r--meta-amd-bsp/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-gstomx.conf-add-mesa-omx-bellagio-encoder-avc-decode.patch37
-rw-r--r--meta-amd-bsp/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.14.4.bbappend2
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-gstomx.conf-add-mesa-omx-bellagio-encoder-avc-decode.patch b/meta-amd-bsp/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-gstomx.conf-add-mesa-omx-bellagio-encoder-avc-decode.patch
new file mode 100644
index 00000000..cf82c3d6
--- /dev/null
+++ b/meta-amd-bsp/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-gstomx.conf-add-mesa-omx-bellagio-encoder-avc-decode.patch
@@ -0,0 +1,37 @@
+From 39a94d69833508a351376456dad08ea5facf9362 Mon Sep 17 00:00:00 2001
+From: "Arsalan H. Awan" <Arsalan_Awan@mentor.com>
+Date: Wed, 4 Sep 2019 22:12:59 +0500
+Subject: [PATCH] gstomx.conf add mesa omx bellagio encoder avc & decoder hevc
+
+Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
+---
+ config/bellagio/gstomx.conf | 16 ++++++++++++++++
+ 1 file changed, 16 insertions(+)
+
+diff --git a/config/bellagio/gstomx.conf b/config/bellagio/gstomx.conf
+index 0e856be..3e43011 100644
+--- a/config/bellagio/gstomx.conf
++++ b/config/bellagio/gstomx.conf
+@@ -58,3 +58,19 @@ component-name=OMX.mesa.video_decoder.mpeg2
+ rank=0
+ in-port-index=0
+ out-port-index=1
++
++[omxh265dec]
++type-name=GstOMXH265Dec
++core-name=/usr/lib/libomxil-bellagio.so.0
++component-name=OMX.mesa.video_decoder.hevc
++rank=0
++in-port-index=0
++out-port-index=1
++
++[omxh264enc]
++type-name=GstOMXH264Enc
++core-name=/usr/lib/libomxil-bellagio.so.0
++component-name=OMX.mesa.video_encoder.avc
++rank=256
++in-port-index=0
++out-port-index=1
+--
+2.11.1
+
diff --git a/meta-amd-bsp/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.14.4.bbappend b/meta-amd-bsp/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.14.4.bbappend
index 63d6cd39..f10ce33b 100644
--- a/meta-amd-bsp/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.14.4.bbappend
+++ b/meta-amd-bsp/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.14.4.bbappend
@@ -6,6 +6,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
#
DEPENDS_remove_amd = "gstreamer1.0-plugins-bad"
+SRC_URI += "file://0001-gstomx.conf-add-mesa-omx-bellagio-encoder-avc-decode.patch"
+
#
# This package should not have commercial license flags.
# There is discussion in the OE community about fixing this