1 /* |
|
2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #ifndef CXESETTINGSMAPPERSYMBIAN_H |
|
18 #define CXESETTINGSMAPPERSYMBIAN_H |
|
19 |
|
20 #include <ecam.h> |
|
21 #include <ecamadvsettings.h> |
|
22 #include <ECamOrientationCustomInterface2.h> |
|
23 #include <ecamusecasehintcustomapi.h> |
|
24 #include "cxeautofocuscontrol.h" |
|
25 #include "cxenamespace.h" |
|
26 #include "cxequalitydetails.h" |
|
27 |
|
28 /*! |
|
29 Map CameraX specific enums to ECam equivalents |
|
30 */ |
|
31 class CxeSettingsMapperSymbian |
|
32 { |
|
33 public: |
|
34 static CCamera::TWhiteBalance Map2CameraWb(Cxe::Whitebalance whiteBalance); |
|
35 static CCamera::TFlash Map2CameraFlash(Cxe::FlashMode flashMode); |
|
36 static CCamera::TExposure Map2CameraExposureMode( |
|
37 Cxe::ExposureMode exposureMode); |
|
38 static CCamera::CCameraImageProcessing::TEffect Map2CameraEffect( |
|
39 Cxe::Colortone colorTone); |
|
40 static CCamera::CCameraAdvancedSettings::TFocusRange Map2CameraAutofocus( |
|
41 CxeAutoFocusControl::Mode afMode); |
|
42 static MCameraOrientation::TOrientation Map2CameraOrientation( |
|
43 Cxe::DeviceOrientation orientation); |
|
44 static void Map2UseCaseHintVideoParameters( |
|
45 const CxeVideoDetails &videoDetails, |
|
46 MCameraUseCaseHint::TVideoCodec &codec, |
|
47 MCameraUseCaseHint::TVideoProfile &profile); |
|
48 }; |
|
49 |
|
50 #endif /*CXESETTINGSMAPPERSYMBIAN_H*/ |
|
51 |
|
52 // end of file |
|