1goom2k1_args = [
2  '-Dgst_goom_get_type=gst_goom2k1_get_type',
3  '-Dgoom_init=goom2k1_init',
4  '-Dgoom_close=goom2k1_close',
5  '-Dgoom_update=goom2k1_update',
6  '-Dgoom_set_resolution=goom2k1_set_resolution',
7  '-Dgoom_lines=goom2k1_lines',
8  '-DBLACK=GOOM2K1_BLACK',
9  '-DWHITE=GOOM2K1_WHITE',
10  '-DRED=GOOM2K1_RED',
11  '-DBLUE=GOOM2K1_BLUE',
12  '-DGREEN=GOOM2K1_GREEN',
13  '-DYELLOW=GOOM2K1_YELLOW',
14  '-DORANGE=GOOM2K1_ORANGE',
15  '-DVIOLET=GOOM2K1_VIOLET',
16  '-DzoomFilterFastRGB=zoomFilterFastRGB2k1',
17  '-DpointFilter=pointFilter2k1',
18  '-DzoomFilterDestroy=zoomFilterDestroy2k1',
19  '-DzoomFilterNew=zoomFilterNew2k1'
20]
21
22filter_args = ['-UMMX', '-UUSE_ASM']
23
24goom2k1_sources = [
25  'gstgoom.c',
26  'goom_core.c',
27  'filters.c',
28  'graphic.c',
29  'lines.c'
30]
31
32gstgoom2k1 = library('gstgoom2k1',
33  goom2k1_sources,
34  c_args : gst_plugins_good_args + goom2k1_args + filter_args,
35  include_directories : [configinc],
36  dependencies : [gstpbutils_dep, gstbase_dep, libm],
37  install : true,
38  install_dir : plugins_install_dir,
39)
40pkgconfig.generate(gstgoom2k1, install_dir : plugins_pkgconfig_install_dir)
41