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

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

Issue 1936503002: Removed SSRC knowledge from ViEEncoder. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@move_payload_router2
Patch Set: Fix unittest. 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
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // TODO(perkj): Remove once |OnEncoderImplementationName| is not used. 83 // TODO(perkj): Remove once |OnEncoderImplementationName| is not used.
84 int32_t RegisterTransportCallback(VCMPacketizationCallback* transport); 84 int32_t RegisterTransportCallback(VCMPacketizationCallback* transport);
85 int32_t RegisterSendStatisticsCallback(VCMSendStatisticsCallback* sendStats); 85 int32_t RegisterSendStatisticsCallback(VCMSendStatisticsCallback* sendStats);
86 int32_t RegisterProtectionCallback(VCMProtectionCallback* protection); 86 int32_t RegisterProtectionCallback(VCMProtectionCallback* protection);
87 void SetVideoProtection(VCMVideoProtection videoProtection); 87 void SetVideoProtection(VCMVideoProtection videoProtection);
88 88
89 int32_t AddVideoFrame(const VideoFrame& videoFrame, 89 int32_t AddVideoFrame(const VideoFrame& videoFrame,
90 const VideoContentMetrics* _contentMetrics, 90 const VideoContentMetrics* _contentMetrics,
91 const CodecSpecificInfo* codecSpecificInfo); 91 const CodecSpecificInfo* codecSpecificInfo);
92 92
93 int32_t IntraFrameRequest(int stream_index); 93 int32_t IntraFrameRequest(size_t stream_index);
94 int32_t EnableFrameDropper(bool enable); 94 int32_t EnableFrameDropper(bool enable);
95 95
96 void SuspendBelowMinBitrate(); 96 void SuspendBelowMinBitrate();
97 bool VideoSuspended() const; 97 bool VideoSuspended() const;
98 98
99 int64_t TimeUntilNextProcess() override; 99 int64_t TimeUntilNextProcess() override;
100 void Process() override; 100 void Process() override;
101 101
102 private: 102 private:
103 void SetEncoderParameters(EncoderParameters params) 103 void SetEncoderParameters(EncoderParameters params)
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 VCMProcessTimer _receiveStatsTimer; 216 VCMProcessTimer _receiveStatsTimer;
217 VCMProcessTimer _retransmissionTimer; 217 VCMProcessTimer _retransmissionTimer;
218 VCMProcessTimer _keyRequestTimer; 218 VCMProcessTimer _keyRequestTimer;
219 QpParser qp_parser_; 219 QpParser qp_parser_;
220 ThreadUnsafeOneTimeEvent first_frame_received_; 220 ThreadUnsafeOneTimeEvent first_frame_received_;
221 }; 221 };
222 222
223 } // namespace vcm 223 } // namespace vcm
224 } // namespace webrtc 224 } // namespace webrtc
225 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ 225 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698