FFmpeg
Macros | Functions
vvc_itx_1d.c File Reference
#include "vvc_data.h"
#include "vvc_itx_1d.h"
#include "libavutil/avutil.h"

Go to the source code of this file.

Macros

#define G2(m)   ((nz > 2) ? (m) : 0)
 
#define G4(m)   ((nz > 4) ? (m) : 0)
 
#define G8(m)   ((nz > 8) ? (m) : 0)
 
#define G16(m)   ((nz > 16) ? (m) : 0)
 
#define DEFINE_INV_DCT8_1D(S)
 
#define DEFINE_INV_DST7_1D(S)
 

Functions

void ff_vvc_inv_dct2_2 (int *coeffs, const ptrdiff_t stride, const size_t nz)
 
void ff_vvc_inv_dct2_4 (int *coeffs, const ptrdiff_t stride, const size_t nz)
 
void ff_vvc_inv_dct2_8 (int *coeffs, const ptrdiff_t stride, const size_t nz)
 
void ff_vvc_inv_dct2_16 (int *coeffs, const ptrdiff_t stride, const size_t nz)
 
void ff_vvc_inv_dct2_32 (int *coeffs, const ptrdiff_t stride, const size_t nz)
 
void ff_vvc_inv_dct2_64 (int *coeffs, const ptrdiff_t stride, const size_t nz)
 
static void matrix_mul (int *coeffs, const ptrdiff_t stride, const int8_t *matrix, const int size, const size_t nz)
 
static void inv_dct8 (int *coeffs, const ptrdiff_t stride, const int8_t *matrix, const int size, const size_t nz)
 
static void inv_dst7 (int *coeffs, const ptrdiff_t stride, const int8_t *matrix, const int size, const size_t nz)
 
void ff_vvc_inv_lfnst_1d (int *v, const int *u, int no_zero_size, int n_tr_s, int pred_mode_intra, int lfnst_idx, int log2_transform_range)
 

Macro Definition Documentation

◆ G2

#define G2 (   m)    ((nz > 2) ? (m) : 0)

Definition at line 64 of file vvc_itx_1d.c.

◆ G4

#define G4 (   m)    ((nz > 4) ? (m) : 0)

Definition at line 65 of file vvc_itx_1d.c.

◆ G8

#define G8 (   m)    ((nz > 8) ? (m) : 0)

Definition at line 66 of file vvc_itx_1d.c.

◆ G16

#define G16 (   m)    ((nz > 16) ? (m) : 0)

Definition at line 67 of file vvc_itx_1d.c.

◆ DEFINE_INV_DCT8_1D

#define DEFINE_INV_DCT8_1D (   S)
Value:
void ff_vvc_inv_dct8_ ## S(int *coeffs, const ptrdiff_t stride, const size_t nz) \
{ \
inv_dct8(coeffs, stride, &ff_vvc_dct8_##S##x##S[0][0], S, nz); \
}

Definition at line 668 of file vvc_itx_1d.c.

◆ DEFINE_INV_DST7_1D

#define DEFINE_INV_DST7_1D (   S)
Value:
void ff_vvc_inv_dst7_ ## S(int *coeffs, const ptrdiff_t stride, const size_t nz) \
{ \
inv_dst7(coeffs, stride, &ff_vvc_dst7_##S##x##S[0][0], S, nz); \
}

Definition at line 684 of file vvc_itx_1d.c.

Function Documentation

◆ ff_vvc_inv_dct2_2()

void ff_vvc_inv_dct2_2 ( int coeffs,
const ptrdiff_t  stride,
const size_t  nz 
)

Definition at line 75 of file vvc_itx_1d.c.

◆ ff_vvc_inv_dct2_4()

void ff_vvc_inv_dct2_4 ( int coeffs,
const ptrdiff_t  stride,
const size_t  nz 
)

Definition at line 92 of file vvc_itx_1d.c.

◆ ff_vvc_inv_dct2_8()

void ff_vvc_inv_dct2_8 ( int coeffs,
const ptrdiff_t  stride,
const size_t  nz 
)

Definition at line 124 of file vvc_itx_1d.c.

◆ ff_vvc_inv_dct2_16()

void ff_vvc_inv_dct2_16 ( int coeffs,
const ptrdiff_t  stride,
const size_t  nz 
)

Definition at line 180 of file vvc_itx_1d.c.

◆ ff_vvc_inv_dct2_32()

void ff_vvc_inv_dct2_32 ( int coeffs,
const ptrdiff_t  stride,
const size_t  nz 
)

Definition at line 279 of file vvc_itx_1d.c.

◆ ff_vvc_inv_dct2_64()

void ff_vvc_inv_dct2_64 ( int coeffs,
const ptrdiff_t  stride,
const size_t  nz 
)

Definition at line 459 of file vvc_itx_1d.c.

◆ matrix_mul()

static void matrix_mul ( int coeffs,
const ptrdiff_t  stride,
const int8_t *  matrix,
const int  size,
const size_t  nz 
)
static

Definition at line 644 of file vvc_itx_1d.c.

Referenced by inv_dct8(), and inv_dst7().

◆ inv_dct8()

static void inv_dct8 ( int coeffs,
const ptrdiff_t  stride,
const int8_t *  matrix,
const int  size,
const size_t  nz 
)
static

Definition at line 663 of file vvc_itx_1d.c.

◆ inv_dst7()

static void inv_dst7 ( int coeffs,
const ptrdiff_t  stride,
const int8_t *  matrix,
const int  size,
const size_t  nz 
)
static

Definition at line 679 of file vvc_itx_1d.c.

◆ ff_vvc_inv_lfnst_1d()

void ff_vvc_inv_lfnst_1d ( int v,
const int u,
int  no_zero_size,
int  n_tr_s,
int  pred_mode_intra,
int  lfnst_idx,
int  log2_transform_range 
)

Definition at line 695 of file vvc_itx_1d.c.

Referenced by ilfnst_transform().

S
#define S(s, c, i)
Definition: flacdsp_template.c:46
stride
#define stride
Definition: h264pred_template.c:537