summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-02-03Merge "L2E: let external rate control pass in a max frame size"Cheng Chen
2021-02-03Merge "svc: Unittest for ksvc flexible mode with no updates on TL > 0"Marco Paniconi
2021-02-03svc: Unittest for ksvc flexible mode with no updates on TL > 0Marco Paniconi
Catches tsan issue fixed in: 7b93b56 Change-Id: I34b17c289afd0f8691987a1e4afa533f6c7f2806
2021-02-03vp8_denoiser_sse2_test: use ASSERT instead of EXPECTJames Zern
when test block contents to avoid producing unnecessary output on failure. Bug: webm:1718 Change-Id: Ie2cf8245ec8c03556549ad1eea65c8bef15a9735
2021-02-03L2E: let external rate control pass in a max frame sizeCheng Chen
And allow the frame to recode when the frame size is larger than the input max frame size. If the max frame size is not specified, let vp9 decide whether to recode. The recode follows the vp9's current recoding mechanism. The rate control api will return the new qindex back to the external model. Change-Id: I796fbf713ad50a5b413b0e2501583b565ed2343f
2021-01-28Relax constraints on Y4M header parsingElliott Karpilovsky
Previous parser assumed that the header would not exceed 80 characters. However, with latest FFMPEG changes, the header of Y4M files can exceed this limit. New parser can parse up to ~200 characters. Arbitrary parsing in future commit. BUG=aomedia:2876 Change-Id: I2ab8a7930cb5b76004e6731321d0ea20ddf333c1
2021-01-26vp9_end_to_end_test: fix compile with gcc 4.8.5James Zern
use Values() rather than ValuesIn() with an initializer list as this version of gcc under CentOS fails to deduce the type: ../third_party/googletest/src/include/gtest/gtest-param-test.h:304:29: note: template argument deduction/substitution failed: ../test/vp9_end_to_end_test.cc:346:59: note: couldn't deduce template parameter ‘T’ ::testing::ValuesIn({ 6, 7, 8 })); Bug: webm:1690 Change-Id: I43d9d4777fcd74a4f8fa8bdcd9834cdca5e546ff
2021-01-26sad_test: fix compilation w/gcc 4.8.5James Zern
use a #define for kDataAlignment as it's used with DECLARE_ALIGNED (__attribute__((aligned(n)))) and this version under CentOS is more strict over integer constants: ../vpx_ports/mem.h:18:72: error: requested alignment is not an integer constant #define DECLARE_ALIGNED(n, typ, val) typ val __attribute__((aligned(n))) Bug: webm:1690 Change-Id: I8d4661ec1c2c1b1522bdc210689715d2302c7e72
2021-01-14Relax constraints on Y4M header parsingElliott Karpilovsky
Some refactoring and cleanup -- do not count the first 9 bytes against the header limit. Add a unit test. BUG=aomedia:2876 Change-Id: Id897d565e2917b48460cc77cd082cec4c98b42cb
2020-12-17Fix show_index in vp9_extrc_encodeframe_decision()Angie Chiang
Change-Id: I93bb1fb3c14126d881d3f691d30875a0062e436c
2020-11-19Add gop_index to vpx_ext_ratectrl.hAngie Chiang
Bug: webm:1707 Change-Id: I48826d5f3a7cc292825a7f1e30ac6d0f57adc569
2020-11-17Capitalize VPX_RC_OK / VPX_RC_ERRORAngie Chiang
Change-Id: I526bd6a6c2d2095db564f96d63c7ab7ee4dd90ad
2020-11-13Fix uninitialized warning in resize_test.ccAngie Chiang
Change-Id: I12a72d3aa57b13dbcbeb037e1deea41529ea4194
2020-11-13Merge "vp9: Allow for disabling loopfilter per spatial layer"Marco Paniconi
2020-11-12vp9: Allow for disabling loopfilter per spatial layerMarco Paniconi
For SVC: add parameter to the control SET_SVC_PARAMS to allow for disabling the loopfilter per spatial layer. Note this svc setting will override the setting via VP9E_SET_DISABLE_LOOPFILTER (which should only be used for non-SVC). Add unittest to handle both SVC (spatial or temporal layers) and non-SVC (single layer) case. Change-Id: I4092f01668bae42aac724a6df5b6f6a604337448
2020-10-27vp9_ext_ratectrl_test: add missing overrideJames Zern
for ~ExtRateCtrlTest() Change-Id: I311a400093c8c1ee2c002ba000d0b33c4fde209f
2020-10-26Download bus_352x288_420_f20_b8.yuv properlyAngie Chiang
Bug: webm:1707 Change-Id: I6aabad7cdcddf2bc41a0cc7b5cdfd7d9759f9fae
2020-10-21Merge changes I27932c41,I2ff9e54a,I4ebed472Angie Chiang
* changes: Small changes of vp9_ext_ratectrl_test.cc Add ref frame info to vpx_rc_encodeframe_info_t Add vpx_rc_status_t
2020-10-20Small changes of vp9_ext_ratectrl_test.ccAngie Chiang
Change-Id: I27932c41a826cd3c10cc7801956cd32e4877133a
2020-10-21Merge "Add unit test for vp9_ext_ratectrl"Angie Chiang
2020-10-20Add ref frame info to vpx_rc_encodeframe_info_tAngie Chiang
Bug: webm:1707 Change-Id: I2ff9e54a9c8ae535628c1c471a2d078652f49a31
2020-10-20Add vpx_rc_status_tangiebird
Let callback functions in vpx_ext_ratectrl.h return vpx_rc_status_t Bug: webm:1707 Change-Id: I4ebed47278b228740f6c73b07aa472787b2617d2
2020-10-20vp9-rtc: Fix to control for disabling loopfilterMarco Paniconi
Adding unit test. Change-Id: Ic3c03fee7e9c2c224d927bb09914551422bdf816
2020-10-19Add unit test for vp9_ext_ratectrlAngie Chiang
Fix three bugs along the way. 1) Call vp9_extrc_send_firstpass_stats() after vp9_extrc_create() 2) Pass in model pointer in vp9_extrc_create() 3) Free frame_stats buffer in vp9_extrc_delete() Bug: webm:1707 Change-Id: Ic8bd62c7b4ebd85a7479ae5e4c82d7f6059d782f
2020-10-01Merge "ratectrl_rtc_test.cc: fix signed/unsigned comparison"James Zern
2020-09-30Add file for rate control interface test.Jerome Jiang
Change-Id: Id09dc5b653c1e5bb2b02f63579ac776f887ce0eb
2020-09-29ratectrl_rtc_test.cc: fix signed/unsigned comparisonJames Zern
Change-Id: Id522c12faf4c959f60b5df1b0f7312f14a71720d
2020-09-16test/encode_test_driver: rm redundant get() w/unique_ptrJames Zern
Change-Id: I3c1ece92ba9f43df4cbaf47109e35aaf0a807d97
2020-09-11Upstream GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TESTSarah Parker
BUG=b/159031848 Change-Id: I013770f4e54d0ea92304fa3e9cf4d46f5723f129
2020-08-12Merge "test/*: use canonical downloads.webmproject url"James Zern
2020-08-10Cosmetic change for simple_encode_test.ccangiebird
Change-Id: I50b4d38f7deceb5b416e72dd944d2ed31e42dafa
2020-08-10Make target_frame_bits error margin configurable.angiebird
Change-Id: I05dd4d60741743c13951727ce6608acf4224ebec
2020-08-07Add rq_history to encode_frame_resultangiebird
Change-Id: Ic2a52dcf5e5a6d57b80d390a2c48ee498e89e7b2
2020-08-07Fix ObserveFirstPassMotionVectors()angiebird
1) Use kRefFrameTypeNone in the unit test 2) Reset mv_info in fp_motion_vector_info_init 3) Call fp_motion_vector_info_init() in first_pass_encode() 4) Set mv_info for intra frame. 5) Set mv_info with zero mv as default for inter frame 6) Remove duplicated fp_motion_vector_info in encode_frame_info Change-Id: I2f7db5cd4cf1f19db039c9ce638d17b832f45b6e
2020-08-07test/*: use canonical downloads.webmproject urlJames Zern
prefer https://storage.googleapis.com/downloads.webmproject.org/ to http://downloads.webmproject.org/ similar to libs.mk BUG=b/163149610 Change-Id: I6abe0848120849b9512fc5a6122ddc54b5cc2240
2020-08-03L2E: Add ObserveFirstPassMotionVectorCheng Chen
Store motion vectors for each 16x16 block found in the first pass motion search. Provide an api "ObserveFirstPassMotionVector()" in SimpleEncode class, similar to "ObserveFirstPassStats()". Change-Id: Ia86386b7e4aa549f7000e7965c287380bf52e62c
2020-07-27NULL -> nullptr in CPP filesJerome Jiang
This should clean up clangtidy warnings Change-Id: Ifb5a986121b2d0bd71b9ad39a79dd46c63bdb998
2020-07-23Silience warnings about uninitiated test casesJerome Jiang
BUG=b/159031848 Change-Id: I6bb88c24bd08e0590ec6b8ebfb696fd9b07ed011
2020-07-17Build libsimple_encode.a separatelyangiebird
BUG=webm:1689 Change-Id: Id920816315c6586cd652ba6cd1b3a76dfc1f12b7
2020-07-13Merge "Cap target bitrate to raw rate internally"Jerome Jiang
2020-07-09Cap target bitrate to raw rate internallyJerome Jiang
BUG=webm:1685 Change-Id: Ida72fe854fadb19c3745724e74b67d88087eb83c
2020-07-09test/*: rename *TestCase to TestSuiteJames Zern
similar to the TEST_CASE -> TEST_SUITE changes in: 83769e3d2 update googletest to v1.10.0 BUG=webm:1695 Change-Id: Ib2bdb6bc0e4ed02d61523f8a8315b017b8ad6dad
2020-06-19Merge changes I07f2c208,I79762df8James Zern
* changes: update googletest to v1.10.0 vp9_skip_loopfilter_test: make Init() return a bool
2020-06-18update googletest to v1.10.0James Zern
this moves the framework to c++11 and changes *_TEST_CASE* to _TEST_SUITE BUG=webm:1695 Change-Id: I07f2c20850312a9c7e381b38353d2f9f45889cb1
2020-06-18vp9_skip_loopfilter_test: make Init() return a boolJames Zern
ASSERT's in the function only force a return, not termination. this fixes a static analyzer issue with using a null decoder object in following calls. BUG=webm:1695 Change-Id: I79762df8076d029c5c8fef4d5e06ed655719de62
2020-06-18vp9-rtc: Fixes to resizer for real-timeMarco Paniconi
Reduce the time before sampling begins (after key) and reduce averaging window, to make resize act faster. Reset RC paramaters for temporal layers on resize. Add per-frame-bandwidth thresholds to force downsize for extreme case, for HD input. Change-Id: I8e08580b2216a2e6981502552025370703cd206c
2020-06-16vp9-svc: Add svc test for denoiser and dynamic resizeMarco Paniconi
This catches the assert/crash fixed in 5174eb5. Also fix to only check for dynamic resize in SVC mode for base temporal layer. Change-Id: Ie6eb7d233cc43eafb1b78cec4aeb94fb4d7fe11a
2020-06-11Let SetExternalGroupOfPicturesMap use c-style arrangiebird
Change-Id: Ic92ce5a3cc5bb74120eb32fc6219e43b1b861f14
2020-06-03Merge "Refactor simple_encode_test.cc"Angie Chiang
2020-06-02Merge "Add NV12 support"Jerome Jiang