2 * Copyright 2012 Samsung Electronics Co., Ltd
\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
8 * http://floralicense.org/license/
\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
18 #ifndef CAM_TYPECONVERTER_H_
\r
19 #define CAM_TYPECONVERTER_H_
\r
22 #include "cam_property.h"
\r
24 class CCamTypeConverter {
\r
27 static unsigned int CamIsoDevConvertCaps(camera_attr_iso_e iso);
\r
28 static unsigned int CamEffectDevConvertCaps(camera_attr_effect_mode_e effect);
\r
29 static unsigned int CamFpsDevConvertCaps(camera_attr_fps_e fps);
\r
30 static unsigned int CamWbDevConvertCaps(camera_attr_whitebalance_e wb);
\r
31 static unsigned int CamMeteringDevConvertCaps(camera_attr_exposure_mode_e metering);
\r
32 static unsigned int CamSceneDevConvertCaps(camera_attr_scene_mode_e scene);
\r
33 static unsigned int CamFlashDevConvertCaps(camera_attr_flash_mode_e flash);
\r
34 static unsigned int CamFocusDevConvertCaps(camera_attr_af_mode_e focus);
\r
36 static unsigned int CamIsoCamConvertCaps(CamIso iso);
\r
37 static unsigned int CamEffectCamConvertCaps(CamSettingsEffects effect);
\r
38 static unsigned int CamWbCamConvertCaps(CamSettingsWB wb);
\r
39 static unsigned int CamMeteringCamConvertCaps(CamMetering metering);
\r
40 static unsigned int CamSceneCamConvertCaps(CamSceneMode scene);
\r
41 static unsigned int CamFlashCamConvertCaps(CamFlashMode flash);
\r
42 static unsigned int CamFocusCamConvertCaps(CamFocusMode focus);
\r
43 static unsigned int CamResolutionCamConvertCaps(unsigned int res);
\r
47 #endif /* CAM_TYPECONVERTER_H_ */
\r