FFmpeg
Macros | Functions
vvcdsp_init.c File Reference
#include "config.h"
#include "libavutil/cpu.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/vvc/dec.h"
#include "libavcodec/vvc/ctu.h"
#include "libavcodec/vvc/dsp.h"
#include "libavcodec/x86/h26x/h2656dsp.h"

Go to the source code of this file.

Macros

#define PUT_PROTOTYPE(name, depth, opt)   void ff_vvc_put_ ## name ## _ ## depth ## _##opt(int16_t *dst, const uint8_t *src, ptrdiff_t srcstride, int height, const int8_t *hf, const int8_t *vf, int width);
 
#define PUT_PROTOTYPES(name, bitd, opt)
 
#define PUT_BPC_PROTOTYPES(name, opt)
 
#define PUT_TAP_PROTOTYPES(n, opt)
 
#define bf(fn, bd, opt)   fn##_##bd##_##opt
 
#define BF(fn, bpc, opt)   fn##_##bpc##bpc_##opt
 
#define AVG_BPC_PROTOTYPES(bpc, opt)
 
#define AVG_PROTOTYPES(bd, opt)
 

Functions

void ff_vvc_dsp_init_x86 (VVCDSPContext *const c, const int bd)
 

Macro Definition Documentation

◆ PUT_PROTOTYPE

#define PUT_PROTOTYPE (   name,
  depth,
  opt 
)    void ff_vvc_put_ ## name ## _ ## depth ## _##opt(int16_t *dst, const uint8_t *src, ptrdiff_t srcstride, int height, const int8_t *hf, const int8_t *vf, int width);

Definition at line 33 of file vvcdsp_init.c.

◆ PUT_PROTOTYPES

#define PUT_PROTOTYPES (   name,
  bitd,
  opt 
)
Value:
PUT_PROTOTYPE(name##2, bitd, opt) \
PUT_PROTOTYPE(name##4, bitd, opt) \
PUT_PROTOTYPE(name##8, bitd, opt) \
PUT_PROTOTYPE(name##12, bitd, opt) \
PUT_PROTOTYPE(name##16, bitd, opt) \
PUT_PROTOTYPE(name##24, bitd, opt) \
PUT_PROTOTYPE(name##32, bitd, opt) \
PUT_PROTOTYPE(name##48, bitd, opt) \
PUT_PROTOTYPE(name##64, bitd, opt) \
PUT_PROTOTYPE(name##128, bitd, opt)

Definition at line 36 of file vvcdsp_init.c.

◆ PUT_BPC_PROTOTYPES

#define PUT_BPC_PROTOTYPES (   name,
  opt 
)
Value:
PUT_PROTOTYPES(name, 8, opt) \
PUT_PROTOTYPES(name, 10, opt) \
PUT_PROTOTYPES(name, 12, opt)

Definition at line 48 of file vvcdsp_init.c.

◆ PUT_TAP_PROTOTYPES

#define PUT_TAP_PROTOTYPES (   n,
  opt 
)
Value:
PUT_BPC_PROTOTYPES(n##tap_h, opt) \
PUT_BPC_PROTOTYPES(n##tap_v, opt) \
PUT_BPC_PROTOTYPES(n##tap_hv, opt)

Definition at line 53 of file vvcdsp_init.c.

◆ bf

#define bf (   fn,
  bd,
  opt 
)    fn##_##bd##_##opt

Definition at line 66 of file vvcdsp_init.c.

◆ BF

#define BF (   fn,
  bpc,
  opt 
)    fn##_##bpc##bpc_##opt

Definition at line 67 of file vvcdsp_init.c.

◆ AVG_BPC_PROTOTYPES

#define AVG_BPC_PROTOTYPES (   bpc,
  opt 
)
Value:
void BF(ff_vvc_avg, bpc, opt)(uint8_t *dst, ptrdiff_t dst_stride, \
const int16_t *src0, const int16_t *src1, intptr_t width, intptr_t height, intptr_t pixel_max); \
void BF(ff_vvc_w_avg, bpc, opt)(uint8_t *dst, ptrdiff_t dst_stride, \
const int16_t *src0, const int16_t *src1, intptr_t width, intptr_t height, \
intptr_t denom, intptr_t w0, intptr_t w1, intptr_t o0, intptr_t o1, intptr_t pixel_max);

Definition at line 69 of file vvcdsp_init.c.

◆ AVG_PROTOTYPES

#define AVG_PROTOTYPES (   bd,
  opt 
)
Value:
void bf(ff_vvc_avg, bd, opt)(uint8_t *dst, ptrdiff_t dst_stride, \
const int16_t *src0, const int16_t *src1, int width, int height); \
void bf(ff_vvc_w_avg, bd, opt)(uint8_t *dst, ptrdiff_t dst_stride, \
const int16_t *src0, const int16_t *src1, int width, int height, \
int denom, int w0, int w1, int o0, int o1);

Definition at line 76 of file vvcdsp_init.c.

Function Documentation

◆ ff_vvc_dsp_init_x86()

void ff_vvc_dsp_init_x86 ( VVCDSPContext *const  c,
const int  bd 
)

Definition at line 257 of file vvcdsp_init.c.

Referenced by ff_vvc_dsp_init().

name
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 default minimum maximum flags name is the option name
Definition: writing_filters.txt:88
src1
const pixel * src1
Definition: h264pred_template.c:421
PUT_PROTOTYPE
#define PUT_PROTOTYPE(name, depth, opt)
Definition: vvcdsp_init.c:33
width
#define width
bf
#define bf(fn, bd, opt)
Definition: vvcdsp_init.c:66
PUT_BPC_PROTOTYPES
#define PUT_BPC_PROTOTYPES(name, opt)
Definition: vvcdsp_init.c:48
height
#define height
BF
#define BF(fn, bpc, opt)
Definition: vvcdsp_init.c:67
PUT_PROTOTYPES
#define PUT_PROTOTYPES(name, bitd, opt)
Definition: vvcdsp_init.c:36
src0
const pixel *const src0
Definition: h264pred_template.c:420