summaryrefslogtreecommitdiff
path: root/test/avg_test.cc
AgeCommit message (Collapse)Author
2018-09-23fix integer overflow caused by uninitialized memoryMatthias Räncker
Signed-off-by: Matthias Räncker <theonetruecamper@gmx.de> Change-Id: I55ec2a803eff89b07376459e334d4e949bfcb2cc
2018-06-26BUG FIX: Initialize AverageTestBase membersScott LaVarnway
bit_depth_ was not initialized (used in FillRandom) and caused valgrind errors. BUG=webm:1542 Change-Id: I09a9acd54de0dfa4f9006304f45eb20883c9908c
2018-06-22Add vpx_highbd_avg_8x8, vpx_highbd_avg_4x4Scott LaVarnway
BUG=webm:1537 Change-Id: I5f216f35436189b67d9f350991f41ed31431d4fe
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
2017-11-10vpx: [x86] add vpx_satd_avx2()Scott LaVarnway
SSE2 instrinsic vs AVX2 intrinsic speed gains: blocksize 16: ~1.33 blocksize 64: ~1.51 blocksize 256: ~3.03 blocksize 1024: ~3.71 Change-Id: I79b28cba82d21f9dd765e79881aa16d24fd0cb58
2017-11-09vpx: [x86] add vp9_block_error_fp_avx2()Scott LaVarnway
SSE2 asm vs AVX2 intrinsics speed gains: blocksize 16: ~1.00 blocksize 64: ~1.17 blocksize 256: ~1.67 blocksize 1024: ~1.81 Change-Id: I2a86db239cf57e3ff617890ccb2d236aba83ad5e
2017-02-24consolidate block_error functionsJohann
vp9_highbd_block_error_8bit_c was a very simple wrapper around vp9_block_error_c. The SSE2 implemention was practically identical to the non-HBD one. It was missing some minor improvements which only went into the original version. In quick speed tests, the AVX implementation showed minimal improvement over SSE2 when it does not detect overflow. However, when overflow is detected the function is run a second time. The OperationCheck test seems to trigger this case and reverses any speed benefits by running ~60% slower. AVX2 on the other hand is always 30-40% faster. Change-Id: I9fcb9afbcb560f234c7ae1b13ddb69eca3988ba1
2017-02-07block_error_fp highbd sse2: use tran_low_t for coeffJohann
BUG=webm:1365 Change-Id: Id2ed3ebaaaa6a4b68628c23e08b64ea5f1341761
2017-02-02Add unit tests for vp9_block_error_fp.Jerome Jiang
BUG=webm:1365 Change-Id: I004e5cd7ca331d14b31b7fc3edeee45fce064026
2017-02-01satd highbd neon: use tran_low_t for coeffJohann
BUG=webm:1365 Change-Id: I43521ad32b6c96737a8ef2b8c327f901fd7eaf84
2017-02-01satd highbd sse2: use tran_low_t for coeffJohann
BUG=webm:1365 Change-Id: I013659f6b9fbf9cc52ab840eae520fe0b5f883fb
2017-01-31Make satd unit test support all bit-depth settingsJingning Han
Turn on satd unit test for c function in both regular and high bit-depth settings. Change-Id: I4b0c56addfb84964ede0da3ab760fe0ee640cfd0
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-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
2016-09-27Add compiler warning flag -Wextra and fix related warnings.Urvang Joshi
Note: some of these warnings are enabled by a combination of -Wunused (added earlier) and -Wextra. Cherry-picked from AOM 4790a69faaec8f03d65f64ff070f6ab4307dbb16 Expands use of (void)x; on unused variables. AOM only supports one codec in codec_factory.h Does not include changes to HandleDecodeResult. AOM removed invalid_file_test.cc which does use the video parameter. Does not enable -Wextra yet. There are more issues to fix. BUG=webm:1069 Change-Id: I322a1366bd4fd6c0dec9e758c2d5e88e003b1cbf
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-02-11tests: quiet some unused parameter warningsJames Zern
Change-Id: Iff8b0d77234f78bf407676891bccad92825bfcc6
2015-12-14move vp9_avg to vpx_dspJames Zern
Change-Id: I7bc991abea383db1f86c1bb0f2e849837b54d90f