#include "vp8.h"
#include "h264pred.h"
Go to the source code of this file.
Variables | |
static const uint8_t | vp8_pred4x4_mode [] |
VP8 compatible video decoder. | |
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] |
const uint8_t* const ff_vp8_dct_cat_prob[] |
Initial value:
Definition at line 282 of file vp8data.h.
Referenced by decode_block_coeffs_internal().
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 654 of file vp8data.h.
Referenced by get_quants().
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 255 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 262 of file vp8data.h.
Referenced by decode_frame_header().
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 642 of file vp8data.h.
Referenced by get_quants().
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 } [static] |
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 76 of file vp8data.h.
Referenced by decode_splitmvs().
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_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 63 of file vp8data.h.
Referenced by decode_splitmvs().
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 54 of file vp8data.h.
Referenced by decode_mvs().
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 677 of file vp8data.h.
Referenced by decode_frame_header().
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 666 of file vp8data.h.
Referenced by decode_frame_header().
const uint8_t vp8_pred16x16_prob_inter[4] = { 112, 86, 140, 37 } [static] |
const uint8_t vp8_pred16x16_prob_intra[4] = { 145, 156, 163, 128 } [static] |
const int8_t vp8_pred16x16_tree_inter[4][2] [static] |
Initial value:
{ { -DC_PRED8x8, 1 }, { 2, 3 }, { -VERT_PRED8x8, -HOR_PRED8x8 }, { -PLANE_PRED8x8, -MODE_I4x4 }, }
Definition at line 46 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 }, { -DC_PRED8x8, -VERT_PRED8x8 }, { -HOR_PRED8x8, -PLANE_PRED8x8 }, }
Definition at line 38 of file vp8data.h.
Referenced by decode_mb_mode().
const uint8_t vp8_pred4x4_mode[] [static] |
Initial value:
{ [DC_PRED8x8] = DC_PRED, [VERT_PRED8x8] = VERT_PRED, [HOR_PRED8x8] = HOR_PRED, [PLANE_PRED8x8] = TM_VP8_PRED, }
Copyright (C) 2010 David Conrad Copyright (C) 2010 Ronald S. Bultje
This file is part of FFmpeg.
FFmpeg is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
FFmpeg is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with FFmpeg; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Definition at line 30 of file vp8data.h.
Referenced by decode_mb_mode().
const uint8_t vp8_pred4x4_prob_inter[9] [static] |
Initial value:
{ 120, 90, 79, 133, 87, 85, 80, 111, 151 }
Definition at line 119 of file vp8data.h.
Referenced by decode_intra4x4_modes().
const uint8_t vp8_pred4x4_prob_intra[10][10][9] [static] |
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 }, { -DIAG_DOWN_RIGHT_PRED, -VERT_RIGHT_PRED }, { -DIAG_DOWN_LEFT_PRED, 7 }, { -VERT_LEFT_PRED, 8 }, { -HOR_DOWN_PRED, -HOR_UP_PRED }, }
Definition at line 96 of file vp8data.h.
Referenced by decode_intra4x4_modes().
const uint8_t vp8_pred8x8c_prob_inter[3] = { 162, 101, 204 } [static] |
const uint8_t vp8_pred8x8c_prob_intra[3] = { 142, 114, 183 } [static] |
const int8_t vp8_pred8x8c_tree[3][2] [static] |
Initial value:
{ { -DC_PRED8x8, 1 }, { -VERT_PRED8x8, 2 }, { -HOR_PRED8x8, -PLANE_PRED8x8 }, }
Definition at line 109 of file vp8data.h.
Referenced by decode_mb_mode().
const int8_t vp8_segmentid_tree[][2] [static] |
Initial value:
{ { 1, 2 }, { -0, -1 }, { -2, -3 }, }
Definition at line 248 of file vp8data.h.
Referenced by decode_mb_mode().
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 85 of file vp8data.h.
Referenced by get_submv_prob().
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] |