[FFmpeg-devel] [PATCH v3] avcodec/mathops: Optimize generic mid_pred function

Michael Niedermayer michael at niedermayer.cc
Tue Mar 7 22:45:27 EET 2023


On Tue, Mar 07, 2023 at 05:08:27PM +0800, Junxian Zhu wrote:
> From: Junxian Zhu <zhujunxian at oss.cipunited.com>
> 
> Rewrite mid_pred function in generic mathops.h, reduce branch jump to improve performance. And because nowadays new version compiler can compile enough short asmbbely code as handwritting in these function, so remove specified optimized mips inline asmbbely mathops.h.

as you write, that it improves performance
what speed effect does this have exactly?
thx

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

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- 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/20230307/7fdefef7/attachment.sig>


More information about the ffmpeg-devel mailing list