4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Jeongmo Yang <jm80.yang@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
22 /*! \brief The definitions for exif information
24 Some of the EXIF informations aren't needed to be changed within a
25 session. For example, everytime still-image taken, [Maker name] field
26 or [Model name] field always be same in a device, while [Datetime] or
27 [Exposure value] isn't. This definitions are for the un-changeable
33 Shows manufacturer of digicam, "Samsung".
37 Shows model number of digicam.
41 Shows firmware(internal software of digicam) version number.
44 \def MM_EXIF_ORIENTATION
45 The orientation of the camera relative to the scene, when the image
46 was captured. The start point of stored data is, '1' means upper left,
47 '3' lower right, '6' upper right, '8' lower left, '9' undefined.
50 \def MM_EXIF_YCBCRPOSITIONING
51 When image format is YCbCr and uses 'Subsampling'(cropping of chroma
52 data, all the digicam do that), this value defines the chroma sample
53 point of subsampled pixel array. '1' means the center of pixel array,
54 '2' means the datum point(0,0).
57 \def MM_COMPONENTS_CONFIGURATION
58 Order arrangement of pixel.
61 \def MM_EXIF_COLORSPACE
62 Color space of stilled JPEG image.
65 \def MM_EXIF_CUSTOMRENDERED
66 The method of compressed jpeg image rendering.
69 #ifndef __MM_EXIFDEF_H__
70 #define __MM_EXIFDEF_H__
72 /*=======================================================================================
74 ========================================================================================*/
75 #define MM_EXIF_VERSION (0x00000030) | (0x00000032 << 8) | (0x00000032 << 16) | (0x00000030 << 24) /* ASCII 0220 */
76 #define MM_MAKER_NAME "SAMSUNG"
77 #define MM_USER_COMMENT "User comment "
78 #define MM_SOFTWARE_NAME "Camera Application "
79 #define MM_EXIF_ORIENTATION 1 /* upper-top */
80 #define MM_EXIF_YCBCRPOSITIONING 1 /* centered */
81 #define MM_COMPONENTS_CONFIGURATION (0x00000000) | (0x00000001) | (0x00000002 << 8) | (0x00000003 << 16) /* Y Cb Cr - */
82 #define MM_EXIF_COLORSPACE 1 /* sRGB */
83 #define MM_EXIF_CUSTOMRENDERED 0 /* Normal rendered */
84 #define MM_EXPOSURE_PROGRAM 3 /* 0~8 0 : not defined */
85 #define MM_METERING_MODE 0 /* 0~6 0: unkown */
86 #define MM_SENSING_MODE 1 /* 1~8 1: not defined */
87 #define MM_FOCAL_LENGTH 450
88 #define MM_FOCAL_LENGTH_35MMFILM 0 /*unknown */
89 #define MM_GAIN_CONTROL 0 /* 0~4 0 none */
90 #define MM_FILE_SOURCE 3 /* 3: DSC */
91 #define MM_SCENE_TYPE 1 /* 1 DSC : a directly photographed image */
92 #define MM_EXPOSURE_MODE 0 /*0~2 0 : auto exposure */
93 #define MM_VALUE_NORMAL 0 /* 1 DSC : a directly photographed image */
94 #define MM_VALUE_LOW 1 /* 1 DSC : a directly photographed image */
95 #define MM_VALUE_HARD 2 /* 1 DSC : a directly photographed image */
96 #define MM_SUBJECT_DISTANCE_RANGE 0 /* 0~3. 0 : unknown */
97 #define INVALID_GPS_VALUE 1000
99 #endif /* __MM_EXIFDEF_H__ */