summaryrefslogtreecommitdiff
path: root/test/util.h
AgeCommit message (Collapse)Author
2013-11-19Removing PARAMS macro for consistencyJoshua Litt
Change-Id: I23ed873a6c47b15491a2ffbcdd4f0fdeef1207a0
2013-07-18tests: silence a few type related warningsJames Zern
Change-Id: If908328c1dbbb5bd84c57e30fab1cda1804933e4
2013-01-23Adds an error-resilient mode with testDeb Mukherjee
Adds an error-resilient mode where frames can be continued to be decoded even when there are errors (due to network losses) on a prior frame. Specifically, backward updates are turned off and probabilities of various symbols are reset to defaults at the beginning of each frame. Further, the last frame's mvs are not used for the mv reference list, and the sorting of the initial list based on search on previous frames is turned off as well. Also adds a test where an arbitrary set of frames are skipped from decoding to simulate errors. The test verifies (1) that if the error frames are droppable - i.e. frame buffer updates have been turned off - there are no mismatch errors for the remaining frames after the error frames; and (2) if the error-frames are non droppable, there are not only no decoding errors but the mismatch PSNR between the decoder's version of the post-error frames and the encoder's version is at least 20 dB. Change-Id: Ie6e2bcd436b1e8643270356d3a930e8989ff52a5
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