epoc32/include/ecam/ecamconstants.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 // Copyright (c) 2007-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Camera specific constants
    15 // 
    16 //
    17 
    18 #ifndef  ECAMCONSTANTS_H
    19 #define  ECAMCONSTANTS_H
    20 
    21 /** 
    22 	Multiplier value used to re-scale various parameters which would typically 
    23 	require floating point representation.
    24 	For example to represent aperture (F-stop) F5.6, all values are re-scaled using 
    25 	this factor. In this way F5.6 will be 560, F22 will be 2200.
    26 	Functions and settings which use such factor are clearly identified in 
    27 	individual comments. 
    28 */
    29 static const TInt KECamFineResolutionFactor 	= 100;
    30 
    31 /** 
    32 	Value info settings. This data type provides additional information 
    33 	to specify the meaning of the returned array of values and 
    34 	the related data set it describes. 
    35 */
    36 enum TValueInfo
    37 	{	
    38 	/** 
    39 		Data set consists of discrete, magnitude ordered values, 
    40 		not necessary at uniform intervals.
    41 		The array contains each of these individual values, magnitude ordered. 
    42 		The first value in the array is the minimum and the last is the maximum value of the range. 
    43 		Naturally it can be just one element or a bitfield. 
    44 		*/
    45 	/** Not active. The data array should be empty. */
    46 	ENotActive,		
    47 	/** Data is represented by one element TInt in the form of bitfields. */ 
    48 	EBitField,
    49 	/** Data is represented by individual elements. */
    50 	EDiscreteSteps,
    51 	/** Data set consists of discrete, magnitude ordered values, at uniform intervals.
    52 		It can be described by the minimum, maximum value and the step. */
    53 	EDiscreteRangeMinMaxStep,
    54 	/** Data set is continuous.
    55 		It can be described by the minimum and maximum value. The step is 1. */
    56 	EContinuousRangeMinMax
    57 	};
    58 
    59 #endif // ECAMCONSTANTS_H