summaryrefslogtreecommitdiff
path: root/libavcodec/mips/h264chroma_mmi.c
Commit message (Collapse)AuthorAge
* avcodec/mips: [loongson] refine optimization in h264_chroma.Shiyou Yin2018-12-01
| | | | | | | Remove invalid operation in the case x and y all equal 0, this refine made about 2% speedup for H264 decode on loongson platform. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mips: [loongson] reoptimize h264_chroma_mc8_mmi v2.Shiyou Yin2018-09-02
| | | | | | | Reoptimize function ff_put_h264_chroma_mc8_mmi and ff_avg_h264_chroma_mc8_mmi. Performance of h264 decoding improved about 5%(from 69fps to 73fps, tested on loongson 3A3000). Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'e4a94d8b36c48d95a7d412c40d7b558422ff659c'James Almer2017-03-21
| | | | | | | * commit 'e4a94d8b36c48d95a7d412c40d7b558422ff659c': h264chroma: Change type of stride parameters to ptrdiff_t Merged-by: James Almer <jamrial@gmail.com>
* avcodec/mips: loongson optimize mmi load and store operatorsZhou Xiaoyong2016-10-23
| | | | | | | | 1.MMI_ load/store macros are defined in libavutil/mips/mmiutils.h 2.Replace some unnecessary unaligned access with aligned operator 3.The MMI_ load/store is compatible with cpu loongson2e/2f which not support instructions start with gs Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mips/h264chroma_mmi: Version 2 of the optimizations for loongson mmiZhouXiaoyong2016-05-21
| | | | | | | | 1. no longer use the register names directly and optimized code format 2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator 3. use uld and mtc1 to workaround cpu 3A2000 gslwlc1 bug (gslwlc1 instruction extension bug in O32 ABI) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec: loongson3 optimized h264chroma put and avg with mmi周晓勇2015-06-02
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>