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

Unified Diff: webrtc/modules/video_processing/util/denoiser_filter.h

Issue 1822333003: External denoiser based on noise estimation and moving object detection. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/video_processing/util/denoiser_filter.h
diff --git a/webrtc/modules/video_processing/util/denoiser_filter.h b/webrtc/modules/video_processing/util/denoiser_filter.h
index 40745853de2dadd4b04a29a30bd353175a0aa745..47c0da37a697cc79cf1bd29be369492c54f6aac2 100644
--- a/webrtc/modules/video_processing/util/denoiser_filter.h
+++ b/webrtc/modules/video_processing/util/denoiser_filter.h
@@ -11,6 +11,7 @@
#ifndef WEBRTC_MODULES_VIDEO_PROCESSING_UTIL_DENOISER_FILTER_H_
#define WEBRTC_MODULES_VIDEO_PROCESSING_UTIL_DENOISER_FILTER_H_
+#include <climits>
#include <memory>
#include "webrtc/modules/include/module_common_types.h"
@@ -21,6 +22,7 @@ namespace webrtc {
extern const int kMotionMagnitudeThreshold;
extern const int kSumDiffThreshold;
extern const int kSumDiffThresholdHigh;
+extern const int kSumDiffThresholdMax;
enum DenoiserDecision { COPY_BLOCK, FILTER_BLOCK };
struct DenoiseMetrics {
@@ -56,7 +58,8 @@ class DenoiserFilter {
const uint8_t* sig,
int sig_stride,
uint8_t motion_magnitude,
- int increase_denoising) = 0;
+ int increase_denoising,
+ bool denoise_anyway) = 0;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698