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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc

Issue 2995953002: Revert of Add a flags field to video timing extension. (Closed)
Patch Set: Created 3 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) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 if (encoded_image_._length > 0) { 703 if (encoded_image_._length > 0) {
704 TRACE_COUNTER1("webrtc", "EncodedFrameSize", encoded_image_._length); 704 TRACE_COUNTER1("webrtc", "EncodedFrameSize", encoded_image_._length);
705 encoded_image_._timeStamp = input_image_->timestamp(); 705 encoded_image_._timeStamp = input_image_->timestamp();
706 encoded_image_.capture_time_ms_ = input_image_->render_time_ms(); 706 encoded_image_.capture_time_ms_ = input_image_->render_time_ms();
707 encoded_image_.rotation_ = input_image_->rotation(); 707 encoded_image_.rotation_ = input_image_->rotation();
708 encoded_image_.content_type_ = (codec_.mode == kScreensharing) 708 encoded_image_.content_type_ = (codec_.mode == kScreensharing)
709 ? VideoContentType::SCREENSHARE 709 ? VideoContentType::SCREENSHARE
710 : VideoContentType::UNSPECIFIED; 710 : VideoContentType::UNSPECIFIED;
711 encoded_image_._encodedHeight = raw_->d_h; 711 encoded_image_._encodedHeight = raw_->d_h;
712 encoded_image_._encodedWidth = raw_->d_w; 712 encoded_image_._encodedWidth = raw_->d_w;
713 encoded_image_.timing_.flags = TimingFrameFlags::kInvalid; 713 encoded_image_.timing_.is_timing_frame = false;
714 int qp = -1; 714 int qp = -1;
715 vpx_codec_control(encoder_, VP8E_GET_LAST_QUANTIZER, &qp); 715 vpx_codec_control(encoder_, VP8E_GET_LAST_QUANTIZER, &qp);
716 encoded_image_.qp_ = qp; 716 encoded_image_.qp_ = qp;
717 717
718 encoded_complete_callback_->OnEncodedImage(encoded_image_, &codec_specific, 718 encoded_complete_callback_->OnEncodedImage(encoded_image_, &codec_specific,
719 &frag_info); 719 &frag_info);
720 } 720 }
721 return WEBRTC_VIDEO_CODEC_OK; 721 return WEBRTC_VIDEO_CODEC_OK;
722 } 722 }
723 723
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 frame_buffer_pool_.ClearPool(); 1009 frame_buffer_pool_.ClearPool();
1010 inited_ = false; 1010 inited_ = false;
1011 return WEBRTC_VIDEO_CODEC_OK; 1011 return WEBRTC_VIDEO_CODEC_OK;
1012 } 1012 }
1013 1013
1014 const char* VP9DecoderImpl::ImplementationName() const { 1014 const char* VP9DecoderImpl::ImplementationName() const {
1015 return "libvpx"; 1015 return "libvpx";
1016 } 1016 }
1017 1017
1018 } // namespace webrtc 1018 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc ('k') | webrtc/modules/video_coding/encoded_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698