gstreamer/gst-libs/gst/codecs/meson.build
Nicolas Dufresne 00d04784d3 Move CODEC base classes into it's own library
This introduce a library which contains a set of base classes which
handles the parsing and the state tracking for the purpose of decoding
different CODECs. Currently H264, H265 and VP9 are supported. These
bases classes are used to decode with low level decoding API like DXVA,
NVDEC, VDPAU, VAAPI and V4L2 State Less decoders. The new library is
named gstreamer-codecs-1.0 / libgstcodecs.
2020-03-05 03:06:16 +00:00

39 lines
909 B
Meson

codecs_sources = files([
'gsth264decoder.c',
'gsth264picture.c',
'gsth265decoder.c',
'gsth265picture.c',
'gstvp9decoder.c',
'gstvp9picture.c',
])
codecs_headers = [
'gsth264decoder.h',
'gsth264picture.h',
'gsth265decoder.h',
'gsth265picture.h',
'gstvp9decoder.h',
'gstvp9picture.h',
]
install_headers(codecs_headers, subdir : 'gstreamer-1.0/gst/codecs')
cp_args = [
'-DGST_USE_UNSTABLE_API',
'-DBUILDING_GST_CODECS',
]
gstcodecs = library('gstcodecs-' + api_version,
codecs_sources,
c_args : gst_plugins_bad_args + cp_args,
include_directories : [configinc, libsinc],
version : libversion,
soversion : soversion,
darwin_versions : osxversion,
install : true,
dependencies : [gstvideo_dep, gstcodecparsers_dep],
)
gstcodecs_dep = declare_dependency(link_with : gstcodecs,
include_directories : [libsinc],
dependencies : [gstvideo_dep, gstcodecparsers_dep])