| 1 | /* |
| 2 | * Layer 3 side include file |
| 3 | * |
| 4 | * Copyright (c) 1999 Mark Taylor |
| 5 | * |
| 6 | * This library is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU Library General Public |
| 8 | * License as published by the Free Software Foundation; either |
| 9 | * version 2 of the License, or (at your option) any later version. |
| 10 | * |
| 11 | * This library is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * Library General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU Library General Public |
| 17 | * License along with this library; if not, write to the |
| 18 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 19 | * Boston, MA 02111-1307, USA. |
| 20 | */ |
| 21 | |
| 22 | #ifndef LAME_L3SIDE_H |
| 23 | #define LAME_L3SIDE_Hcxx . . $ `external/lame/l3side.h:23:9`! |
| 24 | |
| 25 | /* max scalefactor band, max(SBMAX_l, SBMAX_s*3, (SBMAX_s-3)*3+8) */ |
| 26 | #define SFBMAXcxx . . $ `external/lame/l3side.h:26:9`! (SBMAX_scxx . . $ `external/lame/encoder.h:104:9`!*3) |
| 27 | |
| 28 | /* Layer III side information. */ |
| 29 | typedef structcxx . . $ $anonymous_type_fdda207d22d8fb07_0# { |
| 30 | int lcxx . . $ $anonymous_type_fdda207d22d8fb07_0#l.[1 + SBMAX_lcxx . . $ `external/lame/encoder.h:103:9`!]; |
| 31 | int scxx . . $ $anonymous_type_fdda207d22d8fb07_0#s.[1 + SBMAX_scxx . . $ `external/lame/encoder.h:104:9`!]; |
| 32 | int psfb21cxx . . $ $anonymous_type_fdda207d22d8fb07_0#psfb21.[1 + PSFB21cxx . . $ `external/lame/encoder.h:105:9`!]; |
| 33 | int psfb12cxx . . $ $anonymous_type_fdda207d22d8fb07_0#psfb12.[1 + PSFB12cxx . . $ `external/lame/encoder.h:106:9`!]; |
| 34 | } scalefac_structcxx . . $ scalefac_struct#; |
| 35 | |
| 36 | |
| 37 | typedef structcxx . . $ $anonymous_type_fdda207d22d8fb07_1# { |
| 38 | FLOATcxx . . $ FLOAT# lcxx . . $ $anonymous_type_fdda207d22d8fb07_1#l.[SBMAX_lcxx . . $ `external/lame/encoder.h:103:9`!]; |
| 39 | FLOATcxx . . $ FLOAT# scxx . . $ $anonymous_type_fdda207d22d8fb07_1#s.[SBMAX_scxx . . $ `external/lame/encoder.h:104:9`!][3]; |
| 40 | } III_psy_xmincxx . . $ III_psy_xmin#; |
| 41 | |
| 42 | typedef structcxx . . $ $anonymous_type_fdda207d22d8fb07_2# { |
| 43 | III_psy_xmincxx . . $ III_psy_xmin# thmcxx . . $ $anonymous_type_fdda207d22d8fb07_2#thm.; |
| 44 | III_psy_xmincxx . . $ III_psy_xmin# encxx . . $ $anonymous_type_fdda207d22d8fb07_2#en.; |
| 45 | } III_psy_ratiocxx . . $ III_psy_ratio#; |
| 46 | |
| 47 | typedef structcxx . . $ $anonymous_type_fdda207d22d8fb07_3# { |
| 48 | FLOATcxx . . $ FLOAT# xrcxx . . $ $anonymous_type_fdda207d22d8fb07_3#xr.[576]; |
| 49 | int l3_enccxx . . $ $anonymous_type_fdda207d22d8fb07_3#l3_enc.[576]; |
| 50 | int scalefaccxx . . $ $anonymous_type_fdda207d22d8fb07_3#scalefac.[SFBMAXcxx . . $ `external/lame/l3side.h:26:9`!]; |
| 51 | FLOATcxx . . $ FLOAT# xrpow_maxcxx . . $ $anonymous_type_fdda207d22d8fb07_3#xrpow_max.; |
| 52 | |
| 53 | int part2_3_lengthcxx . . $ $anonymous_type_fdda207d22d8fb07_3#part2_3_length.; |
| 54 | int big_valuescxx . . $ $anonymous_type_fdda207d22d8fb07_3#big_values.; |
| 55 | int count1cxx . . $ $anonymous_type_fdda207d22d8fb07_3#count1.; |
| 56 | int global_gaincxx . . $ $anonymous_type_fdda207d22d8fb07_3#global_gain.; |
| 57 | int scalefac_compresscxx . . $ $anonymous_type_fdda207d22d8fb07_3#scalefac_compress.; |
| 58 | int block_typecxx . . $ $anonymous_type_fdda207d22d8fb07_3#block_type.; |
| 59 | int mixed_block_flagcxx . . $ $anonymous_type_fdda207d22d8fb07_3#mixed_block_flag.; |
| 60 | int table_selectcxx . . $ $anonymous_type_fdda207d22d8fb07_3#table_select.[3]; |
| 61 | int subblock_gaincxx . . $ $anonymous_type_fdda207d22d8fb07_3#subblock_gain.[3 + 1]; |
| 62 | int region0_countcxx . . $ $anonymous_type_fdda207d22d8fb07_3#region0_count.; |
| 63 | int region1_countcxx . . $ $anonymous_type_fdda207d22d8fb07_3#region1_count.; |
| 64 | int preflagcxx . . $ $anonymous_type_fdda207d22d8fb07_3#preflag.; |
| 65 | int scalefac_scalecxx . . $ $anonymous_type_fdda207d22d8fb07_3#scalefac_scale.; |
| 66 | int count1table_selectcxx . . $ $anonymous_type_fdda207d22d8fb07_3#count1table_select.; |
| 67 | |
| 68 | int part2_lengthcxx . . $ $anonymous_type_fdda207d22d8fb07_3#part2_length.; |
| 69 | int sfb_lmaxcxx . . $ $anonymous_type_fdda207d22d8fb07_3#sfb_lmax.; |
| 70 | int sfb_smincxx . . $ $anonymous_type_fdda207d22d8fb07_3#sfb_smin.; |
| 71 | int psy_lmaxcxx . . $ $anonymous_type_fdda207d22d8fb07_3#psy_lmax.; |
| 72 | int sfbmaxcxx . . $ $anonymous_type_fdda207d22d8fb07_3#sfbmax.; |
| 73 | int psymaxcxx . . $ $anonymous_type_fdda207d22d8fb07_3#psymax.; |
| 74 | int sfbdividecxx . . $ $anonymous_type_fdda207d22d8fb07_3#sfbdivide.; |
| 75 | int widthcxx . . $ $anonymous_type_fdda207d22d8fb07_3#width.[SFBMAXcxx . . $ `external/lame/l3side.h:26:9`!]; |
| 76 | int windowcxx . . $ $anonymous_type_fdda207d22d8fb07_3#window.[SFBMAXcxx . . $ `external/lame/l3side.h:26:9`!]; |
| 77 | int count1bitscxx . . $ $anonymous_type_fdda207d22d8fb07_3#count1bits.; |
| 78 | /* added for LSF */ |
| 79 | const int *sfb_partition_tablecxx . . $ $anonymous_type_fdda207d22d8fb07_3#sfb_partition_table.; |
| 80 | int slencxx . . $ $anonymous_type_fdda207d22d8fb07_3#slen.[4]; |
| 81 | |
| 82 | int max_nonzero_coeffcxx . . $ $anonymous_type_fdda207d22d8fb07_3#max_nonzero_coeff.; |
| 83 | char energy_above_cutoffcxx . . $ $anonymous_type_fdda207d22d8fb07_3#energy_above_cutoff.[SFBMAXcxx . . $ `external/lame/l3side.h:26:9`!]; |
| 84 | } gr_infocxx . . $ gr_info#; |
| 85 | |
| 86 | typedef structcxx . . $ $anonymous_type_fdda207d22d8fb07_4# { |
| 87 | gr_infocxx . . $ gr_info# ttcxx . . $ $anonymous_type_fdda207d22d8fb07_4#tt.[2][2]; |
| 88 | int main_data_begincxx . . $ $anonymous_type_fdda207d22d8fb07_4#main_data_begin.; |
| 89 | int private_bitscxx . . $ $anonymous_type_fdda207d22d8fb07_4#private_bits.; |
| 90 | int resvDrain_precxx . . $ $anonymous_type_fdda207d22d8fb07_4#resvDrain_pre.; |
| 91 | int resvDrain_postcxx . . $ $anonymous_type_fdda207d22d8fb07_4#resvDrain_post.; |
| 92 | int scfsicxx . . $ $anonymous_type_fdda207d22d8fb07_4#scfsi.[2][4]; |
| 93 | } III_side_info_tcxx . . $ III_side_info_t#; |
| 94 | |
| 95 | #endif |