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

Issue 1466763002: Standalone denoiser (off by default). (Closed)

Created:
5 years, 1 month ago by jackychen
Modified:
5 years ago
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Standalone denoiser (off by default). BUG=webrtc:5255 Committed: https://crrev.com/8f9902a0ff2c4673b3e470026017e858f2992838 Cr-Commit-Position: refs/heads/master@{#10800}

Patch Set 1 #

Patch Set 2 : #

Total comments: 34

Patch Set 3 : #

Total comments: 16

Patch Set 4 : #

Total comments: 18

Patch Set 5 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1379 lines, -9 lines) Patch
M webrtc/modules/video_processing/BUILD.gn View 1 2 3 4 5 chunks +27 lines, -0 lines 1 comment Download
M webrtc/modules/video_processing/frame_preprocessor.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/modules/video_processing/frame_preprocessor.cc View 1 2 3 4 3 chunks +28 lines, -9 lines 2 comments Download
A webrtc/modules/video_processing/util/denoiser_filter.h View 1 2 3 4 1 chunk +62 lines, -0 lines 0 comments Download
A webrtc/modules/video_processing/util/denoiser_filter.cc View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
A webrtc/modules/video_processing/util/denoiser_filter_c.h View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
A webrtc/modules/video_processing/util/denoiser_filter_c.cc View 1 2 3 4 1 chunk +194 lines, -0 lines 0 comments Download
A webrtc/modules/video_processing/util/denoiser_filter_neon.h View 1 1 chunk +46 lines, -0 lines 0 comments Download
A webrtc/modules/video_processing/util/denoiser_filter_neon.cc View 1 2 3 1 chunk +284 lines, -0 lines 0 comments Download
A webrtc/modules/video_processing/util/denoiser_filter_sse2.h View 1 1 chunk +46 lines, -0 lines 0 comments Download
A webrtc/modules/video_processing/util/denoiser_filter_sse2.cc View 1 2 3 1 chunk +282 lines, -0 lines 0 comments Download
A webrtc/modules/video_processing/util/skin_detection.h View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
A webrtc/modules/video_processing/util/skin_detection.cc View 1 2 3 1 chunk +71 lines, -0 lines 0 comments Download
A webrtc/modules/video_processing/video_denoiser.h View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A webrtc/modules/video_processing/video_denoiser.cc View 1 2 3 4 1 chunk +149 lines, -0 lines 0 comments Download
M webrtc/modules/video_processing/video_processing.gypi View 1 2 3 4 3 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (12 generated)
jackychen
5 years, 1 month ago (2015-11-20 22:36:24 UTC) #3
stefan-webrtc
take a look at the previous cl for comments. if possible it would be good ...
5 years, 1 month ago (2015-11-20 22:39:37 UTC) #4
jackychen
On 2015/11/20 22:39:37, stefan-webrtc (holmer) wrote: > take a look at the previous cl for ...
5 years, 1 month ago (2015-11-21 00:14:26 UTC) #5
stefan-webrtc
I think we should add some unittests for VideoDenoiser. https://codereview.webrtc.org/1466763002/diff/20001/webrtc/modules/video_processing/frame_preprocessor.cc File webrtc/modules/video_processing/frame_preprocessor.cc (right): https://codereview.webrtc.org/1466763002/diff/20001/webrtc/modules/video_processing/frame_preprocessor.cc#newcode121 webrtc/modules/video_processing/frame_preprocessor.cc:121: ...
5 years, 1 month ago (2015-11-23 10:12:53 UTC) #6
jackychen
https://codereview.webrtc.org/1466763002/diff/20001/webrtc/modules/video_processing/frame_preprocessor.cc File webrtc/modules/video_processing/frame_preprocessor.cc (right): https://codereview.webrtc.org/1466763002/diff/20001/webrtc/modules/video_processing/frame_preprocessor.cc#newcode121 webrtc/modules/video_processing/frame_preprocessor.cc:121: vdn_->DenoiseFrame(frame, &denoised_frame_); On 2015/11/23 10:12:52, stefan-webrtc (holmer) wrote: > ...
5 years, 1 month ago (2015-11-23 19:45:00 UTC) #7
stefan-webrtc
This is starting to look good to me, besides no unittest. I agreed to let ...
5 years ago (2015-11-24 08:56:18 UTC) #8
jackychen
https://codereview.webrtc.org/1466763002/diff/20001/webrtc/modules/video_processing/frame_preprocessor.cc File webrtc/modules/video_processing/frame_preprocessor.cc (right): https://codereview.webrtc.org/1466763002/diff/20001/webrtc/modules/video_processing/frame_preprocessor.cc#newcode133 webrtc/modules/video_processing/frame_preprocessor.cc:133: content_metrics_ = ca_->ComputeContentMetrics(resampled_frame_); On 2015/11/24 08:56:18, stefan-webrtc (holmer) wrote: ...
5 years ago (2015-11-24 22:33:06 UTC) #9
stefan-webrtc
lgtm, but please follow up with a unittest, and wait for lg from mflodman and ...
5 years ago (2015-11-25 10:12:59 UTC) #10
mflodman
https://codereview.webrtc.org/1466763002/diff/60001/webrtc/modules/video_processing/frame_preprocessor.cc File webrtc/modules/video_processing/frame_preprocessor.cc (right): https://codereview.webrtc.org/1466763002/diff/60001/webrtc/modules/video_processing/frame_preprocessor.cc#newcode114 webrtc/modules/video_processing/frame_preprocessor.cc:114: if (enable_denoising_) { I'd prefer to skip this bool ...
5 years ago (2015-11-25 12:15:19 UTC) #11
stefan-webrtc
https://codereview.webrtc.org/1466763002/diff/60001/webrtc/modules/video_processing/frame_preprocessor.h File webrtc/modules/video_processing/frame_preprocessor.h (right): https://codereview.webrtc.org/1466763002/diff/60001/webrtc/modules/video_processing/frame_preprocessor.h#newcode69 webrtc/modules/video_processing/frame_preprocessor.h:69: VideoFrame denoised_frame_; On 2015/11/25 12:15:19, mflodman wrote: > And ...
5 years ago (2015-11-25 12:16:53 UTC) #12
jackychen
https://codereview.webrtc.org/1466763002/diff/60001/webrtc/modules/video_processing/frame_preprocessor.cc File webrtc/modules/video_processing/frame_preprocessor.cc (right): https://codereview.webrtc.org/1466763002/diff/60001/webrtc/modules/video_processing/frame_preprocessor.cc#newcode114 webrtc/modules/video_processing/frame_preprocessor.cc:114: if (enable_denoising_) { On 2015/11/25 12:15:19, mflodman wrote: > ...
5 years ago (2015-11-25 20:29:05 UTC) #18
mflodman
Nive, LGTM! https://codereview.webrtc.org/1466763002/diff/60001/webrtc/modules/video_processing/frame_preprocessor.cc File webrtc/modules/video_processing/frame_preprocessor.cc (right): https://codereview.webrtc.org/1466763002/diff/60001/webrtc/modules/video_processing/frame_preprocessor.cc#newcode121 webrtc/modules/video_processing/frame_preprocessor.cc:121: if (enable_denoising_) { On 2015/11/25 20:29:05, jackychen ...
5 years ago (2015-11-26 10:50:00 UTC) #19
mflodman
On 2015/11/26 10:50:00, mflodman wrote: > Nive, LGTM! > > https://codereview.webrtc.org/1466763002/diff/60001/webrtc/modules/video_processing/frame_preprocessor.cc > File webrtc/modules/video_processing/frame_preprocessor.cc (right): ...
5 years ago (2015-11-26 10:50:15 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1466763002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1466763002/120001
5 years ago (2015-11-26 10:50:37 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:120001)
5 years ago (2015-11-26 10:59:51 UTC) #25
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/8f9902a0ff2c4673b3e470026017e858f2992838 Cr-Commit-Position: refs/heads/master@{#10800}
5 years ago (2015-11-26 10:59:58 UTC) #27
kjellander_webrtc
5 years ago (2015-11-26 16:28:36 UTC) #29
Message was sent while issue was closed.
Adding our WebRTC-in-Chrome sheriffs.
I think I know why this breaks the Android GN FYI bot, see comment below.

https://codereview.webrtc.org/1466763002/diff/120001/webrtc/modules/video_pro...
File webrtc/modules/video_processing/BUILD.gn (right):

https://codereview.webrtc.org/1466763002/diff/120001/webrtc/modules/video_pro...
webrtc/modules/video_processing/BUILD.gn:100: }
Our FYI bots used for rolling are failing the Android GN build due to this:
https://build.chromium.org/p/chromium.webrtc.fyi/builders/Android%20GN/builds...

I think it's because the include paths are not properly setup for the
build_in_chromium=True case. 
I believe you can solve that by adding:
    configs += [ "..:common_config" ]
    public_configs = [ "..:common_inherited_config" ]
similar to the common_audio_neon target in
https://chromium.googlesource.com/external/webrtc/+/master/webrtc/common_audi...
but to be sure you need build from a Chromium checkout with the change applied.

Powered by Google App Engine
This is Rietveld 408576698