Re: [FFmpeg-devel] [PATCH] Disable MSA for big-endian mips cpu

2017-05-26 Thread Shivraj Patil
...@niedermayer.cc] Sent: 26 May 2017 19:13 To: FFmpeg development discussions and patches Cc: Shivraj Patil Subject: Re: [FFmpeg-devel] [PATCH] Disable MSA for big-endian mips cpu On Fri, May 26, 2017 at 03:40:20PM +0200, Michael Niedermayer wrote: > On Fri, May 26, 2017 at 04:08:55PM +0530, shivraj

Re: [FFmpeg-devel] [PATCH] Disable MSA for big-endian mips cpu

2017-05-26 Thread Shivraj Patil
26 To: FFmpeg development discussions and patches Cc: Shivraj Patil Subject: Re: [FFmpeg-devel] [PATCH] Disable MSA for big-endian mips cpu Hi, On Fri, May 26, 2017 at 6:38 AM, mailto:shivraj.pa...@imgtec.com>> wrote: From: Shivraj Patil mailto:shivraj.pa...@imgtec.com>> Signed-off-

Re: [FFmpeg-devel] [PATCH] Disable MSA optimization for big endian arch

2017-05-18 Thread Shivraj Patil
h On Mon, Apr 24, 2017 at 05:33:22PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > Signed-off-by: Shivraj Patil > --- > configure |4 > 1 file changed, 4 insertions(+) > > diff --git a/configure b/configure > index 1e3463c..c63a48

Re: [FFmpeg-devel] [PATCH] Disable MSA optimization for big endian arch

2017-05-14 Thread Shivraj Patil
Hi, Can anyone review the patch please? -Original Message- From: Shivraj Patil Sent: 24 April 2017 17:33 To: ffmpeg-devel@ffmpeg.org Cc: Shivraj Patil Subject: [PATCH] Disable MSA optimization for big endian arch From: Shivraj Patil Signed-off-by: Shivraj Patil --- configure |4

Re: [FFmpeg-devel] [PATCH] Build fix for MIPS

2017-04-05 Thread Shivraj Patil
Hi, Updated the patch as per comments. As hevcpred_init_mips.c needs definition of HAVE_MSA and av_cold, now I have included config.h & libavutil/attributes.h in this file. Thanks, Shivraj From: Ronald S. Bultje [mailto:rsbul...@gmail.com] Sent: 04 April 2017 17:47 To: Shivraj Pati

Re: [FFmpeg-devel] [PATCH] Build fix for MIPS

2017-04-04 Thread Shivraj Patil
MIPS On Fri, Mar 31, 2017 at 05:32:55AM +, Shivraj Patil wrote: > > > Hi, > > On Thu, Mar 30, 2017 at 2:21 AM, > mailto:shivraj.pa...@imgtec.com>> wrote: > From: Shivraj Patil > mailto:shivraj.pa...@imgtec.com>> > > Signed-off-by: Shivra

Re: [FFmpeg-devel] [PATCH] Build fix for MIPS

2017-03-30 Thread Shivraj Patil
Hi, On Thu, Mar 30, 2017 at 2:21 AM, mailto:shivraj.pa...@imgtec.com>> wrote: From: Shivraj Patil mailto:shivraj.pa...@imgtec.com>> Signed-off-by: Shivraj Patil mailto:shivraj.pa...@imgtec.com>> --- libavcodec/mips/hevcpred_mips.h |2 +- 1 file changed, 1 insert

[FFmpeg-devel] Tools for MIPS MSA (MIPS SIMD-Arch)

2015-10-09 Thread Shivraj Patil
Hi all, Please find below the toolchain and QEMU installables for the build and test of MIPS p5600 and i6400 cpu targets, MIPS Toolchain: * Download the toolchain for MIPS 32Bit (p5600) from following link (For 64Bit linux host) http://codescape-mips-sdk.imgtec.com/components/toolcha

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mips: build fix for MSA 64bit

2015-10-08 Thread Shivraj Patil
at 02:47:52PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > Modified datatype of function argument (pitch from int32_t to ptrdiff_t). > > Signed-off-by: Shivraj Patil > --- > libavcodec/mips/vp9_lpf_msa.c | 42 > ---

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mips: build fix for MSA

2015-10-08 Thread Shivraj Patil
-Original Message- From: Michael Niedermayer [mailto:mich...@niedermayer.cc] Sent: 08 October 2015 00:16 To: FFmpeg development discussions and patches Cc: Shivraj Patil; Parag Salasakar; Manojkumar Bhosale Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mips: build fix for MSA On Wed

Re: [FFmpeg-devel] [PATCH] avutil: runtime cpu detection for mips

