exif-data.h File Reference

FIXME foo bar blah. More...

#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.

Data Structures

struct  _ExifData

Defines

#define exif_data_get_entry(d, t)

Typedefs

typedef _ExifData ExifData
typedef _ExifDataPrivate ExifDataPrivate
typedef void(*) ExifDataForeachContentFunc (ExifContent *, void *user_data)

Enumerations

enum  ExifDataOption { EXIF_DATA_OPTION_IGNORE_UNKNOWN_TAGS = 1 << 0, EXIF_DATA_OPTION_FOLLOW_SPECIFICATION = 1 << 1 }

Functions

ExifDataexif_data_new (void)
ExifDataexif_data_new_mem (ExifMem *)
ExifDataexif_data_new_from_file (const char *path)
 load exif data from file
ExifDataexif_data_new_from_data (const unsigned char *data, unsigned int size)
void exif_data_load_data (ExifData *data, const unsigned char *d, unsigned int size)
void exif_data_save_data (ExifData *data, unsigned char **d, unsigned int *size)
void exif_data_ref (ExifData *data)
void exif_data_unref (ExifData *data)
void exif_data_free (ExifData *data)
ExifByteOrder exif_data_get_byte_order (ExifData *data)
void exif_data_set_byte_order (ExifData *data, ExifByteOrder order)
ExifMnoteDataexif_data_get_mnote_data (ExifData *)
void exif_data_fix (ExifData *)
void exif_data_foreach_content (ExifData *data, ExifDataForeachContentFunc func, void *user_data)
const char * exif_data_option_get_name (ExifDataOption)
const char * exif_data_option_get_description (ExifDataOption)
void exif_data_set_option (ExifData *, ExifDataOption)
void exif_data_unset_option (ExifData *, ExifDataOption)
void exif_data_set_data_type (ExifData *, ExifDataType)
ExifDataType exif_data_get_data_type (ExifData *)
void exif_data_dump (ExifData *data)
void exif_data_log (ExifData *data, ExifLog *log)


Detailed Description

FIXME foo bar blah.

Author:
Lutz Müller <lutz@users.sourceforge.net>
Date:
2001-2005
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

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 Documentation

#define exif_data_get_entry ( d,
 ) 

Value:

Definition at line 103 of file exif-data.h.

Referenced by exif_data_get_type_maker_note().


Typedef Documentation

typedef struct _ExifData ExifData

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.


Enumeration Type Documentation

enum ExifDataOption

Enumerator:
EXIF_DATA_OPTION_IGNORE_UNKNOWN_TAGS 
EXIF_DATA_OPTION_FOLLOW_SPECIFICATION 

Definition at line 85 of file exif-data.h.


Function Documentation

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  ) 

Definition at line 91 of file exif-data.c.

References _ExifDataPrivate::md, and _ExifData::priv.

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().

void exif_data_log ( ExifData data,
ExifLog log 
)

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 
)

Definition at line 149 of file exif-data.c.

References exif_data_load_data(), and exif_data_new().

ExifData* exif_data_new_from_file ( const char *  path  ) 

load exif data from file

Parameters:
[in] path filename including path
Foo bar blah bleh baz.

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().

ExifData* exif_data_new_mem ( ExifMem  ) 

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   ) 

Definition at line 1111 of file exif-data.c.

References _, exif_data_option, name, and option.

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.


Generated on Tue Dec 19 14:34:01 2006 for EXIF library (libexif) Internals by  doxygen 1.5.1