GStreamer Base Plugins 0.10 Library Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <gst/tag/tag.h> GstBuffer * gst_tag_list_to_exif_buffer (const GstTagList *taglist
,gint byte_order
,guint32 base_offset
); GstBuffer * gst_tag_list_to_exif_buffer_with_tiff_header (const GstTagList *taglist
); GstTagList * gst_tag_list_from_exif_buffer (const GstBuffer *buffer
,gint byte_order
,guint32 base_offset
); GstTagList * gst_tag_list_from_exif_buffer_with_tiff_header (const GstBuffer *buffer
);
Contains utility function to parse GstTagLists from exif buffers and to create exif buffers from GstTagLists
Note that next IFD fields on the created exif buffers are set to 0.
GstBuffer * gst_tag_list_to_exif_buffer (const GstTagList *taglist
,gint byte_order
,guint32 base_offset
);
Formats the tags in taglist on exif format. The resulting buffer contains the tags IFD and is followed by the data pointed by the tag entries.
|
The taglist |
|
byte order used in writing (G_LITTLE_ENDIAN or G_BIG_ENDIAN) |
|
Offset from the tiff header first byte |
Returns : |
A GstBuffer containing the tag entries followed by the tag data |
Since 0.10.30
GstBuffer * gst_tag_list_to_exif_buffer_with_tiff_header
(const GstTagList *taglist
);
Formats the tags in taglist into exif structure, a tiff header is put in the beginning of the buffer.
|
The taglist |
Returns : |
A GstBuffer containing the data |
Since 0.10.30
GstTagList * gst_tag_list_from_exif_buffer (const GstBuffer *buffer
,gint byte_order
,guint32 base_offset
);
Parses the IFD and IFD tags data contained in the buffer and puts it on a taglist. The base_offset is used to subtract from the offset in the tag entries and be able to get the offset relative to the buffer start
|
The exif buffer |
|
byte order of the data |
|
Offset from the tiff header to this buffer |
Returns : |
The parsed taglist |
Since 0.10.30
GstTagList * gst_tag_list_from_exif_buffer_with_tiff_header
(const GstBuffer *buffer
);
Parses the exif tags starting with a tiff header structure.
|
The exif buffer |
Returns : |
The taglist |
Since 0.10.30