Browse Source

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>
andy.hu 2 years ago
parent
commit
2a449c251e

+ 24 - 0
package/starfive/sf-gst-omx/0004-add-encoder-support.patch

@@ -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
package/starfive/sf-gst-omx/Config.in

@@ -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