• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* exif-data-tag.h
2  *
3  * Copyright (c) 2005 Lutz Mueller <lutz@users.sourceforge.net>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA  02110-1301  USA.
19  */
20 
21 #ifndef __EXIF_DATA_TYPE_H__
22 #define __EXIF_DATA_TYPE_H__
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif /* __cplusplus */
27 
28 /*! Represents the type of image data to which the EXIF data applies.
29  * The EXIF tags have different constraints depending on the type of
30  * image data.
31  */
32 typedef enum {
33 	EXIF_DATA_TYPE_UNCOMPRESSED_CHUNKY = 0,
34 	EXIF_DATA_TYPE_UNCOMPRESSED_PLANAR,
35 	EXIF_DATA_TYPE_UNCOMPRESSED_YCC,
36 	EXIF_DATA_TYPE_COMPRESSED,
37 	EXIF_DATA_TYPE_COUNT,
38 
39 	EXIF_DATA_TYPE_UNKNOWN = EXIF_DATA_TYPE_COUNT
40 } ExifDataType;
41 
42 #ifdef __cplusplus
43 }
44 #endif /* __cplusplus */
45 
46 #endif /* __EXIF_TAG_H__ */
47