summaryrefslogtreecommitdiff
path: root/test/hadamard_test.cc
AgeCommit message (Collapse)Author
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
2018-12-07Add high bit Hadamard 32x32 avx2 implementationsdeng
Speed test: [ RUN ] C/HadamardHighbdTest.DISABLED_Speed/2 Hadamard32x32[ 10 runs]: 9 us Hadamard32x32[ 10000 runs]: 8914 us Hadamard32x32[ 10000000 runs]: 8991776 us [ RUN ] AVX2/HadamardHighbdTest.DISABLED_Speed/2 Hadamard32x32[ 10 runs]: 5 us Hadamard32x32[ 10000 runs]: 4582 us Hadamard32x32[ 10000000 runs]: 4548203 us Change-Id: Ied1b38b510bd033299f05869216d394e3b7f70f1
2018-12-05Add high bit Hadamard 16x16 avx2 implementationsdeng
Speed test: [ RUN ] C/HadamardHighbdTest.DISABLED_Speed/1 Hadamard16x16[ 10 runs]: 2 us Hadamard16x16[ 10000 runs]: 1836 us Hadamard16x16[ 10000000 runs]: 1829451 us [ RUN ] AVX2/HadamardHighbdTest.DISABLED_Speed/1 Hadamard16x16[ 10 runs]: 1 us Hadamard16x16[ 10000 runs]: 1009 us Hadamard16x16[ 10000000 runs]: 984856 us Change-Id: I89b9cdbe19350815576d66e627df87e5025ed0a4
2018-12-03Add high bit Hadamard 8x8 avx2 implementationsdeng
Speed tests: [ RUN ] C/HadamardHighbdTest.DISABLED_Speed/0 Hadamard8x8[ 10 runs]: 0 us Hadamard8x8[ 10000 runs]: 316 us Hadamard8x8[ 10000000 runs]: 311749 us [ OK ] C/HadamardHighbdTest.DISABLED_Speed/0 (371 ms) [ RUN ] AVX2/HadamardHighbdTest.DISABLED_Speed/0 Hadamard8x8[ 10 runs]: 0 us Hadamard8x8[ 10000 runs]: 161 us Hadamard8x8[ 10000000 runs]: 156910 us [ OK ] AVX2/HadamardHighbdTest.DISABLED_Speed/0 (160 ms) Change-Id: I94f7324be20405ff55f8a02ad4651c4ab4c10202
2018-11-07Add operator<< to hadamard test.Jerome Jiang
This quiets valgrind warning. Change-Id: I7c5e23ebb91cc67cf93678135b826b2bc8e9db2f
2018-11-06Refactor Hadamard tests and add highbd testssdeng
Change-Id: I306083f233e53884ac21fb4621066713edddc8f7
2018-07-23VPX: Add vpx_hadamard_32x32_avx2Scott LaVarnway
BUG=webm:1546 Change-Id: I64629ed83cb7acd0f2ac49b9c31f369d17a1aed2
2018-07-21VPX: Add vpx_hadamard_32x32_sse2Scott LaVarnway
BUG=webm:1546 Change-Id: Ide5828b890c5c27cfcca2d5e318a914f7cde1158
2018-07-19VPX: Add Hadamard32x32TestScott LaVarnway
Change-Id: Idad619e963cb2f9bf8c62acac0e061639ec7e0b4
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-10-18vpx: [x86] add vpx_hadamard_16x16_avx2()Scott LaVarnway
This version is ~1.91x faster than the sse2 version. When highbitdepth is enabled, it is ~1.74x. Change-Id: I2b0e92ede9f55c6259ca07bf1f8c8a5d0d0955bd
2017-03-15Add Hadamard for Power8Rafael de Lucena Valle
Change-Id: I3b4b043c1402b4100653ace4869847e030861b18 Signed-off-by: Rafael de Lucena Valle <rafaeldelucena@gmail.com>
2017-02-01hadamard highbd ssse3: use tran_low_t for coeffJohann
BUG=webm:1365 Change-Id: I374dfc08732932382043905f128e928b08cb4f57
2017-02-01hadamard highbd neon: use tran_low_t for coeffJohann
BUG=webm:1365 Change-Id: I7e15192ead3a3631755b386f102c979f06e26279
2017-02-01hadamard highbd sse2: use tran_low_t for coeffJohann
BUG=webm:1365 Change-Id: Ica414007d8412ceebfffa9e58e8416226a3fe934
2017-01-31Unify the hadamard transform unit test for bit-depth settingsJingning Han
Unify the 8x8 and 16x16 Hadamard unit test system for both 8-bit and high bit-depth settings. Change-Id: I53373c1d43f3ced514ad1e53e03f0fb9b25d9ead
2017-01-31Fix real-time compression regression in hbd modeJingning Han
This commit resolves the compression performance regression in real-time encoding setting when high bit-depth mode is enabled. The current solution temporarily disables the SIMD implementations of vpx_satd, hadamard8x8, and hadamard16x16 in high bit-depth mode. The commit makes the coding results bit-wise identical between regular coding pipeline and high bit-depth at profile 0. BUG=webm:1365 Change-Id: Icfb900821733749685370460a1a5a7e07f76f4bf
2017-01-19Add mips msa vpx hadamard functionsKaustubh Raste
average improvement ~4x-5x Change-Id: I167132d894c04fa85dda8dde7906ff9c61b3a65d
2016-07-27test: apply clang-formatclang-format
Change-Id: I0d9ab85855eb723f653a7bb09b3d0d31dd6cfd2f
2016-06-30test: remove x86inc.asm distinctionJohann
BUG=b:29583530 Change-Id: I296a0b81755e3086bc0a40cb126d0200ff03c095
2016-06-14neon hadamard 16x16Johann
Runs about twice as fast as C BUG=webm:1027 Change-Id: I6760d99f4e22259439ca35d746194b12a81bfa71
2016-06-13hadamard 16x16 testJohann
BUG=webm:1027 Change-Id: Ibe58781905b372b9fe29dace39b4bfdd33fd0f83
2016-05-16neon hadamard 8x8Johann
Runs about 30% faster than the C BUG=webm:1021 Change-Id: I6809d6d84c3077ab619c53298296950e976bdaba
2016-04-22hadamard_test: align src/dst buffersJames Zern
fixes crash in 32-bit builds Change-Id: I149e517c940a8cd43643e213bfbe077b6f579090
2016-04-21hadamard 8x8 testJohann
The order of the output structure is not currently important. BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1021 Change-Id: Ibc0006d569675db6c5060c4529f5d9e73f2e96a6