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

Go to the source code of this file.

Variables

static const uint8_t rv60_candidate_intra_angles [6]
 
static const uint8_t rv60_ipred_angle [9]
 
static const uint16_t rv60_ipred_inv_angle [9]
 
static const uint8_t rv60_avail_mask [64]
 
static const uint8_t rv60_edge1 [4]
 
static const uint8_t rv60_edge2 [4]
 
static const uint8_t rv60_qp_to_idx [64]
 
static const uint16_t rv60_quants_b [32]
 
static const uint8_t rv60_chroma_quant_dc [32]
 
static const uint8_t rv60_chroma_quant_ac [32]
 
static const uint8_t rv60_dsc_to_lx [][4]
 
static const uint8_t rv60_deblock_limits [32][4]
 

Variable Documentation

◆ rv60_candidate_intra_angles

const uint8_t rv60_candidate_intra_angles[6]
static
Initial value:
= {
0, 1, 10, 26, 18, 2
}

Definition at line 26 of file rv60data.h.

Referenced by reconstruct_intra().

◆ rv60_ipred_angle

const uint8_t rv60_ipred_angle[9]
static
Initial value:
= {
0, 2, 5, 9, 13, 17, 21, 26, 32
}

Definition at line 30 of file rv60data.h.

Referenced by pred_angle().

◆ rv60_ipred_inv_angle

const uint16_t rv60_ipred_inv_angle[9]
static
Initial value:
= {
0, 4096, 1638, 910, 630, 482, 390, 315, 256
}

Definition at line 34 of file rv60data.h.

Referenced by pred_angle().

◆ rv60_avail_mask

const uint8_t rv60_avail_mask[64]
static
Initial value:
= {
0, 1, 0, 3, 0, 1, 0, 7, 0, 1, 0, 3, 0, 1, 0, 0xF,
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, 0, 0, 0, 0, 0
}

Definition at line 38 of file rv60data.h.

Referenced by has_left_down_block(), and has_top_right_block().

◆ rv60_edge1

const uint8_t rv60_edge1[4]
static
Initial value:
= {
0, 2, 2, 2
}

Definition at line 45 of file rv60data.h.

Referenced by mc().

◆ rv60_edge2

const uint8_t rv60_edge2[4]
static
Initial value:
= {
0, 3, 3, 3
}

Definition at line 49 of file rv60data.h.

Referenced by mc().

◆ rv60_qp_to_idx

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

Definition at line 53 of file rv60data.h.

Referenced by decode_cbp16(), decode_cbp8(), and get_c4x4_set().

◆ rv60_quants_b

const uint16_t rv60_quants_b[32]
static
Initial value:
= {
60, 67, 76, 85, 96, 108, 121, 136,
152, 171, 192, 216, 242, 272, 305, 341,
383, 432, 481, 544, 606, 683, 767, 854,
963, 1074, 1212, 1392, 1566, 1708, 1978, 2211
}

Definition at line 60 of file rv60data.h.

Referenced by decode_cu_16x16(), decode_cu_4x4in16x16(), and decode_cu_8x8().

◆ rv60_chroma_quant_dc

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

Definition at line 67 of file rv60data.h.

Referenced by decode_cu_16x16(), decode_cu_4x4in16x16(), and decode_cu_8x8().

◆ rv60_chroma_quant_ac

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

Definition at line 72 of file rv60data.h.

Referenced by decode_cu_16x16(), decode_cu_4x4in16x16(), and decode_cu_8x8().

◆ rv60_dsc_to_lx

const uint8_t rv60_dsc_to_lx[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, 0}, {2, 2, 2, 1},
{2, 2, 2, 2}, {3, 0, 0, 0}, {3, 0, 0, 1}, {3, 0, 0, 2},
{3, 0, 1, 0}, {3, 0, 1, 1}, {3, 0, 1, 2}, {3, 0, 2, 0},
{3, 0, 2, 1}, {3, 0, 2, 2}, {3, 1, 0, 0}, {3, 1, 0, 1},
{3, 1, 0, 2}, {3, 1, 1, 0}, {3, 1, 1, 1}, {3, 1, 1, 2},
{3, 1, 2, 0}, {3, 1, 2, 1}, {3, 1, 2, 2}, {3, 2, 0, 0},
{3, 2, 0, 1}, {3, 2, 0, 2}, {3, 2, 1, 0}, {3, 2, 1, 1},
{3, 2, 1, 2}, {3, 2, 2, 0}, {3, 2, 2, 1}, {3, 2, 2, 2},
}

Definition at line 77 of file rv60data.h.

Referenced by decode_2x2(), and decode_2x2_dc().

◆ rv60_deblock_limits

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

Definition at line 107 of file rv60data.h.

Referenced by deblock_edge_hor(), and deblock_edge_ver().