summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2019-04-04Add a test to test rollover of int64 in encoder interface.Frank Galligan
The current libvpx encoder interface can potentially rollover an int64_t value used to calculate the current timestamp. If the timebase was set to microseconds and first timestamp was 0, then the rollover would occur in about 10.675 days. BUG=webm:701 Change-Id: I8d5aab46f8dcf250c1d4d43d5f3d27363c19cd54
2019-03-29update .clang-format for version clang-7.0.1 update.Hien Ho
added files that are affected by clang-format version 7. BUG=b/120815481 Change-Id: I40662ce962e4f4b1fcdf183b700f85cc5c0f9f82
2019-03-25Change PSNR threshold for high bitdepth.Jerome Jiang
BUG=webm:1609 Change-Id: I1aa18d58c20532f657059a2df3646fad1625e3ae
2019-03-24Use high bd path to substract blocks in hbd build.Jerome Jiang
BUG=webm:1609 Change-Id: Ifc15d616e7cfb247b399def64ef7691589d90075
2019-03-08Merge "vp9 svc: add simulcast mode when inter-layer pred is off."Jerome Jiang
2019-03-07vp9 svc: add simulcast mode when inter-layer pred is off.Jerome Jiang
Force all upper spatial layers to be key frame if the base layer is key. Mode only works for inter-layer pred=off and non-flexible mode. Add flag to write out bitstream for each spatial layer in example encoder. Change-Id: I5db4543cf8697544ae49464f2157e692640d5256
2019-03-04Add SSE4_1 highbd version of temporal filterchiyotsai
The SSE4_1 version of temporal filter does not distinguish between bd 10 and bd 12. Speed up: Function Level: | !SS_X | SS_X !SS_Y | 6.44X | 6.37X SS_Y | 6.56X | 6.63X Video Level: 2.5% speed up on basketballpass_240p over 150 frames on speed 1, bitdepth 10, auto-alt-ref=1 BUG=webm:1591 Change-Id: I49aa2ed4acfe80a8d627038322de66cbe691296e
2019-02-07Fixing ClangTidy issues reported by downstream integrationkyslov
ClangTidy reported 16 issues. All are around typecasting and straightforward Change-Id: Ie8f9fc2ba7992dd44fef65b121fe65966a1a1297
2019-02-04Add operator<< to a struct in yuv_temporal_filter_test.ccchiyotsai
This should resolve valgrind's warning on aceessing uninitialized values. BUG=webm:1591 Change-Id: I678cadf448c12b598c9ea09490a7eb4e13e4118c
2019-02-01Remove old version of temporal_filter_applychiyotsai
BUG=webm:1591 Change-Id: I926566ac1bf4bac8cb1ce1c6ded9ba940109283e
2019-02-01Add highbd test cases for apply_temporal_filterchiyotsai
BUG=webm:1591 Change-Id: I61dfcecc2efccdfa15b739fd6d97a24ddff05757
2019-01-31Merge "Add y4m input to vp9 example encoder tests."Jerome Jiang
2019-01-30Add y4m input to vp9 example encoder tests.Jerome Jiang
Change-Id: Ie64a3ee22e6b21e5b3a0cef4734930db3144bea0
2019-01-29Merge "Fix mismatch between SIMD/C version of vp9_apply_temporal_filter"Chi Yo Tsai
2019-01-28Fix mismatch between SIMD/C version of vp9_apply_temporal_filterchiyotsai
Change-Id: I6503ebc79beaac2947992437ac133f3ac4379019
2019-01-28Fix test case name for yuv_temporal_filterchiyotsai
This should fix valgrind's failure. BUG=webm:1591 Change-Id: Idab2d6281484c36e6de193d6f45d13f97762625e
2019-01-24Add SSE4 version of new apply_temporal_filterchiyotsai
This adds a preliminary version of vp9_apply_temporal_filter in SSE4.1. This patch merely adds the function and does not enable it yet. Speed Up: | ss_x=1 | ss_x=0 | ss_y=1 | 19.80X | 19.04X | ss_y=0 | 21.09X | 20.21X | BUG=webm:1591 Change-Id: If590f1ccf1d0c6c3b47410541d54f2ce37d8305b
2019-01-23Fix a typo in the test cases for convolve testchiyotsai
BUG=webm:1591 Change-Id: I34aedcb5336a96e33932ce34967c12f187ee52e2
2019-01-22Clean up code for yuv_temporal filter_test.ccchiyotsai
Some cosmetic changes to make the code google c++-style compliant. BUG=webm:1591 Change-Id: Icef3ccc8ebed7210b6b6f915885d5f648e62da72
2019-01-18Merge "Add unit speed test for vp9_apply_temporal_filter"Chi Yo Tsai
2019-01-18Merge "Use longer test clips in y4m_test"Yunqing Wang
2019-01-18Merge "Use longer videos in end-to-end tests"Yunqing Wang
2019-01-17Add unit speed test for vp9_apply_temporal_filterchiyotsai
This patch adds unit speed test for vp9_apply_temporal_filter. BUG=webm:1591 Change-Id: I4792dfc6ecd4a82775b9a895a90aafdc2a199f86
2019-01-16Add unit test for temporal filter on VP9chiyotsai
The current unit tests for temporal filtering only tests single channel version of temporal filter. Since VP9 currently uses both luma and chroma channel information for temporal filtering on low bitdepth, there is no unit case in this scenario. This commit adds some basic unit tests to facilitate further development on temporal filtering. BUG=webm:1591 Change-Id: Id38ceba5305865d7148e9b2bc636acddae54d6c2
2019-01-14Use longer test clips in y4m_testYunqing Wang
Used 20-frame clips to replace 10-frame clips in y4m_test. Also, removed unused 10-frame clips. Change-Id: Ib82ad2c3718f1f5f31478957b9ee970593536940
2019-01-14Use longer videos in end-to-end testsYunqing Wang
Used 20-frame clips got from Deb in end-to-end unit tests to improve the test coverage. TODO: remove 10-frame clips. Change-Id: I06ec2d35f5c5c47263d3be61623c80f52fd18ffe
2019-01-14Merge "Change "ximage" to "vpx_image_t" in comments."Wan-Teh Chang
2019-01-14Change "ximage" to "vpx_image_t" in comments.Wan-Teh Chang
In test/external_frame_buffer_test.cc, rename CheckXImageFrameBuffer() to CheckXImageFrameBuffer(). Change-Id: Ifea3910445673be465d7536a69f85f1a2e2bce6e
2019-01-11convolve_test: Add missing init of HBD buffersJames Zern
this resolves some msan errors. the same change was done in libaom: 5ab58722c Add missing initializations of HBD buffers Change-Id: I8882af45b95c90ba43bf138c7d305a6c3b99e61c
2019-01-10vp8 dec: Add flag to bring up threads.Jerome Jiang
Instead of creating a new decoder instance when restarting all threads after they were shut down, re-create threads on the new flag. BUG=webm:1577 Change-Id: I6272ecaa1b586afdaa5ed8d6eab80aff8f5eb673
2019-01-07vp9_get_blockiness: resolve missing declarationJohann
BUG=webm:1584 Change-Id: I719c64734f4eae07def2d700006834a2420891a7
2019-01-07vp9 intra pred test: resolve -Wuninitialized warningJohann
BUG=webm:1584 Change-Id: I58505e04bd248697047d4957cebe495dada670a0
2019-01-02vp9: psnr diff thres for single vs multi threading.Jerome Jiang
Change the threshold from 0.1 to 0.2. BUG=webm:1588 Change-Id: I1ca20b360bcae66d09dc898c3266c9f5ac346561
2018-12-22test-data: add missing test data entriesJames Zern
invalid-bug-1443-v2.ivf{,.res} invalid-vp80-00-comprehensive-s17661_r01-05_b6-.v2.ivf{,.res} missed in: 6dbf738a4 vp8: kill all threads on corrupted frame. Change-Id: I6481f4ad7544ecc069d0e0442888e97e9638fdd3
2018-12-21vp8: kill all threads on corrupted frame.Jerome Jiang
If decoder keeps going, threads will be brought up. BUG=902650,webm:1577 Change-Id: I7765ba134aeed76ec0f58bd05e3a35383e6861c3
2018-12-12Merge "test/svc_end_to_end_test: fix SetConfig() signature"James Zern
2018-12-11Merge "Refactor svc_*_test.cc"Jerome Jiang
2018-12-10test/svc_end_to_end_test: fix SetConfig() signatureJames Zern
make the parameter constant to match the base class and mark the function virtual. virtual is used to match the rest of the code base, but now that c++11 is required all such functions could be changed to override. since: bb3a82ec3 vp9 svc: add test for scaling partition on 1080p crash. Change-Id: I4717f0116a231ea954b34da9cfec69c462c21699
2018-12-10Refactor svc_*_test.ccJerome Jiang
Put test classes into svc_test namespace. Make num_nonref_frames_ and mismatched_nframes private, as they're computed by encoder/decoder hooks which shouldn't be modified outside the class. Add accessor to num_nonref_frames_. Change-Id: I3836a45426796ba6a8c98dd31e21b5aec4b8abf4
2018-12-10Merge "test/svc_*_test: fix SetConfig() signature"James Zern
2018-12-10Merge "vp9 svc: add test for scaling partition on 1080p crash."Jerome Jiang
2018-12-09test/svc_*_test: fix SetConfig() signatureJames Zern
make the parameter constant to match the base class and mark the function virtual. virtual is used to match the rest of the code base, but now that c++11 is required all such functions could be changed to override. Change-Id: I551a05bbd9d05a9eddb653f42eaad68880c88141
2018-12-08Merge "Add satd avx2 implementation"Sai Deng
2018-12-07vp9 svc: add test for scaling partition on 1080p crash.Jerome Jiang
BUG=webm:1578 Change-Id: Ie03ed454394933fa89f751edc6928651393f3f12
2018-12-08Merge "test/*: use std::*tuple"James Zern
2018-12-07test/*: use std::*tupleJames Zern
since: 77fa51003 Replace deprecated scoped_ptr with unique_ptr c++11 has been required so <tuple> is safe to use Change-Id: I873cb953104b361a8503b5839a3372ce2b99e73c
2018-12-07Add high bit Hadamard 32x32 avx2 implementationsdeng
Speed test: [ RUN ] C/HadamardHighbdTest.DISABLED_Speed/2 Hadamard32x32[ 10 runs]: 9 us Hadamard32x32[ 10000 runs]: 8914 us Hadamard32x32[ 10000000 runs]: 8991776 us [ RUN ] AVX2/HadamardHighbdTest.DISABLED_Speed/2 Hadamard32x32[ 10 runs]: 5 us Hadamard32x32[ 10000 runs]: 4582 us Hadamard32x32[ 10000000 runs]: 4548203 us Change-Id: Ied1b38b510bd033299f05869216d394e3b7f70f1
2018-12-06Add satd avx2 implementationsdeng
Speed Test: C/SatdHighbdTest blocksize: 16 time: 138 us blocksize: 64 time: 315 us blocksize: 256 time: 1120 us blocksize: 1024 time: 3955 us AVX2/SatdHighbdTest blocksize: 16 time: 89 us blocksize: 64 time: 189 us blocksize: 256 time: 590 us blocksize: 1024 time: 1912 us Change-Id: I6357174462fccd589a475b13d8114b853cab5383
2018-12-05Add high bit Hadamard 16x16 avx2 implementationsdeng
Speed test: [ RUN ] C/HadamardHighbdTest.DISABLED_Speed/1 Hadamard16x16[ 10 runs]: 2 us Hadamard16x16[ 10000 runs]: 1836 us Hadamard16x16[ 10000000 runs]: 1829451 us [ RUN ] AVX2/HadamardHighbdTest.DISABLED_Speed/1 Hadamard16x16[ 10 runs]: 1 us Hadamard16x16[ 10000 runs]: 1009 us Hadamard16x16[ 10000000 runs]: 984856 us Change-Id: I89b9cdbe19350815576d66e627df87e5025ed0a4
2018-12-05Merge "Refactor datarate svc test."Jerome Jiang