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