|
FFmpeg
|
#include <stdbool.h>#include "libavcodec/cabac.h"#include "libavutil/mem_internal.h"#include "dec.h"Go to the source code of this file.
Data Structures | |
| struct | NeighbourAvailable |
| struct | TransformBlock |
| struct | TransformUnit |
| struct | Mv |
| struct | MvField |
| struct | DMVRInfo |
| struct | MotionInfo |
| struct | PredictionUnit |
| struct | Palette |
| struct | CodingUnit |
| struct | CTU |
| struct | ReconstructedArea |
| struct | VVCCabacState |
| struct | EntryPoint |
| struct | VVCLocalContext |
| struct | VVCAllowedSplit |
| struct | SAOParams |
| struct | ALFParams |
| struct | VVCRect |
Enumerations | |
| enum | SAOType { SAO_NOT_APPLIED = 0 , SAO_BAND , SAO_EDGE } |
| enum | SAOEOClass { SAO_EO_HORIZ = 0 , SAO_EO_VERT , SAO_EO_135D , SAO_EO_45D } |
| enum | IspType { ISP_NO_SPLIT , ISP_HOR_SPLIT , ISP_VER_SPLIT } |
| enum | VVCSplitMode { SPLIT_NONE , SPLIT_TT_HOR , SPLIT_BT_HOR , SPLIT_TT_VER , SPLIT_BT_VER , SPLIT_QT } |
| enum | MtsIdx { MTS_DCT2_DCT2 , MTS_DST7_DST7 , MTS_DST7_DCT8 , MTS_DCT8_DST7 , MTS_DCT8_DCT8 } |
| enum | VVCTreeType { SINGLE_TREE , DUAL_TREE_LUMA , DUAL_TREE_CHROMA } |
| enum | PredMode { MODE_INTER , MODE_INTRA , MODE_SKIP , MODE_PLT , MODE_IBC } |
| enum | MotionModelIdc { MOTION_TRANSLATION , MOTION_4_PARAMS_AFFINE , MOTION_6_PARAMS_AFFINE } |
| enum | PredFlag { PF_INTRA = 0x0 , PF_L0 = 0x1 , PF_L1 = 0x2 , PF_BI = 0x3 , PF_IBC = PF_L0 | 0x4 , PF_PLT = 0x8 } |
| enum | IntraPredMode { INTRA_INVALID = -1 , INTRA_PLANAR = 0 , INTRA_DC , INTRA_HORZ = 18 , INTRA_DIAG = 34 , INTRA_VERT = 50 , INTRA_VDIAG = 66 , INTRA_LT_CCLM = 81 , INTRA_L_CCLM , INTRA_T_CCLM } |
Functions | |
| int | ff_vvc_coding_tree_unit (VVCLocalContext *lc, int ctu_idx, int rs, int rx, int ry) |
| parse a CTU | |
| void | ff_vvc_set_neighbour_available (VVCLocalContext *lc, int x0, int y0, int w, int h) |
| void | ff_vvc_decode_neighbour (VVCLocalContext *lc, int x_ctb, int y_ctb, int rx, int ry, int rs) |
| void | ff_vvc_ctu_free_cus (CodingUnit **cus) |
| int | ff_vvc_get_qPy (const VVCFrameContext *fc, int xc, int yc) |
| void | ff_vvc_ep_init_stat_coeff (EntryPoint *ep, int bit_depth, int persistent_rice_adaptation_enabled_flag) |
| void | ff_vvc_channel_range (int *start, int *end, VVCTreeType tree_type, uint8_t chroma_format_idc) |
| #define MAX_CTU_SIZE 128 |
Definition at line 33 of file ctu.h.
Referenced by check_alf_classify(), check_alf_filter(), check_avg(), check_put_vvc_chroma(), check_put_vvc_chroma_uni(), check_put_vvc_luma(), check_put_vvc_luma_uni(), check_sao_band(), check_sao_edge(), check_vvc_sad(), get_alf_vb_pos(), and ibc_tl_init().
| #define MAX_CU_SIZE MAX_CTU_SIZE |
| #define MIN_CU_LOG2 2 |
Definition at line 37 of file ctu.h.
Referenced by ff_vvc_store_sb_mvs().
| #define MAX_CU_DEPTH 7 |
Definition at line 38 of file ctu.h.
Referenced by ff_vvc_store_sb_mvs(), and init_subblock_params().
| #define MAX_PALETTE_CU_SIZE 64 |
Definition at line 39 of file ctu.h.
Referenced by hls_palette_coding().
| #define MAX_PARTS_IN_CTU ((MAX_CTU_SIZE >> MIN_CU_LOG2) * (MAX_CTU_SIZE >> MIN_CU_LOG2)) |
| #define MIN_PU_SIZE 4 |
Definition at line 43 of file ctu.h.
Referenced by set_dmvr_info().
| #define MIN_TU_SIZE 4 |
Definition at line 46 of file ctu.h.
Referenced by intra_luma_pred_modes(), and set_tb_tab().
| #define EDGE_EMU_BUFFER_STRIDE ((MAX_PB_SIZE + 32) * MAX_SCALING_RATIO) |
| #define LUMA_EXTRA_AFTER 4 |
Definition at line 59 of file ctu.h.
Referenced by schedule_inter().
| #define SCALED_INT | ( | pos | ) |
Definition at line 65 of file ctu.h.
Referenced by emulated_edge_scaled(), put_scaled(), and put_uni_w_scaled().
| #define MAX_CONTROL_POINTS 3 |
Definition at line 67 of file ctu.h.
Referenced by affine_mvp(), min_cb_nz_tl_init(), mvds_decode(), mvp_add_difference(), mvp_data(), and store_cp_mv().
| #define AFFINE_MIN_BLOCK_SIZE 4 |
Definition at line 69 of file ctu.h.
Referenced by apply_prof(), apply_prof_uni(), apply_prof_uni_w(), derive_subblock_diff_mvs(), fetch_samples(), luma_prof(), and luma_prof_uni().
| #define MAX_NUM_HMVP_CANDS 5 |
Definition at line 72 of file ctu.h.
Referenced by update_hmvp().
| #define ALF_PADDING_SIZE 8 |
Definition at line 76 of file ctu.h.
Referenced by ff_vvc_alf_filter(), and pixel_buffer_nz_tl_init().
| #define ALF_BLOCK_SIZE 4 |
Definition at line 77 of file ctu.h.
Referenced by alf_classify(), alf_classify(), alf_filter_chroma(), alf_filter_luma(), alf_get_coeff_and_clip(), check_alf_classify(), FUNC2(), and FUNC2().
| #define ALF_BORDER_LUMA 3 |
Definition at line 79 of file ctu.h.
Referenced by alf_copy_ctb_to_hv(), alf_prepare_buffer(), and pixel_buffer_nz_tl_init().
| #define ALF_BORDER_CHROMA 2 |
Definition at line 80 of file ctu.h.
Referenced by alf_copy_ctb_to_hv(), alf_prepare_buffer(), and pixel_buffer_nz_tl_init().
| #define ALF_VB_POS_ABOVE_LUMA 4 |
Definition at line 82 of file ctu.h.
Referenced by check_alf_classify(), check_alf_filter(), and ff_vvc_alf_filter().
| #define ALF_VB_POS_ABOVE_CHROMA 2 |
Definition at line 83 of file ctu.h.
Referenced by check_alf_filter(), and ff_vvc_alf_filter().
| #define ALF_GRADIENT_STEP 2 |
Definition at line 85 of file ctu.h.
Referenced by alf_classify(), and alf_classify().
| #define ALF_GRADIENT_BORDER 2 |
Definition at line 86 of file ctu.h.
Referenced by alf_classify(), and alf_classify().
| #define ALF_GRADIENT_SIZE ((MAX_CU_SIZE + ALF_GRADIENT_BORDER * 2) / ALF_GRADIENT_STEP) |
Definition at line 87 of file ctu.h.
Referenced by check_alf_classify().
| #define ALF_NUM_DIR 4 |
Definition at line 88 of file ctu.h.
Referenced by alf_classify(), alf_classify(), and check_alf_classify().
| #define ALF_MAX_BLOCKS_IN_CTU (MAX_CTU_SIZE * MAX_CTU_SIZE / ALF_BLOCK_SIZE / ALF_BLOCK_SIZE) |
Definition at line 90 of file ctu.h.
Referenced by alf_get_coeff_and_clip().
| #define ALF_MAX_FILTER_SIZE (ALF_MAX_BLOCKS_IN_CTU * ALF_NUM_COEFF_LUMA) |
| #define SAMPLE | ( | tab, | |
| x, | |||
| y ) |
Value of the luma sample at position (x, y) in the 2D array tab.
| #define SAMPLE_CTB | ( | tab, | |
| x, | |||
| y ) |
| #define CTB | ( | tab, | |
| x, | |||
| y ) |
| #define VVC_CONTEXTS 378 |
Definition at line 364 of file ctu.h.
Referenced by cabac_init_state().
| #define BOUNDARY_LEFT_SUBPIC (1 << 2) |
Definition at line 429 of file ctu.h.
Referenced by alf_get_edges(), deblock_is_boundary(), and ff_vvc_decode_neighbour().
| #define BOUNDARY_UPPER_SUBPIC (1 << 5) |
Definition at line 432 of file ctu.h.
Referenced by alf_get_edges(), deblock_is_boundary(), and ff_vvc_decode_neighbour().
| enum SAOEOClass |
| enum IspType |
| enum VVCSplitMode |
| enum MtsIdx |
| enum VVCTreeType |
| enum PredMode |
| enum MotionModelIdc |
| enum PredFlag |
| enum IntraPredMode |
| int ff_vvc_coding_tree_unit | ( | VVCLocalContext * | lc, |
| int | ctu_idx, | ||
| int | rs, | ||
| int | rx, | ||
| int | ry ) |
| void ff_vvc_set_neighbour_available | ( | VVCLocalContext * | lc, |
| int | x0, | ||
| int | y0, | ||
| int | w, | ||
| int | h ) |
Definition at line 2872 of file ctu.c.
Referenced by ff_vvc_affine_mvp(), ff_vvc_luma_mv_merge_gpm(), ff_vvc_luma_mv_merge_mode(), ff_vvc_mvp(), ff_vvc_sb_mv_merge_mode(), hls_coding_unit(), ibc_merge_candidates(), pred_regular_blk(), and predict_intra().
| void ff_vvc_decode_neighbour | ( | VVCLocalContext * | lc, |
| int | x_ctb, | ||
| int | y_ctb, | ||
| int | rx, | ||
| int | ry, | ||
| int | rs ) |
Definition at line 2839 of file ctu.c.
Referenced by ff_vvc_coding_tree_unit(), ff_vvc_deblock_bs(), ff_vvc_reconstruct(), run_alf(), run_deblock_h(), run_deblock_v(), and run_sao().
| void ff_vvc_ctu_free_cus | ( | CodingUnit ** | cus | ) |
Definition at line 2887 of file ctu.c.
Referenced by ff_vvc_reconstruct(), and free_cus().
| int ff_vvc_get_qPy | ( | const VVCFrameContext * | fc, |
| int | xc, | ||
| int | yc ) |
Definition at line 2906 of file ctu.c.
Referenced by get_qp_y(), and set_qp_c().
| void ff_vvc_ep_init_stat_coeff | ( | EntryPoint * | ep, |
| int | bit_depth, | ||
| int | persistent_rice_adaptation_enabled_flag ) |
Definition at line 2914 of file ctu.c.
Referenced by cabac_init_state(), and ep_init_wpp().
| void ff_vvc_channel_range | ( | int * | start, |
| int * | end, | ||
| VVCTreeType | tree_type, | ||
| uint8_t | chroma_format_idc ) |
Definition at line 2923 of file ctu.c.
Referenced by hls_palette_coding(), ibc_fill_vir_buf(), and skipped_transform_tree().