avcodec: optimize mathops for Loongson-3 v1

Multimedia / FFmpeg - ZhouXiaoyong [loongson.cn] - 26 April 2015 19:25 UTC

HAVE_LOONGSON is replaced by HAVE_LOONGSON3. Even Loongson-2E and 2F support Loongson SIMD instructs but have low performance for decoding. We plan to focus on optimizing Loongson-3A1000, 3B1500 and 3A1500, and modify the configure file to support Loongson-2 series later by adding HAVE_LOONGSON2.

0ace686 avcodec: optimize mathops for Loongson-3 v1
libavcodec/mathops.h | 3 ++
libavcodec/mips/mathops.h | 78 ++++++++++++++++++++++++++++++++++++++++-----
2 files changed, 73 insertions(+), 8 deletions(-)

  • Share