--- a/videoeditorengine/audioeditorengine/codecs/AWB/inc/AWBConstants.h Fri Jan 29 14:08:33 2010 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,334 +0,0 @@
-/*
-* Copyright (c) 2010 Ixonos Plc.
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - Initial contribution
-*
-* Contributors:
-* Ixonos Plc
-*
-* Description:
-*
-*/
-
-
-#ifndef AWBCONSTANTS_H
-#define AWBCONSTANTS_H
-
-
-/* size of packed frame for each mode, excluding TOC byte */
-const TInt16 KAWBPacked_size[16] = {17, 23, 32, 36, 40, 46, 50, 58,
- 60, 5, 0, 0, 0, 0, 0, 0};
-
-// possible bitrates of AMR wideband
-const TInt KAWBBitRates[9] = {6600, 8850, 12650, 14250,
- 15850, 18250, 19850, 23050, 23850};
-
-// enumeration for bitrates
-enum TAWBBitRate
- {
- TAWBBitRate6600 = 0,
- TAWBBitRate8850 = 1,
- TAWBBitRate12650 = 2,
- TAWBBitRate14250 = 3,
- TAWBBitRate15850 = 4,
- TAWBBitRate18250 = 5,
- TAWBBitRate19850 = 6,
- TAWBBitRate23050 = 7,
- TAWBBitRate23850 = 8
- };
-
-// gain position in n:th subframe with 6600 kBit/s: KGainPositions[TAWBBitRate6600*4+n]
-
-const TInt KGainPositions[4*9] =
- {
- 57, 80, 103, 126,
- 75, 106, 140, 171,
- 93, 143, 196, 246,
- 101, 159, 220, 278,
- 109, 175, 244, 310,
- 121, 199, 280, 358,
- 129, 215, 304, 390,
- 145, 247, 352, 454,
- 145, 251, 360, 466
- };
-
-// KAwbGaindB2Gamma[0] is gamma*10000 at -127 dB
-// KAwbGaindB2Gamma[1] is gamma*10000 at -126 dB
-// KAwbGaindB2Gamma[127] is gamma*10000 at 0 dB
-// KAwbGaindB2Gamma[128] is gamma*10000 at 1 dB
-// KAwbGaindB2Gamma[255] is gamma*10000 at 128 dB
-
-// Note: gamma = (10^((gain/2)/20))^(1/_2.38_)
-
-const TInt KAwbGain_dB2Gamma[] =
-
- {
-
-21 ,
-23 ,
-24 ,
-25 ,
-26 ,
-27 ,
-29 ,
-30 ,
-32 ,
-33 ,
-35 ,
-37 ,
-38 ,
-40 ,
-42 ,
-44 ,
-47 ,
-49 ,
-51 ,
-54 ,
-57 ,
-59 ,
-62 ,
-65 ,
-69 ,
-72 ,
-76 ,
-79 ,
-83 ,
-87 ,
-92 ,
-96 ,
-101 ,
-106 ,
-111 ,
-117 ,
-123 ,
-129 ,
-135 ,
-142 ,
-149 ,
-156 ,
-164 ,
-172 ,
-180 ,
-189 ,
-199 ,
-209 ,
-219 ,
-230 ,
-241 ,
-253 ,
-266 ,
-279 ,
-293 ,
-307 ,
-322 ,
-338 ,
-355 ,
-373 ,
-391 ,
-411 ,
-431 ,
-452 ,
-475 ,
-498 ,
-523 ,
-549 ,
-576 ,
-605 ,
-635 ,
-666 ,
-699 ,
-734 ,
-770 ,
-808 ,
-848 ,
-890 ,
-935 ,
-981 ,
-1029 ,
-1080 ,
-1134 ,
-1190 ,
-1249 ,
-1311 ,
-1376 ,
-1444 ,
-1516 ,
-1591 ,
-1670 ,
-1753 ,
-1840 ,
-1931 ,
-2026 ,
-2127 ,
-2232 ,
-2343 ,
-2459 ,
-2581 ,
-2709 ,
-2843 ,
-2984 ,
-3132 ,
-3287 ,
-3450 ,
-3621 ,
-3800 ,
-3989 ,
-4186 ,
-4394 ,
-4612 ,
-4840 ,
-5080 ,
-5332 ,
-5596 ,
-5874 ,
-6165 ,
-6470 ,
-6791 ,
-7128 ,
-7481 ,
-7852 ,
-8241 ,
-8649 ,
-9078 ,
-9528 ,
-10000 ,
-10496 ,
-11016 ,
-11562 ,
-12135 ,
-12736 ,
-13368 ,
-14030 ,
-14725 ,
-15455 ,
-16221 ,
-17025 ,
-17869 ,
-18755 ,
-19684 ,
-20660 ,
-21684 ,
-22758 ,
-23886 ,
-25070 ,
-26313 ,
-27617 ,
-28986 ,
-30422 ,
-31930 ,
-33513 ,
-35174 ,
-36917 ,
-38747 ,
-40667 ,
-42683 ,
-44798 ,
-47019 ,
-49349 ,
-51795 ,
-54362 ,
-57056 ,
-59884 ,
-62852 ,
-65967 ,
-69237 ,
-72668 ,
-76270 ,
-80050 ,
-84017 ,
-88182 ,
-92552 ,
-97139 ,
-101954 ,
-107007 ,
-112310 ,
-117877 ,
-123719 ,
-129851 ,
-136287 ,
-143042 ,
-150131 ,
-157572 ,
-165382 ,
-173578 ,
-182181 ,
-191211 ,
-200688 ,
-210634 ,
-221074 ,
-232031 ,
-243531 ,
-255601 ,
-268270 ,
-281566 ,
-295521 ,
-310168 ,
-325541 ,
-341675 ,
-358610 ,
-376383 ,
-395038 ,
-414617 ,
-435167 ,
-456735 ,
-479372 ,
-503131 ,
-528067 ,
-554240 ,
-581709 ,
-610540 ,
-640800 ,
-672560 ,
-705894 ,
-740880 ,
-777600 ,
-816140 ,
-856590 ,
-899045 ,
-943604 ,
-990372 ,
-1039457 ,
-1090976 ,
-1145048 ,
-1201799 ,
-1261364 ,
-1323880 ,
-1389495 ,
-1458363 ,
-1530643 ,
-1606506 ,
-1686129 ,
-1769698 ,
-1857409 ,
-1949467 ,
-2046088 ,
-2147498 ,
-2253934 ,
-2365645 ,
-2482893 ,
-2605952 ,
-2735110 ,
-2870669 ,
-3012948 ,
-3162278 ,
-3319009 ,
-3483508 ,
-3656160 ,
-3837369 ,
-4027560 ,
-4227177 ,
-4436687 ,
-4656582
-
-
-
-};
-
-
-#endif