comparison msmpeg4data.h @ 307:764aeec1320e libavcodec

msmpeg4v2 decoding (no encoding yet)
author michaelni
date Fri, 05 Apr 2002 04:09:04 +0000
parents 986e461dc072
children 583dcee270d2
comparison
equal deleted inserted replaced
306:ebfd518cbbbf 307:764aeec1320e
566 extern const INT8 inter_run[102]; 566 extern const INT8 inter_run[102];
567 567
568 extern const UINT16 intra_vlc[103][2]; 568 extern const UINT16 intra_vlc[103][2];
569 extern const INT8 intra_level[102]; 569 extern const INT8 intra_level[102];
570 extern const INT8 intra_run[102]; 570 extern const INT8 intra_run[102];
571
572 extern const UINT8 DCtab_lum[13][2];
573 extern const UINT8 DCtab_chrom[13][2];
574
575 extern const UINT8 cbpy_tab[16][2];
576 extern const UINT8 mvtab[33][2];
577
571 578
572 #define NB_RL_TABLES 6 579 #define NB_RL_TABLES 6
573 580
574 static RLTable rl_table[NB_RL_TABLES] = { 581 static RLTable rl_table[NB_RL_TABLES] = {
575 /* intra luminance tables */ 582 /* intra luminance tables */
1763 table1_mv_bits, 1770 table1_mv_bits,
1764 table1_mvx, 1771 table1_mvx,
1765 table1_mvy, 1772 table1_mvy,
1766 } 1773 }
1767 }; 1774 };
1775
1776 static const UINT8 v2_mb_type[8][2] = {
1777 {1, 1}, {0 , 2}, {3 , 3}, {9 , 5},
1778 {5, 4}, {0x21, 7}, {0x20, 7}, {0x11, 6},
1779 };
1780
1781 static const UINT8 v2_intra_cbpc[4][2] = {
1782 {1, 1}, {0, 3}, {1, 3}, {1, 2},
1783 };