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

Side by Side Diff: webrtc/video/vie_encoder.h

Issue 1917323002: Remove remaining quality-analysis (QM). (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
« no previous file with comments | « webrtc/modules/video_processing/video_processing_impl.cc ('k') | webrtc/video/vie_encoder.cc » ('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
(...skipping 16 matching lines...) Expand all
27 #include "webrtc/modules/video_processing/include/video_processing.h" 27 #include "webrtc/modules/video_processing/include/video_processing.h"
28 #include "webrtc/typedefs.h" 28 #include "webrtc/typedefs.h"
29 29
30 namespace webrtc { 30 namespace webrtc {
31 31
32 class Config; 32 class Config;
33 class EncodedImageCallback; 33 class EncodedImageCallback;
34 class OveruseFrameDetector; 34 class OveruseFrameDetector;
35 class PacedSender; 35 class PacedSender;
36 class ProcessThread; 36 class ProcessThread;
37 class QMVideoSettingsCallback;
38 class SendStatisticsProxy; 37 class SendStatisticsProxy;
39 class ViEBitrateObserver; 38 class ViEBitrateObserver;
40 class ViEEffectFilter; 39 class ViEEffectFilter;
41 class VideoEncoder; 40 class VideoEncoder;
42 41
43 // VieEncoder represent a video encoder that accepts raw video frames as input 42 // VieEncoder represent a video encoder that accepts raw video frames as input
44 // and produces an encoded bit stream. 43 // and produces an encoded bit stream.
45 // Usage: 44 // Usage:
46 // 1. Instantiate 45 // 1. Instantiate
47 // 2. Call Init 46 // 2. Call Init
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 int64_t round_trip_time_ms); 116 int64_t round_trip_time_ms);
118 117
119 private: 118 private:
120 bool EncoderPaused() const EXCLUSIVE_LOCKS_REQUIRED(data_cs_); 119 bool EncoderPaused() const EXCLUSIVE_LOCKS_REQUIRED(data_cs_);
121 void TraceFrameDropStart() EXCLUSIVE_LOCKS_REQUIRED(data_cs_); 120 void TraceFrameDropStart() EXCLUSIVE_LOCKS_REQUIRED(data_cs_);
122 void TraceFrameDropEnd() EXCLUSIVE_LOCKS_REQUIRED(data_cs_); 121 void TraceFrameDropEnd() EXCLUSIVE_LOCKS_REQUIRED(data_cs_);
123 122
124 const uint32_t number_of_cores_; 123 const uint32_t number_of_cores_;
125 124
126 const std::unique_ptr<VideoProcessing> vp_; 125 const std::unique_ptr<VideoProcessing> vp_;
127 const std::unique_ptr<QMVideoSettingsCallback> qm_callback_;
128 vcm::VideoSender video_sender_; 126 vcm::VideoSender video_sender_;
129 127
130 rtc::CriticalSection data_cs_; 128 rtc::CriticalSection data_cs_;
131 129
132 SendStatisticsProxy* const stats_proxy_; 130 SendStatisticsProxy* const stats_proxy_;
133 OveruseFrameDetector* const overuse_detector_; 131 OveruseFrameDetector* const overuse_detector_;
134 132
135 // The time we last received an input frame or encoded frame. This is used to 133 // The time we last received an input frame or encoded frame. This is used to
136 // track when video is stopped long enough that we also want to stop sending 134 // track when video is stopped long enough that we also want to stop sending
137 // padding. 135 // padding.
(...skipping 14 matching lines...) Expand all
152 uint8_t picture_id_sli_ GUARDED_BY(data_cs_); 150 uint8_t picture_id_sli_ GUARDED_BY(data_cs_);
153 bool has_received_rpsi_ GUARDED_BY(data_cs_); 151 bool has_received_rpsi_ GUARDED_BY(data_cs_);
154 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_); 152 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_);
155 153
156 bool video_suspended_ GUARDED_BY(data_cs_); 154 bool video_suspended_ GUARDED_BY(data_cs_);
157 }; 155 };
158 156
159 } // namespace webrtc 157 } // namespace webrtc
160 158
161 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_ 159 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_processing/video_processing_impl.cc ('k') | webrtc/video/vie_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698