summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2014-06-27Merge "[spatial svc] Remove encoding modes since we only need one mode at ↵Minghai Shang
this time."
2014-06-27Merge "[spatial svc]Remove key frame quantizer settings since key frame is ↵Minghai Shang
decided by rate control"
2014-06-27Merge "Verify that the ouput of q0 is lossless in cpu speed test."Alex Converse
2014-06-27Merge "Better validation of invalid files"Jim Bankoski
2014-06-27Verify that the ouput of q0 is lossless in cpu speed test.Alex Converse
Change-Id: Ib94ee638eb486f1368f2e3098d25c1d3d28fc265
2014-06-27Better validation of invalid filesJim Bankoski
This patch checks that a decoder never tries to reference frame that's outside the range of 2x to 1/16th the size of this frame. Any attempt to do so causes a failure. Change-Id: I5c98fa7bb95ac4f29146f29dd92b62fe96164e4c
2014-06-26Add realtime coverage to cpu speed testAlex Converse
Change-Id: I33e8d1788ce29ffc695f7e9b84167ef446b1b56c
2014-06-25Merge changes I915beaef,I229dd6caJames Zern
* changes: vp9cx.mk: move avx c files outside of x86inc block test.mk: remove renamed file
2014-06-25Merge "Revert "Revert 3 patches from Hangyu to get Chrome to build:""hkuang
2014-06-25Revert "Revert 3 patches from Hangyu to get Chrome to build:"hkuang
This patch reverts the previous revert from Jim and also add a variable user_priv in the FrameWorker to save the user_priv passed from the application. In the decoder_get_frame function, the user_priv will be binded with the img. This change is needed or it will fail the unit test added here: https://gerrit.chromium.org/gerrit/#/c/70610/ This reverts commit 9be46e4565f553460a1bbbf58d9f99067d3242ce. Change-Id: I376d9a12ee196faffdf3c792b59e6137c56132c1
2014-06-25test.mk: remove renamed fileJames Zern
vp90-2-15-fuzz-flicker.webm was renamed in: c3db2d8 error check vp9 superframe parsing Change-Id: I229dd6ca4c662802c457beea0f7b4128153a65dc
2014-06-25Merge "decode_test_driver: check HasFailure() in RunLoop"James Zern
2014-06-25Merge "decode_test_driver: fix type size warning"James Zern
2014-06-25[spatial svc] Remove encoding modes since we only need one mode at this time.Minghai Shang
Change-Id: I1b6ed2e82a7e3e8a9e790bf29d667a3f856a9518
2014-06-25[spatial svc]Remove key frame quantizer settings since key frame is decided ↵Minghai Shang
by rate control Change-Id: I7eda0f5e678034f0e9c2ab481c517d2e9b280eb5
2014-06-25Merge "[spatial svc]Implement lag in frames for spatial svc"Minghai Shang
2014-06-24decode_test_driver: fix type size warningJames Zern
like vpx_codec_decode(), vpx_codec_peek_stream_info() takes an unsigned int, not size_t, parameter for buffer size Change-Id: I4ce0e1fbbde461c2e1b8fcbaac3cd203ed707460
2014-06-24vp9: check tile column countJames Zern
the max is 6. there are assumptions throughout the decode regarding this; fixes a crash with a fuzzed bitstream $ zzuf -s 5861 -r 0.01:0.05 -b 6- \ < vp90-2-00-quantizer-00.webm.ivf \ | dd of=invalid-vp90-2-00-quantizer-00.webm.ivf.s5861_r01-05_b6-.ivf \ bs=1 count=81883 Change-Id: I6af41bb34252e88bc156a4c27c80d505d45f5642
2014-06-24[spatial svc]Implement lag in frames for spatial svcMinghai Shang
Change-Id: I930dced169c9d53f8044d2754a04332138347409
2014-06-24Add unit test to test user_priv parameter.hkuang
Change-Id: I6ba6171e43e0a43331ee0a7b698590b143979c44
2014-06-23Merge "Add Check for Peek Stream validity to decoder test."Jim Bankoski
2014-06-23Add Check for Peek Stream validity to decoder test.Jim Bankoski
Change-Id: I9b745670a9f842582c47e6001dc77480b31fb6a1
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-21decode_test_driver: check HasFailure() in RunLoopJames Zern
avoids unnecessary errors due to e.g., read (Next()) failures Change-Id: I70b1d09766456f1c55367d98299b5abd7afff842
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