Add unit test for stand-alone denoiser and fixed some bugs.

The unit test will run the pure C denoiser and SSE2/NEON denoiser (based
on the CPU detection) and compare the denoised frames to ensure the bit
exact.

TBR=tommi@webrtc.org

BUG=webrtc:5255

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

Cr-Commit-Position: refs/heads/master@{#11216}
This commit is contained in:
jackychen
2016-01-11 21:34:07 -08:00
committed by Commit bot
parent b2328d11dc
commit 67e94fb6f2
12 changed files with 236 additions and 72 deletions

View File

@ -18,7 +18,7 @@ namespace webrtc {
class VideoDenoiser {
public:
VideoDenoiser();
explicit VideoDenoiser(bool runtime_cpu_detection);
void DenoiseFrame(const VideoFrame& frame, VideoFrame* denoised_frame);
private: