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 w,
const int h,
const ptrdiff_t
_stride,
const int c_sign,
const int shift)
55 for (
int y = 0; y <
h; y++) {
56 for (
int x = 0; x <
w; x++) {
57 const int r = ((*res) * c_sign) >>
shift;
66 const int c_sign,
const int shift)
68 for (
int y = 0; y <
h; y++) {
69 for (
int x = 0; x <
w; x++) {
70 *buf = ((*buf) * c_sign) >>
shift;
77 const int vertical,
const int log2_transform_range)
83 for (y = 0; y <
height - 1; y++) {
84 for (x = 0; x <
width; x++)
89 for (y = 0; y <
height; y++) {
90 for (x = 1; x <
width; x++)
91 coeffs[x] =
av_clip_intp2(coeffs[x] + coeffs[x - 1], log2_transform_range);
99 #define VVC_ITX(TYPE, type, s) \
100 itx->itx[TYPE][TX_SIZE_##s] = ff_vvc_inv_##type##_##s; \
102 #define VVC_ITX_COMMON(TYPE, type) \
103 VVC_ITX(TYPE, type, 4); \
104 VVC_ITX(TYPE, type, 8); \
105 VVC_ITX(TYPE, type, 16); \
106 VVC_ITX(TYPE, type, 32);
119 #undef VVC_ITX_COMMON
static void FUNC() pred_residual_joint(int *buf, const int w, const int h, const int c_sign, const int shift)
#define VVC_ITX_COMMON(TYPE, type)
#define VVC_ITX(TYPE, type, s)
static void FUNC() add_residual(uint8_t *_dst, const int *res, const int w, const int h, const ptrdiff_t _stride)
static int shift(int a, int b)
static void FUNC() add_residual_joint(uint8_t *_dst, const int *res, const int w, const int h, const ptrdiff_t _stride, const int c_sign, const int shift)
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)