Add HW video engine support (#179)

* Add Cedar HW video decoder support

* Add sunxifbsink gstreamer plugin

* sunxifbsink: remove warning log
gst-omx: remove resolution check after crop

* Add gstreamer scripts

* review comments fixes

* ffmpeg: enable h264_omx encoder

* add missing hashes and use defined git commit for libcedar

* mv miyoo specific patches to board

* make `gst-omx.mk` less platform specfic

* Add header python interpreter to gst-raw.py

* Add videoscale with nearest-neighbour to play video with higher resolutions fluently

* Use HW scaler

* libcedarc: fix crash when playing 640x480 video

* kernel: Add patch to increase VRAM

* Add fast gstreamer player

* fix gst-play hangs

* Add matroska plugin

* remove target

---------

Co-authored-by: Apaczer <94932128+Apaczer@users.noreply.github.com>
This commit is contained in:
tiopex
2025-07-21 13:11:52 +02:00
committed by GitHub
parent e306510c79
commit c336dad699
31 changed files with 5363 additions and 27 deletions

View File

@@ -0,0 +1,19 @@
################################################################################
#
# gst-fbdev2-plugins
#
################################################################################
GST_FBDEV2_PLUGINS_VERSION = d576ab21adbb5eacb1000a89fbaea14576784b10
GST_FBDEV2_PLUGINS_SITE = $(call github,hglm,gst-fbdev2-plugins,$(GST_FBDEV2_PLUGINS_VERSION))
GST_FBDEV2_PLUGINS_LICENSE = LGPL-2.1
GST_FBDEV2_PLUGINS_LICENSE_FILES = COPYING
GST_FBDEV2_PLUGINS_DEPENDENCIES = gstreamer1 gst1-plugins-base gst-omx libglib2 libdrm libtool
GST_FBDEV2_PLUGINS_AUTORECONF = YES
define GST_FBDEV2_PLUGINS_PRE_PATCH_HOOK
$(SED) 's/-lgstframebuffersink/libgstframebuffersink.la/g' $(@D)/src/Makefile.am
endef
GST_FBDEV2_PLUGINS_PRE_PATCH_HOOKS += GST_FBDEV2_PLUGINS_PRE_PATCH_HOOK
$(eval $(autotools-package))