Standalone denoiser (off by default).
BUG=webrtc:5255
Review URL: https://codereview.webrtc.org/1466763002
Cr-Commit-Position: refs/heads/master@{#10800}
diff --git a/webrtc/modules/video_processing/frame_preprocessor.h b/webrtc/modules/video_processing/frame_preprocessor.h
index c5313b4..2759260 100644
--- a/webrtc/modules/video_processing/frame_preprocessor.h
+++ b/webrtc/modules/video_processing/frame_preprocessor.h
@@ -18,7 +18,9 @@
#include "webrtc/modules/video_processing/content_analysis.h"
#include "webrtc/modules/video_processing/spatial_resampler.h"
#include "webrtc/modules/video_processing/video_decimator.h"
+#include "webrtc/modules/video_processing/video_denoiser.h"
#include "webrtc/typedefs.h"
+#include "webrtc/video_frame.h"
namespace webrtc {
@@ -65,11 +67,14 @@
enum { kSkipFrameCA = 2 };
VideoContentMetrics* content_metrics_;
+ VideoFrame denoised_frame_;
VideoFrame resampled_frame_;
VPMSpatialResampler* spatial_resampler_;
VPMContentAnalysis* ca_;
VPMVideoDecimator* vd_;
+ VideoDenoiser* denoiser_;
bool enable_ca_;
+ bool enable_denoising_;
int frame_cnt_;
};