FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
vp9_mc_msa.c File Reference
#include "libavcodec/vp9dsp.h"
#include "libavutil/mips/generic_macros_msa.h"
#include "vp9dsp_mips.h"

Go to the source code of this file.

Macros

#define FILT_8TAP_DPADD_S_H(vec0, vec1, vec2, vec3,filt0, filt1, filt2, filt3)
 
#define HORIZ_8TAP_FILT(src0, src1, mask0, mask1, mask2, mask3,filt_h0, filt_h1, filt_h2, filt_h3)
 
#define HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3,mask0, mask1, mask2, mask3,filt0, filt1, filt2, filt3,out0, out1)
 
#define HORIZ_8TAP_8WID_4VECS_FILT(src0, src1, src2, src3,mask0, mask1, mask2, mask3,filt0, filt1, filt2, filt3,out0, out1, out2, out3)
 
#define PCKEV_XORI128_AVG_ST_UB(in0, in1, dst, pdst)
 
#define PCKEV_AVG_ST_UB(in0, in1, dst, pdst)
 
#define PCKEV_AVG_ST8x4_UB(in1, dst0, in2, dst1, in3, dst2, in4, dst3,pdst, stride)
 
#define VP9_8TAP_MIPS_MSA_FUNC(SIZE, type, type_idx)
 
#define VP9_COPY_AVG_MIPS_MSA_FUNC(SIZE)
 
#define VP9_AVG_MIPS_MSA_FUNC(SIZE)
 

Functions

static void common_hz_8t_4x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_hz_8t_4x8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_hz_8t_4x16_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_hz_8t_4w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_hz_8t_8x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_hz_8t_8x8mult_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_hz_8t_8w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_hz_8t_16w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_hz_8t_32w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_hz_8t_64w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_vt_8t_4w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_vt_8t_8w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_vt_8t_16w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_vt_8t_16w_mult_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t width)
 
static void common_vt_8t_32w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_vt_8t_64w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_hv_8ht_8vt_4w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert, int32_t height)
 
static void common_hv_8ht_8vt_8w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert, int32_t height)
 
static void common_hv_8ht_8vt_16w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert, int32_t height)
 
static void common_hv_8ht_8vt_32w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert, int32_t height)
 
static void common_hv_8ht_8vt_64w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert, int32_t height)
 
static void common_hz_8t_and_aver_dst_4x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_hz_8t_and_aver_dst_4x8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_hz_8t_and_aver_dst_4w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_hz_8t_and_aver_dst_8w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_hz_8t_and_aver_dst_16w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_hz_8t_and_aver_dst_32w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_hz_8t_and_aver_dst_64w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_vt_8t_and_aver_dst_4w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_vt_8t_and_aver_dst_8w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_vt_8t_and_aver_dst_16w_mult_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t width)
 
static void common_vt_8t_and_aver_dst_16w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_vt_8t_and_aver_dst_32w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_vt_8t_and_aver_dst_64w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
static void common_hv_8ht_8vt_and_aver_dst_4w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert, int32_t height)
 
static void common_hv_8ht_8vt_and_aver_dst_8w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert, int32_t height)
 
static void common_hv_8ht_8vt_and_aver_dst_16w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert, int32_t height)
 
static void common_hv_8ht_8vt_and_aver_dst_32w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert, int32_t height)
 
static void common_hv_8ht_8vt_and_aver_dst_64w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert, int32_t height)
 
static void common_hz_2t_4x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_hz_2t_4x8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
void ff_put_bilin_4h_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
static void common_hz_2t_8x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_hz_2t_8x8mult_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
void ff_put_bilin_8h_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_put_bilin_16h_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_put_bilin_32h_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_put_bilin_64h_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
static void common_vt_2t_4x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_vt_2t_4x8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
void ff_put_bilin_4v_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
static void common_vt_2t_8x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_vt_2t_8x8mult_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
void ff_put_bilin_8v_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_put_bilin_16v_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_put_bilin_32v_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_put_bilin_64v_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
static void common_hv_2ht_2vt_4x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert)
 
static void common_hv_2ht_2vt_4x8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert)
 
void ff_put_bilin_4hv_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
static void common_hv_2ht_2vt_8x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert)
 
static void common_hv_2ht_2vt_8x8mult_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert, int32_t height)
 
void ff_put_bilin_8hv_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_put_bilin_16hv_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_put_bilin_32hv_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_put_bilin_64hv_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
static void common_hz_2t_and_aver_dst_4x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_hz_2t_and_aver_dst_4x8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
void ff_avg_bilin_4h_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
static void common_hz_2t_and_aver_dst_8x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_hz_2t_and_aver_dst_8x8mult_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
void ff_avg_bilin_8h_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_avg_bilin_16h_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_avg_bilin_32h_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_avg_bilin_64h_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
static void common_vt_2t_and_aver_dst_4x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_vt_2t_and_aver_dst_4x8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
void ff_avg_bilin_4v_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
static void common_vt_2t_and_aver_dst_8x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter)
 
