GstExiftag
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.
Functions
gst_tag_list_from_exif_buffer
GstTagList * gst_tag_list_from_exif_buffer (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
Parameters:
buffer
–
The exif buffer
byte_order
–
byte order of the data
base_offset
–
Offset from the tiff header to this buffer
The parsed taglist
GstTag.prototype.tag_list_from_exif_buffer
function GstTag.prototype.tag_list_from_exif_buffer(buffer: Gst.Buffer, byte_order: Number, base_offset: Number): {
// javascript wrapper for 'gst_tag_list_from_exif_buffer'
}
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
Parameters:
The exif buffer
byte order of the data
Offset from the tiff header to this buffer
The parsed taglist
GstTag.tag_list_from_exif_buffer
def GstTag.tag_list_from_exif_buffer (buffer, byte_order, base_offset):
#python wrapper for 'gst_tag_list_from_exif_buffer'
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
Parameters:
The exif buffer
byte order of the data
Offset from the tiff header to this buffer
The parsed taglist
gst_tag_list_from_exif_buffer_with_tiff_header
GstTagList * gst_tag_list_from_exif_buffer_with_tiff_header (GstBuffer * buffer)
Parses the exif tags starting with a tiff header structure.
Parameters:
buffer
–
The exif buffer
The taglist
GstTag.prototype.tag_list_from_exif_buffer_with_tiff_header
function GstTag.prototype.tag_list_from_exif_buffer_with_tiff_header(buffer: Gst.Buffer): {
// javascript wrapper for 'gst_tag_list_from_exif_buffer_with_tiff_header'
}
Parses the exif tags starting with a tiff header structure.
Parameters:
The exif buffer
The taglist
GstTag.tag_list_from_exif_buffer_with_tiff_header
def GstTag.tag_list_from_exif_buffer_with_tiff_header (buffer):
#python wrapper for 'gst_tag_list_from_exif_buffer_with_tiff_header'
Parses the exif tags starting with a tiff header structure.
Parameters:
The exif buffer
The taglist
gst_tag_list_to_exif_buffer
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.
Parameters:
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
A GstBuffer containing the tag entries followed by the tag data
GstTag.prototype.tag_list_to_exif_buffer
function GstTag.prototype.tag_list_to_exif_buffer(taglist: Gst.TagList, byte_order: Number, base_offset: Number): {
// javascript wrapper for 'gst_tag_list_to_exif_buffer'
}
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.
Parameters:
The taglist
byte order used in writing (G_LITTLE_ENDIAN or G_BIG_ENDIAN)
Offset from the tiff header first byte
A GstBuffer containing the tag entries followed by the tag data
GstTag.tag_list_to_exif_buffer
def GstTag.tag_list_to_exif_buffer (taglist, byte_order, base_offset):
#python wrapper for 'gst_tag_list_to_exif_buffer'
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.
Parameters:
The taglist
byte order used in writing (G_LITTLE_ENDIAN or G_BIG_ENDIAN)
Offset from the tiff header first byte
A GstBuffer containing the tag entries followed by the tag data
gst_tag_list_to_exif_buffer_with_tiff_header
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.
Parameters:
taglist
–
The taglist
A GstBuffer containing the data
GstTag.prototype.tag_list_to_exif_buffer_with_tiff_header
function GstTag.prototype.tag_list_to_exif_buffer_with_tiff_header(taglist: Gst.TagList): {
// javascript wrapper for 'gst_tag_list_to_exif_buffer_with_tiff_header'
}
Formats the tags in taglist into exif structure, a tiff header is put in the beginning of the buffer.
Parameters:
The taglist
A GstBuffer containing the data
GstTag.tag_list_to_exif_buffer_with_tiff_header
def GstTag.tag_list_to_exif_buffer_with_tiff_header (taglist):
#python wrapper for 'gst_tag_list_to_exif_buffer_with_tiff_header'
Formats the tags in taglist into exif structure, a tiff header is put in the beginning of the buffer.
Parameters:
The taglist
A GstBuffer containing the data
The results of the search are