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
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
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
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
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
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
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
From: Shivraj Patil
Note:- backporting commit 15ef98afd10b3696d29fb6d19606ba03a9dd47ad from head
Signed-off-by: Shivraj Patil
---
configure | 252 ++
1 file changed, 120
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
From: Shivraj Patil
Signed-off-by: Shivraj Patil
---
configure | 252 ++
libavcodec/mips/aaccoder_mips.c | 4 +
libavcodec/mips/aacdec_mips.h | 2 +
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 @@
From: Shivraj Patil
Signed-off-by: Shivraj Patil
---
configure | 312 +++--
1 file changed, 117 insertions(+), 195 deletions(-)
diff --git a/configure b/configure
index
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
@@
From: Shivraj Patil
Signed-off-by: Shivraj Patil
---
configure | 217 -
1 file changed, 101 insertions(+), 116 deletions(-)
diff --git a/configure b/configure
index
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
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.
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
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(+),
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
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(+),
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|
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
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 +++
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 +
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
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
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
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 |
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 +
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
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 +
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
---
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 +
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
---
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 +
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(-)
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
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
---
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
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 +
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
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
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
---
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
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 +
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
---
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
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
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
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
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.
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
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
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
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
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
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
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 +++
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 @@
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 ++
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;
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
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
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
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
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
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
67 matches
Mail list logo