static void common_vt_2t_and_aver_dst_8x8mult_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height)
 
void ff_avg_bilin_8v_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_avg_bilin_16v_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_avg_bilin_32v_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_avg_bilin_64v_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
static void common_hv_2ht_2vt_and_aver_dst_4x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert)
 
static void common_hv_2ht_2vt_and_aver_dst_4x8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert)
 
void ff_avg_bilin_4hv_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
static void common_hv_2ht_2vt_and_aver_dst_8x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert)
 
static void common_hv_2ht_2vt_and_aver_dst_8x8mult_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_horiz, const int8_t *filter_vert, int32_t height)
 
void ff_avg_bilin_8hv_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_avg_bilin_16hv_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_avg_bilin_32hv_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
void ff_avg_bilin_64hv_msa (uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, ptrdiff_t src_stride, int height, int mx, int my)
 
static void copy_width8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void copy_16multx8mult_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, int32_t width)
 
static void copy_width16_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void copy_width32_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void copy_width64_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void avg_width4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void avg_width8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void avg_width16_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void avg_width32_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void avg_width64_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
 VP9_8TAP_MIPS_MSA_FUNC (64, regular, FILTER_8TAP_REGULAR)
 
 VP9_8TAP_MIPS_MSA_FUNC (32, regular, FILTER_8TAP_REGULAR)
 
 VP9_8TAP_MIPS_MSA_FUNC (16, regular, FILTER_8TAP_REGULAR)
 
 VP9_8TAP_MIPS_MSA_FUNC (8, regular, FILTER_8TAP_REGULAR)
 
 VP9_8TAP_MIPS_MSA_FUNC (4, regular, FILTER_8TAP_REGULAR)
 
 VP9_8TAP_MIPS_MSA_FUNC (64, sharp, FILTER_8TAP_SHARP)
 
 VP9_8TAP_MIPS_MSA_FUNC (32, sharp, FILTER_8TAP_SHARP)
 
 VP9_8TAP_MIPS_MSA_FUNC (16, sharp, FILTER_8TAP_SHARP)
 
 VP9_8TAP_MIPS_MSA_FUNC (8, sharp, FILTER_8TAP_SHARP)
 
 VP9_8TAP_MIPS_MSA_FUNC (4, sharp, FILTER_8TAP_SHARP)
 
 VP9_8TAP_MIPS_MSA_FUNC (64, smooth, FILTER_8TAP_SMOOTH)
 
 VP9_8TAP_MIPS_MSA_FUNC (32, smooth, FILTER_8TAP_SMOOTH)
 
 VP9_8TAP_MIPS_MSA_FUNC (16, smooth, FILTER_8TAP_SMOOTH)
 
 VP9_8TAP_MIPS_MSA_FUNC (8, smooth, FILTER_8TAP_SMOOTH)
 
 VP9_8TAP_MIPS_MSA_FUNC (4, smooth, FILTER_8TAP_SMOOTH)
 
 VP9_COPY_AVG_MIPS_MSA_FUNC (64)
 
 VP9_COPY_AVG_MIPS_MSA_FUNC (32)
 
 VP9_COPY_AVG_MIPS_MSA_FUNC (16)
 
 VP9_COPY_AVG_MIPS_MSA_FUNC (8)
 
 VP9_AVG_MIPS_MSA_FUNC (4)
 

Variables

static const uint8_t mc_filt_mask_arr [16 *3]
 
static const int8_t vp9_bilinear_filters_msa [15][2]
 
static const int8_t vp9_subpel_filters_msa [3][15][8]
 

Macro Definition Documentation

#define FILT_8TAP_DPADD_S_H (   vec0,
  vec1,
  vec2,
  vec3,
  filt0,
  filt1,
  filt2,
  filt3 
)
Value:
( { \
v8i16 tmp0, tmp1; \
\
tmp0 = __msa_dotp_s_h((v16i8) vec0, (v16i8) filt0); \
tmp0 = __msa_dpadd_s_h(tmp0, (v16i8) vec1, (v16i8) filt1); \
tmp1 = __msa_dotp_s_h((v16i8) vec2, (v16i8) filt2); \
tmp1 = __msa_dpadd_s_h(tmp1, (v16i8) vec3, (v16i8) filt3); \
tmp0 = __msa_adds_s_h(tmp0, tmp1); \
\
tmp0; \
} )

Definition at line 52 of file vp9_mc_msa.c.

