FFmpeg
Data Fields
VVCLocalContext Struct Reference

#include <ctu.h>

Data Fields

uint8_t ctb_left_flag
 
uint8_t ctb_up_flag
 
uint8_t ctb_up_right_flag
 
uint8_t ctb_up_left_flag
 
int end_of_tiles_x
 
int end_of_tiles_y
 
uint8_t edge_emu_buffer [EDGE_EMU_BUFFER_STRIDE *EDGE_EMU_BUFFER_STRIDE *2]
 
int16_t tmp [MAX_PB_SIZE *MAX_PB_SIZE]
 
int16_t tmp1 [MAX_PB_SIZE *MAX_PB_SIZE]
 
int16_t tmp2 [MAX_PB_SIZE *MAX_PB_SIZE]
 
uint8_t ciip_tmp [MAX_PB_SIZE *MAX_PB_SIZE *2]
 
uint8_t sao_buffer [(MAX_CTU_SIZE+2 *SAO_PADDING_SIZE) *EDGE_EMU_BUFFER_STRIDE *2]
 
uint8_t alf_buffer_luma [(MAX_CTU_SIZE+2 *ALF_PADDING_SIZE) *EDGE_EMU_BUFFER_STRIDE *2]
 
uint8_t alf_buffer_chroma [(MAX_CTU_SIZE+2 *ALF_PADDING_SIZE) *EDGE_EMU_BUFFER_STRIDE *2]
 
int32_t alf_gradient_tmp [ALF_GRADIENT_SIZE *ALF_GRADIENT_SIZE *ALF_NUM_DIR]
 
struct {
   int   sbt_num_fourths_tb0
 SbtNumFourthsTb0. More...
 
   uint8_t   is_cu_qp_delta_coded
 IsCuQpDeltaCoded. More...
 
   int   cu_qg_top_left_x
 CuQgTopLeftX. More...
 
   int   cu_qg_top_left_y
 CuQgTopLeftY. More...
 
   int   is_cu_chroma_qp_offset_coded
 IsCuChromaQpOffsetCoded. More...
 
   int   chroma_qp_offset [3]
 CuQpOffsetCb, CuQpOffsetCr, CuQpOffsetCbCr. More...
 
   int   infer_tu_cbf_luma
 InferTuCbfLuma. More...
 
   int   prev_tu_cbf_y
 prevTuCbfY; More...
 
   int   lfnst_dc_only
 LfnstDcOnly. More...
 
   int   lfnst_zero_out_sig_coeff_flag
 LfnstZeroOutSigCoeffFlag. More...
 
   int   mts_dc_only
 MtsDcOnly. More...
 
   int   mts_zero_out_sig_coeff_flag
 MtsZeroOutSigCoeffFlag;. More...
 
parse
 
struct {
   int   chroma_scale
 
   int   x_vpdu
 
