summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2014-06-23error check vp9 superframe parsingJim Bankoski
This patch insures that the last byte of a chunk that contains a valid superframe marker byte, actually has a proper superframe index. If not it returns an error. As part of doing that the file : vp90-2-15-fuzz-flicker.webm now fails to decode properly and moves to the invalid file test from the test vector suite. Change-Id: I5f1da7eb37282ec0c6394df5c73251a2df9c1744
2014-06-20Merge "Fix bug in error handling that causes segfault"Jim Bankoski
2014-06-20Added Test vector that tests more show existing frames.Jim Bankoski
Change-Id: I0ddd7dd55313ee62d231ed4b9040e08c3761b3fe
2014-06-20Fix bug in error handling that causes segfaultJim Bankoski
See: https://code.google.com/p/chromium/issues/detail?id=362697 The code properly catches an invalid stream but seg faults instead of returning an error due to a buffer not having been initialized. This code fixes that. Change-Id: I695595e742cb08807e1dfb2f00bc097b3eae3a9b
2014-06-20Validate error checking code in decoder.Jim Bankoski
This patch adds a mechanism for insuring error checking on invalid files by creating a unit test that runs the decoder and tests that the error code matches what's expected on each frame in the decoder. Disabled for now as this unit test will segfault with existing code. Change-Id: I896f9686d9ebcbf027426933adfbea7b8c5d956e
2014-06-16Merge "example tests: Make failures due to incorrect bin path easier to ↵Tom Finegan
diagnose."
2014-06-16example tests: Make failures due to incorrect bin path easier to diagnose.Tom Finegan
Add elog() to tools_common, and checks for the executable in each test. Change-Id: I3c6334eca62c0b56040d91145abbe1bf5f9c763c
2014-06-16Merge "Fix out of boundary memory read in fuzz test on vpxdec"Jingning Han
2014-06-13test/tools_common.sh: Log all shared variables in verbose mode.Tom Finegan
Several variables were not being logged. Change-Id: I2f2ded19470a73c4551bbb1abbd6e4d27bd59fac
2014-06-13Fix out of boundary memory read in fuzz test on vpxdecJingning Han
This commit fixes frame header decoding for superframe index, to prevent out of boundary memory read triggered by fuzz test vector. It resolves a chromium security violation issue crbug.com/376802. The issue was introduced in the change: Add VPXD_SET_DECRYPTOR support to the VP9 decoder. cl-id I88f86c8ff9af34e0b6531028b691921b54c2fc48 where the buffer was read before validation check on index offset applied. A test vector is added accordingly. Change-Id: I41c988e776bbdd1033312a668e03a3dbcf44ca99
2014-06-11Merge "[spatial svc]Combine first and second pass test to keep stats data in ↵Minghai Shang
memory."
2014-06-11[spatial svc]Combine first and second pass test to keep stats data in memory.Minghai Shang
Change-Id: Idccbfe35bebe6f05655bd54da7d8b616b1bffe03
2014-06-10vp9_sub_pixel_*variance*: disable avx2 variantsJames Zern
tests failing under Win32/Win64 + variance_test: add missing avx2 functions (partially disabled) Change-Id: I6abc0657ea076379ab9ca65c12678b9ea199849d
2014-06-10vp9_sad*x4d: disable avx2 variantsJames Zern
tests failing under Win32/Win64 + sad_test: add missing avx2 functions (disabled) Change-Id: I8224fba2b270f6039ab1877d71e1e512f0081856
2014-06-09vp9_f(dct|ht): disable avx2 variantsJames Zern
tests failing under Win32/Win64 + dct16x16_test: add missing avx2 functions (partially disabled) exercises the forward transforms no idct/iht implementations, so the c-code is used Change-Id: I04f64a457fa0828a00f32b5c9fe4f55294f21f61
2014-06-09convolve: disable avx2 variantsJames Zern
tests failing under Win32/Win64 Change-Id: I5d49d11911bcda3a832b14efe5500d22597bedcf
2014-06-09fdct8x8_test: add missing avx2 functionsJames Zern
exercises the forward transforms no idct/iht implementations, so the c-code is used Change-Id: I76b4d1712f10225c1ffa5ffb0ed9a551e68b93b4
2014-06-09dct4x4_test: add missing avx2 functionsJames Zern
exercises the forward transforms no idct/iht implementations, so the c-code is used Change-Id: I88c11ac37ac6456de9b4b3ec5da059faf4ad6066
2014-06-03Enable unit test for partial 16x16 inverse 2D-DCTJingning Han
This commit enables unit test for SSSE3 16x16 inverse 2D-DCT with 10 non-zero coefficients. It includes a new test condition to cover the potential overflow issue due to extremely coarse quantization. Change-Id: I945e16f05dfbe19500f0da5f15990feba8e26d99
2014-06-03Merge "Re-enable unit test for SSSE3 forward 8x8 2D-DCT"Jingning Han
2014-06-03Merge "Enable SSSE3 inverse 2D-DCT with 10 non-zero coeffs"Jingning Han
2014-06-03Re-enable unit test for SSSE3 forward 8x8 2D-DCTJingning Han
This commit enables the unit test for SSSE3 forward 8x8 2D-DCT. Change-Id: Ie4aae84ac74f6eb1a80b62285c91632bd6db29f1
2014-06-03Merge "Rework unit test for 8x8 transformation"Jingning Han
2014-06-03Rework unit test for 8x8 transformationJingning Han
This commit reworks the unit test for 8x8 forward/inverse transformation. It adds extreme input value test to detect overflow issues in the intermediate steps. It temporarily disables unit test for the SSSE3 version, which showed overflow failure in the new test conditions. Change-Id: I7caf10bba4b6db031add65d8c0eb99426b38aa42
2014-06-02Remove Wextra warnings from vp9_sad.cDeb Mukherjee
As a side-effect, the sad unit tests for VP8 and VP9 had to be separated. Fixes a bug in original patch: (https://gerrit.chromium.org/gerrit/#/c/70163/8) that was reverted due to a nightly test failure. Change-Id: Ia2a4e9e278fd3c89d6c3c82fcc6381320ec2a8a6
2014-06-01Merge "Revert "Remove Wextra warnings from vp9_sad.c""Frank Galligan
2014-06-01Revert "Remove Wextra warnings from vp9_sad.c"Frank Galligan
This reverts commit 916550428db803c54c993ff9d3c34b9b0bcebb7c Change-Id: I500822b03f09c64ff6ec5396c68edee9ca3b75cb
2014-05-30Add overflow check unit test for 16x16 inverse DCT/ADST transformJingning Han
This commit applies quantization process with coarse quantization step size to the forward transform coefficients and tests all the inverse 16x16 DCT and ADST implementation versions with the dequantized coefficients as input, to verify that the outcomes match the prototype. Change-Id: I68034a6126b45192c87d8c642155290e89bff8fa
2014-05-28Enable SSSE3 inverse 2D-DCT with 10 non-zero coeffsJingning Han
This commit enables SSSE3 implementation of the inverse 2D-DCT with only first 10 coefficients non-zero. It reduces the runtime of SSE2 version from 745 cycles to 538 cycles, i.e., 27% speed-up. Change-Id: I18ba4128859b09c704a6ee361d69a86c09fe8dfe
2014-05-27Merge "Turn on unit tests for AVX2 convolve functions"Erik Niemeyer
2014-05-27Merge "Remove Wextra warnings from vp9_sad.c"Deb Mukherjee
2014-05-27Turn on unit tests for AVX2 convolve functionsYunqing Wang
This patch turned on unit tests for AVX2 convolve functions. Change-Id: I51b8bfdaa290fb22862c68af61abf2394d00d47c
2014-05-23Merge changes I4f0f4378,I02250d13Jingning Han
* changes: Re-enable unit test on neon implementation of 16x16 idct Turn on unit test for inverse 16x16 2D-DCT ssse3
2014-05-23Re-enable unit test on neon implementation of 16x16 idctJingning Han
The previous change only tunes forward transform. It doesn't affect the neon implementation of the inverse transform. Hence turn the unit test on. Change-Id: I4f0f43783b98814d1eee53182209f9669d538140
2014-05-23Turn on unit test for inverse 16x16 2D-DCT ssse3Jingning Han
Change-Id: I02250d1364ca2e637585a8db020cba9fd4a95664
2014-05-23Use extreme values for input in convovle testsYaowu Xu
The intepolation filter functions can be better tested withe extreme values, especially given the optimization functions are prone to overflow signed 16 bit intermediate value when operation order is wrong. Change-Id: I712142b0bc1e5969c692c0486a57ffa37c9742b5
2014-05-22Remove Wextra warnings from vp9_sad.cDeb Mukherjee
As a side-effect, the sad unit tests for VP8 and VP9 had to be separated. Change-Id: I068cc2391eed51e9b140ea6aba78338c5fec8d71
2014-05-21tools_common: fix test_name quotingJames Zern
quoting within $() doesn't need to be escaped; removes trailing " in test_name Change-Id: I97ffad9fdfd97b3cdf4dec2a8547804875d85e66
2014-05-21Merge "Adjust the forward 16x16 DCT computation steps"Jingning Han
2014-05-20Merge "Add make target for running example tests."Tom Finegan
2014-05-20Merge "tools_common.sh: Allow over ride of test name."Tom Finegan
2014-05-20Merge "make spatial svc an experiment"James Zern
2014-05-19Merge "Add test for vpx_temporal_svc_encoder example."James Zern
2014-05-19Merge "Add test for vp9_spatial_svc_encoder example."Tom Finegan
2014-05-19Adjust the forward 16x16 DCT computation stepsJingning Han
This commit adjusts the forward 16x16 DCT computation steps to simplify the register level operations. It fixes the corresponding sse2 version accordingly. Change-Id: I72a9c25b8ca9442fc5e113f47cd701ae55aa7f08
2014-05-19Merge "Hiding vp9_sub_pel_filters_{8, 8s, 8lp} filters in *.c file."Dmitry Kovalev
2014-05-17Add test for vp9_spatial_svc_encoder example.Tom Finegan
Change-Id: I6f392ee38842120c0ff32b6c8853333af032ccb9
2014-05-17tools_common.sh: Allow over ride of test name.Tom Finegan
Use VPX_TEST_NAME instead of the script name sans path and extension when reporting test results when the variable is not empty. Also: Clean up some style nits while I'm at it. Change-Id: I0319745a3b7a90d0f307e55c5108fea2204187cd
2014-05-16Add test for vpx_temporal_svc_encoder example.Tom Finegan
Change-Id: Icbb0ca1c899f7a58d6f73970e6434451738195b7
2014-05-15Add make target for running example tests.Tom Finegan
Change-Id: I0d0dfda96b99cefb5ef5c16df4a024de5bf8007e