OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 // Implements VideoProcessing. | 28 // Implements VideoProcessing. |
29 int32_t Deflickering(VideoFrame* frame, FrameStats* stats) override; | 29 int32_t Deflickering(VideoFrame* frame, FrameStats* stats) override; |
30 int32_t BrightnessDetection(const VideoFrame& frame, | 30 int32_t BrightnessDetection(const VideoFrame& frame, |
31 const FrameStats& stats) override; | 31 const FrameStats& stats) override; |
32 void EnableTemporalDecimation(bool enable) override; | 32 void EnableTemporalDecimation(bool enable) override; |
33 void SetInputFrameResampleMode(VideoFrameResampling resampling_mode) override; | 33 void SetInputFrameResampleMode(VideoFrameResampling resampling_mode) override; |
34 void EnableContentAnalysis(bool enable) override; | 34 void EnableContentAnalysis(bool enable) override; |
35 int32_t SetTargetResolution(uint32_t width, | 35 int32_t SetTargetResolution(uint32_t width, |
36 uint32_t height, | 36 uint32_t height, |
37 uint32_t frame_rate) override; | 37 uint32_t frame_rate) override; |
38 void SetTargetFramerate(int frame_rate) override; | |
39 uint32_t GetDecimatedFrameRate() override; | 38 uint32_t GetDecimatedFrameRate() override; |
40 uint32_t GetDecimatedWidth() const override; | 39 uint32_t GetDecimatedWidth() const override; |
41 uint32_t GetDecimatedHeight() const override; | 40 uint32_t GetDecimatedHeight() const override; |
42 void EnableDenosing(bool enable) override; | 41 void EnableDenosing(bool enable) override; |
43 const VideoFrame* PreprocessFrame(const VideoFrame& frame) override; | 42 const VideoFrame* PreprocessFrame(const VideoFrame& frame) override; |
44 VideoContentMetrics* GetContentMetrics() const override; | 43 VideoContentMetrics* GetContentMetrics() const override; |
45 | 44 |
46 private: | 45 private: |
47 rtc::CriticalSection mutex_; | 46 rtc::CriticalSection mutex_; |
48 VPMDeflickering deflickering_ GUARDED_BY(mutex_); | 47 VPMDeflickering deflickering_ GUARDED_BY(mutex_); |
49 VPMBrightnessDetection brightness_detection_; | 48 VPMBrightnessDetection brightness_detection_; |
50 VPMFramePreprocessor frame_pre_processor_; | 49 VPMFramePreprocessor frame_pre_processor_; |
51 }; | 50 }; |
52 | 51 |
53 } // namespace webrtc | 52 } // namespace webrtc |
54 | 53 |
55 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_VIDEO_PROCESSING_IMPL_H_ | 54 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_VIDEO_PROCESSING_IMPL_H_ |
OLD | NEW |