Referenced by common_hv_8ht_8vt_4w_msa(), common_hv_8ht_8vt_8w_msa(), common_hv_8ht_8vt_and_aver_dst_4w_msa(), common_hv_8ht_8vt_and_aver_dst_8w_msa(), common_vt_8t_16w_msa(), common_vt_8t_16w_mult_msa(), common_vt_8t_4w_msa(), common_vt_8t_8w_msa(), common_vt_8t_and_aver_dst_16w_mult_msa(), common_vt_8t_and_aver_dst_4w_msa(), and common_vt_8t_and_aver_dst_8w_msa().

#define HORIZ_8TAP_FILT (   src0,
  src1,
  mask0,
  mask1,
  mask2,
  mask3,
  filt_h0,
  filt_h1,
  filt_h2,
  filt_h3 
)
Value:
( { \
v16i8 vec0_m, vec1_m, vec2_m, vec3_m; \
v8i16 hz_out_m; \
VSHF_B4_SB(src0, src1, mask0, mask1, mask2, mask3, \
vec0_m, vec1_m, vec2_m, vec3_m); \
hz_out_m = FILT_8TAP_DPADD_S_H(vec0_m, vec1_m, vec2_m, vec3_m, \
filt_h0, filt_h1, filt_h2, filt_h3); \
\
hz_out_m = __msa_srari_h(hz_out_m, 7); \
hz_out_m = __msa_sat_s_h(hz_out_m, 7); \
\
hz_out_m; \
} )
#define VSHF_B4_SB(...)
#define src1
Definition: h264pred.c:139
#define FILT_8TAP_DPADD_S_H(vec0, vec1, vec2, vec3,filt0, filt1, filt2, filt3)
Definition: vp9_mc_msa.c:52
#define src0
Definition: h264pred.c:138

Definition at line 66 of file vp9_mc_msa.c.

Referenced by common_hv_8ht_8vt_4w_msa(), common_hv_8ht_8vt_8w_msa(), common_hv_8ht_8vt_and_aver_dst_4w_msa(), and common_hv_8ht_8vt_and_aver_dst_8w_msa().

#define HORIZ_8TAP_4WID_4VECS_FILT (   src0,
  src1,
  src2,
  src3,
  mask0,
  mask1,
  mask2,
  mask3,
  filt0,
  filt1,
  filt2,
  filt3,
  out0,
  out1 
)
Value:
{ \
v16i8 vec0_m, vec1_m, vec2_m, vec3_m, vec4_m, vec5_m, vec6_m, vec7_m; \
v8i16 res0_m, res1_m, res2_m, res3_m; \
VSHF_B2_SB(src0, src1, src2, src3, mask0, mask0, vec0_m, vec1_m); \
DOTP_SB2_SH(vec0_m, vec1_m, filt0, filt0, res0_m, res1_m); \
VSHF_B2_SB(src0, src1, src2, src3, mask1, mask1, vec2_m, vec3_m); \
DPADD_SB2_SH(vec2_m, vec3_m, filt1, filt1, res0_m, res1_m); \
VSHF_B2_SB(src0, src1, src2, src3, mask2, mask2, vec4_m, vec5_m); \
DOTP_SB2_SH(vec4_m, vec5_m, filt2, filt2, res2_m, res3_m); \
VSHF_B2_SB(src0, src1, src2, src3, mask3, mask3, vec6_m, vec7_m); \
DPADD_SB2_SH(vec6_m, vec7_m, filt3, filt3, res2_m, res3_m); \
ADDS_SH2_SH(res0_m, res2_m, res1_m, res3_m, out0, out1); \
}
#define VSHF_B2_SB(...)
#define ADDS_SH2_SH(...)
#define DPADD_SB2_SH(...)
#define src1
Definition: h264pred.c:139
#define src0
Definition: h264pred.c:138
#define DOTP_SB2_SH(...)

Definition at line 83 of file vp9_mc_msa.c.

Referenced by common_hz_8t_4x16_msa(), common_hz_8t_4x4_msa(), common_hz_8t_4x8_msa(), common_hz_8t_and_aver_dst_4x4_msa(), and common_hz_8t_and_aver_dst_4x8_msa().

#define HORIZ_8TAP_8WID_4VECS_FILT (   src0,
  src1,
  src2,
  src3,
  mask0,
  mask1,
  mask2,
  mask3,
  filt0,
  filt1,
  filt2,
  filt3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
