2 * Copyright 2012 Samsung Electronics Co., Ltd
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
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.
20 #include "cam_property.h"
21 #include "CamTypeConverter.h"
22 #include "cam_typeconverter.h"
25 unsigned int cam_iso_dev_convert_caps(camera_attr_iso_e iso)
27 return CCamTypeConverter::CamIsoDevConvertCaps(iso);
30 unsigned int cam_iso_cam_convert_caps(CamIso iso)
32 return CCamTypeConverter::CamIsoCamConvertCaps(iso);
35 unsigned int cam_effect_dev_convert_caps(camera_attr_effect_mode_e effect)
37 return CCamTypeConverter::CamEffectDevConvertCaps(effect);
40 unsigned int cam_effect_cam_convert_caps(CamSettingsEffects effect)
42 return CCamTypeConverter::CamEffectCamConvertCaps(effect);
46 unsigned int cam_fps_dev_convert_caps(camera_attr_fps_e fps)
48 return CCamTypeConverter::CamFpsDevConvertCaps(fps);
51 unsigned int cam_wb_dev_convert_caps(camera_attr_whitebalance_e wb)
53 return CCamTypeConverter::CamWbDevConvertCaps(wb);
56 unsigned int cam_wb_cam_convert_caps(CamSettingsWB wb)
58 return CCamTypeConverter::CamWbCamConvertCaps(wb);
62 unsigned int cam_focus_dev_convert_caps(camera_attr_af_mode_e focus)
64 return CCamTypeConverter::CamFocusDevConvertCaps(focus);
67 unsigned int cam_focus_cam_convert_caps(CamFocusMode focus)
69 return CCamTypeConverter::CamFocusCamConvertCaps(focus);
72 unsigned int cam_metering_dev_convert_caps(camera_attr_exposure_mode_e metering)
74 return CCamTypeConverter::CamMeteringDevConvertCaps(metering);
77 unsigned int cam_metering_cam_convert_caps(CamMetering type)
79 return CCamTypeConverter::CamMeteringCamConvertCaps(type);
82 unsigned int cam_scene_dev_convert_caps(camera_attr_scene_mode_e scene)
84 return CCamTypeConverter::CamSceneDevConvertCaps(scene);
87 unsigned int cam_scene_cam_convert_caps(CamSceneMode scene)
89 return CCamTypeConverter::CamSceneCamConvertCaps(scene);
92 unsigned int cam_flash_dev_convert_caps(camera_attr_flash_mode_e flash)
94 return CCamTypeConverter::CamFlashDevConvertCaps(flash);
97 unsigned int cam_flash_cam_convert_caps(CamFlashMode flash)
99 return CCamTypeConverter::CamFlashCamConvertCaps(flash);
102 unsigned int cam_resolution_cam_convert_caps(unsigned int res)
104 return CCamTypeConverter::CamResolutionCamConvertCaps(res);