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

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

#include "libavutil/common.h"

Go to the source code of this file.

Data Structures

struct  VP56Tree
 

Enumerations

enum  VP56Frame {
  VP56_FRAME_NONE =-1, VP56_FRAME_CURRENT = 0, VP56_FRAME_PREVIOUS = 1, VP56_FRAME_GOLDEN = 2,
  VP56_FRAME_GOLDEN2 = 3, VP56_FRAME_UNUSED = 4, VP56_FRAME_UNUSED2 = 5
}
 
enum  VP56mb {
  VP56_MB_INTER_NOVEC_PF = 0, VP56_MB_INTRA = 1, VP56_MB_INTER_DELTA_PF = 2, VP56_MB_INTER_V1_PF = 3,
  VP56_MB_INTER_V2_PF = 4, VP56_MB_INTER_NOVEC_GF = 5, VP56_MB_INTER_DELTA_GF = 6, VP56_MB_INTER_4V = 7,
  VP56_MB_INTER_V1_GF = 8, VP56_MB_INTER_V2_GF = 9
}
 

Variables

const uint8_t ff_vp56_b2p []
 
const uint8_t ff_vp56_b6to4 []
 
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 []
 
const uint8_t ff_vp56_coeff_bit_length []
 
static const VP56Frame vp56_reference_frame []
 
static const uint8_t vp56_ac_dequant [64]
 
static const uint8_t vp56_dc_dequant [64]
 
static const uint8_t vp56_pre_def_mb_type_stats [16][3][10][2]
 
static const uint8_t vp56_filter_threshold []
 
static const uint8_t vp56_mb_type_model_model []
 
static const VP56Tree vp56_pmbtm_tree []
 
static const VP56Tree vp56_pmbt_tree []
 
static const int8_t vp56_candidate_predictor_pos [12][2]
 

Detailed Description

VP5 and VP6 compatible video decoder (common data)

Definition in file vp56data.h.

Enumeration Type Documentation

enum VP56Frame
Enumerator:
VP56_FRAME_NONE 
VP56_FRAME_CURRENT 
VP56_FRAME_PREVIOUS 
VP56_FRAME_GOLDEN 
VP56_FRAME_GOLDEN2 
VP56_FRAME_UNUSED 
VP56_FRAME_UNUSED2 

Definition at line 31 of file vp56data.h.

enum VP56mb
Enumerator:
VP56_MB_INTER_NOVEC_PF 

Inter MB, no vector, from previous frame.

VP56_MB_INTRA 

Intra MB.

VP56_MB_INTER_DELTA_PF 

Inter MB, above/left vector + delta, from previous frame.

VP56_MB_INTER_V1_PF 

Inter MB, first vector, from previous frame.

VP56_MB_INTER_V2_PF 

Inter MB, second vector, from previous frame.

VP56_MB_INTER_NOVEC_GF 

Inter MB, no vector, from golden frame.

VP56_MB_INTER_DELTA_GF 

Inter MB, above/left vector + delta, from golden frame.

VP56_MB_INTER_4V 

Inter MB, 4 vectors, from previous frame.

VP56_MB_INTER_V1_GF 

Inter MB, first vector, from golden frame.

VP56_MB_INTER_V2_GF 

Inter MB, second vector, from golden frame.

Definition at line 41 of file vp56data.h.

Variable Documentation

const uint8_t ff_vp56_b2p[]

Definition at line 28 of file vp56data.c.

Referenced by vp56_add_predictors_dc(), and vp56_decode_mb().

const uint8_t ff_vp56_b6to4[]

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]

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]

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[]

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[]

Definition at line 59 of file vp56data.c.

Referenced by vp5_parse_coeff(), and vp6_parse_coeff().

const uint8_t ff_vp56_coeff_bias[]

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[]

Definition at line 68 of file vp56data.c.

Referenced by vp5_parse_coeff(), and vp6_parse_coeff().

const VP56Frame vp56_reference_frame[]
static
const uint8_t vp56_ac_dequant[64]
static
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 81 of file vp56data.h.

Referenced by ff_vp56_init_dequant().

const uint8_t vp56_dc_dequant[64]
static
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 92 of file vp56data.h.

Referenced by ff_vp56_init_dequant().

const uint8_t vp56_pre_def_mb_type_stats[16][3][10][2]
static

Definition at line 103 of file vp56data.h.

Referenced by vp56_parse_mb_type_models().

const uint8_t vp56_filter_threshold[]
static
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 202 of file vp56data.h.

Referenced by vp56_deblock_filter().

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

Definition at line 213 of file vp56data.h.

Referenced by vp56_parse_mb_type_models().

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

Definition at line 217 of file vp56data.h.

Referenced by vp56_parse_mb_type_models().

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

Definition at line 226 of file vp56data.h.

Referenced by vp56_parse_mb_type().

const int8_t vp56_candidate_predictor_pos[12][2]
static
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 239 of file vp56data.h.

Referenced by vp56_get_vectors_predictors().