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

Go to the source code of this file.

Macros

#define AVC_CALC_DPADD_H_6PIX_2COEFF_SH(in0, in1, in2, in3, in4, in5)
 
#define AVC_CALC_DPADD_B_6PIX_2COEFF_SH(vec0, vec1, vec2, vec3, vec4, vec5,out1, out2)
 
#define AVC_CALC_DPADD_B_6PIX_2COEFF_R_SH(vec0, vec1, vec2, vec3, vec4, vec5)
 
#define AVC_CALC_DPADD_H_6PIX_2COEFF_R_SH(vec0, vec1, vec2, vec3, vec4, vec5)
 
#define AVC_XOR_VSHF_B_AND_APPLY_6TAP_HORIZ_FILT_SH(src0, src1,mask0, mask1, mask2)
 
#define AVC_HORZ_FILTER_SH(in0, in1, mask0, mask1, mask2)
 
#define AVC_DOT_SH3_SH(in0, in1, in2, coeff0, coeff1, coeff2)
 
#define AVC_DOT_SW3_SW(in0, in1, in2, coeff0, coeff1, coeff2)
 

Functions

static void avc_luma_mid_4w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void avc_luma_mid_8w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void avc_luma_mid_16w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void avc_luma_midh_qrt_4w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, uint8_t horiz_offset)
 
static void avc_luma_midh_qrt_8w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, uint8_t horiz_offset)
 
static void avc_luma_midh_qrt_16w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, uint8_t horiz_offset)
 
static void avc_luma_hv_qrt_4w_msa (const uint8_t *src_x, const uint8_t *src_y, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void avc_luma_hv_qrt_8w_msa (const uint8_t *src_x, const uint8_t *src_y, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void avc_luma_hv_qrt_16w_msa (const uint8_t *src_x, const uint8_t *src_y, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void avc_luma_hz_and_aver_dst_4x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void avc_luma_hz_and_aver_dst_8x8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void avc_luma_hz_and_aver_dst_16x16_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void avc_luma_hz_qrt_and_aver_dst_4x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, uint8_t hor_offset)
 
static void avc_luma_hz_qrt_and_aver_dst_8x8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, uint8_t hor_offset)
 
static void avc_luma_hz_qrt_and_aver_dst_16x16_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, uint8_t hor_offset)
 
static void avc_luma_vt_and_aver_dst_4x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void avc_luma_vt_and_aver_dst_8x8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void avc_luma_vt_and_aver_dst_16x16_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void avc_luma_vt_qrt_and_aver_dst_4x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, uint8_t ver_offset)
 
static void avc_luma_vt_qrt_and_aver_dst_8x8_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, uint8_t ver_offset)
 
static void avc_luma_vt_qrt_and_aver_dst_16x16_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, uint8_t ver_offset)
 
static void avc_luma_mid_and_aver_dst_4x4_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void avc_luma_mid_and_aver_dst_8w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height)
 
static void avc_luma_mid_and_aver_dst_16x16_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void avc_luma_midh_qrt_and_aver_dst_4w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, uint8_t horiz_offset)
 
static void avc_luma_midh_qrt_and_aver_dst_8w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, uint8_t horiz_offset)
 
static void avc_luma_midh_qrt_and_aver_dst_16w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, uint8_t horiz_offset)
 
static void avc_luma_midv_qrt_and_aver_dst_4w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, uint8_t ver_offset)
 
static void avc_luma_midv_qrt_and_aver_dst_8w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, uint8_t vert_offset)
 
static void avc_luma_midv_qrt_and_aver_dst_16w_msa (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, uint8_t vert_offset)
 
