summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2016-09-15Restore vp8_sixtap_predict4x4_neonJohann
This function was removed when clang started introducing alignment hints which caused the 32 bit vld1_lane_u32/vst1_lane_u32 to fail: https://llvm.org/bugs/show_bug.cgi?id=24421 The load has been rendered safe with an implementation ~indiscernible performance-wise that uses _u8 and over-reads just a touch. The store, when unaligned, has a version that is ~25% slower but safe when xoffset = 0 (second pass filter only). When the first pass filter (or both) are in play, the new version is almost identical in speed. Worst case performance (both filters, unaligned stores) is roughly 3-4x faster than C. BUG=webm:817 BUG=webm:1273 Change-Id: I1e490e94453e0872151fe0dafb05557463f6247d
2016-08-31Rename test/lpf_8_test.cc to test/lpf_test.ccLinfeng Zhang
It actually tests all sizes lpf functions. Change-Id: Ie31798f90165e6e0c13cbac0e0ab9648ab568bce
2016-08-26Merge "vp8: fix decoder crash with invalid leading keyframes"James Zern
2016-08-25Merge "Add --alt-ref-aq=<int> option"Yury Gitman
2016-08-24Add datarate tests for encoder multi-threads (vp8 and vp9).Marco
Change-Id: I7f9b23026aaee309095cc3f4724125ae319875af
2016-08-24Add --alt-ref-aq=<int> optionYury Gitman
In the future this option will activate adaptive quantization special for altref frames. Encoder will create the adaptive quantization map on the basis of lookahead buffers similarity which is the estimate of the future motion compensation performance. Change-Id: Ia0088b3babb0f9a4899c79d8d819947ba5a03df2
2016-08-23vp8: fix decoder crash with invalid leading keyframesJames Zern
decoding the same invalid keyframe twice would result in a crash as the second time through the decoder would be assumed to have been initialized as there was no resolution change. in this case the resolution was itself invalid (0x6), but vp8_peek_si() was only failing in the case of 0x0. invalid-vp80-00-comprehensive-018.ivf.2kf_0x6.ivf tests this case by duplicating the first keyframe and additionally adds a valid one to ensure decoding can resume without error. BUG=b/30593765 Change-Id: If0859035908b7870d67a7f3f646b5a080252eb6d
2016-08-19vp9_alloc_context_buffers: clear cm->mi* on failureJames Zern
this fixes a crash in vp9_dec_setup_mi() via vp9_init_context_buffers() should decoding continue and the decoder resyncs on a smaller frame BUG=b/30593752 Change-Id: I9ce8d94abe89bcd058697e8bd8599690e61bd380
2016-08-16NEON asm of vpx_lpf_{horizontal,vertical}_8_dual_neon()Linfeng Zhang
Also expose the NEON intrinsics version. BUG=webm:1261, webm:1266. Change-Id: I8c4ae658467dcf66ebf7a75982b2ef712dbb4535
2016-08-12NEON intrinsics for 4 loopfilter functionsLinfeng Zhang
New NEON intrinsics functions: vpx_lpf_horizontal_edge_8_neon() vpx_lpf_horizontal_edge_16_neon() vpx_lpf_vertical_16_neon() vpx_lpf_vertical_16_dual_neon() BUG=webm:1262, webm:1263, webm:1264, webm:1265. Change-Id: I7a2aff2a358b22277429329adec606e08efbc8cb
2016-08-08tests: use scoped_ptr for local video source varsJames Zern
prevents leak warnings on ASSERT*() failures Change-Id: I1d3edbdbb18dbbe3b17691971348a8121cf09afa
2016-08-08y4m_test: init members in the constructorJames Zern
prevents use of an uninitialized value in the deconstructor should the test fail before tmpfile_ is set. Change-Id: I8b49fd05f0d05e055fdf653bd46983d30f466a68
2016-08-08Merge changes from topic 'clang-tidy'James Zern
* changes: *_perf_test.cc: correct DoDecode signature test: apply clang-tidy google-readability-braces-around-statements
2016-08-05*_perf_test.cc: correct DoDecode signatureJames Zern
+ delete unused kMaxPsnr from decode_perf_test.cc Change-Id: Id93347631e7870491069a8b7c5bb1f6b2828425f
2016-08-05test: apply clang-tidy google-readability-braces-around-statementsclang-format
applied against a x86_64 configure with and without --enable-vp9-highbitdepth clang-tidy-3.7.1 \ -checks='-*,google-readability-braces-around-statements' \ -header-filter='.*' -fix + clang-format afterward Change-Id: Ia2993ec64cf1eb3505d3bfb39068d9e44cfbce8d
2016-08-05Remove duplicates in Loop8Test6Param and Loop8Test9ParamLinfeng Zhang
Extract the duplicated data generation code in OperationCheck() of Loop8Test6Param and Loop8Test9Param, and put in function InitInput(). Change-Id: Ied39ba4ee86b50501cc5d10ebf54f5333c4708f0
2016-08-06Merge changes Ice037acb,I806af11b,I344a7dd0,Ib7cb87faJames Zern
* changes: vp9: normalize vpx_enc_frame_flags_t usage args.c: add some explicit casts webmdec: quiet -Wshorten-64-to-32 warning test/decode_test_driver: rm unused deadline member
2016-08-05Fix a bug in test/lpf_8_test.ccLinfeng Zhang
This bug is introduced in 36608af524bb65e39177f229301111f669bf0d20, where buffer tmp_s is not fully initialized. Change-Id: I125b966cf054a82bc63c72647cdd463f434eda17
2016-08-04test/decode_test_driver: rm unused deadline memberJames Zern
has the side-effect of removing some lint and -Wshorten-64-to-32 warnings Change-Id: Ib7cb87fa65cd65534096921f243d15288e97256d
2016-08-04Merge changes I6ef79702,Id332c641,I354b5d22,I84438013Johann Koenig
* changes: Use common transpose for vpx_idct32x32_1024_add_neon Use common transpose for vpx_idct8x8_[12|64]_add_neon Use common transpose for vp9_iht8x8_add_neon Use common transpose for vpx_idct16x16_[10|256]_add_neon
2016-08-04Use common transpose for vpx_idct16x16_[10|256]_add_neonJohann
Change-Id: I84438013f483e82084d33ba9a63c33273d35fcaa
2016-08-04Remove armv6 targetJohann
Change-Id: I1fa81cc9cabf362a185fc3a53f1e58de533a41e5
2016-08-04Update Loop8Test{6,9}Param to test filter8() in mb_lpf_vertical_edge_w()Linfeng Zhang
One branch of filter8() in mb_lpf_vertical_edge_w() was not tested. Change-Id: I194202d771d9acd6b4e5e600ee2bae89986b49f3
2016-08-04Merge "test: apply clang-format"James Zern
2016-07-28Merge "vp9 svc: Enable different speed setting for each spatial layer."Jacky Chen
2016-07-27test: apply clang-formatclang-format
Change-Id: I0d9ab85855eb723f653a7bb09b3d0d31dd6cfd2f
2016-07-25register_state_check: simplify Check() methodsJames Zern
- make Check() void as the EXPECT's are sufficient to document failure cumulatively this has the effect of avoiding reporting incorrect Check() failures due to earlier test failures. Change-Id: I2cf775449f18c90c1506b8eadd7067adbc3ea046
2016-07-25vp9 svc: Enable different speed setting for each spatial layer.jackychen
This change only affects 1 pass cbr svc mode. Change-Id: If0da87bb200f7e7762755340c40c8157cc7a16ca
2016-07-22blockiness_test: fix implicit float conversionJames Zern
float->int as reported by -Wfloat-conversion Change-Id: Icb0ecb9e2d54edb95813d9f2de34cb6c27b63cbd
2016-07-22resize_test: fix implicit float->int conversionJames Zern
Change-Id: I1efc16fa158740a06da719a1ea90c6dd6a182bb4
2016-07-21MinArfFreqTest: Don't leak video on failure.Alex Converse
Change-Id: I250379f0ac8d4929c9032e7343290e2980fc2e77
2016-07-21Make test encoder test driver less likely to leak on failure.Alex Converse
Individual tests still need to be updated. Change-Id: Ic433d0f742e13560b136f136b72b2a9973970d78
2016-07-19Merge "vp9: Allow usage of lookahead for real-time, 1 pass vbr."Marco Paniconi
2016-07-19Merge "take II: variance_test partial clean-up"Pascal Massimino
2016-07-18take II: variance_test partial clean-upskal
remove some (but not all yet!) tuple mis-use, and revamp the code a lot. Factorize some common chores into MainTestClass. Change-Id: Id37b7330eebe80d19b9d12a454f24ff9be6b1116
2016-07-18vp9: Allow usage of lookahead for real-time, 1 pass vbr.Marco
Allow usage of lookahead for VBR in real-time mode, for 1 pass vbr. Current usage is for fast checking of future scene cuts/changes, and adjusting rate control (gf interval and active_worst/target size). Added unittests (datarate) for 1 pass vbr mode, with non-zero lag. Added an experimental option to limit QP based on lookahead. Overall positive gain in metrics on ytlive set: avgPNSR/SSIM up on average ~1-3%; several clips up by 5, 7%. Change-Id: I960d57dfc89de121c4824b9a9bf88d2814e74b56
2016-07-16Revert "variance_test partial clean-up"James Zern
This reverts commit f993ed5c86217e31b92ecc7ef58d7d7860b80108. build warnings under msvc, segfaults with high-bitdepth enabled. Change-Id: I67502651107830bcadb6ef56d8f2709cccbfdf2b
2016-07-16Merge "sad_test: add some const to methods"Pascal Massimino
2016-07-16Merge "vp9_error_block_test: simplify fn wrapper generation"Pascal Massimino
2016-07-15sad_test: add some const to methodsPascal Massimino
Change-Id: I6f2481509b0aa94338ed6185f80c4a6b65532280
2016-07-15vp9_error_block_test: simplify fn wrapper generationJames Zern
Change-Id: I1f1d396b9456e52e863c4c75f23c3d17420668b4
2016-07-15remove tuple from 'sad_test.cc'skal
+ general clean-up Change-Id: Ib9dca3d1a3b7f0c1bedef2a26c9ff5ae1c289e8a
2016-07-15Merge "postproc : fix function parameters for noise functions."James Bankoski
2016-07-15postproc : fix function parameters for noise functions.Jim Bankoski
Change-Id: I582b6307f28bfc987dcf8910379a52c6f679173c
2016-07-14variance_test partial clean-upskal
remove some (but not all yet!) tuple mis-use, and revamp the code a lot. Factorize some common chores into MainTestClass. Change-Id: Ia14f3924140e8545e4f10d0504475681baae8336
2016-07-14vp9_intrapred_test: follow-up cleanupskal
address few comments from ce050afaf3e288895c3bee4160336e2d2133b6ea Change-Id: I5d8fc9dab35c4ee5ec3671134c4eef4ec241e309
2016-07-13Merge "postproc: noise style fixes."James Bankoski
2016-07-13postproc: noise style fixes.Jim Bankoski
Change-Id: Ifdcb36b8e77b65faeeb10644256e175acb32275d
2016-07-13clean-up vp9_intrapred_testskal
remove tuple and overkill VP9IntraPredBase class. Change-Id: I85b85bdd33d7fe417895e75f77db219f713dfea3
2016-07-13postproc - move filling of noise buffer to vpx_dsp.Jim Bankoski
Change-Id: I63ba35dc0ae9286c9812367a531e01d79a4c1635