hvirtual/quicktime/ffmpeg/libavcodec/vc9data.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

const int16_t vc9_bfraction_lut [23]
const uint8_t vc9_bfraction_bits [23]
const uint8_t vc9_bfraction_codes [23]
static const AVRational vc9_pixel_aspect [16]
static const uint8_t vc9_imode_codes [7]
static const uint8_t vc9_imode_bits [7]
static const uint8_t vc9_norm2_codes [4]
static const uint8_t vc9_norm2_bits [4]
static const uint16_t vc9_norm6_codes [64]
static const uint8_t vc9_norm6_bits [64]
static const uint8_t vc9_norm6_spec [64][5]
static const uint8_t vc9_4mv_block_pattern_codes [4][16]
static const uint8_t vc9_4mv_block_pattern_bits [4][16]
const uint8_t wmv3_dc_scale_table [32]
static const uint16_t vc9_cbpcy_p_codes [4][64]
static const uint8_t vc9_cbpcy_p_bits [4][64]
static const uint16_t vc9_ttmb_codes [3][16]
static const uint8_t vc9_ttmb_bits [3][16]
static const uint8_t vc9_ttblk_codes [3][8]
static const uint8_t vc9_ttblk_bits [3][8]
static const uint8_t vc9_subblkpat_codes [3][15]
static const uint8_t vc9_subblkpat_bits [3][15]
static const uint16_t vc9_mv_diff_codes [4][73]
static const uint8_t vc9_mv_diff_bits [4][73]


Detailed Description

VC9 tables.

Definition in file vc9data.h.


Variable Documentation

const uint8_t vc9_4mv_block_pattern_bits[4][16] [static]

Initial value:

 {
  { 5, 6, 6, 5, 5, 5, 5, 4, 5, 5, 5, 3, 5, 3, 3, 2},
  { 4, 5, 5, 4, 5, 4, 5, 4, 5, 5, 4, 4, 4, 4, 4, 2},
  { 4, 4, 4, 4, 4, 4, 5, 4, 4, 5, 4, 4, 4, 4, 4, 3},
  { 2, 4, 4, 4, 4, 4, 5, 5, 4, 5, 4, 5, 4, 5, 5, 4}
}

Definition at line 162 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_4mv_block_pattern_codes[4][16] [static]

Initial value:

 {
  { 14, 58, 59, 25, 12, 26, 15, 15, 13, 24, 27,  0, 28,  1,  2,  2},
  {  8, 18, 19,  4, 20,  5, 30, 11, 21, 31,  6, 12,  7, 13, 14,  0},
  { 15,  6,  7,  2,  8,  3, 28,  9, 10, 29,  4, 11,  5, 12, 13,  0},
  {  0, 11, 12,  4, 13,  5, 30, 16, 14, 31,  6, 17,  7, 18, 19, 19}
}

Definition at line 156 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_bfraction_bits[23]

Initial value:

 {
    3, 3, 3, 3,
    3, 3, 3,
    7, 7, 7, 7,
    7, 7, 7, 7,
    7, 7, 7, 7,
    7, 7,
    7, 7
}

Definition at line 19 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_bfraction_codes[23]

Initial value:

 {
     0,   1,   2,   3,
     4,   5,   6,
   112, 113, 114, 115,
   116, 117, 118, 119,
   120, 121, 122, 123,
   124, 125,
   126, 127
}

Definition at line 28 of file vc9data.h.

Referenced by vc9_init_common().

const int16_t vc9_bfraction_lut[23]

Initial value:

 {
  420 , 280 , 560 , 210 ,
  630 , 168 , 336 ,
  504 , 672 , 140 , 700 ,
  120 , 240 , 360 , 480 ,
  600 , 720 , 105 , 315 ,
  525 , 735 ,
  -1 , 0 
}

Definition at line 10 of file vc9data.h.

Referenced by decode_b_picture_primary_header().

const uint8_t vc9_cbpcy_p_bits[4][64] [static]

