summaryrefslogtreecommitdiff
path: root/test/convolve_test.cc
AgeCommit message (Collapse)Author
2023-04-12convolve_test: clear -Wshadow warningJames Zern
Bug: webm:1793 Change-Id: I22db73cb756c6c680b73684caef1e08bb6e729d8
2022-04-22vp9[loongarch]: Optimize convolve8_avg_vert/convolve_copyyuanhecai
1. vpx_convolve8_avg_vert_lsx 2. vpx_convolve_copy_lsx 3. vpx_idct32x32_135_add_lsx Bug: webm:1755 Change-Id: I6bdfe5836a91a5e361ab869b26641e86c5ebb68d
2022-03-31vp9[loongarch]: Optimize vpx_convolve8_avg_horiz_cyuanhecai
1. vpx_convolve8_avg_horiz_lsx Bug: webm:1755 Change-Id: I0b6520be0afa1689da329f56ec6cd95c1730250c
2022-03-16vp9[loongarch]: Optimize convolve/convolve8_avg_cyuanhecai
1. vpx_convolve8_avg_lsx 2. vpx_convolve_avg_lsx Bug: webm:1755 Change-Id: I4af5c362a94f11d0b5d1760e18326660bdbc0559
2022-03-16vp9[loongarch]: Optimize convolve8_horiz/vert/cyuanhecai
1. vpx_convolve8_lsx 2. vpx_convolve8_vert_lsx 3. vpx_convolve8_horiz_lsx Bug: webm:1755 Change-Id: I9897e1ed6a904ac74d1078bd22b275af44db142d
2020-07-27NULL -> nullptr in CPP filesJerome Jiang
This should clean up clangtidy warnings Change-Id: Ifb5a986121b2d0bd71b9ad39a79dd46c63bdb998
2020-07-09test/*: rename *TestCase to TestSuiteJames Zern
similar to the TEST_CASE -> TEST_SUITE changes in: 83769e3d2 update googletest to v1.10.0 BUG=webm:1695 Change-Id: Ib2bdb6bc0e4ed02d61523f8a8315b017b8ad6dad
2020-06-18update googletest to v1.10.0James Zern
this moves the framework to c++11 and changes *_TEST_CASE* to _TEST_SUITE BUG=webm:1695 Change-Id: I07f2c20850312a9c7e381b38353d2f9f45889cb1
2019-09-30namespace ARCH_* definesJames Zern
this prevents redefinition warnings if a toolchain sets one BUG=b/117240165 Change-Id: Ib5d8c303cd05b4dbcc8d42c71ecfcba8f6d7b90c
2019-03-29update .clang-format for version clang-7.0.1 update.Hien Ho
added files that are affected by clang-format version 7. BUG=b/120815481 Change-Id: I40662ce962e4f4b1fcdf183b700f85cc5c0f9f82
2019-01-11convolve_test: Add missing init of HBD buffersJames Zern
this resolves some msan errors. the same change was done in libaom: 5ab58722c Add missing initializations of HBD buffers Change-Id: I8882af45b95c90ba43bf138c7d305a6c3b99e61c
2018-12-07test/*: use std::*tupleJames Zern
since: 77fa51003 Replace deprecated scoped_ptr with unique_ptr c++11 has been required so <tuple> is safe to use Change-Id: I873cb953104b361a8503b5839a3372ce2b99e73c
2018-11-21Fix scan_build warnings in convolve_test.ccAngie Chiang
Change-Id: I87e1c3f0492cde805b54b048385ea200652dfccc
2018-11-19Fix scan_build warnings in convolve_test.ccAngie Chiang
BUG=webm:1575 Change-Id: Ic90b09e596fa68bc516237d31b7f4540831becfd
2018-10-17Add SSE2 support for 4-tap interpolation filter for width 16.chiyotsai
Horizontal filter on 64x64 block: 1.59 times as fast as baseline. Vertical filter on 64x64 block: 2.5 times as fast as baseline. 2D filter on 64x64 block: 1.96 times as fast as baseline. Change-Id: I12e46679f3108616d5b3475319dd38b514c6cb3c
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-10-15A temporary fix to mips sub-pel filtersYunqing Wang
There are Jenkins test failures in mips sub-pel filter optimizations. [ RUN ] MSA/ConvolveTest.MatchesReferenceSubpixelFilter/5 ../libvpx/test/convolve_test.cc:889: Failure Expected equality of these values: lookup(ref, y * kOutputStride + x) Which is: 255 lookup(out, y * kOutputStride + x) Which is: 11 mismatch at (1,0), filters (4,0,1) This relates to the 4-tap kernel added recently. This CL is a temporary fix, while we investigate the issue. BUG=webm:1568 Change-Id: If64c552b794425687cca4fbed893d8ccb73c89a5
2018-10-09Use 4-tap interp filter in speed 1 sub-pel motion searchYunqing Wang
Added the 4-tap interp filter, and used it for speed 1 sub-pel motion search. Speed 2 motion search still used bilinear filter as before. Speed 1 borg test showed good bit savings. avg_psnr: ovr_psnr: ssim: lowres: -1.125 -1.179 -1.021 midres: -0.717 -0.710 -0.543 hdres: -0.357 -0.370 -0.342 Speed test at speed 1 showed ~10% encoder time increase, which was partially because of no SIMD version of 4-tap filter. Change-Id: Ic9b48cdc6a964538c20144108526682d64348301
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-29Merge "test: use testing::*tuple instead of std::tr1"James Zern
2018-03-28test: use testing::*tuple instead of std::tr1James Zern
googletest imports tuple into testing to allow for compatibility across c++ versions where tuple may be in std::tr1 or std. fixes deprecation warnings under visual studio 2017 Change-Id: Id78b372d5478b12d8c8f63fd3f2166fec25aa8be
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-03-22Fix dangling-else warningsLinfeng Zhang
Compiler -- gcc (Debian 7.3.0-5) 7.3.0 Change-Id: If2dcc6e215a2990cde575f0e744ce0c7a44a15f1
2017-11-29mips msa optimize vpx_scaled_2d functionKaustubh Raste
Change-Id: I638507b360c71489ab0e87bd558d2719ad995333
2017-10-24Optimize convolve8 SSSE3 and AVX2 intrinsicsKyle Siefring
Changed the intrinsics to perform summation similiar to the way the assembly does. The new code diverges from the assembly by preferring unsaturated additions. Results for haswell SSSE3 Horiz/Vert Size Speedup Horiz x4 ~32% Horiz x8 ~6% Vert x8 ~4% AVX2 Horiz/Vert Size Speedup Horiz x16 ~16% Vert x16 ~14% BUG=webm:1471 Change-Id: I7ad98ea688c904b1ba324adf8eb977873c8b8668
2017-10-17Merge "Generalize CheckScalingFiltering in ConvolveTest"Linfeng Zhang
2017-10-10Generalize CheckScalingFiltering in ConvolveTestLinfeng Zhang
Let it test extreme inputs and all filter types. In the future ConvolveTest should test regular 8-bit functions in high bitdepth mode. Change-Id: I1042564d1d390589ca203070fe332c6da3315d75
2017-10-09Extend 16 wide AVX2 convolve8 code to support averaging.Kyle Siefring
Also adds vpx_convolve8_avg_horiz_avx2. Change-Id: I38783d972ac26bec77610e9e15a0a058ed498cbf
2017-10-07Add AVX2 version of vpx_convolve8_avg.Kyle Siefring
vpx_convolve8_avg works by first running a normal horizontal filter then a vertical filter averages at the end. The added vpx_convolve8_avg_avx2 calls pre-existing AVX2 code for the horizontal step. vpx_convolve8_avg_vert_avx2 is also added, but only uses ssse3 code. Change-Id: If5160c0c8e778e10de61ee9bf42ee4be5975c983
2017-10-03Refactor x86/vpx_subpixel_8t_intrin_ssse3.cLinfeng Zhang
Change-Id: Id6a8c549709a3c516ed5d7b719b05117c5ef8bac
2017-09-26Add vpx_scaled_2d_neon()Linfeng Zhang
BUG=webm:1419 Change-Id: I39c8033734562efc0ac0e28e7f06fa05130f9b96
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-05-03High bit depth inter prediction horizontal/vertical filters AVX2Yi Luo
User level speed improvement on i7-6700, cpu-used=1, x86_64 Linux, bitrate, 1080p, 8Mbps, 4K, 16Mbps: - Decoder: 1080p: ~4% 4K: ~5% - Encoder: 1080p: ~1% 4K: ~3% Change-Id: I51b48f9c5de0d62487d5a11aa579c97bd03dd640
2017-05-02ppc: Add convolve8_vsx and convolve8_avg_vsxLuca Barbato
Change-Id: Ia5293d948003a7fff5a7cbad6e83d8a72717c857
2017-05-02ppc: Add convolve8_avg_vert_vsxLuca Barbato
Only the generic one again, speedups for 8x8 and larger blocks to come later. Change-Id: I90d481d3a602d1e277ead8f3934eca126b86b72d
2017-05-02ppc: Add convolve8_vertLuca Barbato
Only the generic one again, speedups for 8x8 and larger blocks to come later. Change-Id: Ia509d6225984b4930ec03928c9bcbf51486da99f
2017-05-02ppc: Add convolve8_horiz_avgLuca Barbato
The 8x8 and larger blocks cases can be sped up further. Change-Id: I54549b03ac6c7a4e3f485738b100c3cac7ac2e15
2017-05-02ppc: Add convolve8_horizLuca Barbato
The 8x8 and larger blocks cases can be sped up further. Change-Id: I89b635d6b01c59f523f2d54b1284ed32916c5046
2017-04-29ppc: Add convolve_avgLuca Barbato
Change-Id: Ib203c444c708f42072e38301ee3db97b5b53d014
2017-04-29ppc: Add convolve_copyLuca Barbato
Change-Id: Ie26d6dbe090e711d84bac01ba7da270db983f405
2017-04-25Update highbd convolve functions arguments to use uint16_t src/dstLinfeng Zhang
BUG=webm:1388 Change-Id: I6912de2639895d817ce850da8ea9f6c8fe21da42
2017-04-19Clean CONVERT_TO_BYTEPTR/SHORTPTR in convolveLinfeng Zhang
Replace by CAST_TO_BYTEPTR/SHORTPTR. The rule is: if a short ptr is casted to a byte ptr, any offset operation on the byte ptr must be doubled. We do this by casting to short ptr first, adding offset, then casting back to byte ptr. BUG=webm:1388 Change-Id: I9e18a73ba45ddae58fc9dae470c0ff34951fe248
2017-04-14Add AVX2 optimization to copy/avg functionsYi Luo
Change-Id: Ibcef70e4fead74e2c2909330a7044a29381a8074
2016-10-17add vpx high bitdepth convolve8 NEON intrinsics optimizationLinfeng Zhang
BUG=webm:1299 Change-Id: I236bfa0441e357b6ff05add8269a2cfb543924d1
2016-10-13add vpx_highbd_convolve_{copy,avg}_neon()Linfeng Zhang
BUG=webm:1299 Change-Id: Ib87ac466ada63251eb06ae2abd1e13e61e0d1538
2016-09-29Refine vpx_convolve_copy_neon() and vpx_convolve_avg_neon()Linfeng Zhang
BUG=webm:1290 Change-Id: Ia27e58521eba5a4852b50381c56746fa5767f6d6
2016-09-27Clean convolve_test.ccLinfeng Zhang
Combine test MatchesReferenceSubpixelFilter and MatchesReferenceAveragingSubpixelFilter. Change-Id: I75f96befbbb118cdc6b8c6001b4cdda8d88fbbd3
2016-08-05test: apply clang-tidy google-readability-braces-around-statementsclang-format
applied against a x86_64 configure with and without --enable-vp9-highbitdepth clang-tidy-3.7.1 \ -checks='-*,google-readability-braces-around-statements' \ -header-filter='.*' -fix + clang-format afterward Change-Id: Ia2993ec64cf1eb3505d3bfb39068d9e44cfbce8d
2016-07-27test: apply clang-formatclang-format
Change-Id: I0d9ab85855eb723f653a7bb09b3d0d31dd6cfd2f
2016-07-01Merge changes I59a11921,I296a0b81,I397d7753Johann Koenig
* changes: configure: remove x86inc.asm distinction test: remove x86inc.asm distinction vpx_dsp: remove x86inc.asm distinction