diff options
author | Stefan Gehrer <stefan.gehrer@gmx.de> | 2010-02-20 12:32:30 +0000 |
---|---|---|
committer | Stefan Gehrer <stefan.gehrer@gmx.de> | 2010-02-20 12:32:30 +0000 |
commit | cbdcf479ce3780142ad1978fe1f53ecb0507a230 (patch) | |
tree | 18edc720b7f030a2f9b6045196f813ba2b51d34a /libavcodec/aactab.c | |
parent | 8e339d4aa05c770c2b9c1d24dfd6484e5fcf297d (diff) | |
download | ffmpeg-cbdcf479ce3780142ad1978fe1f53ecb0507a230.tar.gz |
remove tables of codebook vector values which are contained in
another table
Originally committed as revision 21918 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aactab.c')
-rw-r--r-- | libavcodec/aactab.c | 29 |
1 files changed, 5 insertions, 24 deletions
diff --git a/libavcodec/aactab.c b/libavcodec/aactab.c index 164c61aff4..edb66193d2 100644 --- a/libavcodec/aactab.c +++ b/libavcodec/aactab.c @@ -903,10 +903,6 @@ static const float codebook_vector0_vals[] = { -1.0000000, 0.0000000, 1.0000000 }; -static const float codebook_vector2_vals[] = { - 0.0000000, 1.0000000, 2.5198421, -}; - /* * bits 0:1, 2:3, 4:5, 6:7 index into _vals array * 8:11 number of non-zero values @@ -947,11 +943,6 @@ static const uint16_t codebook_vector4_idx[] = { 0x0008, 0x0018, 0x0028, 0x0038, 0x0048, 0x0058, 0x0068, 0x0078, 0x0088, }; -static const float codebook_vector6_vals[] = { - 0.0000000, 1.0000000, 2.5198421, 4.3267487, - 6.3496042, 8.5498797, 10.9027236, 13.3905183, -}; - /* * bits 0:3, 4:7 index into _vals array * 8:11 number of non-zero values @@ -969,16 +960,6 @@ static const uint16_t codebook_vector6_idx[] = { 0x1107, 0x0217, 0x0227, 0x0237, 0x0247, 0x0257, 0x0267, 0x0277, }; -static const float codebook_vector8_vals[] = { - 0.0000000, 1.0000000, - 2.5198421, 4.3267487, - 6.3496042, 8.5498797, - 10.9027236, 13.3905183, - 16.0000000, 18.7207544, - 21.5443469, 24.4637810, - 27.4731418, -}; - /* * bits 0:3, 4:7 index into _vals array * 8:11 number of non-zero values @@ -1068,11 +1049,11 @@ static const uint16_t codebook_vector10_idx[] = { }; const float *const ff_aac_codebook_vector_vals[] = { - codebook_vector0_vals, codebook_vector0_vals, - codebook_vector2_vals, codebook_vector2_vals, - codebook_vector4_vals, codebook_vector4_vals, - codebook_vector6_vals, codebook_vector6_vals, - codebook_vector8_vals, codebook_vector8_vals, + codebook_vector0_vals, codebook_vector0_vals, + codebook_vector10_vals, codebook_vector10_vals, + codebook_vector4_vals, codebook_vector4_vals, + codebook_vector10_vals, codebook_vector10_vals, + codebook_vector10_vals, codebook_vector10_vals, codebook_vector10_vals, }; |