~oah-dev/oah/gst-plugins-bad

« back to all changes in this revision

Viewing changes to ext/metadata/metadatatags.h

  • Committer: Haakon Sporsheim
  • Date: 2009-03-12 13:52:03 UTC
  • Revision ID: haakon.sporsheim@tandberg.com-20090312135203-i5k294hgkushb0mt
Initial import of git repository: git://anongit.freedesktop.org/gstreamer/gst-plugins-bad (tag: RELEASE-0_10_10)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * GStreamer
 
3
 * Copyright 2007 Edgard Lima <edgard.lima@indt.org.br>
 
4
 * 
 
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:
 
11
 *
 
12
 * The above copyright notice and this permission notice shall be included in
 
13
 * all copies or substantial portions of the Software.
 
14
 *
 
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.
 
22
 *
 
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
 
26
 * mentioned above:
 
27
 *
 
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.
 
32
 *
 
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.
 
37
 *
 
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.
 
42
 */
 
43
 
 
44
#ifndef __GST_METADATA_TAGS_H__
 
45
#define __GST_METADATA_TAGS_H__
 
46
 
 
47
/*
 
48
 * includes
 
49
 */
 
50
 
 
51
#include <gst/gst.h>
 
52
#include <gst/base/gstadapter.h>
 
53
 
 
54
G_BEGIN_DECLS
 
55
 
 
56
/*
 
57
 * enum and types
 
58
 */
 
59
 
 
60
/* set bit to desired mapping */
 
61
typedef enum {
 
62
  METADATA_TAG_MAP_INDIVIDUALS = 1 << 0,
 
63
  METADATA_TAG_MAP_WHOLECHUNK =  1 << 1
 
64
} MetadataTagMapping;
 
65
 
 
66
/*
 
67
 * defines
 
68
 */
 
69
 
 
70
/* *INDENT-OFF* */
 
71
 
 
72
/* whole chunk tags */
 
73
 
 
74
#define GST_TAG_EXIF                       "exif"
 
75
 
 
76
#define GST_TAG_IPTC                       "iptc"
 
77
 
 
78
#define GST_TAG_XMP                        "xmp"
 
79
 
 
80
/* individual tags */
 
81
 
 
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"
 
102
 
 
103
#define GST_TAG_CREATOR_TOOL               "creator-tool"
 
104
 
 
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"
 
108
 
 
109
#define GST_TAG_DEVICE_MAKE                "device-make"
 
110
#define GST_TAG_DEVICE_MODEL               "device-model"
 
111
 
 
112
#define GST_TAG_EXIF_MAKER_NOTE            "exif-maker-note"
 
113
 
 
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"
 
118
 
 
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                  ""
 
128
 
 
129
/* *INDENT-ON* */
 
130
 
 
131
/*
 
132
 * external function prototypes
 
133
 */
 
134
 
 
135
extern void
 
136
metadata_tags_register (void);
 
137
 
 
138
G_END_DECLS
 
139
#endif /* __GST_METADATA_TAGS_H__ */