FFmpeg
|
#include "libavcodec/vp8dsp.h"
#include "libavutil/loongarch/loongson_intrinsics.h"
#include "vp8dsp_loongarch.h"
Go to the source code of this file.
Macros | |
#define | DPADD_SH3_SH(in0, in1, in2, coeff0, coeff1, coeff2) |
#define | VSHF_B3_SB(in0, in1, in2, in3, in4, in5, mask0, mask1, mask2, out0, out1, out2) |
#define | HORIZ_6TAP_FILT(src0, src1, mask0, mask1, mask2, filt_h0, filt_h1, filt_h2) |
#define | HORIZ_6TAP_8WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, filt0, filt1, filt2, out0, out1, out2, out3) |
#define | FILT_4TAP_DPADD_S_H(vec0, vec1, filt0, filt1) |
#define | HORIZ_4TAP_FILT(src0, src1, mask0, mask1, filt_h0, filt_h1) |
Functions | |
void | ff_put_vp8_epel8_h6_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
void | ff_put_vp8_epel16_h6_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
void | ff_put_vp8_epel8_v6_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
void | ff_put_vp8_epel16_v6_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
void | ff_put_vp8_epel8_h6v6_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
void | ff_put_vp8_epel16_h6v6_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
void | ff_put_vp8_epel8_v4_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
void | ff_put_vp8_epel16_v4_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
void | ff_put_vp8_epel8_h6v4_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
void | ff_put_vp8_epel16_h6v4_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
void | ff_put_vp8_epel8_h4v6_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
void | ff_put_vp8_epel16_h4v6_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
void | ff_put_vp8_pixels8_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
void | ff_put_vp8_pixels16_lsx (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my) |
Variables | |
static const uint8_t | mc_filt_mask_arr [16 *3] |
static const int8_t | subpel_filters_lsx [7][8] |
#define DPADD_SH3_SH | ( | in0, | |
in1, | |||
in2, | |||
coeff0, | |||
coeff1, | |||
coeff2 | |||
) |
Definition at line 43 of file vp8_mc_lsx.c.
#define VSHF_B3_SB | ( | in0, | |
in1, | |||
in2, | |||
in3, | |||
in4, | |||
in5, | |||
mask0, | |||
mask1, | |||
mask2, | |||
out0, | |||
out1, | |||
out2 | |||
) |
Definition at line 54 of file vp8_mc_lsx.c.
Definition at line 62 of file vp8_mc_lsx.c.
#define HORIZ_6TAP_8WID_4VECS_FILT | ( | src0, | |
src1, | |||
src2, | |||
src3, | |||
mask0, | |||
mask1, | |||
mask2, | |||
filt0, | |||
filt1, | |||
filt2, | |||
out0, | |||
out1, | |||
out2, | |||
out3 | |||
) |
Definition at line 79 of file vp8_mc_lsx.c.
#define FILT_4TAP_DPADD_S_H | ( | vec0, | |
vec1, | |||
filt0, | |||
filt1 | |||
) |
Definition at line 100 of file vp8_mc_lsx.c.
Definition at line 110 of file vp8_mc_lsx.c.
void ff_put_vp8_epel8_h6_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 124 of file vp8_mc_lsx.c.
void ff_put_vp8_epel16_h6_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 189 of file vp8_mc_lsx.c.
void ff_put_vp8_epel8_v6_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 243 of file vp8_mc_lsx.c.
void ff_put_vp8_epel16_v6_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 310 of file vp8_mc_lsx.c.
void ff_put_vp8_epel8_h6v6_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 391 of file vp8_mc_lsx.c.
Referenced by ff_put_vp8_epel16_h6v6_lsx().
void ff_put_vp8_epel16_h6v6_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 493 of file vp8_mc_lsx.c.
void ff_put_vp8_epel8_v4_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 506 of file vp8_mc_lsx.c.
void ff_put_vp8_epel16_v4_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 563 of file vp8_mc_lsx.c.
void ff_put_vp8_epel8_h6v4_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 633 of file vp8_mc_lsx.c.
Referenced by ff_put_vp8_epel16_h6v4_lsx().
void ff_put_vp8_epel16_h6v4_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 716 of file vp8_mc_lsx.c.
void ff_put_vp8_epel8_h4v6_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 730 of file vp8_mc_lsx.c.
Referenced by ff_put_vp8_epel16_h4v6_lsx().
void ff_put_vp8_epel16_h4v6_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 820 of file vp8_mc_lsx.c.
void ff_put_vp8_pixels8_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 834 of file vp8_mc_lsx.c.
void ff_put_vp8_pixels16_lsx | ( | uint8_t * | dst, |
ptrdiff_t | dst_stride, | ||
const uint8_t * | src, | ||
ptrdiff_t | src_stride, | ||
int | height, | ||
int | mx, | ||
int | my | ||
) |
Definition at line 891 of file vp8_mc_lsx.c.
|
static |
Definition at line 24 of file vp8_mc_lsx.c.
Referenced by ff_put_vp8_epel16_h6_lsx(), ff_put_vp8_epel8_h4v6_lsx(), ff_put_vp8_epel8_h6_lsx(), ff_put_vp8_epel8_h6v4_lsx(), and ff_put_vp8_epel8_h6v6_lsx().
|
static |
Definition at line 33 of file vp8_mc_lsx.c.
Referenced by ff_put_vp8_epel16_h6_lsx(), ff_put_vp8_epel16_v4_lsx(), ff_put_vp8_epel16_v6_lsx(), ff_put_vp8_epel8_h4v6_lsx(), ff_put_vp8_epel8_h6_lsx(), ff_put_vp8_epel8_h6v4_lsx(), ff_put_vp8_epel8_h6v6_lsx(), ff_put_vp8_epel8_v4_lsx(), and ff_put_vp8_epel8_v6_lsx().