FFmpeg
Macros | Variables
rv40data.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define MODE2_PATTERNS_NUM   20
 

Variables

static const int rv40_standard_widths [] = { 160, 172, 240, 320, 352, 640, 704, 0}
 standard widths and heights coded in RV40 More...
 
static const int rv40_standard_heights [] = { 120, 132, 144, 240, 288, 480, -8, -10, 180, 360, 576, 0}
 
static const uint16_t rv40_aic_table_index [MODE2_PATTERNS_NUM]
 intra types table More...
 
static const uint8_t rv40_luma_dc_quant [2][32]
 luma quantizer values The second table is used for inter blocks. More...
 
Coefficients used by the RV40 loop filter
static const uint8_t rv40_alpha_tab [32]
 alpha parameter for RV40 loop filter - almost the same as in JVT-A003r1 More...
 
static const uint8_t rv40_beta_tab [32]
 beta parameter for RV40 loop filter - almost the same as in JVT-A003r1 More...
 
static const uint8_t rv40_filter_clip_tbl [3][32]
 clip table for RV40 loop filter - the same as in JVT-A003r1 More...
 

Detailed Description

miscellaneous RV40 tables

Definition in file rv40data.h.

Macro Definition Documentation

◆ MODE2_PATTERNS_NUM

#define MODE2_PATTERNS_NUM   20

Definition at line 40 of file rv40data.h.

Variable Documentation

◆ rv40_standard_widths

const int rv40_standard_widths[] = { 160, 172, 240, 320, 352, 640, 704, 0}
static

standard widths and heights coded in RV40

Definition at line 36 of file rv40data.h.

Referenced by rv40_parse_picture_size().

◆ rv40_standard_heights

const int rv40_standard_heights[] = { 120, 132, 144, 240, 288, 480, -8, -10, 180, 360, 576, 0}
static

Definition at line 37 of file rv40data.h.

Referenced by rv40_parse_picture_size().

◆ rv40_aic_table_index

const uint16_t rv40_aic_table_index[MODE2_PATTERNS_NUM]
static
Initial value:
= {
0x000, 0x100, 0x200,
0x011, 0x111, 0x211, 0x511, 0x611,
0x022, 0x122, 0x222, 0x722,
0x272, 0x227,
0x822, 0x282, 0x228,
0x112, 0x116, 0x221
}

intra types table

These values are actually coded 3-tuples used for detecting standard block configurations.

Definition at line 47 of file rv40data.h.

Referenced by rv40_decode_intra_types().

◆ rv40_luma_dc_quant

const uint8_t rv40_luma_dc_quant[2][32]
static
Initial value:
= {
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 17, 18, 18, 18, 19, 19, 19, 20, 20, 20, 22, 22, 22, 22 },
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 20, 21, 21, 22, 23, 23, 23, 24, 24, 24, 24 }
}

luma quantizer values The second table is used for inter blocks.

Definition at line 60 of file rv40data.h.

Referenced by rv40_decode_init().

◆ rv40_alpha_tab

const uint8_t rv40_alpha_tab[32]
static
Initial value:
= {
128, 128, 128, 128, 128, 128, 128, 128,
128, 128, 122, 96, 75, 59, 47, 37,
29, 23, 18, 15, 13, 11, 10, 9,
8, 7, 6, 5, 4, 3, 2, 1
}

alpha parameter for RV40 loop filter - almost the same as in JVT-A003r1

Definition at line 73 of file rv40data.h.

Referenced by rv40_loop_filter().

◆ rv40_beta_tab

const uint8_t rv40_beta_tab[32]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 4, 4, 4, 6, 6,
6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 13, 14, 15, 16, 17
}

beta parameter for RV40 loop filter - almost the same as in JVT-A003r1

Definition at line 80 of file rv40data.h.

Referenced by rv40_loop_filter().

◆ rv40_filter_clip_tbl

const uint8_t rv40_filter_clip_tbl[3][32]
static
Initial value:
= {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 5, 5
},
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1,
1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 7, 8, 9
}
}

clip table for RV40 loop filter - the same as in JVT-A003r1

Definition at line 85 of file rv40data.h.

Referenced by rv40_loop_filter().