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

2017-03-29 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 12f57a2..fcd687b 100644 --- a/libavcodec/mips/hevcpred_mips.h +++ b

[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 mips; then enabled mipsdsp && check_inline_asm_f

[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 libavcodec/mips/h264chroma_init_mips.c |8 liba

[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 --- configure |4 +++

[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 @@ elif enabled mips; then enable mi

[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 adb4c27..ea744e2 100755 --- a/configure +++ b/configure @@ -4335,7 +4335,7 @@ elif enabled m

[FFmpeg-devel] [PATCH] Bug fix:- renamed the macro variable which causes segfault for mips r6

2016-10-05 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- libavutil/mips/generic_macros_msa.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavutil/mips/generic_macros_msa.h b/libavutil/mips/generic_macros_msa.h index b1d18dd..0a59619 100644 --- a/libavutil/mi

[FFmpeg-devel] [PATCH] Cherry-pick commit id c1cc13cd2a9b8d6d2810ec42454f328a1a0d5efa avutil/mips/generic_macros_msa: rename macro variable which causes segfault for mips r6

2016-10-05 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil Signed-off-by: Michael Niedermayer --- libavutil/mips/generic_macros_msa.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavutil/mips/generic_macros_msa.h b/libavutil/mips/generic_macros_msa.h index b1d18d

[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 5b069eb..64142e7 100755 --- a/configure +++ b/configure @@ -4336,7 +4336,7 @@ elif enabled m

[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. Signed-off-by: Shivraj Patil ---

[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 processor Due to above error, m

[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 81769ee..45d527a 100755 --- a/configure +++ b/configure @@ -1662,6 +

[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 @@ -5091,15 +5091,13 @@ elif enabled mips; then

[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 3299b1b..81ec105 100755 --- a/configure +++ b/configure @@ -918,6 +9

[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 @@ elif enabled mips; then fi enabled mipsf

[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 + libavcodec/mips/aacpsdsp_mips.c | 4 + libavcode

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

2016-04-25 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 it, and for that we need to

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

2016-04-25 Thread shivraj.patil
From: Shivraj Patil Note:- backporting commit 15ef98afd10b3696d29fb6d19606ba03a9dd47ad from head Signed-off-by: Shivraj Patil --- configure | 252 ++ 1 file changed, 120 insertions(+), 132 deletions(-) diff --git a/configure b/config

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

2015-05-04 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- libavcodec/mips/hevcdsp_init_mips.c | 26 + libavcodec/mips/hevcdsp_mips.h | 40 + libavcodec/mips/hevcdsp_msa.c | 1822 +++ libavutil/mips/generic_macros_msa.h | 533 ++ 4 files changed

[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 Signed-off-by: Shivraj Patil --- libavcodec/mips/hevcdsp_init_mips.c | 9 + libavcodec/mips/hevcdsp_mips.h | 9 + libavcodec/mips/hevcdsp_msa.c | 512 3 files changed, 530 insertions(+) diff --git a/libavcodec/mips/hevcdsp

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

2015-05-26 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- libavcodec/mips/hevcdsp_init_mips.c | 35 - libavcodec/mips/hevcdsp_mips.h | 49 - libavcodec/mips/hevcdsp_msa.c | 2482 ++- 3 files changed, 74 insertions(+), 2492 deletions(-) diff --git a/lib

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

2015-05-26 Thread shivraj.patil
From: Shivraj Patil 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 comments in remaining pat

[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 Signed-off-by: Shivraj Patil --- libavcodec/mips/hevc_macros_msa.h | 34 + libavcodec/mips/hevcdsp_msa.c | 2428 + 2 files changed, 876 insertions(+), 1586 deletions(-) create mode 100644 libavcodec/mips/hevc_macros_msa.h diff --gi

[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 Signed-off-by: Shivraj Patil --- libavcodec/mips/h264dsp_msa.c | 1758 +++-- 1 file changed, 634 insertions(+), 1124 deletions(-) diff --git a/libavcodec/mips/h264dsp_msa.c b/libavcodec/mips/h264dsp_msa.c index f728fcc..fce01ac 100644 ---

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

2015-05-28 Thread shivraj.patil
From: Shivraj Patil 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 due to maximum use of gene

[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 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 changes and will bring i

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

2015-05-28 Thread shivraj.patil
From: Shivraj Patil 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 (~750k) & difficult to ma

[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 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 and will bring it in sync

[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 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. Signed-off-by: Shivraj P

[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 This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC mc epel functions. Signed-off-by: Shivraj Patil --- libavcodec/mips/hevcdsp_init_mips.c | 32 + libavcodec/mips/hevcdsp_mips.h | 30 + libavcodec/mips/hevcdsp_msa.c | 2265 +++

[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 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 --- libavcodec/mips/hevc_mc_uni_msa.c | 2331 ++

[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 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 --- libavcodec/mips/Makefile

[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 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 --- libavcodec/mips/Makefile| 3 +- lib

[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 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 --- libavcodec/hevcpred.c|

[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 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 previous patch, duplicated c fu

[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 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 --- libavcodec/mips/Makefile |

[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 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 --- libavcodec/mips/Makefile| 3 +- libav

[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 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 --- libavcodec/h264pred.c|

[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 Added const. Will do same for MIPS MSA hevc code in next patch. Signed-off-by: Shivraj Patil --- libavcodec/mips/Makefile |1 + libavcodec/mips/h264chroma_init_mips.c | 21 + libavcodec/mips/h264chroma_mips.h | 12 + libavcodec/mips/h264chroma_msa

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

2015-06-11 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- 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(-) diff --git a/libavcodec/mips/hevc_idct_msa.c b/liba

[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 This patch adds MSA (MIPS-SIMD-Arch) optimizations for H263 lpf functions in new file h263dsp_msa.c Signed-off-by: Shivraj Patil --- libavcodec/h263dsp.c| 2 + libavcodec/h263dsp.h| 1 + libavcodec/mips/Makefile| 2 + libav

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

2015-06-14 Thread shivraj.patil
From: Shivraj Patil 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 --- libavcodec/hpeldsp.c|2 + libavcodec

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

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

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

2015-06-14 Thread shivraj.patil
From: Shivraj Patil 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 --- libavcodec/mips/Makefile| 2 +

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

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

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

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

[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 This patch adds MSA (MIPS-SIMD-Arch) optimizations for me_cmp functions in new file me_cmp_msa.c Signed-off-by: Shivraj Patil --- libavcodec/me_cmp.c | 2 + libavcodec/me_cmp.h | 1 + libavcodec/mips/Makefile| 2 + libavcod

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

2015-06-29 Thread shivraj.patil
From: Shivraj Patil 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 --- libavcodec/idctdsp.c| 2 + libavcodec/idctdsp.h| 2 + libavcodec/mips/Makefile

[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 This patch adds MSA (MIPS-SIMD-Arch) optimizations for VP9 lpf functions in new file vp9_lpf_msa.c Signed-off-by: Shivraj Patil --- libavcodec/mips/Makefile|3 +- libavcodec/mips/vp9_lpf_msa.c | 2503 +++ libavcodec/mip

[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 This patch adds MSA (MIPS-SIMD-Arch) optimizations for VP9 idct functions in new file vp9_idct_msa.c Signed-off-by: Shivraj Patil --- libavcodec/mips/Makefile |3 +- libavcodec/mips/vp9_idct_msa.c | 1811 libavcodec/mi

[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 This patch adds MSA (MIPS-SIMD-Arch) optimizations for VP9 intra functions in new file vp9_intra_msa.c Signed-off-by: Shivraj Patil --- libavcodec/mips/Makefile | 3 +- libavcodec/mips/vp9_intra_msa.c| 880 + libavcodec/m

[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 changed, 141 insertions(+), 141 deletions(-) diff --

[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(+), 21 deletions(-) diff --git a/libavcodec/mips/vp9_lpf_

[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 changed, 141 insertions(+), 141 deletions(-) diff -

[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(+), 21 deletions(-) diff --git a/libavcodec/mips/vp9_lpf

[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 Signed-off-by: Shivraj Patil --- libavcodec/mips/Makefile |3 +- libavcodec/mips/vp9_idct_msa.c | 2138 libavcodec/mips/vp9dsp_init_mips.c | 24 + libavcodec/mips/vp9dsp_mips.h | 28 + 4 files changed, 2192 inse

[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 Signed-off-by: Shivraj Patil --- libavcodec/mips/Makefile |3 +- libavcodec/mips/vp9_intra_msa.c| 533 libavcodec/mips/vp9dsp_init_mips.c | 31 +++ libavcodec/mips/vp9dsp_mips.h | 53 4 files changed, 619

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

2015-07-27 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- libavcodec/mips/vp9_mc_msa.c | 2123 libavcodec/mips/vp9dsp_init_mips.c |2 + libavcodec/mips/vp9dsp_mips.h | 32 + 3 files changed, 2157 insertions(+) diff --git a/libavcodec/mips/vp9_mc

[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|1 + libavutil/mips/Makefile |1 +

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

2015-03-24 Thread shivraj.patil
From: Shivraj Patil --- 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 only): --disable-yasm

[FFmpeg-devel] [PATCH] Disabled mipsdspr1 under 74kc cpu and disabled all mips hardware acceleration by default.

2015-03-24 Thread shivraj.patil
From: Shivraj Patil --- configure | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index 4827a4d..1a08347 100755 --- a/configure +++ b/configure @@ -3839,6 +3839,12 @@ elif enabled mips; then ;; 74kc) disable mipsfpu +disa

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

2015-04-01 Thread shivraj.patil
From: Shivraj Patil Note:- This is a preparation patch to submit optimized code for msa(mips simd architecture). Signed-off-by: Shivraj Patil --- configure | 29 + 1 file changed, 29 insertions(+) diff --git a/configure b/configure index 392946a..49be9ac 100755 --

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

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

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

2015-04-01 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- configure | 5 + 1 file changed, 5 insertions(+) diff --git a/configure b/configure index f70472e..f9caf11 100755 --- a/configure +++ b/configure @@ -3883,6 +3883,11 @@ elif enabled mips; then disable mipsfpu di

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

2015-04-01 Thread shivraj.patil
From: Shivraj Patil Note:- This is a preparation patch to submit optimized code for msa(mips simd architecture). Signed-off-by: Shivraj Patil --- libavutil/mips/intreadwrite.h | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 libavutil/mips/intreadwrite.h diff --git a/lib

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

2015-04-09 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- 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; then disable mipsfpu di

[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 Signed-off-by: Shivraj Patil --- 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 --- a/libavutil/mips/intreadwrite.h +++ b/libavu

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

2015-04-09 Thread shivraj.patil
From: Shivraj Patil 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 MSA (MIPS-SIMD-Architec

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

2015-04-09 Thread shivraj.patil
From: Shivraj Patil This is a preparation patch to submit optimized code for MSA (MIPS-SIMD-Architecture) Signed-off-by: Shivraj Patil --- configure | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 40435ff..788b715 1007

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

2015-04-17 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- 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 @@ SUBDIR_VARS := CLEANFILES EXAMPLES FFLIBS HOSTPRO

[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 Signed-off-by: Shivraj Patil --- libavcodec/hevcdsp.c|2 + libavcodec/hevcdsp.h|1 + libavcodec/mips/Makefile|2 + libavcodec/mips/hevcdsp_init_mips.c | 54 ++ libavcodec/mips/hevcdsp_mips.h | 49 ++ libavcodec

[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 Signed-off-by: Shivraj Patil --- libavcodec/mips/hevcdsp_init_mips.c | 19 + libavcodec/mips/hevcdsp_mips.h | 20 + libavcodec/mips/hevcdsp_msa.c | 1098 +++ libavutil/mips/generic_macros_msa.h | 133 + 4 files changed, 127

[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 Incorporated review comment. Removed "__" from volatile. Signed-off-by: Shivraj Patil --- libavcodec/mips/hevcdsp_init_mips.c | 19 + libavcodec/mips/hevcdsp_mips.h | 20 + libavcodec/mips/hevcdsp_msa.c | 1098 +++ libavutil/mi