FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
vp8data.h File Reference

VP8 compatible video decoder. More...

#include "vp8.h"
#include "h264pred.h"

Go to the source code of this file.

Variables

static const uint8_t vp8_pred4x4_mode []
 
static const int8_t vp8_pred16x16_tree_intra [4][2]
 
static const int8_t vp8_pred16x16_tree_inter [4][2]
 
static const int vp8_mode_contexts [6][4]
 
static const uint8_t vp8_mbsplits [5][16]
 
static const uint8_t vp8_mbfirstidx [4][16]
 
static const uint8_t vp8_mbsplit_count [4] = { 2, 2, 4, 16 }
 
static const uint8_t vp8_mbsplit_prob [3] = { 110, 111, 150 }
 
static const uint8_t vp8_submv_prob [5][3]
 
static const uint8_t vp8_pred16x16_prob_intra [4] = { 145, 156, 163, 128 }
 
static const uint8_t vp8_pred16x16_prob_inter [4] = { 112, 86, 140, 37 }
 
static const int8_t vp8_pred4x4_tree [9][2]
 
static const int8_t vp8_pred8x8c_tree [3][2]
 
static const uint8_t vp8_pred8x8c_prob_intra [3] = { 142, 114, 183 }
 
static const uint8_t vp8_pred8x8c_prob_inter [3] = { 162, 101, 204 }
 
static const uint8_t vp8_pred4x4_prob_inter [9]
 
static const uint8_t vp8_pred4x4_prob_intra [10][10][9]
 
static const int8_t vp8_segmentid_tree [][2]
 
static const uint8_t vp8_coeff_band [16]
 
static const int8_t vp8_coeff_band_indexes [8][10]
 
static const uint8_t vp8_dct_cat1_prob [] = { 159, 0 }
 
static const uint8_t vp8_dct_cat2_prob [] = { 165, 145, 0 }
 
static const uint8_t vp8_dct_cat3_prob [] = { 173, 148, 140, 0 }
 
static const uint8_t vp8_dct_cat4_prob [] = { 176, 155, 140, 135, 0 }
 
static const uint8_t vp8_dct_cat5_prob [] = { 180, 157, 141, 134, 130, 0 }
 
static const uint8_t vp8_dct_cat6_prob [] = { 254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0 }
 
const uint8_t *const ff_vp8_dct_cat_prob []
 
static const uint8_t vp8_token_default_probs [4][8][3][NUM_DCT_TOKENS-1]
 
static const uint8_t vp8_token_update_probs [4][8][3][NUM_DCT_TOKENS-1]
 
static const uint8_t zigzag_scan [16]
 
static const uint8_t vp8_dc_qlookup [VP8_MAX_QUANT+1]
 
static const uint16_t vp8_ac_qlookup [VP8_MAX_QUANT+1]
 
static const uint8_t vp8_mv_update_prob [2][19]
 
static const uint8_t vp8_mv_default_prob [2][19]
 

Detailed Description

VP8 compatible video decoder.

Definition in file vp8data.h.

Variable Documentation

const uint8_t vp8_pred4x4_mode[]
static
Initial value:

Definition at line 33 of file vp8data.h.

Referenced by decode_mb_mode().

const int8_t vp8_pred16x16_tree_intra[4][2]
static
Initial value:
=
{
{ -MODE_I4x4, 1 },
{ 2, 3 },
}

Definition at line 41 of file vp8data.h.

Referenced by decode_mb_mode().

const int8_t vp8_pred16x16_tree_inter[4][2]
static
Initial value:
=
{
{ -DC_PRED8x8, 1 },
{ 2, 3 },
}

Definition at line 49 of file vp8data.h.

Referenced by decode_mb_mode().

const int vp8_mode_contexts[6][4]
static
Initial value:
= {
{ 7, 1, 1, 143 },
{ 14, 18, 14, 107 },
{ 135, 64, 57, 68 },
{ 60, 56, 128, 65 },
{ 159, 134, 128, 34 },
{ 234, 188, 128, 28 },
}

