Top | ![]() |
![]() |
![]() |
![]() |
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.
taglist |
The taglist |
|
byte_order |
byte order used in writing (G_LITTLE_ENDIAN or G_BIG_ENDIAN) |
|
base_offset |
Offset from the tiff header first byte |
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.
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
buffer |
The exif buffer |
|
byte_order |
byte order of the data |
|
base_offset |
Offset from the tiff header to this buffer |
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.
Since 0.10.30