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

Go to the source code of this file.

Macros

#define VVC_INTER_FILTER_TYPES   3
 
#define VVC_INTER_LUMA_FACTS   16
 
#define VVC_INTER_LUMA_TAPS   8
 
#define VVC_INTER_CHROMA_FACTS   32
 
#define VVC_INTER_CHROMA_TAPS   4
 
#define VVC_INTER_LUMA_DMVR_FACTS   16
 
#define VVC_INTER_LUMA_DMVR_TAPS   2
 
#define VVC_INTRA_LUMA_TYPES   2
 
#define VVC_INTRA_LUMA_FACTS   32
 
#define VVC_INTRA_LUMA_TAPS   4
 
#define VVC_GPM_NUM_PARTITION   64
 
#define VVC_GPM_NUM_ANGLES   32
 
#define VVC_GPM_WEIGHT_SIZE   112
 

Functions

const uint8_t * ff_vvc_get_mip_matrix (const int size_id, const int mode_idx)
 

Variables

const uint8_t ff_vvc_diag_scan_x [5][5][16 *16]
 
const uint8_t ff_vvc_diag_scan_y [5][5][16 *16]
 
const uint8_t ff_vvc_scaling_pred_8 [8 *8]
 
const uint8_t ff_vvc_scaling_pred_16 [8 *8]
 
const int ff_vvc_scaling_list0 [8 *8]
 
const int8_t ff_vvc_dct8_4x4 [4][4]
 
const int8_t ff_vvc_dct8_8x8 [8][8]
 
const int8_t ff_vvc_dct8_16x16 [16][16]
 
const int8_t ff_vvc_dct8_32x32 [32][32]
 
const int8_t ff_vvc_dst7_4x4 [4][4]
 
const int8_t ff_vvc_dst7_8x8 [8][8]
 
const int8_t ff_vvc_dst7_16x16 [16][16]
 
const int8_t ff_vvc_dst7_32x32 [32][32]
 
const int8_t ff_vvc_lfnst_4x4 [4][2][16][16]
 
const int8_t ff_vvc_lfnst_8x8 [4][2][16][48]
 
const uint8_t ff_vvc_lfnst_tr_set_index [95]
 
uint8_t ff_vvc_default_scale_m [64 *64]
 
const int8_t ff_vvc_inter_luma_filters [VVC_INTER_FILTER_TYPES][VVC_INTER_LUMA_FACTS][VVC_INTER_LUMA_TAPS]
 
const int8_t ff_vvc_inter_chroma_filters [VVC_INTER_FILTER_TYPES][VVC_INTER_CHROMA_FACTS][VVC_INTER_CHROMA_TAPS]
 
const int8_t ff_vvc_inter_luma_dmvr_filters [VVC_INTER_LUMA_DMVR_FACTS][VVC_INTER_LUMA_DMVR_TAPS]
 
const int8_t ff_vvc_intra_luma_filter [VVC_INTRA_LUMA_TYPES][VVC_INTRA_LUMA_FACTS][VVC_INTRA_LUMA_TAPS]
 
const uint8_t ff_vvc_gpm_angle_idx [VVC_GPM_NUM_PARTITION]
 
const uint8_t ff_vvc_gpm_distance_idx [VVC_GPM_NUM_PARTITION]
 
const int8_t ff_vvc_gpm_distance_lut [VVC_GPM_NUM_ANGLES]
 
const uint8_t ff_vvc_gpm_angle_to_mirror [VVC_GPM_NUM_ANGLES]
 
const uint8_t ff_vvc_gpm_angle_to_weights_idx [VVC_GPM_NUM_ANGLES]
 
const uint8_t ff_vvc_gpm_weights_offset_x [VVC_GPM_NUM_PARTITION][4][4]
 
const uint8_t ff_vvc_gpm_weights_offset_y [VVC_GPM_NUM_PARTITION][4][4]
 
const uint8_t ff_vvc_gpm_weights [6][VVC_GPM_WEIGHT_SIZE *VVC_GPM_WEIGHT_SIZE]
 
const int16_t ff_vvc_alf_fix_filt_coeff [64][12]
 
const uint8_t ff_vvc_alf_class_to_filt_map [16][25]
 
const uint8_t ff_vvc_alf_aps_class_to_filt_map [25]
 

Macro Definition Documentation

◆ VVC_INTER_FILTER_TYPES

#define VVC_INTER_FILTER_TYPES   3

Definition at line 46 of file vvc_data.h.

◆ VVC_INTER_LUMA_FACTS

#define VVC_INTER_LUMA_FACTS   16

Definition at line 47 of file vvc_data.h.

◆ VVC_INTER_LUMA_TAPS

