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

📄 htable.h

📁 著名的 helix realplayer 基于手机 symbian 系统的 播放器全套源代码
💻 H
📖 第 1 页 / 共 5 页
字号:
/* ***** BEGIN LICENSE BLOCK ***** 
 * Version: RCSL 1.0/RPSL 1.0 
 *  
 * Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved. 
 *      
 * The contents of this file, and the files included with this file, are 
 * subject to the current version of the RealNetworks Public Source License 
 * Version 1.0 (the "RPSL") available at 
 * http://www.helixcommunity.org/content/rpsl unless you have licensed 
 * the file under the RealNetworks Community Source License Version 1.0 
 * (the "RCSL") available at http://www.helixcommunity.org/content/rcsl, 
 * in which case the RCSL will apply. You may also obtain the license terms 
 * directly from RealNetworks.  You may not use this file except in 
 * compliance with the RPSL or, if you have a valid RCSL with RealNetworks 
 * applicable to this file, the RCSL.  Please see the applicable RPSL or 
 * RCSL for the rights, obligations and limitations governing use of the 
 * contents of the file.  
 *  
 * This file is part of the Helix DNA Technology. RealNetworks is the 
 * developer of the Original Code and owns the copyrights in the portions 
 * it created. 
 *  
 * This file, and the files included with this file, is distributed and made 
 * available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 
 * EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL SUCH WARRANTIES, 
 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS 
 * FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 
 * 
 * Technology Compatibility Kit Test Suite(s) Location: 
 *    http://www.helixcommunity.org/content/tck 
 * 
 * Contributor(s): 
 *  
 * ***** END LICENSE BLOCK ***** */ 

/* JR - made tables const */

/* TABLE  1    4 entries  maxbits  3  linbits  0 */
static const 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 const 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 const 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 const 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 const 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 const 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 */
 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 */
 0xFF000004, 0x04050502, 0x04050402, 0x04040502, 0x04030502, /* 69 */
 0x03050302, 0x03050302, 0x03040402, 0x03040402, 0x03050202, /* 74 */
 0x03050202, 0x03020502, 0x03020502, 0x02050102, 0x02050102, /* 79 */
 0x02050102, 0x02050102, 0xFF000003, 0x02010502, 0x02010502, /* 84 */
 0x03050001, 0x03040302, 0x02000501, 0x02000501, 0x03030402, /* 89 */
 0x03030302, 0xFF000002, 0x02040202, 0x02020402, 0x01040102, /* 94 */
 0x01040102, 0xFF000001, 0x01010402, 0x01000401, 0xFF000002, /* 99 */
 0x02040001, 0x02030202, 0x02020302, 0x02030001, 0xFF000001, /* 104 */
 0x01030102, 0x01010302, 0xFF000001, 0x01000301, 0x01020202, /* 109 */  };
/* max table bits  6 */

/* TABLE  8   36 entries  maxbits 11  linbits  0 */
static const HUFF_ELEMENT huff_table_8[] = {
 0xFF000008, 0x00000101, 0x0000010A, 0x0000010F, 0x08050102, /*  4 */
 0x08010502, 0x00000112, 0x00000115, 0x08040202, 0x08020402, /*  9 */

⌨️ 快捷键说明

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