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

📄 umc_vc1_common_interlaced_cbpcy_tables.cpp

📁 audio-video-codecs.rar语音编解码器
💻 CPP
📖 第 1 页 / 共 3 页
字号:
//   15          54          7            47            246           8
//   16          12          4            48              5           4
//   17         151          8            49            240           8
//   18         152          8            50            241           8
//   19         153          8            51             55           7
//   20           8          5            52             16           5
//   21         484          9            53            234           8
//   22         485          9            54            235           8
//   23         106          8            55            247           8
//   24          24          6            56             17           5
//   25         972         10            57            236           8
//   26         973         10            58            237           8
//   27         214          9            59             52           7
//   28          14          5            60              0           3
//   29         158          8            61             62           6
//   30         159          8            62             63           6
//   31         245          8            63              2           4
//   32          13          4

const extern Ipp32s VC1_InterlacedCBPCYTable5[] =
{
    10, /* max bits */
    1,  /* total subtables */
    10,/* subtable sizes */

    0, /* 1-bit codes */
     0, /* 2-bit codes */
    1, /* 3-bit codes */
        0, 60,
    7, /* 4-bit codes */
        10, 4,    2, 63,    13, 32,    11,    8,
        3, 12,    12, 16,   5, 48,
    6, /* 5-bit codes */
        9, 40,    15, 44,   8, 20,     16, 52,
        17, 56,   14, 28,
    6, /* 6-bit codes */
        56, 1,    57, 2,    63, 62,    62, 61,
        24, 24,   25, 36,
    3, /* 7-bit codes */
        54, 15,   55, 51,   52, 59,
    30, /* 8-bit codes */
        154, 33,  155, 34,  157, 3,    156, 35,
        145, 5,   146, 6,   147, 7,    148, 9,
        149, 10,  150, 11,  144, 43,   238, 13,
        232, 45,  239, 14,  233, 46,   246, 47,
        151, 17,  240, 49,  152, 18,   241, 50,
        235, 54,  106, 23,  247, 55,   234, 53,
        158, 29,  159, 30,  245, 31,   153, 19,
        237, 58,  236, 57,
    6, /* 9-bit codes */
        215, 39,  488, 41,  484, 21,   485, 22,
        489, 42,  214, 27,
    4, /* 10-bit codes */
        974, 37,  975, 38,  972, 25,   973, 26,

-1 /* end of table */
};

//VC-1 Table 131: interlaced CBPCY table 6
//Coded Block VLC Codeword VLC Codeword Coded Block VLC Codeword  VLC Codeword
// Pattern                   Size        Pattern                     Size
//   1           60            6            33         229             8
//   2           61            6            34         230             8
//   3          463            9            35         128             8
//   4            0            3            36         46              6
//   5          191            8            37         2021            11
//   6          224            8            38         2022            11
//   7          508            9            39         2023            11
//   8            1            3            40         22              5
//   9          225            8            41         1012            10
//   10         226            8            42         1013            10
//   11         509            9            43         1014            10
//   12           9            4            44         25              5
//   13         497            9            45         258             9
//   14         498            9            46         259             9
//   15         499            9            47         260             9
//   16           2            3            48         10              4
//   17         227            8            49         500             9
//   18         228            8            50         501             9
//   19         510            9            51         502             9
//   20          17            5            52         26              5
//   21        1006           10            53         261             9
//   22        1007           10            54         262             9
//   23        1008           10            55         263             9
//   24          33            6            56         27              5
//   25        2018           11            57         376             9
//   26        2019           11            58         377             9
//   27        2020           11            59         462             9
//   28          24            5            60         29              5
//   29        1015           10            61         189             8
//   30        1022           10            62         190             8
//   31        1023           10            63         496             9
//   32           3            3

