summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2014-07-09Merge "Move vp9_thread.* to common."hkuang
2014-07-09Merge "Fix decoder handling of intra-only frames"Adrian Grange
2014-07-08Merge changes I2abd6716,I4a65f7f8James Zern
* changes: cpu_speed_test: cosmetics aq_segment_test: cosmetics
2014-07-08Merge "invalid_file_test: output error detail on mismatch"James Zern
2014-07-08Fix decoder handling of intra-only framesAdrian Grange
This patch fixes bug 633: https://code.google.com/p/webm/issues/detail?id=633 The first decoded frame does not have to be a keyframe, it could be an inter-frame that is coded intra-only. This patch fixes the handling of intra-only frames. A test vector has also been added that encodes 3 intra-only frames at the start of the clip. The test vector was generated using the code in the following patch: https://gerrit.chromium.org/gerrit/#/c/70680/ Change-Id: Ib40b1dbf91aae2bc047e23c626eaef09d1860147
2014-07-07Move vp9_thread.* to common.hkuang
Prepare for frame parallel decoding, the reference count buffers need to be protected by mutex. Move vp9_thread.* to common folder so that those buffers could use cross-platform mutex from vp9_thread.*. Change-Id: I541277cf15eefed6641555944f67f4a0bcdc8154
2014-07-05Adds support for reading and writing 10/12-bit y4mDeb Mukherjee
The y4m extension used is the same as the one used in ffmpeg/x264. The patch is adapted from the highbitdepth branch. Also adds unit tests for y4m header parsing and md5 check of the raw frame data, as well as y4m writing. [build fix for Mac/VS by not using tuples with strings] Change-Id: I40897ee37d289e4b6cea6fedc67047d692b8cb46
2014-07-02Reverting "Adds support for reading and writing 10/12-bit y4m" for now ↵Dmitry Kovalev
because of Mac Build Failure. This reverts commit 82dc1332af4b16d3e4ad3c4358498820637b7add Change-Id: I824bf42bf47c7df6985c79e451d6af913030d374
2014-07-02Adds support for reading and writing 10/12-bit y4mDeb Mukherjee
The y4m extension used is the same as the one used in ffmpeg/x264. The patch is adapted from the highbitdepth branch. Also adds unit tests for y4m header parsing and md5 check of the raw frame data, as well as y4m writing. Change-Id: Ie2794daf6dbafd2f128464f9b9da520fc54c0dd6
2014-07-01Merge changes I875ac5a7,I2b13369d,I9ceb47a9James Zern
* changes: update vp9_thread.[hc] vp9_thread_test: remove unnecessary c_str()'s vp9_thread_test: factorize decode loop
2014-07-01invalid_file_test: output error detail on mismatchJames Zern
Change-Id: I6abf139961fbb6a46db740dc023e26ac1e8e9305
2014-07-01cpu_speed_test: cosmeticsJames Zern
- add a virtual destructor - fix formatting - remove some unnecessary includes - remove unused functions/defines/typedefs Change-Id: I2abd671670cc89fa80edb466ff4bc1fee35b5e31
2014-07-01aq_segment_test: cosmeticsJames Zern
- add a virtual destructor - fix formatting - remove some unnecessary includes - remove unused functions/defines/typedefs Change-Id: I4a65f7f85b2ff53645e4b0e97ca438c1e93dabc8
2014-07-01Merge "Add a test that tests invalid partitions for profile 1"Jim Bankoski
2014-07-01Add a test that tests invalid partitions for profile 1Jim Bankoski
Change-Id: I3d95fbe9a8098256582b5386881d5b7bbdb317ed
2014-07-01Merge "vp9_thread_test: add 'Thread' to test names"James Zern
2014-07-01Add a new yuv444 testvector.Alex Converse
This refelects the profile 1 bitstream change in 6c54dbc. Change-Id: I39625d88f236a79b7f2955d79c5a451e3753da16
2014-07-01update vp9_thread.[hc]James Zern
pull the latest from WebP, which adds a worker interface abstraction allowing an application to override init/reset/sync/launch/execute/end this has the side effect of removing a harmless, but annoying, TSan warning. Original source: http://git.chromium.org/webm/libwebp.git 100644 blob 08ad4e1fecba302bf1247645e84a7d2779956bc3 src/utils/thread.c 100644 blob 7bd451b124ae3b81596abfbcc823e3cb129d3a38 src/utils/thread.h Local modifications: - s/WebP/VP9/g - camelcase functions -> lower with _'s - associate '*' with the variable, not the type Change-Id: I875ac5a74ed873cbcb19a3a100b5e0ca6fcd9aed
2014-07-01vp9_thread_test: remove unnecessary c_str()'sJames Zern
EXPECT_EQ() works with strings Change-Id: I2b13369d2aa7ff305ee516e6cb73bd099f8dead9
2014-06-30vp9_thread_test: factorize decode loopJames Zern
+ add a SCOPED_TRACE with the current filename Change-Id: I9ceb47a9154bc0d9f9878a83b707e8ed935790f9
2014-06-30vp9_thread_test: add 'Thread' to test namesJames Zern
s/VP9DecodeMTTest/VP9DecodeMultiThreadedTest/ this enables simpler test filtering Change-Id: I010a451cf32fa5a95db6734cc22f331f0a0d515a
2014-06-30Merge "BITSTREAM: Handle transform size and motion vectors more logically ↵Alex Converse
for non-420."
2014-06-30Decide the partitioning threshold from the variance histogramYunqing Wang
Before encoding a frame, calculate and store each 16x16 block's variance of source difference between last and current frame. Find partitioning threshold T for the frame from its variance histogram, and then use T to make partition decisions. Comparing with fixed 16x16 partitioning, rtc set test showed an overall psnr gain of 3.242%, and ssim gain of 3.751%. The best psnr gain is 8.653%. The overall encoding speed didn't change much. It got faster for some clips(for example, 12% speedup for vidyo1), and a little slower for others. Also, a minor modification was made in datarate unit test. Change-Id: Ie290743aa3814e83607b93831b667a2a49d0932c
2014-06-27Add a test using VP9E_SET_LOSSLESSAlex Converse
Change-Id: Ia9ac079d65fbd0a134e8d69c1f4ce171fe94bf64
2014-06-27Merge "Revert "Revert "Revert 3 patches from Hangyu to get Chrome to build:"""James Zern
2014-06-27Revert "Revert "Revert 3 patches from Hangyu to get Chrome to build:""James Zern
This reverts commit b336356198b8ada50fbb59f04f11cefceaf5ff95. This causes a hang in: VP9/InvalidFileTest.ReturnCode/3 the change to test/user_priv_test.cc remains with a minor update Change-Id: I4a8a272ca37ea329b0f413f0b1cd827a238bd9fd
2014-06-27Merge "Add a CPU speed test with screen content."Alex Converse
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-27Add a CPU speed test with screen content.Alex Converse
Encoding screen content exercises various fast skip paths that are missed by natural video content. Change-Id: Ie359884ef9be89cbe5dda6d82f1f79360604a090
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