sf-gst-omx: add support for wave521 encode

1. Modify package config name to BR2_PACKAGE_SF_GST_OMX
2. Support wave521 264/265 encode in gst-omx

Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>
Signed-off-by: andy.hu <andy.hu@starfivetech.com>
This commit is contained in:
andy.hu
2021-12-21 18:16:51 +08:00
committed by Andy Hu
parent 4cf0377617
commit a2efe48b31
2 changed files with 25 additions and 1 deletions
@@ -0,0 +1,24 @@
--- a/config/stf/gstomx.conf 2021-08-18 14:51:51.384176799 +0800
+++ b/config/stf/gstomx.conf 2021-08-18 14:50:58.972186447 +0800
@@ -15,3 +15,21 @@
out-port-index=1
rank=1
hacks=pass-profile-to-decoder;pass-color-format-to-decoder;ensure-buffer-count-actual
+
+[omxh265enc]
+type-name=GstOMXH265Enc
+core-name=/usr/lib/libsf-omx-il.so
+component-name=sf.enc.encoder.h265
+in-port-index=0
+out-port-index=1
+rank=1
+hacks=pass-profile-to-decoder;pass-color-format-to-decoder;ensure-buffer-count-actual;video-framerate-integer
+
+[omxh264enc]
+type-name=GstOMXH264Enc
+core-name=/usr/lib/libsf-omx-il.so
+component-name=sf.enc.encoder.h264
+in-port-index=0
+out-port-index=1
+rank=1
+hacks=pass-profile-to-decoder;pass-color-format-to-decoder;ensure-buffer-count-actual;video-framerate-integer
+1 -1
View File
@@ -1,4 +1,4 @@
config SF_PACKAGE_GST_OMX
config BR2_PACKAGE_SF_GST_OMX
bool "sf-gst-omx"
depends on BR2_PACKAGE_SF_OMX_IL
select BR2_PACKAGE_GST1_PLUGINS_BASE