|
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 |
|
17 /** |
|
18 @file |
|
19 */ |
|
20 |
|
21 #ifndef TSU_OMXIL_COMPONENT_CONSTANTS_H |
|
22 #define TSU_OMXIL_COMPONENT_CONSTANTS_H |
|
23 |
|
24 _LIT(KAacDecoderTestFile, "c:\\omxil\\testfiles\\probando123.hev2.aac"); |
|
25 _LIT(KAacDecoderOutputTestFile, "c:\\omxil\\testfiles\\omxilaacdecoderoutput.wav"); |
|
26 |
|
27 const TInt KTestHeapSize = 0x400000; // 4 Mb; |
|
28 |
|
29 // AudioSpecificConfig length (bytes) for probando123.hev2.aac |
|
30 const TInt KAudioSpecificConfigLength = 7; |
|
31 |
|
32 // Wav header params... based on probando123.hev2.aac... |
|
33 const TInt KTestWavFormatPCMChunkHeaderSize = 36; |
|
34 const TInt KTestWavFormatPCMSubchunk1Size = 16; |
|
35 const TInt KTestAudioFormatPCM = 1; |
|
36 const TInt KTestSampleRate = 44100; |
|
37 const TInt KTestNumChannels = 2; |
|
38 const TInt KTestBitsPerSample = 16; |
|
39 const TInt KTestBitRate = 1411000; |
|
40 |
|
41 // These are two numbers that identify some input/output buffers in the middle |
|
42 // of the processing of a test file |
|
43 const TInt KSomeInputBufferCount = 15; |
|
44 const TInt KSomeOutputBufferCount = 25; |
|
45 |
|
46 // Some time interval that can be used for timeouts... |
|
47 const TInt KTwoPointFiveSeconds = 2500000; |
|
48 |
|
49 // Some other time interval that can be used for timeouts... |
|
50 const TInt KPointFiveSeconds = 500000; |
|
51 |
|
52 #endif // TSU_OMXIL_COMPONENT_CONSTANTS_H |