2017-02-06 23:46:20 +00:00
|
|
|
vaapi_sources = [
|
|
|
|
'gstvaapi.c',
|
|
|
|
'gstvaapidecode.c',
|
|
|
|
'gstvaapidecodedoc.c',
|
2019-11-14 20:03:57 +00:00
|
|
|
'gstvaapioverlay.c',
|
2017-02-06 23:46:20 +00:00
|
|
|
'gstvaapipluginbase.c',
|
|
|
|
'gstvaapipluginutil.c',
|
|
|
|
'gstvaapipostproc.c',
|
|
|
|
'gstvaapipostprocutil.c',
|
|
|
|
'gstvaapisink.c',
|
|
|
|
'gstvaapivideobuffer.c',
|
|
|
|
'gstvaapivideocontext.c',
|
|
|
|
'gstvaapivideometa.c',
|
|
|
|
'gstvaapidecodebin.c',
|
|
|
|
'gstvaapivideobufferpool.c',
|
|
|
|
'gstvaapivideomemory.c',
|
|
|
|
'gstvaapivideometa_texture.c',
|
2017-06-14 16:23:34 +00:00
|
|
|
'gstvaapidecode_props.c',
|
2017-02-06 23:46:20 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
if USE_ENCODERS
|
|
|
|
vaapi_sources += [
|
|
|
|
'gstvaapiencode.c',
|
|
|
|
'gstvaapiencode_h264.c',
|
2018-12-24 04:58:53 +00:00
|
|
|
'gstvaapiencode_h265.c',
|
|
|
|
'gstvaapiencode_jpeg.c',
|
2017-02-06 23:46:20 +00:00
|
|
|
'gstvaapiencode_mpeg2.c',
|
2018-12-24 04:58:53 +00:00
|
|
|
'gstvaapiencode_vp8.c',
|
2017-02-06 23:46:20 +00:00
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_VP9_ENCODER
|
|
|
|
vaapi_sources += 'gstvaapiencode_vp9.c'
|
|
|
|
endif
|
|
|
|
|
|
|
|
gstvaapi = library('gstvaapi',
|
|
|
|
vaapi_sources,
|
|
|
|
c_args : gstreamer_vaapi_args + ['-DGST_USE_UNSTABLE_API'],
|
|
|
|
include_directories : [configinc, libsinc],
|
|
|
|
dependencies : [gstbase_dep, gstvideo_dep, gstallocators_dep, gstpbutils_dep,
|
2020-08-07 14:41:49 +00:00
|
|
|
libva_dep, gstlibvaapi_dep, gstgl_dep, gstglproto_dep, gstglx11_dep, gstglegl_dep,
|
|
|
|
gstglwayland_dep, libm],
|
2017-02-06 23:46:20 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-10-22 09:48:29 +00:00
|
|
|
|
|
|
|
plugins = [gstvaapi]
|