2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (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
8 * http://floralicense.org/license/
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.
18 #ifndef CAM_TYPECONVERTER_H_
19 #define CAM_TYPECONVERTER_H_
28 #include "cam_property.h"
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);
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);
55 #endif /* CAM_TYPECONVERTER_H_ */