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

Side by Side Diff: media/cast/net/rtp/frame_id_map.cc

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing includes Created 6 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 | Annotate | Revision Log
« no previous file with comments | « media/cast/net/rtp/frame_id_map.h ('k') | media/cast/net/rtp/framer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/cast/framer/frame_id_map.h" 5 #include "media/cast/net/rtp/frame_id_map.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "media/cast/rtp_receiver/rtp_receiver_defines.h" 8 #include "media/cast/net/rtp/rtp_receiver_defines.h"
9 9
10 namespace media { 10 namespace media {
11 namespace cast { 11 namespace cast {
12 12
13 FrameInfo::FrameInfo(uint32 frame_id, 13 FrameInfo::FrameInfo(uint32 frame_id,
14 uint32 referenced_frame_id, 14 uint32 referenced_frame_id,
15 uint16 max_packet_id, 15 uint16 max_packet_id,
16 bool key_frame) 16 bool key_frame)
17 : is_key_frame_(key_frame), 17 : is_key_frame_(key_frame),
18 frame_id_(frame_id), 18 frame_id_(frame_id),
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 // Current frame is not necessarily referencing the last frame. 238 // Current frame is not necessarily referencing the last frame.
239 // Do we have the reference frame? 239 // Do we have the reference frame?
240 if (IsOlderFrameId(frame->referenced_frame_id(), last_released_frame_)) { 240 if (IsOlderFrameId(frame->referenced_frame_id(), last_released_frame_)) {
241 return true; 241 return true;
242 } 242 }
243 return frame->referenced_frame_id() == last_released_frame_; 243 return frame->referenced_frame_id() == last_released_frame_;
244 } 244 }
245 245
246 } // namespace cast 246 } // namespace cast
247 } // namespace media 247 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/net/rtp/frame_id_map.h ('k') | media/cast/net/rtp/framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698