FFmpeg
Macros | Functions
vp9dsp.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define VP9_8TAP_RISCV_RVV_FUNC(SIZE, type, type_idx)
 
#define VP9_BILINEAR_RISCV_RVV_FUNC(SIZE)
 
#define VP9_COPY_AVG_RISCV_RVV_FUNC(SIZE)
 
#define VP9_COPY_RISCV_RVI_FUNC(SIZE)
 

Functions

void ff_dc_32x32_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_16x16_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_8x8_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_top_32x32_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_top_16x16_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_top_8x8_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_left_32x32_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_left_16x16_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_left_8x8_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_127_32x32_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_127_16x16_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_127_8x8_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_128_32x32_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_128_16x16_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_128_8x8_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_129_32x32_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_129_16x16_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_dc_129_8x8_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_h_32x32_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_h_16x16_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_h_8x8_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_tm_32x32_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_tm_16x16_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_tm_8x8_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
void ff_tm_4x4_rvv (uint8_t *dst, ptrdiff_t stride, const uint8_t *l, const uint8_t *a)
 
 VP9_8TAP_RISCV_RVV_FUNC (64, regular, FILTER_8TAP_REGULAR)
 
 VP9_8TAP_RISCV_RVV_FUNC (32, regular, FILTER_8TAP_REGULAR)
 
 VP9_8TAP_RISCV_RVV_FUNC (16, regular, FILTER_8TAP_REGULAR)
 
 VP9_8TAP_RISCV_RVV_FUNC (8, regular, FILTER_8TAP_REGULAR)
 
 VP9_8TAP_RISCV_RVV_FUNC (4, regular, FILTER_8TAP_REGULAR)
 
 VP9_8TAP_RISCV_RVV_FUNC (64, sharp, FILTER_8TAP_SHARP)
 
 VP9_8TAP_RISCV_RVV_FUNC (32, sharp, FILTER_8TAP_SHARP)
 
 VP9_8TAP_RISCV_RVV_FUNC (16, sharp, FILTER_8TAP_SHARP)
 
 VP9_8TAP_RISCV_RVV_FUNC (8, sharp, FILTER_8TAP_SHARP)
 
 VP9_8TAP_RISCV_RVV_FUNC (4, sharp, FILTER_8TAP_SHARP)
 
 VP9_8TAP_RISCV_RVV_FUNC (64, smooth, FILTER_8TAP_SMOOTH)
 
 VP9_8TAP_RISCV_RVV_FUNC (32, smooth, FILTER_8TAP_SMOOTH)
 
 VP9_8TAP_RISCV_RVV_FUNC (16, smooth, FILTER_8TAP_SMOOTH)
 
 VP9_8TAP_RISCV_RVV_FUNC (8, smooth, FILTER_8TAP_SMOOTH)
 
 VP9_8TAP_RISCV_RVV_FUNC (4, smooth, FILTER_8TAP_SMOOTH)
 
 VP9_BILINEAR_RISCV_RVV_FUNC (64)
 
 VP9_BILINEAR_RISCV_RVV_FUNC (32)
 
 VP9_BILINEAR_RISCV_RVV_FUNC (16)
 
 VP9_BILINEAR_RISCV_RVV_FUNC (8)
 
 VP9_BILINEAR_RISCV_RVV_FUNC (4)
 
 VP9_COPY_AVG_RISCV_RVV_FUNC (64)
 
 VP9_COPY_AVG_RISCV_RVV_FUNC (32)
 
 VP9_COPY_AVG_RISCV_RVV_FUNC (16)
 
 VP9_COPY_AVG_RISCV_RVV_FUNC (8)
 
 VP9_COPY_AVG_RISCV_RVV_FUNC (4)
 
 VP9_COPY_RISCV_RVI_FUNC (64)
 
 VP9_COPY_RISCV_RVI_FUNC (32)
 
 VP9_COPY_RISCV_RVI_FUNC (16)
 
 VP9_COPY_RISCV_RVI_FUNC (8)
 
 VP9_COPY_RISCV_RVI_FUNC (4)
 

Macro Definition Documentation

◆ VP9_8TAP_RISCV_RVV_FUNC

