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(in0, in1, in2, in3,dst0, dst1,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_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_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_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 (   in0,
  in1,
  in2,
  in3,
  dst0,
  dst1,
  pdst,
  stride 
)
Value:
{ \
v16u8 tmp0_m, tmp1_m; \
uint8_t *pdst_m = (uint8_t *) (pdst); \
PCKEV_B2_UB(in1, in0, in3, in2, tmp0_m, tmp1_m); \
AVER_UB2_UB(tmp0_m, dst0, tmp1_m, dst1, 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_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 4327 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); \
}
#define src
Definition: vp8dsp.c:254
uint8_t
#define SIZE
Definition: cabac.c:23
typedef void(APIENTRY *FF_PFNGLACTIVETEXTUREPROC)(GLenum texture)

Definition at line 4395 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); \
}
#define src
Definition: vp8dsp.c:254
uint8_t
#define SIZE
Definition: cabac.c:23

Definition at line 4412 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 159 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 188 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 226 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 237 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 268 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 304 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 316 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 355 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 414 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 471 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 523 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 578 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 657 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 746 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 754 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 762 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 936 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 953 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 970 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 987 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 1022 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 1067 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 1082 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 1123 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 1181 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 1240 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 1302 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 1361 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 1519 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 1529 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 1539 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 1549 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 1736 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 1756 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 1776 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 1796 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 1818 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 1846 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 1859 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 1883 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 1946 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 1960 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 2027 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 2074 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 2117 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 2143 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 2178 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 2191 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 2215 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 2261 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 2275 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 2329 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 2407 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 2488 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 2520 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 2565 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 2581 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 2624 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 2704 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 2720 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 2791 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 2805 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 2819 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 2848 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 2882 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 2897 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 2925 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 2997 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 3012 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 3080 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 3130 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 3172 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 3208 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 3247 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 3262 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 3291 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 3346 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 3361 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 3415 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 3495 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 3582 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 3626 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 3678 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 3694 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 3744 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 3806 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 3824 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 3895 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 3909 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 3923 of file vp9_mc_msa.c.

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 3953 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 3997 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 4027 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 4056 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 4085 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 4127 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 4162 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 4225 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_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 4275 of file vp9_mc_msa.c.