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

Side by Side Diff: webrtc/modules/video_coding/frame_object.cc

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 Created 3 years, 5 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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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
11 #include "webrtc/base/checks.h" 11 #include "webrtc/modules/video_coding/frame_object.h"
12 #include "webrtc/common_video/h264/h264_common.h" 12 #include "webrtc/common_video/h264/h264_common.h"
13 #include "webrtc/modules/video_coding/frame_object.h"
14 #include "webrtc/modules/video_coding/packet_buffer.h" 13 #include "webrtc/modules/video_coding/packet_buffer.h"
14 #include "webrtc/rtc_base/checks.h"
15 15
16 namespace webrtc { 16 namespace webrtc {
17 namespace video_coding { 17 namespace video_coding {
18 18
19 FrameObject::FrameObject() 19 FrameObject::FrameObject()
20 : picture_id(0), 20 : picture_id(0),
21 spatial_layer(0), 21 spatial_layer(0),
22 timestamp(0), 22 timestamp(0),
23 num_references(0), 23 num_references(0),
24 inter_layer_predicted(false) {} 24 inter_layer_predicted(false) {}
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 rtc::Optional<RTPVideoTypeHeader> RtpFrameObject::GetCodecHeader() const { 188 rtc::Optional<RTPVideoTypeHeader> RtpFrameObject::GetCodecHeader() const {
189 rtc::CritScope lock(&packet_buffer_->crit_); 189 rtc::CritScope lock(&packet_buffer_->crit_);
190 VCMPacket* packet = packet_buffer_->GetPacket(first_seq_num_); 190 VCMPacket* packet = packet_buffer_->GetPacket(first_seq_num_);
191 if (!packet) 191 if (!packet)
192 return rtc::Optional<RTPVideoTypeHeader>(); 192 return rtc::Optional<RTPVideoTypeHeader>();
193 return rtc::Optional<RTPVideoTypeHeader>(packet->video_header.codecHeader); 193 return rtc::Optional<RTPVideoTypeHeader>(packet->video_header.codecHeader);
194 } 194 }
195 195
196 } // namespace video_coding 196 } // namespace video_coding
197 } // namespace webrtc 197 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/frame_object.h ('k') | webrtc/modules/video_coding/generic_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698