summaryrefslogtreecommitdiff
path: root/test/idct_test.cc
AgeCommit message (Collapse)Author
2020-07-27NULL -> nullptr in CPP filesJerome Jiang
This should clean up clangtidy warnings Change-Id: Ifb5a986121b2d0bd71b9ad39a79dd46c63bdb998
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
2018-11-20Replace assert by ASSERT_TRUEAngie Chiang
BUG=webm:1575 Change-Id: Id47930b48733159f5e967dc5fd1205e501b635b9
2018-11-19Fix scan_build warnings in idct_test.ccAngie Chiang
BUG=webm:1575 Change-Id: Ib2380aaf8c9f9bc7db87f36701a2792781beb44b
2018-01-11adopt some clang 5.0.0 formattingJohann
At least the changes that don't conflict with 4.0.1 Change-Id: I9b6a7c14dadc0738cd0f628a10ece90fc7ee89fd
2017-09-14vp8: [loongson] optimize idctllm with mmiShiyou Yin
1. vp8_short_idct4x4llm_mmi 2. vp8_short_inv_walsh4x4_mmi 3. vp8_dc_only_idct_add_mmi Change-Id: I616923681e79d78607a4988608fc39df77b093f4
2017-06-09idct_test: don't use std::nothrow anymoreJohann
But still check for NULL before calling Init() Change-Id: I2bf2887e1064c9103d29c542d20365c0aea75d76
2017-06-06buffer.h: split out initJohann
Change-Id: Idfbd2e01714ca9d00525c5aeba78678b43fb0287
2017-01-11Create a class for buffers used in testsJohann
Demonstrate its use with the IDCT test. Change-Id: Idf87fe048847c180f13818fd4df916ba4500134b
2016-09-23Use shifted value for sinpi8sqrt2Johann
The value 35468 changes sign when stored in int16_t: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 35468 to -30068 This negation requires adding back the original value to compensate. Shifting the value keeps the value positive and saves a post-vqdmulh shift. This technique is used in webp and idct_dequant_full_2x_neon BUG=b/28027557 Change-Id: I0c5ce09bea170fe08061856c2af6f841a557e0c3
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
2015-07-29Cosmetics - Fix header file order in unit testsJingning Han
Change-Id: I9582a8d74990125b71e8fe620f7f3f2585a30798
2015-07-07mips msa vp8 idct optimizationParag Salasakar
average improvement ~2x-5x Change-Id: I19e82f78772993bcd67fcf975fe180232172f86d
2014-07-18idct_test: drop '_t' from local typenamesJames Zern
_t is reserved by posix + switch to camelcase http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names Change-Id: I660a77c0c58ca64075c1051ea440fdf4d7c7e6af
2014-07-10tests: add API_REGISTER_STATE_CHECKJames Zern
used to wrap API functions to ensure full environment consistency as opposed to the renamed ASM_REGISTER_STATE_CHECK which is used with assembly functions. currently checks the FPU tag word in x86/x86_64 gcc builds to ensure emms has been called. Change-Id: Ie241772dbf903d33d516a1add4c8c6783f2e1490
2014-01-18test/: remove some unnecessary extern "C"sJames Zern
Change-Id: I57a94d2f9e26a872a20d805a506855a20e61c356
2013-09-09test/idct_test: add missing vpx_integer.h includeJames Zern
Change-Id: I9de764638ec981bb34fc8e183985d8c285b006fb
2013-09-06cleanup cpplint warningsYaowu Xu
Suggested by James Zern to clear out cpplint warnings for all unit test code. Change-Id: I731a3fa4d2a257eb9ef733426ba84286fbd7ea34
2013-07-18cosmetics: idct_test.cc: fix formattingJames Zern
clang-format -style=Google Change-Id: Ic85f2cd2a1d65d9cf18a0f8bc515c0a0f5161747
2013-06-18tests: clear system state after non-API callsJames Zern
add ClearSystemState() to reset MMX registers avoiding corrupting subsequent tests. Change-Id: I668deb09aa7aa467709776e5819f936910698bc0
2013-03-13removed reference to "LLM" and "x8"Yaowu Xu
The commit changed the name of files and function to remove obselete reference to LLM and x8. Change-Id: I973b20fc1a55149ed68b5408b3874768e6f88516