21 #ifndef AVCODEC_MIPS_VP9DSP_MIPS_H 22 #define AVCODEC_MIPS_VP9DSP_MIPS_H 24 #define VP9_8TAP_MIPS_MSA_FUNC(SIZE, type, type_idx) \ 25 void ff_put_8tap_##type##_##SIZE##h_msa(uint8_t *dst, ptrdiff_t dststride, \ 27 ptrdiff_t srcstride, \ 28 int h, int mx, int my); \ 30 void ff_put_8tap_##type##_##SIZE##v_msa(uint8_t *dst, ptrdiff_t dststride, \ 32 ptrdiff_t srcstride, \ 33 int h, int mx, int my); \ 35 void ff_put_8tap_##type##_##SIZE##hv_msa(uint8_t *dst, ptrdiff_t dststride, \ 37 ptrdiff_t srcstride, \ 38 int h, int mx, int my); \ 40 void ff_avg_8tap_##type##_##SIZE##h_msa(uint8_t *dst, ptrdiff_t dststride, \ 42 ptrdiff_t srcstride, \ 43 int h, int mx, int my); \ 45 void ff_avg_8tap_##type##_##SIZE##v_msa(uint8_t *dst, ptrdiff_t dststride, \ 47 ptrdiff_t srcstride, \ 48 int h, int mx, int my); \ 50 void ff_avg_8tap_##type##_##SIZE##hv_msa(uint8_t *dst, ptrdiff_t dststride, \ 52 ptrdiff_t srcstride, \ 53 int h, int mx, int my); 55 #define VP9_BILINEAR_MIPS_MSA_FUNC(SIZE) \ 56 void ff_put_bilin_##SIZE##h_msa(uint8_t *dst, ptrdiff_t dststride, \ 57 const uint8_t *src, ptrdiff_t srcstride, \ 58 int h, int mx, int my); \ 60 void ff_put_bilin_##SIZE##v_msa(uint8_t *dst, ptrdiff_t dststride, \ 61 const uint8_t *src, ptrdiff_t srcstride, \ 62 int h, int mx, int my); \ 64 void ff_put_bilin_##SIZE##hv_msa(uint8_t *dst, ptrdiff_t dststride, \ 65 const uint8_t *src, ptrdiff_t srcstride, \ 66 int h, int mx, int my); \ 68 void ff_avg_bilin_##SIZE##h_msa(uint8_t *dst, ptrdiff_t dststride, \ 69 const uint8_t *src, ptrdiff_t srcstride, \ 70 int h, int mx, int my); \ 72 void ff_avg_bilin_##SIZE##v_msa(uint8_t *dst, ptrdiff_t dststride, \ 73 const uint8_t *src, ptrdiff_t srcstride, \ 74 int h, int mx, int my); \ 76 void ff_avg_bilin_##SIZE##hv_msa(uint8_t *dst, ptrdiff_t dststride, \ 77 const uint8_t *src, ptrdiff_t srcstride, \ 78 int h, int mx, int my); 80 #define VP9_COPY_AVG_MIPS_MSA_FUNC(SIZE) \ 81 void ff_copy##SIZE##_msa(uint8_t *dst, ptrdiff_t dststride, \ 82 const uint8_t *src, ptrdiff_t srcstride, \ 83 int h, int mx, int my); \ 85 void ff_avg##SIZE##_msa(uint8_t *dst, ptrdiff_t dststride, \ 86 const uint8_t *src, ptrdiff_t srcstride, \ 87 int h, int mx, int my); 119 #undef VP9_8TAP_MIPS_MSA_FUNC 120 #undef VP9_BILINEAR_MIPS_MSA_FUNC 121 #undef VP9_COPY_AVG_MIPS_MSA_FUNC 156 int16_t *
block,
int eob);
158 int16_t *
block,
int eob);
160 int16_t *
block,
int eob);
162 int16_t *
block,
int eob);
164 int16_t *
block,
int eob);
166 int16_t *
block,
int eob);
168 int16_t *
block,
int eob);
170 int16_t *
block,
int eob);
172 int16_t *
block,
int eob);
174 int16_t *
block,
int eob);
176 int16_t *
block,
int eob);
178 int16_t *
block,
int eob);
180 int16_t *
block,
int eob);
182 int16_t *
block,
int eob);
237 #endif // #ifndef AVCODEC_MIPS_VP9DSP_MIPS_H void ff_dc_top_8x8_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_iadst_idct_8x8_add_msa(uint8_t *dst, ptrdiff_t stride, int16_t *block, int eob)
void ff_loop_filter_h_16_8_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_loop_filter_h_44_16_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_loop_filter_v_84_16_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_vert_32x32_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_loop_filter_v_44_16_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_idct_iadst_16x16_add_msa(uint8_t *pu8Dest, ptrdiff_t stride, int16_t *block, int eob)
void ff_loop_filter_h_84_16_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_tm_4x4_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_dc_left_32x32_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_idct_idct_32x32_add_msa(uint8_t *dst, ptrdiff_t stride, int16_t *block, int eob)
void ff_iadst_iadst_4x4_add_msa(uint8_t *dst, ptrdiff_t stride, int16_t *block, int eob)
void ff_dc_4x4_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_idct_idct_8x8_add_msa(uint8_t *dst, ptrdiff_t stride, int16_t *block, int eob)
void ff_dc_left_8x8_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_dc_8x8_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_dc_128_16x16_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_idct_iadst_4x4_add_msa(uint8_t *pu8Dest, ptrdiff_t stride, int16_t *block, int eob)
void ff_dc_129_32x32_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_vert_16x16_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_dc_top_32x32_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_loop_filter_h_48_16_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_tm_8x8_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_loop_filter_v_16_16_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_dc_16x16_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_tm_16x16_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_loop_filter_v_48_16_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_loop_filter_v_16_8_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_dc_128_32x32_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_idct_iadst_8x8_add_msa(uint8_t *pu8Dest, ptrdiff_t stride, int16_t *block, int eob)
void ff_iadst_iadst_8x8_add_msa(uint8_t *dst, ptrdiff_t stride, int16_t *block, int eob)
void ff_dc_top_4x4_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_tm_32x32_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_idct_idct_16x16_add_msa(uint8_t *dst, ptrdiff_t stride, int16_t *block, int eob)
void ff_dc_top_16x16_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_idct_idct_4x4_add_msa(uint8_t *dst, ptrdiff_t stride, int16_t *block, int eob)
void ff_dc_127_32x32_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_dc_129_16x16_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
#define VP9_8TAP_MIPS_MSA_FUNC(SIZE, type, type_idx)
void ff_loop_filter_h_16_16_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_dc_127_16x16_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_loop_filter_v_8_8_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_dc_32x32_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_iwht_iwht_4x4_add_msa(uint8_t *dst, ptrdiff_t stride, int16_t *block, int eob)
void ff_hor_32x32_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
#define VP9_BILINEAR_MIPS_MSA_FUNC(SIZE)
void ff_loop_filter_h_4_8_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_loop_filter_v_88_16_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_loop_filter_h_8_8_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_dc_left_16x16_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_iadst_idct_16x16_add_msa(uint8_t *dst, ptrdiff_t stride, int16_t *block, int eob)
void ff_loop_filter_v_4_8_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_dc_left_4x4_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
#define VP9_COPY_AVG_MIPS_MSA_FUNC(SIZE)
void ff_loop_filter_h_88_16_msa(uint8_t *dst, ptrdiff_t stride, int32_t e, int32_t i, int32_t h)
void ff_hor_16x16_msa(uint8_t *dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top)
void ff_iadst_idct_4x4_add_msa(uint8_t *dst, ptrdiff_t stride, int16_t *block, int eob)
void ff_iadst_iadst_16x16_add_msa(uint8_t *dst, ptrdiff_t stride, int16_t *block, int eob)