gtk+-4.0: Update to 3.94.0+4e868584
[vala-gnome.git] / vapi / gstreamer-tag-1.0.vapi
blob8b0a77686d04defc8173e1ad9aecb03173ed23ac
1 /* gstreamer-tag-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstTag", gir_version = "1.0", lower_case_cprefix = "gst_")]
4 namespace Gst {
5         namespace Tag {
6                 namespace CDDA {
7                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CDDA_CDDB_DISCID")]
8                         public const string CDDB_DISCID;
9                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CDDA_CDDB_DISCID_FULL")]
10                         public const string CDDB_DISCID_FULL;
11                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CDDA_MUSICBRAINZ_DISCID")]
12                         public const string MUSICBRAINZ_DISCID;
13                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CDDA_MUSICBRAINZ_DISCID_FULL")]
14                         public const string MUSICBRAINZ_DISCID_FULL;
15                 }
16                 namespace CMML {
17                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CMML_CLIP")]
18                         public const string CLIP;
19                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CMML_HEAD")]
20                         public const string HEAD;
21                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CMML_STREAM")]
22                         public const string STREAM;
23                 }
24                 namespace Capturing {
25                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_CONTRAST")]
26                         public const string CONTRAST;
27                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO")]
28                         public const string DIGITAL_ZOOM_RATIO;
29                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_EXPOSURE_COMPENSATION")]
30                         public const string EXPOSURE_COMPENSATION;
31                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_EXPOSURE_MODE")]
32                         public const string EXPOSURE_MODE;
33                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_EXPOSURE_PROGRAM")]
34                         public const string EXPOSURE_PROGRAM;
35                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_FLASH_FIRED")]
36                         public const string FLASH_FIRED;
37                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_FLASH_MODE")]
38                         public const string FLASH_MODE;
39                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_FOCAL_LENGTH")]
40                         public const string FOCAL_LENGTH;
41                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_FOCAL_LENGTH_35_MM")]
42                         [Version (since = "1.10")]
43                         public const string FOCAL_LENGTH_35_MM;
44                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_FOCAL_RATIO")]
45                         public const string FOCAL_RATIO;
46                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_GAIN_ADJUSTMENT")]
47                         public const string GAIN_ADJUSTMENT;
48                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_ISO_SPEED")]
49                         public const string ISO_SPEED;
50                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_METERING_MODE")]
51                         public const string METERING_MODE;
52                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_SATURATION")]
53                         public const string SATURATION;
54                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE")]
55                         public const string SCENE_CAPTURE_TYPE;
56                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_SHARPNESS")]
57                         public const string SHARPNESS;
58                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_SHUTTER_SPEED")]
59                         public const string SHUTTER_SPEED;
60                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_SOURCE")]
61                         public const string SOURCE;
62                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_CAPTURING_WHITE_BALANCE")]
63                         public const string WHITE_BALANCE;
64                 }
65                 namespace Image {
66                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_IMAGE_HORIZONTAL_PPI")]
67                         public const string HORIZONTAL_PPI;
68                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_IMAGE_VERTICAL_PPI")]
69                         public const string VERTICAL_PPI;
70                 }
71                 namespace List {
72                         [CCode (cheader_filename = "gst/tag/tag.h")]
73                         public static bool add_id3_image (Gst.TagList tag_list, [CCode (array_length_cname = "image_data_len", array_length_pos = 2.5, array_length_type = "guint")] uint8[] image_data, uint id3_picture_type);
74                         [CCode (cheader_filename = "gst/tag/tag.h")]
75                         public static Gst.TagList from_exif_buffer (Gst.Buffer buffer, int byte_order, uint32 base_offset);
76                         [CCode (cheader_filename = "gst/tag/tag.h")]
77                         public static Gst.TagList from_exif_buffer_with_tiff_header (Gst.Buffer buffer);
78                         [CCode (cheader_filename = "gst/tag/tag.h")]
79                         public static Gst.TagList from_id3v2_tag (Gst.Buffer buffer);
80                         [CCode (cheader_filename = "gst/tag/tag.h")]
81                         public static Gst.TagList from_vorbiscomment ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] data, [CCode (array_length_cname = "id_data_length", array_length_pos = 2.5, array_length_type = "guint")] uint8[] id_data, out string vendor_string);
82                         [CCode (cheader_filename = "gst/tag/tag.h")]
83                         public static Gst.TagList from_vorbiscomment_buffer (Gst.Buffer buffer, [CCode (array_length_cname = "id_data_length", array_length_pos = 2.5, array_length_type = "guint")] uint8[] id_data, out string vendor_string);
84                         [CCode (cheader_filename = "gst/tag/tag.h")]
85                         public static Gst.TagList from_xmp_buffer (Gst.Buffer buffer);
86                         [CCode (cheader_filename = "gst/tag/tag.h")]
87                         public static Gst.TagList new_from_id3v1 ([CCode (array_length = false)] uint8 data[128]);
88                         [CCode (cheader_filename = "gst/tag/tag.h")]
89                         public static Gst.Buffer to_exif_buffer (Gst.TagList taglist, int byte_order, uint32 base_offset);
90                         [CCode (cheader_filename = "gst/tag/tag.h")]
91                         public static Gst.Buffer to_exif_buffer_with_tiff_header (Gst.TagList taglist);
92                         [CCode (cheader_filename = "gst/tag/tag.h")]
93                         public static Gst.Buffer to_vorbiscomment_buffer (Gst.TagList list, [CCode (array_length_cname = "id_data_length", array_length_pos = 2.5, array_length_type = "guint")] uint8[] id_data, string? vendor_string);
94                         [CCode (cheader_filename = "gst/tag/tag.h")]
95                         public static Gst.Buffer to_xmp_buffer (Gst.TagList list, bool read_only, [CCode (array_length = false, array_null_terminated = true)] string[] schemas);
96                 }
97                 namespace MusicBrainz {
98                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_MUSICBRAINZ_ALBUMARTISTID")]
99                         public const string ALBUMARTISTID;
100                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_MUSICBRAINZ_ALBUMID")]
101                         public const string ALBUMID;
102                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_MUSICBRAINZ_ARTISTID")]
103                         public const string ARTISTID;
104                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_MUSICBRAINZ_TRACKID")]
105                         public const string TRACKID;
106                         [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_MUSICBRAINZ_TRMID")]
107                         public const string TRMID;
108                 }
109                 [CCode (cheader_filename = "gst/tag/tag.h", type_id = "gst_tag_demux_get_type ()")]
110                 [GIR (name = "TagDemux")]
111                 public abstract class Demux : Gst.Element {
112                         [CCode (has_construct_function = false)]
113                         protected Demux ();
114                         [NoWrapper]
115                         public virtual bool identify_tag (Gst.Buffer buffer, bool start_tag, uint tag_size);
116                         [NoWrapper]
117                         public virtual Gst.TagList merge_tags (Gst.TagList start_tags, Gst.TagList end_tags);
118                         [NoWrapper]
119                         public virtual Gst.Tag.DemuxResult parse_tag (Gst.Buffer buffer, bool start_tag, uint tag_size, Gst.TagList tags);
120                 }
121                 [CCode (cheader_filename = "gst/tag/tag.h", type_id = "gst_tag_mux_get_type ()")]
122                 [GIR (name = "TagMux")]
123                 public abstract class Mux : Gst.Element, Gst.TagSetter {
124                         [CCode (has_construct_function = false)]
125                         protected Mux ();
126                         [NoWrapper]
127                         public virtual Gst.Buffer render_end_tag (Gst.TagList tag_list);
128                         [NoWrapper]
129                         public virtual Gst.Buffer render_start_tag (Gst.TagList tag_list);
130                 }
131                 [CCode (cheader_filename = "gst/tag/tag.h", type_id = "gst_tag_xmp_writer_get_type ()")]
132                 [GIR (name = "TagXmpWriter")]
133                 public interface XmpWriter : Gst.Element {
134                         public void add_all_schemas ();
135                         public void add_schema (string schema);
136                         public bool has_schema (string schema);
137                         public void remove_all_schemas ();
138                         public void remove_schema (string schema);
139                         public Gst.Buffer tag_list_to_xmp_buffer (Gst.TagList taglist, bool read_only);
140                 }
141                 [CCode (cheader_filename = "gst/tag/tag.h", cprefix = "GST_TAG_DEMUX_RESULT_", type_id = "gst_tag_demux_result_get_type ()")]
142                 [GIR (name = "TagDemuxResult")]
143                 public enum DemuxResult {
144                         BROKEN_TAG,
145                         AGAIN,
146                         OK
147                 }
148                 [CCode (cheader_filename = "gst/tag/tag.h", cprefix = "GST_TAG_IMAGE_TYPE_", type_id = "gst_tag_image_type_get_type ()")]
149                 [GIR (name = "TagImageType")]
150                 public enum ImageType {
151                         NONE,
152                         UNDEFINED,
153                         FRONT_COVER,
154                         BACK_COVER,
155                         LEAFLET_PAGE,
156                         MEDIUM,
157                         LEAD_ARTIST,
158                         ARTIST,
159                         CONDUCTOR,
160                         BAND_ORCHESTRA,
161                         COMPOSER,
162                         LYRICIST,
163                         RECORDING_LOCATION,
164                         DURING_RECORDING,
165                         DURING_PERFORMANCE,
166                         VIDEO_CAPTURE,
167                         FISH,
168                         ILLUSTRATION,
169                         BAND_ARTIST_LOGO,
170                         PUBLISHER_STUDIO_LOGO
171                 }
172                 [CCode (cheader_filename = "gst/tag/tag.h", cprefix = "GST_TAG_LICENSE_", type_id = "gst_tag_license_flags_get_type ()")]
173                 [Flags]
174                 [GIR (name = "TagLicenseFlags")]
175                 public enum LicenseFlags {
176                         PERMITS_REPRODUCTION,
177                         PERMITS_DISTRIBUTION,
178                         PERMITS_DERIVATIVE_WORKS,
179                         PERMITS_SHARING,
180                         REQUIRES_NOTICE,
181                         REQUIRES_ATTRIBUTION,
182                         REQUIRES_SHARE_ALIKE,
183                         REQUIRES_SOURCE_CODE,
184                         REQUIRES_COPYLEFT,
185                         REQUIRES_LESSER_COPYLEFT,
186                         PROHIBITS_COMMERCIAL_USE,
187                         PROHIBITS_HIGH_INCOME_NATION_USE,
188                         CREATIVE_COMMONS_LICENSE,
189                         FREE_SOFTWARE_FOUNDATION_LICENSE
190                 }
191                 [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_ID3V2_HEADER_SIZE")]
192                 public const int ID3V2_HEADER_SIZE;
193                 [CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_MUSICAL_KEY")]
194                 [Version (since = "1.2")]
195                 public const string MUSICAL_KEY;
196                 [CCode (cheader_filename = "gst/tag/tag.h")]
197                 public static bool check_language_code (string lang_code);
198                 [CCode (cheader_filename = "gst/tag/tag.h")]
199                 public static string freeform_string_to_utf8 ([CCode (array_length_cname = "size", array_length_pos = 1.5)] char[] data, [CCode (array_length = false, array_null_terminated = true)] string[] env_vars);
200                 [CCode (cheader_filename = "gst/tag/tag.h")]
201                 public static unowned string from_id3_tag (string id3_tag);
202                 [CCode (cheader_filename = "gst/tag/tag.h")]
203                 public static unowned string from_id3_user_tag (string type, string id3_user_tag);
204                 [CCode (cheader_filename = "gst/tag/tag.h")]
205                 public static unowned string from_vorbis_tag (string vorbis_tag);
206                 [CCode (cheader_filename = "gst/tag/tag.h")]
207                 public static uint get_id3v2_tag_size (Gst.Buffer buffer);
208                 [CCode (cheader_filename = "gst/tag/tag.h")]
209                 public static unowned string get_language_code_iso_639_1 (string lang_code);
210                 [CCode (cheader_filename = "gst/tag/tag.h")]
211                 public static unowned string get_language_code_iso_639_2B (string lang_code);
212                 [CCode (cheader_filename = "gst/tag/tag.h")]
213                 public static unowned string get_language_code_iso_639_2T (string lang_code);
214                 [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gst/tag/tag.h")]
215                 public static string[] get_language_codes ();
216                 [CCode (cheader_filename = "gst/tag/tag.h")]
217                 public static unowned string get_language_name (string language_code);
218                 [CCode (cheader_filename = "gst/tag/tag.h")]
219                 public static unowned string get_license_description (string license_ref);
220                 [CCode (cheader_filename = "gst/tag/tag.h")]
221                 public static Gst.Tag.LicenseFlags get_license_flags (string license_ref);
222                 [CCode (cheader_filename = "gst/tag/tag.h")]
223                 public static unowned string get_license_jurisdiction (string license_ref);
224                 [CCode (cheader_filename = "gst/tag/tag.h")]
225                 public static unowned string get_license_nick (string license_ref);
226                 [CCode (cheader_filename = "gst/tag/tag.h")]
227                 public static unowned string get_license_title (string license_ref);
228                 [CCode (cheader_filename = "gst/tag/tag.h")]
229                 public static unowned string get_license_version (string license_ref);
230                 [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gst/tag/tag.h")]
231                 public static string[] get_licenses ();
232                 [CCode (cheader_filename = "gst/tag/tag.h")]
233                 public static uint id3_genre_count ();
234                 [CCode (cheader_filename = "gst/tag/tag.h")]
235                 public static unowned string id3_genre_get (uint id);
236                 [CCode (cheader_filename = "gst/tag/tag.h")]
237                 public static Gst.Sample image_data_to_image_sample ([CCode (array_length_cname = "image_data_len", array_length_pos = 1.5, array_length_type = "guint")] uint8[] image_data, Gst.Tag.ImageType image_type);
238                 [CCode (cheader_filename = "gst/tag/tag.h")]
239                 public static bool parse_extended_comment (string ext_comment, out string? key, out string? lang, out string value, bool fail_if_no_key);
240                 [CCode (cheader_filename = "gst/tag/tag.h")]
241                 public static void register_musicbrainz_tags ();
242                 [CCode (cheader_filename = "gst/tag/tag.h")]
243                 public static unowned string to_id3_tag (string gst_tag);
244                 [CCode (cheader_filename = "gst/tag/tag.h")]
245                 public static GLib.List<string> to_vorbis_comments (Gst.TagList list, string tag);
246                 [CCode (cheader_filename = "gst/tag/tag.h")]
247                 public static unowned string to_vorbis_tag (string gst_tag);
248                 [CCode (cheader_filename = "gst/tag/tag.h", cname = "gst_vorbis_tag_add")]
249                 public static void vorbis_tag_add (Gst.TagList list, string tag, string value);
250                 [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gst/tag/tag.h")]
251                 public static unowned string[] xmp_list_schemas ();
252         }