mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
52 lines
1.1 KiB
Meson
52 lines
1.1 KiB
Meson
|
vaapi_sources = [
|
||
|
'gstvaapi.c',
|
||
|
'gstvaapidecode.c',
|
||
|
'gstvaapidecodedoc.c',
|
||
|
'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',
|
||
|
]
|
||
|
|
||
|
if USE_ENCODERS
|
||
|
vaapi_sources += [
|
||
|
'gstvaapiencode.c',
|
||
|
'gstvaapiencode_h264.c',
|
||
|
'gstvaapiencode_mpeg2.c',
|
||
|
]
|
||
|
endif
|
||
|
|
||
|
if USE_JPEG_ENCODER
|
||
|
vaapi_sources += 'gstvaapiencode_jpeg.c'
|
||
|
endif
|
||
|
|
||
|
if USE_VP8_ENCODER
|
||
|
vaapi_sources += 'gstvaapiencode_vp8.c'
|
||
|
endif
|
||
|
|
||
|
if USE_H265_ENCODER
|
||
|
vaapi_sources += 'gstvaapiencode_h265.c'
|
||
|
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,
|
||
|
libva_dep, gstlibvaapi_dep, gstgl_dep, libm],
|
||
|
install : true,
|
||
|
install_dir : plugins_install_dir,
|
||
|
)
|