| 1 | /* |
| 2 | * GTK plotting routines source 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_GTKANAL_H |
| 23 | #define LAME_GTKANAL_Hcxx . . $ `external/lame/lame-analysis.h:23:9`! |
| 24 | |
| 25 | |
| 26 | #define READ_AHEADcxx . . $ `external/lame/lame-analysis.h:26:9`! 40 /* number of frames to read ahead */ |
| 27 | #define MAXMPGLAGcxx . . $ `external/lame/lame-analysis.h:27:9`! READ_AHEAD /* if the mpg123 lag becomes bigger than this |
| 28 | we have to stop */ |
| 29 | #define NUMBACKcxx . . $ `external/lame/lame-analysis.h:29:9`! 6 /* number of frames we can back up */ |
| 30 | #define NUMPINFOcxx . . $ `external/lame/lame-analysis.h:30:9`! (NUMBACK+READ_AHEAD+1) |
| 31 | |
| 32 | |
| 33 | |
| 34 | struct plotting_datacxx . . $ plotting_data# { |
| 35 | int frameNumcxx . . $ plotting_data#frameNum.; /* current frame number */ |
| 36 | int frameNum123cxx . . $ plotting_data#frameNum123.; |
| 37 | int num_samplescxx . . $ plotting_data#num_samples.; /* number of pcm samples read for this frame */ |
| 38 | double frametimecxx . . $ plotting_data#frametime.; /* starting time of frame, in seconds */ |
| 39 | double pcmdatacxx . . $ plotting_data#pcmdata.[2][1600]; |
| 40 | double pcmdata2cxx . . $ plotting_data#pcmdata2.[2][1152 + 1152 - DECDELAYcxx . . $ `external/lame/encoder.h:89:9`!]; |
| 41 | double xrcxx . . $ plotting_data#xr.[2][2][576]; |
| 42 | double mpg123xrcxx . . $ plotting_data#mpg123xr.[2][2][576]; |
| 43 | double ms_ratiocxx . . $ plotting_data#ms_ratio.[2]; |
| 44 | double ms_ener_ratiocxx . . $ plotting_data#ms_ener_ratio.[2]; |
| 45 | |
| 46 | /* L,R, M and S values */ |
| 47 | double energy_savecxx . . $ plotting_data#energy_save.[4][BLKSIZEcxx . . $ `external/lame/encoder.h:111:9`!]; /* psymodel is one ahead */ |
| 48 | double energycxx . . $ plotting_data#energy.[2][4][BLKSIZEcxx . . $ `external/lame/encoder.h:111:9`!]; |
| 49 | double pecxx . . $ plotting_data#pe.[2][4]; |
| 50 | double thrcxx . . $ plotting_data#thr.[2][4][SBMAX_lcxx . . $ `external/lame/encoder.h:103:9`!]; |
| 51 | double encxx . . $ plotting_data#en.[2][4][SBMAX_lcxx . . $ `external/lame/encoder.h:103:9`!]; |
| 52 | double thr_scxx . . $ plotting_data#thr_s.[2][4][3 * SBMAX_scxx . . $ `external/lame/encoder.h:104:9`!]; |
| 53 | double en_scxx . . $ plotting_data#en_s.[2][4][3 * SBMAX_scxx . . $ `external/lame/encoder.h:104:9`!]; |
| 54 | double ers_savecxx . . $ plotting_data#ers_save.[4]; /* psymodel is one ahead */ |
| 55 | double erscxx . . $ plotting_data#ers.[2][4]; |
| 56 | |
| 57 | double sfbcxx . . $ plotting_data#sfb.[2][2][SBMAX_lcxx . . $ `external/lame/encoder.h:103:9`!]; |
| 58 | double sfb_scxx . . $ plotting_data#sfb_s.[2][2][3 * SBMAX_scxx . . $ `external/lame/encoder.h:104:9`!]; |
| 59 | double LAMEsfbcxx . . $ plotting_data#LAMEsfb.[2][2][SBMAX_lcxx . . $ `external/lame/encoder.h:103:9`!]; |
| 60 | double LAMEsfb_scxx . . $ plotting_data#LAMEsfb_s.[2][2][3 * SBMAX_scxx . . $ `external/lame/encoder.h:104:9`!]; |
| 61 | |
| 62 | int LAMEqsscxx . . $ plotting_data#LAMEqss.[2][2]; |
| 63 | int qsscxx . . $ plotting_data#qss.[2][2]; |
| 64 | int big_valuescxx . . $ plotting_data#big_values.[2][2]; |
| 65 | int sub_gaincxx . . $ plotting_data#sub_gain.[2][2][3]; |
| 66 | |
| 67 | double xfsfcxx . . $ plotting_data#xfsf.[2][2][SBMAX_lcxx . . $ `external/lame/encoder.h:103:9`!]; |
| 68 | double xfsf_scxx . . $ plotting_data#xfsf_s.[2][2][3 * SBMAX_scxx . . $ `external/lame/encoder.h:104:9`!]; |
| 69 | |
| 70 | int overcxx . . $ plotting_data#over.[2][2]; |
| 71 | double tot_noisecxx . . $ plotting_data#tot_noise.[2][2]; |
| 72 | double max_noisecxx . . $ plotting_data#max_noise.[2][2]; |
| 73 | double over_noisecxx . . $ plotting_data#over_noise.[2][2]; |
| 74 | int over_SSDcxx . . $ plotting_data#over_SSD.[2][2]; |
| 75 | int blocktypecxx . . $ plotting_data#blocktype.[2][2]; |
| 76 | int scalefac_scalecxx . . $ plotting_data#scalefac_scale.[2][2]; |
| 77 | int preflagcxx . . $ plotting_data#preflag.[2][2]; |
| 78 | int mpg123blocktypecxx . . $ plotting_data#mpg123blocktype.[2][2]; |
| 79 | int mixedcxx . . $ plotting_data#mixed.[2][2]; |
| 80 | int mainbitscxx . . $ plotting_data#mainbits.[2][2]; |
| 81 | int sfbitscxx . . $ plotting_data#sfbits.[2][2]; |
| 82 | int LAMEmainbitscxx . . $ plotting_data#LAMEmainbits.[2][2]; |
| 83 | int LAMEsfbitscxx . . $ plotting_data#LAMEsfbits.[2][2]; |
| 84 | int framesizecxx . . $ plotting_data#framesize., stereocxx . . $ plotting_data#stereo., jscxx . . $ plotting_data#js., ms_stereocxx . . $ plotting_data#ms_stereo., i_stereocxx . . $ plotting_data#i_stereo., emphcxx . . $ plotting_data#emph., bitratecxx . . $ plotting_data#bitrate., sampfreqcxx . . $ plotting_data#sampfreq., maindatacxx . . $ plotting_data#maindata.; |
| 85 | int crccxx . . $ plotting_data#crc., paddingcxx . . $ plotting_data#padding.; |
| 86 | int scfsicxx . . $ plotting_data#scfsi.[2], mean_bitscxx . . $ plotting_data#mean_bits., resvsizecxx . . $ plotting_data#resvsize.; |
| 87 | int totbitscxx . . $ plotting_data#totbits.; |
| 88 | }; |
| 89 | #ifndef plotting_data_definedcxx . . $ `external/lame/util.h:115:9`! |
| 90 | #define plotting_data_defined |
| 91 | typedef struct plotting_data plotting_data; |
| 92 | #endif |
| 93 | #if 0 |
| 94 | extern plotting_data *pinfo; |
| 95 | #endif |
| 96 | #endif |