#include <libexif/exif-byte-order.h>
#include <libexif/exif-data-type.h>
#include <libexif/exif-ifd.h>
#include <libexif/exif-log.h>
#include <libexif/exif-tag.h>
#include <libexif/exif-content.h>
#include <libexif/exif-mnote-data.h>
#include <libexif/exif-mem.h>
Include dependency graph for exif-data.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Definition in file exif-data.h.
#define exif_data_get_entry | ( | d, | |||
t | ) |
Value:
(exif_content_get_entry(d->ifd[EXIF_IFD_0],t) ? \ exif_content_get_entry(d->ifd[EXIF_IFD_0],t) : \ exif_content_get_entry(d->ifd[EXIF_IFD_1],t) ? \ exif_content_get_entry(d->ifd[EXIF_IFD_1],t) : \ exif_content_get_entry(d->ifd[EXIF_IFD_EXIF],t) ? \ exif_content_get_entry(d->ifd[EXIF_IFD_EXIF],t) : \ exif_content_get_entry(d->ifd[EXIF_IFD_GPS],t) ? \ exif_content_get_entry(d->ifd[EXIF_IFD_GPS],t) : \ exif_content_get_entry(d->ifd[EXIF_IFD_INTEROPERABILITY],t) ? \ exif_content_get_entry(d->ifd[EXIF_IFD_INTEROPERABILITY],t) : NULL)
Definition at line 103 of file exif-data.h.
Referenced by exif_data_get_type_maker_note().
Definition at line 36 of file exif-data.h.
typedef void(* ) ExifDataForeachContentFunc(ExifContent *, void *user_data) |
Definition at line 80 of file exif-data.h.
typedef struct _ExifDataPrivate ExifDataPrivate |
Definition at line 37 of file exif-data.h.
enum ExifDataOption |
Definition at line 85 of file exif-data.h.
void exif_data_dump | ( | ExifData * | data | ) |
Definition at line 986 of file exif-data.c.
References _ExifContent::count, exif_content_dump(), EXIF_IFD_COUNT, exif_ifd_get_name(), and _ExifData::ifd.
void exif_data_fix | ( | ExifData * | ) |
Definition at line 1171 of file exif-data.c.
References exif_data_foreach_content(), and fix_func().
Referenced by exif_data_load_data().
void exif_data_foreach_content | ( | ExifData * | data, | |
ExifDataForeachContentFunc | func, | |||
void * | user_data | |||
) |
Definition at line 1022 of file exif-data.c.
References EXIF_IFD_COUNT, and _ExifData::ifd.
Referenced by exif_data_fix(), and exif_data_set_byte_order().
void exif_data_free | ( | ExifData * | data | ) |
Definition at line 949 of file exif-data.c.
References exif_content_unref(), EXIF_IFD_COUNT, _ExifData::ifd, _ExifDataPrivate::mem, and _ExifData::priv.
Referenced by exif_data_new_mem(), and exif_data_unref().
ExifByteOrder exif_data_get_byte_order | ( | ExifData * | data | ) |
Definition at line 1013 of file exif-data.c.
References _ExifDataPrivate::order, and _ExifData::priv.
Referenced by exif_entry_fix(), exif_entry_get_value(), and exif_entry_initialize().
ExifDataType exif_data_get_data_type | ( | ExifData * | ) |
Definition at line 1186 of file exif-data.c.
References _ExifDataPrivate::data_type, EXIF_DATA_TYPE_COUNT, and _ExifData::priv.
Referenced by exif_content_fix().
ExifMnoteData* exif_data_get_mnote_data | ( | ExifData * | ) |
void exif_data_load_data | ( | ExifData * | data, | |
const unsigned char * | d, | |||
unsigned int | size | |||
) |
Definition at line 698 of file exif-data.c.
References _, EXIF_BYTE_ORDER_INTEL, EXIF_BYTE_ORDER_MOTOROLA, exif_data_fix(), exif_data_get_type_maker_note(), exif_data_load_data_content(), EXIF_DATA_OPTION_FOLLOW_SPECIFICATION, EXIF_DATA_TYPE_MAKER_NOTE_CANON, EXIF_DATA_TYPE_MAKER_NOTE_OLYMPUS, EXIF_DATA_TYPE_MAKER_NOTE_PENTAX, exif_get_long(), exif_get_short(), EXIF_IFD_0, EXIF_IFD_1, exif_log(), EXIF_LOG_CODE_CORRUPT_DATA, EXIF_LOG_CODE_DEBUG, exif_mnote_data_canon_new(), exif_mnote_data_load(), exif_mnote_data_log(), exif_mnote_data_olympus_new(), exif_mnote_data_pentax_new(), exif_mnote_data_set_byte_order(), exif_mnote_data_set_offset(), ExifHeader, JPEG_MARKER_APP0, JPEG_MARKER_APP1, JPEG_MARKER_SOI, _ExifDataPrivate::log, LOG_TOO_SMALL, _ExifDataPrivate::order, and _ExifData::priv.
Referenced by exif_data_new_from_data(), and exif_loader_get_data().
Definition at line 1073 of file exif-data.c.
References exif_content_log(), EXIF_IFD_COUNT, exif_log_ref(), exif_log_unref(), _ExifData::ifd, _ExifDataPrivate::log, and _ExifData::priv.
Referenced by exif_loader_get_data().
ExifData* exif_data_new | ( | void | ) |
Definition at line 97 of file exif-data.c.
References exif_data_new_mem(), exif_mem_new_default(), and exif_mem_unref().
Referenced by exif_data_new_from_data().
ExifData* exif_data_new_from_data | ( | const unsigned char * | data, | |
unsigned int | size | |||
) |
ExifData* exif_data_new_from_file | ( | const char * | path | ) |
load exif data from file
[in] | path | filename including path |
Definition at line 915 of file exif-data.c.
References exif_loader_get_data(), exif_loader_new(), exif_loader_unref(), and exif_loader_write_file().
Definition at line 108 of file exif-data.c.
References exif_content_new_mem(), exif_data_free(), EXIF_IFD_COUNT, exif_mem_alloc(), exif_mem_free(), exif_mem_ref(), _ExifData::ifd, _ExifDataPrivate::mem, _ExifContent::parent, _ExifData::priv, and _ExifDataPrivate::ref_count.
Referenced by exif_data_new(), and exif_loader_get_data().
const char* exif_data_option_get_description | ( | ExifDataOption | ) |
Definition at line 1122 of file exif-data.c.
References _, description, exif_data_option, and option.
const char* exif_data_option_get_name | ( | ExifDataOption | ) |
void exif_data_ref | ( | ExifData * | data | ) |
Definition at line 929 of file exif-data.c.
References _ExifData::priv, and _ExifDataPrivate::ref_count.
void exif_data_save_data | ( | ExifData * | data, | |
unsigned char ** | d, | |||
unsigned int * | size | |||
) |
Definition at line 875 of file exif-data.c.
References EXIF_BYTE_ORDER_INTEL, exif_data_alloc(), exif_data_save_data_content(), EXIF_IFD_0, exif_log(), EXIF_LOG_CODE_DEBUG, exif_set_long(), exif_set_short(), ExifHeader, _ExifData::ifd, _ExifDataPrivate::log, _ExifDataPrivate::order, and _ExifData::priv.
void exif_data_set_byte_order | ( | ExifData * | data, | |
ExifByteOrder | order | |||
) |
Definition at line 1057 of file exif-data.c.
References content_set_byte_order(), exif_data_foreach_content(), exif_mnote_data_set_byte_order(), _ExifDataPrivate::md, _ByteOrderChangeData::new, _ByteOrderChangeData::old, _ExifDataPrivate::order, and _ExifData::priv.
void exif_data_set_data_type | ( | ExifData * | , | |
ExifDataType | ||||
) |
Definition at line 1177 of file exif-data.c.
References _ExifDataPrivate::data_type, and _ExifData::priv.
void exif_data_set_option | ( | ExifData * | , | |
ExifDataOption | ||||
) |
Definition at line 1133 of file exif-data.c.
References _ExifDataPrivate::options, and _ExifData::priv.
void exif_data_unref | ( | ExifData * | data | ) |
Definition at line 938 of file exif-data.c.
References exif_data_free(), _ExifData::priv, and _ExifDataPrivate::ref_count.
void exif_data_unset_option | ( | ExifData * | , | |
ExifDataOption | ||||
) |
Definition at line 1142 of file exif-data.c.
References _ExifDataPrivate::options, and _ExifData::priv.