31 #define VP8_MC_MIPS_FUNC(IDX, SIZE) \
32 dsp->put_vp8_epel_pixels_tab[IDX][0][1] = \
33 ff_put_vp8_epel##SIZE##_h4_msa; \
34 dsp->put_vp8_epel_pixels_tab[IDX][0][2] = \
35 ff_put_vp8_epel##SIZE##_h6_msa; \
36 dsp->put_vp8_epel_pixels_tab[IDX][1][0] = \
37 ff_put_vp8_epel##SIZE##_v4_msa; \
38 dsp->put_vp8_epel_pixels_tab[IDX][1][1] = \
39 ff_put_vp8_epel##SIZE##_h4v4_msa; \
40 dsp->put_vp8_epel_pixels_tab[IDX][1][2] = \
41 ff_put_vp8_epel##SIZE##_h6v4_msa; \
42 dsp->put_vp8_epel_pixels_tab[IDX][2][0] = \
43 ff_put_vp8_epel##SIZE##_v6_msa; \
44 dsp->put_vp8_epel_pixels_tab[IDX][2][1] = \
45 ff_put_vp8_epel##SIZE##_h4v6_msa; \
46 dsp->put_vp8_epel_pixels_tab[IDX][2][2] = \
47 ff_put_vp8_epel##SIZE##_h6v6_msa
49 #define VP8_BILINEAR_MC_MIPS_FUNC(IDX, SIZE) \
50 dsp->put_vp8_bilinear_pixels_tab[IDX][0][1] = \
51 ff_put_vp8_bilinear##SIZE##_h_msa; \
52 dsp->put_vp8_bilinear_pixels_tab[IDX][0][2] = \
53 ff_put_vp8_bilinear##SIZE##_h_msa; \
54 dsp->put_vp8_bilinear_pixels_tab[IDX][1][0] = \
55 ff_put_vp8_bilinear##SIZE##_v_msa; \
56 dsp->put_vp8_bilinear_pixels_tab[IDX][1][1] = \
57 ff_put_vp8_bilinear##SIZE##_hv_msa; \
58 dsp->put_vp8_bilinear_pixels_tab[IDX][1][2] = \
59 ff_put_vp8_bilinear##SIZE##_hv_msa; \
60 dsp->put_vp8_bilinear_pixels_tab[IDX][2][0] = \
61 ff_put_vp8_bilinear##SIZE##_v_msa; \
62 dsp->put_vp8_bilinear_pixels_tab[IDX][2][1] = \
63 ff_put_vp8_bilinear##SIZE##_hv_msa; \
64 dsp->put_vp8_bilinear_pixels_tab[IDX][2][2] = \
65 ff_put_vp8_bilinear##SIZE##_hv_msa
67 #define VP8_MC_MIPS_COPY(IDX, SIZE) \
68 dsp->put_vp8_epel_pixels_tab[IDX][0][0] = \
69 ff_put_vp8_pixels##SIZE##_msa; \
70 dsp->put_vp8_bilinear_pixels_tab[IDX][0][0] = \
71 ff_put_vp8_pixels##SIZE##_msa;
106 #endif // #if HAVE_MSA
111 vp8dsp_init_msa(dsp);
112 #endif // #if HAVE_MSA
void ff_vp8_v_loop_filter16_inner_msa(uint8_t *src, ptrdiff_t pitch, int32_t e, int32_t i, int32_t h)
void ff_vp8_h_loop_filter16_msa(uint8_t *src, ptrdiff_t pitch, int b_limit_in, int limit_in, int thresh_in)
#define VP8_MC_MIPS_FUNC(IDX, SIZE)
void(* vp8_v_loop_filter16y)(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
#define VP8_BILINEAR_MC_MIPS_FUNC(IDX, SIZE)
Macro definitions for various function/variable attributes.
void ff_vp8_idct_dc_add4y_msa(uint8_t *dst, int16_t block[4][16], ptrdiff_t stride)
VP8 compatible video decoder.
void(* vp8_h_loop_filter8uv_inner)(uint8_t *dstU, uint8_t *dstV, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
av_cold void ff_vp8dsp_init_mips(VP8DSPContext *dsp)
void ff_vp8_v_loop_filter16_msa(uint8_t *src, ptrdiff_t pitch, int b_limit_in, int limit_in, int thresh_in)
#define VP8_MC_MIPS_COPY(IDX, SIZE)
void(* vp8_h_loop_filter8uv)(uint8_t *dstU, uint8_t *dstV, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void(* vp8_v_loop_filter8uv)(uint8_t *dstU, uint8_t *dstV, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void(* vp8_idct_dc_add4y)(uint8_t *dst, int16_t block[4][16], ptrdiff_t stride)
void ff_vp8_v_loop_filter8uv_msa(uint8_t *src_u, uint8_t *src_v, ptrdiff_t pitch, int b_limit_in, int limit_in, int thresh_in)
void(* vp8_v_loop_filter8uv_inner)(uint8_t *dstU, uint8_t *dstV, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void(* vp8_h_loop_filter_simple)(uint8_t *dst, ptrdiff_t stride, int flim)
void(* vp8_idct_add)(uint8_t *dst, int16_t block[16], ptrdiff_t stride)
void ff_vp8_v_loop_filter8uv_inner_msa(uint8_t *src_u, uint8_t *src_v, ptrdiff_t pitch, int b_limit_in, int limit_in, int thresh_in)
void(* vp8_idct_dc_add4uv)(uint8_t *dst, int16_t block[4][16], ptrdiff_t stride)
void ff_vp8_h_loop_filter8uv_msa(uint8_t *src_u, uint8_t *src_v, ptrdiff_t pitch, int b_limit_in, int limit_in, int thresh_in)
void(* vp8_h_loop_filter16y_inner)(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void(* vp8_luma_dc_wht)(int16_t block[4][4][16], int16_t dc[16])
void ff_vp8_h_loop_filter_simple_msa(uint8_t *src, ptrdiff_t pitch, int b_limit_ptr)
void ff_vp8_v_loop_filter_simple_msa(uint8_t *src, ptrdiff_t pitch, int b_limit_ptr)
void(* vp8_v_loop_filter_simple)(uint8_t *dst, ptrdiff_t stride, int flim)
void(* vp8_h_loop_filter16y)(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void ff_vp8_h_loop_filter8uv_inner_msa(uint8_t *src_u, uint8_t *src_v, ptrdiff_t pitch, int b_limit_in, int limit_in, int thresh_in)
void(* vp8_idct_dc_add)(uint8_t *dst, int16_t block[16], ptrdiff_t stride)
void(* vp8_v_loop_filter16y_inner)(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void ff_vp8_idct_add_msa(uint8_t *dst, int16_t input[16], ptrdiff_t stride)
void ff_vp8_luma_dc_wht_msa(int16_t block[4][4][16], int16_t input[16])
void ff_vp8_idct_dc_add4uv_msa(uint8_t *dst, int16_t block[4][16], ptrdiff_t stride)
void ff_vp8_h_loop_filter16_inner_msa(uint8_t *src, ptrdiff_t pitch, int32_t e, int32_t i, int32_t h)
void ff_vp8_idct_dc_add_msa(uint8_t *dst, int16_t in_dc[16], ptrdiff_t stride)