v16i8 vec0_m, vec1_m, vec2_m, vec3_m, vec4_m, vec5_m, vec6_m, vec7_m; \
v8i16 res0_m, res1_m, res2_m, res3_m, res4_m, res5_m, res6_m, res7_m; \
VSHF_B2_SB(src0, src0, src1, src1, mask0, mask0, vec0_m, vec1_m); \
VSHF_B2_SB(src2, src2, src3, src3, mask0, mask0, vec2_m, vec3_m); \
DOTP_SB4_SH(vec0_m, vec1_m, vec2_m, vec3_m, filt0, filt0, filt0, filt0, \
res0_m, res1_m, res2_m, res3_m); \
VSHF_B2_SB(src0, src0, src1, src1, mask2, mask2, vec0_m, vec1_m); \
VSHF_B2_SB(src2, src2, src3, src3, mask2, mask2, vec2_m, vec3_m); \
DOTP_SB4_SH(vec0_m, vec1_m, vec2_m, vec3_m, filt2, filt2, filt2, filt2, \
res4_m, res5_m, res6_m, res7_m); \
VSHF_B2_SB(src0, src0, src1, src1, mask1, mask1, vec4_m, vec5_m); \
VSHF_B2_SB(src2, src2, src3, src3, mask1, mask1, vec6_m, vec7_m); \
DPADD_SB4_SH(vec4_m, vec5_m, vec6_m, vec7_m, filt1, filt1, filt1, filt1, \
res0_m, res1_m, res2_m, res3_m); \
VSHF_B2_SB(src0, src0, src1, src1, mask3, mask3, vec4_m, vec5_m); \
VSHF_B2_SB(src2, src2, src3, src3, mask3, mask3, vec6_m, vec7_m); \
DPADD_SB4_SH(vec4_m, vec5_m, vec6_m, vec7_m, filt3, filt3, filt3, filt3, \
res4_m, res5_m, res6_m, res7_m); \
ADDS_SH4_SH(res0_m, res4_m, res1_m, res5_m, res2_m, res6_m, res3_m, \
res7_m, out0, out1, out2, out3); \
}
#define DPADD_SB4_SH(...)
#define VSHF_B2_SB(...)
#define src1
Definition: h264pred.c:139
#define DOTP_SB4_SH(...)
#define src0
Definition: h264pred.c:138
#define ADDS_SH4_SH(...)

Definition at line 102 of file vp9_mc_msa.c.

Referenced by common_hz_8t_16w_msa(), common_hz_8t_32w_msa(), common_hz_8t_64w_msa(), common_hz_8t_8x4_msa(), common_hz_8t_8x8mult_msa(), and common_hz_8t_and_aver_dst_8w_msa().

#define PCKEV_XORI128_AVG_ST_UB (   in0,
  in1,
  dst,
  pdst 
)
Value:
{ \
v16u8 tmp_m; \
\
tmp_m = PCKEV_XORI128_UB(in1, in0); \
tmp_m = __msa_aver_u_b(tmp_m, (v16u8) dst); \
ST_UB(tmp_m, (pdst)); \
}
#define PCKEV_XORI128_UB(in0, in1)
#define ST_UB(...)

Definition at line 130 of file vp9_mc_msa.c.

Referenced by common_hz_8t_and_aver_dst_16w_msa(), common_hz_8t_and_aver_dst_32w_msa(), and common_hz_8t_and_aver_dst_64w_msa().

#define PCKEV_AVG_ST_UB (   in0,
  in1,
  dst,
  pdst 
)
Value:
{ \
v16u8 tmp_m; \
\
tmp_m = (v16u8) __msa_pckev_b((v16i8) in0, (v16i8) in1); \
tmp_m = __msa_aver_u_b(tmp_m, (v16u8) dst); \
ST_UB(tmp_m, (pdst)); \
}
#define ST_UB(...)

Definition at line 139 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_16h_msa(), ff_avg_bilin_16hv_msa(), ff_avg_bilin_16v_msa(), ff_avg_bilin_32h_msa(), ff_avg_bilin_32v_msa(), ff_avg_bilin_64h_msa(), and ff_avg_bilin_64v_msa().

#define PCKEV_AVG_ST8x4_UB (   in1,
  dst0,
  in2,
  dst1,
  in3,
  dst2,
  in4,
  dst3,
  pdst,
  stride 
)
Value:
{ \
v16u8 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \
uint8_t *pdst_m = (uint8_t *) (pdst); \
PCKEV_B2_UB(in2, in1, in4, in3, tmp0_m, tmp1_m); \
PCKEV_D2_UB(dst1, dst0, dst3, dst2, tmp2_m, tmp3_m); \
AVER_UB2_UB(tmp0_m, tmp2_m, tmp1_m, tmp3_m, tmp0_m, tmp1_m); \
ST8x4_UB(tmp0_m, tmp1_m, pdst_m, stride); \
}
uint8_t
#define AVER_UB2_UB(...)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105
#define ST8x4_UB(in0, in1, pdst, stride)
#define PCKEV_D2_UB(...)
#define PCKEV_B2_UB(...)

Definition at line 148 of file vp9_mc_msa.c.