#define VVC_INTER_LUMA_TAPS   8

Definition at line 48 of file vvc_data.h.

◆ VVC_INTER_CHROMA_FACTS

#define VVC_INTER_CHROMA_FACTS   32

Definition at line 49 of file vvc_data.h.

◆ VVC_INTER_CHROMA_TAPS

#define VVC_INTER_CHROMA_TAPS   4

Definition at line 50 of file vvc_data.h.

◆ VVC_INTER_LUMA_DMVR_FACTS

#define VVC_INTER_LUMA_DMVR_FACTS   16

Definition at line 51 of file vvc_data.h.

◆ VVC_INTER_LUMA_DMVR_TAPS

#define VVC_INTER_LUMA_DMVR_TAPS   2

Definition at line 52 of file vvc_data.h.

◆ VVC_INTRA_LUMA_TYPES

#define VVC_INTRA_LUMA_TYPES   2

Definition at line 57 of file vvc_data.h.

◆ VVC_INTRA_LUMA_FACTS

#define VVC_INTRA_LUMA_FACTS   32

Definition at line 58 of file vvc_data.h.

◆ VVC_INTRA_LUMA_TAPS

#define VVC_INTRA_LUMA_TAPS   4

Definition at line 59 of file vvc_data.h.

◆ VVC_GPM_NUM_PARTITION

#define VVC_GPM_NUM_PARTITION   64

Definition at line 62 of file vvc_data.h.

◆ VVC_GPM_NUM_ANGLES

#define VVC_GPM_NUM_ANGLES   32

Definition at line 63 of file vvc_data.h.

◆ VVC_GPM_WEIGHT_SIZE

#define VVC_GPM_WEIGHT_SIZE   112

Definition at line 64 of file vvc_data.h.

Function Documentation

◆ ff_vvc_get_mip_matrix()

const uint8_t* ff_vvc_get_mip_matrix ( const int  size_id,
const int  mode_idx 
)

Definition at line 1147 of file vvc_data.c.

Referenced by pred_mip().

Variable Documentation

◆ ff_vvc_diag_scan_x

const uint8_t ff_vvc_diag_scan_x[5][5][16 *16]

Definition at line 27 of file vvc_data.c.

Referenced by ilfnst_transform(), init_residual_coding(), and scaling_derive().

◆ ff_vvc_diag_scan_y

const uint8_t ff_vvc_diag_scan_y[5][5][16 *16]

Definition at line 152 of file vvc_data.c.

Referenced by ilfnst_transform(), init_residual_coding(), and scaling_derive().

◆ ff_vvc_scaling_pred_8

const uint8_t ff_vvc_scaling_pred_8[8 *8]

Definition at line 277 of file vvc_data.c.

Referenced by scaling_derive().

◆ ff_vvc_scaling_pred_16

const uint8_t ff_vvc_scaling_pred_16[8 *8]

Definition at line 288 of file vvc_data.c.

Referenced by scaling_derive().

◆ ff_vvc_scaling_list0

const int ff_vvc_scaling_list0[8 *8]

Definition at line 299 of file vvc_data.c.

Referenced by scaling_derive().

◆ ff_vvc_dct8_4x4

const int8_t ff_vvc_dct8_4x4[4][4]

Definition at line 1234 of file vvc_data.c.

◆ ff_vvc_dct8_8x8

const int8_t ff_vvc_dct8_8x8[8][8]

Definition at line 1235 of file vvc_data.c.

◆ ff_vvc_dct8_16x16

const int8_t ff_vvc_dct8_16x16[16][16]

Definition at line 1236 of file vvc_data.c.

◆ ff_vvc_dct8_32x32

const int8_t ff_vvc_dct8_32x32[32][32]

Definition at line 1237 of file vvc_data.c.

◆ ff_vvc_dst7_4x4

const int8_t ff_vvc_dst7_4x4[4][4]

Definition at line 1316 of file vvc_data.c.

◆ ff_vvc_dst7_8x8

const int8_t ff_vvc_dst7_8x8[8][8]

Definition at line 1317 of file vvc_data.c.

◆ ff_vvc_dst7_16x16

const int8_t ff_vvc_dst7_16x16[16][16]

Definition at line 1318 of file vvc_data.c.

◆ ff_vvc_dst7_32x32

const int8_t ff_vvc_dst7_32x32[32][32]

Definition at line 1319 of file vvc_data.c.

◆ ff_vvc_lfnst_4x4

const int8_t ff_vvc_lfnst_4x4[4][2][16][16]

Definition at line 1476 of file vvc_data.c.

Referenced by ff_vvc_inv_lfnst_1d().

◆ ff_vvc_lfnst_8x8

const int8_t ff_vvc_lfnst_8x8[4][2][16][48]

