25#ifndef LIBEXIF_EXIF_UTILS_H
26#define LIBEXIF_EXIF_UTILS_H
34#include <libexif/_stdint.h>
64typedef char ExifUndefined;
160void exif_set_rational (
unsigned char *b,
ExifByteOrder order,
169void exif_set_srational (
unsigned char *b,
ExifByteOrder order,
173void exif_convert_utf16_to_utf8 (
char *out,
const unsigned char *in,
int maxlen);
178void exif_array_set_byte_order (
ExifFormat,
unsigned char *,
unsigned int,
182#define MIN(a, b) (((a) < (b)) ? (a) : (b))
185#define MAX(a, b) (((a) > (b)) ? (a) : (b))
190#define EXIF_TAG_SUBSEC_TIME EXIF_TAG_SUB_SEC_TIME
Defines the ExifByteOrder enum and the associated functions.
ExifByteOrder
Which byte order to use.
Definition exif-byte-order.h:33
signed char ExifSByte
EXIF Signed Byte data type.
Definition exif-utils.h:44
unsigned char ExifByte
EXIF Unsigned Byte data type.
Definition exif-utils.h:41
uint32_t ExifLong
EXIF Unsigned Long data type.
Definition exif-utils.h:56
int32_t ExifSLong
EXIF Signed Long data type.
Definition exif-utils.h:59
uint16_t ExifShort
EXIF Unsigned Short data type.
Definition exif-utils.h:50
int16_t ExifSShort
EXIF Signed Short data type.
Definition exif-utils.h:53
char * ExifAscii
EXIF Text String data type.
Definition exif-utils.h:47
EXIF Unsigned Rational data type.
Definition exif-utils.h:62
EXIF Signed Rational data type.
Definition exif-utils.h:67