Referenced by common_hv_2ht_2vt_and_aver_dst_8x4_msa(), common_hv_2ht_2vt_and_aver_dst_8x8mult_msa(), common_hz_2t_and_aver_dst_8x4_msa(), common_hz_2t_and_aver_dst_8x8mult_msa(), common_vt_2t_and_aver_dst_8x4_msa(), and common_vt_2t_and_aver_dst_8x8mult_msa().

#define VP9_8TAP_MIPS_MSA_FUNC (   SIZE,
  type,
  type_idx 
)

Definition at line 4390 of file vp9_mc_msa.c.

#define VP9_COPY_AVG_MIPS_MSA_FUNC (   SIZE)
Value:
void ff_copy##SIZE##_msa(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, ptrdiff_t srcstride, \
int h, int mx, int my) \
{ \
\
copy_width##SIZE##_msa(src, srcstride, dst, dststride, h); \
} \
\
void ff_avg##SIZE##_msa(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, ptrdiff_t srcstride, \
int h, int mx, int my) \
{ \
\
avg_width##SIZE##_msa(src, srcstride, dst, dststride, h); \
}
uint8_t
#define SIZE
Definition: golomb-test.c:31
typedef void(APIENTRY *FF_PFNGLACTIVETEXTUREPROC)(GLenum texture)
#define src
Definition: vp9dsp.c:530

Definition at line 4458 of file vp9_mc_msa.c.

#define VP9_AVG_MIPS_MSA_FUNC (   SIZE)
Value:
void ff_avg##SIZE##_msa(uint8_t *dst, ptrdiff_t dststride, \
const uint8_t *src, ptrdiff_t srcstride, \
int h, int mx, int my) \
{ \
\
avg_width##SIZE##_msa(src, srcstride, dst, dststride, h); \
}
uint8_t
#define SIZE
Definition: golomb-test.c:31
#define src
Definition: vp9dsp.c:530

Definition at line 4475 of file vp9_mc_msa.c.

Function Documentation

static void common_hz_8t_4x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 160 of file vp9_mc_msa.c.

Referenced by common_hz_8t_4w_msa().

static void common_hz_8t_4x8_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 189 of file vp9_mc_msa.c.

Referenced by common_hz_8t_4w_msa().

static void common_hz_8t_4x16_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 227 of file vp9_mc_msa.c.

Referenced by common_hz_8t_4w_msa().

static void common_hz_8t_4w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 285 of file vp9_mc_msa.c.

static void common_hz_8t_8x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 298 of file vp9_mc_msa.c.

Referenced by common_hz_8t_8w_msa().

static void common_hz_8t_8x8mult_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 329 of file vp9_mc_msa.c.

Referenced by common_hz_8t_8w_msa().

static void common_hz_8t_8w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 365 of file vp9_mc_msa.c.

static void common_hz_8t_16w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 377 of file vp9_mc_msa.c.

static void common_hz_8t_32w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 416 of file vp9_mc_msa.c.

static void common_hz_8t_64w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 475 of file vp9_mc_msa.c.

static void common_vt_8t_4w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 532 of file vp9_mc_msa.c.

static void common_vt_8t_8w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 584 of file vp9_mc_msa.c.

static void common_vt_8t_16w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 639 of file vp9_mc_msa.c.

static void common_vt_8t_16w_mult_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  width 
)
static

Definition at line 718 of file vp9_mc_msa.c.

Referenced by common_vt_8t_32w_msa(), and common_vt_8t_64w_msa().

static void common_vt_8t_32w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 807 of file vp9_mc_msa.c.

static void common_vt_8t_64w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 815 of file vp9_mc_msa.c.

static void common_hv_8ht_8vt_4w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert,
int32_t  height 
)
static

Definition at line 823 of file vp9_mc_msa.c.

static void common_hv_8ht_8vt_8w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert,
int32_t  height 
)
static
static void common_hv_8ht_8vt_16w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert,
int32_t  height 
)
static

Definition at line 997 of file vp9_mc_msa.c.

static void common_hv_8ht_8vt_32w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert,
int32_t  height 
)
static

Definition at line 1014 of file vp9_mc_msa.c.

static void common_hv_8ht_8vt_64w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert,
int32_t  height 
)
static

Definition at line 1031 of file vp9_mc_msa.c.

static void common_hz_8t_and_aver_dst_4x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 1048 of file vp9_mc_msa.c.

Referenced by common_hz_8t_and_aver_dst_4w_msa().

static void common_hz_8t_and_aver_dst_4x8_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 1083 of file vp9_mc_msa.c.

Referenced by common_hz_8t_and_aver_dst_4w_msa().

static void common_hz_8t_and_aver_dst_4w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 1127 of file vp9_mc_msa.c.

