2016-08-12 15:51:45 +00:00
|
|
|
yadif_sources = [
|
|
|
|
'gstyadif.c',
|
|
|
|
'vf_yadif.c',
|
|
|
|
'yadif.c'
|
|
|
|
]
|
|
|
|
|
2019-12-30 15:41:40 +00:00
|
|
|
local_c_args = gst_plugins_bad_args
|
|
|
|
|
|
|
|
# The plugin can build asm extensions
|
|
|
|
# on x86_64
|
|
|
|
if host_machine.cpu() == 'x86_64'
|
|
|
|
local_c_args += ['-DHAVE_CPU_X86_64=1']
|
|
|
|
endif
|
|
|
|
|
2016-08-12 15:51:45 +00:00
|
|
|
gstyadif = library('gstyadif',
|
|
|
|
yadif_sources,
|
2019-12-30 15:41:40 +00:00
|
|
|
c_args : local_c_args,
|
2016-08-12 15:51:45 +00:00
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstbase_dep, gstvideo_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstyadif, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gstyadif]
|