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

📄 huffman.h

📁 VC写的MP3解码源码和Layer3编码源码
💻 H
字号:
/**********************************************************************Copyright (c) 1991 MPEG/audio software simulation group, All Rights Reservedhuffman.h**********************************************************************//********************************************************************** * MPEG/audio coding/decoding software, work in progress              * *   NOT for public distribution until verified and approved by the   * *   MPEG/audio committee.  For further information, please contact   * *   Chad Fogg email: <cfogg@xenon.com>                               * *                                                                    * * VERSION 4.1                                                        * *   changes made since last update:                                  * *   date   programmers                comment                        * *  27.2.92 F.O.Witte (ITT Intermetall)				      * *  8/24/93 M. Iwadare          Changed for 1 pass decoding.          * *  7/14/94 J. Koller		useless 'typedef' before huffcodetab  * *				removed				      * *********************************************************************/	 #define HUFFBITS unsigned long int#define HTN	34#define MXOFF	250 struct huffcodetab {  char tablename[3];	/*string, containing table_description	*/  unsigned int xlen; 	/*max. x-index+			      	*/   unsigned int ylen;	/*max. y-index+				*/  unsigned int linbits; /*number of linbits			*/  unsigned int linmax;	/*max number to be stored in linbits	*/  int ref;		/*a positive value indicates a reference*/  HUFFBITS *table;	/*pointer to array[xlen][ylen]		*/  unsigned char *hlen;	/*pointer to array[xlen][ylen]		*/  unsigned char(*val)[2];/*decoder tree				*/   unsigned int treelen;	/*length of decoder tree		*/};extern struct huffcodetab ht[HTN];/* global memory block		*/				/* array of all huffcodtable headers	*/				/* 0..31 Huffman code table 0..31	*/				/* 32,33 count1-tables			*/extern int read_decoder_table(FILE *);extern int huffman_decoder(struct huffcodetab *, int *, int*, int*, int*);

⌨️ 快捷键说明

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