Flora license update
[apps/core/preloaded/ug-camera-efl.git] / include / cam_exif_info.h
1 /*\r
2  * Copyright 2012  Samsung Electronics Co., Ltd\r
3  *\r
4  * Licensed under the Flora License, Version 1.1 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  *        http://floralicense.org/license/\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  * See the License for the specific language governing permissions and\r
14  * limitations under the License.\r
15  */\r
16 \r
17 \r
18 #ifndef __CAM_EXIF_INFO_H__\r
19 #define __CAM_EXIF_INFO_H__\r
20 \r
21 #include "glib.h"\r
22 #include <libexif/exif-data.h>\r
23 \r
24 \r
25 \r
26 ExifData* cam_exif_get_exif_from_data(unsigned char *data, unsigned int data_size);\r
27 gboolean cam_exif_set_entry(ExifData *in_exif, ExifIfd ifd, ExifTag tag, ExifFormat format, unsigned long components, unsigned char *data);\r
28 gboolean cam_exif_get_data_from_exif(unsigned char *out_data, unsigned int out_size, ExifData *in_exif);\r
29 gboolean cam_exif_change_thumb_info(unsigned char *exif_raw, unsigned int exif_raw_size, unsigned char *thumb_data\r
30                                                                                         , int thumb_w, int thumb_h, unsigned int thumb_size);\r
31 gboolean cam_exif_write_to_jpeg(unsigned char *in_data, unsigned int in_size, unsigned char *exif_data, unsigned int exif_size\r
32                                                                                   ,unsigned char **out_data, unsigned int *out_size);\r
33 \r
34 #endif\r
35 \r