3
* Copyright 2007 Edgard Lima <edgard.lima@indt.org.br>
5
* Permission is hereby granted, free of charge, to any person obtaining a
6
* copy of this software and associated documentation files (the "Software"),
7
* to deal in the Software without restriction, including without limitation
8
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
* and/or sell copies of the Software, and to permit persons to whom the
10
* Software is furnished to do so, subject to the following conditions:
12
* The above copyright notice and this permission notice shall be included in
13
* all copies or substantial portions of the Software.
15
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21
* DEALINGS IN THE SOFTWARE.
23
* Alternatively, the contents of this file may be used under the
24
* GNU Lesser General Public License Version 2.1 (the "LGPL"), in
25
* which case the following provisions apply instead of the ones
28
* This library is free software; you can redistribute it and/or
29
* modify it under the terms of the GNU Library General Public
30
* License as published by the Free Software Foundation; either
31
* version 2 of the License, or (at your option) any later version.
33
* This library is distributed in the hope that it will be useful,
34
* but WITHOUT ANY WARRANTY; without even the implied warranty of
35
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
36
* Library General Public License for more details.
38
* You should have received a copy of the GNU Library General Public
39
* License along with this library; if not, write to the
40
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
41
* Boston, MA 02111-1307, USA.
44
#ifndef __GST_METADATA_TAGS_H__
45
#define __GST_METADATA_TAGS_H__
52
#include <gst/base/gstadapter.h>
60
/* set bit to desired mapping */
62
METADATA_TAG_MAP_INDIVIDUALS = 1 << 0,
63
METADATA_TAG_MAP_WHOLECHUNK = 1 << 1
72
/* whole chunk tags */
74
#define GST_TAG_EXIF "exif"
76
#define GST_TAG_IPTC "iptc"
78
#define GST_TAG_XMP "xmp"
82
#define GST_TAG_CAPTURE_APERTURE "capture-aperture"
83
#define GST_TAG_CAPTURE_BRIGHTNESS "capture-brightness"
84
#define GST_TAG_CAPTURE_COLOR_SPACE "capture-color-space"
85
#define GST_TAG_CAPTURE_CONTRAST "capture-contrast"
86
#define GST_TAG_CAPTURE_CUSTOM_RENDERED "capture-custom-rendered"
87
#define GST_TAG_CAPTURE_DIGITAL_ZOOM "capture-digital-zoom"
88
#define GST_TAG_CAPTURE_EXPOSURE_MODE "capture-exposure-mode"
89
#define GST_TAG_CAPTURE_EXPOSURE_PROGRAM "capture-exposure-program"
90
#define GST_TAG_CAPTURE_EXPOSURE_TIME "capture-exposure-time"
91
#define GST_TAG_CAPTURE_FLASH "capture-flash"
92
#define GST_TAG_CAPTURE_FNUMBER "capture-fnumber"
93
#define GST_TAG_CAPTURE_FOCAL_LEN "capture-focal-len"
94
#define GST_TAG_CAPTURE_GAIN "capture-gain"
95
#define GST_TAG_CAPTURE_ISO_SPEED_RATINGS "capture-iso-speed-ratings"
96
#define GST_TAG_CAPTURE_LIGHT_SOURCE "capture-light-source"
97
#define GST_TAG_CAPTURE_ORIENTATION "capture-orientation"
98
#define GST_TAG_CAPTURE_SATURATION "capture-saturation"
99
#define GST_TAG_CAPTURE_SCENE_CAPTURE_TYPE "capture-scene-capture-type"
100
#define GST_TAG_CAPTURE_SHUTTER_SPEED "capture-shutter-speed"
101
#define GST_TAG_CAPTURE_WHITE_BALANCE "capture-white-balance"
103
#define GST_TAG_CREATOR_TOOL "creator-tool"
105
#define GST_TAG_DATE_TIME_DIGITIZED "date-time-digitized"
106
#define GST_TAG_DATE_TIME_MODIFIED "date-time-modified"
107
#define GST_TAG_DATE_TIME_ORIGINAL "date-time-original"
109
#define GST_TAG_DEVICE_MAKE "device-make"
110
#define GST_TAG_DEVICE_MODEL "device-model"
112
#define GST_TAG_EXIF_MAKER_NOTE "exif-maker-note"
114
#define GST_TAG_IMAGE_HEIGHT "image-height"
115
#define GST_TAG_IMAGE_WIDTH "image-width"
116
#define GST_TAG_IMAGE_XRESOLUTION "image-xresolution"
117
#define GST_TAG_IMAGE_YRESOLUTION "image-yresolution"
119
#define GST_TAG_GPS_AREA_INFORMATION ""
120
#define GST_TAG_GPS_DIFFERENTIAL ""
121
#define GST_TAG_GPS_DOP ""
122
#define GST_TAG_GPS_IMAGE_DIRECTION ""
123
#define GST_TAG_GPS_MEASURE_MODE ""
124
#define GST_TAG_GPS_PROCESSING_METHOD ""
125
#define GST_TAG_GPS_SATELLITES ""
126
#define GST_TAG_GPS_SPEED ""
127
#define GST_TAG_GPS_TRACK ""
132
* external function prototypes
136
metadata_tags_register (void);
139
#endif /* __GST_METADATA_TAGS_H__ */