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

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

Issue 2253563002: Add codec name to CodecSpecificInfo and get the codec name stats from there instead. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix fake_encoder.cc Created 4 years, 4 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 bool frame_dropper_enabled_ GUARDED_BY(encoder_crit_); 106 bool frame_dropper_enabled_ GUARDED_BY(encoder_crit_);
107 VCMProcessTimer _sendStatsTimer; 107 VCMProcessTimer _sendStatsTimer;
108 108
109 // Must be accessed on the construction thread of VideoSender. 109 // Must be accessed on the construction thread of VideoSender.
110 VideoCodec current_codec_; 110 VideoCodec current_codec_;
111 rtc::SequencedTaskChecker sequenced_checker_; 111 rtc::SequencedTaskChecker sequenced_checker_;
112 112
113 rtc::CriticalSection params_crit_; 113 rtc::CriticalSection params_crit_;
114 EncoderParameters encoder_params_ GUARDED_BY(params_crit_); 114 EncoderParameters encoder_params_ GUARDED_BY(params_crit_);
115 bool encoder_has_internal_source_ GUARDED_BY(params_crit_); 115 bool encoder_has_internal_source_ GUARDED_BY(params_crit_);
116 std::string encoder_name_ GUARDED_BY(params_crit_);
117 std::vector<FrameType> next_frame_types_ GUARDED_BY(params_crit_); 116 std::vector<FrameType> next_frame_types_ GUARDED_BY(params_crit_);
118 }; 117 };
119 118
120 class VideoReceiver : public Module { 119 class VideoReceiver : public Module {
121 public: 120 public:
122 typedef VideoCodingModule::ReceiverRobustness ReceiverRobustness; 121 typedef VideoCodingModule::ReceiverRobustness ReceiverRobustness;
123 122
124 VideoReceiver(Clock* clock, 123 VideoReceiver(Clock* clock,
125 EventFactory* event_factory, 124 EventFactory* event_factory,
126 EncodedImageCallback* pre_decode_image_callback, 125 EncodedImageCallback* pre_decode_image_callback,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 VCMProcessTimer _receiveStatsTimer; 201 VCMProcessTimer _receiveStatsTimer;
203 VCMProcessTimer _retransmissionTimer; 202 VCMProcessTimer _retransmissionTimer;
204 VCMProcessTimer _keyRequestTimer; 203 VCMProcessTimer _keyRequestTimer;
205 QpParser qp_parser_; 204 QpParser qp_parser_;
206 ThreadUnsafeOneTimeEvent first_frame_received_; 205 ThreadUnsafeOneTimeEvent first_frame_received_;
207 }; 206 };
208 207
209 } // namespace vcm 208 } // namespace vcm
210 } // namespace webrtc 209 } // namespace webrtc
211 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ 210 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/include/video_coding_defines.h ('k') | webrtc/modules/video_coding/video_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698