summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2018-04-12vp9 svc: Refactor svc datarate test for better sharding.Jerome Jiang
Wrap denoiser tests under config flags. Change-Id: I6175c3c9d8b5b079ad35a55553383145db58a10f
2018-04-09Merge "vp9-svc: Make constrained_layer_drop default for svc."Marco Paniconi
2018-04-09vp9-svc: Make constrained_layer_drop default for svc.Marco Paniconi
Switch the order of constrained and layer drop mode, and keep constrained_layer_drop as the default. Update the svc datarate tests. Change-Id: I764270f7b4964b87b0cd3da6c2f96a628f212a30
2018-04-06Fix settings for num of tiles in samples & tests.Jerome Jiang
The control is set by log2 of number of threads (such that the number of tiles is the same of number of threads). Thus it should be log2(num_threads) instead of (num_threads >> 1). Change-Id: I2ccec5557e660048dad3e561534e1c74fc8eec1f
2018-04-02Merge changes I5704bd66,I4d548e97Linfeng Zhang
* changes: Shrink size of mode_map in struct TileDataEnc Update sad4d x86 functions
2018-03-30vp9_datarate_test: relax over shoot constraintsJames Zern
in BasicRateTargetingVBRLagZero and BasicRateTargetingVBRLagNonZeroFrameParDecOff after: e0b28ad69 Add extra case to wq_err_divisor() BUG=webm:1512 Change-Id: Id181613cc191ff2a2281deffe141efb982501edf
2018-03-30Code cleanup for datarate tests.Jerome Jiang
Add/Remove static to functions. Name change. Change-Id: I5de3efc23cd151fe8e70fe67a7a11acfcfa707dc
2018-03-29Split datarate_test.cc to vp8, vp9, svc ones.Jerome Jiang
As we add more tests to datarate_test.cc, it's growing bigger and hard to find specific test. Split it to vp8, vp9 and svc ones. Change-Id: Ie8c302010cf304a95554bee19d87ddc90498d0fb
2018-03-29Merge "test: use testing::*tuple instead of std::tr1"James Zern
2018-03-29Merge "VP9 SVC: Add enum type for framedrop_mode."Jerome Jiang
2018-03-29VP9 SVC: Add enum type for framedrop_mode.Jerome Jiang
Change-Id: I3d4697b00729553e0860762b9264e29b8a89b9d4
2018-03-29Merge "vp9: [loongson] optimize vpx_convolve8 with mmi."xiwei gu
2018-03-28Update sad4d x86 functionsLinfeng Zhang
Speed change is marginal. Change-Id: I4d548e9763ce43bd546f19132202f7a8509a32bf
2018-03-28test: use testing::*tuple instead of std::tr1James Zern
googletest imports tuple into testing to allow for compatibility across c++ versions where tuple may be in std::tr1 or std. fixes deprecation warnings under visual studio 2017 Change-Id: Id78b372d5478b12d8c8f63fd3f2166fec25aa8be
2018-03-28Merge "Add speed test in SADx4Test"Linfeng Zhang
2018-03-28Add speed test in SADx4TestLinfeng Zhang
Change-Id: I42dd3df8c13c0a6d08ce28e27e8917b5d831fc1a
2018-03-28vp9: [loongson] optimize vpx_convolve8 with mmi.gxw
1. vpx_convolve8_vert_mmi 2. vpx_convolve8_horiz_mmi 3. vpx_convolve8_mmi 4. vpx_convolve8_avg_mmi 5. vpx_convolve8_avg_vert_mmi Change-Id: I41a6b3b4f327d6b67d282e0163cfa0aee8648abe
2018-03-28vp9-svc: Add check in datarate unittests for frame-dropping.Marco Paniconi
Add verfication for constrained svc framedrop mode: check that if a given spatial is dropped, all uppper layers must be dropped. Change-Id: I9b4821b23c95d1d9d0c031a41af19984647ec5dc
2018-03-27vp9-svc: Add logic to enable for constrained framedrop.Marco Paniconi
Add the logic for the constrained framdrop mode for SVC. Add test case in datarate unittests. Also lower target bitrates in the tests to better test frame dropper. Change-Id: I8ee1b8cb56d835c233ad1fbe0fc1456cb2e7291f
2018-03-23Merge "Restore emms usage on x86_64 after 726b021a12c1b"Martin Storsjö
2018-03-23Restore emms usage on x86_64 after 726b021a12c1bMartin Storsjo
Even on x86_64, emms has to be called if the x87 state has been clobbered - the calling code (either within libvpx or in a caller outside of libvpx) may be using the x87 instructions, even though use of them isn't all that common on x86_64. This fixes builds with clang for mingw/x86_64. Change-Id: I1f6072835590b862bad156f17331ba65c813ddd9
2018-03-23test: Check for ARCH_X86_64 in addition to _WIN64Martin Storsjo
_WIN64 is also defined when targeting windows on aarch64. Change-Id: I42b84e14079c19d0ba9362a06d8c6e7287644373
2018-03-23Merge changes Ied91c7ef,If2dcc6e2,Ib7397e71,Ib6392c79James Zern
* changes: Fix implicit-fallthrough warnings Fix dangling-else warnings Fix a strict-overflow warning Rename several static NEON iht functions
2018-03-22vp9 svc frame drop: enable adaptive rd for row mt.Jerome Jiang
adaptive_rd_threshold_mt is set to 1 when speed >= 7 for SVC. QVGA in SVC uses speed 5 which set adaptive_rd_threshold_mt to 0. If VGA or HD is dropped for the last super frame, the flag is still 0 when the encoder is destroyed. Thus memory won't be released. Change the bitrate threshold in datarate test. Change-Id: I55352cc0b030568d38eb735d99c2fa29058d3690
2018-03-22Fix dangling-else warningsLinfeng Zhang
Compiler -- gcc (Debian 7.3.0-5) 7.3.0 Change-Id: If2dcc6e215a2990cde575f0e744ce0c7a44a15f1
2018-03-20vp9-svc: Improve frame dropper for spatial layers.Marco Paniconi
SVC frame dropper: modify the logic to allow for individual spatial layers to drop. This removes the constraint that all upper spatial layers must drop when a given spatial layer drops. Add a flag to the pkt to indicate whether a spatial layer is encoded or dropped. This is needed for applications that enable this feature (frame dropping for SVC). For a current spatial layer, if its previous spatial layer is dropped, then disable certain features for that layer: inter-layer prediction, base_mv, partition_reuse, copy partition. Also add the constraint to never drop a spatial layer if its base layer is a key frame. Updates to sample encoder (vp9_spatial_svc_encoder) and the SVC datarate unittests to properly handle frame dropping. Bump up ABI version. Change-Id: I7d14ccf67b8d014a7abfce5ba3989fc623e94067
2018-03-19reland "use intrinsics for 'emms'"Johann
Only target 32bit builds. Visual Studio does not define _mm_empty for 64bit configurations. Rename emms.asm and remove from 32 bit builds to avoid empty file warnings. Don't check register state on 64bit builds. BUG=webm:1500 This reverts commit 60beb781c140b61c1957abd2a6717d2e9a831933. Change-Id: I5ac4cf6c67249ff24f7da19792144de20527bfce
2018-03-18CopyFrameTest: reduce max size for 32-bit targetsJames Zern
avoids potential OOM when allocating 3 buffers for 16383x16383; 3840 is used as a replacement this test was missed in: 215bddf32 vpx_scale_test: reduce max size for 32-bit targets Change-Id: I515adf5999c6ef1724394ccd62d677134bd35e6d
2018-03-16vpx_scale_test: reduce max size for 32-bit targetsJames Zern
avoids potential OOM when allocating 3 buffers for 16383x16383; 3840 is used as a replacement Change-Id: I92116ab69b10db6820fc651d3626bd9699700208
2018-03-15vp9-svc: Frame dropper for SVC.Marco Paniconi
If a given spatial layer decides to drop, due to the buffer/overshoot conditions for that layer, then drop that current spatial layer and all spatial layers above. In the current implementation the svc frame counter (and hence the pattern for the non-flexible SVC case) are updated on frame drops. Also add last spatial layer encoded to the pkt. This is useful for RTC applications that enable frame dropping for SVC. Update to the SVC datarate tests: enabled frame dropper on all SVC datarate tests, and made a fix to properly set the temporal_layer_id, which works now even on frame drops. Change-Id: If828c193f3cb6b1839803fd52fe9fbbda5b5a039
2018-03-15Merge "remove spatial svc experiment"Johann Koenig
2018-03-15Merge "Add vp9_highbd_iht16x16_256_add_neon()"Linfeng Zhang
2018-03-15Merge changes I9e0bf2c7,I695b4090Linfeng Zhang
* changes: Fix a bug in vp9_highbd_iht8x8_64_add_neon Fix a bug in vp9_highbd_iht4x4_16_add_neon()
2018-03-14vp9-svc: Bugfix to dyanmic enabling/disabling of layers.Marco Paniconi
Fix a bug when middle and top spatial layer are skip encoded (disabled) and then re-enabled again, during the sequence. Issue is that pending_frame_count in the packing may be incremented on middle layer, even though that layer is skipped (not encoded and hence zero size). Fix is to add size check. Modified existing unitest to reproduce the issue. Change-Id: I86d806a112d468e06b04fbf7c46ae07db9e0ad93
2018-03-14remove spatial svc experimentJohann
Change-Id: Ifda11caaf992d10f2d93d6cd1d07b79b6047be05
2018-03-14Revert "use intrinsics for 'emms'"Johann Koenig
This reverts commit 118a57045bf5b49ab7c2f7f930543b9217fd422e. Reason for revert: Fails on Visual Studio builds: vpxmdd.lib(vpx_ports_emms_mmx.obj) : error LNK2019: unresolved external symbol _m_empty referenced in function vpx_clear_system_state Original change's description: > use intrinsics for 'emms' > > BUG=webm:1500 > > Change-Id: I3235d8c2abc01dd3a35e14c5cbcfe20283ff8fb2 Change-Id: Ia9c40bc103c57cced83353249c55218eaf2f0b0c
2018-03-13Add vp9_highbd_iht16x16_256_add_neon()Linfeng Zhang
BUG=webm:1403 Change-Id: I2293c11666786be276909d48ee78dacb40a89e25
2018-03-13Fix a bug in vp9_highbd_iht8x8_64_add_neonLinfeng Zhang
This bug was introduced in 29b6a30c. BUG=webm:1403 Change-Id: I9e0bf2c7a01d8ff1c714c12236f7985b772b0540
2018-03-13Fix a bug in vp9_highbd_iht4x4_16_add_neon()Linfeng Zhang
This bug was introduced in 36363304. BUG=webm:1403 Change-Id: I695b409047e41ab7e0460981524310d78753751a
2018-03-13use intrinsics for 'emms'Johann
BUG=webm:1500 Change-Id: I3235d8c2abc01dd3a35e14c5cbcfe20283ff8fb2
2018-03-07vpx_scale_test: add w/h output to alloc failureJames Zern
Change-Id: Ib5df91d9fcd7fe973a2f7d8e73a204259beddc07
2018-03-05Fix a bug in vp9_iht16x16_256_add_neon()Linfeng Zhang
This bug was introduced in 88c23864. BUG=webm:1403 Change-Id: If96fd6f102be6b9bda866e55e574257287746f4a
2018-03-05Fix a bug in vp9_iht8x8_64_add_neon()Linfeng Zhang
This bug was introduced in b14b616d. BUG=webm:1403 Change-Id: I84b2733734982e52b66548850d61758c772b5494
2018-03-03disable vp9_highbd_iht{4x4_16,8x8_64}_add_neonJames Zern
these causes test vector failures BUG=webm:1403 Change-Id: I08218f0bf26651eb367ece4feec6d704e0189bd8
2018-03-03disable vp9_iht8x8_64_add_neonJames Zern
this causes test vector failures BUG=webm:1403 Change-Id: I7d37a05fbf4641ea352c947053aa4eaeb7f5c318
2018-03-03disable vp9_iht16x16_256_add_neonJames Zern
this causes test vector failures BUG=webm:1403 Change-Id: Ifdb5b270c5cc70be5689e4fbda2ada3724cc65c3
2018-02-28Merge "Add vp9_iht16x16_256_add_neon()"Linfeng Zhang
2018-02-27Add vp9_iht16x16_256_add_neon()Linfeng Zhang
BUG=webm:1403 Change-Id: I1413cc3dfcb62143ba04fe9b0f8d8b010fdf69b6
2018-02-26datarate_test: correct last_pts_ref_ typeJames Zern
use vpx_codec_pts_t to match last_pts_; this quiets a conversion warning under visual studio Change-Id: I3f1c146fc13f2edfb515d76730a9ef063846bf69
2018-02-24Merge "Clean test/dct_test.cc with testing::Combine"Linfeng Zhang