exif-utils.h File Reference

#include <libexif/exif-byte-order.h>
#include <libexif/exif-format.h>
#include <libexif/_stdint.h>

Go to the source code of this file.

Data Structures

struct  ExifRational
struct  ExifSRational

Defines

#define MIN(a, b)   (((a) < (b)) ? (a) : (b))
#define EXIF_TAG_SUBSEC_TIME   EXIF_TAG_SUB_SEC_TIME

Typedefs

typedef char ExifByte
typedef char * ExifAscii
typedef uint16_t ExifShort
typedef int16_t ExifSShort
typedef uint32_t ExifLong
typedef char ExifUndefined
typedef int32_t ExifSLong

Functions

ExifShort exif_get_short (const unsigned char *b, ExifByteOrder order)
ExifSShort exif_get_sshort (const unsigned char *b, ExifByteOrder order)
ExifLong exif_get_long (const unsigned char *b, ExifByteOrder order)
ExifSLong exif_get_slong (const unsigned char *b, ExifByteOrder order)
ExifRational exif_get_rational (const unsigned char *b, ExifByteOrder order)
ExifSRational exif_get_srational (const unsigned char *b, ExifByteOrder order)
void exif_set_short (unsigned char *b, ExifByteOrder order, ExifShort value)
void exif_set_sshort (unsigned char *b, ExifByteOrder order, ExifSShort value)
void exif_set_long (unsigned char *b, ExifByteOrder order, ExifLong value)
void exif_set_slong (unsigned char *b, ExifByteOrder order, ExifSLong value)
void exif_set_rational (unsigned char *b, ExifByteOrder order, ExifRational value)
void exif_set_srational (unsigned char *b, ExifByteOrder order, ExifSRational value)
void exif_array_set_byte_order (ExifFormat, unsigned char *, unsigned int, ExifByteOrder o_orig, ExifByteOrder o_new)

Define Documentation

#define EXIF_TAG_SUBSEC_TIME   EXIF_TAG_SUB_SEC_TIME

Definition at line 75 of file exif-utils.h.

#define MIN ( a,
 )     (((a) < (b)) ? (a) : (b))

Definition at line 72 of file exif-utils.h.


Typedef Documentation

typedef char* ExifAscii

Definition at line 37 of file exif-utils.h.

typedef char ExifByte

Definition at line 36 of file exif-utils.h.

typedef uint32_t ExifLong

Definition at line 40 of file exif-utils.h.

typedef uint16_t ExifShort

Definition at line 38 of file exif-utils.h.

typedef int32_t ExifSLong

Definition at line 43 of file exif-utils.h.

typedef int16_t ExifSShort

Definition at line 39 of file exif-utils.h.

typedef char ExifUndefined

Definition at line 42 of file exif-utils.h.


Function Documentation

void exif_array_set_byte_order ( ExifFormat  ,
unsigned char *  ,
unsigned  int,
ExifByteOrder  o_orig,
ExifByteOrder  o_new 
)
ExifLong exif_get_long ( const unsigned char *  b,
ExifByteOrder  order 
)
ExifRational exif_get_rational ( const unsigned char *  b,
ExifByteOrder  order 
)
ExifShort exif_get_short ( const unsigned char *  b,
ExifByteOrder  order 
)
ExifSLong exif_get_slong ( const unsigned char *  b,
ExifByteOrder  order 
)
ExifSRational exif_get_srational ( const unsigned char *  b,
ExifByteOrder  order 
)
ExifSShort exif_get_sshort ( const unsigned char *  b,
ExifByteOrder  order 
)

Definition at line 87 of file exif-utils.c.

References EXIF_BYTE_ORDER_INTEL, and EXIF_BYTE_ORDER_MOTOROLA.

Referenced by exif_array_set_byte_order(), and exif_get_short().

void exif_set_long ( unsigned char *  b,
ExifByteOrder  order,
ExifLong  value 
)
void exif_set_rational ( unsigned char *  b,
ExifByteOrder  order,
ExifRational  value 
)
void exif_set_short ( unsigned char *  b,
ExifByteOrder  order,
ExifShort  value 
)
void exif_set_slong ( unsigned char *  b,
ExifByteOrder  order,
ExifSLong  value 
)
void exif_set_srational ( unsigned char *  b,
ExifByteOrder  order,
ExifSRational  value 
)
void exif_set_sshort ( unsigned char *  b,
ExifByteOrder  order,
ExifSShort  value 
)

Definition at line 108 of file exif-utils.c.

References EXIF_BYTE_ORDER_INTEL, and EXIF_BYTE_ORDER_MOTOROLA.

Referenced by exif_array_set_byte_order(), and exif_set_short().


Generated on 22 Jan 2011 for EXIF library (libexif) Internals by  doxygen 1.6.1