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

Side by Side Diff: webrtc/video/video_stream_decoder.cc

Issue 2496153002: Delete all of the video_processing module but the denoiser code. (Closed)
Patch Set: Remove left-over source files frame_preprocessor.* Created 4 years 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
« no previous file with comments | « webrtc/modules/video_processing/video_processing_impl.cc ('k') | webrtc/video/vie_encoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "webrtc/video/video_stream_decoder.h" 11 #include "webrtc/video/video_stream_decoder.h"
12 12
13 #include <algorithm> 13 #include <algorithm>
14 #include <map> 14 #include <map>
15 #include <vector> 15 #include <vector>
16 16
17 #include "webrtc/base/checks.h" 17 #include "webrtc/base/checks.h"
18 #include "webrtc/base/logging.h" 18 #include "webrtc/base/logging.h"
19 #include "webrtc/common_video/include/frame_callback.h" 19 #include "webrtc/common_video/include/frame_callback.h"
20 #include "webrtc/modules/video_coding/video_coding_impl.h" 20 #include "webrtc/modules/video_coding/video_coding_impl.h"
21 #include "webrtc/modules/video_processing/include/video_processing.h"
22 #include "webrtc/system_wrappers/include/metrics.h" 21 #include "webrtc/system_wrappers/include/metrics.h"
23 #include "webrtc/video/call_stats.h" 22 #include "webrtc/video/call_stats.h"
24 #include "webrtc/video/payload_router.h" 23 #include "webrtc/video/payload_router.h"
25 #include "webrtc/video/receive_statistics_proxy.h" 24 #include "webrtc/video/receive_statistics_proxy.h"
26 25
27 namespace webrtc { 26 namespace webrtc {
28 27
29 VideoStreamDecoder::VideoStreamDecoder( 28 VideoStreamDecoder::VideoStreamDecoder(
30 vcm::VideoReceiver* video_receiver, 29 vcm::VideoReceiver* video_receiver,
31 VCMFrameTypeCallback* vcm_frame_type_callback, 30 VCMFrameTypeCallback* vcm_frame_type_callback,
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 jitter_buffer_ms, min_playout_delay_ms, render_delay_ms, last_rtt); 134 jitter_buffer_ms, min_playout_delay_ms, render_delay_ms, last_rtt);
136 } 135 }
137 136
138 void VideoStreamDecoder::OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) { 137 void VideoStreamDecoder::OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) {
139 video_receiver_->SetReceiveChannelParameters(max_rtt_ms); 138 video_receiver_->SetReceiveChannelParameters(max_rtt_ms);
140 139
141 rtc::CritScope lock(&crit_); 140 rtc::CritScope lock(&crit_);
142 last_rtt_ms_ = avg_rtt_ms; 141 last_rtt_ms_ = avg_rtt_ms;
143 } 142 }
144 } // namespace webrtc 143 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_processing/video_processing_impl.cc ('k') | webrtc/video/vie_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698