summaryrefslogtreecommitdiff
path: root/libavcodec/mips/h264dsp_mips.h
diff options
context:
space:
mode:
authorgxw <guxiwei-hf@loongson.cn>2021-04-12 23:37:03 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2021-05-07 17:53:23 +0200
commit6458c6bdb4931e1903b5b39df82f32e673e15f12 (patch)
tree96c05dd6185477454264f635336b9dbcc6f18106 /libavcodec/mips/h264dsp_mips.h
parent5ab8e8bc922586608299c4bf690346941f338df0 (diff)
avcodec/mips: Optimize function ff_h264_loop_filter_strength_msa.
Speed of decoding H264 1080P: 5.05x ==> 5.13x Signed-off-by: Shiyou Yin <yinshiyou-hf@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mips/h264dsp_mips.h')
-rw-r--r--libavcodec/mips/h264dsp_mips.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mips/h264dsp_mips.h b/libavcodec/mips/h264dsp_mips.h
index 35e16c41b3..5847ef36fe 100644
--- a/libavcodec/mips/h264dsp_mips.h
+++ b/libavcodec/mips/h264dsp_mips.h
@@ -319,6 +319,10 @@ void ff_vp8_pred8x8_129_dc_8_msa(uint8_t *src, ptrdiff_t stride);
void ff_vp8_pred16x16_127_dc_8_msa(uint8_t *src, ptrdiff_t stride);
void ff_vp8_pred16x16_129_dc_8_msa(uint8_t *src, ptrdiff_t stride);
+void ff_h264_loop_filter_strength_msa(int16_t bS[2][4][4], uint8_t nnz[40],
+ int8_t ref[2][40], int16_t mv[2][40][2], int bidir, int edges,
+ int step, int mask_mv0, int mask_mv1, int field);
+
void ff_h264_add_pixels4_8_mmi(uint8_t *_dst, int16_t *_src, int stride);
void ff_h264_idct_add_8_mmi(uint8_t *dst, int16_t *block, int stride);
void ff_h264_idct8_add_8_mmi(uint8_t *dst, int16_t *block, int stride);