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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
libdecutils_sources = [
'decoder.c',
'test-h264.c',
'test-jpeg.c',
'test-mpeg2.c',
'test-mpeg4.c',
'test-vc1.c',
]
libdecutils_headers = [
'decoder.h',
'test-h264.h',
'test-jpeg.h',
'test-mpeg2.h',
'test-mpeg4.h',
'test-vc1.h',
]
libutils_sources = [
'codec.c',
'image.c',
'output.c',
'test-subpicture-data.c',
'y4mreader.c',
]
libutils_headers = [
'codec.h',
'image.h',
'output.h',
'test-subpicture-data.h',
'y4mreader.h',
]
test_examples = [
'simple-decoder',
'test-decode',
'test-display',
'test-filter',
'test-surfaces',
'test-windows',
'test-subpicture',
]
if USE_ENCODERS
test_examples += [ 'simple-encoder' ]
endif
if USE_H264_FEI_ENCODER
test_examples += [
'test-fei-enc-out',
'test-fei-enc-in',
]
endif
if USE_GLX
test_examples += [ 'test-textures' ]
endif
libutils = static_library('libutils',
libutils_sources + libutils_headers,
c_args : gstreamer_vaapi_args,
include_directories: [configinc, libsinc],
dependencies : gstlibvaapi_deps,
install: false)
libdecutils = static_library('libdecutils',
libdecutils_sources + libdecutils_headers,
c_args : gstreamer_vaapi_args,
include_directories: [configinc, libsinc],
dependencies : gstlibvaapi_deps,
install: false)
foreach example : test_examples
executable(example, '@0@.c'.format(example),
c_args : gstreamer_vaapi_args,
include_directories: [configinc, libsinc],
dependencies : [gst_dep, libva_dep, gstlibvaapi_dep],
link_with: [libutils, libdecutils],
install: false)
endforeach
subdir('elements')
|