summaryrefslogtreecommitdiff
path: root/test/fdct8x8_test.cc
AgeCommit message (Collapse)Author
2023-05-23fdct8x8_test.cc: work around VS2022 Arm64 issueJames Zern
cl.exe targeting AArch64 with optimizations enabled produces invalid code in RunExtremalCheck() and RunInvAccuracyCheck(). See: https://developercommunity.visualstudio.com/t/1770-preview-1:-Misoptimization-for-AR/10369786 Bug: b/277255076 Bug: webm:1788 Change-Id: Id2c60f3948d8f788c78602aea1b5232133415dea
2023-05-03fdct8x8_test: EXPECT_* -> ASSERT_*James Zern
This avoids unnecessary logging when a block has multiple errors. Change-Id: If0f3e6f8ff5bd284655f7cabfd23c253c93d44c5
2022-05-13vp9[loongarch]: Optimize fdct4x4/8x8_lsxyuanhecai
1. vpx_fdct4x4_lsx 2. vpx_fdct8x8_lsx Bug: webm:1755 Change-Id: If283fc08f9bedcbecd2c4052adb210f8fe00d4f0
2020-09-11Upstream GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TESTSarah Parker
BUG=b/159031848 Change-Id: I013770f4e54d0ea92304fa3e9cf4d46f5723f129
2020-07-23Silience warnings about uninitiated test casesJerome Jiang
BUG=b/159031848 Change-Id: I6bb88c24bd08e0590ec6b8ebfb696fd9b07ed011
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-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-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-05Fix a bug in vp9_iht8x8_64_add_neon()Linfeng Zhang
This bug was introduced in b14b616d. BUG=webm:1403 Change-Id: I84b2733734982e52b66548850d61758c772b5494
2018-03-03disable vp9_iht8x8_64_add_neonJames Zern
this causes test vector failures BUG=webm:1403 Change-Id: I7d37a05fbf4641ea352c947053aa4eaeb7f5c318
2017-09-01apply clang-formatclang-format
Change-Id: If4c3e8a396d0fcb304f407b44e28cac3219f038c
2017-07-01ppc: Add vpx_idct8x8_64_add_vsxAlexandra Hájková
Change-Id: I4ed1312f365509e0595dcc09890ecb050f6f2069
2017-06-15Remove vpx_idct8x8_64_add_ssse3()Linfeng Zhang
It's almost identical with vpx_idct8x8_64_add_sse2(), except little difference in instructions order. Change-Id: Ie60dabc35eaa6ebae7c755e6cff00a710aad284f
2017-05-08Merge changes I0cfe4117,I3581d80d,Ida62c941Linfeng Zhang
* changes: Split dsp/x86/inv_txfm_sse2.c Update highbd idct functions arguments to use uint16_t dst Clean CONVERT_TO_BYTEPTR/SHORTPTR in idct
2017-05-04fdct 8x8 neon: minor comment cleanupJohann
Simplify HBD/non distinction in test. Document why transpose_neon.h is not used Change-Id: I17659414206ddbb8c2f1ef0d9f4a17f1745d5a52
2017-05-03Update highbd idct functions arguments to use uint16_t dstLinfeng Zhang
BUG=webm:1388 Change-Id: I3581d80d0389b99166e70987d38aba2db6c469d5
2017-05-03Clean CONVERT_TO_BYTEPTR/SHORTPTR in idctLinfeng Zhang
BUG=webm:1388 Change-Id: Ida62c941f2b836d6c9e27b427a7d5008ab6dc112
2017-02-13fdct8x8 highbd neon: use tran_low_t for outputJohann
Change-Id: I100c4a1955d80bec4d28e82796b3e7f57e84d0ba
2016-11-09fdct8x8_test: add vpx_idct8x8_64_add_neon in hbdJames Zern
this was enabled in: 3ae2597 idct,NEON: add a tran_low_t->s16 load adapter + enable it for all NEON configs, both intrisincs and assembly versions exist BUG=webm:1294 Change-Id: I339088b2a398200f95658d040034fb9b2a7c8ce0
2016-11-07Rename vpx_highbd_idct8x8_10{*}() to vpx_highbd_idct8x8_12{*}()Linfeng Zhang
Also update its trigger threshold from 10 to 12. Change-Id: Ib8dddd87a5a22a12ca66e7084d342fbb027b0a2f
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-06-30test: remove x86inc.asm distinctionJohann
BUG=b:29583530 Change-Id: I296a0b81755e3086bc0a40cb126d0200ff03c095
2016-06-08fdct8x8_test: fix unsigned overflowJames Zern
the difference between src and dst will be signed, the error will be unsigned. quiets -fsanitize=integer: unsigned integer overflow: 4294967295 * 4294967295 Change-Id: I580813093ee46284fde7954520dfcb1188f79268
2016-06-01Fix UBSAN/IOC errorsYaowu Xu
1. test/dct16x16_test.cc 2. test/dct32x32_test.cc 3. test/fdct8x8_test.cc BUG=webm:1225 Change-Id: I9c9315fbd65ddb3b44f688e01ba265fd22192198
2016-02-11tests: quiet some unused parameter warningsJames Zern
Change-Id: Iff8b0d77234f78bf407676891bccad92825bfcc6
2016-02-03fdct8x8_test:: quiet unused-function warningJames Zern
in non-x86 builds Change-Id: I9f6fa40d27f95a4afe92444f71c23dc9a15db466
2015-08-04Replace vp9_ prefix with vpx_ prefix in vpx_dsp function namesJingning Han
This commit clears the function naming convention in vpx_dsp. It replaces vp9_ prefix of global functions with vpx_ prefix. It also removes the vp9_ prefix from static functions. Change-Id: I6394359a63b71a51dda01342eec6a3cc08dfeedf
2015-07-29Cosmetics - Fix header file order in unit testsJingning Han
Change-Id: I9582a8d74990125b71e8fe620f7f3f2585a30798
2015-07-28Replace vp9_ prefix in 2D-DCT functions with vpx_Jingning Han
Clean up the forward 2D-DCT function names in vpx_dsp. Change-Id: I3117978596d198b690036e7eb05fe429caf3bc25
2015-07-24Move msa implementations of 2D-DCT to vpx_dspJingning Han
Refactor and clean up the msa transform related code layout. Change-Id: Ic5048bd3d62a6046589817da745370ea89448e44
2015-07-22Factor forward 2D-DCT transforms into vpx_dspJingning Han
This commit factors the 4x4, 8x8, and 16x16 2D-DCT forward transform operations into vpx_dsp folder. Change-Id: I084b117b79c0925edcbcabb93f62b9f4bf8dbe7d
2015-07-06Remove comment about disabled testsJohann
The tests were re-enabled in 1fe643cf03f45198e5a033743d7c4dc027b8dfd9 Change-Id: I17b45a4bbe720a56605aed338446ff77df71abad
2015-07-01Fix --disable-use-x86incJohann
Change-Id: I374fcd8fb45a6893dcdeac6896671be142a99f06
2015-06-20mips msa vp9 fdct 8x8 optimizationParag Salasakar
average improvement ~4x-5x Change-Id: I37582efc2622bc20b2bf99617a76110ab24e9f6a
2015-06-01mips msa vp9 updated idct 8x8, 16x16 and 32x32 moduleParag Salasakar
Updated sources according to improved version of common MSA macros. Enabled idct MSA hooks and tests. Overall, this is just upgrading the code with styling changes. Change-Id: I1f488ab2c741f6c622b7a855388a202168082209
2015-05-30Merge "mips msa vp9 updated macros and disable all MSA functions"Parag Salasakar
2015-05-29mips msa vp9 updated macros and disable all MSA functionsParag Salasakar
Done little restructuring/styling changes to the sources like generic macro definitions, their use to reduce code lines, better code alignments etc. Disabled all MSA hooks and tests Change-Id: Ic6f2dce0b501f46b80c06c46c0fe2043d557b190
2015-05-22Re-worked header filesScott LaVarnway
Various header/test files had to be re-worked in order to build "Remove cm parameter from vp9_decode_block_tokens()". This patch reverts the "Remove cm" part and only contains the re-worked header files. Change-Id: I520958a88d1991fee988a3c784d0eac40e117a32
2015-05-14fdct8x8_test: move functions to an anonymous namespaceJames Zern
silences missing declaration warnings Change-Id: I9486c13c973df3d25fcdc2c3de9a0da783ce8fd6
2015-05-13Merge "Relocate memory operations for common code"Johann
2015-05-13Relocate memory operations for common codeJohann
With the sad functions, and hopefully the variance functions soon, moving to the vpx_dsp location, place the defines used in the reference C code in a common location. Change-Id: I4c8ce7778eb38a0a3ee674d2f1c488eda01cfeca
2015-05-08mips msa vp9 idct 8x8 optimizationParag Salasakar
average improvement ~4x-6x Change-Id: I5edf713721b9e24c7e0ce2e69d8fc3ecab625d91
2015-05-07replace DECLARE_ALIGNED_ARRAY w/DECLARE_ALIGNEDJames Zern
this macro was used inconsistently and only differs in behavior from DECLARE_ALIGNED when an alignment attribute is unavailable. this macro is used with calls to assembly, while generic c-code doesn't rely on it, so in a c-only build without an alignment attribute the code will function as expected. Change-Id: Ie9d06d4028c0de17c63b3a27e6c1b0491cc4ea79
2014-12-15VP9 common for ARMv8 by using NEON intrinsics 06James Yu
Add vp9_iht8x8_add_neon.c - vp9_iht8x8_64_add_neon The assembly did not previously implement tx_type 0 BUG=716 Change-Id: Icfc99dd24f3d59047f9184a7d0c761ba7e3de934 Signed-off-by: James Yu <james.yu@linaro.org>
2014-12-04Re-enable 8x8 fdct/fht tests by changing toleranceDeb Mukherjee
Increases tolerance for tests to ensure the fdct tests pass after random number range change. Change-Id: I5b622099e850f91a14b903d10cf14685f4dd3c2b
2014-12-03acm_random: provide full range for Rand16()James Zern
the gtest implementation used only returns values between 0 and 2^31-1 + temporarily disable some tests in fdct8x8_test which misbehave with the new range Change-Id: I45381076f0bea3317cc6728305890e4fd2f2facd
2014-12-02Added high bitdepth sse2 transform functionsPeter de Rivaz
Also removes some spurious changes in common/vp9_blockd.h which was introduced by a rebase issue between nextgen and master branches. Change-Id: If359f0e9a71bca9c2ba685a87a355873536bb282 (cherry picked from commit 005d80cd05269a299cd2f7ddbc3d4d8b791aebba) (cherry picked from commit 08d2f548007fd8d6fd41da8ef7fdb488b6485af3) (cherry picked from commit 4230c2306c194c058f56433a5275aa02a2e71d56)
2014-10-09Rename highbitdepth functions to use highbd prefixDeb Mukherjee
Uses highbd_ prefix convention consistently. Change-Id: I58f7f799a7ff8e32701bcd71c955bcf1cdd4581e