[FFmpeg-devel] [PATCH v2 0/4] MIPS MSA & MMI Runtime detection support
Jiaxun Yang
jiaxun.yang at flygoat.com
Wed Jun 3 05:37:56 EEST 2020
On Tue, 2 Jun 2020 22:15:03 +0800
Jiaxun Yang <jiaxun.yang at flygoat.com> wrote:
> This series adds MIPS MSA & MMI runtime detection support
>
> Please review.
>
> Thanks!
>
> v2:
> - Add CPUCFG support.
> - Add "-mloongson-ext" to MMIFLAGS for Loongson-3 as well.
> (Loongson2F don't need this flag)
Sorry that I didn't receive Shiyou's review suggestions. Something went
wrong with my mailbox.
Anyway I'll send v3 to address these issues very soon.
Thanks lot!
>
> Jiaxun Yang (4):
> ffbuild: Refine MIPS handling
> libavutils: Add parse_r helper for MIPS
> libavutil: Detect MMI and MSA flags for MIPS
> libavcodec: Enable runtime detection for MIPS MMI & MSA
>
> configure | 179
> ++++++++++++-------- ffbuild/common.mak |
> 10 +- libavcodec/mips/Makefile | 3 +-
> libavcodec/mips/blockdsp_init_mips.c | 22 ++-
> libavcodec/mips/cabac.h | 2 +-
> libavcodec/mips/h263dsp_init_mips.c | 12 +-
> libavcodec/mips/h264chroma_init_mips.c | 22 ++-
> libavcodec/mips/h264dsp_init_mips.c | 25 ++-
> libavcodec/mips/h264pred_init_mips.c | 25 ++-
> libavcodec/mips/h264qpel_init_mips.c | 22 ++-
> libavcodec/mips/hevcdsp_init_mips.c | 24 ++-
> libavcodec/mips/hevcpred_init_mips.c | 12 +-
> libavcodec/mips/hpeldsp_init_mips.c | 22 ++-
> libavcodec/mips/idctdsp_init_mips.c | 24 ++-
> libavcodec/mips/me_cmp_init_mips.c | 12 +-
> libavcodec/mips/mpegvideo_init_mips.c | 22 ++-
> libavcodec/mips/mpegvideoencdsp_init_mips.c | 13 +-
> libavcodec/mips/pixblockdsp_init_mips.c | 25 ++-
> libavcodec/mips/qpeldsp_init_mips.c | 12 +-
> libavcodec/mips/vc1dsp_init_mips.c | 22 ++-
> libavcodec/mips/videodsp_init.c | 12 +-
> libavcodec/mips/vp3dsp_init_mips.c | 22 ++-
> libavcodec/mips/vp8dsp_init_mips.c | 22 ++-
> libavcodec/mips/vp9dsp_init_mips.c | 22 ++-
> libavcodec/mips/wmv2dsp_init_mips.c | 12 +-
> libavcodec/mips/xvididct_init_mips.c | 13 +-
> libavutil/cpu.c | 10 ++
> libavutil/cpu.h | 3 +
> libavutil/cpu_internal.h | 2 +
> libavutil/mips/Makefile | 2 +-
> libavutil/mips/asmdefs.h | 42 +++++
> libavutil/mips/cpu.c | 134 +++++++++++++++
> libavutil/mips/cpu.h | 28 +++
> libavutil/tests/cpu.c | 3 +
> tests/checkasm/checkasm.c | 3 +
> 35 files changed, 655 insertions(+), 185 deletions(-)
> create mode 100644 libavutil/mips/cpu.c
> create mode 100644 libavutil/mips/cpu.h
>
More information about the ffmpeg-devel
mailing list