summaryrefslogtreecommitdiff
path: root/vpx_dsp/mips
AgeCommit message (Collapse)Author
2020-07-18vp8,vpx_dsp: [loongson] fix msa optimization bugsjinbo
Fix two bugs reported by clang when enable msa optimizatons: 1. clang dose not support uld instruction. 2. ulw instruction will result in unit cases coredump. Change-Id: I171bed11d18b58252cbc8853428c039e2549cb95
2020-07-07vp8,vpx_dsp:[loongson] fix bugs reported by clangjinbo
1. Adjust variable type to match clang compiler. Clang is more strict on the type of asm operands, float or double type variable should use constraint 'f', integer variable should use constraint 'r'. 2. Fix prob of using r-value in output operands. clang report error: 'invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions'. Change-Id: Iae9e08f55f249059066c391534013e320812463e
2020-06-29vp8,vpx_dsp:[loongson] fix specification of instruction namejinbo
1.'xor,or,and' to 'pxor,por,pand'. In the case of operating FPR, gcc supports both of them, clang only supports the second type. 2.'dsrl,srl' to 'ssrld,ssrlw'. In the case of operating FPR, gcc supports both of them, clang only supports the second type. Change-Id: I93b47348e7c6580d99f57dc11165b4645236533c
2019-03-28Revert "Wrap macro definition in do-while(0)"Jerome Jiang
This reverts commit aa04b6f9a7475e9d9457dfc5bf441faf15efc466. It caused big regression on webrtc VP8 tests. Change-Id: I937e769d133abeca62ba063e59a58b5c461f5b5e
2019-03-19Wrap macro definition in do-while(0)Jerome Jiang
Change-Id: Id654a48d2fa40355552d7267e58461e6cc1c6998
2019-03-14Enclose macro arguments in parenthesesJerome Jiang
BUG=webm:1606 Change-Id: I661485b860243c95b6450035dbac77b0dd4d9ff4
2019-01-16Merge "mips highbd: resolve missing declarations"Johann Koenig
2019-01-15mips: add rtcd.h to resolve missing declarationsJohann
BUG=webm:1584 Change-Id: Ifdebf33356abcc6869f695d129165ba17e042dcd
2019-01-15mips highbd: resolve missing declarationsJohann
BUG=webm:1584 Change-Id: I4cbfafe8ea72b3d4523aabcaed4848fa29bb19fe
2018-11-01clang-tidy: fix vpx_dsp parametersJohann
BUG=webm:1444 Change-Id: Iee19be068afc6c81396c79218a89c469d2e66207
2018-10-31clang-tidy: normalize variance functionsJohann
Always use src/ref and _ptr/_stride suffixes. Normalize to [xy]_offset and second_pred. Drop some stray source/recon_strides. BUG=webm:1444 Change-Id: I32362a50988eb84464ab78686348610ea40e5c80
2018-10-16Fix the filter tap calculation in mips optimizationsYunqing Wang
The interp filter tap calculation was not accurate to tell the difference between 2 taps and 4 taps. This patch fixed the bug, and resolved Jenkins test failures in mips sub-pel filter optimizations. BUG=webm:1568 Change-Id: I51eb8adb7ed194ef2ea7dd4aa57aa9870ee38cfc
2018-09-24clang-format v6.0.1Johann
Change-Id: I83c7e64fe70f7c49aa2492ed2d640c6756b7ebaa
2018-09-15cosmetics: normalize include guardsJames Zern
use the recommended format [1] of: <PROJECT>_<PATH>_<FILE>_H_ [1] https://google.github.io/styleguide/cppguide.html#The__define_Guard "All header files should have #define guards to prevent multiple inclusion. The format of the symbol name should be <PROJECT>_<PATH>_<FILE>_H_." Change-Id: I2e8ab0b32fb23c30fa43cff5fec12d043c0d2037
2018-04-25vp9: [loongson] optimize vpx_convolve8 with mmiguxiwei-hf@loongson.cn
1. vpx_convolve_avg_mmi 2. vpx_convolve8_avg_horiz_mmi Change-Id: Ie544aac45b4b1c0a0e51b44b650189ae5e88aee1
2018-03-28vp9: [loongson] optimize vpx_convolve8 with mmi.gxw
1. vpx_convolve8_vert_mmi 2. vpx_convolve8_horiz_mmi 3. vpx_convolve8_mmi 4. vpx_convolve8_avg_mmi 5. vpx_convolve8_avg_vert_mmi Change-Id: I41a6b3b4f327d6b67d282e0163cfa0aee8648abe
2018-01-18clang-format v5.0.0 vpx_dsp/Johann
Remove comments above #define statements because they get indented unnecessarily. https://bugs.llvm.org/show_bug.cgi?id=35930 Add blank lines to prevent comments from being treated as blocks. Change-Id: I04dce21b2a10e13b8dc07411a0019c098f6dd705
2017-12-04Merge "vpx_dsp: [loongson] optimize variance v2."Shiyou Yin
2017-12-01vpx_dsp: [loongson] optimize variance v2.Shiyou Yin
1. Delete unnecessary zero setting process. 2. Optimize the method of calculating SSE in vpx_varianceWxH. Change-Id: I58890c6a2ed1543379acb48e03e620c144f6515f
2017-12-01Merge "mips msa optimize vpx_scaled_2d function"Kaustubh Raste
2017-11-29mips msa optimize vpx_scaled_2d functionKaustubh Raste
Change-Id: I638507b360c71489ab0e87bd558d2719ad995333
2017-11-29vpx: [loongson] fix bug in var_filter_block2d_bil_16xShiyou Yin
Which cause failed case: 1. MMI/VpxSubpelVarianceTest.Ref/6 2. MMI/VpxSubpelVarianceTest.Ref/7 3. MMI/VpxSubpelVarianceTest.ExtremeRef/6 4. MMI/VpxSubpelVarianceTest.ExtremeRef/7 Change-Id: I122ca20089e14ac324edd61295cf8f506e06afc8
2017-10-26vpx: hadamard: use ptrdiff_t instead of int for strideScott LaVarnway
Eliminates the following instruction for the x86 (64 bit) intrinsic code: movslq %esi,%rax Change-Id: I8f5ebd40726f998708a668b0f52ea7a0576befae
2017-09-18Change sinpi_{1,2,3,4}_9 from tran_high_t to int16_tLinfeng Zhang
Add "typedef int16_t tran_coef_t;" BUG=webm:1450 Change-Id: I67866f104898d1dda8989e1abdaf6983fe324154
2017-09-14mips msa clean-up msa macrosKaustubh Raste
Removed inline for GP load-store in case of (__mips_isa_rev >= 6) Created one define LD_V for vector load and ST_V for vector store Change-Id: Ifec3570fa18346e39791b0dd622892e5c18bd448
2017-09-12Optimize mips msa vp9 average mc functionsKaustubh Raste
Load the specific destination loads instead of vector load Change-Id: I65ca13ae8f608fad07121fef848e2a18f54171fe
2017-09-08Merge "vpxdsp: [loongson] optimize sad functions with mmi"Shiyou Yin
2017-09-05Remove get_filter_base() and get_filter_offset() in convolveLinfeng Zhang
so that the convolve functions are independent of table alignment. Change-Id: Ieab132a30d72c6e75bbe9473544fbe2cf51541ee
2017-09-02vpxdsp: [loongson] optimize sad functions with mmiShiyou Yin
1. vpx_sadWxH_c 2. vpx_sadWxH_avg_c 3. vpx_sadWxHx3_c 4. vpx_sadWxHx8_c 5. vpx_sadWxHx4d_c Change-Id: Ie13161e3d73a052ea6ea7bac9cfadf55598fea7a
2017-08-25vpx_dsp:loongson optimize vpx_varianceWxH_c,vpx_sub_pixel_varianceWxH_c and ↵Shiyou Yin
vpx_sub_pixel_avg_varianceWxH_c with mmi. Change-Id: Ia576a721df6312329b599c31cfe1fb1267a9f174
2017-08-23vpx_dsp:loongson optimize vpx_mseWxH_c(case 16x16,16X8,8X16,8X8) with mmi.Shiyou Yin
Change-Id: I2c782d18d9004414ba61b77238e0caf3e022d8f2
2017-08-18vpx_dsp:loongson optimize vpx_subtract_block_c (case 4x4,8x8,16x16) with mmi.Shiyou Yin
Change-Id: Ia120ad1064d0b6106d9685cf075bdab373eef19e
2017-07-10remove vp9_full_sad_searchJohann
This code is unused in vp9. Only vp8 still contains references to vpx_sad_NxMx[3|8] and only for sizes 16x16, 16x8, 8x16, 8x8 and 4x4. Remove the remaining sizes and all the highbitdepth versions. BUG=webm:1425 Change-Id: If6a253977c8e0c04599e25cbeb45f71a94f563e8
2017-06-30fwd_txfm_msa.c: add missing vpx_dsp_rtcd.hJames Zern
+ only expose compatible functions in high-bitdepth build quiets -Wmissing-prototypes warnings Change-Id: I8ef7db08a34c5c54b5cde6e732c0d70f4287c89a
2017-06-30vpx_convolve_*_msa.c: add missing vpx_dsp_rtcd.hJames Zern
quiets -Wmissing-prototypes warnings Change-Id: I1ab5b8ae4a62f54e0f9eb3fc81371c9b99972c30
2017-06-30loopfilter_*_msa.c: add missing vpx_dsp_rtcd.hJames Zern
+ make some functions static quiets -Wmissing-prototypes warnings Change-Id: I2130e06142e71a004a1eb30e173feba4f6fe68a0
2017-06-30fwd_txfm_msa.c: correct vpx_fdct8x8_1_msa prototypeJames Zern
this makes the function compatible with high-bitdepth and fixes test failures since: 5ac88162b partial fdct test Change-Id: Ib630694608237f0c515948942e05dbea259ba338
2017-03-22Fix mips msa fwd xform mismatchKaustubh Raste
Change-Id: I32a6df11463144aa1a562256ee7d57a41fd678d6
2017-02-16Fix mips vpx_post_proc_down_and_across_mb_row_msa functionKaustubh Raste
Added fix to handle non-multiple of 16 cols case for size 16 Change-Id: If3a6d772d112077c5e0a9be9e612e1148f04338c
2017-01-31Add mips msa sum_squares_2d_i16 functionKaustubh Raste
average improvement ~4x-5x Change-Id: I8d91b71d0677009be52b412e4f52b40b98573a53
2017-01-31Add mips msa vpx_minmax_8x8 functionKaustubh Raste
average improvement ~4x-5x Change-Id: I83aee9977534fddb8a9b80d31af646c0b6b1a8c3
2017-01-28Add mips msa vpx_vector_var functionKaustubh Raste
average improvement ~4x-5x Change-Id: I2f63ef83d816052ca8dc42421e7e9d42f7a7af6b
2017-01-27Add mips msa vpx Integer projection row/col functionsKaustubh Raste
average improvement ~4x-5x Change-Id: I17c41383250282b39f5ecae0197ef1df7de20801
2017-01-24Add mips msa vpx satd functionKaustubh Raste
average improvement ~4x-5x Change-Id: If8683d636fe2606d4ca1038e28185bca53bbe244
2017-01-19Add mips msa vpx hadamard functionsKaustubh Raste
average improvement ~4x-5x Change-Id: I167132d894c04fa85dda8dde7906ff9c61b3a65d
2017-01-09Merge "Fix mips dspr2 idct32x32 functions for large coefficient input"Johann Koenig
2017-01-09Merge "Fix mips dspr2 idct16x16 functions for large coefficient input"Johann Koenig
2017-01-09Merge "Fix mips dspr2 idct8x8 functions for large coefficient input"Johann Koenig
2017-01-09Fix mips dspr2 idct32x32 functions for large coefficient inputKaustubh Raste
Change-Id: If9da7099f226a27a09cc9e2899eb66a1158909d2
2017-01-09Fix mips dspr2 idct16x16 functions for large coefficient inputKaustubh Raste
Change-Id: I9be3d3d040837f658c6314606e28db8c31092a1a