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

📄 svq1_vlc.h

📁 Trolltech公司发布的图形界面操作系统。可在qt-embedded-2.3.10平台上编译为嵌入式图形界面操作系统。
💻 H
📖 第 1 页 / 共 2 页
字号:
/************************************************************************ Copyright (C) 2000-2005 Trolltech AS and its licensors.** All rights reserved.**** This file is part of the Qtopia Environment.**** This file may be distributed and/or modified under the terms of the** GNU General Public License version 2 as published by the Free Software** Foundation and appearing in the file LICENSE.GPL included in the** packaging of this file.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.**** See http://www.trolltech.com/gpl/ for GPL licensing information.** See below for additional copyright and license information**** Contact info@trolltech.com if any conditions of this licensing are** not clear to you.************************************************************************/#ifndef SVQ1_VLC_H#define SVQ1_VLC_H/* values in this table range from 0..3; adjust retrieved value by +0 */static const uint8_t svq1_block_type_vlc[4][2] = { /* { code, length } */    { 0x1, 1 },  { 0x1, 2 },  { 0x1, 3 },  { 0x0, 3 }    };/* values in this table range from -32..32; adjust retrieved value by -32 */static const uint16_t svq1_motion_component_vlc[65][2] = { /* { code, length } */    { 0x5, 13 },  { 0x7, 13 },  { 0x5, 12 },  { 0x7, 12 },    { 0x9, 12 },  { 0xB, 12 },  { 0xD, 12 },  { 0xF, 12 },    { 0x9, 11 },  { 0xB, 11 },  { 0xD, 11 },  { 0xF, 11 },    { 0x11, 11 },  { 0x13, 11 },  { 0x15, 11 },  { 0x17, 11 },    { 0x19, 11 },  { 0x1B, 11 },  { 0x1D, 11 },  { 0x1F, 11 },    { 0x21, 11 },  { 0x23, 11 },  { 0x13, 10 },  { 0x15, 10 },    { 0x17, 10 },  { 0x7, 8 },  { 0x9, 8 },  { 0xB, 8 },    { 0x7, 7 },  { 0x3, 5 },  { 0x3, 4 },  { 0x3, 3 },    { 0x1, 1 },  { 0x2, 3 },  { 0x2, 4 },  { 0x2, 5 },    { 0x6, 7 },  { 0xA, 8 },  { 0x8, 8 },  { 0x6, 8 },    { 0x16, 10 },  { 0x14, 10 },  { 0x12, 10 },  { 0x22, 11 },    { 0x20, 11 },  { 0x1E, 11 },  { 0x1C, 11 },  { 0x1A, 11 },    { 0x18, 11 },  { 0x16, 11 },  { 0x14, 11 },  { 0x12, 11 },    { 0x10, 11 },  { 0xE, 11 },  { 0xC, 11 },  { 0xA, 11 },    { 0x8, 11 },  { 0xE, 12 },  { 0xC, 12 },  { 0xA, 12 },    { 0x8, 12 },  { 0x6, 12 },  { 0x4, 12 },  { 0x6, 13 },    { 0x4, 13 }  };/* values in this table range from -1..6; adjust retrieved value by -1 */static const uint8_t svq1_intra_multistage_vlc[6][8][2] = { /* { code, length } */{    { 0x1, 5 },  { 0x1, 1 },  { 0x3, 3 },  { 0x2, 3 },    { 0x3, 4 },  { 0x2, 4 },  { 0x0, 5 },  { 0x1, 4 }},{    { 0x1, 4 },  { 0x3, 2 },  { 0x5, 3 },  { 0x4, 3 },    { 0x3, 3 },  { 0x2, 3 },  { 0x0, 4 },  { 0x1, 3 }},{    { 0x1, 5 },  { 0x1, 1 },  { 0x3, 3 },  { 0x0, 5 },    { 0x3, 4 },  { 0x2, 3 },  { 0x2, 4 },  { 0x1, 4 }},{    { 0x1, 6 },  { 0x1, 1 },  { 0x1, 2 },  { 0x0, 6 },    { 0x3, 4 },  { 0x2, 4 },  { 0x1, 5 },  { 0x1, 4 }},{    { 0x1, 6 },  { 0x1, 1 },  { 0x1, 2 },  { 0x3, 5 },    { 0x2, 5 },  { 0x0, 6 },  { 0x1, 5 },  { 0x1, 3 }},{    { 0x1, 7 },  { 0x1, 1 },  { 0x1, 2 },  { 0x1, 3 },    { 0x1, 4 },  { 0x1, 6 },  { 0x0, 7 },  { 0x1, 5 }}};/* values in this table range from -1..6; adjust retrieved value by -1 */static const uint8_t svq1_inter_multistage_vlc[6][8][2] = { /* { code, length } */{    { 0x3, 2 },  { 0x5, 3 },  { 0x4, 3 },  { 0x3, 3 },    { 0x2, 3 },  { 0x1, 3 },  { 0x1, 4 },  { 0x0, 4 }},{    { 0x3, 2 },  { 0x5, 3 },  { 0x4, 3 },  { 0x3, 3 },    { 0x2, 3 },  { 0x1, 3 },  { 0x1, 4 },  { 0x0, 4 }},{    { 0x1, 1 },  { 0x3, 3 },  { 0x2, 3 },  { 0x3, 4 },    { 0x2, 4 },  { 0x1, 4 },  { 0x1, 5 },  { 0x0, 5 }},{    { 0x1, 1 },  { 0x3, 3 },  { 0x2, 3 },  { 0x3, 4 },    { 0x2, 4 },  { 0x1, 4 },  { 0x1, 5 },  { 0x0, 5 }},{    { 0x1, 1 },  { 0x3, 3 },  { 0x2, 3 },  { 0x3, 4 },    { 0x2, 4 },  { 0x1, 4 },  { 0x1, 5 },  { 0x0, 5 }},{    { 0x1, 1 },  { 0x1, 2 },  { 0x1, 3 },  { 0x3, 5 },    { 0x2, 5 },  { 0x1, 5 },  { 0x1, 6 },  { 0x0, 6 }}};/* values in this table range from 0..255; adjust retrieved value by +0 */static const uint16_t svq1_intra_mean_vlc[256][2] = { /* { code, length } */    { 0x37, 6 },  { 0x56, 7 },  { 0x1, 17 },  { 0x1, 20 },    { 0x2, 20 },  { 0x3, 20 },  { 0x0, 20 },  { 0x4, 20 },    { 0x5, 20 },  { 0x3, 19 },  { 0x15, 11 },  { 0x42, 9 },    { 0x14, 11 },  { 0x3, 14 },  { 0x2, 14 },  { 0x1, 15 },    { 0x1, 16 },  { 0x1, 12 },  { 0x2B, 10 },  { 0x18, 11 },    { 0xC, 11 },  { 0x41, 9 },  { 0x78, 8 },  { 0x6C, 8 },    { 0x55, 7 },  { 0xF, 4 },  { 0xE, 4 },  { 0x34, 6 },    { 0x51, 7 },  { 0x72, 8 },  { 0x6E, 8 },  { 0x40, 9 },    { 0x3F, 9 },  { 0x3E, 9 },  { 0x3D, 9 },  { 0x3C, 9 },    { 0x3B, 9 },  { 0x3A, 9 },  { 0x39, 9 },  { 0x38, 9 },    { 0x37, 9 },  { 0x43, 9 },  { 0x46, 9 },  { 0x47, 9 },    { 0x45, 9 },  { 0x44, 9 },  { 0x49, 9 },  { 0x48, 9 },    { 0x4A, 8 },  { 0x79, 8 },  { 0x76, 8 },  { 0x77, 8 },    { 0x71, 8 },  { 0x75, 8 },  { 0x74, 8 },  { 0x73, 8 },    { 0x6A, 8 },  { 0x55, 8 },  { 0x70, 8 },  { 0x6F, 8 },    { 0x52, 8 },  { 0x6D, 8 },  { 0x4C, 8 },  { 0x6B, 8 },    { 0x40, 7 },  { 0x69, 8 },  { 0x68, 8 },  { 0x67, 8 },    { 0x66, 8 },  { 0x65, 8 },  { 0x64, 8 },  { 0x63, 8 },    { 0x62, 8 },  { 0x61, 8 },  { 0x60, 8 },  { 0x5F, 8 },    { 0x5E, 8 },  { 0x5D, 8 },  { 0x5C, 8 },  { 0x5B, 8 },    { 0x5A, 8 },  { 0x59, 8 },  { 0x58, 8 },  { 0x57, 8 },    { 0x56, 8 },  { 0x3D, 7 },  { 0x54, 8 },  { 0x53, 8 },    { 0x3F, 7 },  { 0x51, 8 },  { 0x50, 8 },  { 0x4F, 8 },    { 0x4E, 8 },  { 0x4D, 8 },  { 0x41, 7 },  { 0x4B, 8 },    { 0x53, 7 },  { 0x3E, 7 },  { 0x48, 8 },  { 0x4F, 7 },    { 0x52, 7 },  { 0x45, 8 },  { 0x50, 7 },  { 0x43, 8 },    { 0x42, 8 },  { 0x41, 8 },  { 0x42, 7 },  { 0x43, 7 },    { 0x3E, 8 },  { 0x44, 7 },  { 0x3C, 8 },  { 0x45, 7 },    { 0x46, 7 },  { 0x47, 7 },  { 0x48, 7 },  { 0x49, 7 },    { 0x4A, 7 },  { 0x4B, 7 },  { 0x4C, 7 },  { 0x4D, 7 },    { 0x4E, 7 },  { 0x58, 7 },  { 0x59, 7 },  { 0x5A, 7 },    { 0x5B, 7 },  { 0x5C, 7 },  { 0x5D, 7 },  { 0x44, 8 },    { 0x49, 8 },  { 0x29, 8 },  { 0x3F, 8 },  { 0x3D, 8 },    { 0x3B, 8 },  { 0x2C, 8 },  { 0x28, 8 },  { 0x25, 8 },    { 0x26, 8 },  { 0x5E, 7 },  { 0x57, 7 },  { 0x54, 7 },    { 0x5F, 7 },  { 0x62, 7 },  { 0x63, 7 },  { 0x64, 7 },    { 0x61, 7 },  { 0x65, 7 },  { 0x67, 7 },  { 0x66, 7 },    { 0x35, 6 },  { 0x36, 6 },  { 0x60, 7 },  { 0x39, 8 },    { 0x3A, 8 },  { 0x38, 8 },  { 0x37, 8 },  { 0x36, 8 },    { 0x35, 8 },  { 0x34, 8 },  { 0x33, 8 },  { 0x32, 8 },    { 0x31, 8 },  { 0x30, 8 },  { 0x2D, 8 },  { 0x2B, 8 },    { 0x2A, 8 },  { 0x27, 8 },  { 0x40, 8 },  { 0x46, 8 },    { 0x47, 8 },  { 0x26, 9 },  { 0x25, 9 },  { 0x24, 9 },    { 0x23, 9 },  { 0x22, 9 },  { 0x2E, 8 },  { 0x2F, 8 },    { 0x1F, 9 },  { 0x36, 9 },  { 0x1D, 9 },  { 0x21, 9 },    { 0x1B, 9 },  { 0x1C, 9 },  { 0x19, 9 },  { 0x1A, 9 },    { 0x18, 9 },  { 0x17, 9 },  { 0x16, 9 },  { 0x1E, 9 },    { 0x20, 9 },  { 0x27, 9 },  { 0x28, 9 },  { 0x29, 9 },    { 0x2A, 9 },  { 0x2B, 9 },  { 0x2C, 9 },  { 0x2D, 9 },

⌨️ 快捷键说明

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