Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Issue 1871853003: External VNR speed improvement and more. (Closed)

Created:
4 years, 8 months ago by jackychen_
Modified:
4 years, 8 months ago
Reviewers:
marpan2, marpan
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

External VNR speed improvement. Improved visual quality with 3x times speed-up. Change list: 1. Remove second chance filter in temporal denoising filter to mitigate trailing artifact. 2. Add swap buffer to save one whole-frame memcpy. 3. Do noise estimation on every N blocks. 4. Adopt a faster moving object detection algorithm (change the structure). 5. Refactor the for loops and PositionCheck(). 6. Refactor the function ReduceFalseDetection (RFD). 7. Fix a bug in TrailingBlock() which causes a mismatch. 8. Change unit test to support swap buffer test. 9. Remove CopyMem8x8, use memcpy to copy U/V plane which can be optimized future. 10. Remove DenoiseMetrics. Committed: https://crrev.com/afaae0d15132161a9ef88ade6da9a27d8f9049eb Cr-Commit-Position: refs/heads/master@{#12340}

Patch Set 1 : Init #

Patch Set 2 : Refactor the second loop and position check. #

Patch Set 3 : Refactor ReduceFalseDetection (RFD). #

Patch Set 4 : Ready for re-test. #

Patch Set 5 : Fixed the mismatch in unit test #

Patch Set 6 : Remove CopyMem8x8 #

Patch Set 7 : More clean up and speed opt. #

Patch Set 8 : More comments. #

Patch Set 9 : Fix a bug in buffer init. #

Total comments: 24

Patch Set 10 : Refactor. #

Total comments: 4

Patch Set 11 : More clean-up. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+391 lines, -581 lines) Patch
M webrtc/modules/video_processing/frame_preprocessor.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_processing/frame_preprocessor.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -3 lines 0 comments Download
M webrtc/modules/video_processing/test/denoiser_test.cc View 1 2 3 4 5 6 7 6 chunks +30 lines, -28 lines 0 comments Download
M webrtc/modules/video_processing/util/denoiser_filter.h View 1 2 3 4 5 6 3 chunks +1 line, -12 lines 0 comments Download
M webrtc/modules/video_processing/util/denoiser_filter_c.h View 1 2 3 4 5 2 chunks +1 line, -6 lines 0 comments Download
M webrtc/modules/video_processing/util/denoiser_filter_c.cc View 1 2 3 4 5 3 chunks +5 lines, -67 lines 0 comments Download
M webrtc/modules/video_processing/util/denoiser_filter_neon.h View 1 2 3 4 5 2 chunks +1 line, -6 lines 0 comments Download
M webrtc/modules/video_processing/util/denoiser_filter_neon.cc View 1 2 3 4 5 3 chunks +8 lines, -102 lines 0 comments Download
M webrtc/modules/video_processing/util/denoiser_filter_sse2.h View 1 2 3 4 5 2 chunks +1 line, -6 lines 0 comments Download
M webrtc/modules/video_processing/util/denoiser_filter_sse2.cc View 1 2 3 4 5 4 chunks +9 lines, -85 lines 0 comments Download
M webrtc/modules/video_processing/util/noise_estimation.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +10 lines, -4 lines 0 comments Download
M webrtc/modules/video_processing/util/noise_estimation.cc View 1 3 chunks +18 lines, -15 lines 0 comments Download
M webrtc/modules/video_processing/video_denoiser.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +38 lines, -8 lines 0 comments Download
M webrtc/modules/video_processing/video_denoiser.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +254 lines, -237 lines 0 comments Download

Messages

Total messages: 34 (22 generated)
jackychen_
4 years, 8 months ago (2016-04-11 17:02:46 UTC) #16
marpan
https://codereview.webrtc.org/1871853003/diff/150015/webrtc/modules/video_processing/video_denoiser.cc File webrtc/modules/video_processing/video_denoiser.cc (right): https://codereview.webrtc.org/1871853003/diff/150015/webrtc/modules/video_processing/video_denoiser.cc#newcode23 webrtc/modules/video_processing/video_denoiser.cc:23: // Check the mb position(1: close to the center, ...
4 years, 8 months ago (2016-04-11 19:16:44 UTC) #19
jackychen_
https://codereview.webrtc.org/1871853003/diff/150015/webrtc/modules/video_processing/video_denoiser.cc File webrtc/modules/video_processing/video_denoiser.cc (right): https://codereview.webrtc.org/1871853003/diff/150015/webrtc/modules/video_processing/video_denoiser.cc#newcode23 webrtc/modules/video_processing/video_denoiser.cc:23: // Check the mb position(1: close to the center, ...
4 years, 8 months ago (2016-04-12 17:02:53 UTC) #20
jackychen_
4 years, 8 months ago (2016-04-12 23:04:53 UTC) #21
marpan
lgtm https://codereview.webrtc.org/1871853003/diff/210001/webrtc/modules/video_processing/util/noise_estimation.cc File webrtc/modules/video_processing/util/noise_estimation.cc (right): https://codereview.webrtc.org/1871853003/diff/210001/webrtc/modules/video_processing/util/noise_estimation.cc#newcode51 webrtc/modules/video_processing/util/noise_estimation.cc:51: !num_noisy_block_) { is spacing for line 50/51 correct ...
4 years, 8 months ago (2016-04-12 23:10:19 UTC) #22
jackychen_
https://codereview.webrtc.org/1871853003/diff/210001/webrtc/modules/video_processing/util/noise_estimation.cc File webrtc/modules/video_processing/util/noise_estimation.cc (right): https://codereview.webrtc.org/1871853003/diff/210001/webrtc/modules/video_processing/util/noise_estimation.cc#newcode51 webrtc/modules/video_processing/util/noise_estimation.cc:51: !num_noisy_block_) { On 2016/04/12 23:10:19, marpan wrote: > is ...
4 years, 8 months ago (2016-04-12 23:17:14 UTC) #23
marpan2
lgtm
4 years, 8 months ago (2016-04-12 23:18:32 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1871853003/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1871853003/230001
4 years, 8 months ago (2016-04-12 23:49:53 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win_baremetal on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 8 months ago (2016-04-13 01:05:41 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1871853003/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1871853003/230001
4 years, 8 months ago (2016-04-13 05:57:01 UTC) #30
commit-bot: I haz the power
Committed patchset #11 (id:230001)
4 years, 8 months ago (2016-04-13 06:03:00 UTC) #32
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 06:03:15 UTC) #34
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/afaae0d15132161a9ef88ade6da9a27d8f9049eb
Cr-Commit-Position: refs/heads/master@{#12340}

Powered by Google App Engine
This is Rietveld 408576698