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

Side by Side Diff: webrtc/modules/video_coding/generic_encoder.h

Issue 1613643004: Remove mutable from rtc::CriticalSection members. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 bool SupportsNativeHandle() const; 132 bool SupportsNativeHandle() const;
133 133
134 int GetTargetFramerate(); 134 int GetTargetFramerate();
135 135
136 private: 136 private:
137 VideoEncoder* const encoder_; 137 VideoEncoder* const encoder_;
138 VideoEncoderRateObserver* const rate_observer_; 138 VideoEncoderRateObserver* const rate_observer_;
139 VCMEncodedFrameCallback* const vcm_encoded_frame_callback_; 139 VCMEncodedFrameCallback* const vcm_encoded_frame_callback_;
140 const bool internal_source_; 140 const bool internal_source_;
141 mutable rtc::CriticalSection params_lock_; 141 rtc::CriticalSection params_lock_;
142 EncoderParameters encoder_params_ GUARDED_BY(params_lock_); 142 EncoderParameters encoder_params_ GUARDED_BY(params_lock_);
143 VideoRotation rotation_; 143 VideoRotation rotation_;
144 bool is_screenshare_; 144 bool is_screenshare_;
145 }; // end of VCMGenericEncoder class 145 }; // end of VCMGenericEncoder class
146 146
147 } // namespace webrtc 147 } // namespace webrtc
148 148
149 #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ 149 #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp9/vp9_frame_buffer_pool.h ('k') | webrtc/modules/video_coding/video_coding_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698