diff options
Diffstat (limited to 'meta-amd-bsp/recipes-multimedia/gstreamer')
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 |