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

Side by Side Diff: webrtc/modules/video_coding/video_sender.cc

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 Created 3 years, 5 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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 11
12 #include <algorithm> // std::max 12 #include <algorithm> // std::max
13 13
14 #include "webrtc/base/checks.h"
15 #include "webrtc/base/logging.h"
16 #include "webrtc/common_types.h" 14 #include "webrtc/common_types.h"
17 #include "webrtc/common_video/include/video_bitrate_allocator.h" 15 #include "webrtc/common_video/include/video_bitrate_allocator.h"
18 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 16 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
19 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" 17 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h"
18 #include "webrtc/modules/video_coding/encoded_frame.h"
20 #include "webrtc/modules/video_coding/include/video_codec_interface.h" 19 #include "webrtc/modules/video_coding/include/video_codec_interface.h"
21 #include "webrtc/modules/video_coding/encoded_frame.h"
22 #include "webrtc/modules/video_coding/utility/default_video_bitrate_allocator.h" 20 #include "webrtc/modules/video_coding/utility/default_video_bitrate_allocator.h"
23 #include "webrtc/modules/video_coding/utility/quality_scaler.h" 21 #include "webrtc/modules/video_coding/utility/quality_scaler.h"
24 #include "webrtc/modules/video_coding/video_coding_impl.h" 22 #include "webrtc/modules/video_coding/video_coding_impl.h"
23 #include "webrtc/rtc_base/checks.h"
24 #include "webrtc/rtc_base/logging.h"
25 #include "webrtc/system_wrappers/include/clock.h" 25 #include "webrtc/system_wrappers/include/clock.h"
26 26
27 namespace webrtc { 27 namespace webrtc {
28 namespace vcm { 28 namespace vcm {
29 29
30 VideoSender::VideoSender(Clock* clock, 30 VideoSender::VideoSender(Clock* clock,
31 EncodedImageCallback* post_encode_callback, 31 EncodedImageCallback* post_encode_callback,
32 VCMSendStatisticsCallback* send_stats_callback) 32 VCMSendStatisticsCallback* send_stats_callback)
33 : clock_(clock), 33 : clock_(clock),
34 _encoder(nullptr), 34 _encoder(nullptr),
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 } 407 }
408 408
409 int32_t VideoSender::EnableFrameDropper(bool enable) { 409 int32_t VideoSender::EnableFrameDropper(bool enable) {
410 rtc::CritScope lock(&encoder_crit_); 410 rtc::CritScope lock(&encoder_crit_);
411 frame_dropper_enabled_ = enable; 411 frame_dropper_enabled_ = enable;
412 _mediaOpt.EnableFrameDropper(enable); 412 _mediaOpt.EnableFrameDropper(enable);
413 return VCM_OK; 413 return VCM_OK;
414 } 414 }
415 } // namespace vcm 415 } // namespace vcm
416 } // namespace webrtc 416 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/video_receiver.cc ('k') | webrtc/modules/video_processing/util/denoiser_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698