Go to the documentation of this file.
33 const int w,
const int h,
const ptrdiff_t
_stride)
39 for (
int y = 0; y <
h; y++) {
40 for (
int x = 0; x <
w; x++) {
49 const int c_sign,
const int shift)
57 const int vertical,
const int log2_transform_range)
63 for (y = 0; y <
height - 1; y++) {
64 for (x = 0; x <
width; x++)
69 for (y = 0; y <
height; y++) {
70 for (x = 1; x <
width; x++)
71 coeffs[x] =
av_clip_intp2(coeffs[x] + coeffs[x - 1], log2_transform_range);
83 for (
int i = 0;
i <
size;
i++) {
87 const int t = y0 - (cg >> 1);
97 #define VVC_ITX(TYPE, type, s) \
98 itx->itx[VVC_##TYPE][VVC_##TX_SIZE_##s] = ff_vvc_inv_##type##_##s; \
100 #define VVC_ITX_COMMON(TYPE, type) \
101 VVC_ITX(TYPE, type, 4); \
102 VVC_ITX(TYPE, type, 8); \
103 VVC_ITX(TYPE, type, 16); \
104 VVC_ITX(TYPE, type, 32);
118 #undef VVC_ITX_COMMON
#define VVC_ITX(TYPE, type, s)
#define u(width, name, range_min, range_max)
static void FUNC() ff_vvc_itx_dsp_init(VVCItxDSPContext *const itx)
static void FUNC() transform_bdpcm(int *coeffs, const int width, const int height, const int vertical, const int log2_transform_range)
static int shift(int a, int b)
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
static void FUNC() add_residual(uint8_t *_dst, const int *res, const int w, const int h, const ptrdiff_t _stride)
#define i(width, name, range_min, range_max)
static void FUNC() pred_residual_joint(int *dst, const int *src, const int w, const int h, const int c_sign, const int shift)
#define VVC_ITX_COMMON(TYPE, type)
static void FUNC() adaptive_color_transform(int *y, int *u, int *v, const int width, const int height)