[FFmpeg-devel] [PATCH 1/2] avcodec/mips: [loongson] reoptimize put and add pixels clamped functions.

Michael Niedermayer michael at niedermayer.cc
Wed Sep 5 22:43:55 EEST 2018


On Wed, Sep 05, 2018 at 06:31:05PM +0800, Shiyou Yin wrote:
> Simplify the usage of intermediate variable addr and remove unused variable all64
> in following functions:
> 1. ff_put_pixels_clamped_mmi
> 2. ff_put_signed_pixels_clamped_mmi
> 3. ff_add_pixels_clamped_mmi
> 
> This optimization speed up mpeg4 decode about 2% on loongson platform(tested with 3A3000).
> ---
>  libavcodec/mips/idctdsp_mmi.c | 155 +++++++++++++++++-------------------------
>  1 file changed, 62 insertions(+), 93 deletions(-)

will apply

thx

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

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180905/514bf6c7/attachment.sig>


More information about the ffmpeg-devel mailing list