aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp
diff options
context:
space:
mode:
authorWade Farnsworth <wfarnsworth@users.noreply.github.com>2019-09-11 08:38:01 -0700
committerGitHub <noreply@github.com>2019-09-11 08:38:01 -0700
commit6b0913d845743de1e173ac545f7f345e94824f8d (patch)
tree2e66b0bcc2d06f0b2b35fcfdeb31f8da9c1d95bf /meta-amd-bsp
parent24756099d1d8aeca503d1d58c66f5944ffd34ab8 (diff)
parentf40666aedd3b6d8b23f5f7f5aaa12fba53ff8966 (diff)
downloadmeta-amd-6b0913d845743de1e173ac545f7f345e94824f8d.tar.gz
meta-amd-6b0913d845743de1e173ac545f7f345e94824f8d.tar.bz2
meta-amd-6b0913d845743de1e173ac545f7f345e94824f8d.zip
Merge pull request #650 from ArsalanHAwan/warrior-omx-fixes
gstreamer1.0-omx: gstomx.conf add mesa omx bellagio enc avc & dec hevc
Diffstat (limited to 'meta-amd-bsp')
-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