Definition at line 57 of file vp8data.h.

Referenced by decode_mvs().

const uint8_t vp8_mbsplits[5][16]
static
Initial value:
= {
{ 0, 0, 0, 0, 0, 0, 0, 0,
1, 1, 1, 1, 1, 1, 1, 1 },
{ 0, 0, 1, 1, 0, 0, 1, 1,
0, 0, 1, 1, 0, 0, 1, 1 },
{ 0, 0, 1, 1, 0, 0, 1, 1,
2, 2, 3, 3, 2, 2, 3, 3 },
{ 0, 1, 2, 3, 4, 5, 6, 7,
8, 9, 10, 11, 12, 13, 14, 15 },
{ 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0 }
}

Definition at line 66 of file vp8data.h.

Referenced by decode_splitmvs().

const uint8_t vp8_mbfirstidx[4][16]
static
Initial value:
= {
{ 0, 8 }, { 0, 2 }, { 0, 2, 8, 10 },
{ 0, 1, 2, 3, 4, 5, 6, 7,
8, 9, 10, 11, 12, 13, 14, 15 }
}

Definition at line 79 of file vp8data.h.

Referenced by decode_splitmvs().

const uint8_t vp8_mbsplit_count[4] = { 2, 2, 4, 16 }
static

Definition at line 85 of file vp8data.h.

Referenced by decode_splitmvs().

const uint8_t vp8_mbsplit_prob[3] = { 110, 111, 150 }
static

Definition at line 86 of file vp8data.h.

Referenced by decode_splitmvs().

const uint8_t vp8_submv_prob[5][3]
static
Initial value:
= {
{ 147, 136, 18 },
{ 106, 145, 1 },
{ 179, 121, 1 },
{ 223, 1, 34 },
{ 208, 1, 1 }
}

Definition at line 88 of file vp8data.h.

Referenced by get_submv_prob().

const uint8_t vp8_pred16x16_prob_intra[4] = { 145, 156, 163, 128 }
static

Definition at line 96 of file vp8data.h.

Referenced by decode_mb_mode().

const uint8_t vp8_pred16x16_prob_inter[4] = { 112, 86, 140, 37 }
static

Definition at line 97 of file vp8data.h.

Referenced by decode_frame_header().

const int8_t vp8_pred4x4_tree[9][2]
static
Initial value:
=
{
{ -DC_PRED, 1 },
{ -TM_VP8_PRED, 2 },
{ -VERT_PRED, 3 },
{ 4, 6 },
{ -HOR_PRED, 5 },
{ -VERT_LEFT_PRED, 8 },
}

Definition at line 99 of file vp8data.h.

Referenced by decode_intra4x4_modes().

const int8_t vp8_pred8x8c_tree[3][2]
static
Initial value:
=
{
{ -DC_PRED8x8, 1 },
{ -VERT_PRED8x8, 2 },
}

Definition at line 112 of file vp8data.h.

Referenced by decode_mb_mode().

const uint8_t vp8_pred8x8c_prob_intra[3] = { 142, 114, 183 }
static

Definition at line 119 of file vp8data.h.

Referenced by decode_mb_mode().

const uint8_t vp8_pred8x8c_prob_inter[3] = { 162, 101, 204 }
static

Definition at line 120 of file vp8data.h.

Referenced by decode_frame_header().

const uint8_t vp8_pred4x4_prob_inter[9]
static
Initial value:
=
{
120, 90, 79, 133, 87, 85, 80, 111, 151
}

Definition at line 122 of file vp8data.h.

Referenced by decode_intra4x4_modes().

const uint8_t vp8_pred4x4_prob_intra[10][10][9]
static

Definition at line 127 of file vp8data.h.

Referenced by decode_intra4x4_modes().

const int8_t vp8_segmentid_tree[][2]
static
Initial value:
=
{
{ 1, 2 },
{ -0, -1 },
{ -2, -3 },
}

