34
31
<p>gsttagexif — tag mappings and support functions for plugins
35
32
dealing with exif tags</p>
37
<td valign="top" align="right"></td>
34
<td class="gallery_image" valign="top" align="right"></td>
38
35
</tr></table></div>
39
<div class="refsynopsisdiv">
40
<a name="gst-plugins-base-libs-gsttagexif.synopsis"></a><h2>Synopsis</h2>
41
<pre class="synopsis">
42
#include <gst/tag/tag.h>
44
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="returnvalue">GstBuffer</span></a> * <a class="link" href="gst-plugins-base-libs-gsttagexif.html#gst-tag-list-to-exif-buffer" title="gst_tag_list_to_exif_buffer ()">gst_tag_list_to_exif_buffer</a> (<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a> *taglist</code></em>,
45
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> byte_order</code></em>,
46
<em class="parameter"><code><span class="type">guint32</span> base_offset</code></em>);
47
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="returnvalue">GstBuffer</span></a> * <a class="link" href="gst-plugins-base-libs-gsttagexif.html#gst-tag-list-to-exif-buffer-with-tiff-header" title="gst_tag_list_to_exif_buffer_with_tiff_header ()">gst_tag_list_to_exif_buffer_with_tiff_header</a>
48
(<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a> *taglist</code></em>);
49
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="returnvalue">GstTagList</span></a> * <a class="link" href="gst-plugins-base-libs-gsttagexif.html#gst-tag-list-from-exif-buffer" title="gst_tag_list_from_exif_buffer ()">gst_tag_list_from_exif_buffer</a> (<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> *buffer</code></em>,
50
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> byte_order</code></em>,
51
<em class="parameter"><code><span class="type">guint32</span> base_offset</code></em>);
52
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="returnvalue">GstTagList</span></a> * <a class="link" href="gst-plugins-base-libs-gsttagexif.html#gst-tag-list-from-exif-buffer-with-tiff-header" title="gst_tag_list_from_exif_buffer_with_tiff_header ()">gst_tag_list_from_exif_buffer_with_tiff_header</a>
53
(<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> *buffer</code></em>);
36
<div class="refsect1">
37
<a name="gst-plugins-base-libs-gsttagexif.functions"></a><h2>Functions</h2>
38
<div class="informaltable"><table width="100%" border="0">
40
<col width="150px" class="functions_return">
41
<col class="functions_name">
45
<td class="function_type">
46
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="returnvalue">GstBuffer</span></a> *
48
<td class="function_name">
49
<a class="link" href="gst-plugins-base-libs-gsttagexif.html#gst-tag-list-to-exif-buffer" title="gst_tag_list_to_exif_buffer ()">gst_tag_list_to_exif_buffer</a> <span class="c_punctuation">()</span>
53
<td class="function_type">
54
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="returnvalue">GstBuffer</span></a> *
56
<td class="function_name">
57
<a class="link" href="gst-plugins-base-libs-gsttagexif.html#gst-tag-list-to-exif-buffer-with-tiff-header" title="gst_tag_list_to_exif_buffer_with_tiff_header ()">gst_tag_list_to_exif_buffer_with_tiff_header</a> <span class="c_punctuation">()</span>
61
<td class="function_type">
62
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="returnvalue">GstTagList</span></a> *
64
<td class="function_name">
65
<a class="link" href="gst-plugins-base-libs-gsttagexif.html#gst-tag-list-from-exif-buffer" title="gst_tag_list_from_exif_buffer ()">gst_tag_list_from_exif_buffer</a> <span class="c_punctuation">()</span>
69
<td class="function_type">
70
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="returnvalue">GstTagList</span></a> *
72
<td class="function_name">
73
<a class="link" href="gst-plugins-base-libs-gsttagexif.html#gst-tag-list-from-exif-buffer-with-tiff-header" title="gst_tag_list_from_exif_buffer_with_tiff_header ()">gst_tag_list_from_exif_buffer_with_tiff_header</a> <span class="c_punctuation">()</span>
79
<div class="refsect1">
80
<a name="gst-plugins-base-libs-gsttagexif.object-hierarchy"></a><h2>Object Hierarchy</h2>
84
<div class="refsect1">
85
<a name="gst-plugins-base-libs-gsttagexif.includes"></a><h2>Includes</h2>
86
<pre class="synopsis">#include <gst/tag/tag.h>
56
89
<div class="refsect1">
57
90
<a name="gst-plugins-base-libs-gsttagexif.description"></a><h2>Description</h2>
59
Contains utility function to parse <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a>s from exif
60
buffers and to create exif buffers from <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a>s
63
Note that next IFD fields on the created exif buffers are set to 0.
91
<p>Contains utility function to parse <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a>s from exif
92
buffers and to create exif buffers from <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a>s</p>
93
<p>Note that next IFD fields on the created exif buffers are set to 0.</p>
66
95
<div class="refsect1">
67
<a name="gst-plugins-base-libs-gsttagexif.details"></a><h2>Details</h2>
68
<div class="refsect2">
69
<a name="gst-tag-list-to-exif-buffer"></a><h3>gst_tag_list_to_exif_buffer ()</h3>
70
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="returnvalue">GstBuffer</span></a> * gst_tag_list_to_exif_buffer (<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a> *taglist</code></em>,
71
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> byte_order</code></em>,
72
<em class="parameter"><code><span class="type">guint32</span> base_offset</code></em>);</pre>
74
Formats the tags in taglist on exif format. The resulting buffer contains
75
the tags IFD and is followed by the data pointed by the tag entries.
77
<div class="variablelist"><table border="0" class="variablelist">
79
<col align="left" valign="top">
84
<td><p><span class="term"><em class="parameter"><code>taglist</code></em> :</span></p></td>
88
<td><p><span class="term"><em class="parameter"><code>byte_order</code></em> :</span></p></td>
89
<td>byte order used in writing (G_LITTLE_ENDIAN or G_BIG_ENDIAN)</td>
92
<td><p><span class="term"><em class="parameter"><code>base_offset</code></em> :</span></p></td>
93
<td>Offset from the tiff header first byte</td>
96
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
97
<td>A GstBuffer containing the tag entries followed by the tag data</td>
103
<div class="refsect2">
104
<a name="gst-tag-list-to-exif-buffer-with-tiff-header"></a><h3>gst_tag_list_to_exif_buffer_with_tiff_header ()</h3>
105
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="returnvalue">GstBuffer</span></a> * gst_tag_list_to_exif_buffer_with_tiff_header
106
(<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a> *taglist</code></em>);</pre>
108
Formats the tags in taglist into exif structure, a tiff header
109
is put in the beginning of the buffer.
111
<div class="variablelist"><table border="0" class="variablelist">
113
<col align="left" valign="top">
118
<td><p><span class="term"><em class="parameter"><code>taglist</code></em> :</span></p></td>
122
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
123
<td>A GstBuffer containing the data</td>
129
<div class="refsect2">
130
<a name="gst-tag-list-from-exif-buffer"></a><h3>gst_tag_list_from_exif_buffer ()</h3>
131
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="returnvalue">GstTagList</span></a> * gst_tag_list_from_exif_buffer (<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> *buffer</code></em>,
132
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> byte_order</code></em>,
133
<em class="parameter"><code><span class="type">guint32</span> base_offset</code></em>);</pre>
135
Parses the IFD and IFD tags data contained in the buffer and puts it
96
<a name="gst-plugins-base-libs-gsttagexif.functions_details"></a><h2>Functions</h2>
97
<div class="refsect2">
98
<a name="gst-tag-list-to-exif-buffer"></a><h3>gst_tag_list_to_exif_buffer ()</h3>
99
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="returnvalue">GstBuffer</span></a> *
100
gst_tag_list_to_exif_buffer (<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a> *taglist</code></em>,
101
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> byte_order</code></em>,
102
<em class="parameter"><code><span class="type">guint32</span> base_offset</code></em>);</pre>
103
<p>Formats the tags in taglist on exif format. The resulting buffer contains
104
the tags IFD and is followed by the data pointed by the tag entries.</p>
105
<div class="refsect3">
106
<a name="id-1.2.12.6.7.2.5"></a><h4>Parameters</h4>
107
<div class="informaltable"><table width="100%" border="0">
109
<col width="150px" class="parameters_name">
110
<col class="parameters_description">
111
<col width="200px" class="parameters_annotations">
115
<td class="parameter_name"><p>taglist</p></td>
116
<td class="parameter_description"><p>The taglist</p></td>
117
<td class="parameter_annotations"> </td>
120
<td class="parameter_name"><p>byte_order</p></td>
121
<td class="parameter_description"><p>byte order used in writing (G_LITTLE_ENDIAN or G_BIG_ENDIAN)</p></td>
122
<td class="parameter_annotations"> </td>
125
<td class="parameter_name"><p>base_offset</p></td>
126
<td class="parameter_description"><p>Offset from the tiff header first byte</p></td>
127
<td class="parameter_annotations"> </td>
132
<div class="refsect3">
133
<a name="id-1.2.12.6.7.2.6"></a><h4>Returns</h4>
134
<p> A GstBuffer containing the tag entries followed by the tag data</p>
139
<div class="refsect2">
140
<a name="gst-tag-list-to-exif-buffer-with-tiff-header"></a><h3>gst_tag_list_to_exif_buffer_with_tiff_header ()</h3>
141
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="returnvalue">GstBuffer</span></a> *
142
gst_tag_list_to_exif_buffer_with_tiff_header
143
(<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a> *taglist</code></em>);</pre>
144
<p>Formats the tags in taglist into exif structure, a tiff header
145
is put in the beginning of the buffer.</p>
146
<div class="refsect3">
147
<a name="id-1.2.12.6.7.3.5"></a><h4>Parameters</h4>
148
<div class="informaltable"><table width="100%" border="0">
150
<col width="150px" class="parameters_name">
151
<col class="parameters_description">
152
<col width="200px" class="parameters_annotations">
155
<td class="parameter_name"><p>taglist</p></td>
156
<td class="parameter_description"><p>The taglist</p></td>
157
<td class="parameter_annotations"> </td>
161
<div class="refsect3">
162
<a name="id-1.2.12.6.7.3.6"></a><h4>Returns</h4>
163
<p> A GstBuffer containing the data</p>
168
<div class="refsect2">
169
<a name="gst-tag-list-from-exif-buffer"></a><h3>gst_tag_list_from_exif_buffer ()</h3>
170
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="returnvalue">GstTagList</span></a> *
171
gst_tag_list_from_exif_buffer (<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> *buffer</code></em>,
172
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> byte_order</code></em>,
173
<em class="parameter"><code><span class="type">guint32</span> base_offset</code></em>);</pre>
174
<p>Parses the IFD and IFD tags data contained in the buffer and puts it
136
175
on a taglist. The base_offset is used to subtract from the offset in
137
176
the tag entries and be able to get the offset relative to the buffer
140
<div class="variablelist"><table border="0" class="variablelist">
178
<div class="refsect3">
179
<a name="id-1.2.12.6.7.4.5"></a><h4>Parameters</h4>
180
<div class="informaltable"><table width="100%" border="0">
142
<col align="left" valign="top">
182
<col width="150px" class="parameters_name">
183
<col class="parameters_description">
184
<col width="200px" class="parameters_annotations">
147
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
148
<td>The exif buffer</td>
151
<td><p><span class="term"><em class="parameter"><code>byte_order</code></em> :</span></p></td>
152
<td>byte order of the data</td>
155
<td><p><span class="term"><em class="parameter"><code>base_offset</code></em> :</span></p></td>
156
<td>Offset from the tiff header to this buffer</td>
159
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
160
<td>The parsed taglist</td>
188
<td class="parameter_name"><p>buffer</p></td>
189
<td class="parameter_description"><p>The exif buffer</p></td>
190
<td class="parameter_annotations"> </td>
193
<td class="parameter_name"><p>byte_order</p></td>
194
<td class="parameter_description"><p>byte order of the data</p></td>
195
<td class="parameter_annotations"> </td>
198
<td class="parameter_name"><p>base_offset</p></td>
199
<td class="parameter_description"><p>Offset from the tiff header to this buffer</p></td>
200
<td class="parameter_annotations"> </td>
205
<div class="refsect3">
206
<a name="id-1.2.12.6.7.4.6"></a><h4>Returns</h4>
207
<p> The parsed taglist</p>
166
212
<div class="refsect2">
167
<a name="gst-tag-list-from-exif-buffer-with-tiff-header"></a><h3>gst_tag_list_from_exif_buffer_with_tiff_header ()</h3>
168
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="returnvalue">GstTagList</span></a> * gst_tag_list_from_exif_buffer_with_tiff_header
169
(<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> *buffer</code></em>);</pre>
171
Parses the exif tags starting with a tiff header structure.
173
<div class="variablelist"><table border="0" class="variablelist">
213
<a name="gst-tag-list-from-exif-buffer-with-tiff-header"></a><h3>gst_tag_list_from_exif_buffer_with_tiff_header ()</h3>
214
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="returnvalue">GstTagList</span></a> *
215
gst_tag_list_from_exif_buffer_with_tiff_header
216
(<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> *buffer</code></em>);</pre>
217
<p>Parses the exif tags starting with a tiff header structure.</p>
218
<div class="refsect3">
219
<a name="id-1.2.12.6.7.5.5"></a><h4>Parameters</h4>
220
<div class="informaltable"><table width="100%" border="0">
175
<col align="left" valign="top">
222
<col width="150px" class="parameters_name">
223
<col class="parameters_description">
224
<col width="200px" class="parameters_annotations">
180
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
181
<td>The exif buffer</td>
184
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
227
<td class="parameter_name"><p>buffer</p></td>
228
<td class="parameter_description"><p>The exif buffer</p></td>
229
<td class="parameter_annotations"> </td>
233
<div class="refsect3">
234
<a name="id-1.2.12.6.7.5.6"></a><h4>Returns</h4>
240
<div class="refsect1">
241
<a name="gst-plugins-base-libs-gsttagexif.other_details"></a><h2>Types and Values</h2>
191
243
<div class="refsect1">
192
244
<a name="gst-plugins-base-libs-gsttagexif.see-also"></a><h2>See Also</h2>
193
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a>
245
<p><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a></p>
196
248
<div class="footer">
198
Generated by GTK-Doc V1.19</div>
250
Generated by GTK-Doc V1.20</div>
b'\\ No newline at end of file'