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

2023-03-15 Thread YunQiang Su
Michael Niedermayer 于2023年3月8日周三 04:45写道: > > On Tue, Mar 07, 2023 at 05:08:27PM +0800, Junxian Zhu wrote: > > From: Junxian Zhu > > > > Rewrite mid_pred function in generic mathops.h, reduce branch jump to > > improve performance. And because nowadays new version compiler can compile > > enoug

[FFmpeg-devel] [PATCH] MIPS: replace addi with addiu

2019-07-01 Thread YunQiang Su
addi/daddi are deprecated by MIPS for years, and MIPS r6 remove them. They should be replace with addiu: ADDIU performs the same arithmetic operation but does not trap on overflow. --- libavcodec/mips/cabac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mip