summaryrefslogtreecommitdiff
path: root/test/datarate_test.cc
AgeCommit message (Collapse)Author
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-05-07Relax rc test thresholdYaowu Xu
For multilayer coding Change-Id: I830a0176c020658b836e3f5d2ce6bc5932736c0c
2014-04-17Relax the threshold for datarate test by 5%Yaowu Xu
Change-Id: Ibc770df77939a68f9f0d1d78c0edd737b0d398ad
2014-04-04Re-enable datarate tests for speeds 5 and 6.Marco Paniconi
Changed a parameter to make speed 5 pass, and valgring issue for speed 6 fixed: https://code.google.com/p/webm/issues/detail?id=740 Change-Id: I5b804b08069e29df3f08b9ec37f5b80151b4c910
2014-03-28Adjust rt speed steps.Yaowu Xu
This commit adjusted the speed steps in rt mode to make the steps more evenly spaced on speed and quality, specifically: 1. Merged 3 and 4 into one single step 3 and removed confilicting features. 2. Move 8, 7, 6, 5 to be 7, 6, 5, 4 repsectively. Change-Id: I38d56d61531f3561d772aef953c411c8fb38c063
2014-03-20Disable speed 6 for datarate test.Marco Paniconi
One of the tests for real-time mode is failing at speed 6. Introduced recently, will enable again when fixed. Change-Id: I8f42de6a3eca226c9aa5c5e1fab98d629993c087
2014-03-12datarate_test renaming with suffix large because it is slow.Jim Bankoski
Change-Id: I5cdff078159a379bc48f1d8e249e144c6d27c946
2014-03-07Add realtime-mode to datarate tests.Marco Paniconi
Change-Id: Ib7ef6afbc80a38b134522bff283c01fadbec874b
2014-03-06Add speeed 5 to datarate test.Marco Paniconi
Change-Id: I7126e4b36994020cc656d046d10df5d6a6c53e66
2014-02-21Stop gating non420 features with a configure flag.Alex Converse
Change-Id: I8cc38fdef6a2a0968af8dfe15e7c2b3c46c531ea
2014-02-13Datarate test for temporal layers and frame dropper.Marco Paniconi
Also, removed a TODO and removed speed 1 from the tests. Change-Id: I4e6b114204b6d42d93fd1902a56eb0c459bad135
2014-02-11Fix frames that have no references to them.Frank Galligan
BasicRateTargeting3TemporalLayers found an error with the get/release frame buffer management. Change-Id: Iccff25cba1d2f276f2a0d0fb7b20cf99b4405549
2014-02-11Disabling BasicRateTargeting3TemporalLayers test.Dmitry Kovalev
Frank is going to fix it soon, disabling for now. Change-Id: Ifb7092d7db5af01bde62897af189fd620b7bbdf3
2014-02-10Some updates and fixes for layered CBR mode.Marco Paniconi
-Properly set the average frame size for each layer. -Allow each layer to update its average/last Q stats after encoding. -Initialize for some layer context variables. Change-Id: Iaa37d144fcf4f30ff4283a4e8db8b9ca8bf4c815
2014-02-06Layer based rate control for CBR mode.Marco Paniconi
This patch adds a buffer-based rate control for temporal layers, under CBR mode. Added vpx_temporal_scalable_patters.c encoder for testing temporal layers, for both vp9 and vp8 (replaces the old vp8_scalable_patterns). Updated datarate unittest with tests for temporal layer rate-targeting. Change-Id: I8900a854288b9354d9c697cfeb0243a9fd6790b1
2014-02-03Revert "Layer based rate control for CBR mode."Marco Paniconi
This reverts commit 6be2b750b8968a0b19180a6474864c0b6a41db13 Change-Id: Ic52acd98b37c3ba49d4999b463389eb564f49c4b
2014-02-02Layer based rate control for CBR mode.Marco Paniconi
This patch adds a buffer-based rate control for temporal layers, under CBR mode. Added vpx_temporal_scalable_patters.c encoder for testing temporal layers, for both vp9 and vp8 (replaces the old vp8_scalable_patterns). Updated datarate unittest with tests for temporal layer rate-targeting. Change-Id: I9cb6cce2494390ae6096ee17774af7fb9308bde7
2014-01-22Expand the lossless and datarate tests to cover 4:4:4.Alex Converse
Change-Id: I2dc7b3265d0a87d7a26c95b48e360c7c68cc7355
2013-12-18datarate_test: fix some type conversionsJames Zern
Change-Id: I9840dfab644b0c75ff667174f8005dece005e700
2013-12-18Updates for 1-pass CBR rate control.Marco Paniconi
Adjustments based on buffer level, frame dropper. Change-Id: Iaa85b570493526a60c4b9fb7ded4c0226b1b3a33
2013-12-16Change in data rate test to be less stringentDeb Mukherjee
Makes the thresholds for bitrate control more leniant to prevent test failures. Change-Id: I535c1565174a8a46493b033531eb40360def883b
2013-11-13For CBR, keep rate-correction damping factor to 2.Marco Paniconi
The switch to the rate-correction damping factor in https://gerrit.chromium.org/gerrit/#/c/67536/ was not conditioned on CBR mode. Change-Id: I2326704e8ac030a4f7b592dd3fedb94c7dd0644d
2013-10-30Updates to 1-pass:Marco Paniconi
-Don't reduce maxQ for gold/alt in CBR mode. -Fix to min/maxQ for first/initial key frame. -Add more speeds to datarate test and reduce the starting bitrate for test. Change-Id: Id2a333d76dd3f6a51b322ca984588e2a22159c58
2013-10-16Initial 1-pass.Marco Paniconi
Change-Id: I58c5436f5c95f6012fb2891cd2a02f76e4870b6a
2013-09-06cleanup cpplint warningsYaowu Xu
Suggested by James Zern to clear out cpplint warnings for all unit test code. Change-Id: I731a3fa4d2a257eb9ef733426ba84286fbd7ea34
2013-06-25encode_test_driver: check for fatal failuresJames Zern
Make the base test be: !(fatal || abort_) removing some redundancy in the encode tests Change-Id: I8ffaf33fcf9a3030b38ea3e8eb94704cdc2fc920
2013-01-23Support multiple codecs in test infrastructureJohn Koleszar
This commit starts to convert the tests to a system where the codec to be used is provided by a factory object. Currently no tests are instantiated for VP9 since they all fail for various reasons, but it was verified that they're called and the correct codec is instantiated. Change-Id: Ia7506df2ca3a7651218ba3ca560634f08c9fbdeb
2012-11-14Update to datarate_test.Marco Paniconi
Exlcude key frame from buffer underrun check, and increase lowest bitrate in BasicBufferModel. Both changes are needed because of a known issue (#495). Change-Id: If5e994f813d7d5ae870c1a72be404c8f7dbbdf27
2012-10-29add unit test for datarate controlJim Bankoski
Adds some basic datarate control tests.. Change-Id: I6eff18aa58ef7cfd14886c6b1e048247cd1ad247