1821
1821
#define WMV1_SCANTABLE_COUNT 4
1823
1823
static const uint8_t wmv1_scantable00[64]= {
1824
0x00, 0x08, 0x01, 0x02, 0x09, 0x10, 0x18, 0x11,
1825
0x0A, 0x03, 0x04, 0x0B, 0x12, 0x19, 0x20, 0x28,
1826
0x30, 0x38, 0x29, 0x21, 0x1A, 0x13, 0x0C, 0x05,
1827
0x06, 0x0D, 0x14, 0x1B, 0x22, 0x31, 0x39, 0x3A,
1828
0x32, 0x2A, 0x23, 0x1C, 0x15, 0x0E, 0x07, 0x0F,
1829
0x16, 0x1D, 0x24, 0x2B, 0x33, 0x3B, 0x3C, 0x34,
1830
0x2C, 0x25, 0x1E, 0x17, 0x1F, 0x26, 0x2D, 0x35,
1831
0x3D, 0x3E, 0x36, 0x2E, 0x27, 0x2F, 0x37, 0x3F,
1824
0x00, 0x08, 0x01, 0x02, 0x09, 0x10, 0x18, 0x11,
1825
0x0A, 0x03, 0x04, 0x0B, 0x12, 0x19, 0x20, 0x28,
1826
0x30, 0x38, 0x29, 0x21, 0x1A, 0x13, 0x0C, 0x05,
1827
0x06, 0x0D, 0x14, 0x1B, 0x22, 0x31, 0x39, 0x3A,
1828
0x32, 0x2A, 0x23, 0x1C, 0x15, 0x0E, 0x07, 0x0F,
1829
0x16, 0x1D, 0x24, 0x2B, 0x33, 0x3B, 0x3C, 0x34,
1830
0x2C, 0x25, 0x1E, 0x17, 0x1F, 0x26, 0x2D, 0x35,
1831
0x3D, 0x3E, 0x36, 0x2E, 0x27, 0x2F, 0x37, 0x3F,
1833
1833
static const uint8_t wmv1_scantable01[64]= {
1834
0x00, 0x08, 0x01, 0x02, 0x09, 0x10, 0x18, 0x11,
1835
0x0A, 0x03, 0x04, 0x0B, 0x12, 0x19, 0x20, 0x28,
1836
0x21, 0x30, 0x1A, 0x13, 0x0C, 0x05, 0x06, 0x0D,
1837
0x14, 0x1B, 0x22, 0x29, 0x38, 0x31, 0x39, 0x2A,
1838
0x23, 0x1C, 0x15, 0x0E, 0x07, 0x0F, 0x16, 0x1D,
1839
0x24, 0x2B, 0x32, 0x3A, 0x33, 0x3B, 0x2C, 0x25,
1840
0x1E, 0x17, 0x1F, 0x26, 0x2D, 0x34, 0x3C, 0x35,
1841
0x3D, 0x2E, 0x27, 0x2F, 0x36, 0x3E, 0x37, 0x3F,
1834
0x00, 0x08, 0x01, 0x02, 0x09, 0x10, 0x18, 0x11,
1835
0x0A, 0x03, 0x04, 0x0B, 0x12, 0x19, 0x20, 0x28,
1836
0x21, 0x30, 0x1A, 0x13, 0x0C, 0x05, 0x06, 0x0D,
1837
0x14, 0x1B, 0x22, 0x29, 0x38, 0x31, 0x39, 0x2A,
1838
0x23, 0x1C, 0x15, 0x0E, 0x07, 0x0F, 0x16, 0x1D,
1839
0x24, 0x2B, 0x32, 0x3A, 0x33, 0x3B, 0x2C, 0x25,
1840
0x1E, 0x17, 0x1F, 0x26, 0x2D, 0x34, 0x3C, 0x35,
1841
0x3D, 0x2E, 0x27, 0x2F, 0x36, 0x3E, 0x37, 0x3F,
1843
1843
static const uint8_t wmv1_scantable02[64]= {
1844
0x00, 0x01, 0x08, 0x02, 0x03, 0x09, 0x10, 0x18,
1845
0x11, 0x0A, 0x04, 0x05, 0x0B, 0x12, 0x19, 0x20,
1846
0x28, 0x30, 0x21, 0x1A, 0x13, 0x0C, 0x06, 0x07,
1847
0x0D, 0x14, 0x1B, 0x22, 0x29, 0x38, 0x31, 0x39,
1848
0x2A, 0x23, 0x1C, 0x15, 0x0E, 0x0F, 0x16, 0x1D,
1849
0x24, 0x2B, 0x32, 0x3A, 0x33, 0x2C, 0x25, 0x1E,
1850
0x17, 0x1F, 0x26, 0x2D, 0x34, 0x3B, 0x3C, 0x35,
1851
0x2E, 0x27, 0x2F, 0x36, 0x3D, 0x3E, 0x37, 0x3F,
1844
0x00, 0x01, 0x08, 0x02, 0x03, 0x09, 0x10, 0x18,
1845
0x11, 0x0A, 0x04, 0x05, 0x0B, 0x12, 0x19, 0x20,
1846
0x28, 0x30, 0x21, 0x1A, 0x13, 0x0C, 0x06, 0x07,
1847
0x0D, 0x14, 0x1B, 0x22, 0x29, 0x38, 0x31, 0x39,
1848
0x2A, 0x23, 0x1C, 0x15, 0x0E, 0x0F, 0x16, 0x1D,
1849
0x24, 0x2B, 0x32, 0x3A, 0x33, 0x2C, 0x25, 0x1E,
1850
0x17, 0x1F, 0x26, 0x2D, 0x34, 0x3B, 0x3C, 0x35,
1851
0x2E, 0x27, 0x2F, 0x36, 0x3D, 0x3E, 0x37, 0x3F,
1853
1853
static const uint8_t wmv1_scantable03[64]= {
1854
0x00, 0x08, 0x10, 0x01, 0x18, 0x20, 0x28, 0x09,
1855
0x02, 0x03, 0x0A, 0x11, 0x19, 0x30, 0x38, 0x29,
1856
0x21, 0x1A, 0x12, 0x0B, 0x04, 0x05, 0x0C, 0x13,
1857
0x1B, 0x22, 0x31, 0x39, 0x32, 0x2A, 0x23, 0x1C,
1858
0x14, 0x0D, 0x06, 0x07, 0x0E, 0x15, 0x1D, 0x24,
1859
0x2B, 0x33, 0x3A, 0x3B, 0x34, 0x2C, 0x25, 0x1E,
1860
0x16, 0x0F, 0x17, 0x1F, 0x26, 0x2D, 0x3C, 0x35,
1861
0x2E, 0x27, 0x2F, 0x36, 0x3D, 0x3E, 0x37, 0x3F,
1854
0x00, 0x08, 0x10, 0x01, 0x18, 0x20, 0x28, 0x09,
1855
0x02, 0x03, 0x0A, 0x11, 0x19, 0x30, 0x38, 0x29,
1856
0x21, 0x1A, 0x12, 0x0B, 0x04, 0x05, 0x0C, 0x13,
1857
0x1B, 0x22, 0x31, 0x39, 0x32, 0x2A, 0x23, 0x1C,
1858
0x14, 0x0D, 0x06, 0x07, 0x0E, 0x15, 0x1D, 0x24,
1859
0x2B, 0x33, 0x3A, 0x3B, 0x34, 0x2C, 0x25, 0x1E,
1860
0x16, 0x0F, 0x17, 0x1F, 0x26, 0x2D, 0x3C, 0x35,
1861
0x2E, 0x27, 0x2F, 0x36, 0x3D, 0x3E, 0x37, 0x3F,
1864
1864
static const uint8_t *wmv1_scantable[WMV1_SCANTABLE_COUNT+1]={
1878
1878
#define WMV2_INTER_CBP_TABLE_COUNT 4
1880
1880
static const uint32_t table_mb_non_intra2[128][2] = {
1881
{0x0000A7, 14}, {0x01B2B8, 18}, {0x01B28E, 18}, {0x036575, 19},
1882
{0x006CAC, 16}, {0x000A69, 18}, {0x002934, 20}, {0x00526B, 21},
1883
{0x006CA1, 16}, {0x01B2B9, 18}, {0x0029AD, 20}, {0x029353, 24},
1884
{0x006CA7, 16}, {0x006CAB, 16}, {0x01B2BB, 18}, {0x00029B, 16},
1885
{0x00D944, 17}, {0x000A6A, 18}, {0x0149A8, 23}, {0x03651F, 19},
1886
{0x006CAF, 16}, {0x000A4C, 18}, {0x03651E, 19}, {0x000A48, 18},
1887
{0x00299C, 20}, {0x00299F, 20}, {0x029352, 24}, {0x0029AC, 20},
1888
{0x000296, 16}, {0x00D946, 17}, {0x000A68, 18}, {0x000298, 16},
1889
{0x000527, 17}, {0x00D94D, 17}, {0x0014D7, 19}, {0x036574, 19},
1890
{0x000A5C, 18}, {0x01B299, 18}, {0x00299D, 20}, {0x00299E, 20},
1891
{0x000525, 17}, {0x000A66, 18}, {0x00A4D5, 22}, {0x00149B, 19},
1892
{0x000295, 16}, {0x006CAD, 16}, {0x000A49, 18}, {0x000521, 17},
1893
{0x006CAA, 16}, {0x00D945, 17}, {0x01B298, 18}, {0x00052F, 17},
1894
{0x003654, 15}, {0x006CA0, 16}, {0x000532, 17}, {0x000291, 16},
1895
{0x003652, 15}, {0x000520, 17}, {0x000A5D, 18}, {0x000294, 16},
1896
{0x00009B, 11}, {0x0006E2, 12}, {0x000028, 12}, {0x0001B0, 10},
1897
{0x000001, 3}, {0x000010, 8}, {0x00002F, 6}, {0x00004C, 10},
1898
{0x00000D, 4}, {0x000000, 10}, {0x000006, 9}, {0x000134, 12},
1899
{0x00000C, 4}, {0x000007, 10}, {0x000007, 9}, {0x0006E1, 12},
1900
{0x00000E, 5}, {0x0000DA, 9}, {0x000022, 9}, {0x000364, 11},
1901
{0x00000F, 4}, {0x000006, 10}, {0x00000F, 9}, {0x000135, 12},
1902
{0x000014, 5}, {0x0000DD, 9}, {0x000004, 9}, {0x000015, 11},
1903
{0x00001A, 6}, {0x0001B3, 10}, {0x000005, 10}, {0x0006E3, 12},
1904
{0x00000C, 5}, {0x0000B9, 8}, {0x000004, 8}, {0x0000DB, 9},
1905
{0x00000E, 4}, {0x00000B, 10}, {0x000023, 9}, {0x0006CB, 12},
1906
{0x000005, 6}, {0x0001B1, 10}, {0x000001, 10}, {0x0006E0, 12},
1907
{0x000011, 5}, {0x0000DF, 9}, {0x00000E, 9}, {0x000373, 11},
1908
{0x000003, 5}, {0x0000B8, 8}, {0x000006, 8}, {0x000175, 9},
1909
{0x000015, 5}, {0x000174, 9}, {0x000027, 9}, {0x000372, 11},
1910
{0x000010, 5}, {0x0000BB, 8}, {0x000005, 8}, {0x0000DE, 9},
1911
{0x00000F, 5}, {0x000001, 9}, {0x000012, 8}, {0x000004, 10},
1912
{0x000002, 3}, {0x000016, 5}, {0x000009, 4}, {0x000001, 5},
1881
{0x0000A7, 14}, {0x01B2B8, 18}, {0x01B28E, 18}, {0x036575, 19},
1882
{0x006CAC, 16}, {0x000A69, 18}, {0x002934, 20}, {0x00526B, 21},
1883
{0x006CA1, 16}, {0x01B2B9, 18}, {0x0029AD, 20}, {0x029353, 24},
1884
{0x006CA7, 16}, {0x006CAB, 16}, {0x01B2BB, 18}, {0x00029B, 16},
1885
{0x00D944, 17}, {0x000A6A, 18}, {0x0149A8, 23}, {0x03651F, 19},
1886
{0x006CAF, 16}, {0x000A4C, 18}, {0x03651E, 19}, {0x000A48, 18},
1887
{0x00299C, 20}, {0x00299F, 20}, {0x029352, 24}, {0x0029AC, 20},
1888
{0x000296, 16}, {0x00D946, 17}, {0x000A68, 18}, {0x000298, 16},
1889
{0x000527, 17}, {0x00D94D, 17}, {0x0014D7, 19}, {0x036574, 19},
1890
{0x000A5C, 18}, {0x01B299, 18}, {0x00299D, 20}, {0x00299E, 20},
1891
{0x000525, 17}, {0x000A66, 18}, {0x00A4D5, 22}, {0x00149B, 19},
1892
{0x000295, 16}, {0x006CAD, 16}, {0x000A49, 18}, {0x000521, 17},
1893
{0x006CAA, 16}, {0x00D945, 17}, {0x01B298, 18}, {0x00052F, 17},
1894
{0x003654, 15}, {0x006CA0, 16}, {0x000532, 17}, {0x000291, 16},
1895
{0x003652, 15}, {0x000520, 17}, {0x000A5D, 18}, {0x000294, 16},
1896
{0x00009B, 11}, {0x0006E2, 12}, {0x000028, 12}, {0x0001B0, 10},
1897
{0x000001, 3}, {0x000010, 8}, {0x00002F, 6}, {0x00004C, 10},
1898
{0x00000D, 4}, {0x000000, 10}, {0x000006, 9}, {0x000134, 12},
1899
{0x00000C, 4}, {0x000007, 10}, {0x000007, 9}, {0x0006E1, 12},
1900
{0x00000E, 5}, {0x0000DA, 9}, {0x000022, 9}, {0x000364, 11},
1901
{0x00000F, 4}, {0x000006, 10}, {0x00000F, 9}, {0x000135, 12},
1902
{0x000014, 5}, {0x0000DD, 9}, {0x000004, 9}, {0x000015, 11},
1903
{0x00001A, 6}, {0x0001B3, 10}, {0x000005, 10}, {0x0006E3, 12},
1904
{0x00000C, 5}, {0x0000B9, 8}, {0x000004, 8}, {0x0000DB, 9},
1905
{0x00000E, 4}, {0x00000B, 10}, {0x000023, 9}, {0x0006CB, 12},
1906
{0x000005, 6}, {0x0001B1, 10}, {0x000001, 10}, {0x0006E0, 12},
1907
{0x000011, 5}, {0x0000DF, 9}, {0x00000E, 9}, {0x000373, 11},
1908
{0x000003, 5}, {0x0000B8, 8}, {0x000006, 8}, {0x000175, 9},
1909
{0x000015, 5}, {0x000174, 9}, {0x000027, 9}, {0x000372, 11},
1910
{0x000010, 5}, {0x0000BB, 8}, {0x000005, 8}, {0x0000DE, 9},
1911
{0x00000F, 5}, {0x000001, 9}, {0x000012, 8}, {0x000004, 10},
1912
{0x000002, 3}, {0x000016, 5}, {0x000009, 4}, {0x000001, 5},
1915
1915
static const uint32_t table_mb_non_intra3[128][2] = {
1916
{0x0002A1, 10}, {0x005740, 15}, {0x01A0BF, 18}, {0x015D19, 17},
1917
{0x001514, 13}, {0x00461E, 15}, {0x015176, 17}, {0x015177, 17},
1918
{0x0011AD, 13}, {0x00682E, 16}, {0x0682F9, 20}, {0x03417D, 19},
1919
{0x001A36, 14}, {0x002A2D, 14}, {0x00D05E, 17}, {0x006824, 16},
1920
{0x001515, 13}, {0x00545C, 15}, {0x0230E9, 18}, {0x011AFA, 17},
1921
{0x0015D7, 13}, {0x005747, 15}, {0x008D79, 16}, {0x006825, 16},
1922
{0x002BA2, 14}, {0x00A8BA, 16}, {0x0235F6, 18}, {0x015D18, 17},
1923
{0x0011AE, 13}, {0x00346F, 15}, {0x008C3B, 16}, {0x00346E, 15},
1924
{0x000D1A, 13}, {0x00461F, 15}, {0x0682F8, 20}, {0x011875, 17},
1925
{0x002BA1, 14}, {0x008D61, 16}, {0x0235F7, 18}, {0x0230E8, 18},
1926
{0x001513, 13}, {0x008D7B, 16}, {0x011AF4, 17}, {0x011AF5, 17},
1927
{0x001185, 13}, {0x0046BF, 15}, {0x008D60, 16}, {0x008D7C, 16},
1928
{0x001512, 13}, {0x00461C, 15}, {0x00AE8D, 16}, {0x008D78, 16},
1929
{0x000D0E, 13}, {0x003413, 15}, {0x0046B1, 15}, {0x003416, 15},
1930
{0x000AEA, 12}, {0x002A2C, 14}, {0x005741, 15}, {0x002A2F, 14},
1931
{0x000158, 9}, {0x0008D2, 12}, {0x00054C, 11}, {0x000686, 12},
1932
{0x000000, 2}, {0x000069, 8}, {0x00006B, 8}, {0x00068C, 12},
1933
{0x000007, 3}, {0x00015E, 9}, {0x0002A3, 10}, {0x000AE9, 12},
1934
{0x000006, 3}, {0x000231, 10}, {0x0002B8, 10}, {0x001A08, 14},
1935
{0x000010, 5}, {0x0001A9, 10}, {0x000342, 11}, {0x000A88, 12},
1936
{0x000004, 4}, {0x0001A2, 10}, {0x0002A4, 10}, {0x001184, 13},
1937
{0x000012, 5}, {0x000232, 10}, {0x0002B2, 10}, {0x000680, 12},
1938
{0x00001B, 6}, {0x00046A, 11}, {0x00068E, 12}, {0x002359, 14},
1939
{0x000016, 5}, {0x00015F, 9}, {0x0002A0, 10}, {0x00054D, 11},
1940
{0x000005, 4}, {0x000233, 10}, {0x0002B9, 10}, {0x0015D6, 13},
1941
{0x000022, 6}, {0x000468, 11}, {0x000683, 12}, {0x001A0A, 14},
1942
{0x000013, 5}, {0x000236, 10}, {0x0002BB, 10}, {0x001186, 13},
1943
{0x000017, 5}, {0x0001AB, 10}, {0x0002A7, 10}, {0x0008D3, 12},
1944
{0x000014, 5}, {0x000237, 10}, {0x000460, 11}, {0x000D0F, 13},
1945
{0x000019, 6}, {0x0001AA, 10}, {0x0002B3, 10}, {0x000681, 12},
1946
{0x000018, 6}, {0x0001A8, 10}, {0x0002A5, 10}, {0x00068F, 12},
1947
{0x000007, 4}, {0x000055, 7}, {0x000047, 7}, {0x0000AD, 8},
1916
{0x0002A1, 10}, {0x005740, 15}, {0x01A0BF, 18}, {0x015D19, 17},
1917
{0x001514, 13}, {0x00461E, 15}, {0x015176, 17}, {0x015177, 17},
1918
{0x0011AD, 13}, {0x00682E, 16}, {0x0682F9, 20}, {0x03417D, 19},
1919
{0x001A36, 14}, {0x002A2D, 14}, {0x00D05E, 17}, {0x006824, 16},
1920
{0x001515, 13}, {0x00545C, 15}, {0x0230E9, 18}, {0x011AFA, 17},
1921
{0x0015D7, 13}, {0x005747, 15}, {0x008D79, 16}, {0x006825, 16},
1922
{0x002BA2, 14}, {0x00A8BA, 16}, {0x0235F6, 18}, {0x015D18, 17},
1923
{0x0011AE, 13}, {0x00346F, 15}, {0x008C3B, 16}, {0x00346E, 15},
1924
{0x000D1A, 13}, {0x00461F, 15}, {0x0682F8, 20}, {0x011875, 17},
1925
{0x002BA1, 14}, {0x008D61, 16}, {0x0235F7, 18}, {0x0230E8, 18},
1926
{0x001513, 13}, {0x008D7B, 16}, {0x011AF4, 17}, {0x011AF5, 17},
1927
{0x001185, 13}, {0x0046BF, 15}, {0x008D60, 16}, {0x008D7C, 16},
1928
{0x001512, 13}, {0x00461C, 15}, {0x00AE8D, 16}, {0x008D78, 16},
1929
{0x000D0E, 13}, {0x003413, 15}, {0x0046B1, 15}, {0x003416, 15},
1930
{0x000AEA, 12}, {0x002A2C, 14}, {0x005741, 15}, {0x002A2F, 14},
1931
{0x000158, 9}, {0x0008D2, 12}, {0x00054C, 11}, {0x000686, 12},
1932
{0x000000, 2}, {0x000069, 8}, {0x00006B, 8}, {0x00068C, 12},
1933
{0x000007, 3}, {0x00015E, 9}, {0x0002A3, 10}, {0x000AE9, 12},
1934
{0x000006, 3}, {0x000231, 10}, {0x0002B8, 10}, {0x001A08, 14},
1935
{0x000010, 5}, {0x0001A9, 10}, {0x000342, 11}, {0x000A88, 12},
1936
{0x000004, 4}, {0x0001A2, 10}, {0x0002A4, 10}, {0x001184, 13},
1937
{0x000012, 5}, {0x000232, 10}, {0x0002B2, 10}, {0x000680, 12},
1938
{0x00001B, 6}, {0x00046A, 11}, {0x00068E, 12}, {0x002359, 14},
1939
{0x000016, 5}, {0x00015F, 9}, {0x0002A0, 10}, {0x00054D, 11},
1940
{0x000005, 4}, {0x000233, 10}, {0x0002B9, 10}, {0x0015D6, 13},
1941
{0x000022, 6}, {0x000468, 11}, {0x000683, 12}, {0x001A0A, 14},
1942
{0x000013, 5}, {0x000236, 10}, {0x0002BB, 10}, {0x001186, 13},
1943
{0x000017, 5}, {0x0001AB, 10}, {0x0002A7, 10}, {0x0008D3, 12},
1944
{0x000014, 5}, {0x000237, 10}, {0x000460, 11}, {0x000D0F, 13},
1945
{0x000019, 6}, {0x0001AA, 10}, {0x0002B3, 10}, {0x000681, 12},
1946
{0x000018, 6}, {0x0001A8, 10}, {0x0002A5, 10}, {0x00068F, 12},
1947
{0x000007, 4}, {0x000055, 7}, {0x000047, 7}, {0x0000AD, 8},
1950
1950
static const uint32_t table_mb_non_intra4[128][2] = {
1951
{0x0000D4, 8}, {0x0021C5, 14}, {0x00F18A, 16}, {0x00D5BC, 16},
1952
{0x000879, 12}, {0x00354D, 14}, {0x010E3F, 17}, {0x010F54, 17},
1953
{0x000866, 12}, {0x00356E, 14}, {0x010F55, 17}, {0x010E3E, 17},
1954
{0x0010CE, 13}, {0x003C84, 14}, {0x00D5BD, 16}, {0x00F18B, 16},
1955
{0x000868, 12}, {0x00438C, 15}, {0x0087AB, 16}, {0x00790B, 15},
1956
{0x000F10, 12}, {0x00433D, 15}, {0x006AD3, 15}, {0x00790A, 15},
1957
{0x001AA7, 13}, {0x0043D4, 15}, {0x00871E, 16}, {0x006ADF, 15},
1958
{0x000D7C, 12}, {0x003C94, 14}, {0x00438D, 15}, {0x006AD2, 15},
1959
{0x0006BC, 11}, {0x0021E9, 14}, {0x006ADA, 15}, {0x006A99, 15},
1960
{0x0010F7, 13}, {0x004389, 15}, {0x006ADB, 15}, {0x0078C4, 15},
1961
{0x000D56, 12}, {0x0035F7, 14}, {0x00438E, 15}, {0x006A98, 15},
1962
{0x000D52, 12}, {0x003C95, 14}, {0x004388, 15}, {0x00433C, 15},
1963
{0x000D54, 12}, {0x001E4B, 13}, {0x003C63, 14}, {0x003C83, 14},
1964
{0x000861, 12}, {0x0021EB, 14}, {0x00356C, 14}, {0x0035F6, 14},
1965
{0x000863, 12}, {0x00219F, 14}, {0x003568, 14}, {0x003C82, 14},
1966
{0x0001AE, 9}, {0x0010C0, 13}, {0x000F11, 12}, {0x001AFA, 13},
1967
{0x000000, 1}, {0x0000F0, 8}, {0x0001AD, 9}, {0x0010C1, 13},
1968
{0x00000A, 4}, {0x0003C5, 10}, {0x000789, 11}, {0x001AB5, 13},
1969
{0x000009, 4}, {0x000435, 11}, {0x000793, 11}, {0x001E40, 13},
1970
{0x00001D, 5}, {0x0003CB, 10}, {0x000878, 12}, {0x001AAF, 13},
1971
{0x00000B, 4}, {0x0003C7, 10}, {0x000791, 11}, {0x001AAB, 13},
1972
{0x00001F, 5}, {0x000436, 11}, {0x0006BF, 11}, {0x000F19, 12},
1973
{0x00003D, 6}, {0x000D51, 12}, {0x0010C4, 13}, {0x0021E8, 14},
1974
{0x000036, 6}, {0x000437, 11}, {0x0006AF, 11}, {0x0010C5, 13},
1975
{0x00000C, 4}, {0x000432, 11}, {0x000794, 11}, {0x001E30, 13},
1976
{0x000042, 7}, {0x000870, 12}, {0x000F24, 12}, {0x001E43, 13},
1977
{0x000020, 6}, {0x00043E, 11}, {0x000795, 11}, {0x001AAA, 13},
1978
{0x000037, 6}, {0x0006AC, 11}, {0x0006AE, 11}, {0x0010F6, 13},
1979
{0x000034, 6}, {0x00043A, 11}, {0x000D50, 12}, {0x001AAE, 13},
1980
{0x000039, 6}, {0x00043F, 11}, {0x00078D, 11}, {0x0010D2, 13},
1981
{0x000038, 6}, {0x00043B, 11}, {0x0006BD, 11}, {0x0010D3, 13},
1982
{0x000011, 5}, {0x0001AC, 9}, {0x0000F3, 8}, {0x000439, 11},
1951
{0x0000D4, 8}, {0x0021C5, 14}, {0x00F18A, 16}, {0x00D5BC, 16},
1952
{0x000879, 12}, {0x00354D, 14}, {0x010E3F, 17}, {0x010F54, 17},
1953
{0x000866, 12}, {0x00356E, 14}, {0x010F55, 17}, {0x010E3E, 17},
1954
{0x0010CE, 13}, {0x003C84, 14}, {0x00D5BD, 16}, {0x00F18B, 16},
1955
{0x000868, 12}, {0x00438C, 15}, {0x0087AB, 16}, {0x00790B, 15},
1956
{0x000F10, 12}, {0x00433D, 15}, {0x006AD3, 15}, {0x00790A, 15},
1957
{0x001AA7, 13}, {0x0043D4, 15}, {0x00871E, 16}, {0x006ADF, 15},
1958
{0x000D7C, 12}, {0x003C94, 14}, {0x00438D, 15}, {0x006AD2, 15},
1959
{0x0006BC, 11}, {0x0021E9, 14}, {0x006ADA, 15}, {0x006A99, 15},
1960
{0x0010F7, 13}, {0x004389, 15}, {0x006ADB, 15}, {0x0078C4, 15},
1961
{0x000D56, 12}, {0x0035F7, 14}, {0x00438E, 15}, {0x006A98, 15},
1962
{0x000D52, 12}, {0x003C95, 14}, {0x004388, 15}, {0x00433C, 15},
1963
{0x000D54, 12}, {0x001E4B, 13}, {0x003C63, 14}, {0x003C83, 14},
1964
{0x000861, 12}, {0x0021EB, 14}, {0x00356C, 14}, {0x0035F6, 14},
1965
{0x000863, 12}, {0x00219F, 14}, {0x003568, 14}, {0x003C82, 14},
1966
{0x0001AE, 9}, {0x0010C0, 13}, {0x000F11, 12}, {0x001AFA, 13},
1967
{0x000000, 1}, {0x0000F0, 8}, {0x0001AD, 9}, {0x0010C1, 13},
1968
{0x00000A, 4}, {0x0003C5, 10}, {0x000789, 11}, {0x001AB5, 13},
1969
{0x000009, 4}, {0x000435, 11}, {0x000793, 11}, {0x001E40, 13},
1970
{0x00001D, 5}, {0x0003CB, 10}, {0x000878, 12}, {0x001AAF, 13},
1971
{0x00000B, 4}, {0x0003C7, 10}, {0x000791, 11}, {0x001AAB, 13},
1972
{0x00001F, 5}, {0x000436, 11}, {0x0006BF, 11}, {0x000F19, 12},
1973
{0x00003D, 6}, {0x000D51, 12}, {0x0010C4, 13}, {0x0021E8, 14},
1974
{0x000036, 6}, {0x000437, 11}, {0x0006AF, 11}, {0x0010C5, 13},
1975
{0x00000C, 4}, {0x000432, 11}, {0x000794, 11}, {0x001E30, 13},
1976
{0x000042, 7}, {0x000870, 12}, {0x000F24, 12}, {0x001E43, 13},
1977
{0x000020, 6}, {0x00043E, 11}, {0x000795, 11}, {0x001AAA, 13},
1978
{0x000037, 6}, {0x0006AC, 11}, {0x0006AE, 11}, {0x0010F6, 13},
1979
{0x000034, 6}, {0x00043A, 11}, {0x000D50, 12}, {0x001AAE, 13},
1980
{0x000039, 6}, {0x00043F, 11}, {0x00078D, 11}, {0x0010D2, 13},
1981
{0x000038, 6}, {0x00043B, 11}, {0x0006BD, 11}, {0x0010D3, 13},
1982
{0x000011, 5}, {0x0001AC, 9}, {0x0000F3, 8}, {0x000439, 11},
1985
1985
static const uint32_t (*wmv2_inter_table[WMV2_INTER_CBP_TABLE_COUNT])[2]={