2018-11-02 15:50:47 +00:00
|
|
|
examples = [
|
|
|
|
'test-vaapisink',
|
|
|
|
'test-vaapipostproc',
|
|
|
|
'test-roi',
|
|
|
|
]
|
|
|
|
|
|
|
|
foreach example : examples
|
|
|
|
executable(example, '@0@.c'.format(example),
|
|
|
|
c_args : gstreamer_vaapi_args,
|
|
|
|
include_directories: [configinc, libsinc],
|
|
|
|
dependencies : [gst_dep, gstvideo_dep],
|
|
|
|
install: false)
|
|
|
|
endforeach
|
|
|
|
|
2020-06-19 07:23:52 +00:00
|
|
|
if USE_X11 and USE_WAYLAND
|
2018-12-15 00:47:15 +00:00
|
|
|
if gtk_dep.found()
|
|
|
|
executable('test-vaapicontext', 'test-vaapicontext.c',
|
|
|
|
c_args : gstreamer_vaapi_args,
|
|
|
|
include_directories: [configinc, libsinc],
|
|
|
|
dependencies : [ gst_dep,
|
|
|
|
gstvideo_dep,
|
|
|
|
libva_dep,
|
|
|
|
x11_dep,
|
|
|
|
gtk_dep,
|
2020-06-19 07:23:52 +00:00
|
|
|
libva_wayland_dep,
|
2018-12-15 00:47:15 +00:00
|
|
|
libva_x11_dep ],
|
|
|
|
install: false)
|
|
|
|
endif
|
2019-04-09 01:20:23 +00:00
|
|
|
endif
|