equal
deleted
inserted
replaced
|
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 // |
|
15 |
|
16 #ifndef CONSTANTS_H_ |
|
17 #define CONSTANTS_H_ |
|
18 |
|
19 // The frame rate delay used in CRateLimiterRenderStage |
|
20 const TInt KFrameRateDelay = 500000; // 0.5 seconds |
|
21 |
|
22 //No of test frames used in CWsRateLimitGraphicDrawer |
|
23 const TInt KMaxFrames = 40; |
|
24 |
|
25 // Approximate length of the animation |
|
26 const TInt KAnimLength = 20000000; // 20 seconds |
|
27 |
|
28 // 1 Second in microseconds |
|
29 const TInt KOneSecondInMicroSecs = 1000000; |
|
30 |
|
31 // Expected framerate without any additional rate limiting |
|
32 const TReal KStdMinimumFrameRate = 4; |
|
33 |
|
34 // Allowed error when testing framerate without any additinal rate limiting |
|
35 const TReal KStdErrorThreshHold = 0.2; |
|
36 |
|
37 |
|
38 #endif /*CONSTANTS_H_*/ |