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

📄 sbrdec_huff_tables.c

📁 这是在PCA下的基于IPP库示例代码例子,在网上下了IPP的库之后,设置相关参数就可以编译该代码.
💻 C
📖 第 1 页 / 共 2 页
字号:
/*//////////////////////////////////////////////////////////////////////////////////                  INTEL CORPORATION PROPRIETARY INFORMATION//     This software is supplied under the terms of a license agreement or//     nondisclosure agreement with Intel Corporation and may not be copied//     or disclosed except in accordance with the terms of that agreement.//          Copyright(c) 2005 Intel Corporation. All Rights Reserved.//*/#include "sbrdec_huftabs.h"int vlcSbrTableSizes[] = {  121, 121, 49, 49, 63, 63, 25, 25, 63, 25};int vlcSbrNumSubTables[] = {  3, 4, 3, 3, 3, 4, 2, 2, 2, 2};static int vlcSbrSubTablesSizes0[]  = {6, 6, 7};static int vlcSbrSubTablesSizes1[]  = {5, 5, 5, 5};static int vlcSbrSubTablesSizes2[]  = {6, 6, 5};static int vlcSbrSubTablesSizes3[]  = {6, 6, 7};static int vlcSbrSubTablesSizes4[]  = {6, 6, 7};static int vlcSbrSubTablesSizes5[]  = {5, 5, 5, 5};static int vlcSbrSubTablesSizes6[]  = {7, 7};static int vlcSbrSubTablesSizes7[]  = {7, 7};static int vlcSbrSubTablesSizes8[]  = {7, 7};static int vlcSbrSubTablesSizes9[]  = {4, 4};int *vlcSbrSubTablesSizes[] = {  vlcSbrSubTablesSizes0, vlcSbrSubTablesSizes1, vlcSbrSubTablesSizes2,  vlcSbrSubTablesSizes3, vlcSbrSubTablesSizes4, vlcSbrSubTablesSizes5,  vlcSbrSubTablesSizes6, vlcSbrSubTablesSizes7, vlcSbrSubTablesSizes8,  vlcSbrSubTablesSizes9};// 0static IppsVLCTable_32s ipp_t_huffman_env_1_5dB[] = {  {   59, 0x00000001,  2},  {   60, 0x00000000,  2},  {   58, 0x00000005,  3},  {   61, 0x00000004,  3},  {   57, 0x0000000d,  4},  {   62, 0x0000000c,  4},  {   56, 0x0000001d,  5},  {   63, 0x0000001c,  5},  {   55, 0x0000003d,  6},  {   64, 0x0000003c,  6},  {   54, 0x0000007d,  7},  {   65, 0x0000007c,  7},  {   53, 0x000000fd,  8},  {   66, 0x000000fc,  8},  {   52, 0x000001fd,  9},  {   67, 0x000001fc,  9},  {   51, 0x000003fc, 10},  {   68, 0x000003fd, 10},  {   50, 0x000007fc, 11},  {   49, 0x00000ffb, 12},  {   69, 0x00000ffa, 12},  {   47, 0x00001ffa, 13},  {   48, 0x00001ff9, 13},  {   70, 0x00001ff8, 13},  {   45, 0x00003ff9, 14},  {   46, 0x00003ff7, 14},  {   71, 0x00003ff6, 14},  {   72, 0x00003ff8, 14},  {   44, 0x00007ff4, 15},  {   73, 0x00007ff5, 15},  {   36, 0x0000fff0, 16},  {   40, 0x0000fff1, 16},  {   41, 0x0000ffec, 16},  {   42, 0x0000ffed, 16},  {   43, 0x0000ffee, 16},  {   74, 0x0000ffef, 16},  {   76, 0x0000fff2, 16},  {   34, 0x0001ffe6, 17},  {   37, 0x0001ffe9, 17},  {   39, 0x0001ffe7, 17},  {   75, 0x0001ffe8, 17},  {    0, 0x0003ffd6, 18},  {    1, 0x0003ffd7, 18},  {    2, 0x0003ffd8, 18},  {    3, 0x0003ffd9, 18},  {    4, 0x0003ffda, 18},  {    5, 0x0003ffdb, 18},  {   35, 0x0003ffd4, 18},  {   38, 0x0003ffd5, 18},  {    6, 0x0007ffb8, 19},  {    7, 0x0007ffb9, 19},  {    8, 0x0007ffba, 19},  {    9, 0x0007ffbb, 19},  {   10, 0x0007ffbc, 19},  {   11, 0x0007ffbd, 19},  {   12, 0x0007ffbe, 19},  {   13, 0x0007ffbf, 19},  {   14, 0x0007ffc0, 19},  {   15, 0x0007ffc1, 19},  {   16, 0x0007ffc2, 19},  {   17, 0x0007ffc3, 19},  {   18, 0x0007ffc4, 19},  {   19, 0x0007ffc5, 19},  {   20, 0x0007ffc6, 19},  {   21, 0x0007ffc7, 19},  {   22, 0x0007ffc8, 19},  {   23, 0x0007ffc9, 19},  {   24, 0x0007ffca, 19},  {   25, 0x0007ffcb, 19},  {   26, 0x0007ffcc, 19},  {   27, 0x0007ffcd, 19},  {   28, 0x0007ffce, 19},  {   29, 0x0007ffcf, 19},  {   30, 0x0007ffd0, 19},  {   31, 0x0007ffd1, 19},  {   32, 0x0007ffd2, 19},  {   33, 0x0007ffd3, 19},  {   77, 0x0007ffd4, 19},  {   78, 0x0007ffd5, 19},  {   79, 0x0007ffd6, 19},  {   80, 0x0007ffd7, 19},  {   81, 0x0007ffd8, 19},  {   82, 0x0007ffd9, 19},  {   83, 0x0007ffda, 19},  {   84, 0x0007ffdb, 19},  {   85, 0x0007ffdc, 19},  {   86, 0x0007ffdd, 19},  {   87, 0x0007ffde, 19},  {   88, 0x0007ffdf, 19},  {   89, 0x0007ffe0, 19},  {   90, 0x0007ffe1, 19},  {   91, 0x0007ffe2, 19},  {   92, 0x0007ffe3, 19},  {   93, 0x0007ffe4, 19},  {   94, 0x0007ffe5, 19},  {   95, 0x0007ffe6, 19},  {   96, 0x0007ffe7, 19},  {   97, 0x0007ffe8, 19},  {   98, 0x0007ffe9, 19},  {   99, 0x0007ffea, 19},  {  100, 0x0007ffeb, 19},  {  101, 0x0007ffec, 19},  {  102, 0x0007ffed, 19},  {  103, 0x0007ffee, 19},  {  104, 0x0007ffef, 19},  {  105, 0x0007fff0, 19},  {  106, 0x0007fff1, 19},  {  107, 0x0007fff2, 19},  {  108, 0x0007fff3, 19},  {  109, 0x0007fff4, 19},  {  110, 0x0007fff5, 19},  {  111, 0x0007fff6, 19},  {  112, 0x0007fff7, 19},  {  113, 0x0007fff8, 19},  {  114, 0x0007fff9, 19},  {  115, 0x0007fffa, 19},  {  116, 0x0007fffb, 19},  {  117, 0x0007fffc, 19},  {  118, 0x0007fffd, 19},  {  119, 0x0007fffe, 19},  {  120, 0x0007ffff, 19},};//-------------------------------------// 1static IppsVLCTable_32s ipp_f_huffman_env_1_5dB[] = {  {   59, 0x00000001,  2},  {   60, 0x00000000,  2},  {   58, 0x00000005,  3},  {   61, 0x00000004,  3},  {   57, 0x0000000c,  4},  {   62, 0x0000000d,  4},  {   56, 0x0000001c,  5},  {   63, 0x0000001d,  5},  {   55, 0x0000003c,  6},  {   64, 0x0000003d,  6},  {   54, 0x0000007c,  7},  {   53, 0x000000fb,  8},  {   65, 0x000000fa,  8},  {   66, 0x000000fc,  8},  {   51, 0x000001fc,  9},  {   52, 0x000001fa,  9},  {   67, 0x000001fb,  9},  {   50, 0x000003fb, 10},  {   68, 0x000003fa, 10},  {   49, 0x000007f9, 11},  {   69, 0x000007f8, 11},  {   70, 0x000007fa, 11},  {   71, 0x000007fb, 11},  {   47, 0x00000ffa, 12},  {   48, 0x00000ff8, 12},  {   72, 0x00000ff9, 12},  {   73, 0x00000ffb, 12},  {   45, 0x00001ffa, 13},  {   46, 0x00001ff9, 13},  {   74, 0x00001ff8, 13},  {   75, 0x00001ffb, 13},  {   44, 0x00003ffa, 14},  {   76, 0x00003ff8, 14},  {   77, 0x00003ff9, 14},  {   42, 0x00007ff7, 15},  {   43, 0x00007ff6, 15},  {   39, 0x0000fff4, 16},  {   40, 0x0000fff3, 16},  {   41, 0x0000fff0, 16},  {   78, 0x0000fff1, 16},  {   79, 0x0000fff2, 16},  {   34, 0x0001ffef, 17},  {   36, 0x0001ffec, 17},  {   37, 0x0001ffed, 17},  {   38, 0x0001ffee, 17},  {   80, 0x0001ffea, 17},  {   81, 0x0001ffeb, 17},  {   19, 0x0003ffe4, 18},  {   30, 0x0003ffe8, 18},  {   32, 0x0003ffe0, 18},  {   33, 0x0003ffe9, 18},  {   35, 0x0003ffe5, 18},  {   82, 0x0003ffe1, 18},  {   83, 0x0003ffe2, 18},  {   84, 0x0003ffea, 18},  {   85, 0x0003ffe3, 18},  {   86, 0x0003ffe6, 18},  {   87, 0x0003ffe7, 18},  {   88, 0x0003ffeb, 18},  {  104, 0x0003ffec, 18},  {    0, 0x0007ffe7, 19},  {    1, 0x0007ffe8, 19},  {    9, 0x0007ffda, 19},  {   14, 0x0007ffdb, 19},  {   16, 0x0007ffdc, 19},  {   17, 0x0007ffdd, 19},  {   23, 0x0007ffde, 19},  {   27, 0x0007ffdf, 19},  {   29, 0x0007ffe0, 19},  {   31, 0x0007ffe1, 19},  {   90, 0x0007ffe2, 19},  {   97, 0x0007ffe3, 19},  {  102, 0x0007ffe4, 19},  {  107, 0x0007ffe5, 19},  {  108, 0x0007ffe6, 19},  {    2, 0x000fffd2, 20},  {    3, 0x000fffd3, 20},  {    4, 0x000fffd4, 20},  {    5, 0x000fffd5, 20},  {    6, 0x000fffd6, 20},  {    7, 0x000fffd7, 20},  {    8, 0x000fffd8, 20},  {   10, 0x000fffd9, 20},  {   11, 0x000fffda, 20},  {   12, 0x000fffdb, 20},  {   13, 0x000fffdc, 20},  {   15, 0x000fffdd, 20},  {   18, 0x000fffde, 20},  {   20, 0x000fffdf, 20},  {   21, 0x000fffe0, 20},  {   22, 0x000fffe1, 20},  {   24, 0x000fffe2, 20},  {   25, 0x000fffe3, 20},  {   26, 0x000fffe4, 20},  {   28, 0x000fffe5, 20},  {   89, 0x000fffe6, 20},  {   91, 0x000fffe7, 20},  {   92, 0x000fffe8, 20},  {   93, 0x000fffe9, 20},  {   94, 0x000fffea, 20},  {   95, 0x000fffeb, 20},  {   96, 0x000fffec, 20},  {   98, 0x000fffed, 20},  {   99, 0x000fffee, 20},  {  100, 0x000fffef, 20},  {  101, 0x000ffff0, 20},  {  103, 0x000ffff1, 20},  {  105, 0x000ffff2, 20},  {  106, 0x000ffff3, 20},  {  109, 0x000ffff4, 20},  {  110, 0x000ffff5, 20},  {  111, 0x000ffff6, 20},  {  112, 0x000ffff7, 20},  {  113, 0x000ffff8, 20},  {  114, 0x000ffff9, 20},  {  115, 0x000ffffa, 20},  {  116, 0x000ffffb, 20},  {  117, 0x000ffffc, 20},  {  118, 0x000ffffd, 20},  {  119, 0x000ffffe, 20},  {  120, 0x000fffff, 20},};//-------------------------------------// 2static IppsVLCTable_32s ipp_t_huffman_env_bal_1_5dB[] = {  {   24, 0x00000000,  1},  {   25, 0x00000002,  2},  {   23, 0x00000006,  3},  {   26, 0x0000000e,  4},  {   22, 0x0000001e,  5},  {   27, 0x0000003e,  6},  {   21, 0x0000007e,  7},  {   28, 0x000000fe,  8},  {   20, 0x000001fe,  9},  {   19, 0x000007fc, 11},  {   29, 0x000007fd, 11},  {   18, 0x00000ffc, 12},  {   30, 0x00000ffd, 12},  {   31, 0x00007ff0, 15},  {    0, 0x0000ffe4, 16},  {    1, 0x0000ffe5, 16},  {    2, 0x0000ffe6, 16},  {    3, 0x0000ffe7, 16},  {    4, 0x0000ffe8, 16},  {    5, 0x0000ffe9, 16},  {    6, 0x0000ffea, 16},  {    7, 0x0000ffeb, 16},  {    8, 0x0000ffec, 16},  {    9, 0x0000ffed, 16},  {   10, 0x0000ffee, 16},  {   11, 0x0000ffef, 16},  {   12, 0x0000fff0, 16},  {   13, 0x0000fff1, 16},  {   14, 0x0000fff2, 16},  {   15, 0x0000fff3, 16},  {   16, 0x0000fff4, 16},  {   17, 0x0000ffe2, 16},  {   32, 0x0000ffe3, 16},  {   33, 0x0000fff5, 16},  {   34, 0x0000fff6, 16},  {   35, 0x0000fff7, 16},  {   36, 0x0000fff8, 16},  {   37, 0x0000fff9, 16},  {   38, 0x0000fffa, 16},  {   39, 0x0001fff6, 17},  {   40, 0x0001fff7, 17},  {   41, 0x0001fff8, 17},  {   42, 0x0001fff9, 17},  {   43, 0x0001fffa, 17},  {   44, 0x0001fffb, 17},  {   45, 0x0001fffc, 17},  {   46, 0x0001fffd, 17},  {   47, 0x0001fffe, 17},  {   48, 0x0001ffff, 17},};//-------------------------------------// 3static IppsVLCTable_32s ipp_f_huffman_env_bal_1_5dB[] = {  {   24, 0x00000000,  1},  {   23, 0x00000002,  2},  {   25, 0x00000006,  3},  {   22, 0x0000000e,  4},  {   26, 0x0000001e,  5},  {   27, 0x0000003e,  6},  {   21, 0x0000007e,  7},  {   20, 0x000000fe,  8},

⌨️ 快捷键说明

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