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

Unified Diff: webrtc/video/vie_encoder.cc

Issue 2753783002: Delete VP8 feedback mode. (Closed)
Patch Set: Rebased. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/video_coding/include/video_codec_interface.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/vie_encoder.cc
diff --git a/webrtc/video/vie_encoder.cc b/webrtc/video/vie_encoder.cc
index c30752b6dfb048e96d40a5f2e2e25853fe4b529e..2cf08b9e016682968c8ca2022c4b2dff4e65ec66 100644
--- a/webrtc/video/vie_encoder.cc
+++ b/webrtc/video/vie_encoder.cc
@@ -608,20 +608,6 @@ void ViEEncoder::EncodeVideoFrame(const VideoFrame& video_frame,
overuse_detector_.FrameCaptured(video_frame, time_when_posted_us);
- if (codec_type_ == webrtc::kVideoCodecVP8) {
- webrtc::CodecSpecificInfo codec_specific_info;
- codec_specific_info.codecType = webrtc::kVideoCodecVP8;
-
- codec_specific_info.codecSpecific.VP8.hasReceivedRPSI = has_received_rpsi_;
- codec_specific_info.codecSpecific.VP8.hasReceivedSLI = has_received_sli_;
- codec_specific_info.codecSpecific.VP8.pictureIdRPSI = picture_id_rpsi_;
- codec_specific_info.codecSpecific.VP8.pictureIdSLI = picture_id_sli_;
- has_received_sli_ = false;
- has_received_rpsi_ = false;
-
- video_sender_.AddVideoFrame(video_frame, &codec_specific_info);
- return;
- }
video_sender_.AddVideoFrame(video_frame, nullptr);
}
@@ -672,6 +658,7 @@ void ViEEncoder::SendStatistics(uint32_t bit_rate, uint32_t frame_rate) {
stats_proxy_->OnEncoderStatsUpdate(frame_rate, bit_rate);
}
+// TODO(nisse): Delete.
void ViEEncoder::OnReceivedSLI(uint8_t picture_id) {
if (!encoder_queue_.IsCurrent()) {
encoder_queue_.PostTask([this, picture_id] { OnReceivedSLI(picture_id); });
@@ -682,6 +669,7 @@ void ViEEncoder::OnReceivedSLI(uint8_t picture_id) {
has_received_sli_ = true;
}
+// TODO(nisse): Delete.
void ViEEncoder::OnReceivedRPSI(uint64_t picture_id) {
if (!encoder_queue_.IsCurrent()) {
encoder_queue_.PostTask([this, picture_id] { OnReceivedRPSI(picture_id); });
« no previous file with comments | « webrtc/modules/video_coding/include/video_codec_interface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698