   int   y_vpdu
 
lmcs
 
CodingUnitcu
 
ReconstructedArea ras [2][MAX_PARTS_IN_CTU]
 
int num_ras [2]
 
NeighbourAvailable na
 
int boundary_flags
 
SliceContextsc
 
VVCFrameContextfc
 
EntryPointep
 
int * coeffs
 

Detailed Description

Definition at line 373 of file ctu.h.

Field Documentation

◆ ctb_left_flag

uint8_t VVCLocalContext::ctb_left_flag

◆ ctb_up_flag

uint8_t VVCLocalContext::ctb_up_flag

◆ ctb_up_right_flag

uint8_t VVCLocalContext::ctb_up_right_flag

Definition at line 376 of file ctu.h.

Referenced by ff_vvc_decode_neighbour(), and ff_vvc_set_neighbour_available().

◆ ctb_up_left_flag

uint8_t VVCLocalContext::ctb_up_left_flag

Definition at line 377 of file ctu.h.

Referenced by ff_vvc_decode_neighbour(), and ff_vvc_set_neighbour_available().

◆ end_of_tiles_x

int VVCLocalContext::end_of_tiles_x

◆ end_of_tiles_y

int VVCLocalContext::end_of_tiles_y

Definition at line 379 of file ctu.h.

Referenced by ff_vvc_decode_neighbour().

◆ edge_emu_buffer

uint8_t VVCLocalContext::edge_emu_buffer[EDGE_EMU_BUFFER_STRIDE *EDGE_EMU_BUFFER_STRIDE *2]

Definition at line 382 of file ctu.h.

Referenced by dmvr_mv_refine(), emulated_edge_scaled(), luma_prof(), luma_prof_uni(), mc(), mc_bi(), and mc_uni().

◆ tmp

int16_t VVCLocalContext::tmp[MAX_PB_SIZE *MAX_PB_SIZE]

◆ tmp1

int16_t VVCLocalContext::tmp1[MAX_PB_SIZE *MAX_PB_SIZE]

Definition at line 384 of file ctu.h.

Referenced by alf_filter_luma(), dmvr_mv_refine(), luma_prof_bi(), mc_bi(), mc_bi_scaled(), and pred_gpm_blk().

◆ tmp2

int16_t VVCLocalContext::tmp2[MAX_PB_SIZE *MAX_PB_SIZE]

Definition at line 385 of file ctu.h.

Referenced by luma_prof().

◆ ciip_tmp

uint8_t VVCLocalContext::ciip_tmp[MAX_PB_SIZE *MAX_PB_SIZE *2]

Definition at line 386 of file ctu.h.

Referenced by pred_regular().

◆ sao_buffer

uint8_t VVCLocalContext::sao_buffer[(MAX_CTU_SIZE+2 *SAO_PADDING_SIZE) *EDGE_EMU_BUFFER_STRIDE *2]

Definition at line 387 of file ctu.h.

Referenced by ff_vvc_sao_filter().

◆ alf_buffer_luma

uint8_t VVCLocalContext::alf_buffer_luma[(MAX_CTU_SIZE+2 *ALF_PADDING_SIZE) *EDGE_EMU_BUFFER_STRIDE *2]

Definition at line 388 of file ctu.h.

Referenced by ff_vvc_alf_filter().

◆ alf_buffer_chroma

uint8_t VVCLocalContext::alf_buffer_chroma[(MAX_CTU_SIZE+2 *ALF_PADDING_SIZE) *EDGE_EMU_BUFFER_STRIDE *2]

Definition at line 389 of file ctu.h.

Referenced by ff_vvc_alf_filter().

◆ alf_gradient_tmp

int32_t VVCLocalContext::alf_gradient_tmp[ALF_GRADIENT_SIZE *ALF_GRADIENT_SIZE *ALF_NUM_DIR]

Definition at line 390 of file ctu.h.

Referenced by alf_get_coeff_and_clip().

◆ sbt_num_fourths_tb0

int VVCLocalContext::sbt_num_fourths_tb0

SbtNumFourthsTb0.

Definition at line 393 of file ctu.h.

Referenced by hls_transform_tree(), and sbt_info().

◆ is_cu_qp_delta_coded

uint8_t VVCLocalContext::is_cu_qp_delta_coded

IsCuQpDeltaCoded.

Definition at line 395 of file ctu.h.

Referenced by dual_tree_implicit_qt_split(), hls_coding_tree(), hls_transform_unit(), and set_qp_y().

◆ cu_qg_top_left_x

int VVCLocalContext::cu_qg_top_left_x

CuQgTopLeftX.

Definition at line 396 of file ctu.h.

Referenced by dual_tree_implicit_qt_split(), get_qp_y_pred(), hls_coding_tree(), and set_qp_y().

◆ cu_qg_top_left_y

int VVCLocalContext::cu_qg_top_left_y

CuQgTopLeftY.

Definition at line 397 of file ctu.h.

Referenced by dual_tree_implicit_qt_split(), get_qp_y_pred(), hls_coding_tree(), and set_qp_y().

◆ is_cu_chroma_qp_offset_coded

int VVCLocalContext::is_cu_chroma_qp_offset_coded

IsCuChromaQpOffsetCoded.

Definition at line 398 of file ctu.h.

Referenced by chroma_qp_offset_decode(), dual_tree_implicit_qt_split(), and hls_coding_tree().

◆ chroma_qp_offset

int VVCLocalContext::chroma_qp_offset[3]

CuQpOffsetCb, CuQpOffsetCr, CuQpOffsetCbCr.

Definition at line 399 of file ctu.h.

Referenced by chroma_qp_offset_decode(), dual_tree_implicit_qt_split(), hls_coding_tree(), hls_coding_tree_unit(), and set_qp_c().

◆ infer_tu_cbf_luma

int VVCLocalContext::infer_tu_cbf_luma

InferTuCbfLuma.

Definition at line 401 of file ctu.h.

Referenced by hls_transform_tree(), and tu_y_coded_flag_decode().

◆ prev_tu_cbf_y

int VVCLocalContext::prev_tu_cbf_y

prevTuCbfY;

Definition at line 402 of file ctu.h.

Referenced by add_cu(), and ff_vvc_tu_y_coded_flag().

◆ lfnst_dc_only

int VVCLocalContext::lfnst_dc_only

LfnstDcOnly.

Definition at line 404 of file ctu.h.

Referenced by hls_coding_unit(), hls_residual_coding(), and lfnst_idx_decode().

◆ lfnst_zero_out_sig_coeff_flag

int VVCLocalContext::lfnst_zero_out_sig_coeff_flag

LfnstZeroOutSigCoeffFlag.

Definition at line 405 of file ctu.h.

Referenced by hls_coding_unit(), hls_residual_coding(), and lfnst_idx_decode().

◆ mts_dc_only

int VVCLocalContext::mts_dc_only

MtsDcOnly.

Definition at line 407 of file ctu.h.

Referenced by hls_coding_unit(), hls_residual_coding(), and mts_idx_decode().

◆ mts_zero_out_sig_coeff_flag

int VVCLocalContext::mts_zero_out_sig_coeff_flag

MtsZeroOutSigCoeffFlag;.

Definition at line 408 of file ctu.h.

Referenced by hls_coding_unit(), mts_idx_decode(), and residual_coding_subblock().

◆ parse

struct { ... } VVCLocalContext::parse

◆ chroma_scale

int VVCLocalContext::chroma_scale

Definition at line 413 of file ctu.h.

◆ x_vpdu

int VVCLocalContext::x_vpdu

Definition at line 414 of file ctu.h.

Referenced by ff_vvc_reconstruct().

◆ y_vpdu

int VVCLocalContext::y_vpdu

Definition at line 415 of file ctu.h.

Referenced by ff_vvc_reconstruct().

◆ lmcs

struct { ... } VVCLocalContext::lmcs

Referenced by ff_vvc_reconstruct().

◆ cu

CodingUnit* VVCLocalContext::cu

Definition at line 418 of file ctu.h.

Referenced by add_residual_for_joint_coding_chroma(), affine_cps_from_nb(), affine_merge_const_candidates(), affine_merge_zero_motion(), alloc_cu(), check_available(), ciip_flag_decode(), derive_chroma_intra_pred_mode(), derive_dmvr_bdof_flag(), derive_ilfnst_pred_mode_intra(), derive_qp(), derive_sb_mv(), derive_scale_m(), derive_transform_type(), derive_weight(), ff_vvc_affine_mvp(), ff_vvc_coding_tree_unit(), ff_vvc_get_left_available(), ff_vvc_get_top_available(), ff_vvc_inter_affine_flag(), ff_vvc_intra_mip_flag(), ff_vvc_intra_mip_mode(), ff_vvc_luma_mv_merge_gpm(), ff_vvc_luma_mv_merge_mode(), ff_vvc_merge_subblock_flag(), ff_vvc_mvp(), ff_vvc_pred_flag(), ff_vvc_pred_mode_flag(), ff_vvc_pred_mode_ibc_flag(), ff_vvc_predict_ciip(), ff_vvc_predict_inter(), ff_vvc_reconstruct(), ff_vvc_sb_mv_merge_mode(), ff_vvc_sbt_flag(), ff_vvc_sbt_horizontal_flag(), ff_vvc_set_intra_mvf(), ff_vvc_store_gpm_mvf(), ff_vvc_store_mv(), ff_vvc_store_mvf(), ff_vvc_store_sb_mvs(), ff_vvc_tu_cb_coded_flag(), ff_vvc_tu_cr_coded_flag(), ff_vvc_tu_y_coded_flag(), ff_vvc_update_hmvp(), fill_dmvr_info(), get_inc(), get_luma_pred_mode(), get_qp_y_pred(), hls_coding_unit(), hls_merge_data(), hls_residual_coding(), hls_transform_tree(), hls_transform_unit(), ibc_check_mv(), ibc_history_candidates(), ibc_merge_candidates(), ibc_spatial_candidates(), ilfnst_transform(), init_neighbour_context(), inter_data(), intra_block_copy(), intra_chroma_pred_modes(), intra_luma_pred_modes(), itransform(), lfnst_idx_decode(), luma_intra_pred_mode(), luma_prof(), mc(), mc_bi(), mc_bi_scaled(), mc_scaled(), mc_uni(), mc_uni_scaled(), merge_data_block(), merge_data_ciip(), merge_data_gpm(), merge_data_ibc(), merge_data_regular(), merge_data_subblock(), mts_idx_decode(), mv_merge_temporal_candidate(), mvds_decode(), mvp_data(), mvp_data_ibc(), pred_affine_blk(), pred_gpm_blk(), pred_mode_decode(), pred_regular(), pred_regular_blk(), predict_inter(), predict_intra(), reconstruct(), refine_regular_subblock(), residual_ts_coding_subblock(), sb_mv_merge_mode(), sb_temporal_luma_motion_data(), sb_temporal_merge_candidate(), sbt_info(), set_cb_tab(), set_qp_c(), set_qp_c_tab(), set_qp_y(), skipped_transform_tree(), skipped_transform_tree_unit(), store_cp_mv(), temporal_luma_motion_vector(), tu_y_coded_flag_decode(), and vvc_predict_ibc().

◆ ras

ReconstructedArea VVCLocalContext::ras[2][MAX_PARTS_IN_CTU]

Definition at line 419 of file ctu.h.

Referenced by add_reconstructed_area(), and get_reconstructed_area().

◆ num_ras

int VVCLocalContext::num_ras[2]

Definition at line 420 of file ctu.h.

Referenced by add_reconstructed_area(), ff_vvc_reconstruct(), and get_reconstructed_area().

◆ na

NeighbourAvailable VVCLocalContext::na

Definition at line 422 of file ctu.h.

Referenced by ff_vvc_set_neighbour_available(), get_qp_y_pred(), and init_neighbour_context().

◆ boundary_flags

int VVCLocalContext::boundary_flags

◆ sc

SliceContext* VVCLocalContext::sc

Definition at line 434 of file ctu.h.

Referenced by abs_remainder_decode(), abs_remainder_ts_decode(), affine_merge_const_candidates(), affine_merge_zero_motion(), affine_mvp_candidate(), affine_mvp_constructed_cp(), alf_filter_cc(), alf_filter_chroma(), alf_get_coeff_and_clip(), alf_get_edges(), alf_params(), bcw_idx_decode(), boundary_strength(), cabac_init_state(), can_split(), chroma_qp_offset_decode(), coding_tree_tth(), coding_tree_ttv(), ctu_get_pred(), deblock_is_boundary(), deblock_params(), dequant(), derive_cb_prof_flag_lx(), derive_dmvr_bdof_flag(), derive_mmvd(), derive_mode_type_condition(), derive_qp(), derive_scale_m(), derive_temporal_colocated_mvs(), derive_weight(), derive_weight_uni(), dual_tree_implicit_qt_split(), emulated_edge(), ff_vvc_alf_luma_prev_filter_idx(), ff_vvc_cabac_init(), ff_vvc_decode_neighbour(), ff_vvc_lmcs_filter(), ff_vvc_no_backward_pred_flag(), ff_vvc_residual_coding(), get_cclm_enabled(), get_qp_y_pred(), hls_coding_tree(), hls_coding_tree_unit(), hls_coding_unit(), hls_sao(), itransform(), last_significant_coeff_x_y_decode(), merge_data_block(), mv_merge_mode(), mv_merge_temporal_candidate(), mv_merge_zero_motion_candidate(), mvp_candidate(), mvp_data(), mvp_history_candidates(), pred_get_refs(), pred_gpm_blk(), pred_mode_decode(), pred_regular(), predict_inter(), residual_coding_subblock(), run_deblock_bs(), run_deblock_h(), run_deblock_v(), sao_get_edges(), sb_clip_location(), sb_coded_flag_decode(), sb_temporal_luma_motion_data(), sb_temproal_luma_motion(), set_qp_c(), set_qp_y(), sig_coeff_flag_decode(), task_run_stage(), temporal_luma_motion_vector(), vvc_deblock_bs_luma(), and vvc_deblock_subblock_bs().

◆ fc

VVCFrameContext* VVCLocalContext::fc

Definition at line 435 of file ctu.h.

Referenced by abs_decode(), abs_get_rice_param(), abs_remainder_decode(), add_cu(), add_reconstructed_area(), add_residual_for_joint_coding_chroma(), affine_cps_from_nb(), affine_merge_candidate(), affine_merge_const_candidates(), affine_mvp_candidate(), affine_mvp_constructed_cp(), alf_filter_cc(), alf_filter_chroma(), alf_filter_luma(), alf_get_coeff_and_clip(), alf_get_edges(), alf_get_subblocks(), alf_params(), alloc_cu(), bcw_idx_decode(), cabac_init_state(), can_split(), check_available(), chroma_qp_offset_decode(), ciip_derive_intra_weight(), ciip_flag_decode(), coding_tree_bth(), coding_tree_btv(), coding_tree_qt(), ctu_get_pred(), deblock_bs(), deblock_is_boundary(), deblock_params(), dequant(), derive_cb_prof_flag_lx(), derive_chroma_intra_pred_mode(), derive_dmvr_bdof_flag(), derive_ilfnst_pred_mode_intra(), derive_mmvd(), derive_mode_type_condition(), derive_qp(), derive_sb_mv(), derive_scale_m(), derive_temporal_colocated_mvs(), derive_weight(), derive_weight_uni(), dmvr_mv_refine(), dual_tree_implicit_qt_split(), emulated_edge_no_wrap(), emulated_half(), ff_vvc_alf_copy_ctu_to_hv(), ff_vvc_alf_ctb_cc_idc(), ff_vvc_alf_ctb_flag(), ff_vvc_alf_filter(), ff_vvc_cabac_init(), ff_vvc_coding_tree_unit(), ff_vvc_cu_chroma_qp_offset_idx(), ff_vvc_deblock_bs(), ff_vvc_decode_neighbour(), ff_vvc_get_left_available(), ff_vvc_get_top_available(), ff_vvc_lmcs_filter(), ff_vvc_merge_gpm_idx(), ff_vvc_merge_idx(), ff_vvc_no_backward_pred_flag(), ff_vvc_non_inter_flag(), ff_vvc_pred_mode_flag(), ff_vvc_pred_mode_ibc_flag(), ff_vvc_predict_inter(), ff_vvc_reconstruct(), ff_vvc_sao_filter(), ff_vvc_sao_offset_abs_decode(), ff_vvc_set_intra_mvf(), ff_vvc_set_mvf(), ff_vvc_set_neighbour_available(), ff_vvc_split_cu_flag(), ff_vvc_update_hmvp(), fill_dmvr_info(), get_cclm_enabled(), get_inter_flag_inc(), get_left_top(), get_luma_pred_mode(), get_qp_y_pred(), hls_coding_tree(), hls_coding_tree_unit(), hls_coding_unit(), hls_merge_data(), hls_residual_coding(), hls_sao(), hls_transform_tree(), hls_transform_unit(), ibc_check_mv(), ibc_fill_vir_buf(), ibc_spatial_candidates(), ilfnst_transform(), init_residual_coding(), intra_block_copy(), intra_chroma_pred_modes(), intra_luma_pred_modes(), is_a0_available(), itransform(), lfnst_idx_decode(), luma_intra_pred_mode(), luma_prof(), luma_prof_bi(), luma_prof_uni(), mc(), mc_bi(), mc_bi_scaled(), mc_scaled(), mc_uni(), mc_uni_scaled(), merge_data_block(), merge_data_ciip(), merge_data_gpm(), merge_data_ibc(), merge_data_regular(), merge_data_subblock(), mts_idx_decode(), mtt_split_cu_vertical_flag_decode(), mv_merge_candidate(), mv_merge_history_candidates(), mv_merge_temporal_candidate(), mv_merge_zero_motion_candidate(), mvds_decode(), mvp_candidate(), mvp_data(), mvp_data_ibc(), pred_affine_blk(), pred_gpm_blk(), pred_mode_decode(), pred_regular(), predict_inter(), predict_intra(), reconstruct(), run_alf(), run_deblock_h(), run_deblock_v(), run_init(), run_inter(), run_lmcs(), run_parse(), run_sao(), sao_copy_ctb_to_hv(), sao_get_edges(), sb_clip_location(), sb_mv_merge_mode(), sb_temporal_luma_motion_data(), sb_temporal_merge_candidate(), sb_temproal_luma_motion(), scaled_ref_pos_and_step(), set_cb_tab(), set_cu_tabs(), set_qp_c(), set_qp_c_tab(), set_qp_y(), skipped_transform_tree(), skipped_transform_tree_unit(), split_qt_flag_decode(), store_cp_mv(), task_run(), temporal_luma_motion_vector(), transform_bdpcm(), tu_y_coded_flag_decode(), vvc_deblock(), vvc_deblock_bs_chroma(), vvc_deblock_bs_luma(), vvc_deblock_subblock_bs(), and vvc_predict_ibc().

◆ ep

EntryPoint* VVCLocalContext::ep

◆ coeffs

int* VVCLocalContext::coeffs

Definition at line 437 of file ctu.h.

Referenced by add_tb(), and ff_vvc_coding_tree_unit().


The documentation for this struct was generated from the following file: