diff -r 94fc26b6e006 -r 1fa3fb47b1e3 khronosfws/openmax_al/src/gst_adaptation/xaimagecontrolsitfadaptation.h --- a/khronosfws/openmax_al/src/gst_adaptation/xaimagecontrolsitfadaptation.h Tue Jul 06 14:50:35 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,48 +0,0 @@ -/* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - -#ifndef XAIMAGECONTROLSITFADAPTATION_H -#define XAIMAGECONTROLSITFADAPTATION_H - -#include "xaadaptationgst.h" -#include "xathreadsafety.h" - -/* MACROS */ -#define MIN_GAMMA_VALUE 10 -#define MAX_GAMMA_VALUE 10000 -#define SCALE_VALUE_BRIGHTNESS 50 -#define SCALE_VALUE_CONTRAST 100 -#define SCALE_VALUE_GAMMA 1000 - -/* FUNCTIONS */ -XAresult XAImageControlsItfAdapt_SetBrightness(XAAdaptationGstCtx *bCtx, - XAuint32 brightness); - -XAresult XAImageControlsItfAdapt_SetContrast(XAAdaptationGstCtx *bCtx, - XAint32 contrast); - -XAresult XAImageControlsItfAdapt_SetGamma(XAAdaptationGstCtx *bCtx, - XApermille gamma); - -XAresult XAImageControlsItfAdapt_GetSupportedGammaSettings(XAAdaptationGstCtx *bCtx, - XApermille *pMinValue, - XApermille *pMaxValue, - XAuint32 *pNumSettings, - XApermille **ppSettings); - -XAresult XAImageControlsItfAdapt_HandleImageType(XAAdaptationGstCtx *bCtx); -#endif /* XAIMAGECONTROLSITFADAPTATION_H */