FFmpeg
Functions
me_cmp_init.c File Reference
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/riscv/cpu.h"
#include "libavcodec/me_cmp.h"
#include "libavcodec/mpegvideo.h"

Go to the source code of this file.

Functions

int ff_pix_abs16_rvv (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_pix_abs8_rvv (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_pix_abs16_x2_rvv (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_pix_abs8_x2_rvv (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_pix_abs16_y2_rvv (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_pix_abs8_y2_rvv (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sse16_rvv (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sse8_rvv (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sse4_rvv (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_vsse16_rvv (MpegEncContext *c, const uint8_t *s1, const uint8_t *s2, ptrdiff_t stride, int h)
 
int ff_vsse8_rvv (MpegEncContext *c, const uint8_t *s1, const uint8_t *s2, ptrdiff_t stride, int h)
 
int ff_vsse_intra16_rvv (MpegEncContext *c, const uint8_t *s, const uint8_t *dummy, ptrdiff_t stride, int h)
 
int ff_vsse_intra8_rvv (MpegEncContext *c, const uint8_t *s, const uint8_t *dummy, ptrdiff_t stride, int h)
 
int ff_vsad16_rvv (MpegEncContext *c, const uint8_t *s1, const uint8_t *s2, ptrdiff_t stride, int h)
 
int ff_vsad8_rvv (MpegEncContext *c, const uint8_t *s1, const uint8_t *s2, ptrdiff_t stride, int h)
 
int ff_vsad_intra16_rvv (MpegEncContext *c, const uint8_t *s, const uint8_t *dummy, ptrdiff_t stride, int h)
 
int ff_vsad_intra8_rvv (MpegEncContext *c, const uint8_t *s, const uint8_t *dummy, ptrdiff_t stride, int h)
 
int ff_nsse16_rvv (int multiplier, const uint8_t *s1, const uint8_t *s2, ptrdiff_t stride, int h)
 
int ff_nsse8_rvv (int multiplier, const uint8_t *s1, const uint8_t *s2, ptrdiff_t stride, int h)
 
static int nsse16_rvv_wrapper (MpegEncContext *c, const uint8_t *s1, const uint8_t *s2, ptrdiff_t stride, int h)
 
static int nsse8_rvv_wrapper (MpegEncContext *c, const uint8_t *s1, const uint8_t *s2, ptrdiff_t stride, int h)
 
av_cold void ff_me_cmp_init_riscv (MECmpContext *c, AVCodecContext *avctx)
 

Function Documentation

◆ ff_pix_abs16_rvv()

int ff_pix_abs16_rvv ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_pix_abs8_rvv()

int ff_pix_abs8_rvv ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_pix_abs16_x2_rvv()

int ff_pix_abs16_x2_rvv ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_pix_abs8_x2_rvv()

int ff_pix_abs8_x2_rvv ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_pix_abs16_y2_rvv()

int ff_pix_abs16_y2_rvv ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_pix_abs8_y2_rvv()

int ff_pix_abs8_y2_rvv ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_sse16_rvv()

int ff_sse16_rvv ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_sse8_rvv()

int ff_sse8_rvv ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_sse4_rvv()

int ff_sse4_rvv ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_vsse16_rvv()

int ff_vsse16_rvv ( MpegEncContext c,
const uint8_t *  s1,
const uint8_t *  s2,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_vsse8_rvv()

int ff_vsse8_rvv ( MpegEncContext c,
const uint8_t *  s1,
const uint8_t *  s2,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_vsse_intra16_rvv()

int ff_vsse_intra16_rvv ( MpegEncContext c,
const uint8_t *  s,
const uint8_t *  dummy,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_vsse_intra8_rvv()

int ff_vsse_intra8_rvv ( MpegEncContext c,
const uint8_t *  s,
const uint8_t *  dummy,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_vsad16_rvv()

int ff_vsad16_rvv ( MpegEncContext c,
const uint8_t *  s1,
const uint8_t *  s2,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_vsad8_rvv()

int ff_vsad8_rvv ( MpegEncContext c,
const uint8_t *  s1,
const uint8_t *  s2,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_vsad_intra16_rvv()

int ff_vsad_intra16_rvv ( MpegEncContext c,
const uint8_t *  s,
const uint8_t *  dummy,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_vsad_intra8_rvv()

int ff_vsad_intra8_rvv ( MpegEncContext c,
const uint8_t *  s,
const uint8_t *  dummy,
ptrdiff_t  stride,
int  h 
)

Referenced by ff_me_cmp_init_riscv().

◆ ff_nsse16_rvv()

int ff_nsse16_rvv ( int  multiplier,
const uint8_t *  s1,
const uint8_t *  s2,
ptrdiff_t  stride,
int  h 
)

Referenced by nsse16_rvv_wrapper().

◆ ff_nsse8_rvv()

int ff_nsse8_rvv ( int  multiplier,
const uint8_t *  s1,
const uint8_t *  s2,
ptrdiff_t  stride,
int  h 
)

Referenced by nsse8_rvv_wrapper().

◆ nsse16_rvv_wrapper()

static int nsse16_rvv_wrapper ( MpegEncContext c,
const uint8_t *  s1,
const uint8_t *  s2,
ptrdiff_t  stride,
int  h 
)
static

Definition at line 62 of file me_cmp_init.c.

Referenced by ff_me_cmp_init_riscv().

◆ nsse8_rvv_wrapper()

static int nsse8_rvv_wrapper ( MpegEncContext c,
const uint8_t *  s1,
const uint8_t *  s2,
ptrdiff_t  stride,
int  h 
)
static

Definition at line 71 of file me_cmp_init.c.

Referenced by ff_me_cmp_init_riscv().

◆ ff_me_cmp_init_riscv()

av_cold void ff_me_cmp_init_riscv ( MECmpContext c,
AVCodecContext avctx 
)

Definition at line 80 of file me_cmp_init.c.

Referenced by ff_me_cmp_init().