summaryrefslogtreecommitdiff
path: root/test/test_vectors.cc
AgeCommit message (Collapse)Author
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-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-27Automatically count test vectors and make the tables const.Alex Converse
Change-Id: I742b0f26b7d735e75c3653a3e52bd4f4fc198d3d
2014-03-25tests: use consistent case for VP[89]James Zern
Vp[89] -> VP[89] Change-Id: Ib5863444c0c022cc51e2f160ecea92ca157fdf1d
2014-02-21Stop gating non420 features with a configure flag.Alex Converse
Change-Id: I8cc38fdef6a2a0968af8dfe15e7c2b3c46c531ea
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
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-11Move test vector list into a separate header.Frank Galligan
Change-Id: I36f9033492f12fda7f9ce0e7a97a009aab9aab57