[FFmpeg-devel] [PATCH] avcodec/mips: [loongson] optimize theora decoding in vp3dsp.

Michael Niedermayer michael at niedermayer.cc
Fri Dec 28 00:35:59 EET 2018


On Thu, Dec 27, 2018 at 02:16:22PM +0800, gxw wrote:
> Optimize theora decoding with msa in functions:
> 1. ff_vp3_idct_add_msa
> 2. ff_vp3_idct_put_msa
> 3. ff_vp3_idct_dc_add_msa
> 4. ff_vp3_v_loop_filter_msa
> 5. ff_vp3_h_loop_filter_msa
> 6. ff_put_no_rnd_pixels_l2_msa
> 
> Theora decoding speed improved about 36%(from 22fps to 30fps, Tested on loongson 2K1000).
> ---
>  libavcodec/mips/Makefile           |   2 +
>  libavcodec/mips/vp3dsp_idct_msa.c  | 662 +++++++++++++++++++++++++++++++++++++
>  libavcodec/mips/vp3dsp_init_mips.c |  46 +++
>  libavcodec/mips/vp3dsp_mips.h      |  37 +++
>  libavcodec/vp3dsp.c                |   2 +
>  libavcodec/vp3dsp.h                |   1 +
>  6 files changed, 750 insertions(+)
>  create mode 100644 libavcodec/mips/vp3dsp_idct_msa.c
>  create mode 100644 libavcodec/mips/vp3dsp_init_mips.c
>  create mode 100644 libavcodec/mips/vp3dsp_mips.h

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/20181227/e50e8fe5/attachment.sig>


More information about the ffmpeg-devel mailing list