1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-18 03:19:31 +02:00
FFmpeg/libavcodec/mips
Shiyou Yin 153c607525 avutil/mips: refactor msa load and store macros.
Replace STnxm_UB and LDnxm_SH with new macros ST_{H/W/D}{1/2/4/8}.
The old macros are difficult to use because they don't follow the same parameter passing rules.
Changing details as following:
1. remove LD4x4_SH.
2. replace ST2x4_UB with ST_H4.
3. replace ST4x2_UB with ST_W2.
4. replace ST4x4_UB with ST_W4.
5. replace ST4x8_UB with ST_W8.
6. replace ST6x4_UB with ST_W2 and ST_H2.
7. replace ST8x1_UB with ST_D1.
8. replace ST8x2_UB with ST_D2.
9. replace ST8x4_UB with ST_D4.
10. replace ST8x8_UB with ST_D8.
11. replace ST12x4_UB with ST_D4 and ST_W4.

Examples of new macro: ST_H4(in, idx0, idx1, idx2, idx3, pdst, stride)
ST_H4 store four half-word elements in vector 'in' to pdst with stride.
About the macro name:
1) 'ST' means store operation.
2) 'H/W/D' means type of vector element is 'half-word/word/double-word'.
3) Number '1/2/4/8' means how many elements will be stored.
About the macro parameter:
1) 'in0, in1...' 128-bits vector.
2) 'idx0, idx1...' elements index.
3) 'pdst' destination pointer to store to
4) 'stride' stride of each store operation.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-07-19 01:23:23 +02:00
..
aaccoder_mips.c
aacdec_mips.c
aacdec_mips.h
aacpsdsp_mips.c
aacpsy_mips.h
aacsbr_mips.c
aacsbr_mips.h
ac3dsp_mips.c
acelp_filters_mips.c
acelp_vectors_mips.c
amrwbdec_mips.c
amrwbdec_mips.h
blockdsp_init_mips.c avcodec/mips: [loongson] enable MSA optimization for loongson platform. 2018-12-18 11:59:51 +01:00
blockdsp_mips.h
blockdsp_mmi.c
blockdsp_msa.c
cabac.h avcodec/mips/cabac: replace addi with addiu 2019-07-10 12:54:57 +02:00
celp_filters_mips.c
celp_math_mips.c
compute_antialias_fixed.h
compute_antialias_float.h
constants.c
constants.h
fft_mips.c
fmtconvert_mips.c
h263dsp_init_mips.c
h263dsp_mips.h
h263dsp_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
h264chroma_init_mips.c avcodec/mips: [loongson] enable MSA optimization for loongson platform. 2018-12-18 11:59:51 +01:00
h264chroma_mips.h
h264chroma_mmi.c avcodec/mips: [loongson] refine optimization in h264_chroma. 2018-12-01 01:51:20 +01:00
h264chroma_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
h264dsp_init_mips.c avcodec/mips: [loongson] enable MSA optimization for loongson platform. 2018-12-18 11:59:51 +01:00
h264dsp_mips.h
h264dsp_mmi.c avcodec/mips: [loongson] optimize memset in h264dsp. 2018-09-02 03:37:32 +02:00
h264dsp_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
h264idct_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
h264pred_init_mips.c avcodec/mips: [loongson] enable MSA optimization for loongson platform. 2018-12-18 11:59:51 +01:00
h264pred_mips.h
h264pred_mmi.c
h264pred_msa.c avcodec/mips: Removed generic function call in avc intra msa functions 2017-09-27 21:15:57 +02:00
h264qpel_init_mips.c avcodec/mips: [loongson] enable MSA optimization for loongson platform. 2018-12-18 11:59:51 +01:00
h264qpel_mmi.c
h264qpel_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
hevc_idct_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
hevc_lpf_sao_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
hevc_macros_msa.h avcodec/mips: cleanup unused macros 2017-11-14 20:48:36 +01:00
hevc_mc_bi_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
hevc_mc_biw_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
hevc_mc_uni_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
hevc_mc_uniw_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
hevcdsp_init_mips.c avcodec/mips: [loongson] optimize put_hevc_qpel_h_8 with mmi. 2019-02-02 20:17:37 +01:00
hevcdsp_mips.h avcodec/mips: [loongson] optimize put_hevc_qpel_h_8 with mmi. 2019-02-02 20:17:37 +01:00
hevcdsp_mmi.c avcodec/mips: [loongson] optimize put_hevc_qpel_h_8 with mmi. 2019-02-02 20:17:37 +01:00
hevcdsp_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
hevcpred_init_mips.c
hevcpred_mips.h
hevcpred_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
hpeldsp_init_mips.c avcodec/mips: [loongson] enable MSA optimization for loongson platform. 2018-12-18 11:59:51 +01:00
hpeldsp_mips.h
hpeldsp_mmi.c avcodec/mips: [loongson] fix bug of svq3-watermark failed in fate test. 2018-09-14 01:52:29 +02:00
hpeldsp_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
idctdsp_init_mips.c avcodec/mips: [loongson] enable MSA optimization for loongson platform. 2018-12-18 11:59:51 +01:00
idctdsp_mips.h avcodec/mips: [loongson] reoptimize simple idct with mmi. 2018-09-02 03:37:32 +02:00
idctdsp_mmi.c avcodec/mips: [loongson] reoptimize put and add pixels clamped functions. 2018-09-05 21:45:52 +02:00
idctdsp_msa.c
iirfilter_mips.c
lsp_mips.h
Makefile avcodec/mips: [loongson] mmi optimizations for VP9 put and avg functions 2019-02-27 01:51:40 +01:00
mathops.h
me_cmp_init_mips.c
me_cmp_mips.h
me_cmp_msa.c
mpegaudiodsp_mips_fixed.c
mpegaudiodsp_mips_float.c
mpegvideo_init_mips.c avcodec/mips: [loongson] enable MSA optimization for loongson platform. 2018-12-18 11:59:51 +01:00
mpegvideo_mips.h
mpegvideo_mmi.c avcodec/mips: [loongson] fix mpeg4 decoding error on loongson platform. 2019-05-26 21:04:18 +02:00
mpegvideo_msa.c
mpegvideoencdsp_init_mips.c
mpegvideoencdsp_msa.c
pixblockdsp_init_mips.c avcodec/mips: [loongson] enable MSA optimization for loongson platform. 2018-12-18 11:59:51 +01:00
pixblockdsp_mips.h
pixblockdsp_mmi.c
pixblockdsp_msa.c
qpeldsp_init_mips.c
qpeldsp_mips.h
qpeldsp_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
sbrdsp_mips.c
simple_idct_mmi.c avcodec/mips: [loongson] reoptimize simple idct with mmi. 2018-09-02 03:37:32 +02:00
simple_idct_msa.c
vc1dsp_init_mips.c
vc1dsp_mips.h avcodec/mips: fix conflicting types error of ff_vc1_h_s_overlap_mmi. 2018-07-14 18:02:26 +02:00
vc1dsp_mmi.c avcodec/mips: [loongson] refine ff_vc1_inv_trans_8x8_mmi. 2018-09-19 00:44:44 +02:00
videodsp_init.c
vp3dsp_idct_mmi.c avcodec/mips: [loongson] optimize theora decoding with mmi. 2019-02-16 19:56:57 +01:00
vp3dsp_idct_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
vp3dsp_init_mips.c avcodec/mips: [loongson] optimize theora decoding with mmi. 2019-02-16 19:56:57 +01:00
vp3dsp_mips.h avcodec/mips: [loongson] optimize theora decoding with mmi. 2019-02-16 19:56:57 +01:00
vp8_idct_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
vp8_lpf_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
vp8_mc_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
vp8dsp_init_mips.c avcodec/mips: [loongson] enable MSA optimization for loongson platform. 2018-12-18 11:59:51 +01:00
vp8dsp_mips.h
vp8dsp_mmi.c avutil/mips: [loongson] simplify macro TRANSPOSE_4H and TRANSPOSE_8B 2018-09-09 12:01:07 +02:00
vp9_idct_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
vp9_intra_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
vp9_lpf_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
vp9_mc_mmi.c avcodec/mips: [loongson] mmi optimizations for VP9 put and avg functions 2019-02-27 01:51:40 +01:00
vp9_mc_msa.c avutil/mips: refactor msa load and store macros. 2019-07-19 01:23:23 +02:00
vp9dsp_init_mips.c avcodec/mips: [loongson] mmi optimizations for VP9 put and avg functions 2019-02-27 01:51:40 +01:00
vp9dsp_mips.h avcodec/mips: [loongson] mmi optimizations for VP9 put and avg functions 2019-02-27 01:51:40 +01:00
wmv2dsp_init_mips.c
wmv2dsp_mips.h
wmv2dsp_mmi.c
xvid_idct_mmi.c
xvididct_init_mips.c
xvididct_mips.h