FFmpeg
Variables
vp4data.h File Reference
#include <stdint.h>

Go to the source code of this file.

Variables

static const uint8_t vp4_generic_dequant [64]
 
static const uint8_t vp4_y_dc_scale_factor [64]
 
static const uint8_t vp4_uv_dc_scale_factor [64]
 
static const uint16_t vp4_ac_scale_factor [64]
 
static const uint8_t vp4_filter_limit_values [64]
 
static const uint8_t vp4_block_pattern_table_selector [14]
 
static const uint8_t vp4_block_pattern_vlc [2][14][2]
 
static const uint8_t vp4_mv_table_selector [32]
 
static const uint8_t vp4_mv_vlc [2][7][63][2]
 
static const uint8_t vp4_bias [5 *16][32][2]
 

Detailed Description

VP4 video decoder

Definition in file vp4data.h.

Variable Documentation

◆ vp4_generic_dequant

const uint8_t vp4_generic_dequant[64]
static
Initial value:
= {
16, 17, 18, 20, 22, 24, 26, 28,
17, 18, 20, 22, 24, 26, 28, 32,
18, 20, 22, 24, 26, 28, 32, 36,
20, 22, 24, 26, 28, 32, 36, 40,
22, 24, 26, 28, 32, 36, 40, 44,
24, 26, 28, 32, 36, 40, 44, 48,
26, 28, 32, 36, 40, 44, 48, 52,
28, 32, 36, 40, 44, 48, 52, 56
}

Definition at line 31 of file vp4data.h.

Referenced by vp3_decode_init().

◆ vp4_y_dc_scale_factor

const uint8_t vp4_y_dc_scale_factor[64]
static
Initial value:
= {
180, 180, 180, 180, 180, 180, 175, 170,
165, 160, 157, 155, 152, 150, 147, 145,
142, 140, 137, 135, 132, 130, 127, 125,
122, 120, 117, 115, 112, 110, 107, 105,
102, 100, 97, 95, 92, 90, 87, 85,
82, 80, 77, 75, 72, 70, 67, 65,
62, 60, 57, 55, 52, 50, 47, 45,
42, 40, 37, 35, 32, 30, 27, 25
}

Definition at line 42 of file vp4data.h.

Referenced by vp3_decode_init().

◆ vp4_uv_dc_scale_factor

const uint8_t vp4_uv_dc_scale_factor[64]
static
Initial value:
= {
150, 150, 150, 150, 150, 150, 150, 150,
150, 150, 150, 150, 150, 150, 147, 145,
142, 140, 137, 135, 132, 130, 127, 125,
122, 120, 117, 115, 112, 110, 107, 105,
102, 100, 97, 95, 92, 90, 87, 85,
82, 80, 77, 75, 72, 70, 67, 65,
62, 60, 57, 55, 52, 50, 47, 45,
42, 40, 37, 35, 32, 30, 27, 25
}

Definition at line 53 of file vp4data.h.

Referenced by vp3_decode_init().

◆ vp4_ac_scale_factor

const uint16_t vp4_ac_scale_factor[64]
static
Initial value:
= {
500, 475, 450, 430, 410, 390, 370, 350,
330, 315, 300, 285, 270, 260, 250, 240,
230, 220, 210, 200, 190, 185, 180, 170,
160, 150, 143, 135, 128, 120, 113, 106,
100, 94, 90, 85, 80, 75, 70, 66,
62, 57, 52, 49, 45, 41, 38, 35,
33, 30, 27, 24, 22, 20, 18, 16,
14, 12, 10, 9, 7, 6, 4, 1
}

Definition at line 64 of file vp4data.h.

Referenced by vp3_decode_init().

◆ vp4_filter_limit_values

const uint8_t vp4_filter_limit_values[64]
static
Initial value:
= {
30, 25, 20, 20, 15, 15, 14, 14,
13, 13, 12, 12, 11, 11, 10, 10,
9, 9, 8, 8, 7, 7, 7, 7,
6, 6, 6, 6, 5, 5, 5, 5,
4, 4, 4, 4, 3, 3, 3, 3,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
1, 1, 1, 1, 1, 1, 1, 1
}

Definition at line 75 of file vp4data.h.

Referenced by vp3_decode_init().

◆ vp4_block_pattern_table_selector

const uint8_t vp4_block_pattern_table_selector[14]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1
}

Definition at line 86 of file vp4data.h.

◆ vp4_block_pattern_vlc

const uint8_t vp4_block_pattern_vlc[2][14][2]
static
Initial value:
= {
{
{ 0x0, 3 }, { 0xf, 4 }, { 0x9, 4 }, { 0x2, 3 },
{ 0xd, 4 }, { 0xe, 5 }, { 0xb, 4 }, { 0x1, 3 },
{ 0xf, 5 }, { 0x8, 4 }, { 0x6, 4 }, { 0xe, 4 },
{ 0xc, 4 }, { 0xa, 4 }
},
{
{ 0x7, 4 }, { 0xa, 4 }, { 0x9, 4 }, { 0xc, 4 },
{ 0x8, 4 }, { 0xd, 5 }, { 0x0, 3 }, { 0xe, 4 },
{ 0xc, 5 }, { 0xd, 4 }, { 0x1, 3 }, { 0xb, 4 },
{ 0xf, 4 }, { 0x2, 3 }
}
}

Definition at line 90 of file vp4data.h.

Referenced by init_tables_once().

◆ vp4_mv_table_selector

const uint8_t vp4_mv_table_selector[32]
static
Initial value:
= {
0, 1, 2, 2, 3, 3, 3, 3,
4, 4, 4, 4, 4, 4, 4, 4,
5, 5, 5, 5, 5, 5, 5, 5,
6, 6, 6, 6, 6, 6, 6, 6,
}

Definition at line 105 of file vp4data.h.

Referenced by vp4_get_mv().

◆ vp4_mv_vlc

const uint8_t vp4_mv_vlc[2][7][63][2]
static

Definition at line 112 of file vp4data.h.

Referenced by init_tables_once().

◆ vp4_bias

const uint8_t vp4_bias[5 *16][32][2]
static

Definition at line 329 of file vp4data.h.

Referenced by vp3_decode_init().