imagingandcamerafws/camerafw/Include/ecamconstants.h
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Camera specific constants
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @publishedAll
       
    21  @released
       
    22 */
       
    23 
       
    24 #ifndef  ECAMCONSTANTS_H
       
    25 #define  ECAMCONSTANTS_H
       
    26 
       
    27 /** 
       
    28 	Multiplier value used to re-scale various parameters which would typically 
       
    29 	require floating point representation.
       
    30 	For example to represent aperture (F-stop) F5.6, all values are re-scaled using 
       
    31 	this factor. In this way F5.6 will be 560, F22 will be 2200.
       
    32 	Functions and settings which use such factor are clearly identified in 
       
    33 	individual comments. 
       
    34 */
       
    35 static const TInt KECamFineResolutionFactor 	= 100;
       
    36 
       
    37 /** 
       
    38 	Value info settings. This data type provides additional information 
       
    39 	to specify the meaning of the returned array of values and 
       
    40 	the related data set it describes. 
       
    41 */
       
    42 enum TValueInfo
       
    43 	{	
       
    44 	/** 
       
    45 		Data set consists of discrete, magnitude ordered values, 
       
    46 		not necessary at uniform intervals.
       
    47 		The array contains each of these individual values, magnitude ordered. 
       
    48 		The first value in the array is the minimum and the last is the maximum value of the range. 
       
    49 		Naturally it can be just one element or a bitfield. 
       
    50 		*/
       
    51 	/** Not active. The data array should be empty. */
       
    52 	ENotActive,		
       
    53 	/** Data is represented by one element TInt in the form of bitfields. */ 
       
    54 	EBitField,
       
    55 	/** Data is represented by individual elements. */
       
    56 	EDiscreteSteps,
       
    57 	/** Data set consists of discrete, magnitude ordered values, at uniform intervals.
       
    58 		It can be described by the minimum, maximum value and the step. */
       
    59 	EDiscreteRangeMinMaxStep,
       
    60 	/** Data set is continuous.
       
    61 		It can be described by the minimum and maximum value. The step is 1. */
       
    62 	EContinuousRangeMinMax
       
    63 	};
       
    64 
       
    65 #endif // ECAMCONSTANTS_H