diff options
author | rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-15 22:58:06 +0000 |
---|---|---|
committer | rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-15 22:58:06 +0000 |
commit | d686f4e3cf6f5d88ba7b727dcbbe0cc917a7491a (patch) | |
tree | fa88d321412389ce4364e0522c902c8d1e2e63ea /liba52/tables.h | |
parent | 580302e179f920b9408b9a7c96e5d6e1f12b5d93 (diff) | |
download | mpv-d686f4e3cf6f5d88ba7b727dcbbe0cc917a7491a.tar.bz2 mpv-d686f4e3cf6f5d88ba7b727dcbbe0cc917a7491a.tar.xz |
sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
part 1: functional changes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18723 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'liba52/tables.h')
-rw-r--r-- | liba52/tables.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/liba52/tables.h b/liba52/tables.h index 7dc5ed731d..a35543db7c 100644 --- a/liba52/tables.h +++ b/liba52/tables.h @@ -1,6 +1,6 @@ /* * tables.h - * Copyright (C) 2000-2001 Michel Lespinasse <walken@zoy.org> + * Copyright (C) 2000-2002 Michel Lespinasse <walken@zoy.org> * Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * * This file is part of a52dec, a free ATSC A-52 stream decoder. @@ -21,7 +21,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -static int8_t exp_1[128] = { +static const int8_t exp_1[128] = { -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, -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, 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,7 +29,7 @@ static int8_t exp_1[128] = { 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, 25,25,25 }; -static int8_t exp_2[128] = { +static const int8_t exp_2[128] = { -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, -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, -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,7 +37,7 @@ static int8_t exp_2[128] = { -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, 25,25,25 }; -static int8_t exp_3[128] = { +static const int8_t exp_3[128] = { -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, -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, -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,7 +182,7 @@ static const sample_t q_5[16] = { 0 }; -static sample_t scale_factor[25] = { +static const sample_t scale_factor[25] = { 0.000030517578125, 0.0000152587890625, 0.00000762939453125, |