[XviD-devel] mcbpc intra table

sajid anwar engrsajidanwar at gmail.com
Thu Sep 4 06:57:17 CEST 2008


Dear Concerned,

Xvid uses the following table for decoding the mcbpc for an intra block:

VLC const mcbpc_intra_table[64] = {
    {-1, 0}, {20, 6}, {36, 6}, {52, 6}, {4, 4},  {4, 4},  {4, 4},  {4, 4},
    {19, 3}, {19, 3}, {19, 3}, {19, 3}, {19, 3}, {19, 3}, {19, 3}, {19, 3},
    {35, 3}, {35, 3}, {35, 3}, {35, 3}, {35, 3}, {35, 3}, {35, 3}, {35, 3},
    {51, 3}, {51, 3}, {51, 3}, {51, 3}, {51, 3}, {51, 3}, {51, 3}, {51, 3},
    {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},
    {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},
    {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},
    {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1},  {3, 1}
};

However according to ISO-IEC,mcbpc can be decoded using a 9 member table

const    ARM_VLC32    armVCM4P2_MCBPC_intra[9]    =    {
    {1,1},
    {3,1},
    {3,2},
    {3,3},
    {4,1},
    {6,1},
    {6,2},
    {6,3},
    {9,1}

};

Can you tell me what is the corresponding reference table for the Xvid
(first one) table;

regards,

Anwar


More information about the XviD-devel mailing list