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

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

Issue 1721353002: Replace scoped_ptr with unique_ptr in webrtc/modules/video_coding/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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
11 #ifndef WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_
12 #define WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ 12 #define WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_
13 13
14 #include <stdio.h> 14 #include <stdio.h>
15 #include <vector> 15 #include <vector>
16 16
17 #include "webrtc/modules/video_coding/include/video_codec_interface.h" 17 #include "webrtc/modules/video_coding/include/video_codec_interface.h"
18 #include "webrtc/modules/video_coding/include/video_coding_defines.h" 18 #include "webrtc/modules/video_coding/include/video_coding_defines.h"
19 19
20 #include "webrtc/base/criticalsection.h" 20 #include "webrtc/base/criticalsection.h"
21 #include "webrtc/base/scoped_ptr.h"
22 21
23 namespace webrtc { 22 namespace webrtc {
24 class CriticalSectionWrapper; 23 class CriticalSectionWrapper;
25 24
26 namespace media_optimization { 25 namespace media_optimization {
27 class MediaOptimization; 26 class MediaOptimization;
28 } // namespace media_optimization 27 } // namespace media_optimization
29 28
30 struct EncoderParameters { 29 struct EncoderParameters {
31 uint32_t target_bitrate; 30 uint32_t target_bitrate;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 const bool internal_source_; 139 const bool internal_source_;
141 rtc::CriticalSection params_lock_; 140 rtc::CriticalSection params_lock_;
142 EncoderParameters encoder_params_ GUARDED_BY(params_lock_); 141 EncoderParameters encoder_params_ GUARDED_BY(params_lock_);
143 VideoRotation rotation_; 142 VideoRotation rotation_;
144 bool is_screenshare_; 143 bool is_screenshare_;
145 }; // end of VCMGenericEncoder class 144 }; // end of VCMGenericEncoder class
146 145
147 } // namespace webrtc 146 } // namespace webrtc
148 147
149 #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ 148 #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp9/vp9_impl.h ('k') | webrtc/modules/video_coding/jitter_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698