FFmpeg
Loading...
Searching...
No Matches
itx_1d.c File Reference
#include "data.h"
#include "itx_1d.h"
#include "libavutil/avutil.h"

Go to the source code of this file.

Macros

#define G2(m)
 
#define G4(m)
 
#define G8(m)
 
#define G16(m)
 
#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)
Value:
((nz > 2) ? (m) : 0)

Definition at line 64 of file itx_1d.c.

Referenced by ff_vvc_inv_dct2_16(), ff_vvc_inv_dct2_32(), ff_vvc_inv_dct2_4(), ff_vvc_inv_dct2_64(), ff_vvc_inv_dct2_8(), and process_bayer().

◆ G4

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

Definition at line 65 of file itx_1d.c.

Referenced by ff_vvc_inv_dct2_16(), ff_vvc_inv_dct2_32(), ff_vvc_inv_dct2_64(), and ff_vvc_inv_dct2_8().

◆ G8

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

Definition at line 66 of file itx_1d.c.

Referenced by ff_vvc_inv_dct2_16(), ff_vvc_inv_dct2_32(), and ff_vvc_inv_dct2_64().

◆ G16

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

Definition at line 67 of file itx_1d.c.

Referenced by ff_vvc_inv_dct2_32(), and ff_vvc_inv_dct2_64().

◆ 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); \
}
#define S(s, c, i)
#define stride

Definition at line 668 of file 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 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 itx_1d.c.

Referenced by vvc_itx_1d_fn().

◆ 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 itx_1d.c.

Referenced by vvc_itx_1d_fn().

◆ 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 itx_1d.c.

Referenced by vvc_itx_1d_fn().

◆ 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 itx_1d.c.

Referenced by vvc_itx_1d_fn().

◆ 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 itx_1d.c.

Referenced by vvc_itx_1d_fn().

◆ 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 itx_1d.c.

Referenced by vvc_itx_1d_fn().

◆ 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 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 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 itx_1d.c.

Referenced by inv_dst7().

◆ 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 itx_1d.c.

Referenced by ff_vvc_inv_lfnst_1d(), and ilfnst_transform().