[FFmpeg-devel] [PATCH v3 2/5] avcodec/mips: Refine get_cabac_inline_mips.

Michael Niedermayer michael at niedermayer.cc
Wed Mar 31 17:39:01 EEST 2021


On Tue, Mar 30, 2021 at 08:51:52PM +0800, Shiyou Yin wrote:
> 1. Refined function get_cabac_inline_mips.
> 2. Optimize function get_cabac_bypass and get_cabac_bypass_sign.
> 
> Speed of decoding h264: 4.89x ==> 5.05x(tested on 3A4000).
> ---
>  libavcodec/mips/cabac.h | 131 +++++++++++++++++++++++++++++++++++++-----------
>  1 file changed, 102 insertions(+), 29 deletions(-)

This breaks fate with qemu mips

--- ffmpeg/tests/ref/fate/hevc-cabac-tudepth	2021-03-26 18:34:55.142789579 +0100
+++ tests/data/fate/hevc-cabac-tudepth	2021-03-31 16:36:50.613173111 +0200
@@ -3,4 +3,4 @@
 #codec_id 0: rawvideo
 #dimensions 0: 64x64
 #sar 0: 0/1
-0,          0,          0,        1,    12288, 0x0127a0d9
+0,          0,          0,        1,    12288, 0xa330b3bd
Test hevc-cabac-tudepth failed. Look at tests/data/fate/hevc-cabac-tudepth.err for details.
ffmpeg/tests/Makefile:255: recipe for target 'fate-hevc-cabac-tudepth' failed
make: *** [fate-hevc-cabac-tudepth] Error 1

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210331/cb52eebb/attachment.sig>


More information about the ffmpeg-devel mailing list