static void common_hz_8t_and_aver_dst_8w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 1142 of file vp9_mc_msa.c.

static void common_hz_8t_and_aver_dst_16w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 1180 of file vp9_mc_msa.c.

static void common_hz_8t_and_aver_dst_32w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 1238 of file vp9_mc_msa.c.

static void common_hz_8t_and_aver_dst_64w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 1297 of file vp9_mc_msa.c.

static void common_vt_8t_and_aver_dst_4w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 1359 of file vp9_mc_msa.c.

static void common_vt_8t_and_aver_dst_8w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 1419 of file vp9_mc_msa.c.

static void common_vt_8t_and_aver_dst_16w_mult_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  width 
)
static
static void common_vt_8t_and_aver_dst_16w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 1574 of file vp9_mc_msa.c.

static void common_vt_8t_and_aver_dst_32w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 1584 of file vp9_mc_msa.c.

static void common_vt_8t_and_aver_dst_64w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 1594 of file vp9_mc_msa.c.

static void common_hv_8ht_8vt_and_aver_dst_4w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert,
int32_t  height 
)
static

Definition at line 1604 of file vp9_mc_msa.c.

static void common_hv_8ht_8vt_and_aver_dst_8w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert,
int32_t  height 
)
static
static void common_hv_8ht_8vt_and_aver_dst_16w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert,
int32_t  height 
)
static

Definition at line 1788 of file vp9_mc_msa.c.

static void common_hv_8ht_8vt_and_aver_dst_32w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert,
int32_t  height 
)
static

Definition at line 1808 of file vp9_mc_msa.c.

static void common_hv_8ht_8vt_and_aver_dst_64w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert,
int32_t  height 
)
static

Definition at line 1828 of file vp9_mc_msa.c.

static void common_hz_2t_4x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 1848 of file vp9_mc_msa.c.

Referenced by ff_put_bilin_4h_msa().

static void common_hz_2t_4x8_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 1870 of file vp9_mc_msa.c.

Referenced by ff_put_bilin_4h_msa().

void ff_put_bilin_4h_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 1898 of file vp9_mc_msa.c.

static void common_hz_2t_8x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 1911 of file vp9_mc_msa.c.

Referenced by ff_put_bilin_8h_msa().

static void common_hz_2t_8x8mult_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 1935 of file vp9_mc_msa.c.

Referenced by ff_put_bilin_8h_msa().

void ff_put_bilin_8h_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 1998 of file vp9_mc_msa.c.

void ff_put_bilin_16h_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2012 of file vp9_mc_msa.c.

void ff_put_bilin_32h_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2079 of file vp9_mc_msa.c.

void ff_put_bilin_64h_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2126 of file vp9_mc_msa.c.

static void common_vt_2t_4x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 2169 of file vp9_mc_msa.c.

Referenced by ff_put_bilin_4v_msa().

static void common_vt_2t_4x8_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 2195 of file vp9_mc_msa.c.

Referenced by ff_put_bilin_4v_msa().

void ff_put_bilin_4v_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2230 of file vp9_mc_msa.c.

static void common_vt_2t_8x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 2243 of file vp9_mc_msa.c.

Referenced by ff_put_bilin_8v_msa().

static void common_vt_2t_8x8mult_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 2267 of file vp9_mc_msa.c.

Referenced by ff_put_bilin_8v_msa().

void ff_put_bilin_8v_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2313 of file vp9_mc_msa.c.

void ff_put_bilin_16v_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2327 of file vp9_mc_msa.c.

void ff_put_bilin_32v_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2381 of file vp9_mc_msa.c.

void ff_put_bilin_64v_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2459 of file vp9_mc_msa.c.

static void common_hv_2ht_2vt_4x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert 
)
static

Definition at line 2540 of file vp9_mc_msa.c.

Referenced by ff_put_bilin_4hv_msa().

static void common_hv_2ht_2vt_4x8_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert 
)
static

Definition at line 2572 of file vp9_mc_msa.c.

Referenced by ff_put_bilin_4hv_msa().

void ff_put_bilin_4hv_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2617 of file vp9_mc_msa.c.

static void common_hv_2ht_2vt_8x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert 
)
static

Definition at line 2633 of file vp9_mc_msa.c.

Referenced by ff_put_bilin_8hv_msa().

static void common_hv_2ht_2vt_8x8mult_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert,
int32_t  height 
)
static

Definition at line 2676 of file vp9_mc_msa.c.

Referenced by ff_put_bilin_8hv_msa().

void ff_put_bilin_8hv_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2756 of file vp9_mc_msa.c.

void ff_put_bilin_16hv_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2772 of file vp9_mc_msa.c.

Referenced by ff_put_bilin_32hv_msa(), and ff_put_bilin_64hv_msa().

