|
FFmpeg
|
#include "libavutil/common.h"#include "libavutil/internal.h"#include "hevcdec.h"#include "libavcodec/progressframe.h"Go to the source code of this file.
Macros | |
| #define | LUMA 0 |
| #define | CB 1 |
| #define | CR 2 |
| #define | CTB(tab, x, y) |
| #define | TC_CALC(qp, bs) |
Functions | |
| static int | chroma_tc (const HEVCPPS *pps, const HEVCSPS *sps, int qp_y, int c_idx, int tc_offset) |
| static int | get_qPy_pred (HEVCLocalContext *lc, const HEVCContext *s, const HEVCLayerContext *l, const HEVCPPS *pps, const HEVCSPS *sps, int xBase, int yBase, int log2_cb_size) |
| void | ff_hevc_set_qPy (HEVCLocalContext *lc, const HEVCLayerContext *l, const HEVCPPS *pps, int xBase, int yBase, int log2_cb_size) |
| static int | get_qPy (const HEVCSPS *sps, const int8_t *qp_y_tab, int xC, int yC) |
| static void | copy_CTB (uint8_t *dst, const uint8_t *src, int width, int height, ptrdiff_t stride_dst, ptrdiff_t stride_src) |
| static void | copy_pixel (uint8_t *dst, const uint8_t *src, int pixel_shift) |
| static void | copy_vert (uint8_t *dst, const uint8_t *src, int pixel_shift, int height, ptrdiff_t stride_dst, ptrdiff_t stride_src) |
| static void | copy_CTB_to_hv (const HEVCLayerContext *l, const HEVCSPS *sps, const uint8_t *src, ptrdiff_t stride_src, int x, int y, int width, int height, int c_idx, int x_ctb, int y_ctb) |
| static void | restore_tqb_pixels (const HEVCLayerContext *l, const HEVCPPS *pps, const HEVCSPS *sps, uint8_t *src1, const uint8_t *dst1, ptrdiff_t stride_src, ptrdiff_t stride_dst, int x0, int y0, int width, int height, int c_idx) |
| static void | sao_filter_CTB (HEVCLocalContext *lc, const HEVCLayerContext *l, const HEVCContext *s, const HEVCPPS *pps, const HEVCSPS *sps, int x, int y) |
| static int | get_pcm (const HEVCSPS *sps, const uint8_t *is_pcm, int x, int y) |
| static void | deblocking_filter_CTB (const HEVCContext *s, const HEVCLayerContext *l, const HEVCPPS *pps, const HEVCSPS *sps, int x0, int y0) |
| static int | boundary_strength (const HEVCContext *s, const MvField *curr, const MvField *neigh, const RefPicList *neigh_refPicList) |
| void | ff_hevc_deblocking_boundary_strengths (HEVCLocalContext *lc, const HEVCLayerContext *l, const HEVCPPS *pps, int x0, int y0, int log2_trafo_size) |
| void | ff_hevc_hls_filter (HEVCLocalContext *lc, const HEVCLayerContext *l, const HEVCPPS *pps, int x, int y, int ctb_size) |
| void | ff_hevc_hls_filters (HEVCLocalContext *lc, const HEVCLayerContext *l, const HEVCPPS *pps, int x_ctb, int y_ctb, int ctb_size) |
Variables | |
| static const uint8_t | tctable [54] |
| static const uint8_t | betatable [52] |
| #define LUMA 0 |
Definition at line 31 of file filter.c.
Referenced by add_cu(), add_tu(), alf_filter_luma(), alf_params(), bcw_idx_decode(), cclm_get_min_max(), cclm_get_params(), cclm_select_samples(), check_alf_filter(), check_put_vvc_luma(), check_put_vvc_luma_uni(), deblock_bs(), deblocking_filter_CTB(), derive_dmvr_bdof_flag(), derive_max_filter_length_luma(), dmvr_mv_refine(), ep_init(), ff_vvc_alf_dsp_init(), ff_vvc_channel_range(), ff_vvc_deblock_bs(), ff_vvc_dsp_init_aarch64(), ff_vvc_dsp_init_riscv(), ff_vvc_get_qPy(), ff_vvc_inter_dsp_init(), ff_vvc_lmcs_filter(), ff_vvc_reconstruct(), get_qp_y(), get_qp_y_pred(), hls_transform_unit(), ibc_tl_init(), intra_luma_pred_modes(), itransform(), lfnst_idx_decode(), lmcs_derive_chroma_scale(), luma_prof(), luma_prof_bi(), luma_prof_uni(), min_cb_nz_tl_init(), min_cb_tl_init(), min_tu_nz_tl_init(), msm_tl_init(), palette_predicted(), palette_update_predictor(), pred_affine_blk(), pred_regular(), pred_regular_blk(), pred_weight_table(), predict_inter(), set_cu_tabs(), set_qp_y(), sh_deblock_offsets(), sh_partition_constraints(), vvc_deblock_bs_luma(), vvc_deblock_subblock_bs(), and vvc_predict_ibc().
| #define CB 1 |
Definition at line 32 of file filter.c.
Referenced by add_cu(), alf_filter_cc(), alf_params(), chroma_qp_offset_decode(), derive_qp(), ff_vvc_channel_range(), hls_transform_unit(), intra_chroma_pred_modes(), itransform(), lfnst_idx_decode(), lmcs_scale_chroma(), min_tu_nz_tl_init(), palette_signaled(), pps_chroma_qp_offset(), pred_affine_blk(), set_qp_c(), set_qp_c_tab(), sh_deblock_offsets(), vvc_deblock_bs_chroma(), and vvc_predict_ibc().
| #define CR 2 |
Definition at line 33 of file filter.c.
Referenced by add_cu(), alf_params(), derive_qp(), ep_init(), hls_transform_unit(), intra_chroma_pred_modes(), itransform(), lfnst_idx_decode(), lmcs_scale_chroma(), palette_add_tu(), palette_signaled(), pps_chroma_qp_offset(), pred_regular(), set_qp_c(), set_qp_c_tab(), sh_deblock_offsets(), skipped_transform_tree(), vvc_deblock_bs_chroma(), and vvc_predict_ibc().
| #define CTB | ( | tab, | |
| x, | |||
| y ) |
Definition at line 267 of file filter.c.
Referenced by alf_get_edges(), alf_params(), deblock_params(), ff_vvc_alf_ctb_cc_idc(), ff_vvc_alf_ctb_flag(), ff_vvc_alf_filter(), ff_vvc_sao_filter(), hls_sao(), sao_can_cross_slices(), and sao_filter_CTB().
| #define TC_CALC | ( | qp, | |
| bs ) |
Definition at line 496 of file filter.c.
Referenced by deblocking_filter_CTB(), and vvc_deblock().
|
static |
Definition at line 47 of file filter.c.
Referenced by deblocking_filter_CTB().
|
static |
Definition at line 77 of file filter.c.
Referenced by ff_hevc_set_qPy().
| void ff_hevc_set_qPy | ( | HEVCLocalContext * | lc, |
| const HEVCLayerContext * | l, | ||
| const HEVCPPS * | pps, | ||
| int | xBase, | ||
| int | yBase, | ||
| int | log2_cb_size ) |
Definition at line 122 of file filter.c.
Referenced by hls_coding_unit(), and hls_transform_unit().
|
static |
Definition at line 138 of file filter.c.
Referenced by deblocking_filter_CTB().
|
static |
Definition at line 146 of file filter.c.
Referenced by sao_filter_CTB().
|
static |
Definition at line 179 of file filter.c.
Referenced by sao_copy_hor(), and sao_filter_CTB().
|
static |
Definition at line 187 of file filter.c.
Referenced by copy_CTB_to_hv(), copy_ctb_to_hv(), sao_extends_edges(), and sao_filter_CTB().
|
static |
Definition at line 207 of file filter.c.
Referenced by sao_filter_CTB().
|
static |
Definition at line 228 of file filter.c.
Referenced by sao_filter_CTB().
|
static |
Definition at line 269 of file filter.c.
Referenced by ff_hevc_hls_filter().
|
static |
Definition at line 480 of file filter.c.
Referenced by deblocking_filter_CTB().
|
static |
Definition at line 501 of file filter.c.
Referenced by ff_hevc_hls_filter().
|
static |
Definition at line 678 of file filter.c.
Referenced by deblock_bs(), ff_hevc_deblocking_boundary_strengths(), and vvc_deblock_subblock_bs().
| void ff_hevc_deblocking_boundary_strengths | ( | HEVCLocalContext * | lc, |
| const HEVCLayerContext * | l, | ||
| const HEVCPPS * | pps, | ||
| int | x0, | ||
| int | y0, | ||
| int | log2_trafo_size ) |
Definition at line 742 of file filter.c.
Referenced by hls_coding_unit(), hls_pcm_sample(), and hls_transform_tree().
| void ff_hevc_hls_filter | ( | HEVCLocalContext * | lc, |
| const HEVCLayerContext * | l, | ||
| const HEVCPPS * | pps, | ||
| int | x, | ||
| int | y, | ||
| int | ctb_size ) |
Definition at line 872 of file filter.c.
Referenced by ff_hevc_hls_filters(), hls_decode_entry(), and hls_decode_entry_wpp().
| void ff_hevc_hls_filters | ( | HEVCLocalContext * | lc, |
| const HEVCLayerContext * | l, | ||
| const HEVCPPS * | pps, | ||
| int | x_ctb, | ||
| int | y_ctb, | ||
| int | ctb_size ) |
Definition at line 912 of file filter.c.
Referenced by hls_decode_entry(), and hls_decode_entry_wpp().
|
static |
Definition at line 35 of file filter.c.
Referenced by chroma_tc().
|
static |
Definition at line 41 of file filter.c.
Referenced by deblocking_filter_CTB(), and vvc_deblock().