equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "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 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __VEDCOMMON_INL__ |
|
22 #define __VEDCOMMON_INL__ |
|
23 |
|
24 |
|
25 inline void TVedPanic::Panic(TInt aPanic) |
|
26 { |
|
27 _LIT(KVedPanicCategory, "VIDEO EDITOR ENG"); |
|
28 |
|
29 User::Panic(KVedPanicCategory, aPanic); |
|
30 } |
|
31 |
|
32 inline TVedDynamicLevelMark::TVedDynamicLevelMark(TTimeIntervalMicroSeconds aTime, TInt aLevel) |
|
33 { |
|
34 iTime = aTime; |
|
35 if ( aLevel < -127 ) // level is TInt8 with 0.5 dB steps |
|
36 { |
|
37 iLevel = -127; |
|
38 } |
|
39 else if (aLevel > 127 ) |
|
40 { |
|
41 iLevel = 127; |
|
42 } |
|
43 else |
|
44 { |
|
45 iLevel = TInt8(aLevel); |
|
46 } |
|
47 } |
|
48 |
|
49 inline TVedDynamicLevelMark::TVedDynamicLevelMark(const TVedDynamicLevelMark& aMark) |
|
50 { |
|
51 iTime = aMark.iTime; |
|
52 iLevel = aMark.iLevel; |
|
53 } |
|
54 |
|
55 #endif //__VEDCOMMON_INL__ |