summaryrefslogtreecommitdiff
path: root/test/sixtap_predict_test.cc
AgeCommit message (Collapse)Author
2016-09-15Add vp8_bilinear_filter testJohann
Build out the sixtap_predict test because the filters are interchangeable. Add verbose failures and border checking. Change-Id: I962f50041750dca6f8d0cd35a943424cf82ddcb1
2016-09-16Revert "Restore vp8_sixtap_predict4x4_neon"Johann Koenig
This reverts commit d9dce2f48eed1368a44c368fa87a506bd89ffec5. Appears to be failing the SixtapPredict tests in some configurations and possibly test vectors as well. Change-Id: Ica6aa83ebac47d0a76e451846e7da67b1c17a7d7
2016-09-15Restore vp8_sixtap_predict4x4_neonJohann
This function was removed when clang started introducing alignment hints which caused the 32 bit vld1_lane_u32/vst1_lane_u32 to fail: https://llvm.org/bugs/show_bug.cgi?id=24421 The load has been rendered safe with an implementation ~indiscernible performance-wise that uses _u8 and over-reads just a touch. The store, when unaligned, has a version that is ~25% slower but safe when xoffset = 0 (second pass filter only). When the first pass filter (or both) are in play, the new version is almost identical in speed. Worst case performance (both filters, unaligned stores) is roughly 3-4x faster than C. BUG=webm:817 BUG=webm:1273 Change-Id: I1e490e94453e0872151fe0dafb05557463f6247d
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
2015-11-06sixtap_predict_test: create fn pointers w/'&' refJames Zern
this helps some toolchains (vs9) resolve the type of the parameter Change-Id: Ic53b2ed5fbce05c5b5e633b4a4ef9ea75c55360a
2015-10-01Merge "sixtap_predict_test: enable NEON tests"James Zern
2015-07-29Cosmetics - Fix header file order in unit testsJingning Han
Change-Id: I9582a8d74990125b71e8fe620f7f3f2585a30798
2015-07-13mips msa vp8 sixtap filter optimizationParag Salasakar
average improvement ~3x-5x Change-Id: I5fd88cb088814be443d04be384b9fca99b22adef
2014-11-05sixtap_predict_test: enable NEON testsJames Zern
the offending assembly code was deleted in: 08e38f0 VP8 for ARMv8 by using NEON intrinsics 14 the intrinsics currently pass. fixes issue #725 Change-Id: I43e4263bef21f9d9008c51ffdfa39fcf10b8e776
2014-07-18sixtap_predict_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: Ie59ddc080530d538e4ffb1d862844a84de926d92
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-03-10Disable sixtap_predict_test for neon.hkuang
Neon code unit test is failing now due to save/restore neon register operations are not done inside this function, but outside of it. Disable it now until VP8 neon code get cleaned up. Bug: 725 Change-Id: Id1ff1ef50a0e894b41c820a310ff8ba31ef12d18
2014-02-26sixtap_predict_test: add NEON functionsJames Zern
Change-Id: Id0a2d9ef9636c84ee988dabecd5d4dc2b8641944
2014-01-18test/: remove some unnecessary extern "C"sJames Zern
Change-Id: I57a94d2f9e26a872a20d805a506855a20e61c356
2013-12-12Cleanup copyright headers.Frank Galligan
Change-Id: I7ff2b18e085f3fffaa7f25d40e4e50427b808f43
2013-11-19Removing PARAMS macro for consistencyJoshua Litt
Change-Id: I23ed873a6c47b15491a2ffbcdd4f0fdeef1207a0
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-02-22sixtap_predict_test: fix sizes passed to memsetJames Zern
src_/dst_/dst_c_ are heap allocated, use the allocation size rather than sizeof(var) Change-Id: I3335ad487dc9b154cdf212891d1d74c812eff060
2012-12-27Merge branch 'vp9-preview' of review:webm/libvpxJohn Koleszar
Merge the vp9-preview branch into master. Change-Id: If700b9054676f24bed9deb59050af546c1ca5296
2012-11-27tests: add xmm register check for win64 targetsJames Zern
Change-Id: I69d00bfd1b10c03581838b15cd9a6dd66f4fa416
2012-11-15support building vp8 and vp9 into a single libJohn Koleszar
Change-Id: Ib8f8a66c9fd31e508cdc9caa662192f38433aa3d
2012-08-31msvs/tests: fix data alignment for asm testsJames Zern
Replace DECLARE_ALIGNED_ with vpx_memalign() DECLARE_ALIGNED (__declspec(align())) does not work as intended when used on class data members: Data in classes or structures is aligned within the class or structure at the minimum of its natural alignment and the current packing setting (from #pragma pack or the /Zp compiler option) Change-Id: I304aaa6c3716fbfae24675ecf192f4b40787e83e
2012-08-21sixtap_predict_test: fix msvc buildJames Zern
pass a variable to make_tuple() rather than a function, fixes type errors Change-Id: I5e04b61b5ab58cc0090ef21119486ca04853af61
2012-07-20Move ACMRandom to acm_random.hJohann
Change-Id: I1d99c56d1e1f521507978737fc661ca90af72507
2012-07-10Add unit test for vp8_sixtap_predict functionsYunqing Wang
This unit test tests vp8_sixtap_predict function against preset data and random generated data. The test against preset data checks the correctness of the functions, and the test against random data checks if the optimized six-tap predictor functions generate matching result as the c functions. It tests the following functions: vp8_sixtap_predict16x16_c vp8_sixtap_predict16x16_mmx vp8_sixtap_predict16x16_sse2 vp8_sixtap_predict16x16_ssse3 vp8_sixtap_predict8x8_c vp8_sixtap_predict8x8_mmx vp8_sixtap_predict8x8_sse2 vp8_sixtap_predict8x8_ssse3 vp8_sixtap_predict8x4_c vp8_sixtap_predict8x4_mmx vp8_sixtap_predict8x4_sse2 vp8_sixtap_predict8x4_ssse3 vp8_sixtap_predict4x4_c vp8_sixtap_predict4x4_mmx vp8_sixtap_predict4x4_ssse3 Change-Id: I6de097898ebca34a4c8020aed1e8dde5cd3e493b