1 /* gstreamer-tag-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstTag", gir_version = "0.10", lower_case_cprefix = "gst_")]
4 [Version (deprecated = true, replacement = "gstreamer-1.0")]
6 [CCode (cheader_filename = "gst/tag/gsttagdemux.h")]
7 public class TagDemux : Gst.Element {
9 [CCode (has_construct_function = false)]
10 protected TagDemux ();
12 public virtual bool identify_tag (Gst.Buffer buffer, bool start_tag, out uint tag_size);
14 public virtual unowned Gst.TagList merge_tags (Gst.TagList start_tags, Gst.TagList end_tags);
16 public virtual Gst.TagDemuxResult parse_tag (Gst.Buffer buffer, bool start_tag, out uint tag_size, out Gst.TagList tags);
18 [CCode (cheader_filename = "gst/tag/tag.h")]
19 public interface TagXmpWriter : Gst.Element {
20 public void add_all_schemas ();
21 public void add_schema (string schema);
22 public bool has_schema (string schema);
23 public void remove_all_schemas ();
24 public void remove_schema (string schema);
25 public unowned Gst.Buffer tag_list_to_xmp_buffer (Gst.TagList taglist, bool read_only);
27 [CCode (cheader_filename = "gst/tag/gsttagdemux.h", cprefix = "GST_TAG_DEMUX_RESULT_")]
28 public enum TagDemuxResult {
33 [CCode (cheader_filename = "gst/tag/tag.h", cprefix = "GST_TAG_IMAGE_TYPE_")]
34 public enum TagImageType {
56 [CCode (cheader_filename = "gst/tag/tag.h")]
57 public const string TAG_CAPTURING_CONTRAST;
58 [CCode (cheader_filename = "gst/tag/tag.h")]
59 public const string TAG_CAPTURING_DIGITAL_ZOOM_RATIO;
60 [CCode (cheader_filename = "gst/tag/tag.h")]
61 public const string TAG_CAPTURING_EXPOSURE_COMPENSATION;
62 [CCode (cheader_filename = "gst/tag/tag.h")]
63 public const string TAG_CAPTURING_EXPOSURE_MODE;
64 [CCode (cheader_filename = "gst/tag/tag.h")]
65 public const string TAG_CAPTURING_EXPOSURE_PROGRAM;
66 [CCode (cheader_filename = "gst/tag/tag.h")]
67 public const string TAG_CAPTURING_FLASH_FIRED;
68 [CCode (cheader_filename = "gst/tag/tag.h")]
69 public const string TAG_CAPTURING_FLASH_MODE;
70 [CCode (cheader_filename = "gst/tag/tag.h")]
71 public const string TAG_CAPTURING_FOCAL_LENGTH;
72 [CCode (cheader_filename = "gst/tag/tag.h")]
73 public const string TAG_CAPTURING_FOCAL_RATIO;
74 [CCode (cheader_filename = "gst/tag/tag.h")]
75 public const string TAG_CAPTURING_GAIN_ADJUSTMENT;
76 [CCode (cheader_filename = "gst/tag/tag.h")]
77 public const string TAG_CAPTURING_ISO_SPEED;
78 [CCode (cheader_filename = "gst/tag/tag.h")]
79 public const string TAG_CAPTURING_METERING_MODE;
80 [CCode (cheader_filename = "gst/tag/tag.h")]
81 public const string TAG_CAPTURING_SATURATION;
82 [CCode (cheader_filename = "gst/tag/tag.h")]
83 public const string TAG_CAPTURING_SCENE_CAPTURE_TYPE;
84 [CCode (cheader_filename = "gst/tag/tag.h")]
85 public const string TAG_CAPTURING_SHARPNESS;
86 [CCode (cheader_filename = "gst/tag/tag.h")]
87 public const string TAG_CAPTURING_SHUTTER_SPEED;
88 [CCode (cheader_filename = "gst/tag/tag.h")]
89 public const string TAG_CAPTURING_SOURCE;
90 [CCode (cheader_filename = "gst/tag/tag.h")]
91 public const string TAG_CAPTURING_WHITE_BALANCE;
92 [CCode (cheader_filename = "gst/tag/tag.h")]
93 public const string TAG_CDDA_CDDB_DISCID;
94 [CCode (cheader_filename = "gst/tag/tag.h")]
95 public const string TAG_CDDA_CDDB_DISCID_FULL;
96 [CCode (cheader_filename = "gst/tag/tag.h")]
97 public const string TAG_CDDA_MUSICBRAINZ_DISCID;
98 [CCode (cheader_filename = "gst/tag/tag.h")]
99 public const string TAG_CDDA_MUSICBRAINZ_DISCID_FULL;
100 [CCode (cheader_filename = "gst/tag/tag.h")]
101 public const string TAG_CMML_CLIP;
102 [CCode (cheader_filename = "gst/tag/tag.h")]
103 public const string TAG_CMML_HEAD;
104 [CCode (cheader_filename = "gst/tag/tag.h")]
105 public const string TAG_CMML_STREAM;
106 [CCode (cheader_filename = "gst/tag/tag.h")]
107 public const string TAG_IMAGE_HORIZONTAL_PPI;
108 [CCode (cheader_filename = "gst/tag/tag.h")]
109 public const string TAG_IMAGE_VERTICAL_PPI;
110 [CCode (cheader_filename = "gst/tag/tag.h")]
111 public const string TAG_MUSICBRAINZ_ALBUMARTISTID;
112 [CCode (cheader_filename = "gst/tag/tag.h")]
113 public const string TAG_MUSICBRAINZ_ALBUMID;
114 [CCode (cheader_filename = "gst/tag/tag.h")]
115 public const string TAG_MUSICBRAINZ_ARTISTID;
116 [CCode (cheader_filename = "gst/tag/tag.h")]
117 public const string TAG_MUSICBRAINZ_TRACKID;
118 [CCode (cheader_filename = "gst/tag/tag.h")]
119 public const string TAG_MUSICBRAINZ_TRMID;
120 [CCode (cheader_filename = "gst/tag/tag.h")]
121 public static string tag_freeform_string_to_utf8 (string data, int size, string env_vars);
122 [CCode (cheader_filename = "gst/tag/tag.h")]
123 public static unowned string tag_from_id3_tag (string id3_tag);
124 [CCode (cheader_filename = "gst/tag/tag.h")]
125 public static unowned string tag_from_id3_user_tag (string type, string id3_user_tag);
126 [CCode (cheader_filename = "gst/tag/tag.h")]
127 public static unowned string tag_from_vorbis_tag (string vorbis_tag);
128 [CCode (cheader_filename = "gst/tag/tag.h")]
129 public static unowned string tag_get_language_code_iso_639_1 (string lang_code);
130 [CCode (cheader_filename = "gst/tag/tag.h")]
131 public static unowned string tag_get_language_code_iso_639_2B (string lang_code);
132 [CCode (cheader_filename = "gst/tag/tag.h")]
133 public static unowned string tag_get_language_code_iso_639_2T (string lang_code);
134 [CCode (cheader_filename = "gst/tag/tag.h")]
135 public static unowned string tag_get_language_codes ();
136 [CCode (cheader_filename = "gst/tag/tag.h")]
137 public static unowned string tag_get_language_name (string language_code);
138 [CCode (cheader_filename = "gst/tag/tag.h")]
139 public static uint tag_id3_genre_count ();
140 [CCode (cheader_filename = "gst/tag/tag.h")]
141 public static unowned string tag_id3_genre_get (uint id);
142 [CCode (cheader_filename = "gst/tag/tag.h")]
143 public static Gst.Buffer tag_image_data_to_image_buffer (uchar image_data, uint image_data_len, Gst.TagImageType image_type);
144 [CCode (cheader_filename = "gst/tag/tag.h")]
145 public static bool tag_list_add_id3_image (Gst.TagList tag_list, uchar image_data, uint image_data_len, uint id3_picture_type);
146 [CCode (cheader_filename = "gst/tag/tag.h")]
147 public static unowned Gst.TagList tag_list_from_exif_buffer (Gst.Buffer buffer, int byte_order, uint32 base_offset);
148 [CCode (cheader_filename = "gst/tag/tag.h")]
149 public static unowned Gst.TagList tag_list_from_exif_buffer_with_tiff_header (Gst.Buffer buffer);
150 [CCode (cheader_filename = "gst/tag/tag.h")]
151 public static Gst.TagList tag_list_from_vorbiscomment_buffer (Gst.Buffer buffer, uchar id_data, uint id_data_length, out string vendor_string);
152 [CCode (cheader_filename = "gst/tag/tag.h")]
153 public static unowned Gst.TagList tag_list_from_xmp_buffer (Gst.Buffer buffer);
154 [CCode (cheader_filename = "gst/tag/tag.h")]
155 public static Gst.TagList tag_list_new_from_id3v1 (uchar data);
156 [CCode (cheader_filename = "gst/tag/tag.h")]
157 public static unowned Gst.Buffer tag_list_to_exif_buffer (Gst.TagList taglist, int byte_order, uint32 base_offset);
158 [CCode (cheader_filename = "gst/tag/tag.h")]
159 public static unowned Gst.Buffer tag_list_to_exif_buffer_with_tiff_header (Gst.TagList taglist);
160 [CCode (cheader_filename = "gst/tag/tag.h")]
161 public static Gst.Buffer tag_list_to_vorbiscomment_buffer (Gst.TagList list, uchar id_data, uint id_data_length, string vendor_string);
162 [CCode (cheader_filename = "gst/tag/tag.h")]
163 public static unowned Gst.Buffer tag_list_to_xmp_buffer (Gst.TagList list, bool read_only);
164 [CCode (cheader_filename = "gst/tag/tag.h")]
165 public static unowned Gst.Buffer tag_list_to_xmp_buffer_full (Gst.TagList list, bool read_only, string schemas);
166 [CCode (cheader_filename = "gst/tag/tag.h")]
167 public static bool tag_parse_extended_comment (string ext_comment, out string key, out string lang, out string value, bool fail_if_no_key);
168 [CCode (cheader_filename = "gst/tag/tag.h")]
169 public static void tag_register_musicbrainz_tags ();
170 [CCode (cheader_filename = "gst/tag/tag.h")]
171 public static unowned string tag_to_id3_tag (string gst_tag);
172 [CCode (cheader_filename = "gst/tag/tag.h")]
173 public static GLib.List<string> tag_to_vorbis_comments (Gst.TagList list, string tag);
174 [CCode (cheader_filename = "gst/tag/tag.h")]
175 public static unowned string tag_to_vorbis_tag (string gst_tag);
176 [CCode (cheader_filename = "gst/tag/tag.h")]
177 public static unowned string tag_xmp_list_schemas ();
178 [CCode (cheader_filename = "gst/tag/tag.h")]
179 public static void vorbis_tag_add (Gst.TagList list, string tag, string value);