Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
config BR2_PACKAGE_GST1_VAAPI
bool "gst1-vaapi"
depends on !BR2_STATIC_LIBS # dlopen(), libva
depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm
depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad
depends on BR2_PACKAGE_HAS_UDEV
select BR2_PACKAGE_LIBVA
select BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_GST1_PLUGINS_BAD # gstreamer-codecparsers
select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_XORG7
help
gstreamer-vaapi consists in a collection of VA-API based
plugins for GStreamer and helper libraries.
vaapi<CODEC>dec is used to decode JPEG, MPEG-2, MPEG-4:2,
H.264 AVC, H.264 MVC, VP8, VC-1, WMV3, HEVC videos to VA
surfaces, depending on the actual value of <CODEC> and the
underlying hardware capabilities. This plugin is also able
to implicitly download the decoded surface to raw YUV
buffers.
vaapi<CODEC>enc is used to encode into MPEG-2, H.264 AVC,
H.264 MVC, JPEG, VP8, HEVC videos, depending on the actual
value of <CODEC> (mpeg2, h264, etc.) and the hardware
capabilities. By default, raw format bitstreams are
generated, so the result may be piped to a muxer, e.g. qtmux
for MP4 containers.
vaapipostproc is used to filter VA surfaces, for
e.g. scaling, deinterlacing (bob, motion-adaptive,
motion-compensated), noise reduction or sharpening. This
plugin is also used to upload raw YUV pixels into VA
surfaces.
vaapisink is used to render VA surfaces to an X11 or Wayland
display. This plugin also features a "headless" mode (DRM)
more suited to remote transcode scenarios, with faster
throughput.
https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi
if BR2_PACKAGE_GST1_VAAPI
config BR2_PACKAGE_GST1_VAAPI_ENCODERS
bool "enable encoders"
endif
comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
!BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP

View File

@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.24.13.tar.xz.sha256sum
sha256 b92c008841387043aec83b08b1fa8cf41e7866a106311a7d99e274e7d24ddc47 gstreamer-vaapi-1.24.13.tar.xz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB

View File

@@ -0,0 +1,59 @@
################################################################################
#
# gst1-vaapi
#
################################################################################
GST1_VAAPI_VERSION = 1.24.13
GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi
GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz
GST1_VAAPI_LICENSE = LGPL-2.1+
GST1_VAAPI_LICENSE_FILES = COPYING.LIB
GST1_VAAPI_DEPENDENCIES += \
gstreamer1 \
gst1-plugins-base \
gst1-plugins-bad \
libva \
libdrm
GST1_VAAPI_CONF_OPTS += \
-Ddrm=enabled \
-Degl=enabled \
-Dexamples=disabled \
-Dtests=disabled \
-Ddoc=disabled
ifeq ($(BR2_PACKAGE_GST1_VAAPI_ENCODERS),y)
GST1_VAAPI_CONF_OPTS += -Dencoders=enabled
else
GST1_VAAPI_CONF_OPTS += -Dencoders=disabled
endif
ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
GST1_VAAPI_CONF_OPTS += -Degl=enabled
GST1_VAAPI_DEPENDENCIES += libegl
else
GST1_VAAPI_CONF_OPTS += -Degl=disabled
endif
ifeq ($(BR2_PACKAGE_WAYLAND),y)
GST1_VAAPI_CONF_OPTS += -Dwayland=enabled
GST1_VAAPI_DEPENDENCIES += wayland wayland-protocols
else
GST1_VAAPI_CONF_OPTS += -Dwayland=disabled
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBX11)$(BR2_PACKAGE_XLIB_LIBXRANDR),yy)
GST1_VAAPI_CONF_OPTS += -Dx11=enabled
GST1_VAAPI_DEPENDENCIES += xlib_libX11 xlib_libXrandr
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
GST1_VAAPI_CONF_OPTS += -Dglx=enabled
else
GST1_VAAPI_CONF_OPTS += -Dglx=disabled
endif
else
GST1_VAAPI_CONF_OPTS += -Dx11=disabled -Dglx=disabled
endif
$(eval $(meson-package))