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

Side by Side Diff: webrtc/modules/video_processing/video_processing_impl.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 unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef WEBRTC_MODULES_VIDEO_PROCESSING_VIDEO_PROCESSING_IMPL_H_
12 #define WEBRTC_MODULES_VIDEO_PROCESSING_VIDEO_PROCESSING_IMPL_H_
13
14 #include "webrtc/base/criticalsection.h"
15 #include "webrtc/modules/video_processing/include/video_processing.h"
16 #include "webrtc/modules/video_processing/frame_preprocessor.h"
17
18 namespace webrtc {
19 class CriticalSectionWrapper;
20
21 class VideoProcessingImpl : public VideoProcessing {
22 public:
23 VideoProcessingImpl();
24 ~VideoProcessingImpl() override;
25
26 // Implements VideoProcessing.
27 void EnableTemporalDecimation(bool enable) override;
28 void SetInputFrameResampleMode(VideoFrameResampling resampling_mode) override;
29 int32_t SetTargetResolution(uint32_t width,
30 uint32_t height,
31 uint32_t frame_rate) override;
32 uint32_t GetDecimatedFrameRate() override;
33 uint32_t GetDecimatedWidth() const override;
34 uint32_t GetDecimatedHeight() const override;
35 void EnableDenoising(bool enable) override;
36 const VideoFrame* PreprocessFrame(const VideoFrame& frame) override;
37
38 private:
39 rtc::CriticalSection mutex_;
40 VPMFramePreprocessor frame_pre_processor_ GUARDED_BY(mutex_);
41 };
42
43 } // namespace webrtc
44
45 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_VIDEO_PROCESSING_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_processing/video_decimator.cc ('k') | webrtc/modules/video_processing/video_processing_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698