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

VP5 and VP6 compatible video decoder (common data) More...

#include "vp56data.h"

Go to the source code of this file.

Variables

const uint8_t ff_vp56_b2p [] = { 0, 0, 0, 0, 1, 2, 3, 3, 3, 3 }
 
const uint8_t ff_vp56_b6to4 [] = { 0, 0, 1, 1, 2, 3 }
 
const uint8_t ff_vp56_coeff_parse_table [6][11]
 
const uint8_t ff_vp56_def_mb_types_stats [3][10][2]
 
const VP56Tree ff_vp56_pva_tree []
 
const VP56Tree ff_vp56_pc_tree []
 
const uint8_t ff_vp56_coeff_bias [] = { 0, 1, 2, 3, 4, 5, 7, 11, 19, 35, 67 }
 
const uint8_t ff_vp56_coeff_bit_length [] = { 0, 1, 2, 3, 4, 10 }
 
const VP56Frame ff_vp56_reference_frame []
 
const uint8_t ff_vp56_ac_dequant [64]
 
const uint8_t ff_vp56_dc_dequant [64]
 
const uint8_t ff_vp56_pre_def_mb_type_stats [16][3][10][2]
 
const uint8_t ff_vp56_filter_threshold []
 
const uint8_t ff_vp56_mb_type_model_model []
 
const VP56Tree ff_vp56_pmbtm_tree []
 
const VP56Tree ff_vp56_pmbt_tree []
 
const int8_t ff_vp56_candidate_predictor_pos [12][2]
 

Detailed Description

VP5 and VP6 compatible video decoder (common data)

Definition in file vp56data.c.

Variable Documentation

const uint8_t ff_vp56_b2p[] = { 0, 0, 0, 0, 1, 2, 3, 3, 3, 3 }

Definition at line 28 of file vp56data.c.

Referenced by vp56_add_predictors_dc(), and vp56_render_mb().

const uint8_t ff_vp56_b6to4[] = { 0, 0, 1, 1, 2, 3 }

Definition at line 29 of file vp56data.c.

Referenced by vp56_add_predictors_dc(), vp5_parse_coeff(), and vp6_parse_coeff().

const uint8_t ff_vp56_coeff_parse_table[6][11]
Initial value:
= {
{ 159, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 145, 165, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 140, 148, 173, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 135, 140, 155, 176, 0, 0, 0, 0, 0, 0, 0 },
{ 130, 134, 141, 157, 180, 0, 0, 0, 0, 0, 0 },
{ 129, 130, 133, 140, 153, 177, 196, 230, 243, 254, 254 },
}

Definition at line 31 of file vp56data.c.

Referenced by vp5_parse_coeff(), and vp6_parse_coeff().

const uint8_t ff_vp56_def_mb_types_stats[3][10][2]
Initial value:
= {
{ { 69, 42 }, { 1, 2 }, { 1, 7 }, { 44, 42 }, { 6, 22 },
{ 1, 3 }, { 0, 2 }, { 1, 5 }, { 0, 1 }, { 0, 0 }, },
{ { 229, 8 }, { 1, 1 }, { 0, 8 }, { 0, 0 }, { 0, 0 },
{ 1, 2 }, { 0, 1 }, { 0, 0 }, { 1, 1 }, { 0, 0 }, },
{ { 122, 35 }, { 1, 1 }, { 1, 6 }, { 46, 34 }, { 0, 0 },
{ 1, 2 }, { 0, 1 }, { 0, 1 }, { 1, 1 }, { 0, 0 }, },
}

Definition at line 40 of file vp56data.c.

Referenced by vp5_default_models_init(), and vp6_default_models_init().

const VP56Tree ff_vp56_pva_tree[]
Initial value:
= {
{ 8, 0},
{ 4, 1},
{ 2, 2}, {-0}, {-1},
{ 2, 3}, {-2}, {-3},
{ 4, 4},
{ 2, 5}, {-4}, {-5},
{ 2, 6}, {-6}, {-7},
}

Definition at line 49 of file vp56data.c.

Referenced by vp5_parse_vector_adjustment(), and vp6_parse_vector_adjustment().

const VP56Tree ff_vp56_pc_tree[]
Initial value:
= {
{ 4, 6},
{ 2, 7}, {-0}, {-1},
{ 4, 8},
{ 2, 9}, {-2}, {-3},
{ 2,10}, {-4}, {-5},
}

Definition at line 59 of file vp56data.c.

Referenced by vp5_parse_coeff(), and vp6_parse_coeff().

const uint8_t ff_vp56_coeff_bias[] = { 0, 1, 2, 3, 4, 5, 7, 11, 19, 35, 67 }

Definition at line 67 of file vp56data.c.

