summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2018-01-23Merge "Add vp9_highbd_iht8x8_64_add_sse4_1()"Linfeng Zhang
2018-01-22Merge changes from topic "clang-format"Johann Koenig
* changes: clang-format v5.0.0 vp9/ remove spurious comments clang-format v5.0.0 vp8/ clang-format v5.0.0 vpx_dsp/ clang-format v5.0.0 mem_ops.h clang-format v5.0.0 vpx_util/vpx_atomic.h clang-format v5.0.0 y4minput.c clang-format v5.0.0 vpxenc.c clang-format v5.0.0 examples/ clang-format v5.0.0 test/
2018-01-18Add vp9_highbd_iht8x8_64_add_sse4_1()Linfeng Zhang
BUG=webm:1413 Change-Id: Id9038226902b2d793fc6c17ac81bb104c1a18988
2018-01-12clang-format v5.0.0 test/Johann
Remove trailing commas to keep multiple elements on one line. Remove trailing empty lines to keep comments from being indented. https://bugs.llvm.org/show_bug.cgi?id=35930 Change-Id: I0a66dde95f2a304f13cb85a2e9197afca20051e8
2018-01-11Merge "Add quantize_fp_32x32_nz_c()"Scott LaVarnway
2018-01-11Merge "vp9: Skip encoding of enhancement layers on the fly."Marco Paniconi
2018-01-11adopt some clang 5.0.0 formattingJohann
At least the changes that don't conflict with 4.0.1 Change-Id: I9b6a7c14dadc0738cd0f628a10ece90fc7ee89fd
2018-01-11vp9: Skip encoding of enhancement layers on the fly.Marco
For SVC: if an enhancement layer (spatial_layer > 0) has 0 bandwidth, skip/drop the encoding of the layer. This allows the application to dynamically disable higher layers for SVC. Add flag to signal the skip encoding, this is needed to modify the packing of the superframe when the top layer is skipped/dropped. Also moved some updates (current_video_frame counter and the last_avg_frame_bandwidth) to the postencode_update_drop_frame(). Added datarate unittest for dynamically going from 3 to 2 and then back to 3 spatial layers. Change-Id: Idaccdb4aca25ba1d822ed1b4219f94e2e8640d43
2018-01-08Add vp9_highbd_iht4x4_16_add_sse4_1()Linfeng Zhang
BUG=webm:1413 Change-Id: I14930d0af24370a44ab359de5bba5512eef4e29f
2018-01-08Update dct_test.ccLinfeng Zhang
Make 8-bit functions testing available in high bitdepth. Change-Id: Ic030c75aa4c6b649c52426abb4bb2122882de0fe
2017-12-26Add quantize_fp_32x32_nz_c()Scott LaVarnway
This c version uses the shortcuts found in the vp9_quantize_fp_32x32_ssse3 function. Change-Id: I2e983adb00064e070b7f2b1ac088cc58cf778137
2017-12-21Add vp9_quantize_fp_nz_c() -- 2Scott LaVarnway
This c version uses the shortcuts found in the x86 vp9_quantize_fp functions. The test was updated to use the correct quant/round range. Change-Id: Ie5871f710d9eb39047d8d9f48b907c0633e1f830
2017-12-21Revert "Add vp9_quantize_fp_nz_c()"James Zern
This reverts commit 86842855d30d6ca6befdcf5108003e027d90daa9. SSSE3/VP9QuantizeTest.EOBCheck/1 fails on Mac and the build breaks under visual studio due to a #if within another macro. Change-Id: I475095a04aafcc714fade2b24e4df7b682be2cd1
2017-12-20Merge "Add vp9_quantize_fp_nz_c()"Scott LaVarnway
2017-12-20Merge "lpf_test: correct threshold ranges"James Zern
2017-12-19vp9-svc: Add layer bitrate targeting to SVC datarate tests.Marco
Modify and update the SVC datarate unittests to verify the rate targeting for each spatial-temporal layer. The current tests were only verifying the rate targeting of the full SVC stream, not individual layers. Also re-enabled a test that was disabled. This is a stronger verification of the layered rate control for SVC for 1 pass CBR encoding. Added PostEncodeFrameHook, needed to get the layer_id and update the layer buffer level. Change-Id: I9fd54ad474686b20a6de3250d587e2cec194a56f
2017-12-19Add vp9_quantize_fp_nz_c()Scott LaVarnway
This c version uses the shortcuts found in the x86 vp9_quantize_fp functions. The test was updated to use the correct quant/round range. Change-Id: I5d19f8af2fddda8e50910249eafb740acb29415b
2017-12-18lpf_test: correct threshold rangesJames Zern
the random number generator creates values from [0, range) add 1 to all and make hev more realistic by mirroring its calculation of level >> 4, i.e., [0, 3] Change-Id: Ic19be5d7ba668deb17c96f143b739116a4b5d21c
2017-12-13vp9: Update to SVC datarate tests.Marco
With recent fixes to rate control for SVC the buffer underrun in the tests does not happen, so comment and TODO can be removed. Also, in some of these SVC tests, replace the HD clip with the corresponding VGA clip, which has > 400 frames. For the (niklas) HD clip: it has only 60 frames but the test was running up to 300 frames. Fixed it to 60 frames. Keep some tests with the HD clip, needed for the 4 thread and 5 level scaling test. Change-Id: I0a2356a908e8b2271c7a422eb8b15c0d56eec968
2017-12-11vp9 svc: Allow denoising next to highest resolution.Jerome Jiang
Denoise 2 spatial layes at most. Add noise sensitivity level 2 for vp9 such that applications can control whether to denoise the second highest spatial layer. Add tests to cover this case. Change-Id: Ic327d14b29adeba3f0dae547629f43b98d22997f
2017-12-06Merge "Add frame width & height to frame pkt. Add test."Jerome Jiang
2017-12-06Add frame width & height to frame pkt. Add test.Jerome Jiang
Used to return correct frame width and height when dynamic resizing happens. BUG=webm:1474 Change-Id: Ia2043f7e1635b3821848a67b9b134f47f14b0f3a
2017-11-29mips msa optimize vpx_scaled_2d functionKaustubh Raste
Change-Id: I638507b360c71489ab0e87bd558d2719ad995333
2017-11-20Merge "Optimize AVX2 get16x16var and get32x16var functions"Kyle Siefring
2017-11-17Optimize AVX2 get16x16var and get32x16var functionsKyle Siefring
Change-Id: If8b91aaa883c01107f0ea3468139fa24cfb301d2
2017-11-17Merge "vp9: Fix mem rel for non-ref for external buffer."Jerome Jiang
2017-11-10vpx: [x86] add vpx_satd_avx2()Scott LaVarnway
SSE2 instrinsic vs AVX2 intrinsic speed gains: blocksize 16: ~1.33 blocksize 64: ~1.51 blocksize 256: ~3.03 blocksize 1024: ~3.71 Change-Id: I79b28cba82d21f9dd765e79881aa16d24fd0cb58
2017-11-10Merge "vpx: [x86] add vp9_block_error_fp_avx2()"Scott LaVarnway
2017-11-09vp9: Fix mem rel for non-ref for external buffer.Jerome Jiang
Release frame buffers for non-ref when the decoder is destroyed. Enable the non ref test. BUG=b/68819248 Change-Id: Id87ef3b0a62318f9812e927cd957c05c859047fa
2017-11-09vpx: [x86] add vp9_block_error_fp_avx2()Scott LaVarnway
SSE2 asm vs AVX2 intrinsics speed gains: blocksize 16: ~1.00 blocksize 64: ~1.17 blocksize 256: ~1.67 blocksize 1024: ~1.81 Change-Id: I2a86db239cf57e3ff617890ccb2d236aba83ad5e
2017-11-09Merge "vp9: Add nonref frame buffer test."Jerome Jiang
2017-11-08vp9: Add nonref frame buffer test.Jerome Jiang
The new test will run a SVC bitstream which has non ref frames. It checks the number of buffer acquired and released to make sure all external frame buffers are released. Add a new test bitstream: vp90-2-22-svc_1280x720_1.webm which has 400 frames in total, and 1 spatial layer and 2 temporal layers. There is one non ref frame every other frame. Disabled for now. Will be enabled with the fix. BUG=b/68819248 Change-Id: I0515336fd9809a9e1fceba90e4dce53dabaf53a5
2017-11-03Support building AVX-512 and implement sadx4 for AVX-512Kyle Siefring
The added AVX-512 support requires the subset of AVX-512 added in Skylake-X. Change-Id: I39666b00d10bf96d06c709823663eb09b89265b7
2017-10-26vpx: hadamard: use ptrdiff_t instead of int for strideScott LaVarnway
Eliminates the following instruction for the x86 (64 bit) intrinsic code: movslq %esi,%rax Change-Id: I8f5ebd40726f998708a668b0f52ea7a0576befae
2017-10-24Merge "Optimize convolve8 SSSE3 and AVX2 intrinsics"Kyle Siefring
2017-10-24Optimize convolve8 SSSE3 and AVX2 intrinsicsKyle Siefring
Changed the intrinsics to perform summation similiar to the way the assembly does. The new code diverges from the assembly by preferring unsaturated additions. Results for haswell SSSE3 Horiz/Vert Size Speedup Horiz x4 ~32% Horiz x8 ~6% Vert x8 ~4% AVX2 Horiz/Vert Size Speedup Horiz x16 ~16% Vert x16 ~14% BUG=webm:1471 Change-Id: I7ad98ea688c904b1ba324adf8eb977873c8b8668
2017-10-19Merge "vpx: [x86] add vpx_hadamard_16x16_avx2()"Scott LaVarnway
2017-10-18vpx: [x86] add vpx_hadamard_16x16_avx2()Scott LaVarnway
This version is ~1.91x faster than the sse2 version. When highbitdepth is enabled, it is ~1.74x. Change-Id: I2b0e92ede9f55c6259ca07bf1f8c8a5d0d0955bd
2017-10-18Merge "Add datarate test for vp8 ROI."Jerome Jiang
2017-10-18Add datarate test for vp8 ROI.Jerome Jiang
BUG=webm:1470 Change-Id: Icbc848837e64eacc49491dcc26b4c5802af2ee13
2017-10-18Merge "vp8: Enable use of ROI map."Jerome Jiang
2017-10-17vp8: Enable use of ROI map.Jerome Jiang
Disable cyclic refresh if ROI is used and add flag to properly handle the static_thresh deltas. Remove the ROI test for cyclic refresh (it's allowed but disabled if ROI is used). Add an example in vpx_temporal_svc_encoder.c. Turned off by default. BUG=webm:1470 Change-Id: Ief9ba1d7f967bc00511b412b491c3f70943bfbda
2017-10-17Merge changes I17fff122,Ic149e3cbLinfeng Zhang
* changes: Add 4 to 3 scaling SSSE3 optimization Test extreme inputs in frame scale functions
2017-10-17Merge "Generalize CheckScalingFiltering in ConvolveTest"Linfeng Zhang
2017-10-13Merge "vp8: [loongson] optimize dct with mmi"Shiyou Yin
2017-10-12Merge changes I38783d97,If5160c0cKyle Siefring
* changes: Extend 16 wide AVX2 convolve8 code to support averaging. Add AVX2 version of vpx_convolve8_avg.
2017-10-12vp8: [loongson] optimize dct with mmiShiyou Yin
1. vp8_short_fdct4x4_mmi 2. vp8_short_fdct8x4_mmi 3. vp8_short_walsh4x4_mmi Change-Id: I89a7df25cfd09fae309fac257ad8b6a3dc1c8acb
2017-10-12Merge "vp8: [loongson] optimize quantize with mmi"Shiyou Yin
2017-10-11Adjust threshold in datarate tests for 1 pass VBRMarco
Small increase in threshold for the 1 pass VBR datarate tests. Needed due to commit: <017257a Adjustment to scene detection and key frame> Change-Id: I28b3bd7db2192a8cc2bccc3cb0e3b8dbb910ca16
2017-10-11Test extreme inputs in frame scale functionsLinfeng Zhang
Change-Id: Ic149e3cb59be2ee0f98a3fcfd83226ad5ea30c99