Flora license update
[apps/core/preloaded/ug-camera-efl.git] / include / cam_typeconverter.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.1 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *        http://floralicense.org/license/
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 #ifndef CAM_TYPECONVERTER_H_
19 #define CAM_TYPECONVERTER_H_
20
21
22 #ifdef _cplusplus
23 extern "C" {
24 #endif
25
26
27 #include "camera.h"
28 #include "cam_property.h"
29
30
31 unsigned int cam_iso_dev_convert_caps(camera_attr_iso_e iso);
32 unsigned int cam_effect_dev_convert_caps(camera_attr_effect_mode_e effect);
33 unsigned int cam_fps_dev_convert_caps(camera_attr_fps_e fps);
34 unsigned int cam_wb_dev_convert_caps(camera_attr_whitebalance_e wb);
35 unsigned int cam_metering_dev_convert_caps(camera_attr_exposure_mode_e metering);
36 unsigned int cam_scene_dev_convert_caps(camera_attr_scene_mode_e scene);
37 unsigned int cam_flash_dev_convert_caps(camera_attr_flash_mode_e flash);
38 unsigned int cam_focus_dev_convert_caps(camera_attr_af_mode_e focus);
39
40 unsigned int cam_iso_cam_convert_caps(CamIso iso);
41 unsigned int cam_effect_cam_convert_caps(CamSettingsEffects effect);
42 unsigned int cam_wb_cam_convert_caps(CamSettingsWB wb);
43 unsigned int cam_metering_cam_convert_caps(CamMetering metering);
44 unsigned int cam_scene_cam_convert_caps(CamSceneMode scene);
45 unsigned int cam_flash_cam_convert_caps(CamFlashMode flash);
46 unsigned int cam_focus_cam_convert_caps(CamFocusMode focus);
47 unsigned int cam_resolution_cam_convert_caps(unsigned int res);
48
49 #ifdef _cplusplus
50 }
51 #endif
52
53
54
55 #endif                          /*  CAM_TYPECONVERTER_H_ */