Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

getvlc.h

00001 
00002 /* macroblock modes */
00003 #define MACROBLOCK_INTRA 1
00004 #define MACROBLOCK_PATTERN 2
00005 #define MACROBLOCK_MOTION_BACKWARD 4
00006 #define MACROBLOCK_MOTION_FORWARD 8
00007 #define MACROBLOCK_QUANT 16
00008 #define DCT_TYPE_INTERLACED 32
00009 
00010 /* motion_type */
00011 #define MOTION_TYPE_MASK (3*64)
00012 #define MOTION_TYPE_BASE 64
00013 #define MC_FIELD (1*64)
00014 #define MC_FRAME (2*64)
00015 #define MC_16X8 (2*64)
00016 #define MC_DMV (3*64)
00017 
00018 /* picture structure */
00019 #define TOP_FIELD 1
00020 #define BOTTOM_FIELD 2
00021 #define FRAME_PICTURE 3
00022 
00023 /* take num bits from the high part of bit_buf and zero extend them */
00024 #define UBITS(bit_buf,num) (((uint32_t)(bs->i_bit_in_cache)) >> (32 - (num)))
00025 
00026 /* take num bits from the high part of bit_buf and sign extend them */
00027 #define SBITS(bit_buf,num) (((int32_t)(bs->i_bit_in_cache)) >> (32 - (num)))
00028 
00029 typedef struct {
00030     uint8_t modes;
00031     uint8_t len;
00032 } MBtab;
00033 
00034 typedef struct {
00035     uint8_t delta;
00036     uint8_t len;
00037 } MVtab;
00038 
00039 typedef struct {
00040     int8_t dmv;
00041     uint8_t len;
00042 } DMVtab;
00043 
00044 typedef struct {
00045     uint8_t cbp;
00046     uint8_t len;
00047 } CBPtab;
00048 
00049 typedef struct {
00050     uint8_t size;
00051     uint8_t len;
00052 } DCtab;
00053 
00054 typedef struct {
00055     uint8_t run;
00056     uint8_t level;
00057     uint8_t len;
00058 } DCTtab;
00059 
00060 typedef struct {
00061     uint8_t mba;
00062     uint8_t len;
00063 } MBAtab;
00064 
00065 
00066 #define INTRA MACROBLOCK_INTRA
00067 #define QUANT MACROBLOCK_QUANT
00068 
00069 static const MBtab MB_I [] = {
00070     {INTRA|QUANT, 2}, {INTRA, 1}
00071 };
00072 
00073 #define MC MACROBLOCK_MOTION_FORWARD
00074 #define CODED MACROBLOCK_PATTERN
00075 
00076 static const MBtab MB_P [] = {
00077     {INTRA|QUANT, 6}, {CODED|QUANT, 5}, {MC|CODED|QUANT, 5}, {INTRA,    5},
00078     {MC,          3}, {MC,          3}, {MC,             3}, {MC,       3},
00079     {CODED,       2}, {CODED,       2}, {CODED,          2}, {CODED,    2},
00080     {CODED,       2}, {CODED,       2}, {CODED,          2}, {CODED,    2},
00081     {MC|CODED,    1}, {MC|CODED,    1}, {MC|CODED,       1}, {MC|CODED, 1},
00082     {MC|CODED,    1}, {MC|CODED,    1}, {MC|CODED,       1}, {MC|CODED, 1},
00083     {MC|CODED,    1}, {MC|CODED,    1}, {MC|CODED,       1}, {MC|CODED, 1},
00084     {MC|CODED,    1}, {MC|CODED,    1}, {MC|CODED,       1}, {MC|CODED, 1}
00085 };
00086 
00087 #define FWD MACROBLOCK_MOTION_FORWARD
00088 #define BWD MACROBLOCK_MOTION_BACKWARD
00089 #define INTER MACROBLOCK_MOTION_FORWARD|MACROBLOCK_MOTION_BACKWARD
00090 
00091 static const MBtab MB_B [] = {
00092     {0,                 0}, {INTRA|QUANT,       6},
00093     {BWD|CODED|QUANT,   6}, {FWD|CODED|QUANT,   6},
00094     {INTER|CODED|QUANT, 5}, {INTER|CODED|QUANT, 5},
00095                                         {INTRA,       5}, {INTRA,       5},
00096     {FWD,         4}, {FWD,         4}, {FWD,         4}, {FWD,         4},
00097     {FWD|CODED,   4}, {FWD|CODED,   4}, {FWD|CODED,   4}, {FWD|CODED,   4},
00098     {BWD,         3}, {BWD,         3}, {BWD,         3}, {BWD,         3},
00099     {BWD,         3}, {BWD,         3}, {BWD,         3}, {BWD,         3},
00100     {BWD|CODED,   3}, {BWD|CODED,   3}, {BWD|CODED,   3}, {BWD|CODED,   3},
00101     {BWD|CODED,   3}, {BWD|CODED,   3}, {BWD|CODED,   3}, {BWD|CODED,   3},
00102     {INTER,       2}, {INTER,       2}, {INTER,       2}, {INTER,       2},
00103     {INTER,       2}, {INTER,       2}, {INTER,       2}, {INTER,       2},
00104     {INTER,       2}, {INTER,       2}, {INTER,       2}, {INTER,       2},
00105     {INTER,       2}, {INTER,       2}, {INTER,       2}, {INTER,       2},
00106     {INTER|CODED, 2}, {INTER|CODED, 2}, {INTER|CODED, 2}, {INTER|CODED, 2},
00107     {INTER|CODED, 2}, {INTER|CODED, 2}, {INTER|CODED, 2}, {INTER|CODED, 2},
00108     {INTER|CODED, 2}, {INTER|CODED, 2}, {INTER|CODED, 2}, {INTER|CODED, 2},
00109     {INTER|CODED, 2}, {INTER|CODED, 2}, {INTER|CODED, 2}, {INTER|CODED, 2}
00110 };
00111 
00112 #undef INTRA
00113 #undef QUANT
00114 #undef MC
00115 #undef CODED
00116 #undef FWD
00117 #undef BWD
00118 #undef INTER
00119 
00120 
00121 static const MVtab MV_4 [] = {
00122     { 3, 6}, { 2, 4}, { 1, 3}, { 1, 3}, { 0, 2}, { 0, 2}, { 0, 2}, { 0, 2}
00123 };
00124 
00125 static const MVtab MV_10 [] = {
00126     { 0,10}, { 0,10}, { 0,10}, { 0,10}, { 0,10}, { 0,10}, { 0,10}, { 0,10},
00127     { 0,10}, { 0,10}, { 0,10}, { 0,10}, {15,10}, {14,10}, {13,10}, {12,10},
00128     {11,10}, {10,10}, { 9, 9}, { 9, 9}, { 8, 9}, { 8, 9}, { 7, 9}, { 7, 9},
00129     { 6, 7}, { 6, 7}, { 6, 7}, { 6, 7}, { 6, 7}, { 6, 7}, { 6, 7}, { 6, 7},
00130     { 5, 7}, { 5, 7}, { 5, 7}, { 5, 7}, { 5, 7}, { 5, 7}, { 5, 7}, { 5, 7},
00131     { 4, 7}, { 4, 7}, { 4, 7}, { 4, 7}, { 4, 7}, { 4, 7}, { 4, 7}, { 4, 7}
00132 };
00133 
00134 
00135 static const DMVtab DMV_2 [] = {
00136     { 0, 1}, { 0, 1}, { 1, 2}, {-1, 2}
00137 };
00138 
00139 
00140 static const CBPtab CBP_7 [] = {
00141     {0x22, 7}, {0x12, 7}, {0x0a, 7}, {0x06, 7},
00142     {0x21, 7}, {0x11, 7}, {0x09, 7}, {0x05, 7},
00143     {0x3f, 6}, {0x3f, 6}, {0x03, 6}, {0x03, 6},
00144     {0x24, 6}, {0x24, 6}, {0x18, 6}, {0x18, 6},
00145     {0x3e, 5}, {0x3e, 5}, {0x3e, 5}, {0x3e, 5},
00146     {0x02, 5}, {0x02, 5}, {0x02, 5}, {0x02, 5},
00147     {0x3d, 5}, {0x3d, 5}, {0x3d, 5}, {0x3d, 5},
00148     {0x01, 5}, {0x01, 5}, {0x01, 5}, {0x01, 5},
00149     {0x38, 5}, {0x38, 5}, {0x38, 5}, {0x38, 5},
00150     {0x34, 5}, {0x34, 5}, {0x34, 5}, {0x34, 5},
00151     {0x2c, 5}, {0x2c, 5}, {0x2c, 5}, {0x2c, 5},
00152     {0x1c, 5}, {0x1c, 5}, {0x1c, 5}, {0x1c, 5},
00153     {0x28, 5}, {0x28, 5}, {0x28, 5}, {0x28, 5},
00154     {0x14, 5}, {0x14, 5}, {0x14, 5}, {0x14, 5},
00155     {0x30, 5}, {0x30, 5}, {0x30, 5}, {0x30, 5},
00156     {0x0c, 5}, {0x0c, 5}, {0x0c, 5}, {0x0c, 5},
00157     {0x20, 4}, {0x20, 4}, {0x20, 4}, {0x20, 4},
00158     {0x20, 4}, {0x20, 4}, {0x20, 4}, {0x20, 4},
00159     {0x10, 4}, {0x10, 4}, {0x10, 4}, {0x10, 4},
00160     {0x10, 4}, {0x10, 4}, {0x10, 4}, {0x10, 4},
00161     {0x08, 4}, {0x08, 4}, {0x08, 4}, {0x08, 4},
00162     {0x08, 4}, {0x08, 4}, {0x08, 4}, {0x08, 4},
00163     {0x04, 4}, {0x04, 4}, {0x04, 4}, {0x04, 4},
00164     {0x04, 4}, {0x04, 4}, {0x04, 4}, {0x04, 4},
00165     {0x3c, 3}, {0x3c, 3}, {0x3c, 3}, {0x3c, 3},
00166     {0x3c, 3}, {0x3c, 3}, {0x3c, 3}, {0x3c, 3},
00167     {0x3c, 3}, {0x3c, 3}, {0x3c, 3}, {0x3c, 3},
00168     {0x3c, 3}, {0x3c, 3}, {0x3c, 3}, {0x3c, 3}
00169 };
00170 
00171 static const CBPtab CBP_9 [] = {
00172     {0,    0}, {0x00, 9}, {0x27, 9}, {0x1b, 9},
00173     {0x3b, 9}, {0x37, 9}, {0x2f, 9}, {0x1f, 9},
00174     {0x3a, 8}, {0x3a, 8}, {0x36, 8}, {0x36, 8},
00175     {0x2e, 8}, {0x2e, 8}, {0x1e, 8}, {0x1e, 8},
00176     {0x39, 8}, {0x39, 8}, {0x35, 8}, {0x35, 8},
00177     {0x2d, 8}, {0x2d, 8}, {0x1d, 8}, {0x1d, 8},
00178     {0x26, 8}, {0x26, 8}, {0x1a, 8}, {0x1a, 8},
00179     {0x25, 8}, {0x25, 8}, {0x19, 8}, {0x19, 8},
00180     {0x2b, 8}, {0x2b, 8}, {0x17, 8}, {0x17, 8},
00181     {0x33, 8}, {0x33, 8}, {0x0f, 8}, {0x0f, 8},
00182     {0x2a, 8}, {0x2a, 8}, {0x16, 8}, {0x16, 8},
00183     {0x32, 8}, {0x32, 8}, {0x0e, 8}, {0x0e, 8},
00184     {0x29, 8}, {0x29, 8}, {0x15, 8}, {0x15, 8},
00185     {0x31, 8}, {0x31, 8}, {0x0d, 8}, {0x0d, 8},
00186     {0x23, 8}, {0x23, 8}, {0x13, 8}, {0x13, 8},
00187     {0x0b, 8}, {0x0b, 8}, {0x07, 8}, {0x07, 8}
00188 };
00189 
00190 
00191 static const DCtab DC_lum_5 [] = {
00192     {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2},
00193     {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2},
00194     {0, 3}, {0, 3}, {0, 3}, {0, 3}, {3, 3}, {3, 3}, {3, 3}, {3, 3},
00195     {4, 3}, {4, 3}, {4, 3}, {4, 3}, {5, 4}, {5, 4}, {6, 5}
00196 };
00197 
00198 static const DCtab DC_chrom_5 [] = {
00199     {0, 2}, {0, 2}, {0, 2}, {0, 2}, {0, 2}, {0, 2}, {0, 2}, {0, 2},
00200     {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2},
00201     {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2},
00202     {3, 3}, {3, 3}, {3, 3}, {3, 3}, {4, 4}, {4, 4}, {5, 5}
00203 };
00204 
00205 static const DCtab DC_long [] = {
00206     {6, 5}, {6, 5}, {6, 5}, {6, 5}, {6, 5}, {6, 5}, { 6, 5}, { 6, 5},
00207     {6, 5}, {6, 5}, {6, 5}, {6, 5}, {6, 5}, {6, 5}, { 6, 5}, { 6, 5},
00208     {7, 6}, {7, 6}, {7, 6}, {7, 6}, {7, 6}, {7, 6}, { 7, 6}, { 7, 6},
00209     {8, 7}, {8, 7}, {8, 7}, {8, 7}, {9, 8}, {9, 8}, {10, 9}, {11, 9}
00210 };
00211 
00212 
00213 static const DCTtab DCT_16 [] = {
00214     {129, 0, 0}, {129, 0, 0}, {129, 0, 0}, {129, 0, 0},
00215     {129, 0, 0}, {129, 0, 0}, {129, 0, 0}, {129, 0, 0},
00216     {129, 0, 0}, {129, 0, 0}, {129, 0, 0}, {129, 0, 0},
00217     {129, 0, 0}, {129, 0, 0}, {129, 0, 0}, {129, 0, 0},
00218     {  2,18, 0}, {  2,17, 0}, {  2,16, 0}, {  2,15, 0},
00219     {  7, 3, 0}, { 17, 2, 0}, { 16, 2, 0}, { 15, 2, 0},
00220     { 14, 2, 0}, { 13, 2, 0}, { 12, 2, 0}, { 32, 1, 0},
00221     { 31, 1, 0}, { 30, 1, 0}, { 29, 1, 0}, { 28, 1, 0}
00222 };
00223 
00224 static const DCTtab DCT_15 [] = {
00225     {  1,40,15}, {  1,39,15}, {  1,38,15}, {  1,37,15},
00226     {  1,36,15}, {  1,35,15}, {  1,34,15}, {  1,33,15},
00227     {  1,32,15}, {  2,14,15}, {  2,13,15}, {  2,12,15},
00228     {  2,11,15}, {  2,10,15}, {  2, 9,15}, {  2, 8,15},
00229     {  1,31,14}, {  1,31,14}, {  1,30,14}, {  1,30,14},
00230     {  1,29,14}, {  1,29,14}, {  1,28,14}, {  1,28,14},
00231     {  1,27,14}, {  1,27,14}, {  1,26,14}, {  1,26,14},
00232     {  1,25,14}, {  1,25,14}, {  1,24,14}, {  1,24,14},
00233     {  1,23,14}, {  1,23,14}, {  1,22,14}, {  1,22,14},
00234     {  1,21,14}, {  1,21,14}, {  1,20,14}, {  1,20,14},
00235     {  1,19,14}, {  1,19,14}, {  1,18,14}, {  1,18,14},
00236     {  1,17,14}, {  1,17,14}, {  1,16,14}, {  1,16,14}
00237 };
00238 
00239 static const DCTtab DCT_13 [] = {
00240     { 11, 2,13}, { 10, 2,13}, {  6, 3,13}, {  4, 4,13},
00241     {  3, 5,13}, {  2, 7,13}, {  2, 6,13}, {  1,15,13},
00242     {  1,14,13}, {  1,13,13}, {  1,12,13}, { 27, 1,13},
00243     { 26, 1,13}, { 25, 1,13}, { 24, 1,13}, { 23, 1,13},
00244     {  1,11,12}, {  1,11,12}, {  9, 2,12}, {  9, 2,12},
00245     {  5, 3,12}, {  5, 3,12}, {  1,10,12}, {  1,10,12},
00246     {  3, 4,12}, {  3, 4,12}, {  8, 2,12}, {  8, 2,12},
00247     { 22, 1,12}, { 22, 1,12}, { 21, 1,12}, { 21, 1,12},
00248     {  1, 9,12}, {  1, 9,12}, { 20, 1,12}, { 20, 1,12},
00249     { 19, 1,12}, { 19, 1,12}, {  2, 5,12}, {  2, 5,12},
00250     {  4, 3,12}, {  4, 3,12}, {  1, 8,12}, {  1, 8,12},
00251     {  7, 2,12}, {  7, 2,12}, { 18, 1,12}, { 18, 1,12}
00252 };
00253 
00254 static const DCTtab DCT_B14_10 [] = {
00255     { 17, 1,10}, {  6, 2,10}, {  1, 7,10}, {  3, 3,10},
00256     {  2, 4,10}, { 16, 1,10}, { 15, 1,10}, {  5, 2,10}
00257 };
00258 
00259 static const DCTtab DCT_B14_8 [] = {
00260     { 65, 0, 6}, { 65, 0, 6}, { 65, 0, 6}, { 65, 0, 6},
00261     {  3, 2, 7}, {  3, 2, 7}, { 10, 1, 7}, { 10, 1, 7},
00262     {  1, 4, 7}, {  1, 4, 7}, {  9, 1, 7}, {  9, 1, 7},
00263     {  8, 1, 6}, {  8, 1, 6}, {  8, 1, 6}, {  8, 1, 6},
00264     {  7, 1, 6}, {  7, 1, 6}, {  7, 1, 6}, {  7, 1, 6},
00265     {  2, 2, 6}, {  2, 2, 6}, {  2, 2, 6}, {  2, 2, 6},
00266     {  6, 1, 6}, {  6, 1, 6}, {  6, 1, 6}, {  6, 1, 6},
00267     { 14, 1, 8}, {  1, 6, 8}, { 13, 1, 8}, { 12, 1, 8},
00268     {  4, 2, 8}, {  2, 3, 8}, {  1, 5, 8}, { 11, 1, 8}
00269 };
00270 
00271 static const DCTtab DCT_B14AC_5 [] = {
00272                  {  1, 3, 5}, {  5, 1, 5}, {  4, 1, 5},
00273     {  1, 2, 4}, {  1, 2, 4}, {  3, 1, 4}, {  3, 1, 4},
00274     {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
00275     {129, 0, 2}, {129, 0, 2}, {129, 0, 2}, {129, 0, 2},
00276     {129, 0, 2}, {129, 0, 2}, {129, 0, 2}, {129, 0, 2},
00277     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00278     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}
00279 };
00280 
00281 static const DCTtab DCT_B14DC_5 [] = {
00282                  {  1, 3, 5}, {  5, 1, 5}, {  4, 1, 5},
00283     {  1, 2, 4}, {  1, 2, 4}, {  3, 1, 4}, {  3, 1, 4},
00284     {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
00285     {  1, 1, 1}, {  1, 1, 1}, {  1, 1, 1}, {  1, 1, 1},
00286     {  1, 1, 1}, {  1, 1, 1}, {  1, 1, 1}, {  1, 1, 1},
00287     {  1, 1, 1}, {  1, 1, 1}, {  1, 1, 1}, {  1, 1, 1},
00288     {  1, 1, 1}, {  1, 1, 1}, {  1, 1, 1}, {  1, 1, 1}
00289 };
00290 
00291 static const DCTtab DCT_B15_10 [] = {
00292     {  6, 2, 9}, {  6, 2, 9}, { 15, 1, 9}, { 15, 1, 9},
00293     {  3, 4,10}, { 17, 1,10}, { 16, 1, 9}, { 16, 1, 9}
00294 };
00295 
00296 static const DCTtab DCT_B15_8 [] = {
00297     { 65, 0, 6}, { 65, 0, 6}, { 65, 0, 6}, { 65, 0, 6},
00298     {  8, 1, 7}, {  8, 1, 7}, {  9, 1, 7}, {  9, 1, 7},
00299     {  7, 1, 7}, {  7, 1, 7}, {  3, 2, 7}, {  3, 2, 7},
00300     {  1, 7, 6}, {  1, 7, 6}, {  1, 7, 6}, {  1, 7, 6},
00301     {  1, 6, 6}, {  1, 6, 6}, {  1, 6, 6}, {  1, 6, 6},
00302     {  5, 1, 6}, {  5, 1, 6}, {  5, 1, 6}, {  5, 1, 6},
00303     {  6, 1, 6}, {  6, 1, 6}, {  6, 1, 6}, {  6, 1, 6},
00304     {  2, 5, 8}, { 12, 1, 8}, {  1,11, 8}, {  1,10, 8},
00305     { 14, 1, 8}, { 13, 1, 8}, {  4, 2, 8}, {  2, 4, 8},
00306     {  3, 1, 5}, {  3, 1, 5}, {  3, 1, 5}, {  3, 1, 5},
00307     {  3, 1, 5}, {  3, 1, 5}, {  3, 1, 5}, {  3, 1, 5},
00308     {  2, 2, 5}, {  2, 2, 5}, {  2, 2, 5}, {  2, 2, 5},
00309     {  2, 2, 5}, {  2, 2, 5}, {  2, 2, 5}, {  2, 2, 5},
00310     {  4, 1, 5}, {  4, 1, 5}, {  4, 1, 5}, {  4, 1, 5},
00311     {  4, 1, 5}, {  4, 1, 5}, {  4, 1, 5}, {  4, 1, 5},
00312     {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
00313     {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
00314     {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
00315     {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
00316     {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
00317     {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
00318     {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
00319     {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
00320     {129, 0, 4}, {129, 0, 4}, {129, 0, 4}, {129, 0, 4},
00321     {129, 0, 4}, {129, 0, 4}, {129, 0, 4}, {129, 0, 4},
00322     {129, 0, 4}, {129, 0, 4}, {129, 0, 4}, {129, 0, 4},
00323     {129, 0, 4}, {129, 0, 4}, {129, 0, 4}, {129, 0, 4},
00324     {  1, 3, 4}, {  1, 3, 4}, {  1, 3, 4}, {  1, 3, 4},
00325     {  1, 3, 4}, {  1, 3, 4}, {  1, 3, 4}, {  1, 3, 4},
00326     {  1, 3, 4}, {  1, 3, 4}, {  1, 3, 4}, {  1, 3, 4},
00327     {  1, 3, 4}, {  1, 3, 4}, {  1, 3, 4}, {  1, 3, 4},
00328     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00329     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00330     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00331     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00332     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00333     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00334     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00335     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00336     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00337     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00338     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00339     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00340     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00341     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00342     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00343     {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2},
00344     {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3},
00345     {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3},
00346     {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3},
00347     {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3},
00348     {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3},
00349     {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3},
00350     {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3},
00351     {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3}, {  1, 2, 3},
00352     {  1, 4, 5}, {  1, 4, 5}, {  1, 4, 5}, {  1, 4, 5},
00353     {  1, 4, 5}, {  1, 4, 5}, {  1, 4, 5}, {  1, 4, 5},
00354     {  1, 5, 5}, {  1, 5, 5}, {  1, 5, 5}, {  1, 5, 5},
00355     {  1, 5, 5}, {  1, 5, 5}, {  1, 5, 5}, {  1, 5, 5},
00356     { 10, 1, 7}, { 10, 1, 7}, {  2, 3, 7}, {  2, 3, 7},
00357     { 11, 1, 7}, { 11, 1, 7}, {  1, 8, 7}, {  1, 8, 7},
00358     {  1, 9, 7}, {  1, 9, 7}, {  1,12, 8}, {  1,13, 8},
00359     {  3, 3, 8}, {  5, 2, 8}, {  1,14, 8}, {  1,15, 8}
00360 };
00361 
00362 
00363 static const MBAtab MBA_5 [] = {
00364                     {6, 5}, {5, 5}, {4, 4}, {4, 4}, {3, 4}, {3, 4},
00365     {2, 3}, {2, 3}, {2, 3}, {2, 3}, {1, 3}, {1, 3}, {1, 3}, {1, 3},
00366     {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1},
00367     {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}
00368 };
00369 
00370 static const MBAtab MBA_11 [] = {
00371     {32, 11}, {31, 11}, {30, 11}, {29, 11},
00372     {28, 11}, {27, 11}, {26, 11}, {25, 11},
00373     {24, 11}, {23, 11}, {22, 11}, {21, 11},
00374     {20, 10}, {20, 10}, {19, 10}, {19, 10},
00375     {18, 10}, {18, 10}, {17, 10}, {17, 10},
00376     {16, 10}, {16, 10}, {15, 10}, {15, 10},
00377     {14,  8}, {14,  8}, {14,  8}, {14,  8},
00378     {14,  8}, {14,  8}, {14,  8}, {14,  8},
00379     {13,  8}, {13,  8}, {13,  8}, {13,  8},
00380     {13,  8}, {13,  8}, {13,  8}, {13,  8},
00381     {12,  8}, {12,  8}, {12,  8}, {12,  8},
00382     {12,  8}, {12,  8}, {12,  8}, {12,  8},
00383     {11,  8}, {11,  8}, {11,  8}, {11,  8},
00384     {11,  8}, {11,  8}, {11,  8}, {11,  8},
00385     {10,  8}, {10,  8}, {10,  8}, {10,  8},
00386     {10,  8}, {10,  8}, {10,  8}, {10,  8},
00387     { 9,  8}, { 9,  8}, { 9,  8}, { 9,  8},
00388     { 9,  8}, { 9,  8}, { 9,  8}, { 9,  8},
00389     { 8,  7}, { 8,  7}, { 8,  7}, { 8,  7},
00390     { 8,  7}, { 8,  7}, { 8,  7}, { 8,  7},
00391     { 8,  7}, { 8,  7}, { 8,  7}, { 8,  7},
00392     { 8,  7}, { 8,  7}, { 8,  7}, { 8,  7},
00393     { 7,  7}, { 7,  7}, { 7,  7}, { 7,  7},
00394     { 7,  7}, { 7,  7}, { 7,  7}, { 7,  7},
00395     { 7,  7}, { 7,  7}, { 7,  7}, { 7,  7},
00396     { 7,  7}, { 7,  7}, { 7,  7}, { 7,  7}
00397 };
00398 

Generated on Tue Dec 20 10:14:50 2005 for vlc-0.8.4a by  doxygen 1.4.2