Initial value:

 {
  {
    13,  6,  5,  6,  6,  7,  7,  5,  7,  7,  6,  6,  6,  5,  6,  3,
     7,  8,  8, 13,  7,  8, 13,  8, 13, 13, 13,  8,  8,  7,  7,  3,
    13, 13,  7,  8, 13, 13, 13,  8, 13, 13,  8,  7,  8,  7,  8,  3,
    13, 12, 12, 12, 12, 12, 12,  6, 12, 12, 12,  8,  8,  7,  7,  2
  },
  {
    14,  3,  3,  5,  3,  4,  5,  5,  3,  5,  4,  5,  4,  6,  5,  6,
     8, 14, 13,  8,  8, 13, 13,  8,  8, 13, 13,  8, 13, 13,  8, 13,
    13,  8, 13, 13,  7,  7, 13, 13, 13, 13,  8,  8, 13, 13,  7,  6,
    13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,  8,  7
  },
  {
    13,  5,  5,  5,  4,  4,  6,  4,  4,  6,  4,  5,  5,  5,  4,  3,
     6,  8, 10,  9,  8,  8,  7,  8, 13, 13,  7,  7,  8,  8,  7,  5,
     8,  7,  9,  9,  9,  6,  8,  7,  8, 13,  8,  7,  8,  7,  8,  5,
     8,  9,  8, 13,  8,  9, 13,  8, 12,  8,  8,  9,  9,  9,  8,  5
  },
  {
     9,  2,  3,  9,  2,  9,  9,  9,  2,  9,  9,  9,  9,  9,  9,  9,
     9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,
     9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,
     9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  9,  8,  8,  8,  8
  }
}

Definition at line 200 of file vc9data.h.

Referenced by vc9_init_common().

const uint16_t vc9_cbpcy_p_codes[4][64] [static]

Initial value:

 {
  {
      0,   1,   1,   4,   5,   1,  12,   4,  13,  14,  10,  11,  12,   7,  13,   2,
     15,   1,  96,   1,  49,  97,   2, 100,   3,   4,   5, 101, 102,  52,  53,   4,
      6,   7,  54, 103,   8,   9,  10, 110,  11,  12, 111,  56, 114,  58, 115,   5,
     13,   7,   8,   9,  10,  11,  12,  30,  13,  14,  15, 118, 119,  62,  63,   3
  },
  {
      0,   1,   2,   1,   3,   1,  16,  17,   5,  18,  12,  19,  13,   1,  28,  58,
      1,   1,   1,   2,   3,   2,   3, 236, 237,   4,   5, 238,   6,   7, 239,   8,
      9, 240,  10,  11, 121, 122,  12,  13,  14,  15, 241, 246,  16,  17, 124,  63,
     18,  19,  20,  21,  22,  23,  24,  25,  26,  27,  28,  29,  30,  31, 247, 125
  },
  {
      0,   1,   2,   3,   2,   3,   1,   4,   5,  24,   7,  13,  16,  17,   9,   5,
     25,   1,   1,   1,   2,   3,  96, 194,   1,   2,  98,  99, 195, 200, 101,  26,
    201, 102, 412, 413, 414,  54, 220, 111, 221,   3, 224, 113, 225, 114, 230,  29,
    231, 415, 240,   4, 241, 484,   5, 243,   3, 244, 245, 485, 492, 493, 247,  31
  },
  {
      0,   1,   1,   1,   2,   2,   3,   4,   3,   5,   6,   7,   8,   9,  10,  11,
     12,  13,  14,  15,  16,  17,  18,  19,  20,  21,  22,  23,  24,  25,  26,  27,
     28,  29,  30,  31,  32,  33,  34,  35,  36,  37,  38,  39,  40,  41,  42,  43,
     44,  45,  46,  47,  48,  49,  50,  51,  52,  53,  54,  55,  28,  29,  30,  31
   }
}

Definition at line 174 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_imode_bits[7] [static]

Initial value:

 {
  4, 2, 3, 2, 4, 3, 3
}

Definition at line 62 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_imode_codes[7] [static]

Initial value:

 {
  0, 2, 1, 3, 1, 2, 3
}

Definition at line 59 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_mv_diff_bits[4][73] [static]

Definition at line 370 of file vc9data.h.

Referenced by vc9_init_common().

const uint16_t vc9_mv_diff_codes[4][73] [static]

Definition at line 320 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_norm2_bits[4] [static]

Initial value:

 {
  1, 3, 3, 2
}

Definition at line 70 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_norm2_codes[4] [static]

Initial value:

 {
  0, 4, 5, 3
}

Definition at line 67 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_norm6_bits[64] [static]

Initial value:

 {
 1,  4,  4,  8,  4,  8,  8, 10,  4,  8,  8, 10,  8, 10, 10, 13, 
 4,  8,  8, 10,  8, 10, 10, 13,  8, 10, 10, 13, 10, 13, 13,  9, 
 4,  8,  8, 10,  8, 10, 10, 13,  8, 10, 10, 13, 10, 13, 13,  9, 
 8, 10, 10, 13, 10, 13, 13,  9, 10, 13, 13,  9, 13,  9,  9,  6,
}

Definition at line 81 of file vc9data.h.

Referenced by vc9_init_common().

const uint16_t vc9_norm6_codes[64] [static]

