FFmpeg
Variables
vp56data.c File Reference
#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

◆ ff_vp56_b2p

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().

◆ ff_vp56_b6to4

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().

◆ ff_vp56_coeff_parse_table

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().

◆ ff_vp56_def_mb_types_stats

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().

◆ ff_vp56_pva_tree

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().

◆ ff_vp56_pc_tree

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().

◆ ff_vp56_coeff_bias

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().

◆ ff_vp56_coeff_bit_length

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().

◆ ff_vp56_reference_frame

const VP56Frame ff_vp56_reference_frame[]

◆ ff_vp56_ac_dequant

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().

◆ ff_vp56_dc_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().

◆ ff_vp56_pre_def_mb_type_stats

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().

◆ ff_vp56_filter_threshold

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 ff_vp56_init_dequant(), and vp56_deblock_filter().

◆ ff_vp56_mb_type_model_model

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().

◆ ff_vp56_pmbtm_tree

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().

◆ ff_vp56_pmbt_tree

const VP56Tree ff_vp56_pmbt_tree[]
Initial value:
= {
{ 8, 1},
{ 4, 2},
{ 4, 3},
{ 4, 7},
}

Definition at line 228 of file vp56data.c.

Referenced by vp56_parse_mb_type().

◆ ff_vp56_candidate_predictor_pos

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().

VP56_MB_INTER_DELTA_GF
@ VP56_MB_INTER_DELTA_GF
Inter MB, above/left vector + delta, from golden frame.
Definition: vp56.h:56
VP56_MB_INTER_V2_GF
@ VP56_MB_INTER_V2_GF
Inter MB, second vector, from golden frame.
Definition: vp56.h:59
VP56_MB_INTRA
@ VP56_MB_INTRA
Intra MB.
Definition: vp56.h:51
VP56_MB_INTER_NOVEC_PF
@ VP56_MB_INTER_NOVEC_PF
Inter MB, no vector, from previous frame.
Definition: vp56.h:50
VP56_MB_INTER_V1_PF
@ VP56_MB_INTER_V1_PF
Inter MB, first vector, from previous frame.
Definition: vp56.h:53
VP56_MB_INTER_4V
@ VP56_MB_INTER_4V
Inter MB, 4 vectors, from previous frame.
Definition: vp56.h:57
VP56_MB_INTER_DELTA_PF
@ VP56_MB_INTER_DELTA_PF
Inter MB, above/left vector + delta, from previous frame.
Definition: vp56.h:52
VP56_MB_INTER_NOVEC_GF
@ VP56_MB_INTER_NOVEC_GF
Inter MB, no vector, from golden frame.
Definition: vp56.h:55
VP56_MB_INTER_V2_PF
@ VP56_MB_INTER_V2_PF
Inter MB, second vector, from previous frame.
Definition: vp56.h:54
VP56_MB_INTER_V1_GF
@ VP56_MB_INTER_V1_GF
Inter MB, first vector, from golden frame.
Definition: vp56.h:58
VP56_FRAME_GOLDEN
@ VP56_FRAME_GOLDEN
Definition: vp56.h:46
VP56_FRAME_CURRENT
@ VP56_FRAME_CURRENT
Definition: vp56.h:44
VP56_FRAME_PREVIOUS
@ VP56_FRAME_PREVIOUS
Definition: vp56.h:45