File: meson.build

package info (click to toggle)
gstreamer-vaapi 1.26.2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,576 kB
  • sloc: ansic: 76,250; python: 189; makefile: 28
file content (47 lines) | stat: -rw-r--r-- 1,185 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
vaapi_sources = [
  'gstvaapi.c',
  'gstvaapidecode.c',
  'gstvaapidecodedoc.c',
  'gstvaapioverlay.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',
  'gstvaapidecode_props.c',
]

if USE_ENCODERS
  vaapi_sources += [
      'gstvaapiencode.c',
      'gstvaapiencode_h264.c',
      'gstvaapiencode_h265.c',
      'gstvaapiencode_jpeg.c',
      'gstvaapiencode_mpeg2.c',
      'gstvaapiencode_vp8.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, gstglproto_dep, gstglx11_dep, gstglegl_dep,
    gstglwayland_dep, libm],
  install : true,
  install_dir : plugins_install_dir,
)

plugins = [gstvaapi]