#define VP9_8TAP_RISCV_RVV_FUNC (   SIZE,
  type,
  type_idx 
)
Value:
void ff_put_8tap_##type##_##SIZE##h_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, \
ptrdiff_t srcstride, \
int h, int mx, int my); \
\
void ff_put_8tap_##type##_##SIZE##v_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, \
ptrdiff_t srcstride, \
int h, int mx, int my); \
\
void ff_put_8tap_##type##_##SIZE##hv_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, \
ptrdiff_t srcstride, \
int h, int mx, int my); \
\
void ff_avg_8tap_##type##_##SIZE##h_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, \
ptrdiff_t srcstride, \
int h, int mx, int my); \
\
void ff_avg_8tap_##type##_##SIZE##v_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, \
ptrdiff_t srcstride, \
int h, int mx, int my); \
\
void ff_avg_8tap_##type##_##SIZE##hv_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, \
ptrdiff_t srcstride, \
int h, int mx, int my);

Definition at line 78 of file vp9dsp.h.

◆ VP9_BILINEAR_RISCV_RVV_FUNC

#define VP9_BILINEAR_RISCV_RVV_FUNC (   SIZE)
Value:
void ff_put_vp9_bilin_##SIZE##h_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, ptrdiff_t srcstride, \
int h, int mx, int my); \
\
void ff_put_vp9_bilin_##SIZE##v_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, ptrdiff_t srcstride, \
int h, int mx, int my); \
\
void ff_put_vp9_bilin_##SIZE##hv_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, ptrdiff_t srcstride, \
int h, int mx, int my); \
\
void ff_avg_vp9_bilin_##SIZE##h_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, ptrdiff_t srcstride, \
int h, int mx, int my); \
\
void ff_avg_vp9_bilin_##SIZE##v_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, ptrdiff_t srcstride, \
int h, int mx, int my); \
\
void ff_avg_vp9_bilin_##SIZE##hv_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, ptrdiff_t srcstride, \
int h, int mx, int my);

Definition at line 109 of file vp9dsp.h.

◆ VP9_COPY_AVG_RISCV_RVV_FUNC

#define VP9_COPY_AVG_RISCV_RVV_FUNC (   SIZE)
Value:
void ff_vp9_copy##SIZE##_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, ptrdiff_t srcstride, \
int h, int mx, int my); \
\
void ff_vp9_avg##SIZE##_rvv(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, ptrdiff_t srcstride, \
int h, int mx, int my);

Definition at line 134 of file vp9dsp.h.

◆ VP9_COPY_RISCV_RVI_FUNC

#define VP9_COPY_RISCV_RVI_FUNC (   SIZE)
Value:
void ff_copy##SIZE##_rvi(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, ptrdiff_t srcstride, \
int h, int mx, int my);

Definition at line 173 of file vp9dsp.h.

Function Documentation

◆ ff_dc_32x32_rvv()

void ff_dc_32x32_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_16x16_rvv()

void ff_dc_16x16_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_8x8_rvv()

void ff_dc_8x8_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_top_32x32_rvv()

void ff_dc_top_32x32_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_top_16x16_rvv()

void ff_dc_top_16x16_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_top_8x8_rvv()

void ff_dc_top_8x8_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_left_32x32_rvv()

void ff_dc_left_32x32_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_left_16x16_rvv()

void ff_dc_left_16x16_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_left_8x8_rvv()

void ff_dc_left_8x8_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_127_32x32_rvv()

void ff_dc_127_32x32_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_127_16x16_rvv()

void ff_dc_127_16x16_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_127_8x8_rvv()

void ff_dc_127_8x8_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_128_32x32_rvv()

void ff_dc_128_32x32_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_128_16x16_rvv()

void ff_dc_128_16x16_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_128_8x8_rvv()

void ff_dc_128_8x8_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_129_32x32_rvv()

void ff_dc_129_32x32_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_129_16x16_rvv()

void ff_dc_129_16x16_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_dc_129_8x8_rvv()

void ff_dc_129_8x8_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_h_32x32_rvv()

void ff_h_32x32_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_h_16x16_rvv()

void ff_h_16x16_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_h_8x8_rvv()

void ff_h_8x8_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_tm_32x32_rvv()

void ff_tm_32x32_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_tm_16x16_rvv()

void ff_tm_16x16_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_tm_8x8_rvv()

void ff_tm_8x8_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ ff_tm_4x4_rvv()

