package/gst1-plugins-bad: add new va option

This option enables va plugin support.

These plugins are vaapi based encoders/decoders that are eventually
intended to replace the legacy vaapi plugins.

Details:
https://gstreamer.freedesktop.org/documentation/va/index.html

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
James Hilliard
2023-02-04 21:22:32 -07:00
committed by Yann E. MORIN
parent f802249c62
commit 8f291a3843
2 changed files with 21 additions and 0 deletions

View File

@@ -629,6 +629,17 @@ comment "uvch264 needs a toolchain w/ threads, wchar, gcc >= 4.9"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VA
bool "va"
depends on !BR2_STATIC_LIBS # libva
depends on BR2_TOOLCHAIN_HAS_THREADS # libva
select BR2_PACKAGE_LIBVA
help
VA-API new plugin
comment "va needs a toolchain w/ threads, dynamic library"
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC
bool "voaacenc"
select BR2_PACKAGE_VO_AACENC

View File

@@ -745,6 +745,16 @@ else
GST1_PLUGINS_BAD_CONF_OPTS += -Duvch264=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VA),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dva=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libva
ifeq ($(BR2_PACKAGE_LIBDRM),y)
GST1_PLUGINS_BAD_DEPENDENCIES += libdrm
endif
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dva=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dvoaacenc=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += vo-aacenc