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

📄 htable.h

📁 这是一个mp3的源代码
💻 H
📖 第 1 页 / 共 5 页
字号:
/*____________________________________________________________________________
	
	FreeAmp - The Free MP3 Player

        MP3 Decoder originally Copyright (C) 1995-1997 Xing Technology
        Corp.  http://www.xingtech.com

	Portions Copyright (C) 1998-1999 EMusic.com

	This program is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License}, {or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program; if not}, {write to the Free Software
	Foundation}, {Inc.}, {675 Mass Ave}, {Cambridge}, {MA 02139}, {USA.
	
	$Id: htable.h,v 1.2 1999/10/19 07:13:08 elrod Exp $
____________________________________________________________________________*/

/* TABLE  1    4 entries  maxbits  3  linbits  0 */
static HUFF_ELEMENT huff_table_1[] =
{
  {0xFF000003}, {0x03010102}, {0x03010001}, {0x02000101}, {0x02000101},	/*  4 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},
};

/* max table bits  3 */

/* TABLE  2    9 entries  maxbits  6  linbits  0 */
static HUFF_ELEMENT huff_table_2[] =
{
  {0xFF000006}, {0x06020202}, {0x06020001}, {0x05020102}, {0x05020102},	/*  4 */
  {0x05010202}, {0x05010202}, {0x05000201}, {0x05000201}, {0x03010102},	/*  9 */
  {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102},	/* 14 */
  {0x03010102}, {0x03010102}, {0x03010001}, {0x03010001}, {0x03010001},	/* 19 */
  {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001},	/* 24 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101},	/* 29 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x01000000}, {0x01000000},	/* 34 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 39 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 44 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 49 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 54 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 59 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, /* 64 */
};

/* max table bits  6 */

/* TABLE  3    9 entries  maxbits  6  linbits  0 */
static HUFF_ELEMENT huff_table_3[] =
{
  {0xFF000006}, {0x06020202}, {0x06020001}, {0x05020102}, {0x05020102},	/*  4 */
  {0x05010202}, {0x05010202}, {0x05000201}, {0x05000201}, {0x03000101},	/*  9 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101},	/* 14 */
  {0x03000101}, {0x03000101}, {0x02010102}, {0x02010102}, {0x02010102},	/* 19 */
  {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102},	/* 24 */
  {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102},	/* 29 */
  {0x02010102}, {0x02010102}, {0x02010102}, {0x02010001}, {0x02010001},	/* 34 */
  {0x02010001}, {0x02010001}, {0x02010001}, {0x02010001}, {0x02010001},	/* 39 */
  {0x02010001}, {0x02010001}, {0x02010001}, {0x02010001}, {0x02010001},	/* 44 */
  {0x02010001}, {0x02010001}, {0x02010001}, {0x02010001}, {0x02000000},	/* 49 */
  {0x02000000}, {0x02000000}, {0x02000000}, {0x02000000}, {0x02000000},	/* 54 */
  {0x02000000}, {0x02000000}, {0x02000000}, {0x02000000}, {0x02000000},	/* 59 */
  {0x02000000}, {0x02000000}, {0x02000000}, {0x02000000}, {0x02000000}, /* 64 */
};

/* max table bits  6 */
/* NO XING TABLE 4 */

/* TABLE  5   16 entries  maxbits  8  linbits  0 */
static HUFF_ELEMENT huff_table_5[] =
{
  {0xFF000008}, {0x08030302}, {0x08030202}, {0x07020302}, {0x07020302},	/*  4 */
  {0x06010302}, {0x06010302}, {0x06010302}, {0x06010302}, {0x07030102},	/*  9 */
  {0x07030102}, {0x07030001}, {0x07030001}, {0x07000301}, {0x07000301},	/* 14 */
  {0x07020202}, {0x07020202}, {0x06020102}, {0x06020102}, {0x06020102},	/* 19 */
  {0x06020102}, {0x06010202}, {0x06010202}, {0x06010202}, {0x06010202},	/* 24 */
  {0x06020001}, {0x06020001}, {0x06020001}, {0x06020001}, {0x06000201},	/* 29 */
  {0x06000201}, {0x06000201}, {0x06000201}, {0x03010102}, {0x03010102},	/* 34 */
  {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102},	/* 39 */
  {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102},	/* 44 */
  {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102},	/* 49 */
  {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102},	/* 54 */
  {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102},	/* 59 */
  {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102}, {0x03010102},	/* 64 */
  {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001},	/* 69 */
  {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001},	/* 74 */
  {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001},	/* 79 */
  {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001},	/* 84 */
  {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001},	/* 89 */
  {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001},	/* 94 */
  {0x03010001}, {0x03010001}, {0x03000101}, {0x03000101}, {0x03000101},	/* 99 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101},	/* 104 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101},	/* 109 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101},	/* 114 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101},	/* 119 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101},	/* 124 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101}, {0x01000000},	/* 129 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 134 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 139 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 144 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 149 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 154 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 159 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 164 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 169 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 174 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 179 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 184 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 189 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 194 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 199 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 204 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 209 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 214 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 219 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 224 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 229 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 234 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 239 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 244 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 249 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 254 */
  {0x01000000}, {0x01000000},
};

/* max table bits  8 */

/* TABLE  6   16 entries  maxbits  7  linbits  0 */
static HUFF_ELEMENT huff_table_6[] =
{
  {0xFF000007}, {0x07030302}, {0x07030001}, {0x06030202}, {0x06030202},	/*  4 */
  {0x06020302}, {0x06020302}, {0x06000301}, {0x06000301}, {0x05030102},	/*  9 */
  {0x05030102}, {0x05030102}, {0x05030102}, {0x05010302}, {0x05010302},	/* 14 */
  {0x05010302}, {0x05010302}, {0x05020202}, {0x05020202}, {0x05020202},	/* 19 */
  {0x05020202}, {0x05020001}, {0x05020001}, {0x05020001}, {0x05020001},	/* 24 */
  {0x04020102}, {0x04020102}, {0x04020102}, {0x04020102}, {0x04020102},	/* 29 */
  {0x04020102}, {0x04020102}, {0x04020102}, {0x04010202}, {0x04010202},	/* 34 */
  {0x04010202}, {0x04010202}, {0x04010202}, {0x04010202}, {0x04010202},	/* 39 */
  {0x04010202}, {0x04000201}, {0x04000201}, {0x04000201}, {0x04000201},	/* 44 */
  {0x04000201}, {0x04000201}, {0x04000201}, {0x04000201}, {0x03010001},	/* 49 */
  {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001},	/* 54 */
  {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001},	/* 59 */
  {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001},	/* 64 */
  {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102},	/* 69 */
  {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102},	/* 74 */
  {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102},	/* 79 */
  {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102},	/* 84 */
  {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102},	/* 89 */
  {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102}, {0x02010102},	/* 94 */
  {0x02010102}, {0x02010102}, {0x03000101}, {0x03000101}, {0x03000101},	/* 99 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101},	/* 104 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101},	/* 109 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x03000000}, {0x03000000},	/* 114 */
  {0x03000000}, {0x03000000}, {0x03000000}, {0x03000000}, {0x03000000},	/* 119 */
  {0x03000000}, {0x03000000}, {0x03000000}, {0x03000000}, {0x03000000},	/* 124 */
  {0x03000000}, {0x03000000}, {0x03000000}, {0x03000000},
};

/* max table bits  7 */

/* TABLE  7   36 entries  maxbits 10  linbits  0 */
static HUFF_ELEMENT huff_table_7[] =
{
  {0xFF000006}, {0x00000041}, {0x00000052}, {0x0000005B}, {0x00000060},	/*  4 */
  {0x00000063}, {0x00000068}, {0x0000006B}, {0x06020102}, {0x05010202},	/*  9 */
  {0x05010202}, {0x06020001}, {0x06000201}, {0x04010102}, {0x04010102},	/* 14 */
  {0x04010102}, {0x04010102}, {0x03010001}, {0x03010001}, {0x03010001},	/* 19 */
  {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001}, {0x03010001},	/* 24 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101}, {0x03000101},	/* 29 */
  {0x03000101}, {0x03000101}, {0x03000101}, {0x01000000}, {0x01000000},	/* 34 */
  {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000}, {0x01000000},	/* 39 */

⌨️ 快捷键说明

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