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

Side by Side Diff: webrtc/modules/video_processing/include/video_processing.h

Issue 1885893002: Remove QualityScaler framerate reduction. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 7 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 unified diff | Download patch
OLDNEW
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // pre-processor perfoms spatial/temporal decimation and content analysis on 72 // pre-processor perfoms spatial/temporal decimation and content analysis on
73 // the frames prior to encoding. 73 // the frames prior to encoding.
74 74
75 // Enable/disable temporal decimation 75 // Enable/disable temporal decimation
76 virtual void EnableTemporalDecimation(bool enable) = 0; 76 virtual void EnableTemporalDecimation(bool enable) = 0;
77 77
78 virtual int32_t SetTargetResolution(uint32_t width, 78 virtual int32_t SetTargetResolution(uint32_t width,
79 uint32_t height, 79 uint32_t height,
80 uint32_t frame_rate) = 0; 80 uint32_t frame_rate) = 0;
81 81
82 virtual void SetTargetFramerate(int frame_rate) = 0;
83
84 virtual uint32_t GetDecimatedFrameRate() = 0; 82 virtual uint32_t GetDecimatedFrameRate() = 0;
85 virtual uint32_t GetDecimatedWidth() const = 0; 83 virtual uint32_t GetDecimatedWidth() const = 0;
86 virtual uint32_t GetDecimatedHeight() const = 0; 84 virtual uint32_t GetDecimatedHeight() const = 0;
87 85
88 // Set the spatial resampling settings of the VPM according to 86 // Set the spatial resampling settings of the VPM according to
89 // VideoFrameResampling. 87 // VideoFrameResampling.
90 virtual void SetInputFrameResampleMode( 88 virtual void SetInputFrameResampleMode(
91 VideoFrameResampling resampling_mode) = 0; 89 VideoFrameResampling resampling_mode) = 0;
92 90
93 virtual void EnableDenosing(bool enable) = 0; 91 virtual void EnableDenosing(bool enable) = 0;
94 virtual const VideoFrame* PreprocessFrame(const VideoFrame& frame) = 0; 92 virtual const VideoFrame* PreprocessFrame(const VideoFrame& frame) = 0;
95 93
96 virtual VideoContentMetrics* GetContentMetrics() const = 0; 94 virtual VideoContentMetrics* GetContentMetrics() const = 0;
97 virtual void EnableContentAnalysis(bool enable) = 0; 95 virtual void EnableContentAnalysis(bool enable) = 0;
98 }; 96 };
99 97
100 } // namespace webrtc 98 } // namespace webrtc
101 99
102 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_INCLUDE_VIDEO_PROCESSING_H_ 100 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_INCLUDE_VIDEO_PROCESSING_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_processing/frame_preprocessor.cc ('k') | webrtc/modules/video_processing/video_processing_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698