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 <stdint.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <cstring> | 10 #include <cstring> |
9 #include <utility> | 11 #include <utility> |
10 | 12 |
11 #include "base/logging.h" | 13 #include "base/logging.h" |
12 #include "base/numerics/safe_conversions.h" | 14 #include "base/numerics/safe_conversions.h" |
13 #include "media/cast/logging/proto/proto_utils.h" | 15 #include "media/cast/logging/proto/proto_utils.h" |
14 | 16 |
15 using google::protobuf::RepeatedPtrField; | 17 using google::protobuf::RepeatedPtrField; |
16 using media::cast::proto::AggregatedFrameEvent; | 18 using media::cast::proto::AggregatedFrameEvent; |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 frame_event_storage_index_ = 0; | 296 frame_event_storage_index_ = 0; |
295 packet_event_map_.clear(); | 297 packet_event_map_.clear(); |
296 packet_event_storage_.clear(); | 298 packet_event_storage_.clear(); |
297 packet_event_storage_index_ = 0; | 299 packet_event_storage_index_ = 0; |
298 seen_first_rtp_timestamp_ = false; | 300 seen_first_rtp_timestamp_ = false; |
299 first_rtp_timestamp_ = 0u; | 301 first_rtp_timestamp_ = 0u; |
300 } | 302 } |
301 | 303 |
302 } // namespace cast | 304 } // namespace cast |
303 } // namespace media | 305 } // namespace media |
OLD | NEW |