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: media/cast/sender/rtp_timestamp_helper.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/sender/rtp_timestamp_helper.h ('k') | media/cast/sender/software_video_encoder.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/rtp_timestamp_helper.h" 5 #include "media/cast/sender/rtp_timestamp_helper.h"
6 6
7 namespace media { 7 namespace media {
8 namespace cast { 8 namespace cast {
9 9
10 RtpTimestampHelper::RtpTimestampHelper(int frequency) 10 RtpTimestampHelper::RtpTimestampHelper(int frequency)
11 : frequency_(frequency), 11 : frequency_(frequency),
12 last_rtp_timestamp_(0) { 12 last_rtp_timestamp_(0) {
13 } 13 }
14 14
15 RtpTimestampHelper::~RtpTimestampHelper() { 15 RtpTimestampHelper::~RtpTimestampHelper() {
(...skipping 11 matching lines...) Expand all
27 } 27 }
28 28
29 void RtpTimestampHelper::StoreLatestTime( 29 void RtpTimestampHelper::StoreLatestTime(
30 base::TimeTicks capture_time, uint32 rtp_timestamp) { 30 base::TimeTicks capture_time, uint32 rtp_timestamp) {
31 last_capture_time_ = capture_time; 31 last_capture_time_ = capture_time;
32 last_rtp_timestamp_ = rtp_timestamp; 32 last_rtp_timestamp_ = rtp_timestamp;
33 } 33 }
34 34
35 } // namespace cast 35 } // namespace cast
36 } // namespace media 36 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/sender/rtp_timestamp_helper.h ('k') | media/cast/sender/software_video_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698