2015-10-01 Thread Shivraj Patil
On Wed, Sep 30, 2015 at 02:21:18PM +, Shivraj Patil wrote: > > On Wed, Sep 30, 2015 at 07:03:46PM +0530, shivraj.pa...@imgtec.com wrote: > > From: Shivraj Patil > [...] > > > +static int get_cpuinfo(uint32_t *hwcap) { > > +FILE *f = fopen("/proc/cp

Re: [FFmpeg-devel] [PATCH] avutil: runtime cpu detection for mips

2015-09-30 Thread Shivraj Patil
imgtec.com> writes: > +FILE *f = fopen("/proc/cpuinfo", "r"); Is this what every other software for mips does? How does the kernel (or whatever sets cpuinfo) know? Shivraj:- We have used generic cpuinfo as it is unrestricted to access from user space compared to the kernel setting hwcaps

Re: [FFmpeg-devel] [PATCH] avutil: runtime cpu detection for mips

2015-09-30 Thread Shivraj Patil
On Wed, Sep 30, 2015 at 07:03:46PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil [...] > +static int get_cpuinfo(uint32_t *hwcap) { > +FILE *f = fopen("/proc/cpuinfo", "r"); under qemu i get this: cpu_flags(raw) = 0x cpu_flags_s

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mips: h264qpel init add missing mc00 msa optimization

2015-08-04 Thread Shivraj Patil
Hi, -Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of ??? Sent: 04 August 2015 17:35 To: ffmpeg-devel Subject: [FFmpeg-devel] [PATCH 2/2] avcodec/mips: h264qpel init add missing mc00 msa optimization From 734eabc92df1b6ca26a943f9723e47a838d859f7

Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP8 functions

2015-08-04 Thread Shivraj Patil
Hi, +++ b/libavcodec/mips/vp8dsp_init_mips.c Is there a reason the init code lives in a different file than the implementations? It seems to me all symbols could be static if the init code lived in the same file as the implementation. This isn't a big deal, just wondering. Shivraj:- Yes, the f

Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP8 functions

2015-08-03 Thread Shivraj Patil
Hi, On Mon, Jul 27, 2015 at 6:01 AM, mailto:shivraj.pa...@imgtec.com>> wrote: +++ b/libavcodec/mips/vp8dsp_init_mips.c Is there a reason the init code lives in a different file than the implementations? It seems to me all symbols could be static if the init code lived in the same file as the

Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP9 bilinear functions

2015-07-27 Thread Shivraj Patil
Hi, On Mon, Jul 27, 2015 at 7:59 AM, mailto:shivraj.pa...@imgtec.com>> wrote: From: Shivraj Patil mailto:shivraj.pa...@imgtec.com>> Signed-off-by: Shivraj Patil mailto:shivraj.pa...@imgtec.com>> --- libavcodec/mips/vp9_mc_msa.c | 2123 ++

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP9 intra functions

2015-07-23 Thread Shivraj Patil
From: Ronald S. Bultje [mailto:rsbul...@gmail.com] Sent: 16 July 2015 20:49 To: FFmpeg development discussions and patches Cc: Rob Isherwood; Shivraj Patil Subject: Re: [FFmpeg-devel] [PATCH 4/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP9 intra functions Hi, On Thu, Jul 9, 2015

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP9 idct functions

2015-07-22 Thread Shivraj Patil
Hi, On Thu, Jul 9, 2015 at 9:15 AM, mailto:shivraj.pa...@imgtec.com>> wrote: +void ff_idct_idct_16x16_add_msa(uint8_t *dst, ptrdiff_t stride, +int16_t *block, int eob) +{ +vp9_idct16x16_colcol_addblk_msa(block, dst, stride); +memset(block, 0, 16 * 16 * siz

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP9 lpf functions

2015-07-20 Thread Shivraj Patil
Hi, On Thu, Jul 9, 2015 at 9:15 AM, mailto:shivraj.pa...@imgtec.com>> wrote: +if (__msa_test_bz_v(flat)) { +p1_d = __msa_copy_u_d((v2i64) p1_out, 0); +p0_d = __msa_copy_u_d((v2i64) p0_out, 0); +q0_d = __msa_copy_u_d((v2i64) q0_out, 0); +q1_d = __msa_copy_u_d((

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for pixblock functions

2015-06-29 Thread Shivraj Patil
Hi, May I request somebody from maintainers to review this patch please? -Original Message- From: Shivraj Patil Sent: 14 June 2015 23:26 To: ffmpeg-devel@ffmpeg.org Cc: Rob Isherwood; Shivraj Patil Subject: [PATCH 5/5] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for pixblock

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

2015-04-22 Thread Shivraj Patil
H264 lpf and weight/biweight functions 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|