xref: /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-vaapi/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_GST1_VAAPI
2	bool "gst1-vaapi"
3	depends on !BR2_STATIC_LIBS # dlopen(), libva
4	depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm
5	depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad
6	depends on BR2_PACKAGE_HAS_UDEV
7	select BR2_PACKAGE_LIBVA
8	select BR2_PACKAGE_LIBDRM
9	select BR2_PACKAGE_GST1_PLUGINS_BASE
10	select BR2_PACKAGE_GST1_PLUGINS_BAD # gstreamer-codecparsers
11	select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
12	select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_XORG7
13	help
14	  gstreamer-vaapi consists in a collection of VA-API based
15	  plugins for GStreamer and helper libraries.
16
17	  vaapi<CODEC>dec is used to decode JPEG, MPEG-2, MPEG-4:2,
18	  H.264 AVC, H.264 MVC, VP8, VC-1, WMV3, HEVC videos to VA
19	  surfaces, depending on the actual value of <CODEC> and the
20	  underlying hardware capabilities.  This plugin is also able
21	  to implicitly download the decoded surface to raw YUV
22	  buffers.
23
24	  vaapi<CODEC>enc is used to encode into MPEG-2, H.264 AVC,
25	  H.264 MVC, JPEG, VP8, HEVC videos, depending on the actual
26	  value of <CODEC> (mpeg2, h264, etc.) and the hardware
27	  capabilities. By default, raw format bitstreams are
28	  generated, so the result may be piped to a muxer, e.g. qtmux
29	  for MP4 containers.
30
31	  vaapipostproc is used to filter VA surfaces, for
32	  e.g. scaling, deinterlacing (bob, motion-adaptive,
33	  motion-compensated), noise reduction or sharpening. This
34	  plugin is also used to upload raw YUV pixels into VA
35	  surfaces.
36
37	  vaapisink is used to render VA surfaces to an X11 or Wayland
38	  display. This plugin also features a "headless" mode (DRM)
39	  more suited to remote transcode scenarios, with faster
40	  throughput.
41
42	  https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi
43
44if BR2_PACKAGE_GST1_VAAPI
45
46config BR2_PACKAGE_GST1_VAAPI_ENCODERS
47	bool "enable encoders"
48
49endif
50
51comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++"
52	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
53		!BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP
54