• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* mnote-canon-tag.h
2  *
3  * Copyright (c) 2002 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 LIBEXIF_MNOTE_CANON_TAG_H
22 #define LIBEXIF_MNOTE_CANON_TAG_H
23 
24 #include <libexif/exif-data.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif /* __cplusplus */
29 
30 enum _MnoteCanonTag {
31 	MNOTE_CANON_TAG_UNKNOWN_0	= 0x0,
32 	MNOTE_CANON_TAG_SETTINGS_1	= 0x1, /* subtree */
33 	MNOTE_CANON_TAG_FOCAL_LENGTH	= 0x2,
34 	MNOTE_CANON_TAG_UNKNOWN_3	= 0x3,
35 	MNOTE_CANON_TAG_SETTINGS_2	= 0x4, /* subtree */
36 	MNOTE_CANON_TAG_PANORAMA	= 0x5,
37 	MNOTE_CANON_TAG_IMAGE_TYPE	= 0x6,
38 	MNOTE_CANON_TAG_FIRMWARE	= 0x7,
39 	MNOTE_CANON_TAG_IMAGE_NUMBER	= 0x8,
40 	MNOTE_CANON_TAG_OWNER		= 0x9,
41 	MNOTE_CANON_TAG_UNKNOWN_10	= 0xa,
42 	MNOTE_CANON_TAG_SERIAL_NUMBER	= 0xc,
43 	MNOTE_CANON_TAG_CAMERA_INFO	= 0xd,
44 	MNOTE_CANON_TAG_FILE_LENGTH	= 0xe,
45 	MNOTE_CANON_TAG_CUSTOM_FUNCS	= 0xf,
46 	MNOTE_CANON_TAG_MODEL_ID	= 0x10,
47 	MNOTE_CANON_TAG_MOVIE_INFO	= 0x11, /* subtree */
48 	MNOTE_CANON_TAG_AF_INFO		= 0x12, /* subtree */
49 	MNOTE_CANON_TAG_THUMBNAIL_VALID_AREA		= 0x13,
50 	MNOTE_CANON_TAG_SERIAL_NUMBER_FORMAT		= 0x15,
51 	MNOTE_CANON_TAG_SUPER_MACRO	= 0x1a,
52 	MNOTE_CANON_TAG_DATE_STAMP_MODE	= 0x1c,
53 	MNOTE_CANON_TAG_MY_COLORS	= 0x1d,	/* subtree */
54 	MNOTE_CANON_TAG_FIRMWARE_REVISION	= 0x1e,
55 	MNOTE_CANON_TAG_CATEGORIES	= 0x23,
56 	MNOTE_CANON_TAG_FACEDETECT1	= 0x24,	/* subtree */
57 	MNOTE_CANON_TAG_FACEDETECT2	= 0x25,	/* subtree */
58 	MNOTE_CANON_TAG_AF_INFO2	= 0x26,	/* subtree */
59 	MNOTE_CANON_TAG_CONTRAST_INFO	= 0x27,	/* subtree */
60 	MNOTE_CANON_TAG_IMAGE_UNIQUE_ID	= 0x28,
61 	MNOTE_CANON_TAG_WB_INFO		= 0x29,	/* subtree */
62 	MNOTE_CANON_TAG_FACEDETECT3	= 0x2f,	/* subtree */
63 	MNOTE_CANON_TAG_TIMEINFO	= 0x35,	/* subtree */
64 	MNOTE_CANON_TAG_BATTERY_TYPE	= 0x38,
65 	MNOTE_CANON_TAG_AF_INFO3	= 0x3c,	/* subtree */
66 	MNOTE_CANON_TAG_RAW_DATA_OFFSET	= 0x81,
67 	MNOTE_CANON_TAG_ORIGINAL_DECISION_DATA_OFFSET	= 0x83,
68 	MNOTE_CANON_TAG_PERSONAL_FUNCTIONS		= 0x91,	/* subtree */
69 	MNOTE_CANON_TAG_PERSONAL_FUNCTIONS_VALUES	= 0x92,	/* subtree */
70 	MNOTE_CANON_TAG_FILE_INFO		= 0x93,	/* subtree */
71 	MNOTE_CANON_TAG_LENS_MODEL		= 0x95,
72 	MNOTE_CANON_TAG_CMOS_SERIAL		= 0x96,
73 	MNOTE_CANON_TAG_DUST_REMOVAL_DATA	= 0x97,
74 	MNOTE_CANON_TAG_CROP_INFO		= 0x98,	/* subtree */
75 	MNOTE_CANON_TAG_CUSTOM_FUNCTIONS2	= 0x99,	/* subtree */
76 	MNOTE_CANON_TAG_ASPECT_INFO		= 0x9a,	/* subtree */
77 	MNOTE_CANON_TAG_COLOR_INFORMATION	= 0xa0,	/* subtree */
78 	MNOTE_CANON_TAG_TONE_CURVE_TABLE	= 0xa1,
79 	MNOTE_CANON_TAG_SHARPNESS_TABLE		= 0xa2,
80 	MNOTE_CANON_TAG_SHARPNESS_FREQ_TABLE	= 0xa3,
81 	MNOTE_CANON_TAG_WHITEBALANCE_TABLE	= 0xa3,
82 	MNOTE_CANON_TAG_COLOR_BALANCE		= 0xa9,	/* subtree */
83 	MNOTE_CANON_TAG_MEASURED_COLOR		= 0xaa,	/* subtree */
84 	MNOTE_CANON_TAG_COLOR_TEMPERATURE	= 0xae,
85 	MNOTE_CANON_TAG_CANON_FLAGS		= 0xb0,	/* subtree */
86 	MNOTE_CANON_TAG_MODIFIED_INFO		= 0xb1,	/* subtree */
87 	MNOTE_CANON_TAG_TONECURVE_MATCHING	= 0xb2,
88 	MNOTE_CANON_TAG_WHITEBALANCE_MATCHING	= 0xb3,
89 	MNOTE_CANON_TAG_COLOR_SPACE		= 0xb4,
90 	MNOTE_CANON_TAG_PREVIEW_IMAGE_INFO	= 0xb6,	/* subtree */
91 	MNOTE_CANON_TAG_VRD_OFFSET		= 0xd0,
92 	MNOTE_CANON_TAG_SENSOR_INFO		= 0xe0,	/* subtree */
93 	MNOTE_CANON_TAG_WB_PACKET		= 0x4001, /* subtree */
94 	MNOTE_CANON_TAG_COLOR_INFO		= 0x4003, /* subtree */
95 	MNOTE_CANON_TAG_FLAVOR			= 0x4005,
96 	MNOTE_CANON_TAG_PICTURESTYLE_USERDEF	= 0x4008,
97 	MNOTE_CANON_TAG_PICTURESTYLE_PC		= 0x4009,
98 	MNOTE_CANON_TAG_CUSTOMPICTURE_STYLE_FN	= 0x4010,
99 	MNOTE_CANON_TAG_AF_MICRO_ADJUST		= 0x4013, /* subtree */
100 	MNOTE_CANON_TAG_VIGNETTING_CORRECT	= 0x4015, /* subtree */
101 	MNOTE_CANON_TAG_VIGNETTING_CORRECT2	= 0x4016, /* subtree */
102 	MNOTE_CANON_TAG_LIGHTINGOPT		= 0x4018, /* subtree */
103 	MNOTE_CANON_TAG_LENS_INFO		= 0x4019, /* subtree */
104 	MNOTE_CANON_TAG_AMBIENCE_INFO		= 0x4020, /* subtree */
105 	MNOTE_CANON_TAG_MULTI_EXPOSURE		= 0x4021, /* subtree */
106 	MNOTE_CANON_TAG_FILTER_INFO		= 0x4024, /* subtree */
107 	MNOTE_CANON_TAG_HDR_INFO		= 0x4025, /* subtree */
108 	MNOTE_CANON_TAG_AF_CONFIG		= 0x4028, /* subtree */
109 	MNOTE_CANON_TAG_RAW_BURST_INFO		= 0x403f  /* subtree */
110 };
111 typedef enum _MnoteCanonTag MnoteCanonTag;
112 
113 const char *mnote_canon_tag_get_name        (MnoteCanonTag);
114 const char *mnote_canon_tag_get_name_sub    (MnoteCanonTag, unsigned int, ExifDataOption);
115 const char *mnote_canon_tag_get_title       (MnoteCanonTag);
116 const char *mnote_canon_tag_get_title_sub   (MnoteCanonTag, unsigned int, ExifDataOption);
117 const char *mnote_canon_tag_get_description (MnoteCanonTag);
118 
119 #ifdef __cplusplus
120 }
121 #endif /* __cplusplus */
122 
123 #endif /* !defined(LIBEXIF_MNOTE_CANON_TAG_H) */
124