⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tf_mainstruct.h

📁 C写的MPEG4音频源代码(G.723/G.729)
💻 H
字号:
/************************* MPEG-2 NBC Audio Decoder ************************** *                                                                           * "This software module was originally developed by  Fraunhofer Gesellschaft IIS / University of Erlangen (UER) and edited by in the course of  development of the MPEG-2 NBC/MPEG-4 Audio standard ISO/IEC 13818-7,  14496-1,2 and 3. This software module is an implementation of a part of one or more  MPEG-2 NBC/MPEG-4 Audio tools as specified by the MPEG-2 NBC/MPEG-4  Audio standard. ISO/IEC  gives users of the MPEG-2 NBC/MPEG-4 Audio  standards free license to this software module or modifications thereof for use in  hardware or software products claiming conformance to the MPEG-2 NBC/MPEG-4 Audio  standards. Those intending to use this software module in hardware or  software products are advised that this use may infringe existing patents.  The original developer of this software module and his/her company, the subsequent  editors and their companies, and ISO/IEC have no liability for use of this software  module or modifications thereof in an implementation. Copyright is not released for  non MPEG-2 NBC/MPEG-4 Audio conforming products.The original developer retains full right to use the code for his/her  own purpose, assign or donate the  code to a third party and to inhibit third party from using the code for non  MPEG-2 NBC/MPEG-4 Audio conforming products. This copyright notice must be included in all copies or derivative works."  Copyright(c)1999. *                                                                           * ****************************************************************************/#ifndef _TF_MAIN_STRUCT_H_INCLUDED#define _TF_MAIN_STRUCT_H_INCLUDED#include "concealmentHandle.h"   /* handler */#include "mod_bufHandle.h"       /* handler */#include "reorderspecHandle.h"   /* handler */#include "nok_ltp_common.h"      /* defines, typedefs */ typedef struct{  int       islong;                     /* true if long block */  int       nsbk;                       /* sub-blocks (SB) per block */  int       bins_per_bk;                /* coef's per block */  int       sfb_per_bk;                 /* sfb per block */  int       bins_per_sbk[MAX_SBK];      /* coef's per SB */  int       sfb_per_sbk[MAX_SBK];       /* sfb per SB */  int       sectbits[MAX_SBK];          /* 5 for long, 3 for short */  short*    sbk_sfb_top[MAX_SBK];       /* top coef per sfb per SB */  short*    sfb_width_short;            /* sfb width for short blocks */  short     bk_sfb_top[200];            /* cum version of above */  int       num_groups;  short     group_len[8];  short     group_offs[8];  int       shortFssWidth;  int       longFssGroups;} Info;typedef struct {  int                  tnsBevCore;  int                  output_select;  double*              time_sample_vector[MAX_TIME_CHANNELS];  double*              spectral_line_vector[MAX_TF_LAYER][MAX_TIME_CHANNELS];  WINDOW_SHAPE         windowShape[MAX_TIME_CHANNELS];  WINDOW_SHAPE         prev_windowShape[MAX_TIME_CHANNELS];  WINDOW_SEQUENCE      windowSequence[MAX_TIME_CHANNELS];  double*              overlap_buffer[MAX_TIME_CHANNELS];  NOK_LT_PRED_STATUS*  nok_lt_status[MAX_TIME_CHANNELS];  PRED_TYPE            pred_type;  Info**               sfbInfo;  int                  block_size_samples;  float*               sampleBuf[MAX_TIME_CHANNELS];  HANDLE_MODULO_BUFFER coreModuloBuffer;  double**             mdct_overlap_buffer;  WINDOW_SEQUENCE      windowSequenceLast[MAX_TIME_CHANNELS];  int                  samplFreqFacCore;  int                  tfSamplRate;  int                  decoded_bits;} TF_DATA;#endif  /* #ifndef _TF_STRUCT_MAIN_H_INCLUDED */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -