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

📄 encoder.h

📁 MP3编码程序和资料
💻 H
字号:
#ifndef ENCODER_DOT_H#define ENCODER_DOT_H/*************************************************************************  encoder and decoder delays************************************************************************//* layerIII enc->dec delay:  1056    (observed)layerII  enc->dec dealy:   480    (observed)polyphase 256-16             (dec or enc)        = 240mdct      256+32  (9*32)     (dec or enc)        = 288total:    512+16*//* ENCDELAY  The encoder delay.     Minimum allowed is MDCTDELAY (see below)      The first 96 samples will be attenuated, so using a value   less than 96 will result in corrupt data for the first 96-ENCDELAY   samples.    suggested: 576   set to 1160 to sync with FhG.*/#define ENCDELAY 576/* delay of the MDCT used in mdct.c *//* original ISO routiens had a delay of 528!  Takehiro's routines: */#define MDCTDELAY 48  #define FFTOFFSET (224+MDCTDELAY)/*Most decoders, including the one we use,  have a delay of 528 samples.  */#define DECDELAY 528/* number of subbands */#define         SBLIMIT                 32/* parition bands bands */#define CBANDS          64/* number of critical bands/scale factor bands where masking is computed*/#define SBPSY_l 21#define SBPSY_s 12/* total number of scalefactor bands encoded */#define SBMAX_l 22#define SBMAX_s 13/* FFT sizes */#define BLKSIZE         1024#define HBLKSIZE        513#define BLKSIZE_s 256#define HBLKSIZE_s 129/* #define switch_pe        1800 */#define NORM_TYPE       0#define START_TYPE      1#define SHORT_TYPE      2#define STOP_TYPE       3#endif

⌨️ 快捷键说明

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