static void avc_luma_hv_qrt_and_aver_dst_4x4_msa (const uint8_t *src_x, const uint8_t *src_y, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void avc_luma_hv_qrt_and_aver_dst_8x8_msa (const uint8_t *src_x, const uint8_t *src_y, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void avc_luma_hv_qrt_and_aver_dst_16x16_msa (const uint8_t *src_x, const uint8_t *src_y, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
void ff_put_h264_qpel16_mc00_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc00_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc00_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc00_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc00_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc10_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc30_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc10_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc30_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc10_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc30_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc20_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc20_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc20_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc01_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc03_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc01_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc03_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc01_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc03_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc11_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc31_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc13_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc33_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc11_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc31_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc13_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc33_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc11_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc31_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc13_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc33_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc21_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc23_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc21_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc23_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc21_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc23_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc02_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc02_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc02_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc12_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc32_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc12_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc32_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc12_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc32_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel16_mc22_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel8_mc22_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_put_h264_qpel4_mc22_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc10_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc30_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc10_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc30_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc10_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc30_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc20_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc20_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc20_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc01_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc03_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc01_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc03_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc01_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc03_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc11_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc31_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc13_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc33_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc11_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc31_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc13_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc33_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc11_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc31_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc13_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc33_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc21_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc23_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc21_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc23_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc21_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc23_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc02_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc02_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc02_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc12_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc32_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc12_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc32_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc12_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc32_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel16_mc22_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel8_mc22_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
void ff_avg_h264_qpel4_mc22_msa (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 

Variables

static const uint8_t luma_mask_arr [16 *8]
 

Macro Definition Documentation

#define AVC_CALC_DPADD_H_6PIX_2COEFF_SH (   in0,
  in1,
  in2,
  in3,
  in4,
  in5 
)
Value:
( { \
v4i32 tmp0_m, tmp1_m; \
v8i16 out0_m, out1_m, out2_m, out3_m; \
v8i16 minus5h_m = __msa_ldi_h(-5); \
v8i16 plus20h_m = __msa_ldi_h(20); \
ILVRL_H2_SW(in5, in0, tmp0_m, tmp1_m); \
\
tmp0_m = __msa_hadd_s_w((v8i16) tmp0_m, (v8i16) tmp0_m); \
tmp1_m = __msa_hadd_s_w((v8i16) tmp1_m, (v8i16) tmp1_m); \
ILVRL_H2_SH(in1, in4, out0_m, out1_m); \
DPADD_SH2_SW(out0_m, out1_m, minus5h_m, minus5h_m, tmp0_m, tmp1_m); \
ILVRL_H2_SH(in2, in3, out2_m, out3_m); \
DPADD_SH2_SW(out2_m, out3_m, plus20h_m, plus20h_m, tmp0_m, tmp1_m); \
SRARI_W2_SW(tmp0_m, tmp1_m, 10); \
SAT_SW2_SW(tmp0_m, tmp1_m, 7); \
out0_m = __msa_pckev_h((v8i16) tmp1_m, (v8i16) tmp0_m); \
\
out0_m; \
} )
#define ILVRL_H2_SW(...)
#define ILVRL_H2_SH(...)
#define SAT_SW2_SW(...)
#define SRARI_W2_SW(...)
#define DPADD_SH2_SW(...)

Definition at line 24 of file h264qpel_msa.c.

Referenced by avc_luma_mid_8w_msa(), avc_luma_mid_and_aver_dst_8w_msa(), and avc_luma_midv_qrt_and_aver_dst_8w_msa().

#define AVC_CALC_DPADD_B_6PIX_2COEFF_SH (   vec0,
  vec1,
  vec2,
  vec3,
  vec4,
  vec5,
  out1,
  out2 
)
Value:
{ \
v16i8 tmp0_m, tmp1_m; \
v16i8 minus5b_m = __msa_ldi_b(-5); \
v16i8 plus20b_m = __msa_ldi_b(20); \
ILVRL_B2_SB(vec5, vec0, tmp0_m, tmp1_m); \
HADD_SB2_SH(tmp0_m, tmp1_m, out1, out2); \
ILVRL_B2_SB(vec4, vec1, tmp0_m, tmp1_m); \
DPADD_SB2_SH(tmp0_m, tmp1_m, minus5b_m, minus5b_m, out1, out2); \
ILVRL_B2_SB(vec3, vec2, tmp0_m, tmp1_m); \
DPADD_SB2_SH(tmp0_m, tmp1_m, plus20b_m, plus20b_m, out1, out2); \
}
#define DPADD_SB2_SH(...)
#define HADD_SB2_SH(...)
#define ILVRL_B2_SB(...)

Definition at line 63 of file h264qpel_msa.c.

Referenced by avc_luma_hv_qrt_8w_msa(), avc_luma_hv_qrt_and_aver_dst_8x8_msa(), avc_luma_midh_qrt_4w_msa(), and avc_luma_midh_qrt_and_aver_dst_4w_msa().

#define AVC_CALC_DPADD_B_6PIX_2COEFF_R_SH (   vec0,
  vec1,
  vec2,
  vec3,
  vec4,
  vec5 
)
Value:
( { \
v8i16 tmp1_m; \
v16i8 tmp0_m, tmp2_m; \
v16i8 minus5b_m = __msa_ldi_b(-5); \
v16i8 plus20b_m = __msa_ldi_b(20); \
\
tmp1_m = (v8i16) __msa_ilvr_b((v16i8) vec5, (v16i8) vec0); \
tmp1_m = __msa_hadd_s_h((v16i8) tmp1_m, (v16i8) tmp1_m); \
ILVR_B2_SB(vec4, vec1, vec3, vec2, tmp0_m, tmp2_m); \
DPADD_SB2_SH(tmp0_m, tmp2_m, minus5b_m, plus20b_m, tmp1_m, tmp1_m); \
\
tmp1_m; \
} )
#define ILVR_B2_SB(...)
#define DPADD_SB2_SH(...)

Definition at line 78 of file h264qpel_msa.c.

Referenced by avc_luma_hv_qrt_4w_msa(), and avc_luma_hv_qrt_and_aver_dst_4x4_msa().

#define AVC_CALC_DPADD_H_6PIX_2COEFF_R_SH (   vec0,
  vec1,
  vec2,
  vec3,
  vec4,
  vec5 
)
Value:
( { \
v4i32 tmp1_m; \
v8i16 tmp2_m, tmp3_m; \
v8i16 minus5h_m = __msa_ldi_h(-5); \
v8i16 plus20h_m = __msa_ldi_h(20); \
\
tmp1_m = (v4i32) __msa_ilvr_h((v8i16) vec5, (v8i16) vec0); \
tmp1_m = __msa_hadd_s_w((v8i16) tmp1_m, (v8i16) tmp1_m); \
ILVR_H2_SH(vec1, vec4, vec2, vec3, tmp2_m, tmp3_m); \
DPADD_SH2_SW(tmp2_m, tmp3_m, minus5h_m, plus20h_m, tmp1_m, tmp1_m); \
\
tmp1_m = __msa_srari_w(tmp1_m, 10); \
tmp1_m = __msa_sat_s_w(tmp1_m, 7); \
\
tmp2_m = __msa_pckev_h((v8i16) tmp1_m, (v8i16) tmp1_m); \
\
tmp2_m; \
} )
#define DPADD_SH2_SW(...)
#define ILVR_H2_SH(...)

