| OLD | NEW |
| 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/logging/logging_defines.h" | 5 #include "media/cast/logging/logging_defines.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 #define ENUM_TO_STRING(enum) \ | 9 #define ENUM_TO_STRING(enum) \ |
| 10 case enum: \ | 10 case enum: \ |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 : frame_id(kFrameIdUnknown), | 36 : frame_id(kFrameIdUnknown), |
| 37 width(0), | 37 width(0), |
| 38 height(0), | 38 height(0), |
| 39 size(0u), | 39 size(0u), |
| 40 type(UNKNOWN), | 40 type(UNKNOWN), |
| 41 media_type(UNKNOWN_EVENT), | 41 media_type(UNKNOWN_EVENT), |
| 42 key_frame(false), | 42 key_frame(false), |
| 43 target_bitrate(0), | 43 target_bitrate(0), |
| 44 encoder_cpu_utilization(-1.0), | 44 encoder_cpu_utilization(-1.0), |
| 45 idealized_bitrate_utilization(-1.0) {} | 45 idealized_bitrate_utilization(-1.0) {} |
| 46 FrameEvent::FrameEvent(const FrameEvent& other) = default; |
| 46 FrameEvent::~FrameEvent() {} | 47 FrameEvent::~FrameEvent() {} |
| 47 | 48 |
| 48 PacketEvent::PacketEvent() | 49 PacketEvent::PacketEvent() |
| 49 : frame_id(kFrameIdUnknown), | 50 : frame_id(kFrameIdUnknown), |
| 50 max_packet_id(0), | 51 max_packet_id(0), |
| 51 packet_id(0), | 52 packet_id(0), |
| 52 size(0), | 53 size(0), |
| 53 type(UNKNOWN), | 54 type(UNKNOWN), |
| 54 media_type(UNKNOWN_EVENT) {} | 55 media_type(UNKNOWN_EVENT) {} |
| 55 PacketEvent::~PacketEvent() {} | 56 PacketEvent::~PacketEvent() {} |
| 56 | 57 |
| 57 } // namespace cast | 58 } // namespace cast |
| 58 } // namespace media | 59 } // namespace media |
| OLD | NEW |