OLD | NEW |
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/logging/encoding_event_subscriber.h" | 5 #include "media/cast/logging/encoding_event_subscriber.h" |
6 | 6 |
| 7 #include <algorithm> |
7 #include <cstring> | 8 #include <cstring> |
8 #include <utility> | 9 #include <utility> |
9 | 10 |
10 #include "base/logging.h" | 11 #include "base/logging.h" |
11 #include "media/cast/logging/proto/proto_utils.h" | 12 #include "media/cast/logging/proto/proto_utils.h" |
12 | 13 |
13 using google::protobuf::RepeatedPtrField; | 14 using google::protobuf::RepeatedPtrField; |
14 using media::cast::proto::AggregatedFrameEvent; | 15 using media::cast::proto::AggregatedFrameEvent; |
15 using media::cast::proto::AggregatedPacketEvent; | 16 using media::cast::proto::AggregatedPacketEvent; |
16 using media::cast::proto::BasePacketEvent; | 17 using media::cast::proto::BasePacketEvent; |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 frame_event_storage_index_ = 0; | 278 frame_event_storage_index_ = 0; |
278 packet_event_map_.clear(); | 279 packet_event_map_.clear(); |
279 packet_event_storage_.clear(); | 280 packet_event_storage_.clear(); |
280 packet_event_storage_index_ = 0; | 281 packet_event_storage_index_ = 0; |
281 seen_first_rtp_timestamp_ = false; | 282 seen_first_rtp_timestamp_ = false; |
282 first_rtp_timestamp_ = 0u; | 283 first_rtp_timestamp_ = 0u; |
283 } | 284 } |
284 | 285 |
285 } // namespace cast | 286 } // namespace cast |
286 } // namespace media | 287 } // namespace media |
OLD | NEW |