Definition at line 1321 of file vvc_data.c.

Referenced by ff_vvc_inv_lfnst_1d().

◆ ff_vvc_lfnst_tr_set_index

const uint8_t ff_vvc_lfnst_tr_set_index[95]

Definition at line 1631 of file vvc_data.c.

Referenced by ff_vvc_inv_lfnst_1d().

◆ ff_vvc_default_scale_m

uint8_t ff_vvc_default_scale_m[64 *64]

Definition at line 1641 of file vvc_data.c.

Referenced by derive_scale_m(), and init_default_scale_m().

◆ ff_vvc_inter_luma_filters

const int8_t ff_vvc_inter_luma_filters[VVC_INTER_FILTER_TYPES][VVC_INTER_LUMA_FACTS][VVC_INTER_LUMA_TAPS]

◆ ff_vvc_inter_chroma_filters

const int8_t ff_vvc_inter_chroma_filters[VVC_INTER_FILTER_TYPES][VVC_INTER_CHROMA_FACTS][VVC_INTER_CHROMA_TAPS]

◆ ff_vvc_inter_luma_dmvr_filters

const int8_t ff_vvc_inter_luma_dmvr_filters[VVC_INTER_LUMA_DMVR_FACTS][VVC_INTER_LUMA_DMVR_TAPS]

Definition at line 1906 of file vvc_data.c.

Referenced by dmvr_h(), dmvr_hv(), and dmvr_v().

◆ ff_vvc_intra_luma_filter

const int8_t ff_vvc_intra_luma_filter[VVC_INTRA_LUMA_TYPES][VVC_INTRA_LUMA_FACTS][VVC_INTRA_LUMA_TAPS]

Definition at line 1927 of file vvc_data.c.

Referenced by pred_angular_h(), and pred_angular_v().

◆ ff_vvc_gpm_angle_idx

const uint8_t ff_vvc_gpm_angle_idx[VVC_GPM_NUM_PARTITION]

Definition at line 1998 of file vvc_data.c.

Referenced by ff_vvc_store_gpm_mvf(), and pred_gpm_blk().

◆ ff_vvc_gpm_distance_idx

const uint8_t ff_vvc_gpm_distance_idx[VVC_GPM_NUM_PARTITION]

Definition at line 2005 of file vvc_data.c.

Referenced by ff_vvc_store_gpm_mvf().

◆ ff_vvc_gpm_distance_lut

const int8_t ff_vvc_gpm_distance_lut[VVC_GPM_NUM_ANGLES]

Definition at line 2012 of file vvc_data.c.

Referenced by ff_vvc_store_gpm_mvf().

◆ ff_vvc_gpm_angle_to_mirror

const uint8_t ff_vvc_gpm_angle_to_mirror[VVC_GPM_NUM_ANGLES]

Definition at line 2016 of file vvc_data.c.

Referenced by pred_gpm_blk().

◆ ff_vvc_gpm_angle_to_weights_idx

const uint8_t ff_vvc_gpm_angle_to_weights_idx[VVC_GPM_NUM_ANGLES]

Definition at line 2021 of file vvc_data.c.

Referenced by pred_gpm_blk().

◆ ff_vvc_gpm_weights_offset_x

const uint8_t ff_vvc_gpm_weights_offset_x[VVC_GPM_NUM_PARTITION][4][4]

Definition at line 2027 of file vvc_data.c.

Referenced by pred_gpm_blk().

◆ ff_vvc_gpm_weights_offset_y

const uint8_t ff_vvc_gpm_weights_offset_y[VVC_GPM_NUM_PARTITION][4][4]

Definition at line 2414 of file vvc_data.c.

Referenced by pred_gpm_blk().

◆ ff_vvc_gpm_weights

const uint8_t ff_vvc_gpm_weights[6][VVC_GPM_WEIGHT_SIZE *VVC_GPM_WEIGHT_SIZE]

Definition at line 2801 of file vvc_data.c.

Referenced by pred_gpm_blk().

◆ ff_vvc_alf_fix_filt_coeff

const int16_t ff_vvc_alf_fix_filt_coeff[64][12]

Definition at line 1644 of file vvc_data.c.

Referenced by alf_get_coeff_and_clip().

◆ ff_vvc_alf_class_to_filt_map

const uint8_t ff_vvc_alf_class_to_filt_map[16][25]

Definition at line 1712 of file vvc_data.c.

Referenced by alf_get_coeff_and_clip().

◆ ff_vvc_alf_aps_class_to_filt_map

const uint8_t ff_vvc_alf_aps_class_to_filt_map[25]

Definition at line 1731 of file vvc_data.c.

Referenced by alf_get_coeff_and_clip().