00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00027 #include "ac3dec_data.h"
00028 #include "ac3.h"
00029
00035 const uint8_t ff_ac3_ungroup_3_in_5_bits_tab[32][3] = {
00036 { 0, 0, 0 }, { 0, 0, 1 }, { 0, 0, 2 }, { 0, 1, 0 },
00037 { 0, 1, 1 }, { 0, 1, 2 }, { 0, 2, 0 }, { 0, 2, 1 },
00038 { 0, 2, 2 }, { 1, 0, 0 }, { 1, 0, 1 }, { 1, 0, 2 },
00039 { 1, 1, 0 }, { 1, 1, 1 }, { 1, 1, 2 }, { 1, 2, 0 },
00040 { 1, 2, 1 }, { 1, 2, 2 }, { 2, 0, 0 }, { 2, 0, 1 },
00041 { 2, 0, 2 }, { 2, 1, 0 }, { 2, 1, 1 }, { 2, 1, 2 },
00042 { 2, 2, 0 }, { 2, 2, 1 }, { 2, 2, 2 }, { 3, 0, 0 },
00043 { 3, 0, 1 }, { 3, 0, 2 }, { 3, 1, 0 }, { 3, 1, 1 }
00044 };
00045
00046 const uint8_t ff_eac3_hebap_tab[64] = {
00047 0, 1, 2, 3, 4, 5, 6, 7, 8, 8,
00048 8, 8, 9, 9, 9, 10, 10, 10, 10, 11,
00049 11, 11, 11, 12, 12, 12, 12, 13, 13, 13,
00050 13, 14, 14, 14, 14, 15, 15, 15, 15, 16,
00051 16, 16, 16, 17, 17, 17, 17, 18, 18, 18,
00052 18, 18, 18, 18, 18, 19, 19, 19, 19, 19,
00053 19, 19, 19, 19,
00054 };
00055
00059 const uint8_t ff_eac3_default_spx_band_struct[17] =
00060 { 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 };