2021-01-07 14:47:35 +00:00
|
|
|
if not have_va
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
2020-08-03 11:50:23 +00:00
|
|
|
gtk_dep = dependency('gtk+-3.0', required : get_option('examples'))
|
|
|
|
gtk_x11_dep = dependency('gtk+-x11-3.0', required : get_option('examples'))
|
|
|
|
x11_dep = dependency('x11', required : get_option('examples'))
|
|
|
|
libva_x11_dep = dependency('libva-x11', version: libva_req, required: get_option('examples'))
|
|
|
|
|
|
|
|
if have_va and gtk_dep.found() and gtk_x11_dep.found() and x11_dep.found() and libva_x11_dep.found()
|
|
|
|
executable('va-x11-render',
|
|
|
|
'main.c',
|
|
|
|
install: false,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gtk_dep, gtk_x11_dep, x11_dep, gst_dep, gstapp_dep, gstvideo_dep, libva_dep, libva_x11_dep],
|
|
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
|
|
|
)
|
|
|
|
endif
|
2020-09-19 19:39:06 +00:00
|
|
|
|
|
|
|
executable('multiple-vpp',
|
|
|
|
'multiple-vpp.c',
|
|
|
|
install: false,
|
|
|
|
include_directories : [configinc],
|
2021-02-24 12:06:51 +00:00
|
|
|
dependencies : [gst_dep, gstvideo_dep],
|
2020-09-19 19:39:06 +00:00
|
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
|
|
|
)
|