[FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for H264 lpf and weight/biweight functions
jamrial at gmail.com
Mon Apr 20 21:03:16 CEST 2015
On 20/04/15 3:58 PM, Timothy Gu wrote:
> You should fold the _init_msa() function into this function. You also need
> to add the flags into libavutil/mips/cpu.h as the user might not want to
> use MSA at runtime.
> See libavutil/cpu.h and libavutil/*/cpu.h.
User selectable cpuflags are mainly for debugging. Pretty much only devs ever use them.
For that matter, do mips processors even have some sort of cpuid instruction at all? Since
these optimizations all rely on configure time options to choose what feature sets are
compiled and used, I'm going to guess no. Otherwise it would have been done in a similar
fashion as x86 and arm from the get go.
More information about the ffmpeg-devel