void ff_put_bilin_32hv_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2843 of file vp9_mc_msa.c.

void ff_put_bilin_64hv_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2857 of file vp9_mc_msa.c.

static void common_hz_2t_and_aver_dst_4x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 2871 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_4h_msa().

static void common_hz_2t_and_aver_dst_4x8_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 2897 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_4h_msa().

void ff_avg_bilin_4h_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 2931 of file vp9_mc_msa.c.

static void common_hz_2t_and_aver_dst_8x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 2946 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_8h_msa().

static void common_hz_2t_and_aver_dst_8x8mult_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 2972 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_8h_msa().

void ff_avg_bilin_8h_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3039 of file vp9_mc_msa.c.

void ff_avg_bilin_16h_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3054 of file vp9_mc_msa.c.

void ff_avg_bilin_32h_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3122 of file vp9_mc_msa.c.

void ff_avg_bilin_64h_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3172 of file vp9_mc_msa.c.

static void common_vt_2t_and_aver_dst_4x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 3214 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_4v_msa().

static void common_vt_2t_and_aver_dst_4x8_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 3250 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_4v_msa().

void ff_avg_bilin_4v_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3290 of file vp9_mc_msa.c.

static void common_vt_2t_and_aver_dst_8x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter 
)
static

Definition at line 3305 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_8v_msa().

static void common_vt_2t_and_aver_dst_8x8mult_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height 
)
static

Definition at line 3332 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_8v_msa().

void ff_avg_bilin_8v_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3382 of file vp9_mc_msa.c.

void ff_avg_bilin_16v_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3397 of file vp9_mc_msa.c.

void ff_avg_bilin_32v_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3451 of file vp9_mc_msa.c.

void ff_avg_bilin_64v_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3531 of file vp9_mc_msa.c.

static void common_hv_2ht_2vt_and_aver_dst_4x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert 
)
static

Definition at line 3618 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_4hv_msa().

static void common_hv_2ht_2vt_and_aver_dst_4x8_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert 
)
static

Definition at line 3658 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_4hv_msa().

void ff_avg_bilin_4hv_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3712 of file vp9_mc_msa.c.

static void common_hv_2ht_2vt_and_aver_dst_8x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert 
)
static

Definition at line 3728 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_8hv_msa().

static void common_hv_2ht_2vt_and_aver_dst_8x8mult_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_horiz,
const int8_t *  filter_vert,
int32_t  height 
)
static

Definition at line 3776 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_8hv_msa().

void ff_avg_bilin_8hv_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3836 of file vp9_mc_msa.c.

void ff_avg_bilin_16hv_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3854 of file vp9_mc_msa.c.

Referenced by ff_avg_bilin_32hv_msa(), and ff_avg_bilin_64hv_msa().

void ff_avg_bilin_32hv_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3925 of file vp9_mc_msa.c.

void ff_avg_bilin_64hv_msa ( uint8_t dst,
ptrdiff_t  dst_stride,
const uint8_t src,
ptrdiff_t  src_stride,
int  height,
int  mx,
int  my 
)

Definition at line 3939 of file vp9_mc_msa.c.

static void copy_width8_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height 
)
static

Definition at line 3953 of file vp9_mc_msa.c.

static void copy_16multx8mult_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
int32_t  width 
)
static

Definition at line 4039 of file vp9_mc_msa.c.

Referenced by copy_width16_msa(), copy_width32_msa(), and copy_width64_msa().

static void copy_width16_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height 
)
static

Definition at line 4067 of file vp9_mc_msa.c.

static void copy_width32_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height 
)
static

Definition at line 4101 of file vp9_mc_msa.c.

static void copy_width64_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height 
)
static

Definition at line 4145 of file vp9_mc_msa.c.

static void avg_width4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height 
)
static

Definition at line 4152 of file vp9_mc_msa.c.

static void avg_width8_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height 
)
static

Definition at line 4197 of file vp9_mc_msa.c.

static void avg_width16_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height 
)
static

Definition at line 4223 of file vp9_mc_msa.c.

static void avg_width32_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height 
)
static

Definition at line 4245 of file vp9_mc_msa.c.

static void avg_width64_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height 
)
static

Definition at line 4288 of file vp9_mc_msa.c.

