summaryrefslogtreecommitdiff
path: root/test/datarate_test.cc
AgeCommit message (Collapse)Author
2015-03-19put spatial svc behind an ABI checkJames Zern
this removes the CONFIG_* checks from public headers, but means '--enable-experimental --enable-spatial-svc' builds will fail without a local change to the ABI in vpx_encoder.h. this should be all right for testing this experiment. Change-Id: Ief55e7b9d1e8332cfce990275e04c29b30af0c4a
2015-03-13Fix crash with vp9 denoiser on.Marco
Crash occured on very first key frame, because denoiser temporal function was beng entered. Updated denoiser unittest to set cpu_used from first frame, and verified fix fixes the crash. Change-Id: I3be1124b52846fbbe7248d2c3d6136e086c80bc1
2015-02-19Improve skip_txfm thresholds in the non-rd mode selectionYunqing Wang
Modified the thresholds of deciding whether or not to skip the transforms in model_rd_for_sb_y(). Used zbin[] instead of dequant[] to be more precise. Also, modified the checking coditions. Rtc set borg test results (at speed 6) showed: average PSNR gain: 0.138%, overall PSNR gain: 0.158%, and SSIM gain: 0.177%. The data rate test was modified slightly as suggested by Marco. Change-Id: Ieaf633ab77f4838cb3c45cf69065b29d55f8ae6c
2015-01-09Unit test for turning VP8 denoiser on/off periodically.JackyChen
Change-Id: Id537d1126f25c0218adcfb4d6ee641ee81a2169a
2015-01-07Unit test for turning VP9 denoiser on/off periodically.JackyChen
Change-Id: Ifd2813e8ccd8af189a8dc89b24efb6a5681714c7
2015-01-06Turn denoiser sensitivity on starting from kf in unit testJingning Han
The denoiser sensitivity level should be set to 1 starting from key frame. The internal function of denoiser should make the temporal denoising operations cut off in key frame coding. Change-Id: Id3e704a73e98e4ea801284a2cbbab2ea9c371d23
2014-12-02Enforce error resilient mode on in temporal svc real-time modeJingning Han
This commit makes the codec automatically turn on error resilient mode when using real-time mode for temporal scalable coding. It fixes an enc/dec mismatch issue and re-enables the corresponding unit test. Change-Id: Ie1f7134e9a78ddd43e9b1555b3ee991c8a3afd0d
2014-12-01Turn off temporal svc unit test in RTC settingJingning Han
A hidden enc/dec mismatch bug was accidentally triggered by https://gerrit.chromium.org/gerrit/#/c/72247/ Adaptively adjust mode test kick-off thresholds in RTC coding This commit temporarily turns off the broken unit tests to avoid blocking other CLs while fixing. Change-Id: I0a0f195030321190ce10879cd833187680576367
2014-09-18Add a conditional compilation macro to VP8 unit test.JackyChen
In many tests in VP8, the denoiser is disabled. By adding this conditional comilation macro, the unit test will not be included when denoiser is not enabled. Change-Id: I6edec85c996acca22aacd11161c52408be2660a3
2014-09-18Add unit test for VP9 denoiser.JackyChen
Check basic datarate targeting for a single bitrate when the denoiser is on. Change-Id: Iad0e664859ffeb4ae6dd5f6dfb71a121e917e3fb
2014-08-27Add a separate datarate test for denoiser enabled.Marco
Change-Id: Ibc91a46d11ad9c58e340b4346ed813a1be9b404a
2014-08-26Enable denoiser for vp8 datarate tests.Marco
Keep one test, BasicBufferModel, with denoiser set off. Change-Id: I762c2004b3adca24f677535cfa5b991108f31f01
2014-08-22datarate_test.cc: remove unused param warningsJames Zern
Change-Id: I627dc800f1925cc5a5d68630009cf8a454f07567
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