comparison mpegaudiotab.h @ 2967:ef2149182f1c libavcodec

COSMETICS: Remove all trailing whitespace.
author diego
date Sat, 17 Dec 2005 18:14:38 +0000
parents ba8ecddf5598
children 48ea0e1a4fdb
comparison
equal deleted inserted replaced
2966:564788471dd4 2967:ef2149182f1c
1 /* 1 /*
2 * mpeg audio layer 2 tables. Most of them come from the mpeg audio 2 * mpeg audio layer 2 tables. Most of them come from the mpeg audio
3 * specification. 3 * specification.
4 * 4 *
5 * Copyright (c) 2000, 2001 Fabrice Bellard. 5 * Copyright (c) 2000, 2001 Fabrice Bellard.
6 * 6 *
7 * The licence of this code is contained in file LICENCE found in the 7 * The licence of this code is contained in file LICENCE found in the
8 * same archive 8 * same archive
9 */ 9 */
10 10
11 /** 11 /**
12 * @file mpegaudiotab.h 12 * @file mpegaudiotab.h
13 * mpeg audio layer 2 tables. 13 * mpeg audio layer 2 tables.
14 * Most of them come from the mpeg audio specification. 14 * Most of them come from the mpeg audio specification.
15 */ 15 */
16 16
17 #define SQRT2 1.41421356237309514547 17 #define SQRT2 1.41421356237309514547
18 18
19 static const int costab32[30] = { 19 static const int costab32[30] = {
20 FIX(0.54119610014619701222), 20 FIX(0.54119610014619701222),
21 FIX(1.3065629648763763537), 21 FIX(1.3065629648763763537),
22 22
23 FIX(0.50979557910415917998), 23 FIX(0.50979557910415917998),
24 FIX(2.5629154477415054814), 24 FIX(2.5629154477415054814),
25 FIX(0.89997622313641556513), 25 FIX(0.89997622313641556513),
26 FIX(0.60134488693504528634), 26 FIX(0.60134488693504528634),
27 27
28 FIX(0.5024192861881556782), 28 FIX(0.5024192861881556782),
29 FIX(5.1011486186891552563), 29 FIX(5.1011486186891552563),
30 FIX(0.78815462345125020249), 30 FIX(0.78815462345125020249),
31 FIX(0.64682178335999007679), 31 FIX(0.64682178335999007679),
32 FIX(0.56694403481635768927), 32 FIX(0.56694403481635768927),
33 FIX(1.0606776859903470633), 33 FIX(1.0606776859903470633),
34 FIX(1.7224470982383341955), 34 FIX(1.7224470982383341955),
35 FIX(0.52249861493968885462), 35 FIX(0.52249861493968885462),
36 36
37 FIX(10.19000812354803287), 37 FIX(10.19000812354803287),
38 FIX(0.674808341455005678), 38 FIX(0.674808341455005678),
39 FIX(1.1694399334328846596), 39 FIX(1.1694399334328846596),
40 FIX(0.53104259108978413284), 40 FIX(0.53104259108978413284),
41 FIX(2.0577810099534108446), 41 FIX(2.0577810099534108446),
73 73
74 /* total number of bits per allocation group */ 74 /* total number of bits per allocation group */
75 static unsigned short total_quant_bits[17]; 75 static unsigned short total_quant_bits[17];
76 76
77 /* signal to noise ratio of each quantification step (could be 77 /* signal to noise ratio of each quantification step (could be
78 computed from quant_steps[]). The values are dB multiplied by 10 78 computed from quant_steps[]). The values are dB multiplied by 10
79 */ 79 */
80 static const unsigned short quant_snr[17] = { 80 static const unsigned short quant_snr[17] = {
81 70, 110, 160, 208, 81 70, 110, 160, 208,
82 253, 316, 378, 439, 82 253, 316, 378, 439,
83 499, 559, 620, 680, 83 499, 559, 620, 680,
84 740, 800, 861, 920, 84 740, 800, 861, 920,
85 980 85 980
86 }; 86 };
87 87
88 /* fixed psycho acoustic model. Values of SNR taken from the 'toolame' 88 /* fixed psycho acoustic model. Values of SNR taken from the 'toolame'
89 project */ 89 project */