VP9_8TAP_MIPS_MSA_FUNC ( 64  ,
regular  ,
FILTER_8TAP_REGULAR   
)
VP9_8TAP_MIPS_MSA_FUNC ( 32  ,
regular  ,
FILTER_8TAP_REGULAR   
)
VP9_8TAP_MIPS_MSA_FUNC ( 16  ,
regular  ,
FILTER_8TAP_REGULAR   
)
VP9_8TAP_MIPS_MSA_FUNC ( ,
regular  ,
FILTER_8TAP_REGULAR   
)
VP9_8TAP_MIPS_MSA_FUNC ( ,
regular  ,
FILTER_8TAP_REGULAR   
)
VP9_8TAP_MIPS_MSA_FUNC ( 64  ,
sharp  ,
FILTER_8TAP_SHARP   
)
VP9_8TAP_MIPS_MSA_FUNC ( 32  ,
sharp  ,
FILTER_8TAP_SHARP   
)
VP9_8TAP_MIPS_MSA_FUNC ( 16  ,
sharp  ,
FILTER_8TAP_SHARP   
)
VP9_8TAP_MIPS_MSA_FUNC ( ,
sharp  ,
FILTER_8TAP_SHARP   
)
VP9_8TAP_MIPS_MSA_FUNC ( ,
sharp  ,
FILTER_8TAP_SHARP   
)
VP9_8TAP_MIPS_MSA_FUNC ( 64  ,
smooth  ,
FILTER_8TAP_SMOOTH   
)
VP9_8TAP_MIPS_MSA_FUNC ( 32  ,
smooth  ,
FILTER_8TAP_SMOOTH   
)
VP9_8TAP_MIPS_MSA_FUNC ( 16  ,
smooth  ,
FILTER_8TAP_SMOOTH   
)
VP9_8TAP_MIPS_MSA_FUNC ( ,
smooth  ,
FILTER_8TAP_SMOOTH   
)
VP9_8TAP_MIPS_MSA_FUNC ( ,
smooth  ,
FILTER_8TAP_SMOOTH   
)
VP9_COPY_AVG_MIPS_MSA_FUNC ( 64  )
VP9_COPY_AVG_MIPS_MSA_FUNC ( 32  )
VP9_COPY_AVG_MIPS_MSA_FUNC ( 16  )
VP9_COPY_AVG_MIPS_MSA_FUNC ( )
VP9_AVG_MIPS_MSA_FUNC ( )

Variable Documentation

const uint8_t mc_filt_mask_arr[16 *3]
static
Initial value:
= {
0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8,
0, 1, 1, 2, 2, 3, 3, 4, 16, 17, 17, 18, 18, 19, 19, 20,
8, 9, 9, 10, 10, 11, 11, 12, 24, 25, 25, 26, 26, 27, 27, 28
}

Definition at line 25 of file vp9_mc_msa.c.

Referenced by common_hv_2ht_2vt_4x4_msa(), common_hv_2ht_2vt_4x8_msa(), common_hv_2ht_2vt_8x4_msa(), common_hv_2ht_2vt_8x8mult_msa(), common_hv_2ht_2vt_and_aver_dst_4x4_msa(), common_hv_2ht_2vt_and_aver_dst_4x8_msa(), common_hv_2ht_2vt_and_aver_dst_8x4_msa(), common_hv_2ht_2vt_and_aver_dst_8x8mult_msa(), common_hv_8ht_8vt_4w_msa(), common_hv_8ht_8vt_8w_msa(), common_hv_8ht_8vt_and_aver_dst_4w_msa(), common_hv_8ht_8vt_and_aver_dst_8w_msa(), common_hz_2t_4x4_msa(), common_hz_2t_4x8_msa(), common_hz_2t_8x4_msa(), common_hz_2t_8x8mult_msa(), common_hz_2t_and_aver_dst_4x4_msa(), common_hz_2t_and_aver_dst_4x8_msa(), common_hz_2t_and_aver_dst_8x4_msa(), common_hz_2t_and_aver_dst_8x8mult_msa(), common_hz_8t_16w_msa(), common_hz_8t_32w_msa(), common_hz_8t_4x16_msa(), common_hz_8t_4x4_msa(), common_hz_8t_4x8_msa(), common_hz_8t_64w_msa(), common_hz_8t_8x4_msa(), common_hz_8t_8x8mult_msa(), common_hz_8t_and_aver_dst_16w_msa(), common_hz_8t_and_aver_dst_32w_msa(), common_hz_8t_and_aver_dst_4x4_msa(), common_hz_8t_and_aver_dst_4x8_msa(), common_hz_8t_and_aver_dst_64w_msa(), common_hz_8t_and_aver_dst_8w_msa(), ff_avg_bilin_16h_msa(), ff_avg_bilin_16hv_msa(), ff_avg_bilin_32h_msa(), ff_avg_bilin_64h_msa(), ff_put_bilin_16h_msa(), ff_put_bilin_16hv_msa(), ff_put_bilin_32h_msa(), and ff_put_bilin_64h_msa().

const int8_t vp9_bilinear_filters_msa[15][2]
static
const int8_t vp9_subpel_filters_msa[3][15][8]
static

Definition at line 4338 of file vp9_mc_msa.c.