Standalone denoiser (off by default).

BUG=webrtc:5255

Review URL: https://codereview.webrtc.org/1466763002

Cr-Commit-Position: refs/heads/master@{#10800}
This commit is contained in:
jackychen
2015-11-26 02:59:48 -08:00
committed by Commit bot
parent 96cb5309ed
commit 8f9902a0ff
16 changed files with 1379 additions and 9 deletions

View File

@ -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 @@ class VPMFramePreprocessor {
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_;
};