|
1 /* |
|
2 * Copyright (c) 2009 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 |
|
18 #ifndef XAIMAGECONTROLSITFADAPTATION_H |
|
19 #define XAIMAGECONTROLSITFADAPTATION_H |
|
20 |
|
21 #include "xaadaptationgst.h" |
|
22 #include "xathreadsafety.h" |
|
23 |
|
24 /* MACROS */ |
|
25 #define MIN_GAMMA_VALUE 10 |
|
26 #define MAX_GAMMA_VALUE 10000 |
|
27 #define SCALE_VALUE_BRIGHTNESS 50 |
|
28 #define SCALE_VALUE_CONTRAST 100 |
|
29 #define SCALE_VALUE_GAMMA 1000 |
|
30 |
|
31 /* FUNCTIONS */ |
|
32 XAresult XAImageControlsItfAdapt_SetBrightness(XAAdaptationGstCtx *bCtx, |
|
33 XAuint32 brightness); |
|
34 |
|
35 XAresult XAImageControlsItfAdapt_SetContrast(XAAdaptationGstCtx *bCtx, |
|
36 XAint32 contrast); |
|
37 |
|
38 XAresult XAImageControlsItfAdapt_SetGamma(XAAdaptationGstCtx *bCtx, |
|
39 XApermille gamma); |
|
40 |
|
41 XAresult XAImageControlsItfAdapt_GetSupportedGammaSettings(XAAdaptationGstCtx *bCtx, |
|
42 XApermille *pMinValue, |
|
43 XApermille *pMaxValue, |
|
44 XAuint32 *pNumSettings, |
|
45 XApermille **ppSettings); |
|
46 |
|
47 XAresult XAImageControlsItfAdapt_HandleImageType(XAAdaptationGstCtx *bCtx); |
|
48 #endif /* XAIMAGECONTROLSITFADAPTATION_H */ |