2 * Copyright (C) 2003 Benjamin Otte <in7y118@public.uni-hamburg.de>
4 * gsttaglist.h: Header for tag support
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
23 #ifndef __GST_TAGLIST_H__
24 #define __GST_TAGLIST_H__
26 #include <gst/gstdatetime.h>
27 #include <gst/gstbuffer.h>
28 #include <gst/glib-compat.h>
34 * @GST_TAG_MERGE_UNDEFINED: undefined merge mode
35 * @GST_TAG_MERGE_REPLACE_ALL: replace all tags (clear list and append)
36 * @GST_TAG_MERGE_REPLACE: replace tags
37 * @GST_TAG_MERGE_APPEND: append tags
38 * @GST_TAG_MERGE_PREPEND: prepend tags
39 * @GST_TAG_MERGE_KEEP: keep existing tags
40 * @GST_TAG_MERGE_KEEP_ALL: keep all existing tags
41 * @GST_TAG_MERGE_COUNT: the number of merge modes
43 * The different tag merging modes are basically replace, overwrite and append,
44 * but they can be seen from two directions. Given two taglists: (A) the tags
45 * already in the element and (B) the ones that are supplied to the element (
46 * e.g. via gst_tag_setter_merge_tags() / gst_tag_setter_add_tags() or a
47 * %GST_EVENT_TAG), how are these tags merged?
48 * In the table below this is shown for the cases that a tag exists in the list
49 * (A) or does not exists (!A) and combinations thereof.
51 * <table frame="all" colsep="1" rowsep="1">
52 * <title>merge mode</title>
53 * <tgroup cols='5' align='left'>
56 * <entry>merge mode</entry>
57 * <entry>A + B</entry>
58 * <entry>A + !B</entry>
59 * <entry>!A + B</entry>
60 * <entry>!A + !B</entry>
65 * <entry>REPLACE_ALL</entry>
72 * <entry>REPLACE</entry>
79 * <entry>APPEND</entry>
86 * <entry>PREPEND</entry>
100 * <entry>KEEP_ALL</entry>
111 GST_TAG_MERGE_UNDEFINED,
112 GST_TAG_MERGE_REPLACE_ALL,
113 GST_TAG_MERGE_REPLACE,
114 GST_TAG_MERGE_APPEND,
115 GST_TAG_MERGE_PREPEND,
117 GST_TAG_MERGE_KEEP_ALL,
122 #define GST_TAG_MODE_IS_VALID(mode) (((mode) > GST_TAG_MERGE_UNDEFINED) && ((mode) < GST_TAG_MERGE_COUNT))
126 * @GST_TAG_FLAG_UNDEFINED: undefined flag
127 * @GST_TAG_FLAG_META: tag is meta data
128 * @GST_TAG_FLAG_ENCODED: tag is encoded
129 * @GST_TAG_FLAG_DECODED: tag is decoded
130 * @GST_TAG_FLAG_COUNT: number of tag flags
132 * Extra tag flags used when registering tags.
135 GST_TAG_FLAG_UNDEFINED,
137 GST_TAG_FLAG_ENCODED,
138 GST_TAG_FLAG_DECODED,
142 #define GST_TAG_FLAG_IS_VALID(flag) (((flag) > GST_TAG_FLAG_UNDEFINED) && ((flag) < GST_TAG_FLAG_COUNT))
147 * Opaque #GstTagList data structure.
149 typedef struct _GstTagList GstTagList;
151 #define GST_TAG_LIST(x) ((GstTagList *) (x))
152 #define GST_IS_TAG_LIST(x) ((x) != NULL && gst_is_tag_list (GST_TAG_LIST (x)))
153 #define GST_TYPE_TAG_LIST (gst_tag_list_get_type ())
157 * @list: the #GstTagList
158 * @tag: a name of a tag in @list
159 * @user_data: user data
161 * A function that will be called in gst_tag_list_foreach(). The function may
162 * not modify the tag list.
164 typedef void (*GstTagForeachFunc) (const GstTagList * list,
170 * @dest: the destination #GValue
171 * @src: the source #GValue
173 * A function for merging multiple values of a tag used when registering
176 typedef void (* GstTagMergeFunc) (GValue *dest, const GValue *src);
178 GType gst_tag_list_get_type (void);
180 /* tag registration */
181 void gst_tag_register (const gchar * name,
186 GstTagMergeFunc func);
188 /* some default merging functions */
189 void gst_tag_merge_use_first (GValue * dest, const GValue * src);
190 void gst_tag_merge_strings_with_comma (GValue * dest, const GValue * src);
192 /* basic tag support */
193 gboolean gst_tag_exists (const gchar * tag);
194 GType gst_tag_get_type (const gchar * tag);
195 const gchar * gst_tag_get_nick (const gchar * tag);
196 const gchar * gst_tag_get_description (const gchar * tag);
197 GstTagFlag gst_tag_get_flag (const gchar * tag);
198 gboolean gst_tag_is_fixed (const gchar * tag);
201 GstTagList * gst_tag_list_new_empty (void);
202 GstTagList * gst_tag_list_new (const gchar * tag, ...);
203 GstTagList * gst_tag_list_new_valist (va_list var_args);
205 gchar * gst_tag_list_to_string (const GstTagList * list);
206 GstTagList * gst_tag_list_new_from_string (const gchar * str);
208 gboolean gst_is_tag_list (gconstpointer p);
209 GstTagList * gst_tag_list_copy (const GstTagList * list);
210 gboolean gst_tag_list_is_empty (const GstTagList * list);
211 gboolean gst_tag_list_is_equal (const GstTagList * list1,
212 const GstTagList * list2);
213 void gst_tag_list_insert (GstTagList * into,
214 const GstTagList * from,
215 GstTagMergeMode mode);
216 GstTagList * gst_tag_list_merge (const GstTagList * list1,
217 const GstTagList * list2,
218 GstTagMergeMode mode);
219 void gst_tag_list_free (GstTagList * list);
220 guint gst_tag_list_get_tag_size (const GstTagList * list,
222 void gst_tag_list_add (GstTagList * list,
223 GstTagMergeMode mode,
225 ...) G_GNUC_NULL_TERMINATED;
226 void gst_tag_list_add_values (GstTagList * list,
227 GstTagMergeMode mode,
229 ...) G_GNUC_NULL_TERMINATED;
230 void gst_tag_list_add_valist (GstTagList * list,
231 GstTagMergeMode mode,
234 void gst_tag_list_add_valist_values (GstTagList * list,
235 GstTagMergeMode mode,
238 void gst_tag_list_add_value (GstTagList * list,
239 GstTagMergeMode mode,
241 const GValue * value);
242 void gst_tag_list_remove_tag (GstTagList * list,
244 void gst_tag_list_foreach (const GstTagList * list,
245 GstTagForeachFunc func,
249 gst_tag_list_get_value_index (const GstTagList * list,
252 gboolean gst_tag_list_copy_value (GValue * dest,
253 const GstTagList * list,
256 /* simplifications (FIXME: do we want them?) */
257 gboolean gst_tag_list_get_char (const GstTagList * list,
260 gboolean gst_tag_list_get_char_index (const GstTagList * list,
264 gboolean gst_tag_list_get_uchar (const GstTagList * list,
267 gboolean gst_tag_list_get_uchar_index (const GstTagList * list,
271 gboolean gst_tag_list_get_boolean (const GstTagList * list,
274 gboolean gst_tag_list_get_boolean_index (const GstTagList * list,
278 gboolean gst_tag_list_get_int (const GstTagList * list,
281 gboolean gst_tag_list_get_int_index (const GstTagList * list,
285 gboolean gst_tag_list_get_uint (const GstTagList * list,
288 gboolean gst_tag_list_get_uint_index (const GstTagList * list,
292 gboolean gst_tag_list_get_long (const GstTagList * list,
295 gboolean gst_tag_list_get_long_index (const GstTagList * list,
299 gboolean gst_tag_list_get_ulong (const GstTagList * list,
302 gboolean gst_tag_list_get_ulong_index (const GstTagList * list,
306 gboolean gst_tag_list_get_int64 (const GstTagList * list,
309 gboolean gst_tag_list_get_int64_index (const GstTagList * list,
313 gboolean gst_tag_list_get_uint64 (const GstTagList * list,
316 gboolean gst_tag_list_get_uint64_index (const GstTagList * list,
320 gboolean gst_tag_list_get_float (const GstTagList * list,
323 gboolean gst_tag_list_get_float_index (const GstTagList * list,
327 gboolean gst_tag_list_get_double (const GstTagList * list,
330 gboolean gst_tag_list_get_double_index (const GstTagList * list,
334 gboolean gst_tag_list_get_string (const GstTagList * list,
337 gboolean gst_tag_list_get_string_index (const GstTagList * list,
341 gboolean gst_tag_list_peek_string_index (const GstTagList * list,
344 const gchar ** value);
345 gboolean gst_tag_list_get_pointer (const GstTagList * list,
348 gboolean gst_tag_list_get_pointer_index (const GstTagList * list,
352 gboolean gst_tag_list_get_date (const GstTagList * list,
355 gboolean gst_tag_list_get_date_index (const GstTagList * list,
359 gboolean gst_tag_list_get_date_time (const GstTagList * list,
361 GstDateTime ** value);
362 gboolean gst_tag_list_get_date_time_index (const GstTagList * list,
365 GstDateTime ** value);
366 gboolean gst_tag_list_get_buffer (const GstTagList * list,
369 gboolean gst_tag_list_get_buffer_index (const GstTagList * list,
374 /* GStreamer core tags */
378 * commonly used title (string)
380 * The title as it should be displayed, e.g. 'The Doll House'
382 #define GST_TAG_TITLE "title"
384 * GST_TAG_TITLE_SORTNAME:
386 * commonly used title, as used for sorting (string)
388 * The title as it should be sorted, e.g. 'Doll House, The'
392 #define GST_TAG_TITLE_SORTNAME "title-sortname"
396 * person(s) responsible for the recording (string)
398 * The artist name as it should be displayed, e.g. 'Jimi Hendrix' or
399 * 'The Guitar Heroes'
401 #define GST_TAG_ARTIST "artist"
403 * GST_TAG_ARTIST_SORTNAME:
405 * person(s) responsible for the recording, as used for sorting (string)
407 * The artist name as it should be sorted, e.g. 'Hendrix, Jimi' or
408 * 'Guitar Heroes, The'
412 #define GST_TAG_ARTIST_SORTNAME "artist-sortname"
416 * album containing this data (string)
418 * The album name as it should be displayed, e.g. 'The Jazz Guitar'
420 #define GST_TAG_ALBUM "album"
422 * GST_TAG_ALBUM_SORTNAME:
424 * album containing this data, as used for sorting (string)
426 * The album name as it should be sorted, e.g. 'Jazz Guitar, The'
430 #define GST_TAG_ALBUM_SORTNAME "album-sortname"
432 * GST_TAG_ALBUM_ARTIST:
434 * The artist of the entire album, as it should be displayed.
438 #define GST_TAG_ALBUM_ARTIST "album-artist"
440 * GST_TAG_ALBUM_ARTIST_SORTNAME:
442 * The artist of the entire album, as it should be sorted.
446 #define GST_TAG_ALBUM_ARTIST_SORTNAME "album-artist-sortname"
450 * person(s) who composed the recording (string)
454 #define GST_TAG_COMPOSER "composer"
458 * date the data was created (#GDate structure)
460 #define GST_TAG_DATE "date"
464 * date and time the data was created (#GstDateTime structure)
468 #define GST_TAG_DATE_TIME "datetime"
472 * genre this data belongs to (string)
474 #define GST_TAG_GENRE "genre"
478 * free text commenting the data (string)
480 #define GST_TAG_COMMENT "comment"
482 * GST_TAG_EXTENDED_COMMENT:
484 * key/value text commenting the data (string)
486 * Must be in the form of 'key=comment' or
487 * 'key[lc]=comment' where 'lc' is an ISO-639
490 * This tag is used for unknown Vorbis comment tags,
491 * unknown APE tags and certain ID3v2 comment fields.
495 #define GST_TAG_EXTENDED_COMMENT "extended-comment"
497 * GST_TAG_TRACK_NUMBER:
499 * track number inside a collection (unsigned integer)
501 #define GST_TAG_TRACK_NUMBER "track-number"
503 * GST_TAG_TRACK_COUNT:
505 * count of tracks inside collection this track belongs to (unsigned integer)
507 #define GST_TAG_TRACK_COUNT "track-count"
509 * GST_TAG_ALBUM_VOLUME_NUMBER:
511 * disc number inside a collection (unsigned integer)
513 #define GST_TAG_ALBUM_VOLUME_NUMBER "album-disc-number"
515 * GST_TAG_ALBUM_VOLUME_COUNT:
517 * count of discs inside collection this disc belongs to (unsigned integer)
519 #define GST_TAG_ALBUM_VOLUME_COUNT "album-disc-count"
523 * Origin of media as a URI (location, where the original of the file or stream
524 * is hosted) (string)
526 #define GST_TAG_LOCATION "location"
530 * Homepage for this media (i.e. artist or movie homepage) (string)
534 #define GST_TAG_HOMEPAGE "homepage"
536 * GST_TAG_DESCRIPTION:
538 * short text describing the content of the data (string)
540 #define GST_TAG_DESCRIPTION "description"
544 * version of this data (string)
546 #define GST_TAG_VERSION "version"
550 * International Standard Recording Code - see http://www.ifpi.org/isrc/ (string)
552 #define GST_TAG_ISRC "isrc"
554 * GST_TAG_ORGANIZATION:
556 * organization (string)
558 #define GST_TAG_ORGANIZATION "organization"
562 * copyright notice of the data (string)
564 #define GST_TAG_COPYRIGHT "copyright"
566 * GST_TAG_COPYRIGHT_URI:
568 * URI to location where copyright details can be found (string)
572 #define GST_TAG_COPYRIGHT_URI "copyright-uri"
574 * GST_TAG_ENCODED_BY:
576 * name of the person or organisation that encoded the file. May contain a
577 * copyright message if the person or organisation also holds the copyright
580 * Note: do not use this field to describe the encoding application. Use
581 * #GST_TAG_APPLICATION_NAME or #GST_TAG_COMMENT for that.
585 #define GST_TAG_ENCODED_BY "encoded-by"
589 * contact information (string)
591 #define GST_TAG_CONTACT "contact"
595 * license of data (string)
597 #define GST_TAG_LICENSE "license"
599 * GST_TAG_LICENSE_URI:
601 * URI to location where license details can be found (string)
605 #define GST_TAG_LICENSE_URI "license-uri"
609 * person(s) performing (string)
611 #define GST_TAG_PERFORMER "performer"
615 * length in GStreamer time units (nanoseconds) (unsigned 64-bit integer)
617 #define GST_TAG_DURATION "duration"
621 * codec the data is stored in (string)
623 #define GST_TAG_CODEC "codec"
625 * GST_TAG_VIDEO_CODEC:
627 * codec the video data is stored in (string)
629 #define GST_TAG_VIDEO_CODEC "video-codec"
631 * GST_TAG_AUDIO_CODEC:
633 * codec the audio data is stored in (string)
635 #define GST_TAG_AUDIO_CODEC "audio-codec"
637 * GST_TAG_SUBTITLE_CODEC:
639 * codec/format the subtitle data is stored in (string)
643 #define GST_TAG_SUBTITLE_CODEC "subtitle-codec"
645 * GST_TAG_CONTAINER_FORMAT:
647 * container format the data is stored in (string)
651 #define GST_TAG_CONTAINER_FORMAT "container-format"
655 * exact or average bitrate in bits/s (unsigned integer)
657 #define GST_TAG_BITRATE "bitrate"
659 * GST_TAG_NOMINAL_BITRATE:
661 * nominal bitrate in bits/s (unsigned integer). The actual bitrate might be
662 * different from this target bitrate.
664 #define GST_TAG_NOMINAL_BITRATE "nominal-bitrate"
666 * GST_TAG_MINIMUM_BITRATE:
668 * minimum bitrate in bits/s (unsigned integer)
670 #define GST_TAG_MINIMUM_BITRATE "minimum-bitrate"
672 * GST_TAG_MAXIMUM_BITRATE:
674 * maximum bitrate in bits/s (unsigned integer)
676 #define GST_TAG_MAXIMUM_BITRATE "maximum-bitrate"
680 * serial number of track (unsigned integer)
682 #define GST_TAG_SERIAL "serial"
686 * encoder used to encode this stream (string)
688 #define GST_TAG_ENCODER "encoder"
690 * GST_TAG_ENCODER_VERSION:
692 * version of the encoder used to encode this stream (unsigned integer)
694 #define GST_TAG_ENCODER_VERSION "encoder-version"
696 * GST_TAG_TRACK_GAIN:
698 * track gain in db (double)
700 #define GST_TAG_TRACK_GAIN "replaygain-track-gain"
702 * GST_TAG_TRACK_PEAK:
704 * peak of the track (double)
706 #define GST_TAG_TRACK_PEAK "replaygain-track-peak"
708 * GST_TAG_ALBUM_GAIN:
710 * album gain in db (double)
712 #define GST_TAG_ALBUM_GAIN "replaygain-album-gain"
714 * GST_TAG_ALBUM_PEAK:
716 * peak of the album (double)
718 #define GST_TAG_ALBUM_PEAK "replaygain-album-peak"
720 * GST_TAG_REFERENCE_LEVEL:
722 * reference level of track and album gain values (double)
726 #define GST_TAG_REFERENCE_LEVEL "replaygain-reference-level"
728 * GST_TAG_LANGUAGE_CODE:
730 * Language code (ISO-639-1) (string) of the content
732 #define GST_TAG_LANGUAGE_CODE "language-code"
736 * image (buffer) (buffer caps should specify the content type and preferably
737 * also set "image-type" field as #GstTagImageType)
741 #define GST_TAG_IMAGE "image"
743 * GST_TAG_PREVIEW_IMAGE:
745 * image that is meant for preview purposes, e.g. small icon-sized version
746 * (buffer) (buffer caps should specify the content type)
750 #define GST_TAG_PREVIEW_IMAGE "preview-image"
753 * GST_TAG_ATTACHMENT:
755 * generic file attachment (buffer) (buffer caps should specify the content
756 * type and if possible set "filename" to the file name of the
761 #define GST_TAG_ATTACHMENT "attachment"
764 * GST_TAG_BEATS_PER_MINUTE:
766 * number of beats per minute in audio (double)
770 #define GST_TAG_BEATS_PER_MINUTE "beats-per-minute"
775 * comma separated keywords describing the content (string).
779 #define GST_TAG_KEYWORDS "keywords"
782 * GST_TAG_GEO_LOCATION_NAME:
784 * human readable descriptive location of where the media has been recorded or
785 * produced. (string).
789 #define GST_TAG_GEO_LOCATION_NAME "geo-location-name"
792 * GST_TAG_GEO_LOCATION_LATITUDE:
794 * geo latitude location of where the media has been recorded or produced in
795 * degrees according to WGS84 (zero at the equator, negative values for southern
796 * latitudes) (double).
800 #define GST_TAG_GEO_LOCATION_LATITUDE "geo-location-latitude"
803 * GST_TAG_GEO_LOCATION_LONGITUDE:
805 * geo longitude location of where the media has been recorded or produced in
806 * degrees according to WGS84 (zero at the prime meridian in Greenwich/UK,
807 * negative values for western longitudes). (double).
811 #define GST_TAG_GEO_LOCATION_LONGITUDE "geo-location-longitude"
814 * GST_TAG_GEO_LOCATION_ELEVATION:
816 * geo elevation of where the media has been recorded or produced in meters
817 * according to WGS84 (zero is average sea level) (double).
821 #define GST_TAG_GEO_LOCATION_ELEVATION "geo-location-elevation"
823 * GST_TAG_GEO_LOCATION_COUNTRY:
825 * The country (english name) where the media has been produced (string).
829 #define GST_TAG_GEO_LOCATION_COUNTRY "geo-location-country"
831 * GST_TAG_GEO_LOCATION_CITY:
833 * The city (english name) where the media has been produced (string).
837 #define GST_TAG_GEO_LOCATION_CITY "geo-location-city"
839 * GST_TAG_GEO_LOCATION_SUBLOCATION:
841 * A location 'smaller' than GST_TAG_GEO_LOCATION_CITY that specifies better
842 * where the media has been produced. (e.g. the neighborhood) (string).
844 * This tag has been added as this is how it is handled/named in XMP's
845 * Iptc4xmpcore schema.
849 #define GST_TAG_GEO_LOCATION_SUBLOCATION "geo-location-sublocation"
851 * GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR:
853 * Represents the expected error on the horizontal positioning in
858 #define GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR "geo-location-horizontal-error"
860 * GST_TAG_GEO_LOCATION_MOVEMENT_SPEED:
862 * Speed of the capturing device when performing the capture.
863 * Represented in m/s. (double)
865 * See also #GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
869 #define GST_TAG_GEO_LOCATION_MOVEMENT_SPEED "geo-location-movement-speed"
871 * GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION:
873 * Indicates the movement direction of the device performing the capture
874 * of a media. It is represented as degrees in floating point representation,
875 * 0 means the geographic north, and increases clockwise (double from 0 to 360)
877 * See also #GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION
881 #define GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION "geo-location-movement-direction"
883 * GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION:
885 * Indicates the direction the device is pointing to when capturing
886 * a media. It is represented as degrees in floating point representation,
887 * 0 means the geographic north, and increases clockwise (double from 0 to 360)
889 * See also #GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
893 #define GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION "geo-location-capture-direction"
897 * Name of the show, used for displaying (string)
901 #define GST_TAG_SHOW_NAME "show-name"
903 * GST_TAG_SHOW_SORTNAME:
905 * Name of the show, used for sorting (string)
909 #define GST_TAG_SHOW_SORTNAME "show-sortname"
911 * GST_TAG_SHOW_EPISODE_NUMBER:
913 * Number of the episode within a season/show (unsigned integer)
917 #define GST_TAG_SHOW_EPISODE_NUMBER "show-episode-number"
919 * GST_TAG_SHOW_SEASON_NUMBER:
921 * Number of the season of a show/series (unsigned integer)
925 #define GST_TAG_SHOW_SEASON_NUMBER "show-season-number"
929 * The lyrics of the media (string)
933 #define GST_TAG_LYRICS "lyrics"
935 * GST_TAG_COMPOSER_SORTNAME:
937 * The composer's name, used for sorting (string)
941 #define GST_TAG_COMPOSER_SORTNAME "composer-sortname"
945 * Groups together media that are related and spans multiple tracks. An
946 * example are multiple pieces of a concerto. (string)
950 #define GST_TAG_GROUPING "grouping"
952 * GST_TAG_USER_RATING:
954 * Rating attributed by a person (likely the application user).
955 * The higher the value, the more the user likes this media
956 * (unsigned int from 0 to 100)
960 #define GST_TAG_USER_RATING "user-rating"
962 * GST_TAG_DEVICE_MANUFACTURER:
964 * Manufacturer of the device used to create the media (string)
968 #define GST_TAG_DEVICE_MANUFACTURER "device-manufacturer"
970 * GST_TAG_DEVICE_MODEL:
972 * Model of the device used to create the media (string)
976 #define GST_TAG_DEVICE_MODEL "device-model"
978 * GST_TAG_APPLICATION_NAME:
980 * Name of the application used to create the media (string)
984 #define GST_TAG_APPLICATION_NAME "application-name"
986 * GST_TAG_APPLICATION_DATA:
988 * Arbitrary application data (buffer)
990 * Some formats allow application's to add their own arbitrary data
991 * into files. This data is application's dependent.
995 #define GST_TAG_APPLICATION_DATA "application-data"
997 * GST_TAG_IMAGE_ORIENTATION:
999 * Represents the 'Orientation' tag from EXIF. Defines how the image
1000 * should be rotated and mirrored for display. (string)
1002 * This tag has a predefined set of allowed values:
1012 * The naming is adopted according to a possible transformation to perform
1013 * on the image to fix its orientation, obviously equivalent operations will
1014 * yield the same result.
1016 * Rotations indicated by the values are in clockwise direction and
1017 * 'flip' means an horizontal mirroring.
1021 #define GST_TAG_IMAGE_ORIENTATION "image-orientation"
1025 #endif /* __GST_TAGLIST_H__ */