|
FFmpeg
|
#include "libavutil/frame.h"#include "libavutil/imgutils.h"#include "data.h"#include "inter.h"#include "intra.h"#include "itx_1d.h"Go to the source code of this file.
Macros | |
| #define | POS(c_idx, x, y) |
| #define | MIN_ISP_PRED_WIDTH 4 |
| #define | DCT_A 64 |
| #define | IBC_POS(c_idx, x, y) |
| #define | IBC_X(x) |
| #define | IBC_Y(y) |
Functions | |
| static int | is_cclm (enum IntraPredMode mode) |
| static int | derive_ilfnst_pred_mode_intra (const VVCLocalContext *lc, const TransformBlock *tb) |
| static void | ilfnst_transform (const VVCLocalContext *lc, TransformBlock *tb) |
| static void | derive_transform_type (const VVCFrameContext *fc, const VVCLocalContext *lc, const TransformBlock *tb, enum VVCTxType *trh, enum VVCTxType *trv) |
| static int | add_reconstructed_area (VVCLocalContext *lc, const int ch_type, const int x0, const int y0, const int w, const int h) |
| static void | add_tu_area (const TransformUnit *tu, int *x0, int *y0, int *w, int *h) |
| static int | get_luma_predict_unit (const CodingUnit *cu, const TransformUnit *tu, const int idx, int *x0, int *y0, int *w, int *h) |
| static int | get_chroma_predict_unit (const CodingUnit *cu, const TransformUnit *tu, const int idx, int *x0, int *y0, int *w, int *h) |
| static int | predict_intra (VVCLocalContext *lc, const TransformUnit *tu, const int idx, const int target_ch_type) |
| static void | scale_clip (int *coeff, const int nzw, const int w, const int h, const int shift, const int log2_transform_range) |
| static void | scale (int *out, const int *in, const int w, const int h, const int shift) |
| static void | derive_qp (const VVCLocalContext *lc, const TransformUnit *tu, TransformBlock *tb) |
| static av_always_inline int | derive_scale (const TransformBlock *tb, const int sh_dep_quant_used_flag) |
| static const uint8_t * | derive_scale_m (const VVCLocalContext *lc, const TransformBlock *tb, uint8_t *scale_m) |
| static av_always_inline int | scale_coeff (const TransformBlock *tb, int coeff, const int scale, const int scale_m, const int log2_transform_range) |
| static void | dequant (const VVCLocalContext *lc, const TransformUnit *tu, TransformBlock *tb) |
| static void | itx_2d (const VVCFrameContext *fc, TransformBlock *tb, const enum VVCTxType trh, const enum VVCTxType trv) |
| static void | itx_1d (const VVCFrameContext *fc, TransformBlock *tb, const enum VVCTxType trh, const enum VVCTxType trv) |
| static void | transform_bdpcm (TransformBlock *tb, const VVCLocalContext *lc, const CodingUnit *cu) |
| static void | lmcs_scale_chroma (VVCLocalContext *lc, TransformUnit *tu, TransformBlock *tb, const int target_ch_type) |
| static void | add_residual (const VVCLocalContext *lc, TransformUnit *tu, const int target_ch_type) |
| static void | itransform (VVCLocalContext *lc, TransformUnit *tu, const int target_ch_type) |
| static int | reconstruct (VVCLocalContext *lc) |
| static void | intra_block_copy (const VVCLocalContext *lc, const int c_idx) |
| static void | vvc_predict_ibc (const VVCLocalContext *lc) |
| static void | ibc_fill_vir_buf (const VVCLocalContext *lc, const CodingUnit *cu) |
| int | ff_vvc_palette_derive_scale (VVCLocalContext *lc, const TransformUnit *tu, TransformBlock *tb) |
| static void | vvc_predict_palette (VVCLocalContext *lc) |
| int | ff_vvc_reconstruct (VVCLocalContext *lc, const int rs, const int rx, const int ry) |
| reconstruct a CTU | |
Variables | |
| static const uint8_t | rem6 [63+8 *6+1] |
| static const uint8_t | div6 [63+8 *6+1] |
| static const int | level_scale [2][6] |
| #define POS | ( | c_idx, | |
| x, | |||
| y ) |
Definition at line 30 of file intra.c.
Referenced by add_residual(), ibc_fill_vir_buf(), intra_block_copy(), and vvc_predict_palette().
| #define MIN_ISP_PRED_WIDTH 4 |
Definition at line 199 of file intra.c.
Referenced by get_luma_predict_unit().
| #define IBC_POS | ( | c_idx, | |
| x, | |||
| y ) |
Definition at line 609 of file intra.c.
Referenced by ibc_fill_vir_buf(), and intra_block_copy().
| #define IBC_X | ( | x | ) |
Definition at line 612 of file intra.c.
Referenced by ibc_fill_vir_buf(), and intra_block_copy().
| #define IBC_Y | ( | y | ) |
Definition at line 613 of file intra.c.
Referenced by ibc_fill_vir_buf(), and intra_block_copy().
|
static |
Definition at line 34 of file intra.c.
Referenced by derive_ilfnst_pred_mode_intra(), and predict_intra().
|
static |
Definition at line 39 of file intra.c.
Referenced by ilfnst_transform().
|
static |
< nLfnstOutSize
< log2LfnstSize
< nLfnstSize
< nonZeroSize
Definition at line 70 of file intra.c.
Referenced by itransform().
|
static |
Definition at line 135 of file intra.c.
Referenced by itransform().
|
static |
Definition at line 171 of file intra.c.
Referenced by ff_vvc_reconstruct(), and predict_intra().
|
static |
Definition at line 191 of file intra.c.
Referenced by get_chroma_predict_unit(), and get_luma_predict_unit().
|
static |
Definition at line 200 of file intra.c.
Referenced by predict_intra().
|
static |
Definition at line 211 of file intra.c.
Referenced by predict_intra().
|
static |
Definition at line 228 of file intra.c.
Referenced by reconstruct().
|
static |
|
static |
|
static |
Definition at line 291 of file intra.c.
Referenced by dequant(), and ff_vvc_palette_derive_scale().
|
static |
|
static |
|
static |
Definition at line 400 of file intra.c.
Referenced by dequant(), lmcs_derive_lut(), and lmcs_derive_lut_sample().
|
static |
Definition at line 408 of file intra.c.
Referenced by itransform().
|
static |
Definition at line 432 of file intra.c.
Referenced by itransform().
|
static |
Definition at line 461 of file intra.c.
Referenced by itransform().
|
static |
Definition at line 487 of file intra.c.
Referenced by itransform().
|
static |
Definition at line 500 of file intra.c.
Referenced by ff_vvc_intra_dsp_init(), itransform(), and lmcs_scale_chroma().
|
static |
Definition at line 528 of file intra.c.
Referenced by itransform().
|
static |
Definition at line 547 of file intra.c.
Referenced by reconstruct().
|
static |
Definition at line 588 of file intra.c.
Referenced by ff_vvc_reconstruct().
|
static |
< IbcBufWidthY and IbcBufWidthC
Definition at line 615 of file intra.c.
Referenced by vvc_predict_ibc().
|
static |
Definition at line 646 of file intra.c.
Referenced by ff_vvc_reconstruct().
|
static |
Definition at line 657 of file intra.c.
Referenced by ff_vvc_reconstruct().
| int ff_vvc_palette_derive_scale | ( | VVCLocalContext * | lc, |
| const TransformUnit * | tu, | ||
| TransformBlock * | tb ) |
Definition at line 680 of file intra.c.
Referenced by palette_subblock_data().
|
static |
Definition at line 692 of file intra.c.
Referenced by ff_vvc_reconstruct().
| int ff_vvc_reconstruct | ( | VVCLocalContext * | lc, |
| const int | rs, | ||
| const int | rx, | ||
| const int | ry ) |
|
static |
Definition at line 320 of file intra.c.
Referenced by derive_scale(), ff_hevc_hls_residual_coding(), and ff_vvc_palette_derive_scale().
|
static |
Definition at line 328 of file intra.c.
Referenced by derive_scale(), ff_hevc_hls_residual_coding(), and ff_vvc_palette_derive_scale().
|
static |
Definition at line 336 of file intra.c.
Referenced by apv_decode_tile_component(), build_dct_push_const(), check_decode_transquant(), derive_scale(), ff_hevc_hls_residual_coding(), and ff_vvc_palette_derive_scale().