Definition at line 251 of file vp8data.h.

const uint8_t vp8_coeff_band[16]
static
Initial value:
=
{
0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7
}

Definition at line 258 of file vp8data.h.

Referenced by decode_frame_header().

const int8_t vp8_coeff_band_indexes[8][10]
static
Initial value:
=
{
{0, -1},
{1, -1},
{2, -1},
{3, -1},
{5, -1},
{6, -1},
{4, 7, 8, 9, 10, 11, 12, 13, 14, -1},
{15, -1}
}

Definition at line 265 of file vp8data.h.

Referenced by decode_frame_header().

const uint8_t vp8_dct_cat1_prob[] = { 159, 0 }
static

Definition at line 277 of file vp8data.h.

Referenced by decode_block_coeffs_internal().

const uint8_t vp8_dct_cat2_prob[] = { 165, 145, 0 }
static

Definition at line 278 of file vp8data.h.

Referenced by decode_block_coeffs_internal().

const uint8_t vp8_dct_cat3_prob[] = { 173, 148, 140, 0 }
static

Definition at line 279 of file vp8data.h.

const uint8_t vp8_dct_cat4_prob[] = { 176, 155, 140, 135, 0 }
static

Definition at line 280 of file vp8data.h.

const uint8_t vp8_dct_cat5_prob[] = { 180, 157, 141, 134, 130, 0 }
static

Definition at line 281 of file vp8data.h.

const uint8_t vp8_dct_cat6_prob[] = { 254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0 }
static

Definition at line 282 of file vp8data.h.

const uint8_t* const ff_vp8_dct_cat_prob[]
Initial value:

Definition at line 285 of file vp8data.h.

Referenced by decode_block_coeffs_internal().

const uint8_t vp8_token_default_probs[4][8][3][NUM_DCT_TOKENS-1]
static

Definition at line 293 of file vp8data.h.

Referenced by decode_frame_header().

const uint8_t vp8_token_update_probs[4][8][3][NUM_DCT_TOKENS-1]
static

Definition at line 465 of file vp8data.h.

Referenced by decode_frame_header().

const uint8_t zigzag_scan[16]
static
Initial value:
={
0+0*4, 1+0*4, 0+1*4, 0+2*4,
1+1*4, 2+0*4, 3+0*4, 2+1*4,
1+2*4, 0+3*4, 1+3*4, 2+2*4,
3+1*4, 3+2*4, 2+3*4, 3+3*4,
}

Definition at line 638 of file vp8data.h.

const uint8_t vp8_dc_qlookup[VP8_MAX_QUANT+1]
static
Initial value:
=
{
4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17,
18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28,
29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43,
44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58,
59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118,
122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157,
}

Definition at line 645 of file vp8data.h.

Referenced by get_quants().

const uint16_t vp8_ac_qlookup[VP8_MAX_QUANT+1]
static
Initial value:
=
{
4, 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, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76,
78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108,
110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152,
155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209,
213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284,
}

Definition at line 657 of file vp8data.h.

Referenced by get_quants().

const uint8_t vp8_mv_update_prob[2][19]
static
Initial value:
= {
{ 237,
246,
253, 253, 254, 254, 254, 254, 254,
254, 254, 254, 254, 254, 250, 250, 252, 254, 254 },
{ 231,
243,
245, 253, 254, 254, 254, 254, 254,
254, 254, 254, 254, 254, 251, 251, 254, 254, 254 }
}

Definition at line 669 of file vp8data.h.

Referenced by decode_frame_header().

const uint8_t vp8_mv_default_prob[2][19]
static
Initial value:
= {
{ 162,
128,
225, 146, 172, 147, 214, 39, 156,
128, 129, 132, 75, 145, 178, 206, 239, 254, 254 },
{ 164,
128,
204, 170, 119, 235, 140, 230, 228,
128, 130, 130, 74, 148, 180, 203, 236, 254, 254 }
}

Definition at line 680 of file vp8data.h.

Referenced by decode_frame_header().