FFmpeg
Macros | Functions
vvcdsp_template.c File Reference
#include "libavutil/frame.h"
#include "libavcodec/bit_depth_template.c"
#include "vvcdec.h"
#include "vvc_data.h"
#include "vvc_inter_template.c"
#include "vvc_intra_template.c"
#include "vvc_filter_template.c"

Go to the source code of this file.

Macros

#define VVC_ITX(TYPE, type, s)   itx->itx[TYPE][TX_SIZE_##s] = ff_vvc_inv_##type##_##s; \
 
#define VVC_ITX_COMMON(TYPE, type)
 

Functions

static void FUNC() add_residual (uint8_t *_dst, const int *res, const int w, const int h, const ptrdiff_t _stride)
 
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() pred_residual_joint (int *buf, const int w, const int h, const int c_sign, const int shift)
 
static void FUNC() transform_bdpcm (int *coeffs, const int width, const int height, const int vertical, const int log2_transform_range)
 
static void FUNC() ff_vvc_itx_dsp_init (VVCItxDSPContext *const itx)
 

Macro Definition Documentation

◆ VVC_ITX

#define VVC_ITX (   TYPE,
  type,
  s 
)    itx->itx[TYPE][TX_SIZE_##s] = ff_vvc_inv_##type##_##s; \

◆ VVC_ITX_COMMON

#define VVC_ITX_COMMON (   TYPE,
  type 
)
Value:
VVC_ITX(TYPE, type, 4); \
VVC_ITX(TYPE, type, 8); \
VVC_ITX(TYPE, type, 16); \
VVC_ITX(TYPE, type, 32);

Function Documentation

◆ add_residual()

static void FUNC() add_residual ( uint8_t *  _dst,
const int res,
const int  w,
const int  h,
const ptrdiff_t  _stride 
)
static

Definition at line 32 of file vvcdsp_template.c.

Referenced by ff_vvc_itx_dsp_init().

◆ add_residual_joint()

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

Definition at line 48 of file vvcdsp_template.c.

Referenced by ff_vvc_itx_dsp_init().

◆ pred_residual_joint()

static void FUNC() pred_residual_joint ( int buf,
const int  w,
const int  h,
const int  c_sign,
const int  shift 
)
static

Definition at line 65 of file vvcdsp_template.c.

Referenced by ff_vvc_itx_dsp_init().

◆ transform_bdpcm()

static void FUNC() transform_bdpcm ( int coeffs,
const int  width,
const int  height,
const int  vertical,
const int  log2_transform_range 
)
static

Definition at line 76 of file vvcdsp_template.c.

Referenced by ff_vvc_itx_dsp_init().

◆ ff_vvc_itx_dsp_init()

static void FUNC() ff_vvc_itx_dsp_init ( VVCItxDSPContext *const  itx)
static

Definition at line 97 of file vvcdsp_template.c.

VVC_ITX
#define VVC_ITX(TYPE, type, s)
type
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
Definition: writing_filters.txt:86
TYPE
#define TYPE
Definition: ffv1dec.c:116