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

2017-06-01 Thread shivraj.patil
From: Shivraj Patil The current upstreamed code has been written and tested for Little Endian systems. We do have plans to add the Big Endian support in near future, but till that time, need to disable all to avoid its usage and failures. Signed-off-by: Shivraj Patil

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

2017-05-26 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- libavcodec/mips/Makefile|2 ++ libavcodec/mips/blockdsp_init_mips.c|8 libavcodec/mips/h263dsp_init_mips.c |8

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

2017-04-24 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- configure |4 1 file changed, 4 insertions(+) diff --git a/configure b/configure index 1e3463c..c63a48a 100755 --- a/configure +++ b/configure @@ -5357,6 +5357,10 @@ elif enabled

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

2017-03-30 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- libavcodec/mips/hevcpred_mips.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mips/hevcpred_mips.h b/libavcodec/mips/hevcpred_mips.h index

[FFmpeg-devel] [PATCH] Cherry-pick commit 6803a298f4338c19c3032d2417c6e857eb6d95be Support for MIPS cpu P6600

2016-10-05 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil Signed-off-by: Michael Niedermayer --- configure |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index

[FFmpeg-devel] [PATCH] Support for MIPS cpu P6600

2016-08-05 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil Signed-off-by: Michael Niedermayer --- configure |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index

[FFmpeg-devel] [PATCH] Support for MIPS cpu P6600

2016-08-05 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- configure |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 9f5b31f..8e30c68 100755 --- a/configure +++ b/configure @@ -4346,7 +4346,7

[FFmpeg-devel] [PATCH 2/2] configure: build fix for P5600 with mips code restructuring

2016-04-26 Thread shivraj.patil
From: Shivraj Patil Note:- backporting commit 15ef98afd10b3696d29fb6d19606ba03a9dd47ad from head Signed-off-by: Shivraj Patil --- configure | 252 ++ 1 file changed, 120

[FFmpeg-devel] [PATCH 1/2] mips: add support for R6

2016-04-26 Thread shivraj.patil
From: Vicente Olivert Riera Note:- backporting commit ad16eff64ba78d8dc98a8324640025c7cb2857f3 from head Understanding the mips32r6 and mips64r6 ISAs in the configure script is not enough. In order to have full support for MIPS R6 in FFmpeg we need to be able to build

[FFmpeg-devel] [PATCH] Backporting commits from head 1) commit hash 15ef98afd10b3696d29fb6d19606ba03a9dd47ad (configure: build fix for P5600 with mips code restructuring) 2) commit hash ad16eff64ba78d

2016-04-25 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- configure | 252 ++ libavcodec/mips/aaccoder_mips.c | 4 + libavcodec/mips/aacdec_mips.h | 2 +

[FFmpeg-devel] [PATCH] configure: build fix for P5600 along option --disable-msa

2016-03-11 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- configure |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 1516b01..1b189328 100755 --- a/configure +++ b/configure @@ -5118,7 +5118,8 @@

[FFmpeg-devel] [PATCH] configure: build fix for P5600 with mips code restructuring

2016-03-07 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- configure | 312 +++-- 1 file changed, 117 insertions(+), 195 deletions(-) diff --git a/configure b/configure index

[FFmpeg-devel] [PATCH 2/2] configure: removed redundant condition check

2016-03-03 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- configure | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/configure b/configure index 45d527a..3de6dcf 100755 --- a/configure +++ b/configure @@

[FFmpeg-devel] [PATCH 1/2] configure: build fix for mips cpu p5600

2016-03-03 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- configure | 217 - 1 file changed, 101 insertions(+), 116 deletions(-) diff --git a/configure b/configure index

[FFmpeg-devel] [PATCH 2/2] configure: build fix for mips cpu p5600

2016-03-01 Thread shivraj.patil
From: Shivraj Patil For P5600 mips cpu, cpuflags="-march=p5600" sets mips32r5 by default. Current configuration sets mips32r2 for p5600 cpu, hence ldflag check results in, error: '-mips32r2' conflicts with the other architecture options, which specify a mips32r5