Definition at line 94 of file h264qpel_msa.c.

Referenced by avc_luma_mid_4w_msa(), avc_luma_mid_and_aver_dst_4x4_msa(), and avc_luma_midv_qrt_and_aver_dst_4w_msa().

#define AVC_XOR_VSHF_B_AND_APPLY_6TAP_HORIZ_FILT_SH (   src0,
  src1,
  mask0,
  mask1,
  mask2 
)
Value:
( { \
v8i16 hz_out_m; \
v16i8 vec0_m, vec1_m, vec2_m; \
v16i8 minus5b_m = __msa_ldi_b(-5); \
v16i8 plus20b_m = __msa_ldi_b(20); \
\
vec0_m = __msa_vshf_b((v16i8) mask0, (v16i8) src1, (v16i8) src0); \
hz_out_m = __msa_hadd_s_h(vec0_m, vec0_m); \
VSHF_B2_SB(src0, src1, src0, src1, mask1, mask2, vec1_m, vec2_m); \
DPADD_SB2_SH(vec1_m, vec2_m, minus5b_m, plus20b_m, hz_out_m, hz_out_m); \
\
hz_out_m; \
} )
#define VSHF_B2_SB(...)
#define DPADD_SB2_SH(...)
#define src1
Definition: h264pred.c:139
#define src0
Definition: h264pred.c:138

Definition at line 115 of file h264qpel_msa.c.

Referenced by avc_luma_hv_qrt_4w_msa(), avc_luma_hv_qrt_and_aver_dst_4x4_msa(), avc_luma_mid_4w_msa(), avc_luma_mid_and_aver_dst_4x4_msa(), and avc_luma_midv_qrt_and_aver_dst_4w_msa().

#define AVC_HORZ_FILTER_SH (   in0,
  in1,
  mask0,
  mask1,
  mask2 
)
Value:
( { \
v8i16 out0_m; \
v16i8 tmp0_m; \
v16i8 minus5b = __msa_ldi_b(-5); \
v16i8 plus20b = __msa_ldi_b(20); \
\
tmp0_m = __msa_vshf_b((v16i8) mask0, in1, in0); \
out0_m = __msa_hadd_s_h(tmp0_m, tmp0_m); \
\
tmp0_m = __msa_vshf_b((v16i8) mask1, in1, in0); \
out0_m = __msa_dpadd_s_h(out0_m, minus5b, tmp0_m); \
\
tmp0_m = __msa_vshf_b((v16i8) mask2, in1, in0); \
out0_m = __msa_dpadd_s_h(out0_m, plus20b, tmp0_m); \
\
out0_m; \
} )

