summaryrefslogtreecommitdiff
path: root/test/test-data.sha1
AgeCommit message (Collapse)Author
2014-07-28Fix reference frame size restrictions.Jim Bankoski
The issue was introduced by commit g9f37d14 with adding explicit restrictions on reference-frame scale factors. The restriction is checked against aligned-by-8 frame dimensions, not against original ones. So, for example, frame of 35×35 actually can refer to frame of 70×70, but the new check won't allow this. It will compare 35 vs 72 (not 70), so 2x downscale limit will be exceeded. Change-Id: Ic663693034440f64ac8312cbff9e1e773a921060
2014-07-25Encode perf testJoshua Litt
Change-Id: I61993946fe5cbcd7ebeb6302efd9538bff022e5a
2014-07-18Merge "Separates profile 2 into 2 profiles 2 and 3"Deb Mukherjee
2014-07-17Separates profile 2 into 2 profiles 2 and 3Deb Mukherjee
Separates HBD profile int two profiles (2 and 3) consistent with the highbitdepth branch. This patch is ported from the original highbitdepth branch patch: https://gerrit.chromium.org/gerrit/#/c/70460/ Two of the invalid file tests needed to be updated. Change-Id: I6a4acd2f7a60b1fb4cbcc8e0dad4eab4248431e3
2014-07-16New decode perf test filesJoshua Litt
Change-Id: I89ff8d4243e0438c8fe4ad74b9745c060b4460d8
2014-07-15Fix show_existing_frame not decreasing frame buffer ref counter.Alexander Voronov
The issue was introduced by commit g7c43fb6. If current frame is repeated from existing-ref pool, frame buffer ref counter is not decreased, so buffer isn't released. Decoder fails being unable to allocate new frame buffer at some point. Added a test vector to verify that the condition will not recur later. Test vector was generated by the code in this patch: https://gerrit.chromium.org/gerrit/#/c/70862/ Change-Id: I8af96eb5b9670176e01a281d2e18bd458712cf78
2014-07-11Add unit test to test tile decoding error handling.hkuang
Also fix bugs related with corrupted frame handling. Return VPX_CODEC_CORRUPT_FRAME when getting corrupted block. Change-Id: I7207ccc7c68c4df2b40b561315d16e49ccf7ff41
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-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 "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-01Add a new yuv444 testvector.Alex Converse
This refelects the profile 1 bitstream change in 6c54dbc. Change-Id: I39625d88f236a79b7f2955d79c5a451e3753da16
2014-06-30Merge "BITSTREAM: Handle transform size and motion vectors more logically ↵Alex Converse
for non-420."
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-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-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-20Added Test vector that tests more show existing frames.Jim Bankoski
Change-Id: I0ddd7dd55313ee62d231ed4b9040e08c3761b3fe
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-18BITSTREAM: Handle transform size and motion vectors more logically for non-420.Alex Converse
This breaks the profile 1 bitstream. Don't force non420 uv transform size to 1/4 y size. In the 4:2:0 case the chroma corresponding to a luma block is 1/4 its size. In the 4:4:4 case chroma and luma planes are the same size. Disallowing larger transforms can result in a loss of compression efficiency and is inconsistent. For sub-8x8 blocks only average corresponding motion vectors. 4:2:0 and profile 0 behavior remains unchanged. Change-Id: I560ae07183012c6734dd1860ea54ed6f62f3cae8
2014-06-16Merge "Fix out of boundary memory read in fuzz test on vpxdec"Jingning Han
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-11[spatial svc]Combine first and second pass test to keep stats data in memory.Minghai Shang
Change-Id: Idccbfe35bebe6f05655bd54da7d8b616b1bffe03
2014-05-09Add another test vectorYaowu Xu
The test vector has segment enabled with different quantizer used for different segments for bot the first frame(key) frame and the rest of non-key frames. Change-Id: I7e21122183050ee046219caba483c18cbc34afe7
2014-05-07Added a test vectorYaowu Xu
The test vector is produced to have a single key frame, with segment map enabled and transmitted. Yet no segment feature is active. Change-Id: I365d62f00d05c07098b9a76fc8d3a991e427ec1a
2014-04-09Add more test files that change number of tile columns.Frank Galligan
Change-Id: I08fe184a04e5435aeac92f1d7cc9733ca52c2783
2014-04-08Fix decoder resolution change with tilesFrank Galligan
There was a bug with the decoder that if you started the decoder with more threads than the first frame had tile columns. Afterwards tried to decode a frame with more tile columns than the first frame, the decoder would hang. E.g. run vpxdec --threads=4. The first frame had two tile columns, then the next key frame had 4 tile columns, the decoder would hang. If you started with 4 tiles and switched to 2 tiles the decoder would be fine. The issue is that the worker the thread loop is using is stale. I added a test vector "vp90-2-14-resize-848x480-1280x720.webm" that exhibited the bug. Change-Id: I7bdd47241a52ac0fe1c693a609bc779257e94229
2014-03-31Merge "[BITSTREAM]Fix the scaling calculation"Yaowu Xu
2014-03-28[BITSTREAM]Fix the scaling calculationYaowu Xu
For very large size video image, the scaling calculation may need use value beyond the range of int. This commit upgrade the value to 64bit to make sure the calculation do not wrap around INT_MAX. The change corrected the decoder behavior. The bug affects only very large resolution video because the scaling calculation was sufficient for image size smaller than 2^13. This resolves issue: https://code.google.com/p/webm/issues/detail?id=750 Change-Id: I2d2ed303ca6482f31f819f3c07d6d3e98ef3adc5
2014-03-28[svc] Fix SvcTest.SecondPassEncode failureMinghai Shang
Root cause is the different default register length between x86 and x64 platform. Change spatial_layer_id to long long. Change-Id: If1a5972365c7a59f7e76cb4fd714610f3d48a8ff
2014-03-27[svc] Verify and store input two pass stats data in 2nd pass rcMinghai Shang
Change-Id: Ib09eedc17ea0ea2eec75d78112e4786d98f382aa
2014-02-20Added three test vectors with droppable framesYaowu Xu
Change-Id: I70240e50927b4379603628f6349bf615f756b5a1
2014-02-20Test vectors for odd image width and height.Jim Bankoski
Change-Id: I39286df9fc76e3451f14ce2652d671e11b0c37bc
2014-01-31Disable update of last_show_frame for existing frameAdrian Grange
When showing a previously decoded frame, i.e. when show_existing_frame=1, the update of the last_show_frame flag must be disabled. This is to ensure that the last_show_frame flag reflects the state of the flag for the immediately previously decoded frame rather then the value that was forced to ensure that a previously decoded frame would be displayed. This patch also adds a test vector to verify that the display_existing_frame flag works as expected. Code for generating the test vector can be found in this patch: https://gerrit.chromium.org/gerrit/#/c/68581/ (Bug originally reported by Alexander Voronov <ru.xalba@gmail.com>). Change-Id: I731d288fba02088959f7fcc87707137fffc6acf5
2014-01-22Expand the lossless and datarate tests to cover 4:4:4.Alex Converse
Change-Id: I2dc7b3265d0a87d7a26c95b48e360c7c68cc7355
2013-12-18Added a test vector that exercises lpf deltasYaowu Xu
From frame 2, the lpf deltas are all cleared for for even frames, and a set of values are set and used for odd frames. The intention is to exercise decoding code around lpf delta/update decoding. Change-Id: Ic9ff1bc2c2a023f4805852f8573398f2ec2249d7
2013-12-16Added a test vectorYaowu Xu
The added vector was encoded with aq mode on, with the intent to exercise the decode code around segment feature. Change-Id: Iedcb7261e87d3e11b25ecf031d3a69385271148e
2013-12-11test-data.sha1: add missing sha1sumsJames Zern
vp90-2-02-size-lf-1920x1080.webm{,.md5} were added in: ebb583d Add a test vector for loopfilter Change-Id: I021808338935932cb742ea2621b94f44f22e3037
2013-12-05add tile test vectorsJames Zern
3840x2160 vp90-2-08-tile_1x8_frame_parallel.webm vp90-2-08-tile_1x8.webm vpxenc crowd_run_2160p50.y4m \ --codec=vp9 -p 2 \ --frame-parallel=${fpm} \ --tile-columns=${tc} \ --limit=10 \ --auto-alt-ref=1 \ --lag-in-frames=5 \ --target-bitrate=2500 Change-Id: I6dc19b4fca483d03ef9a897a843bf9037d095c8e
2013-12-03Fix VP8 border replication for very small imageYaowu Xu
Also added a test vector for this issue. Change-Id: I8a8654f9d33b27afd53c295f1ea44d198550d067
2013-11-26Add a noise test vectorYunqing Wang
Added the test vector provided by Attila, which caught the bug in Issue 661 "Decoder produces mismatched outputs with ssse3 enabled and disabled" vp90-hantro-stream-001.ivf size: 320x180; 20 frames Change-Id: Ic0d2b57ac7596ecb938dd55abc8c706fc2dd6d8f
2013-11-18Decoder performance test added to unit testsJoshua Litt
Change-Id: Id578a5fe2039631cefd82dc2ef98cc62683194c3
2013-11-12Add test vector for row/col tile decodingJingning Han
1920x1080 vp90-2-08-tile-4x4.webm vp90-2-08-tile-4x4.webm.md5 vpxenc blue_sky_1080p25 --frame-parallel=0 \ --tile-columns=2 --tile-rows=2 \ --lossless=0 --error-resilient=0 \ --min-q=0 --max-q=30 --kf-min-dist=0 --kf-max-dist=9999 \ --cpu-used=0 --codec=vp9 -p 2 --good --fps=25/1 --limit=5 vp90-2-08-tile-4x1.webm vp90-2-08-tile-4x1.webm.md5 vpxenc blue_sky_1080p25 --frame-parallel=0 \ --tile-columns=0 --tile-rows=2 \ --lossless=0 --error-resilient=0 \ --min-q=0 --max-q=30 --kf-min-dist=0 --kf-max-dist=9999 \ --cpu-used=0 --codec=vp9 -p 2 --good --fps=25/1 --limit=5 Change-Id: I77d0ccf9b721ae5cfa72781fe0d3c534ea43b756
2013-10-28add tile test vectorsJames Zern
1920x1080 vp90-2-08-tile_1x2_frame_parallel.webm vp90-2-08-tile_1x2.webm vp90-2-08-tile_1x4_frame_parallel.webm vp90-2-08-tile_1x4.webm vpxenc blue_sky_1080p25.y4m \ --codec=vp9 -p 2 \ --frame-parallel=${fpm} \ --tile-columns=${tc} \ --limit=10 \ --auto-alt-ref=1 \ --lag-in-frames=5 \ --target-bitrate=2500 Change-Id: Id9c94b722cc553a6865d443a94e8482c78b038bb
2013-10-14add a test vector with frame parallel mode enabledJames Zern
vp90-2-07-frame_parallel.webm: vpxenc stefan_sif.y4m \ --codec=vp9 -p 2 \ --frame-parallel=1 \ --limit=10 \ --auto-alt-ref=1 \ --lag-in-frames=5 Change-Id: I7381a69aaaec238b309169a51b34cb6bf29a9c50
2013-10-02BITSTREAM - RESTORING BILINEAR INTERPOLATION FILTER SUPPORTDmitry Kovalev
Adding appropriate test vector vp90-2-06-bilinear.webm. Change-Id: Ia3bbf57318e0cc61a1b724fe751e3f9c7e11b337
2013-09-17Modified resize unit test to output test vectorAdrian Grange
Modified the resize unit test so that it optionally writes the encoded bitstream to file. The macro WRITE_COMPRESSED_STREAM should be set to 1 to enable output of the test bitstream; it is set to 0 by default. Change-Id: I7d436b1942f935da97db6d84574a98d379f57fb1
2013-09-04Fixing problem with invalid delta_q reading.Dmitry Kovalev
This is a bitstream change but no currently produces videos should be affected. https://code.google.com/p/webm/issues/detail?id=610 Change-Id: Ic85a6477df6c201cdf7f70f6bd84607b71f4593c
2013-08-26Add a test vector that tests color space 444Jim Bankoski
This adds a test vector for 444 color space. Change-Id: I1e2ac3883211989a062cfafc0e58151b14d294b8