summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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
2018-12-05Merge "quantize neon: fix hbd builds"Johann Koenig
2018-12-04Refactor datarate svc test.Jerome Jiang
Bring some repeated test set up into a function. Change-Id: I6acc545a349dc16581a23baf848c91ec36a2e83f
2018-12-04Merge "vp9: force refresh of long term ref when denoiser reset."Jerome Jiang
2018-12-04vp9: force refresh of long term ref when denoiser reset.Jerome Jiang
This will allocate extra frame buffer if long term temporal reference is used and denoiser is enabled on non-key frame. Add test. Change-Id: I0e8d1fdb9a2d697a8eed7fe6206bcb362e69f1c8
2018-12-03quantize neon: fix hbd buildsJohann
BUG=webm:1448 Change-Id: I2140fb9b6ce92716d2d9509f3031244088a62127
2018-12-03Add high bit Hadamard 8x8 avx2 implementationsdeng
Speed tests: [ RUN ] C/HadamardHighbdTest.DISABLED_Speed/0 Hadamard8x8[ 10 runs]: 0 us Hadamard8x8[ 10000 runs]: 316 us Hadamard8x8[ 10000000 runs]: 311749 us [ OK ] C/HadamardHighbdTest.DISABLED_Speed/0 (371 ms) [ RUN ] AVX2/HadamardHighbdTest.DISABLED_Speed/0 Hadamard8x8[ 10 runs]: 0 us Hadamard8x8[ 10000 runs]: 161 us Hadamard8x8[ 10000000 runs]: 156910 us [ OK ] AVX2/HadamardHighbdTest.DISABLED_Speed/0 (160 ms) Change-Id: I94f7324be20405ff55f8a02ad4651c4ab4c10202
2018-11-30quantize 32x32: saturate dqcoeff on x86Johann
This slows down low bitdepth builds but is necessary to obtain correct values. BUG=webm:1448 Change-Id: I4ca9145f576089bb8496fcfeedeb556dc8fe6574
2018-11-28quantize 32x32: fix dqcoeffJohann
Calculate the high bits of dqcoeff and store them appropriately in high bit depth builds. Low bit depth builds still do not pass. C truncates the results after division. X86 only supports packing with saturation at this step. BUG=webm:1448 Change-Id: Ic80def575136c7ca37edf18d21e26925b475da98
2018-11-28quantize: fix x86 hbd buildsJohann
Calculate the high bits of dqcoeff in high bit depth builds and store them appropriately. BUG=webm:1448 Change-Id: I61a2f8bfcf2e30765f10a94073c4d58321d2fa24
2018-11-27Replace deprecated scoped_ptr with unique_ptrJingning Han
Change-Id: I2793a1b65164946eb7d67d80ccba9e798db3d9af
2018-11-21Fix scan_build warnings in user_priv_test.ccAngie Chiang
BUG=webm:1575 Change-Id: I4e38f11162e0de82a730f16b387aeafd2d00e777
2018-11-21Fix scan_build warnings in convolve_test.ccAngie Chiang
Change-Id: I87e1c3f0492cde805b54b048385ea200652dfccc
2018-11-21Fix scan_build warnings in variance_test.ccAngie Chiang
BUG=webm:1575 Change-Id: I62602aa47f07d525ba95fe7b2618bf62ae23fe6f
2018-11-20Replace assert by ASSERT_TRUEAngie Chiang
BUG=webm:1575 Change-Id: Id47930b48733159f5e967dc5fd1205e501b635b9
2018-11-20Fix scan_build warnings in temporal_filter_test.ccAngie Chiang
BUG=webm:1575 Change-Id: I4f4236305ebd932515451b1306211154b34678de
2018-11-20Fix scan_build warnings in dct_test.ccAngie Chiang
BUG=webm:1575 Change-Id: I277c159bafa2ef7c3cfa27c86f60e3df0c3b79b3
2018-11-20Merge changes I9b5f8b08,Ic90b09e5,Ib2380aaf,I3ad3af49,Ib5d1a411Angie Chiang
* changes: Fix scan_build_warnings in comp_avg_pred_test.cc Fix scan_build warnings in convolve_test.cc Fix scan_build warnings in idct_test.cc Fix scan_build warnings in tiny_ssim.c Fix scan_build warning in dct_partial_test.cc
2018-11-19Fix scan_build_warnings in comp_avg_pred_test.ccAngie Chiang
BUG=webm:1575 Change-Id: I9b5f8b08d23fd62ff6400605023f33e3890b0f2d
2018-11-19Fix scan_build warnings in convolve_test.ccAngie Chiang
BUG=webm:1575 Change-Id: Ic90b09e596fa68bc516237d31b7f4540831becfd
2018-11-19Fix scan_build warnings in idct_test.ccAngie Chiang
BUG=webm:1575 Change-Id: Ib2380aaf8c9f9bc7db87f36701a2792781beb44b
2018-11-19Fix scan_build warning in dct_partial_test.ccAngie Chiang
BUG=webm:1575 Change-Id: Ib5d1a411a223a93d1795ebe1af12e67d64fadabe
2018-11-20Merge "Fix oob in vpx_setup_noise"Jerome Jiang
2018-11-19vp9: Fix to the svc buffer updateMarco Paniconi
Condition the pre-encode buffer update based on TS diff on temporal layers = 1 for now, as some fix is needed for the case where #temporal_layers > 1. Change-Id: I58163b956db415217e4687a31f8ba110545b09f5
2018-11-16Fix oob in vpx_setup_noiseJerome Jiang
Array index wasn't checked on boundary. BUG=webm:1572 Change-Id: I55a93c024af77a4fd904b0e992d5587a142d66a4
2018-11-16vp9: Reorganize the buffer level for cbr modeMarco Paniconi
Refactor the code with some changes. Split update into two parts: move the fillup (with per-frame-bandwidth) before the encoding, and keep the leaking part (with encoded_frame_size) after the encoding (postencode). For SVC with ref_frame_config usage: allow usage of timestamp delta for the fillup part of buffer, instead of the (average) framerate passed in via the duration. Moving the buffer fillup (+per-frame-bandwidth) part to the pre-encode causes some difference in performance (since buffer level affects active_worst/QPand frame-dropping), but the change is observed to be small. Made small adjustment to active_worst_quality to compensate. Adjust some thresholds in datarate tests. Change-Id: I81a5562367034f318cffd451304bc4a34bf02a1d
2018-11-07Add operator<< to hadamard test.Jerome Jiang
This quiets valgrind warning. Change-Id: I7c5e23ebb91cc67cf93678135b826b2bc8e9db2f
2018-11-07Merge "vp9: postencode drop frame for screen content in CBR."Jerome Jiang
2018-11-06vp9: postencode drop frame for screen content in CBR.Jerome Jiang
Encode the next frame at max q. For layers: post_encode_drop is only check on base spatial layer, and if base is post-encoded-dropped, then whole superframe is dropped. Added API to guard postencode dropping. Turned off by default. Added unittest. BUG=b/112990050 Change-Id: I42fee279014aca616f7a4d9b582cb2bf5da2f2e7
2018-11-06Refactor Hadamard tests and add highbd testssdeng
Change-Id: I306083f233e53884ac21fb4621066713edddc8f7
2018-11-02fix snprintf error on windowsJohann
Include vpx_ports/msvc.h to handle snprintf on older versions of Visual Studio Change-Id: I06cd99b32bbae82b3df079d41ff20a9a07f6fe1c