main.html
Main Page
|
classes.html
Alphabetical List
|
annotated.html
Data Structures
|
dirs.html
Directories
|
files.html
File List
|
functions.html
Data Fields
|
globals.html
Globals
dir_000000.html
libexif
exif-utils.h
exif-utils_8h.html
Go to the documentation of this file.
00001
/* exif-utils.h
00002
*
00003
* Copyright ? 2001 Lutz M?ller <lutz@users.sourceforge.net>
00004
*
00005
* This library is free software; you can redistribute it and/or
00006
* modify it under the terms of the GNU Lesser General Public
00007
* License as published by the Free Software Foundation; either
00008
* version 2 of the License, or (at your option) any later version.
00009
*
00010
* This library is distributed in the hope that it will be useful,
00011
* but WITHOUT ANY WARRANTY; without even the implied warranty of
00012
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013
* Lesser General Public License for more details.
00014
*
00015
* You should have received a copy of the GNU Lesser General Public
00016
* License along with this library; if not, write to the
00017
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00018
* Boston, MA 02111-1307, USA.
00019
*/
00020
00021
#ifndef __EXIF_UTILS_H__
00022
#define __EXIF_UTILS_H__
00023
00024
#ifdef __cplusplus
00025
extern
"C"
{
00026
#endif
/* __cplusplus */
00027
00028
#include <
exif-byte-order_8h.html
libexif/exif-byte-order.h
>
00029
#include <
exif-format_8h.html
libexif/exif-format.h
>
00030
#include <
__stdint_8h.html
libexif/_stdint.h
>
00031
00032
00033
/* If these definitions don't work for you, please let us fix the
00034
* macro generating _stdint.h */
00035
exif-utils_8h.html#a2
00036
typedef
char
exif-utils_8h.html#a2
ExifByte
;
/* 1 byte  */
exif-utils_8h.html#a3
00037
typedef
char
*
exif-utils_8h.html#a3
ExifAscii
;
exif-utils_8h.html#a4
00038
typedef
uint16_t
exif-utils_8h.html#a4
ExifShort
;
/* 2 bytes */
exif-utils_8h.html#a5
00039
typedef
int16_t
exif-utils_8h.html#a5
ExifSShort
;
/* 2 bytes */
exif-utils_8h.html#a6
00040
typedef
uint32_t
exif-utils_8h.html#a6
ExifLong
;
/* 4 bytes */
structExifRational.html#o0
00041
typedef
struct
{ExifLong numerator; ExifLong denominator;}
structExifRational.html
ExifRational
;
exif-utils_8h.html#a7
00042
typedef
char
exif-utils_8h.html#a7
ExifUndefined
;
/* 1 byte  */
exif-utils_8h.html#a8
00043
typedef
int32_t
exif-utils_8h.html#a8
ExifSLong
;
/* 4 bytes */
structExifSRational.html#o0
00044
typedef
struct
{ExifSLong numerator; ExifSLong denominator;}
structExifSRational.html
ExifSRational
;
00045
00046
00047 ExifShort
exif-utils_8c.html#a2
exif_get_short
(
const
unsigned
char
*b,
exif-byte-order_8h.html#a3
ExifByteOrder
order);
00048 ExifSShort
exif-utils_8c.html#a1
exif_get_sshort
(
const
unsigned
char
*b,
exif-byte-order_8h.html#a3
ExifByteOrder
order);
00049 ExifLong
exif-utils_8c.html#a7
exif_get_long
(
const
unsigned
char
*b,
exif-byte-order_8h.html#a3
ExifByteOrder
order);
00050 ExifSLong
exif-utils_8c.html#a5
exif_get_slong
(
const
unsigned
char
*b,
exif-byte-order_8h.html#a3
ExifByteOrder
order);
00051
structExifRational.html
ExifRational
exif-utils_8c.html#a10
exif_get_rational
(
const
unsigned
char
*b,
exif-byte-order_8h.html#a3
ExifByteOrder
order);
00052
structExifSRational.html
ExifSRational
exif-utils_8c.html#a9
exif_get_srational
(
const
unsigned
char
*b,
exif-byte-order_8h.html#a3
ExifByteOrder
order);
00053
00054
void
exif-utils_8c.html#a4
exif_set_short
(
unsigned
char
*b,
exif-byte-order_8h.html#a3
ExifByteOrder
order,
00055                          ExifShort
mnote-canon-entry_8c.html#a5
value
);
00056
void
exif-utils_8c.html#a3
exif_set_sshort
(
unsigned
char
*b,
exif-byte-order_8h.html#a3
ExifByteOrder
order,
00057                          ExifSShort
mnote-canon-entry_8c.html#a5
value
);
00058
void
exif-utils_8c.html#a8
exif_set_long
(
unsigned
char
*b,
exif-byte-order_8h.html#a3
ExifByteOrder
order,
00059                          ExifLong
mnote-canon-entry_8c.html#a5
value
);
00060
void
exif-utils_8c.html#a6
exif_set_slong
(
unsigned
char
*b,
exif-byte-order_8h.html#a3
ExifByteOrder
order,
00061                          ExifSLong
mnote-canon-entry_8c.html#a5
value
);
00062
void
exif-utils_8c.html#a11
exif_set_rational
(
unsigned
char
*b,
exif-byte-order_8h.html#a3
ExifByteOrder
order,
00063
structExifRational.html
ExifRational
mnote-canon-entry_8c.html#a5
value
);
00064
void
exif-utils_8c.html#a12
exif_set_srational
(
unsigned
char
*b,
exif-byte-order_8h.html#a3
ExifByteOrder
order,
00065
structExifSRational.html
ExifSRational
mnote-canon-entry_8c.html#a5
value
);
00066
00067
/* Please do not use this function outside of the library. */
00068
void
exif-utils_8c.html#a0
exif_array_set_byte_order
(
exif-format_8h.html#a14
ExifFormat
,
unsigned
char
*,
unsigned
int
,
00069
exif-byte-order_8h.html#a3
ExifByteOrder
o_orig,
exif-byte-order_8h.html#a3
ExifByteOrder
o_new);
00070
00071
#undef  MIN
exif-utils_8h.html#a0
00072
#define MIN(a, b)  (((a) < (b)) ? (a) : (b))
00073
00074
/* For compatibility with older versions */
exif-utils_8h.html#a1
00075
#define EXIF_TAG_SUBSEC_TIME EXIF_TAG_SUB_SEC_TIME
00076
00077
#ifdef __cplusplus
00078
}
00079
#endif
/* __cplusplus */
00080
00081
#endif
/* __EXIF_UTILS_H__ */
Generated on Fri Sep 9 16:28:11 2005 for EXIF library (libexif) Internals by
http://www.doxygen.org/index.html
doxygen
1.4.4
