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

Unified Diff: webrtc/modules/video_processing/include/video_processing.h

Issue 2496153002: Delete all of the video_processing module but the denoiser code. (Closed)
Patch Set: Remove left-over source files frame_preprocessor.* Created 4 years 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/include/video_processing.h
diff --git a/webrtc/modules/video_processing/include/video_processing.h b/webrtc/modules/video_processing/include/video_processing.h
deleted file mode 100644
index e2069ddbe7a7c52758118150af6bb0430577b5da..0000000000000000000000000000000000000000
--- a/webrtc/modules/video_processing/include/video_processing.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#ifndef WEBRTC_MODULES_VIDEO_PROCESSING_INCLUDE_VIDEO_PROCESSING_H_
-#define WEBRTC_MODULES_VIDEO_PROCESSING_INCLUDE_VIDEO_PROCESSING_H_
-
-#include "webrtc/modules/include/module_common_types.h"
-#include "webrtc/modules/video_processing/include/video_processing_defines.h"
-#include "webrtc/video_frame.h"
-
-// The module is largely intended to process video streams, except functionality
-// provided by static functions which operate independent of previous frames. It
-// is recommended, but not required that a unique instance be used for each
-// concurrently processed stream. Similarly, it is recommended to call Reset()
-// before switching to a new stream, but this is not absolutely required.
-//
-// The module provides basic thread safety by permitting only a single function
-// to execute concurrently.
-
-namespace webrtc {
-
-class VideoProcessing {
- public:
- static VideoProcessing* Create();
- virtual ~VideoProcessing() {}
-
- // The following functions refer to the pre-processor unit within VPM. The
- // pre-processor perfoms spatial/temporal decimation and content analysis on
- // the frames prior to encoding.
-
- // Enable/disable temporal decimation
- virtual void EnableTemporalDecimation(bool enable) = 0;
-
- virtual int32_t SetTargetResolution(uint32_t width,
- uint32_t height,
- uint32_t frame_rate) = 0;
-
- virtual uint32_t GetDecimatedFrameRate() = 0;
- virtual uint32_t GetDecimatedWidth() const = 0;
- virtual uint32_t GetDecimatedHeight() const = 0;
-
- // Set the spatial resampling settings of the VPM according to
- // VideoFrameResampling.
- virtual void SetInputFrameResampleMode(
- VideoFrameResampling resampling_mode) = 0;
-
- virtual void EnableDenoising(bool enable) = 0;
- virtual const VideoFrame* PreprocessFrame(const VideoFrame& frame) = 0;
-};
-
-} // namespace webrtc
-
-#endif // WEBRTC_MODULES_VIDEO_PROCESSING_INCLUDE_VIDEO_PROCESSING_H_

Powered by Google App Engine
This is Rietveld 408576698