Browse code

cosmetics: Reorder some tables/lines to make future diffs smaller.

Originally committed as revision 19498 to svn://svn.ffmpeg.org/ffmpeg/trunk

Diego Biurrun authored on 2009/07/23 08:33:58
Showing 2 changed files
... ...
@@ -43,6 +43,12 @@ const uint8_t ff_ac3_ungroup_3_in_5_bits_tab[32][3] = {
43 43
     { 3, 0, 1 }, { 3, 0, 2 }, { 3, 1, 0 }, { 3, 1, 1 }
44 44
 };
45 45
 
46
+/**
47
+ * Table of bin locations for rematrixing bands
48
+ * reference: Section 7.5.2 Rematrixing : Frequency Band Definitions
49
+ */
50
+const uint8_t ff_ac3_rematrix_band_tab[5] = { 13, 25, 37, 61, 253 };
51
+
46 52
 const uint8_t ff_eac3_hebap_tab[64] = {
47 53
     0, 1, 2, 3, 4, 5, 6, 7, 8, 8,
48 54
     8, 8, 9, 9, 9, 10, 10, 10, 10, 11,
... ...
@@ -1125,9 +1131,3 @@ const uint8_t ff_eac3_frm_expstr[32][6] = {
1125 1125
  */
1126 1126
 const uint8_t ff_eac3_default_cpl_band_struct[18] =
1127 1127
 { 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1 };
1128
-
1129
-/**
1130
- * Table of bin locations for rematrixing bands
1131
- * reference: Section 7.5.2 Rematrixing : Frequency Band Definitions
1132
- */
1133
-const uint8_t ff_ac3_rematrix_band_tab[5] = { 13, 25, 37, 61, 253 };
... ...
@@ -25,6 +25,8 @@
25 25
 #include <stdint.h>
26 26
 
27 27
 extern const uint8_t ff_ac3_ungroup_3_in_5_bits_tab[32][3];
28
+extern const uint8_t ff_ac3_rematrix_band_tab[5];
29
+
28 30
 extern const uint8_t ff_eac3_hebap_tab[64];
29 31
 extern const uint8_t ff_eac3_bits_vs_hebap[20];
30 32
 extern const int16_t ff_eac3_gaq_remap_1[12];
... ...
@@ -35,6 +37,4 @@ extern const int16_t (* const ff_eac3_mantissa_vq[8])[6];
35 35
 extern const uint8_t ff_eac3_frm_expstr[32][6];
36 36
 extern const uint8_t ff_eac3_default_cpl_band_struct[18];
37 37
 
38
-extern const uint8_t ff_ac3_rematrix_band_tab[5];
39
-
40 38
 #endif /* AVCODEC_AC3DEC_DATA_H */