changeset 11221:69f548fd1a3f libavcodec

remove tables of codebook vector values which are contained in another table
author stefang
date Sat, 20 Feb 2010 12:32:30 +0000
parents 5518cf6b6f2e
children 43ecdadf3bc1
files aactab.c
diffstat 1 files changed, 5 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/aactab.c	Fri Feb 19 22:23:55 2010 +0000
+++ b/aactab.c	Sat Feb 20 12:32:30 2010 +0000
@@ -903,10 +903,6 @@
    -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 @@
     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 @@
     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 @@
 };
 
 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,
 };