williamr@4: // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@4: // under the terms of "Eclipse Public License v1.0" williamr@2: // which accompanies this distribution, and is available williamr@4: // at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // Camera specific constants williamr@2: // williamr@2: // williamr@2: williamr@4: /** williamr@4: @file williamr@4: @publishedAll williamr@4: @released williamr@4: */ williamr@4: williamr@2: #ifndef ECAMCONSTANTS_H williamr@2: #define ECAMCONSTANTS_H williamr@2: williamr@2: /** williamr@2: Multiplier value used to re-scale various parameters which would typically williamr@2: require floating point representation. williamr@2: For example to represent aperture (F-stop) F5.6, all values are re-scaled using williamr@2: this factor. In this way F5.6 will be 560, F22 will be 2200. williamr@2: Functions and settings which use such factor are clearly identified in williamr@2: individual comments. williamr@2: */ williamr@2: static const TInt KECamFineResolutionFactor = 100; williamr@2: williamr@2: /** williamr@2: Value info settings. This data type provides additional information williamr@2: to specify the meaning of the returned array of values and williamr@2: the related data set it describes. williamr@2: */ williamr@2: enum TValueInfo williamr@2: { williamr@2: /** williamr@2: Data set consists of discrete, magnitude ordered values, williamr@2: not necessary at uniform intervals. williamr@2: The array contains each of these individual values, magnitude ordered. williamr@2: The first value in the array is the minimum and the last is the maximum value of the range. williamr@2: Naturally it can be just one element or a bitfield. williamr@2: */ williamr@2: /** Not active. The data array should be empty. */ williamr@2: ENotActive, williamr@2: /** Data is represented by one element TInt in the form of bitfields. */ williamr@2: EBitField, williamr@2: /** Data is represented by individual elements. */ williamr@2: EDiscreteSteps, williamr@2: /** Data set consists of discrete, magnitude ordered values, at uniform intervals. williamr@2: It can be described by the minimum, maximum value and the step. */ williamr@2: EDiscreteRangeMinMaxStep, williamr@2: /** Data set is continuous. williamr@2: It can be described by the minimum and maximum value. The step is 1. */ williamr@2: EContinuousRangeMinMax williamr@2: }; williamr@2: williamr@2: #endif // ECAMCONSTANTS_H