summaryrefslogtreecommitdiff
path: root/gst-libs/gst/tag/tag.h
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-10-08 15:51:28 -0300
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-10-16 00:42:09 +0100
commitb49f83d73838e2de05f0057ecb2335ad9393f9c5 (patch)
tree45e0585e043e7f5531b0e8bf9cab3ce21ebdbee7 /gst-libs/gst/tag/tag.h
parentf67e7aacf33c6f0b3dc689ef585285cb5ad48c7a (diff)
tag: Adds GST_TAG_CAPTURING_METERING_MODE
Adds a tag to inform what mode was used by a camera to calculate the picture capturing exposure Also adds mapping to exif and tests API: GST_TAG_CAPTURING_METERING_MODE https://bugzilla.gnome.org/show_bug.cgi?id=631773
Diffstat (limited to 'gst-libs/gst/tag/tag.h')
-rw-r--r--gst-libs/gst/tag/tag.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gst-libs/gst/tag/tag.h b/gst-libs/gst/tag/tag.h
index 35b10c1bb..bc4505806 100644
--- a/gst-libs/gst/tag/tag.h
+++ b/gst-libs/gst/tag/tag.h
@@ -321,6 +321,25 @@ G_BEGIN_DECLS
#define GST_TAG_CAPTURING_FLASH_MODE "capturing-flash-mode"
/**
+ * GST_TAG_CAPTURING_METERING_MODE:
+ *
+ * Defines the way a camera determines the exposure. (string)
+ *
+ * The allowed values are:
+ * "unknown"
+ * "average"
+ * "center-weighted-average"
+ * "spot"
+ * "multi-spot"
+ * "pattern"
+ * "partial"
+ * "other"
+ *
+ * Since: 0.10.31
+ */
+#define GST_TAG_CAPTURING_METERING_MODE "capturing-metering-mode"
+
+/**
* GST_TAG_IMAGE_HORIZONTAL_PPI:
*
* Media (image/video) intended horizontal pixel density in ppi. (double)