~ubuntu-branches/ubuntu/trusty/a52dec/trusty

« back to all changes in this revision

Viewing changes to liba52/tables.h

  • Committer: Bazaar Package Importer
  • Author(s): Mikael Hedin
  • Date: 2002-08-06 14:01:33 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20020806140133-92hthettsty01kue
Tags: 0.7.4-1
* New upstream version.
* Conflict/Provide/Replace liba52-dev, used since 0.7.3-2, does not
  allow the new -dev package to replace the one from version 0.7.3.
  Please enlighten me!

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22
22
 */
23
23
 
24
 
static int8_t exp_1[128] = {
 
24
static const int8_t exp_1[128] = {
25
25
    -2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,
26
26
    -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
27
27
     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
29
29
     2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
30
30
    25,25,25
31
31
};
32
 
static int8_t exp_2[128] = {
 
32
static const int8_t exp_2[128] = {
33
33
    -2,-2,-2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
34
34
    -2,-2,-2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
35
35
    -2,-2,-2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
37
37
    -2,-2,-2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
38
38
    25,25,25
39
39
};
40
 
static int8_t exp_3[128] = {
 
40
static const int8_t exp_3[128] = {
41
41
    -2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,
42
42
    -2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,
43
43
    -2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,
182
182
    0
183
183
};
184
184
 
185
 
static sample_t scale_factor[25] = {
 
185
static const sample_t scale_factor[25] = {
186
186
    0.000030517578125,
187
187
    0.0000152587890625,
188
188
    0.00000762939453125,