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

Side by Side Diff: webrtc/modules/video_coding/generic_encoder.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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 const std::vector<FrameType>& frame_types); 76 const std::vector<FrameType>& frame_types);
77 77
78 void SetEncoderParameters(const EncoderParameters& params); 78 void SetEncoderParameters(const EncoderParameters& params);
79 EncoderParameters GetEncoderParameters() const; 79 EncoderParameters GetEncoderParameters() const;
80 80
81 int32_t SetPeriodicKeyFrames(bool enable); 81 int32_t SetPeriodicKeyFrames(bool enable);
82 int32_t RequestFrame(const std::vector<FrameType>& frame_types); 82 int32_t RequestFrame(const std::vector<FrameType>& frame_types);
83 bool InternalSource() const; 83 bool InternalSource() const;
84 void OnDroppedFrame(); 84 void OnDroppedFrame();
85 bool SupportsNativeHandle() const; 85 bool SupportsNativeHandle() const;
86 int GetTargetFramerate();
87 86
88 private: 87 private:
89 VideoEncoder* const encoder_; 88 VideoEncoder* const encoder_;
90 VideoEncoderRateObserver* const rate_observer_; 89 VideoEncoderRateObserver* const rate_observer_;
91 VCMEncodedFrameCallback* const vcm_encoded_frame_callback_; 90 VCMEncodedFrameCallback* const vcm_encoded_frame_callback_;
92 const bool internal_source_; 91 const bool internal_source_;
93 rtc::CriticalSection params_lock_; 92 rtc::CriticalSection params_lock_;
94 EncoderParameters encoder_params_ GUARDED_BY(params_lock_); 93 EncoderParameters encoder_params_ GUARDED_BY(params_lock_);
95 bool is_screenshare_; 94 bool is_screenshare_;
96 }; 95 };
97 96
98 } // namespace webrtc 97 } // namespace webrtc
99 98
100 #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ 99 #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc ('k') | webrtc/modules/video_coding/generic_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698