xref: /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-base/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1menuconfig BR2_PACKAGE_GST1_PLUGINS_BASE
2	bool "gst1-plugins-base"
3	select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
4	select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
5	select BR2_PACKAGE_XLIB_LIBXV if BR2_PACKAGE_XORG7
6	select BR2_PACKAGE_LIBDRM # Custom xvimagesink
7	help
8	  A basic set of well-supported plug-ins for GStreamer.
9
10	  https://gstreamer.freedesktop.org/
11
12if BR2_PACKAGE_GST1_PLUGINS_BASE
13
14config BR2_PACKAGE_GST1_PLUGINS_BASE_INSTALL_TOOLS
15	bool "install tools"
16	help
17	  Install the gst-discoverer, gst-device-monitor and gst-play
18	  tools.
19
20comment "dependency-less plugins"
21
22config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER
23	bool "adder"
24	help
25	  Adds multiple streams
26
27config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
28	bool "app"
29	help
30	  Elements used to communicate with applications
31
32config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT
33	bool "audioconvert (mandatory for audio playback)"
34	default y
35	help
36	  Convert audio to different formats
37
38config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER
39	bool "audiomixer"
40	help
41	  Audio mixer plugin
42
43config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE
44	bool "audiorate"
45	help
46	  Adjusts audio frames
47
48config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC
49	bool "audiotestsrc"
50	help
51	  Creates audio test signals of given frequency and volume
52
53config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR
54	bool "compositor"
55	help
56	  Video compositor plugin
57
58config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING
59	bool "encoding"
60	help
61	  various encoding-related elements
62
63config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERTSCALE
64	bool "videoconvertscale (mandatory for video playback)"
65	default y
66	help
67	  Colorspace conversion, resizes video
68
69config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO
70	bool "gio"
71	help
72	  GIO elements
73
74config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO_TYPEFINDER
75	bool "gio-typefinder"
76	help
77	  GIO typefinder elements
78
79config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OVERLAYCOMPOSITION
80	bool "overlaycomposition"
81	help
82	  Overlaycomposition plugin.
83
84config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK
85	bool "playback"
86	default y
87	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND
88	help
89	  various playback elements
90
91config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE
92	bool "audioresample (mandatory for audio playback)"
93	default y
94	help
95	  Resamples audio
96
97config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_RAWPARSE
98	bool "rawparse"
99	help
100	  Parses byte streams into raw frames
101
102config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE
103	bool "subparse"
104	help
105	  Subtitle parsing
106
107config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP
108	bool "tcp"
109	help
110	  transfer data over the network via TCP
111
112config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND
113	bool "typefind"
114	default y
115	help
116	  default typefind functions
117
118config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC
119	bool "videotestsrc"
120	help
121	  Creates a test video stream
122
123config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE
124	bool "videorate"
125	help
126	  Adjusts video frames
127
128config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME
129	bool "volume (mandatory for audio playback)"
130	default y
131	help
132	  plugin for controlling audio volume
133
134comment "plugins with external dependencies"
135
136menuconfig BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL
137	bool "opengl"
138	depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
139
140if BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL
141
142config BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
143	def_bool BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW
144
145comment "The opengl library needs an API, a platform and a window system"
146	depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
147
148comment "APIs"
149
150config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API
151	bool
152
153config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL
154	bool "opengl"
155	default y
156	depends on BR2_PACKAGE_HAS_LIBGL
157	select BR2_PACKAGE_LIBGLU
158	select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API
159
160comment "opengl needs an OpenGL backend"
161	depends on !BR2_PACKAGE_HAS_LIBGL
162
163config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2
164	bool "gles2"
165	default y
166	depends on BR2_PACKAGE_HAS_LIBGLES
167	select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API
168
169comment "gles2 needs an OpenGL ES backend"
170	depends on !BR2_PACKAGE_HAS_LIBGLES
171
172comment "Platforms"
173
174config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM
175	bool
176
177config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLX
178	bool "glx"
179	default y
180	depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL
181	depends on BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR # mesa needs big X
182	depends on !BR2_PACKAGE_RPI_USERLAND # x11
183	select BR2_PACKAGE_XLIB_LIBXRENDER
184	select BR2_PACKAGE_XORGPROTO
185	select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11
186	select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM
187	help
188	  OpenGL Extension to the X Window System
189
190comment "glx not supported with rpi-userland"
191	depends on BR2_PACKAGE_RPI_USERLAND
192
193comment "glx needs the opengl API and modular X.org"
194	depends on !BR2_PACKAGE_RPI_USERLAND && \
195		(!BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL || \
196		!BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR)
197
198config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL
199	bool "egl"
200	default y
201	depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API
202	depends on BR2_PACKAGE_HAS_LIBEGL
203	select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM
204
205comment "egl needs an API and an EGL backend"
206	depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API || \
207		!BR2_PACKAGE_HAS_LIBEGL
208
209comment "Window systems"
210
211config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW
212	bool
213
214config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11
215	bool "x11"
216	default y
217	depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM
218	depends on !BR2_PACKAGE_RPI_USERLAND
219	depends on BR2_PACKAGE_XORG7
220	select BR2_PACKAGE_XLIB_LIBX11
221	select BR2_PACKAGE_XLIB_LIBXEXT
222	select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW
223
224comment "x11 not supported with rpi-userland"
225	depends on BR2_PACKAGE_RPI_USERLAND
226
227comment "x11 needs a platform and X.org"
228	depends on !BR2_PACKAGE_RPI_USERLAND && \
229		(!BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM || \
230		!BR2_PACKAGE_XORG7)
231
232config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_WAYLAND
233	bool "wayland"
234	default y
235	depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL
236	depends on BR2_PACKAGE_WAYLAND
237	select BR2_PACKAGE_WAYLAND_PROTOCOLS
238	select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW
239
240comment "wayland needs the egl platform and the wayland package"
241	depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL || \
242		!BR2_PACKAGE_WAYLAND
243
244config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_DISPMANX
245	bool "dispmanx"
246	default y
247	depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL
248	depends on BR2_PACKAGE_RPI_USERLAND
249	select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW
250	help
251	  Raspberry Pi's Dispmanx windowing system
252
253comment "dispmanx needs the egl platform and rpi-userland"
254	depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL || \
255		!BR2_PACKAGE_RPI_USERLAND
256endif
257
258comment "opengl needs an OpenGL or OpenGL ES backend"
259	depends on !BR2_PACKAGE_HAS_LIBGL && !BR2_PACKAGE_HAS_LIBGLES
260
261config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA
262	bool "alsa (mandatory for audio playback)"
263	select BR2_PACKAGE_ALSA_LIB
264	select BR2_PACKAGE_ALSA_LIB_MIXER
265	select BR2_PACKAGE_ALSA_LIB_PCM
266	select BR2_PACKAGE_ALSA_LIB_SEQ
267	help
268	  ALSA plugin library
269
270config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR
271	bool "tremor"
272	select BR2_PACKAGE_TREMOR
273	help
274	  Vorbis Tremor decoder
275
276config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG
277	bool "ogg (*.ogg audio/video)"
278	select BR2_PACKAGE_LIBOGG
279	help
280	  ogg stream manipulation (info about ogg: http://xiph.org)
281
282config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS
283	bool "opus"
284	select BR2_PACKAGE_OPUS
285	help
286	  Opus codec for speech and audio.
287
288config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO
289	bool "pango font renderer"
290	depends on BR2_USE_WCHAR # pango -> glib2
291	depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> glib2
292	depends on BR2_USE_MMU # pango -> glib2
293	depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
294	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
295	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango -> harfbuzz
296	select BR2_PACKAGE_PANGO
297	help
298	  Pango-based text rendering and overlay
299
300comment "pango plugin needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
301	depends on BR2_TOOLCHAIN_HAS_SYNC_4
302	depends on BR2_USE_MMU
303	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
304		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
305
306config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA
307	bool "theora (*.ogg video)"
308	select BR2_PACKAGE_LIBTHEORA
309	help
310	  Theora plugin library
311
312config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS
313	bool "vorbis (*.ogg audio)"
314	select BR2_PACKAGE_LIBVORBIS
315	help
316	  Vorbis plugin library
317
318endif
319