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

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

Issue 1871853003: External VNR speed improvement and more. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: More clean-up. Created 4 years, 8 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 f2c7570083d95a1efef5bddc6d780ccf80b5fd5d..1254a88d3c9c3bd8604dced424f88f8c0d39b631 100644
--- a/webrtc/modules/video_processing/util/denoiser_filter.h
+++ b/webrtc/modules/video_processing/util/denoiser_filter.h
@@ -25,12 +25,6 @@ extern const int kSumDiffThresholdHigh;
enum DenoiserDecision { COPY_BLOCK, FILTER_BLOCK };
enum CpuType { CPU_NEON, CPU_NOT_NEON };
-struct DenoiseMetrics {
- uint32_t var;
- uint32_t sad;
- uint8_t denoise;
- bool is_skin;
-};
class DenoiserFilter {
public:
@@ -43,10 +37,6 @@ class DenoiserFilter {
int src_stride,
uint8_t* dst,
int dst_stride) = 0;
- virtual void CopyMem8x8(const uint8_t* src,
- int src_stride,
- uint8_t* dst,
- int dst_stride) = 0;
virtual uint32_t Variance16x8(const uint8_t* a,
int a_stride,
const uint8_t* b,
@@ -59,8 +49,7 @@ class DenoiserFilter {
const uint8_t* sig,
int sig_stride,
uint8_t motion_magnitude,
- int increase_denoising,
- bool denoise_always) = 0;
+ int increase_denoising) = 0;
};
} // namespace webrtc
« no previous file with comments | « webrtc/modules/video_processing/test/denoiser_test.cc ('k') | webrtc/modules/video_processing/util/denoiser_filter_c.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698