diff options
author | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2010-06-15 18:26:01 -0300 |
---|---|---|
committer | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2010-06-23 11:57:20 -0300 |
commit | 7a34c1cd189ba27fd1ba56f180475c13fe080cc3 (patch) | |
tree | db5b7813ba876126c96a939269757c3baba5519e /gst/gsttaglist.h | |
parent | ddb11b4f2de471a7f02c707c49503cc9e3a8aed8 (diff) | |
download | gstreamer-7a34c1cd189ba27fd1ba56f180475c13fe080cc3.tar.gz |
tag: Adds GST_TAG_IMAGE_ORIENTATION tag
Adds a new tag to inform about the image orientation and how
to rotate and flip it before display.
Note that this tag is a string with a predefined set of
possible values.
API: GST_TAG_IMAGE_ORIENTATION
Fixes #619508
Diffstat (limited to 'gst/gsttaglist.h')
-rw-r--r-- | gst/gsttaglist.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gst/gsttaglist.h b/gst/gsttaglist.h index 52eb134e63..add6ea32ae 100644 --- a/gst/gsttaglist.h +++ b/gst/gsttaglist.h @@ -944,6 +944,32 @@ gboolean gst_tag_list_get_buffer_index (const GstTagList * list, * Since: 0.10.30 */ #define GST_TAG_DEVICE_MODEL "device-model" +/** + * GST_TAG_IMAGE_ORIENTATION: + * + * Represents the 'Orientation' tag from EXIF. Defines how the image + * should be rotated and mirrored for display. (string) + * + * This tag has a predefined set of allowed values: + * "rotate-0" + * "rotate-90" + * "rotate-180" + * "rotate-270" + * "flip-rotate-0" + * "flip-rotate-90" + * "flip-rotate-180" + * "flip-rotate-270" + * + * The naming is adopted according to a possible transformation to perform + * on the image to fix its orientation, obviously equivalent operations will + * yield the same result. + * + * Rotations indicated by the values are in clockwise direction and + * 'flip' means an horizontal mirroring. + * + * Since: 0.10.30 + */ +#define GST_TAG_IMAGE_ORIENTATION "image-orientation" G_END_DECLS |