1 lib_LTLIBRARIES = libgstvaapi-@GST_MAJORMINOR@.la
4 lib_LTLIBRARIES += libgstvaapi-drm-@GST_MAJORMINOR@.la
8 lib_LTLIBRARIES += libgstvaapi-x11-@GST_MAJORMINOR@.la
12 lib_LTLIBRARIES += libgstvaapi-glx-@GST_MAJORMINOR@.la
16 lib_LTLIBRARIES += libgstvaapi-wayland-@GST_MAJORMINOR@.la
19 libgstvaapi_includedir = \
20 $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/vaapi
22 libgstvaapi_cflags = \
23 -DGST_USE_UNSTABLE_API \
24 -I$(top_srcdir)/gst-libs \
26 $(GST_BASEVIDEO_CFLAGS) \
29 $(GST_CODEC_PARSERS_CFLAGS) \
36 $(GST_BASEVIDEO_LIBS) \
39 $(GST_CODEC_PARSERS_LIBS) \
44 libgstvaapi_source_c = \
45 gstvaapicodec_objects.c \
48 gstvaapidecoder_dpb.c \
49 gstvaapidecoder_h264.c \
50 gstvaapidecoder_mpeg2.c \
51 gstvaapidecoder_mpeg4.c \
52 gstvaapidecoder_objects.c \
53 gstvaapidecoder_vc1.c \
55 gstvaapidisplaycache.c \
57 gstvaapiimageformat.c \
60 gstvaapiparamspecs.c \
62 gstvaapisubpicture.c \
64 gstvaapisurfacepool.c \
65 gstvaapisurfaceproxy.c \
66 gstvaapisurface_userptr.c \
69 gstvaapivideobuffer.c \
74 libgstvaapi_source_h = \
77 gstvaapidecoder_h264.h \
78 gstvaapidecoder_mpeg2.h \
79 gstvaapidecoder_mpeg4.h \
80 gstvaapidecoder_vc1.h \
82 gstvaapidisplaycache.h \
84 gstvaapiimageformat.h \
87 gstvaapiparamspecs.h \
89 gstvaapisubpicture.h \
91 gstvaapisurfacepool.h \
92 gstvaapisurfaceproxy.h \
93 gstvaapisurface_userptr.h \
96 gstvaapivideobuffer.h \
102 libgstvaapi_source_c += \
104 gstvaapibaseencoder.c \
105 gstvaapiencoder_h264.c \
106 gstvaapiencoder_h263.c \
107 gstvaapiencoder_mpeg4.c \
110 libgstvaapi_source_h += \
112 gstvaapibaseencoder.h \
113 gstvaapiencoder_h264.h \
114 gstvaapiencoder_h263.h \
115 gstvaapiencoder_mpeg4.h \
120 libgstvaapi_source_priv_h = \
123 gstvaapicodec_objects.h \
126 gstvaapidecoder_dpb.h \
127 gstvaapidecoder_objects.h \
128 gstvaapidecoder_priv.h \
129 gstvaapidisplay_priv.h \
130 gstvaapiobject_priv.h \
131 gstvaapisurface_priv.h \
133 gstvaapivideobuffer_priv.h \
134 gstvaapiworkarounds.h \
139 libgstvaapi_source_c += gstvaapidecoder_jpeg.c
140 libgstvaapi_source_h += gstvaapidecoder_jpeg.h
143 libgstvaapi_drm_source_c = \
144 gstvaapidisplay_drm.c \
145 gstvaapiwindow_drm.c \
149 libgstvaapi_drm_source_h = \
150 gstvaapidisplay_drm.h \
151 gstvaapiwindow_drm.h \
154 libgstvaapi_drm_source_priv_h = \
156 gstvaapidisplay_drm_priv.h \
160 libgstvaapi_x11_source_c = \
161 gstvaapidisplay_x11.c \
163 gstvaapiutils_x11.c \
164 gstvaapiwindow_x11.c \
167 libgstvaapi_x11_source_h = \
168 gstvaapidisplay_x11.h \
169 gstvaapiwindow_x11.h \
172 libgstvaapi_x11_source_priv_h = \
174 gstvaapidisplay_x11_priv.h \
176 gstvaapiutils_x11.h \
179 libgstvaapi_glx_source_c = \
180 gstvaapidisplay_glx.c \
183 gstvaapiutils_glx.c \
184 gstvaapiutils_x11.c \
185 gstvaapivideobuffer_glx.c \
186 gstvaapivideoconverter_glx.c \
187 gstvaapiwindow_glx.c \
190 libgstvaapi_glx_source_h = \
191 gstvaapidisplay_glx.h \
193 gstvaapivideobuffer_glx.h \
194 gstvaapivideoconverter_glx.h \
195 gstvaapiwindow_glx.h \
198 libgstvaapi_glx_source_priv_h = \
200 gstvaapidisplay_glx_priv.h \
202 gstvaapiutils_glx.h \
203 gstvaapiutils_x11.h \
206 libgstvaapi_wayland_source_c = \
207 gstvaapidisplay_wayland.c \
209 gstvaapiwindow_wayland.c \
212 libgstvaapi_wayland_source_h = \
213 gstvaapidisplay_wayland.h \
214 gstvaapiwindow_wayland.h \
217 libgstvaapi_wayland_source_priv_h = \
219 gstvaapidisplay_wayland_priv.h \
223 if USE_LOCAL_CODEC_PARSERS
224 libgstvaapi_libs += \
225 $(top_builddir)/gst-libs/gst/codecparsers/libgstvaapi-codecparsers.la
228 libgstvaapi_@GST_MAJORMINOR@_la_SOURCES = \
229 $(libgstvaapi_source_c) \
230 $(libgstvaapi_source_priv_h) \
233 libgstvaapi_@GST_MAJORMINOR@include_HEADERS = \
234 $(libgstvaapi_source_h) \
237 libgstvaapi_@GST_MAJORMINOR@includedir = \
238 $(libgstvaapi_includedir)
240 libgstvaapi_@GST_MAJORMINOR@_la_CFLAGS = \
241 $(libgstvaapi_cflags) \
244 libgstvaapi_@GST_MAJORMINOR@_la_LIBADD = \
245 $(libgstvaapi_libs) \
248 libgstvaapi_@GST_MAJORMINOR@_la_LDFLAGS = \
252 libgstvaapi_drm_@GST_MAJORMINOR@_la_SOURCES = \
253 $(libgstvaapi_drm_source_c) \
254 $(libgstvaapi_drm_source_priv_h) \
257 libgstvaapi_drm_@GST_MAJORMINOR@include_HEADERS = \
258 $(libgstvaapi_drm_source_h) \
261 libgstvaapi_drm_@GST_MAJORMINOR@includedir = \
262 $(libgstvaapi_includedir)
264 libgstvaapi_drm_@GST_MAJORMINOR@_la_CFLAGS = \
265 -DGST_USE_UNSTABLE_API \
266 -I$(top_srcdir)/gst-libs \
271 $(LIBVA_DRM_CFLAGS) \
274 libgstvaapi_drm_@GST_MAJORMINOR@_la_LIBADD = \
279 libgstvaapi-@GST_MAJORMINOR@.la \
282 libgstvaapi_drm_@GST_MAJORMINOR@_la_LDFLAGS = \
286 libgstvaapi_x11_@GST_MAJORMINOR@_la_SOURCES = \
287 $(libgstvaapi_x11_source_c) \
288 $(libgstvaapi_x11_source_priv_h) \
291 libgstvaapi_x11_@GST_MAJORMINOR@include_HEADERS = \
292 $(libgstvaapi_x11_source_h) \
295 libgstvaapi_x11_@GST_MAJORMINOR@includedir = \
296 $(libgstvaapi_includedir)
298 libgstvaapi_x11_@GST_MAJORMINOR@_la_CFLAGS = \
299 -DGST_USE_UNSTABLE_API \
300 -I$(top_srcdir)/gst-libs \
305 $(LIBVA_X11_CFLAGS) \
308 libgstvaapi_x11_@GST_MAJORMINOR@_la_LIBADD = \
313 libgstvaapi-@GST_MAJORMINOR@.la \
316 libgstvaapi_x11_@GST_MAJORMINOR@_la_LDFLAGS = \
320 libgstvaapi_glx_@GST_MAJORMINOR@_la_SOURCES = \
321 $(libgstvaapi_glx_source_c) \
322 $(libgstvaapi_glx_source_priv_h) \
325 libgstvaapi_glx_@GST_MAJORMINOR@include_HEADERS = \
326 $(libgstvaapi_glx_source_h) \
329 libgstvaapi_glx_@GST_MAJORMINOR@includedir = \
330 $(libgstvaapi_includedir)
332 libgstvaapi_glx_@GST_MAJORMINOR@_la_CFLAGS = \
333 -DGST_USE_UNSTABLE_API \
334 -I$(top_srcdir)/gst-libs \
338 $(LIBVA_GLX_CFLAGS) \
341 libgstvaapi_glx_@GST_MAJORMINOR@_la_LIBADD = \
345 libgstvaapi-x11-@GST_MAJORMINOR@.la \
348 libgstvaapi_glx_@GST_MAJORMINOR@_la_LDFLAGS = \
352 libgstvaapi_wayland_@GST_MAJORMINOR@_la_SOURCES = \
353 $(libgstvaapi_wayland_source_c) \
354 $(libgstvaapi_wayland_source_priv_h) \
357 libgstvaapi_wayland_@GST_MAJORMINOR@include_HEADERS = \
358 $(libgstvaapi_wayland_source_h) \
361 libgstvaapi_wayland_@GST_MAJORMINOR@includedir = \
362 $(libgstvaapi_includedir)
364 libgstvaapi_wayland_@GST_MAJORMINOR@_la_CFLAGS = \
365 -DGST_USE_UNSTABLE_API \
366 -I$(top_srcdir)/gst-libs \
370 $(LIBVA_WAYLAND_CFLAGS) \
373 libgstvaapi_wayland_@GST_MAJORMINOR@_la_LIBADD = \
376 $(LIBVA_WAYLAND_LIBS) \
377 libgstvaapi-@GST_MAJORMINOR@.la \
380 libgstvaapi_wayland_@GST_MAJORMINOR@_la_LDFLAGS = \
384 # Extra clean files so that maintainer-clean removes *everything*
385 MAINTAINERCLEANFILES = Makefile.in