Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for H264 lpf and weight/biweight functions

2015-04-30 Thread Michael Niedermayer
On Thu, Apr 30, 2015 at 02:08:31PM +, Nedeljko Babic wrote: > LGTM applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you think the mosad wants you dead since a long time then you are either wrong or dead since a long time. signature.asc De

Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for H264 lpf and weight/biweight functions

2015-04-22 Thread Shivraj Patil
-Original Message- From: ffmpeg-devel-boun...@ffmpeg.org [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of Timothy Gu Sent: 21 April 2015 00:28 To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for

Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for H264 lpf and weight/biweight functions

2015-04-21 Thread Timothy Gu
On Tue, Apr 21, 2015 at 10:22:48AM +, Parag Salasakar wrote: > These are 'optimization' patches for MSA. > We surely have plans to add runtime CPU detection code in near future as a > separate patch. OK, looking forward to that. Timothy ___ ffmpeg-d

Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for H264 lpf and weight/biweight functions

2015-04-21 Thread Parag Salasakar
, April 21, 2015 1:59 AM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for H264 lpf and weight/biweight functions On Mon, Apr 20, 2015 at 12:04 PM James Almer wrote: > > For that matter, do mips processor

Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for H264 lpf and weight/biweight functions

2015-04-20 Thread Timothy Gu
On Mon, Apr 20, 2015 at 12:04 PM James Almer wrote: > > For that matter, do mips processors even have some sort of cpuid > instruction at all? AFAIK it does. See: - https://github.com/torvalds/linux/blob/master/arch/mips/kernel/cpu-probe.c#L519-L520 - https://github.com/torvalds/linux/blob/mast

Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for H264 lpf and weight/biweight functions

2015-04-20 Thread James Almer
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. > > Timothy User selectable cpuflags

Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for H264 lpf and weight/biweight functions

2015-04-20 Thread Timothy Gu
On Mon, Apr 20, 2015 at 2:54 AM wrote: > From: Shivraj Patil > > Signed-off-by: Shivraj Patil > --- > libavcodec/h264dsp.c|1 + > libavcodec/h264dsp.h|2 + > libavcodec/mips/Makefile|2 + > libavcodec/mips/h264dsp_init_mips.c | 74 + >