void ff_tm_4x4_rvv ( uint8_t *  dst,
ptrdiff_t  stride,
const uint8_t *  l,
const uint8_t *  a 
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [1/15]

VP9_8TAP_RISCV_RVV_FUNC ( 64  ,
regular  ,
FILTER_8TAP_REGULAR   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [2/15]

VP9_8TAP_RISCV_RVV_FUNC ( 32  ,
regular  ,
FILTER_8TAP_REGULAR   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [3/15]

VP9_8TAP_RISCV_RVV_FUNC ( 16  ,
regular  ,
FILTER_8TAP_REGULAR   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [4/15]

VP9_8TAP_RISCV_RVV_FUNC ( ,
regular  ,
FILTER_8TAP_REGULAR   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [5/15]

VP9_8TAP_RISCV_RVV_FUNC ( ,
regular  ,
FILTER_8TAP_REGULAR   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [6/15]

VP9_8TAP_RISCV_RVV_FUNC ( 64  ,
sharp  ,
FILTER_8TAP_SHARP   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [7/15]

VP9_8TAP_RISCV_RVV_FUNC ( 32  ,
sharp  ,
FILTER_8TAP_SHARP   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [8/15]

VP9_8TAP_RISCV_RVV_FUNC ( 16  ,
sharp  ,
FILTER_8TAP_SHARP   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [9/15]

VP9_8TAP_RISCV_RVV_FUNC ( ,
sharp  ,
FILTER_8TAP_SHARP   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [10/15]

VP9_8TAP_RISCV_RVV_FUNC ( ,
sharp  ,
FILTER_8TAP_SHARP   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [11/15]

VP9_8TAP_RISCV_RVV_FUNC ( 64  ,
smooth  ,
FILTER_8TAP_SMOOTH   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [12/15]

VP9_8TAP_RISCV_RVV_FUNC ( 32  ,
smooth  ,
FILTER_8TAP_SMOOTH   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [13/15]

VP9_8TAP_RISCV_RVV_FUNC ( 16  ,
smooth  ,
FILTER_8TAP_SMOOTH   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [14/15]

VP9_8TAP_RISCV_RVV_FUNC ( ,
smooth  ,
FILTER_8TAP_SMOOTH   
)

◆ VP9_8TAP_RISCV_RVV_FUNC() [15/15]

VP9_8TAP_RISCV_RVV_FUNC ( ,
smooth  ,
FILTER_8TAP_SMOOTH   
)

◆ VP9_BILINEAR_RISCV_RVV_FUNC() [1/5]

VP9_BILINEAR_RISCV_RVV_FUNC ( 64  )

◆ VP9_BILINEAR_RISCV_RVV_FUNC() [2/5]

VP9_BILINEAR_RISCV_RVV_FUNC ( 32  )

◆ VP9_BILINEAR_RISCV_RVV_FUNC() [3/5]

VP9_BILINEAR_RISCV_RVV_FUNC ( 16  )

◆ VP9_BILINEAR_RISCV_RVV_FUNC() [4/5]

VP9_BILINEAR_RISCV_RVV_FUNC ( )

◆ VP9_BILINEAR_RISCV_RVV_FUNC() [5/5]

VP9_BILINEAR_RISCV_RVV_FUNC ( )

◆ VP9_COPY_AVG_RISCV_RVV_FUNC() [1/5]

VP9_COPY_AVG_RISCV_RVV_FUNC ( 64  )

◆ VP9_COPY_AVG_RISCV_RVV_FUNC() [2/5]

VP9_COPY_AVG_RISCV_RVV_FUNC ( 32  )

◆ VP9_COPY_AVG_RISCV_RVV_FUNC() [3/5]

VP9_COPY_AVG_RISCV_RVV_FUNC ( 16  )

◆ VP9_COPY_AVG_RISCV_RVV_FUNC() [4/5]

VP9_COPY_AVG_RISCV_RVV_FUNC ( )

◆ VP9_COPY_AVG_RISCV_RVV_FUNC() [5/5]

VP9_COPY_AVG_RISCV_RVV_FUNC ( )

◆ VP9_COPY_RISCV_RVI_FUNC() [1/5]

VP9_COPY_RISCV_RVI_FUNC ( 64  )

◆ VP9_COPY_RISCV_RVI_FUNC() [2/5]

VP9_COPY_RISCV_RVI_FUNC ( 32  )

◆ VP9_COPY_RISCV_RVI_FUNC() [3/5]

VP9_COPY_RISCV_RVI_FUNC ( 16  )

◆ VP9_COPY_RISCV_RVI_FUNC() [4/5]

VP9_COPY_RISCV_RVI_FUNC ( )

◆ VP9_COPY_RISCV_RVI_FUNC() [5/5]

VP9_COPY_RISCV_RVI_FUNC ( )
mx
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t mx
Definition: dsp.h:53
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
my
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t my
Definition: dsp.h:53
srcstride
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t const uint8_t ptrdiff_t srcstride
Definition: dsp.h:84
dst
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
Definition: dsp.h:83
SIZE
#define SIZE
Definition: bitstream_template.c:36
_
#define _
h
h
Definition: vp9dsp_template.c:2070
src
#define src
Definition: vp8dsp.c:248