summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-22Correct CHECK_MEM_ERROR macroYury Gitman
The previous macro doesn't work with &cpi->common as a first argument Change-Id: Ic3f5c49a94cf8b17de6569811b957c963341bb58
2016-08-22Merge "Revert "vp8: Move loopfilter synchronization to end of encode_frame ↵Marco Paniconi
call.""
2016-08-22Revert "vp8: Move loopfilter synchronization to end of encode_frame call."Marco Paniconi
This reverts commit c2fe9acceda922ca1d9f0d6185b340560b93597a. This change break linux browser test in chromium: https://build.chromium.org/p/chromium.webrtc/builders/Linux%20Tester Change-Id: I226782fad480c17a99ec6c785ad93cf4ab88f0ae
2016-08-19Merge "Adjust speed features for 4k video encoding"Yunqing Wang
2016-08-19Adjust speed features for 4k video encodingYunqing Wang
Adjusted speed 2 features to speed up 4k video encoding. BDBR results from borg test: PSNR: +0.313%; SSIM: +0.268%. Average speedup: 8.5% Change-Id: I1e2695a01fb3f3817c1df4480e184c2aed8f2eba
2016-08-19vp9_pickmode: quiet float conversion warningsJames Zern
Change-Id: I591e4f958955b3f2edb2f95a83c54cd83c8ef075
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-18Merge "vp9 svc: SVC encoder speed up."Jacky Chen
2016-08-18Merge "Remove '-chromium' flag from ads2gas_apple.pl"Johann Koenig
2016-08-18vp9 svc: SVC encoder speed up.JackyChen
Bias towards base_mv and skip 1/4 pixel motion search when using base mv. 2~3% speed up for 2 spatial layers, 3~5% speed up for 3 spatial layers. PSNR loss: (2 layers) 0.07dB for gips_stationary, 0.04dB for gips_motion; (3 layers) 0.07dB for gips_stationary, 0.06dB for gips_motion. Change-Id: I773acbda080c301cabe8cd259f842bcc5b8bc999
2016-08-18Merge "vp9 non-rd pickmode: Add limit on newmv-last and golden bias."Marco Paniconi
2016-08-18Merge "vp8: Move loopfilter synchronization to end of encode_frame call."Marco Paniconi
2016-08-17vp9 non-rd pickmode: Add limit on newmv-last and golden bias.Marco
Add option, for newmv-last, to limit the rd-threshold update for early exit, under a source varianace condition. This can improve visual quality in low texture moving areas, like forehead/faces. Also add bias against golden to improve the speed/fps, will little/negligible loss in quality. Only affects CBR mode, non-svc, non-screen-content. Change-Id: I3a5229eee860c71499a6fd464c450b167b07534d
2016-08-17Remove '-chromium' flag from ads2gas_apple.plJohann
The flag was added because Apple clang and Chromium clang disagreed for certain versions of instructions. qsubaddx, qaddsubx, ldrneb and ldrneh were used in armv6 assembly which was removed in d55724fae9cb27e070add7952394fc0427ef2061 vqshrun was used in some neon assembly but superseded by dcbfacbb984cdcd5b5a5030103305fa3669dfece .include was used for obj_int_extract/asm_offsets and removed in 6eec73a747f3d14d327cdc33279de96d0deb48c8 Change-Id: I32f4c9b536d0318482101c0b8e91e42b8f545f18
2016-08-17Add casting to fix warning.paulwilkins
Frame bits can safely be stored int but group bits (kf or arf) use 64bit. Change-Id: I0800f2a28070f8749110a95721c116fc56987885
2016-08-17Add {} to try and keep Jenkins happy.paulwilkins
Change-Id: If1ca3cf83e058317c9751d7da6caa7cd75eb6845
2016-08-16vp8: Move loopfilter synchronization to end of encode_frame call.Marco
Change-Id: I5bdfea7f51df1f1fa5d9c1597e96988acce6c2f2
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-15Change default recode rule for good speed 0 and best.paulwilkins
Changes the default recode rule for Speed 0 and best quality from ALLOW_RECODE to ALLOW_RECODE_KFARFGF. Tested on the NF, hdres, midres and lowres test sets, this setting when combined with patch I40cb559... now performs "as well" in metrics terms (in fact it came out a tiny amount better overall) but encode time is 9.6% faster (measured as the average from 27 mid rate local encodes on clips in the derf/lowres set. Change-Id: I8c781c0cdfa3a9929cd9406d15582fce47d6ae3b
2016-08-15Change to recode rules.paulwilkins
Allow recodes for the first inter frame in each arf group even when the recode rule is set to ALLOW_RECODE_KFARFGF. Small gains of 0.05%. Change-Id: I40cb559d36a2bf0ebf5cf758c3f92e452b480577
2016-08-15Merge "Modified ARF group allocation."Paul Wilkins
2016-08-12Merge "Fix another motion vector out of range bug"Yunqing Wang
2016-08-12Merge "variance_impl_avx2: restore table layout"James Zern
2016-08-12variance_impl_avx2: restore table layoutJames Zern
disable clang-format for bilinear_filters_avx2 restores the row layout prior to: 099bd7f vpx_dsp: apply clang-format but keeps the justification used by clang-format Change-Id: Icf1733a37edb807e74c26b23a93963c03bd08fd7
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-12Fix another motion vector out of range bugYunqing Wang
This patch fixed a motion vector out of range bug: vpxenc: ../libvpx/vp9/encoder/vp9_mcomp.c:69: mv_cost: Assertion `mv->col >= -((1 << (11 + 1 + 2)) - 1) && mv->col < ((1 << (11 + 1 + 2)) - 1)' failed. For blocks that returned without having full-pixel search, the original MV limits were not restored, which caused the failure. Moved the set MV limit function down to fix the bug. Change-Id: Id7d798fc7214e95c6e4846c588f0233fcf1a4223
2016-08-10vp8: Fix denoiser setting in multi-res sample encoder.Marco
Change-Id: I9222f3b252e5ed883659f1a14cd705944ee9da07
2016-08-10Modified ARF group allocation.paulwilkins
Small average gains in the range 0.05 - 0.1 Change-Id: I30e85c04be615cc84726427c5057388b20a6ff60
2016-08-10Align thread entry point stackAleksey Vasenev
_beginthreadex does not align the stack on 16-byte boundary as expected by gcc. On x86 targets, the force_align_arg_pointer attribute may be applied to individual function definitions, generating an alternate prologue and epilogue that realigns the run-time stack if necessary. This supports mixing legacy codes that run with a 4-byte aligned stack with modern codes that keep a 16-byte stack for SSE compatibility. https://gcc.gnu.org/onlinedocs/gcc/x86-Function-Attributes.html Change-Id: Ie4e4ab32948c238fa87054d5664189972ca6708e Signed-off-by: Aleksey Vasenev <margtu-fivt@ya.ru>
2016-08-10Merge changes I1d3edbdb,I8b49fd05James Zern
* changes: tests: use scoped_ptr for local video source vars y4m_test: init members in the constructor
2016-08-09Merge "Refactor mv limits."Alex Converse
2016-08-08tests: use scoped_ptr for local video source varsJames Zern
prevents leak warnings on ASSERT*() failures Change-Id: I1d3edbdbb18dbbe3b17691971348a8121cf09afa
2016-08-08Merge "Add cpi parameter for forcing segmentation update"Yury Gitman
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-08Add cpi parameter for forcing segmentation updateYury Gitman
Change-Id: I1b0bcb1ffe7604117bfaa0b9989d0e25ff04d28c
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-08Refactor mv limits.Alex Converse
Change-Id: Ifebdc9ef37850508eb4b8e572fd0f6026ab04987
2016-08-08Merge "Fix a motion vector out of range bug"Yunqing Wang
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 "remove tools/vpx-style.sh"James Zern
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-05Fix a motion vector out of range bugYunqing Wang
This patch fixed a motion vector(MV) out of range bug, which was caused by not restoring the original values of the MV min/max thresholds after the sub8x8 full pixel motion search. It occurred rarely and only was seen while encoding a 4k clip for 200 frames. BUG=webm:1271 Change-Id: Ibc4e0de80846f297431923cef8a0c80fe8dcc6a5
2016-08-04vp9: normalize vpx_enc_frame_flags_t usageJames Zern
quiets -Wshorten-64-to-32 warnings Change-Id: Ice037acb675d1d81bfedf2dfcfa91a8a29a19dfd
2016-08-04args.c: add some explicit castsJames Zern
values are range checked before returning; quiets -Wshorten-64-to-32 warnings Change-Id: I806af11b2aaf6760c7ab234a2fe2fdf40e7bece7
2016-08-04webmdec: quiet -Wshorten-64-to-32 warningJames Zern
track->GetNumber() will fit in an int in well-behaved files Change-Id: I344a7dd05d04daf3df2d67358ea69f8014a03a5b
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-04remove tools/vpx-style.shJames Zern
update ftfy.sh to use clang-format Change-Id: I8ac740c5b3842beed2b8878fbe506f381f4c57e4