3 'colorbalancechannel.c',
5 'gstvideoaffinetransformationmeta.c',
14 'gstvideoutilsprivate.c',
30 'video-overlay-composition.c',
38 'colorbalancechannel.h',
39 'gstvideoaffinetransformationmeta.h',
66 'video-overlay-composition.h',
69 install_headers(video_headers, subdir : 'gstreamer-1.0/gst/video/')
71 video_mkenum_headers = [
87 mkenums = find_program('video_mkenum.py')
88 gstvideo_h = custom_target('gstvideoenum_h',
89 output : 'video-enumtypes.h',
90 input : video_mkenum_headers,
92 install_dir : 'include/gstreamer-1.0/gst/video/',
93 command : [mkenums, glib_mkenums, '@OUTPUT@', '@INPUT@'])
95 gstvideo_c = custom_target('gstvideoenum_c',
96 output : 'video-enumtypes.c',
97 input : video_mkenum_headers,
98 depends : [gstvideo_h],
99 command : [mkenums, glib_mkenums, '@OUTPUT@', '@INPUT@'])
100 video_gen_sources = [gstvideo_h]
103 gstvideo_deps = [gst_base_dep, libm]
105 gstvideo_deps += [orc_dep]
106 orc_h = custom_target(orcsrc + '.h',
107 input : orcsrc + '.orc',
108 output : orcsrc + '.h',
109 command : orcc_args + ['--header', '-o', '@OUTPUT@', '@INPUT@'])
110 orc_c = custom_target(orcsrc + '.c',
111 input : orcsrc + '.orc',
112 output : orcsrc + '.c',
113 command : orcc_args + ['--implementation', '-o', '@OUTPUT@', '@INPUT@'])
115 orc_h = configure_file(input : orcsrc + '-dist.h',
116 output : orcsrc + '.h',
117 configuration : configuration_data())
118 orc_c = configure_file(input : orcsrc + '-dist.c',
119 output : orcsrc + '.c',
120 configuration : configuration_data())
123 gstvideo = library('gstvideo-@0@'.format(api_version),
124 video_sources, gstvideo_h, gstvideo_c, orc_c, orc_h,
125 c_args : gst_plugins_base_args,
126 include_directories: [configinc, libsinc],
127 version : libversion,
128 soversion : soversion,
130 dependencies : gstvideo_deps,
134 gst_gir_extra_args = gir_init_section + [ '--c-include=gst/video/video.h' ]
135 video_gen_sources += [gnome.generate_gir(gstvideo,
136 sources : video_sources + video_headers + [gstvideo_c] + [gstvideo_h],
137 namespace : 'GstVideo',
138 nsversion : api_version,
139 identifier_prefix : 'Gst',
140 symbol_prefix : 'gst',
141 export_packages : 'gstreamer-video-1.0',
142 includes : ['Gst-1.0', 'GstBase-1.0'],
144 extra_args : gst_gir_extra_args,
145 dependencies : gstvideo_deps
149 video_dep = declare_dependency(link_with : gstvideo,
150 include_directories : [libsinc],
151 dependencies : gstvideo_deps,
152 sources : video_gen_sources)