Definition at line 132 of file h264qpel_msa.c.

Referenced by avc_luma_hv_qrt_8w_msa(), avc_luma_hv_qrt_and_aver_dst_8x8_msa(), avc_luma_mid_4w_msa(), avc_luma_mid_8w_msa(), avc_luma_mid_and_aver_dst_4x4_msa(), avc_luma_mid_and_aver_dst_8w_msa(), avc_luma_midv_qrt_and_aver_dst_4w_msa(), avc_luma_midv_qrt_and_aver_dst_8w_msa(), ff_put_h264_qpel16_mc21_msa(), ff_put_h264_qpel16_mc23_msa(), ff_put_h264_qpel4_mc21_msa(), ff_put_h264_qpel4_mc23_msa(), ff_put_h264_qpel8_mc21_msa(), and ff_put_h264_qpel8_mc23_msa().

#define AVC_DOT_SH3_SH (   in0,
  in1,
  in2,
  coeff0,
  coeff1,
  coeff2 
)
Value:
( { \
v8i16 out0_m; \
\
out0_m = __msa_dotp_s_h((v16i8) in0, (v16i8) coeff0); \
out0_m = __msa_dpadd_s_h(out0_m, (v16i8) in1, (v16i8) coeff1); \
out0_m = __msa_dpadd_s_h(out0_m, (v16i8) in2, (v16i8) coeff2); \
\
out0_m; \
} )

Definition at line 151 of file h264qpel_msa.c.

Referenced by ff_put_h264_qpel16_mc01_msa(), ff_put_h264_qpel16_mc02_msa(), ff_put_h264_qpel16_mc03_msa(), ff_put_h264_qpel4_mc01_msa(), ff_put_h264_qpel4_mc02_msa(), ff_put_h264_qpel4_mc03_msa(), ff_put_h264_qpel8_mc01_msa(), ff_put_h264_qpel8_mc02_msa(), and ff_put_h264_qpel8_mc03_msa().

#define AVC_DOT_SW3_SW (   in0,
  in1,
  in2,
  coeff0,
  coeff1,
  coeff2 
)
Value:
( { \
v4i32 out0_m; \
\
out0_m = __msa_dotp_s_w((v8i16) in0, (v8i16) coeff0); \
out0_m = __msa_dpadd_s_w(out0_m, (v8i16) in1, (v8i16) coeff1); \
out0_m = __msa_dpadd_s_w(out0_m, (v8i16) in2, (v8i16) coeff2); \
out0_m = __msa_srari_w(out0_m, 10); \
out0_m = __msa_sat_s_w(out0_m, 7); \
out0_m; \
} )

Definition at line 162 of file h264qpel_msa.c.

Referenced by ff_put_h264_qpel16_mc21_msa(), ff_put_h264_qpel16_mc23_msa(), ff_put_h264_qpel4_mc21_msa(), ff_put_h264_qpel4_mc23_msa(), ff_put_h264_qpel8_mc21_msa(), and ff_put_h264_qpel8_mc23_msa().

Function Documentation

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

Definition at line 174 of file h264qpel_msa.c.

Referenced by ff_put_h264_qpel4_mc22_msa().

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

Definition at line 239 of file h264qpel_msa.c.

Referenced by avc_luma_mid_16w_msa(), and ff_put_h264_qpel8_mc22_msa().

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

Definition at line 294 of file h264qpel_msa.c.

Referenced by ff_put_h264_qpel16_mc22_msa().

static void avc_luma_midh_qrt_4w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
uint8_t  horiz_offset 
)
static
static void avc_luma_midh_qrt_8w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
uint8_t  horiz_offset 
)
static

Definition at line 379 of file h264qpel_msa.c.

Referenced by ff_put_h264_qpel8_mc12_msa(), and ff_put_h264_qpel8_mc32_msa().

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

Definition at line 394 of file h264qpel_msa.c.

Referenced by ff_put_h264_qpel16_mc12_msa(), and ff_put_h264_qpel16_mc32_msa().