Initial value:

 {
0x001, 0x002, 0x003, 0x000, 0x004, 0x001, 0x002, 0x047, 0x005, 0x003, 0x004, 0x04B, 0x005, 0x04D, 0x04E, 0x30E, 
0x006, 0x006, 0x007, 0x053, 0x008, 0x055, 0x056, 0x30D, 0x009, 0x059, 0x05A, 0x30C, 0x05C, 0x30B, 0x30A, 0x037, 
0x007, 0x00A, 0x00B, 0x043, 0x00C, 0x045, 0x046, 0x309, 0x00D, 0x049, 0x04A, 0x308, 0x04C, 0x307, 0x306, 0x036, 
0x00E, 0x051, 0x052, 0x305, 0x054, 0x304, 0x303, 0x035, 0x058, 0x302, 0x301, 0x034, 0x300, 0x033, 0x032, 0x007, 
}

Definition at line 74 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_norm6_spec[64][5] [static]

Definition at line 88 of file vc9data.h.

Referenced by vc9_init_common().

const AVRational vc9_pixel_aspect[16] [static]

Initial value:

{
 {0, 1},
 {1, 1},
 {12, 11},
 {10, 11},
 {16, 11},
 {40, 33},
 {24, 11},
 {20, 11},
 {32, 11},
 {80, 33},
 {18, 11},
 {15, 11},
 {64, 33},
 {160, 99},
 {0, 1},
 {0, 1}
}

Definition at line 39 of file vc9data.h.

const uint8_t vc9_subblkpat_bits[3][15] [static]

Initial value:

 {
  {  5,  5,  5,  5,  5,  6,  4,  5,  6,  5,  4,  5,  4,  5,  1},
  {  4,  3,  4,  4,  4,  5,  5,  4,  5,  4,  5,  4,  5,  5,  2},
  {  3,  3,  4,  3,  4,  5,  5,  3,  5,  4,  5,  4,  5,  5,  4}
}

Definition at line 313 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_subblkpat_codes[3][15] [static]

Initial value:

 {
  { 14, 12,  7, 11,  9, 26,  2, 10, 27,  8,  0,  6,  1, 15,  1},
  { 14,  0,  8, 15, 10,  4, 23, 13,  5,  9, 25,  3, 24, 22,  1},
  {  5,  6,  2,  2,  8,  0, 28,  3,  1,  3, 29,  1, 19, 18, 15}
}

Definition at line 308 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_ttblk_bits[3][8] [static]

Initial value:

 {
  {  2,  2,  2,  3,  5,  5,  5,  5},
  {  2,  3,  3,  3,  3,  3,  4,  4},
  {  2,  3,  3,  3,  3,  3,  4,  4}
}

Definition at line 301 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_ttblk_codes[3][8] [static]

Initial value:

 {
  {  0,  1,  3,  5, 16, 17, 18, 19},
  {  3,  0,  1,  2,  3,  5,  8,  9},
  {  1,  0,  1,  4,  6,  7, 10, 11}
}

Definition at line 296 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t vc9_ttmb_bits[3][16] [static]

Initial value:

 {
  {
     2,
     6,  7,  2,
     5,  5,  2,
     3,  5,
    10,  9,  9,
    12, 12, 11,
     9
  },
  {
    3,
    4, 4, 4,
    4, 4, 3,
    3, 2,
    7, 7, 6,
    6, 8, 7,
    8
  },
  {
     3,
     3, 4, 5,
     3, 3, 4,
     4, 2,
    10, 8, 6,
    11, 9, 7,
    11
  }
}

Definition at line 265 of file vc9data.h.

Referenced by vc9_init_common().

const uint16_t vc9_ttmb_codes[3][16] [static]

Initial value:

 {
  {
    0x0003,
    0x002E, 0x005F, 0x0000,
    0x0016, 0x0015, 0x0001,
    0x0004, 0x0014,
    0x02F1, 0x0179, 0x017B,
    0x0BC0, 0x0BC1, 0x05E1,
    0x017A
  },
  {
    0x0006,
    0x0006, 0x0003, 0x0007,
    0x000F, 0x000E, 0x0000,
    0x0002, 0x0002,
    0x0014, 0x0011, 0x000B,
    0x0009, 0x0021, 0x0015,
    0x0020
  },
  {
    0x0006,
    0x0000, 0x000E, 0x0005,
    0x0002, 0x0003, 0x0003,
    0x000F, 0x0002,
    0x0081, 0x0021, 0x0009,
    0x0101, 0x0041, 0x0011,
    0x0100
  }
}

Definition at line 235 of file vc9data.h.

Referenced by vc9_init_common().

const uint8_t wmv3_dc_scale_table[32]

Initial value:

{
    0, 4, 6, 8, 8, 8, 9, 9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21
}

Definition at line 169 of file vc9data.h.

Referenced by common_init().


Generated on Mon Apr 28 14:06:28 2008 for Cinelerra by  doxygen 1.5.5