const extern Ipp32s VC1_InterlacedCBPCYTable6[] =
{
    11, /* max bits */
    1,  /* total subtables */
    11,/* subtable sizes */

    0, /* 1-bit codes */
     0, /* 2-bit codes */
    4, /* 3-bit codes */
        0,4,   1,8,    2,16,   3,32,
    2, /* 4-bit codes */
        9,12,  10,48,
    7, /* 5-bit codes */
        17,20,   24,28,   22,40,    25,44,
        26,52,   27,56,   29,60,
    4, /* 6-bit codes */
        60,1,    61,2,    33,24,    46,36,
    0, /* 7-bit codes */
    11, /* 8-bit codes */
        191,5,   224,6,   225,9,    226,10,
        227,17,  228,18,  229,33,   230,34,
        128,35,  189,61,  190,62,
    20, /* 9-bit codes */
        463,3,   508,7,   509,11,   497,13,
        498,14,  499,15,  510,19,   258,45,
        259,46,  260,47,  500,49,   501,50,
        502,51,  261,53,  262,54,   263,55,
        376,57,  377,58,  462,59,
        496,63,
    9, /* 10-bit codes */
        1006,21,  1007,22,  1008,23,  1015,29,
        1022,30,  1023,31,  1012,41,  1013,42,
        1014,43,
    6, /* 11-bit codes */
        2018,25,  2019,26,  2020,27,  2021,37,
        2022,38,  2023,39,
-1 /* end of table */
};

//VC-1 Table 132: interlaced CBPCY table 7
//Coded Block VLC Codeword VLC Codeword Coded Block VLC Codeword VLC Codeword
// Pattern                   Size        Pattern                     Size
//   1            3            6            33          52             7
//   2            4            6            34          53             7
//   3          438           10            35          17             7
//   4            4            3            36          22             6
//   5           46            7            37         105             10
//   6           47            7            38         106             10
//   7           14            7            39         107             10
//   8            5            3            40          10             5
//   9           48            7            41          54             9
//   10          49            7            42          55             9
//   11          15            7            43         216             9
//   12           3            4            44          30             6
//   13          10            8            45         442             10
//   14          11            8            46         443             10
//   15          20            8            47         444             10
//   16           6            3            48           4             4
//   17          50            7            49          21             8
//   18          51            7            50          22             8
//   19          16            7            51          23             8
//   20           5            5            52          31             6
//   21          48            9            53         445             10
//   22          49            9            54         446             10
//   23          50            9            55         447             10
//   24           9            6            56           0             5
//   25         102           10            57          16             9
//   26         103           10            58          17             9
//   27         104           10            59          18             9
//   28          29            6            60          28             6
//   29         439           10            61         217             9
//   30         440           10            62         218             9
//   31         441           10            63          19             9
//   32           7            3

const extern Ipp32s VC1_InterlacedCBPCYTable7[] =
{
    10, /* max bits */
    1,  /* total subtables */
    10,/* subtable sizes */

    0, /* 1-bit codes */
     0, /* 2-bit codes */
    4, /* 3-bit codes */
        4,4,   5,8,    6,16,    7,32,
    2, /* 4-bit codes */
        3,12,  4,48,
    3, /* 5-bit codes */
        5,20,  10,40,  0,56,
    8, /* 6-bit codes */
        3,1,   4,2,    9,24,    29,28,
        22,36, 30,44,  31,52,   28,60,
    12, /* 7-bit codes */
        46,5,  47,6,   14,7,    48,9,
        49,10, 15,11,  50,17,   51,18,
        16,19, 52,33,  53,34,   17,35,
    6, /* 8-bit codes */
        10,13, 11,14,  20,15,   21,49,
        22,50, 23,51,
    12, /* 9-bit codes */
        48,21, 49,22,  50,23,   54,41,
        55,42, 216,43, 16,57,   17,58,
        18,59, 217,61, 218,62,  19,63,
    16, /* 10-bit codes */
        438,3,   102,25,   103,26,   104,27,
        439,29,  440,30,   441,31,   105,37,
        106,38,  107,39,   442,45,   443,46,
        444,47,  445,53,    446,54,  447,55,

-1 /* end of table */
};

#endif //UMC_ENABLE_VC1_VIDEO_DECODER

⌨️ 快捷键说明

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