Mercurial > libavcodec.hg
comparison mpeg4data.h @ 307:764aeec1320e libavcodec
msmpeg4v2 decoding (no encoding yet)
| author | michaelni |
|---|---|
| date | Fri, 05 Apr 2002 04:09:04 +0000 |
| parents | 7d941b8c4e84 |
| children | 8cf5507e6ca5 |
comparison
equal
deleted
inserted
replaced
| 306:ebfd518cbbbf | 307:764aeec1320e |
|---|---|
| 10 //vol_sprite_usage / sprite_enable | 10 //vol_sprite_usage / sprite_enable |
| 11 #define STATIC_SPRITE 1 | 11 #define STATIC_SPRITE 1 |
| 12 #define GMC_SPRITE 2 | 12 #define GMC_SPRITE 2 |
| 13 | 13 |
| 14 /* dc encoding for mpeg4 */ | 14 /* dc encoding for mpeg4 */ |
| 15 static const UINT8 DCtab_lum[13][2] = | 15 const UINT8 DCtab_lum[13][2] = |
| 16 { | 16 { |
| 17 {3,3}, {3,2}, {2,2}, {2,3}, {1,3}, {1,4}, {1,5}, {1,6}, {1,7}, | 17 {3,3}, {3,2}, {2,2}, {2,3}, {1,3}, {1,4}, {1,5}, {1,6}, {1,7}, |
| 18 {1,8}, {1,9}, {1,10}, {1,11}, | 18 {1,8}, {1,9}, {1,10}, {1,11}, |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 static const UINT8 DCtab_chrom[13][2] = | 21 const UINT8 DCtab_chrom[13][2] = |
| 22 { | 22 { |
| 23 {3,2}, {2,2}, {1,2}, {1,3}, {1,4}, {1,5}, {1,6}, {1,7}, {1,8}, | 23 {3,2}, {2,2}, {1,2}, {1,3}, {1,4}, {1,5}, {1,6}, {1,7}, {1,8}, |
| 24 {1,9}, {1,10}, {1,11}, {1,12}, | 24 {1,9}, {1,10}, {1,11}, {1,12}, |
| 25 }; | 25 }; |
| 26 | 26 |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 static const UINT8 mb_type_b_tab[4][2] = { | 103 static const UINT8 mb_type_b_tab[4][2] = { |
| 104 {1, 1}, {1, 2}, {1, 3}, {1, 4}, | 104 {1, 1}, {1, 2}, {1, 3}, {1, 4}, |
| 105 }; | 105 }; |
| 106 | |
| 107 static const UINT16 pixel_aspect[16][2]={ | |
| 108 {0, 0}, | |
| 109 {1, 1}, | |
| 110 {12, 11}, | |
| 111 {10, 11}, | |
| 112 {16, 11}, | |
| 113 {40, 33}, | |
| 114 {0, 0}, | |
| 115 {0, 0}, | |
| 116 {0, 0}, | |
| 117 {0, 0}, | |
| 118 {0, 0}, | |
| 119 {0, 0}, | |
| 120 {0, 0}, | |
| 121 {0, 0}, | |
| 122 {0, 0}, | |
| 123 {0, 0}, | |
| 124 }; |