static void avc_luma_hv_qrt_4w_msa ( const uint8_t src_x,
const uint8_t src_y,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height 
)
static
static void avc_luma_hv_qrt_8w_msa ( const uint8_t src_x,
const uint8_t src_y,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height 
)
static
static void avc_luma_hv_qrt_16w_msa ( const uint8_t src_x,
const uint8_t src_y,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height 
)
static
static void avc_luma_hz_and_aver_dst_4x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride 
)
static

Definition at line 580 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel4_mc20_msa().

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

Definition at line 614 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel8_mc20_msa().

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

Definition at line 658 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel16_mc20_msa().

static void avc_luma_hz_qrt_and_aver_dst_4x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
uint8_t  hor_offset 
)
static

Definition at line 724 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel4_mc10_msa(), and ff_avg_h264_qpel4_mc30_msa().

static void avc_luma_hz_qrt_and_aver_dst_8x8_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
uint8_t  hor_offset 
)
static

Definition at line 782 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel8_mc10_msa(), and ff_avg_h264_qpel8_mc30_msa().

static void avc_luma_hz_qrt_and_aver_dst_16x16_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
uint8_t  hor_offset 
)
static

Definition at line 851 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel16_mc10_msa(), and ff_avg_h264_qpel16_mc30_msa().

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

Definition at line 911 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel4_mc02_msa().

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

Definition at line 957 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel8_mc02_msa().

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

Definition at line 1010 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel16_mc02_msa().

static void avc_luma_vt_qrt_and_aver_dst_4x4_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
uint8_t  ver_offset 
)
static

Definition at line 1082 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel4_mc01_msa(), and ff_avg_h264_qpel4_mc03_msa().

static void avc_luma_vt_qrt_and_aver_dst_8x8_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
uint8_t  ver_offset 
)
static

Definition at line 1141 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel8_mc01_msa(), and ff_avg_h264_qpel8_mc03_msa().

static void avc_luma_vt_qrt_and_aver_dst_16x16_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
uint8_t  ver_offset 
)
static

Definition at line 1213 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel16_mc01_msa(), and ff_avg_h264_qpel16_mc03_msa().

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

Definition at line 1303 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel4_mc22_msa().

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

Definition at line 1415 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel16_mc22_msa().

static void avc_luma_midh_qrt_and_aver_dst_4w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
uint8_t  horiz_offset 
)
static
static void avc_luma_midh_qrt_and_aver_dst_8w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
uint8_t  horiz_offset 
)
static

Definition at line 1508 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel8_mc12_msa(), and ff_avg_h264_qpel8_mc32_msa().

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

Definition at line 1526 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel16_mc12_msa(), and ff_avg_h264_qpel16_mc32_msa().

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

Definition at line 1544 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel4_mc21_msa(), and ff_avg_h264_qpel4_mc23_msa().

static void avc_luma_midv_qrt_and_aver_dst_8w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
uint8_t  vert_offset 
)
static
static void avc_luma_midv_qrt_and_aver_dst_16w_msa ( const uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
uint8_t  vert_offset 
)
static

Definition at line 1704 of file h264qpel_msa.c.

Referenced by ff_avg_h264_qpel16_mc21_msa(), and ff_avg_h264_qpel16_mc23_msa().

static void avc_luma_hv_qrt_and_aver_dst_4x4_msa ( const uint8_t src_x,
const uint8_t src_y,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride 
)
static
static void avc_luma_hv_qrt_and_aver_dst_8x8_msa ( const uint8_t src_x,
const uint8_t src_y,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride 
)
static
static void avc_luma_hv_qrt_and_aver_dst_16x16_msa ( const uint8_t src_x,
const uint8_t src_y,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride 
)
static
void ff_put_h264_qpel16_mc00_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 1893 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc00_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 1908 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc00_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 1921 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc00_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 1948 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc00_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 1976 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc10_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 1992 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc30_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2060 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc10_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2128 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc30_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2183 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc10_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2238 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc30_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2269 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc20_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2300 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc20_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2359 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc20_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2406 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc01_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2431 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc03_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2505 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc01_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2578 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc03_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2631 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc01_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2684 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc03_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2725 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc11_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2766 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc31_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2773 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc13_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2781 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc33_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2788 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc11_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2796 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc31_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2802 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc13_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2810 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc33_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2817 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc11_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2826 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc31_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2832 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc13_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2840 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc33_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2847 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc21_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2855 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc23_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 2968 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc21_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3081 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc23_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3216 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc21_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3351 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc23_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3415 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc02_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3480 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc02_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3547 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc02_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3597 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc12_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3634 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc32_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3641 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc12_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3648 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc32_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3654 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc12_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3660 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc32_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3666 of file h264qpel_msa.c.

