equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __VEDCOMMON_INL__ |
|
20 #define __VEDCOMMON_INL__ |
|
21 |
|
22 |
|
23 inline void TVedPanic::Panic(TInt aPanic) |
|
24 { |
|
25 _LIT(KVedPanicCategory, "VIDEO EDITOR ENG"); |
|
26 |
|
27 User::Panic(KVedPanicCategory, aPanic); |
|
28 } |
|
29 |
|
30 inline TVedDynamicLevelMark::TVedDynamicLevelMark(TTimeIntervalMicroSeconds aTime, TInt aLevel) |
|
31 { |
|
32 iTime = aTime; |
|
33 if ( aLevel < -127 ) // level is TInt8 with 0.5 dB steps |
|
34 { |
|
35 iLevel = -127; |
|
36 } |
|
37 else if (aLevel > 127 ) |
|
38 { |
|
39 iLevel = 127; |
|
40 } |
|
41 else |
|
42 { |
|
43 iLevel = TInt8(aLevel); |
|
44 } |
|
45 } |
|
46 |
|
47 inline TVedDynamicLevelMark::TVedDynamicLevelMark(const TVedDynamicLevelMark& aMark) |
|
48 { |
|
49 iTime = aMark.iTime; |
|
50 iLevel = aMark.iLevel; |
|
51 } |
|
52 |
|
53 #endif //__VEDCOMMON_INL__ |
|