mirror of
https://github.com/videolan/vlc.git
synced 2024-11-27 03:47:46 +08:00
meson: add AMF video filters
This commit is contained in:
parent
3cb30ace80
commit
c3103cd8e5
@ -655,6 +655,16 @@ option('amf_scaler',
|
||||
value: 'auto',
|
||||
description: 'AMF HQScaler support')
|
||||
|
||||
option('amf_frc',
|
||||
type: 'feature',
|
||||
value: 'auto',
|
||||
description: 'AMF Frame Doubler support')
|
||||
|
||||
option('amf_vqenhancer',
|
||||
type: 'feature',
|
||||
value: 'auto',
|
||||
description: 'AMF VQ Enhancer support')
|
||||
|
||||
# TODO: Missing live555
|
||||
# TODO: Missing v4l2
|
||||
# TODO: Missing nvdec
|
||||
|
@ -36,6 +36,36 @@ vlc_modules += {
|
||||
'sources' : files('antiflicker.c')
|
||||
}
|
||||
|
||||
if host_system == 'windows'
|
||||
vlc_modules += {
|
||||
'name' : 'amf_frc',
|
||||
'sources' : files(
|
||||
'amf_frc.c',
|
||||
'../hw/amf/amf_helper.c',
|
||||
),
|
||||
'link_with': [ d3d11_common_lib ],
|
||||
'dependencies': [ contrib_dep, cc.find_library('d3d11')],
|
||||
'enabled' : get_option('amf_frc').allowed() \
|
||||
and cc.find_library('d3d11').found() \
|
||||
and cc.check_header('AMF/core/PropertyStorage.h', args: [contrib_inc_args]) \
|
||||
and cc.check_header('AMF/components/FRC.h', args: [contrib_inc_args]),
|
||||
}
|
||||
|
||||
vlc_modules += {
|
||||
'name' : 'amf_vqenhancer',
|
||||
'sources' : files(
|
||||
'amf_vqenhancer.c',
|
||||
'../hw/amf/amf_helper.c',
|
||||
),
|
||||
'link_with': [ d3d11_common_lib ],
|
||||
'dependencies': [ contrib_dep, cc.find_library('d3d11') ],
|
||||
'enabled' : get_option('amf_vqenhancer').allowed() \
|
||||
and cc.find_library('d3d11').found() \
|
||||
and cc.check_header('AMF/core/PropertyStorage.h', args: [contrib_inc_args]) \
|
||||
and cc.check_header('AMF/components/VQEnhancer.h', args: [contrib_inc_args]),
|
||||
}
|
||||
endif
|
||||
|
||||
# Ball filter
|
||||
vlc_modules += {
|
||||
'name' : 'ball',
|
||||
|
Loading…
Reference in New Issue
Block a user