void ff_put_h264_qpel16_mc22_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3672 of file h264qpel_msa.c.

void ff_put_h264_qpel8_mc22_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3678 of file h264qpel_msa.c.

void ff_put_h264_qpel4_mc22_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3684 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc10_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3690 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc30_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3696 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc10_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3702 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc30_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3708 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc10_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3714 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc30_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3720 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc20_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3726 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc20_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3732 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc20_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3738 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc01_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3744 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc03_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3751 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc01_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3758 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc03_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3765 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc01_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3772 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc03_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3779 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc11_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3786 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc31_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3794 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc13_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3803 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc33_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3811 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc11_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3820 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc31_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3828 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc13_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3836 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc33_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3844 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc11_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3853 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc31_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3861 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc13_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3869 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc33_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3877 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc21_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3885 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc23_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3892 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc21_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3899 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc23_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3906 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc21_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3913 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc23_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3920 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc02_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3927 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc02_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3933 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc02_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3939 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc12_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3945 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc32_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3952 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc12_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3959 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc32_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3966 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc12_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3973 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc32_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3980 of file h264qpel_msa.c.

void ff_avg_h264_qpel16_mc22_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3987 of file h264qpel_msa.c.

void ff_avg_h264_qpel8_mc22_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 3994 of file h264qpel_msa.c.

void ff_avg_h264_qpel4_mc22_msa ( uint8_t dst,
const uint8_t src,
ptrdiff_t  stride 
)

Definition at line 4001 of file h264qpel_msa.c.

Variable Documentation

const uint8_t luma_mask_arr[16 *8]
static
Initial value:
= {
0, 5, 1, 6, 2, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12,
1, 4, 2, 5, 3, 6, 4, 7, 5, 8, 6, 9, 7, 10, 8, 11,
2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10,
0, 5, 1, 6, 2, 7, 3, 8, 16, 21, 17, 22, 18, 23, 19, 24,
1, 4, 2, 5, 3, 6, 4, 7, 17, 20, 18, 21, 19, 22, 20, 23,
2, 3, 3, 4, 4, 5, 5, 6, 18, 19, 19, 20, 20, 21, 21, 22,
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 24, 25,
3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 24, 25, 26
}

Definition at line 48 of file h264qpel_msa.c.

Referenced by avc_luma_hv_qrt_4w_msa(), avc_luma_hv_qrt_8w_msa(), avc_luma_hv_qrt_and_aver_dst_4x4_msa(), avc_luma_hv_qrt_and_aver_dst_8x8_msa(), avc_luma_hz_and_aver_dst_16x16_msa(), avc_luma_hz_and_aver_dst_4x4_msa(), avc_luma_hz_and_aver_dst_8x8_msa(), avc_luma_hz_qrt_and_aver_dst_16x16_msa(), avc_luma_hz_qrt_and_aver_dst_4x4_msa(), avc_luma_hz_qrt_and_aver_dst_8x8_msa(), avc_luma_mid_4w_msa(), avc_luma_mid_8w_msa(), avc_luma_mid_and_aver_dst_4x4_msa(), avc_luma_mid_and_aver_dst_8w_msa(), avc_luma_midv_qrt_and_aver_dst_4w_msa(), avc_luma_midv_qrt_and_aver_dst_8w_msa(), ff_put_h264_qpel16_mc10_msa(), ff_put_h264_qpel16_mc20_msa(), ff_put_h264_qpel16_mc21_msa(), ff_put_h264_qpel16_mc23_msa(), ff_put_h264_qpel16_mc30_msa(), ff_put_h264_qpel4_mc10_msa(), ff_put_h264_qpel4_mc20_msa(), ff_put_h264_qpel4_mc21_msa(), ff_put_h264_qpel4_mc23_msa(), ff_put_h264_qpel4_mc30_msa(), ff_put_h264_qpel8_mc10_msa(), ff_put_h264_qpel8_mc20_msa(), ff_put_h264_qpel8_mc21_msa(), ff_put_h264_qpel8_mc23_msa(), and ff_put_h264_qpel8_mc30_msa().