[FFmpeg-devel] [PATCH 1/2] disabled loongson2, loongson3 and mmi for non-loongson cpu

2016-03-01 Thread shivraj.patil
From: Shivraj Patil For mips P5600/I6400 configure, assembler throws errors at check_inline_asm for loongson2, loongson3 and mmi as the instructions opcode not supported on this processor. Hence disabled loongson2, loongson3 and mmi in non loogson mips cpus.

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

2015-10-08 Thread shivraj.patil
From: Shivraj Patil Modified sps and pps access from old HEVCContext(s) structure to newly introduced HEVCParamSets(ps). Signed-off-by: Shivraj Patil --- libavcodec/mips/hevcpred_msa.c | 282 1 file

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

2015-10-08 Thread shivraj.patil
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 - 1 file changed, 21 insertions(+),

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

2015-10-07 Thread shivraj.patil
From: Shivraj Patil Modified sps and pps access from old HEVCContext(s) structure to newly introduced HEVCParamSets(ps) Signed-off-by: Shivraj Patil --- libavcodec/mips/hevcpred_msa.c | 282 1 file

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

2015-10-07 Thread shivraj.patil
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 - 1 file changed, 21 insertions(+),

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

2015-09-30 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- libavcodec/mips/hevcdsp_init_mips.c |6 +- libavutil/cpu.c | 35 ++ libavutil/cpu.h |8 +++ libavutil/cpu_internal.h|

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

2015-07-27 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/vp9_mc_msa.c | 2123 libavcodec/mips/vp9dsp_init_mips.c |2 + libavcodec/mips/vp9dsp_mips.h | 32 + 3 files changed, 2157

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

2015-07-23 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/Makefile |3 +- libavcodec/mips/vp9_intra_msa.c| 533 libavcodec/mips/vp9dsp_init_mips.c | 31 +++

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

2015-07-22 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/Makefile |3 +- libavcodec/mips/vp9_idct_msa.c | 2138 libavcodec/mips/vp9dsp_init_mips.c | 24 +

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

2015-07-09 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for VP9 idct functions in new file vp9_idct_msa.c Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/Makefile |3 +- libavcodec/mips/vp9_idct_msa.c | 1811

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

2015-07-09 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for VP9 lpf functions in new file vp9_lpf_msa.c Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/Makefile|3 +- libavcodec/mips/vp9_lpf_msa.c | 2503

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

2015-07-09 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for VP9 intra functions in new file vp9_intra_msa.c Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/Makefile | 3 +- libavcodec/mips/vp9_intra_msa.c| 880

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

2015-06-29 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for mpegvideo functions in new file mpegvideo_msa.c Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/Makefile | 2 + libavcodec/mips/mpegvideo_init_mips.c |

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

2015-06-29 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for me_cmp functions in new file me_cmp_msa.c Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/me_cmp.c | 2 + libavcodec/me_cmp.h | 1 +

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

2015-06-29 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for idctdsp functions in new file idctdsp_msa.c and simple_idct_msa.c Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/idctdsp.c| 2 + libavcodec/idctdsp.h

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

2015-06-29 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for mpegvideoencdsp functions in new file mpegvideoencdsp_msa.c Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/Makefile| 2 +

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

2015-06-14 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for pixblock functions in new file pixblockdsp_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com ---

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

2015-06-14 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for block functions in new file blockdsp_msa.c Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/blockdsp.c| 2 + libavcodec/blockdsp.h| 1 +

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

2015-06-14 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for hpel functions in new file hpeldsp_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com ---

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

2015-06-14 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for H263 lpf functions in new file h263dsp_msa.c Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/h263dsp.c| 2 + libavcodec/h263dsp.h| 1 +

[FFmpeg-devel] [PATCH] avcodec/mips: Add 'const' to static arrays in HEVC MSA code

2015-06-11 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/hevc_idct_msa.c | 12 ++-- libavcodec/mips/hevc_mc_uni_msa.c | 2 +- libavcodec/mips/hevcpred_msa.c| 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-)