Referenced by vp5_parse_coeff(), vp6_parse_coeff(), and vp6_parse_coeff_huffman().

const uint8_t ff_vp56_coeff_bit_length[] = { 0, 1, 2, 3, 4, 10 }

Definition at line 68 of file vp56data.c.

Referenced by vp5_parse_coeff(), and vp6_parse_coeff().

const VP56Frame ff_vp56_reference_frame[]
const uint8_t ff_vp56_ac_dequant[64]
Initial value:
= {
94, 92, 90, 88, 86, 82, 78, 74,
70, 66, 62, 58, 54, 53, 52, 51,
50, 49, 48, 47, 46, 45, 44, 43,
42, 40, 39, 37, 36, 35, 34, 33,
32, 31, 30, 29, 28, 27, 26, 25,
24, 23, 22, 21, 20, 19, 18, 17,
16, 15, 14, 13, 12, 11, 10, 9,
8, 7, 6, 5, 4, 3, 2, 1,
}

Definition at line 83 of file vp56data.c.

Referenced by ff_vp56_init_dequant().

const uint8_t ff_vp56_dc_dequant[64]
Initial value:
= {
47, 47, 47, 47, 45, 43, 43, 43,
43, 43, 42, 41, 41, 40, 40, 40,
40, 35, 35, 35, 35, 33, 33, 33,
33, 32, 32, 32, 27, 27, 26, 26,
25, 25, 24, 24, 23, 23, 19, 19,
19, 19, 18, 18, 17, 16, 16, 16,
16, 16, 15, 11, 11, 11, 10, 10,
9, 8, 7, 5, 3, 3, 2, 2,
}

Definition at line 94 of file vp56data.c.

Referenced by ff_vp56_init_dequant().

const uint8_t ff_vp56_pre_def_mb_type_stats[16][3][10][2]

Definition at line 105 of file vp56data.c.

Referenced by vp56_parse_mb_type_models().

const uint8_t ff_vp56_filter_threshold[]
Initial value:
= {
14, 14, 13, 13, 12, 12, 10, 10,
10, 10, 8, 8, 8, 8, 8, 8,
8, 8, 8, 8, 8, 8, 8, 8,
8, 8, 8, 8, 8, 8, 8, 8,
8, 8, 8, 8, 7, 7, 7, 7,
7, 7, 6, 6, 6, 6, 6, 6,
5, 5, 5, 5, 4, 4, 4, 4,
4, 4, 4, 3, 3, 3, 3, 2,
}

Definition at line 204 of file vp56data.c.

Referenced by vp56_deblock_filter().

const uint8_t ff_vp56_mb_type_model_model[]
Initial value:
= {
171, 83, 199, 140, 125, 104,
}

Definition at line 215 of file vp56data.c.

Referenced by vp56_parse_mb_type_models().

const VP56Tree ff_vp56_pmbtm_tree[]
Initial value:
= {
{ 4, 0},
{ 2, 1}, {-8}, {-4},
{ 8, 2},
{ 6, 3},
{ 4, 4},
{ 2, 5}, {-24}, {-20}, {-16}, {-12}, {-0},
}

Definition at line 219 of file vp56data.c.

Referenced by vp56_parse_mb_type_models().

const VP56Tree ff_vp56_pmbt_tree[]
Initial value:
= {
{ 8, 1},
{ 4, 2},
{ 4, 3},
{ 4, 7},
}
Inter MB, no vector, from previous frame.
Definition: vp56.h:49
Inter MB, second vector, from golden frame.
Definition: vp56.h:58
Inter MB, first vector, from previous frame.
Definition: vp56.h:52
Intra MB.
Definition: vp56.h:50
Inter MB, first vector, from golden frame.
Definition: vp56.h:57
Inter MB, 4 vectors, from previous frame.
Definition: vp56.h:56
Inter MB, no vector, from golden frame.
Definition: vp56.h:54
Inter MB, second vector, from previous frame.
Definition: vp56.h:53
Inter MB, above/left vector + delta, from previous frame.
Definition: vp56.h:51
Inter MB, above/left vector + delta, from golden frame.
Definition: vp56.h:55

Definition at line 228 of file vp56data.c.

Referenced by vp56_parse_mb_type().

const int8_t ff_vp56_candidate_predictor_pos[12][2]
Initial value:
= {
{ 0, -1 },
{ -1, 0 },
{ -1, -1 },
{ 1, -1 },
{ 0, -2 },
{ -2, 0 },
{ -2, -1 },
{ -1, -2 },
{ 1, -2 },
{ 2, -1 },
{ -2, -2 },
{ 2, -2 },
}

Definition at line 241 of file vp56data.c.

Referenced by vp56_get_vectors_predictors().