summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-04add -Wmissing-prototypesJohann
clang treats -Wmissing-declarations differently than gcc. This provides similar coverage for clang. Fix vpx_clear_system_state() warning on 32bit builds: note: this declaration is not a prototype; add 'void' to make it a prototype for a zero-parameter function Change-Id: I5a424bc38d47c0a3dc751d65c1efea5733907785
2019-03-04vp9-rtc: Speed feature changes to speed 9Marco Paniconi
Compared to speed 8 for low resolutions: quality loss is ~8-10%, and encoder fps is ~15% higher on ARM for 1 thread. Change-Id: I4f12390d2917a5c4045114ef81a05edb2a3b9c96
2019-03-01vp9-rtc: Adjust force split logic for screen modeMarco Paniconi
In variance partition for screen content mode: force split to 32x32 if source pre-process detects non-zero temporal sad. Reduce artifacts in scroll motion content. Change-Id: Ifbe2b500eb03ae853faa28a045ce4f1185443939
2019-03-01vp9-rtc: Fix for scroll motion for rtcMarco Paniconi
Increase threshold to detect frames with high num of motion blocks, and fix conditions to detect horiz & vert scroll and avoid split below 16x16 blocks in variance partition. Reduces artifacts in horizonal scroll screenshare testing. Change-Id: Icf5b87f69971d7331c660fc2727c9246c6cbf8b5
2019-03-01Merge "Strengthened film grain setting."Paul Wilkins
2019-03-01Merge "Fix RD multiplier bug impacting AQ1."Paul Wilkins
2019-02-28vp9-rtc: Set init noise level based on resolnMarco Paniconi
Avoid the kLow init level for lower resolns. Change-Id: I1c9968a6891668b5887e35695f2a44158a4b3a18
2019-02-28vp9-rtc: Reduce thresholds for skip goldenMarco Paniconi
For nonrd-pickmode CBR mode: reduce the skip golden ref thresholds, to reduce some psnr regression in some clips, while still effectively reducing flashing block artifact occurrence. Change-Id: I468dcf5354411aeb54ac3ef56c6fb73267d93fde
2019-02-28Merge "Set segment ID from ROI map if enabled."Jerome Jiang
2019-02-28Set segment ID from ROI map if enabled.Jerome Jiang
Segment ID was overwritten. Change-Id: I99603dce02a94f3a9076d1743b108a81289ad0e5
2019-02-28Merge "vp9-rtc: Change init level of denoiser & noise level"Marco Paniconi
2019-02-28Strengthened film grain setting.Paul Wilkins
This patch increases the preference for maintaining similar variance between source and reconstruction and thus helps improve film grain retention. The changes are only active when film mode is selected Change-Id: I3bc082dca678a0f32ec00f30f5d90d0f95ca2381
2019-02-28Fix RD multiplier bug impacting AQ1.paulwilkins
Change to the default RD multiplier computation in set_segment_rdmult() The default here is wrong as for modes like AQ 1 setting the rdmult based on the segment ID for bsize will tend to result in the RD loop favoring partition sizes where the resulting segment assignment has the lowest Q, as these partition sizes will be then evaluated with a lower value of rdmult. For a valid rd comparison between partition sizes within a single SB64 we need to use the same value of rdmult. This change fixes an observed issue with AQ 1 where almost all the blocks were being assigned to segment 0. Change-Id: Ibf87e8ca60bca45b8fee866ac6fd53feae11dab4
2019-02-28Merge "Change to direction of scan for GF only group boost."Paul Wilkins
2019-02-27vp9-rtc: Change init level of denoiser & noise levelMarco Paniconi
Change to init/reset level of the denoiser from kDenLow to kDenMedium, and the init noise level to kLow. This affects the denoiser level during the initialization stage of the noise estimation. Improves denoising for noisy content during init stage of noise estimation, with little effect for low noise/clean content. Change-Id: I247a17b0f01f646fc2e91a4a070ad69bdb788cae
2019-02-27Merge "vp9-rtc: Add cyclic_refresh condition to segment reset"Marco Paniconi
2019-02-27Merge "vp9: Remove unused function in cyclic refresh"Marco Paniconi
2019-02-27vp9: Remove unused function in cyclic refreshMarco Paniconi
Change-Id: I4b1d02c661ccbad2a1e346df623e78334a3a3a39
2019-02-27vp9-rtc: Add cyclic_refresh condition to segment resetMarco Paniconi
In non-rd pickmode for screen content: this logic to reset segment should only be for cyclic_refresh mode on, so add that condition explicitly. There may be other uses of segments, like ROI, so we should condition this reset logic on cyclic_refresh, as it was intended for that mode only. Change-Id: I954e6cee968fbca35b34286c4a7ca2531c8e9823
2019-02-27vp9-rtc: Modify skip golden mode check for 1 layerMarco Paniconi
For real-time CBR mode: golden reference mode testing is skipped under certain conditons based on sse of zero-last mode. This was done for svc mode. Here we add similar condition for non-svc/1 layer encoding. Reduces flashing block artifacts that can occur in background areas with noise. Change-Id: I93f71ea9507af8c9153fc6c0ba7dcc7a0fa8810d
2019-02-25Merge "vp9-rtc: Fix to Q clamp in adjust_q_cbr"Marco Paniconi
2019-02-24vp9-rtc: Fix to Q clamp in adjust_q_cbrMarco Paniconi
For CBR mode: clamp the Q to worst/best quality in adjust_q_cbr(). Under certain conditions, when the worst/best quality is suddenly changed by a large amount mid-stream, the Q adjustment from the final Q from adjust_q_cbr may not respect the worst/best qualiy limits. Change-Id: I3776129325d89882d422b22e6247d44660dd90ac
2019-02-22vp9-rtc: Decrease noise estimation thresh for kLowMarco Paniconi
Increases denoising for noisy content. Change-Id: Iff8573f8dca7b177ef53ee6682d691e6cd8e2740
2019-02-22Fix 32-bit unsigned integer overflow in block_variancekyslov
When compiled for High Bitdepth SSE can overflow 32-bit unsigned integer, so change it to 64 bit. Also fixing unit/int mismatch of sum BUG=webm:1601 Change-Id: Ib576ed1d5579b0c2b4661058aa64119560b652bf
2019-02-21vp9-rtc: Adjust thresholds for noise estimation.Marco Paniconi
Lower the frame_motion and consec_zeromv thresholds, this make the noise estimation and denoiser have more effect on noisy clips. Change-Id: I49cf5d78a04d00fcf8538bee6f3b2980efe6b3b5
2019-02-20Merge "vp9: Enable ml based partition for speed>=8 low res."Jerome Jiang
2019-02-19vpx_thread.h: remove unused sched_yield()James Zern
usage was removed with: c1b024b48 Modify map read/write to sync logic in row_mt case Change-Id: I515fe397083079a4f11702e67c322fd04bdcf410
2019-02-20Merge "Fix integer overflow issue in bits allocated"Ranjit Kumar Tulabandu
2019-02-19Disable encoder builds when checking coeff rangesYaowu Xu
BUG=webm:1031 Change-Id: I28f4e8cdec170393b2d22cd8cb0b73a32204e09c
2019-02-19vp9: Enable ml based partition for speed>=8 low res.Jerome Jiang
~10% speed up with no quality change for speed 8. 7% quality gain for speed 9 with no speed change. Change-Id: I7eaaa4b82f7b082c9b15aa1d7624765ecc5082e7
2019-02-14added error messages in vpx_video_reader_open().Aidan Welch
Change-Id: I3e521b62a2f99902c4be80fe25d3869121673e43
2019-02-13Fix compile warnings in non-greedy-mvAngie Chiang
Change-Id: Ib2bd9a74473ccb00e9ad71e0b186c8ddc0ee7b3c
2019-02-13Only discount new mv mode when tpl model is readyAngie Chiang
Change-Id: I3326f0912627981fd604b16ddbf668d2262d4287
2019-02-13Check the new mv diff in discount_newmv_test()Angie Chiang
Change-Id: I38c5d4de93bebfd3f46bcc01716a0cc4a76af950
2019-02-13Use mv_mode_arr to decide the newmv discount placeAngie Chiang
Change-Id: I98c32aba4c9e81380b588dcdbfa991468487ce73
2019-02-13Fix the bug for feature_score computationAngie Chiang
The visited is not set to 1 after an item is pushed into the heap. This may cause one item being pushed into the heap multiple times, which may incur buffer overflow and memory corruption. Change-Id: I443f1e5693856bb4066542403f98492d4daec69d
2019-02-12Merge "vp9: ML var partition as speed feature & cleanup."Jerome Jiang
2019-02-12vp8: Limit Q change for screen content CBR modeMarco Paniconi
Add last_q[] to layer context, and add limit on Q change from previous layer/frame. For now put hard limit of 12 for decrease. For 1 pass CBR sreen content mode. Change-Id: Ifb972c9b6831440c80b1cb07a054c577ece930ec
2019-02-12Merge "Test decode and find mismatch in vp9 svc example encoder."Jerome Jiang
2019-02-11Test decode and find mismatch in vp9 svc example encoder.Jerome Jiang
Also write it to opsnr.stt when internal stats is enabled. Removed some redundant code in vpxenc.c and vp9cx_set_ref.c Change-Id: I3700137fff0be92a23e4ab75713db72da1dc4076
2019-02-11vp9: ML var partition as speed feature & cleanup.Jerome Jiang
Remove it from runtime flag. Add new struct for rd ml partition. BUG=webm:1599 Change-Id: I883edbba83c65b7e557b8832419e212cffc85997
2019-02-11vp8: Fix condition for update of last_pred_err_mbMarco Paniconi
For 1 pass cbr screen-content mode: quantity should only be updated on delta frames. Change-Id: I16fc47b2805c7527ab4ff25bd8b5a5bd9c2b8976
2019-02-11Merge "refactor vp9 svc example encoder."Jerome Jiang
2019-02-11refactor vp9 svc example encoder.Jerome Jiang
Put rc stats related code into a separate function. Change-Id: I11808bb947079b5fd9e53dfa5894bf227ed0c4c6
2019-02-09Merge changes Ibbe12dad,I4bf9e2adAngie Chiang
* changes: Add tpl_bsize to VP9_COMP Compute future_rd_diff in predict_mv_mode
2019-02-08vp9 svc example encoder accept -o (--output) for output.Jerome Jiang
Make it same as vpxenc so easier to run on borg. Change-Id: Ie19db6e828ced773cba9aef715c8fbd0f4715b27
2019-02-07Merge "Fixing ClangTidy issues reported by downstream integration"Fyodor Kyslov
2019-02-07Fixing ClangTidy issues reported by downstream integrationkyslov
ClangTidy reported 16 issues. All are around typecasting and straightforward Change-Id: Ie8f9fc2ba7992dd44fef65b121fe65966a1a1297
2019-02-07Merge "Refactor the model for rect partition pruning"Hui Su
2019-02-07Merge "vp9: Write height and width to ivf header in SVC example encoder."Jerome Jiang