[FFmpeg-devel] [PATCH 1/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for AVC chroma mc functions

2015-06-10 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for AVC chroma mc functions in new file h264chroma_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com

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

2015-06-10 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for AVC idct functions in new file h264idct_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com ---

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

2015-06-10 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for AVC intra prediction functions in new file h264pred_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil

[FFmpeg-devel] [PATCH 1/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for AVC chroma mc functions

2015-06-10 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Added const. Will do same for MIPS MSA hevc code in next patch. Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/Makefile |1 + libavcodec/mips/h264chroma_init_mips.c | 21 +

[FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC loop filter and sao functions

2015-06-09 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC loop filter and sao functions in new file hevc_lpf_sao_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h In this patch, in comparision with

[FFmpeg-devel] [PATCH 2/3] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC loop filter and sao functions

2015-06-04 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC loop filter and sao functions in new file hevc_lpf_sao_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil

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

2015-06-04 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC idct functions in new file hevc_idct_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com ---

[FFmpeg-devel] [PATCH 3/3] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC intra prediction functions

2015-06-04 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC intra predition functions in new file hevcpred_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil

[FFmpeg-devel] [PATCH 3/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC mc epel functions

2015-06-02 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC mc epel functions. Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/hevcdsp_init_mips.c | 32 + libavcodec/mips/hevcdsp_mips.h | 30 +

[FFmpeg-devel] [PATCH 4/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC uni mc epel functions

2015-06-02 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC uni mc epel functions. Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com ---

[FFmpeg-devel] [PATCH 1/4] avutil/mips: Restructure of generic macros

2015-05-28 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch includes restructuring of existing macros and addition of more generic macros. This change was necessary to avoid repeated review comments in remaining patches which we were about to submit. Also this patch reduces number of code lines

[FFmpeg-devel] [PATCH 3/4] avcodec/mips: Disable uni mc optimizations

2015-05-28 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch removes HEVC code of uni mc cases for time being. It will be added in subsequent patches under different file name. There are total 5 sub-modules of HEVC mc functions, if we add all these modules in one single file, its size would be huge

[FFmpeg-devel] [PATCH 4/4] avcodec/mips: Restructure as per avutil/mips/generic_macros_msa.h

2015-05-28 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch modifies HEVC mc MIPS-SIMD optimized code according to improved version of generic macros. This patch also adds new HEVC header file .libavcodec/mips/hevc_macros_msa.h. Overall, this patch is just upgrading the code with styling changes

[FFmpeg-devel] [PATCH 2/4] avcodec/mips: Restructure as per avutil/mips/generic_macros_msa.h

2015-05-28 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch modifies H264 loopfilter, weighted bi-weighted prediction MIPS-SIMD optimized code according to improved version of generic macros. Also there are minor code alignment changes. Overall, this patch is just upgrading the code with styling

[FFmpeg-devel] [PATCH 2/2] avcodec/mips: Restructure as per avutil/mips/generic_macros_msa.h

2015-05-28 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch modifies HEVC mc MIPS-SIMD optimized code according to improved version of generic macros. Overall, this patch is just upgrading the code with styling changes and will bring it in sync with MIPS-SIMD optimized latest codebase at our end.

[FFmpeg-devel] [PATCH 3/4] avcodec/mips: Disable uni mc optimizations

2015-05-26 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/hevcdsp_init_mips.c | 35 - libavcodec/mips/hevcdsp_mips.h | 49 - libavcodec/mips/hevcdsp_msa.c | 2482 ++- 3 files changed, 74

[FFmpeg-devel] [PATCH 4/4] avcodec/mips: Restructure as per avutil/mips/generic_macros_msa.h

2015-05-26 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/hevc_macros_msa.h | 34 + libavcodec/mips/hevcdsp_msa.c | 2428 + 2 files changed, 876 insertions(+), 1586 deletions(-) create mode

[FFmpeg-devel] [PATCH 2/4] avcodec/mips: Restructure as per avutil/mips/generic_macros_msa.h

2015-05-26 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/h264dsp_msa.c | 1758 +++-- 1 file changed, 634 insertions(+), 1124 deletions(-) diff --git a/libavcodec/mips/h264dsp_msa.c

[FFmpeg-devel] [PATCH 1/4] avutil/mips: Restructure of generic macros

2015-05-26 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Recently we have done little restructuring/styling changes to the optimization sources at our end (like generic macro definitions, their use to reduce code lines, better code alignments etc). This change was also necessary to avoid repeated review

[FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC uni hv mc functions

2015-05-08 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/hevcdsp_init_mips.c | 9 + libavcodec/mips/hevcdsp_mips.h | 9 + libavcodec/mips/hevcdsp_msa.c | 512 3 files changed, 530

[FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC copy and hv mc functions

2015-04-22 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Incorporated review comment. Removed __ from volatile. Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/hevcdsp_init_mips.c | 19 + libavcodec/mips/hevcdsp_mips.h | 20 + libavcodec/mips/hevcdsp_msa.c | 1098

[FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC copy and hv mc functions

2015-04-19 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/mips/hevcdsp_init_mips.c | 19 + libavcodec/mips/hevcdsp_mips.h | 20 + libavcodec/mips/hevcdsp_msa.c | 1098 +++

[FFmpeg-devel] [PATCH 1/2] Makefile: Add support for MSA (MIPS-SIMD-Arch)

2015-04-17 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- Makefile | 2 +- arch.mak | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ca2ce59..fe0e02f 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@

[FFmpeg-devel] [PATCH 2/2] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC horizontal and vertical mc functions

2015-04-17 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavcodec/hevcdsp.c|2 + libavcodec/hevcdsp.h|1 + libavcodec/mips/Makefile|2 + libavcodec/mips/hevcdsp_init_mips.c | 54 ++

[FFmpeg-devel] [PATCH 3/4] configure: add support for 74kf cpu

2015-04-09 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- configure | 5 + 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 788b715..5d741ba 100755 --- a/configure +++ b/configure @@ -3884,6 +3884,11 @@ elif enabled mips;

[FFmpeg-devel] [PATCH 4/4] avutil/mips/intreadwrite: build fix for mips64r6 (instruction 'lwl' not supported)

2015-04-09 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- libavutil/mips/intreadwrite.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/mips/intreadwrite.h b/libavutil/mips/intreadwrite.h index 9ba0491..32084f6 100644

[FFmpeg-devel] [PATCH 1/4] configure: add support for mips32r5, p5600 cpu and msa

2015-04-09 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Imagination Technologies has come up with MIPS Warrior Processor Cores. More details can be found at- http://www.imgtec.com/mips/warrior/pclass.asp http://www.imgtec.com/mips/warrior/iclass.asp This is a preparation patch to submit optimized code for

[FFmpeg-devel] [PATCH 2/4] configure: add support for mips64r6 and i6400 cpu

2015-04-09 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This is a preparation patch to submit optimized code for MSA (MIPS-SIMD-Architecture) Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- configure | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH 1/4] configure: add support for mips32r5, p5600 cpu and msa

2015-04-01 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Note:- This is a preparation patch to submit optimized code for msa(mips simd architecture). Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- configure | 29 + 1 file changed, 29 insertions(+) diff --git

[FFmpeg-devel] [PATCH 2/4] configure: add support for mips64r6 and i6400 cpu

2015-04-01 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com Note:- This is a preparation patch to submit optimized code for msa(mips simd architecture). Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com --- configure | 21 + 1 file changed, 21 insertions(+) diff --git a/configure

[FFmpeg-devel] [PATCH] Added changes in configuration file as per MIPS MSA.

2015-03-24 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com --- configure | 46 ++ 1 file changed, 46 insertions(+) diff --git a/configure b/configure index 4827a4d..8ddc604 100755 --- a/configure +++ b/configure @@ -361,6 +361,7 @@ Optimization options (experts