FFmpeg
Loading...
Searching...
No Matches
dsp_template.c File Reference
#include "libavutil/frame.h"
#include "libavcodec/bit_depth_template.c"
#include "dec.h"
#include "data.h"
#include "inter_template.c"
#include "intra_template.c"
#include "filter_template.c"

Go to the source code of this file.

Macros

#define VVC_ITX(TYPE, 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 pred_residual_joint (int *dst, const int *src, 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 adaptive_color_transform (int *y, int *u, int *v, const int width, const int height)
 
static void FUNC ff_vvc_itx_dsp_init (VVCItxDSPContext *const itx)
 

Macro Definition Documentation

◆ VVC_ITX

#define VVC_ITX ( TYPE,
type,
s )
Value:
itx->itx[VVC_##TYPE][VVC_##TX_SIZE_##s] = ff_vvc_inv_##type##_##s; \
#define _
#define s(width, name)
Definition cbs_vp9.c:198
#define TYPE
Definition ffv1dec.c:90
cl_device_type type

Referenced by ff_vvc_itx_dsp_init().

◆ 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);
#define VVC_ITX(TYPE, type, s)

Referenced by ff_vvc_itx_dsp_init().

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 dsp_template.c.

◆ pred_residual_joint()

static void FUNC pred_residual_joint ( int * dst,
const int * src,
const int w,
const int h,
const int c_sign,
const int shift )
static

Definition at line 48 of file dsp_template.c.

Referenced by ff_vvc_itx_dsp_init(), and pred_residual_joint().

◆ 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 56 of file dsp_template.c.

Referenced by ff_vvc_itx_dsp_init(), and transform_bdpcm().

◆ adaptive_color_transform()

static void FUNC adaptive_color_transform ( int * y,
int * u,
int * v,
const int width,
const int height )
static

Definition at line 78 of file dsp_template.c.

Referenced by adaptive_color_transform(), and 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 95 of file dsp_template.c.

Referenced by ff_vvc_itx_dsp_init().