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

Side by Side Diff: media/cast/net/cast_transport_config.h

Issue 1143363005: Revert of [Cast] Compute utilization metrics and add performance overlay. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « media/cast/cast.gyp ('k') | media/cast/receiver/video_decoder_unittest.cc » ('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 #ifndef MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ 5 #ifndef MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_
6 #define MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ 6 #define MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 INDEPENDENT, 64 INDEPENDENT,
65 65
66 // Independently decodable, and no future frames will depend on any frames 66 // Independently decodable, and no future frames will depend on any frames
67 // before this one. 67 // before this one.
68 KEY, 68 KEY,
69 69
70 DEPENDENCY_LAST = KEY 70 DEPENDENCY_LAST = KEY
71 }; 71 };
72 72
73 EncodedFrame(); 73 EncodedFrame();
74 virtual ~EncodedFrame(); 74 ~EncodedFrame();
75 75
76 // Convenience accessors to data as an array of uint8 elements. 76 // Convenience accessors to data as an array of uint8 elements.
77 const uint8* bytes() const { 77 const uint8* bytes() const {
78 return reinterpret_cast<uint8*>(string_as_array( 78 return reinterpret_cast<uint8*>(string_as_array(
79 const_cast<std::string*>(&data))); 79 const_cast<std::string*>(&data)));
80 } 80 }
81 uint8* mutable_bytes() { 81 uint8* mutable_bytes() {
82 return reinterpret_cast<uint8*>(string_as_array(&data)); 82 return reinterpret_cast<uint8*>(string_as_array(&data));
83 } 83 }
84 84
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 lhs.ntp_fraction == rhs.ntp_fraction && 182 lhs.ntp_fraction == rhs.ntp_fraction &&
183 lhs.rtp_timestamp == rhs.rtp_timestamp && 183 lhs.rtp_timestamp == rhs.rtp_timestamp &&
184 lhs.send_packet_count == rhs.send_packet_count && 184 lhs.send_packet_count == rhs.send_packet_count &&
185 lhs.send_octet_count == rhs.send_octet_count; 185 lhs.send_octet_count == rhs.send_octet_count;
186 } 186 }
187 187
188 } // namespace cast 188 } // namespace cast
189 } // namespace media 189 } // namespace media
190 190
191 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ 191 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_
OLDNEW
« no previous file with comments | « media/cast/cast.gyp ('k') | media/cast/receiver/video_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698