Chromium Code Reviews| 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 // IPC messages for the Cast transport API. | 5 // IPC messages for the Cast transport API. |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
| 10 #include "media/cast/common/rtp_time.h" | 10 #include "media/cast/common/rtp_time.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 54 media::cast::EncodedFrame::Dependency, | 54 media::cast::EncodedFrame::Dependency, |
| 55 media::cast::EncodedFrame::DEPENDENCY_LAST) | 55 media::cast::EncodedFrame::DEPENDENCY_LAST) |
| 56 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::Codec, | 56 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::Codec, |
| 57 media::cast::CODEC_LAST) | 57 media::cast::CODEC_LAST) |
| 58 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::CastTransportStatus, | 58 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::CastTransportStatus, |
| 59 media::cast::CAST_TRANSPORT_STATUS_LAST) | 59 media::cast::CAST_TRANSPORT_STATUS_LAST) |
| 60 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::CastLoggingEvent, | 60 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::CastLoggingEvent, |
| 61 media::cast::kNumOfLoggingEvents) | 61 media::cast::kNumOfLoggingEvents) |
| 62 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::EventMediaType, | 62 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::EventMediaType, |
| 63 media::cast::EVENT_MEDIA_TYPE_LAST) | 63 media::cast::EVENT_MEDIA_TYPE_LAST) |
| 64 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::RtpPayloadType, | |
|
miu
2016/06/20 21:00:27
Because the minimum is non-zero:
IPC_ENUM_TRAIT
xjz
2016/06/21 17:24:31
Done.
| |
| 65 media::cast::RTP_PAYLOAD_VIDEO_LAST) | |
| 64 | 66 |
| 65 IPC_STRUCT_TRAITS_BEGIN(media::cast::EncodedFrame) | 67 IPC_STRUCT_TRAITS_BEGIN(media::cast::EncodedFrame) |
| 66 IPC_STRUCT_TRAITS_MEMBER(dependency) | 68 IPC_STRUCT_TRAITS_MEMBER(dependency) |
| 67 IPC_STRUCT_TRAITS_MEMBER(frame_id) | 69 IPC_STRUCT_TRAITS_MEMBER(frame_id) |
| 68 IPC_STRUCT_TRAITS_MEMBER(referenced_frame_id) | 70 IPC_STRUCT_TRAITS_MEMBER(referenced_frame_id) |
| 69 IPC_STRUCT_TRAITS_MEMBER(rtp_timestamp) | 71 IPC_STRUCT_TRAITS_MEMBER(rtp_timestamp) |
| 70 IPC_STRUCT_TRAITS_MEMBER(reference_time) | 72 IPC_STRUCT_TRAITS_MEMBER(reference_time) |
| 71 IPC_STRUCT_TRAITS_MEMBER(new_playout_delay_ms) | 73 IPC_STRUCT_TRAITS_MEMBER(new_playout_delay_ms) |
| 72 IPC_STRUCT_TRAITS_MEMBER(data) | 74 IPC_STRUCT_TRAITS_MEMBER(data) |
| 73 IPC_STRUCT_TRAITS_END() | 75 IPC_STRUCT_TRAITS_END() |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 242 int32_t /* channel id */, | 244 int32_t /* channel id */, |
| 243 media::cast::ReceiverRtcpEventSubscriber::RtcpEvents /* rtcp_events */) | 245 media::cast::ReceiverRtcpEventSubscriber::RtcpEvents /* rtcp_events */) |
| 244 | 246 |
| 245 IPC_MESSAGE_CONTROL2( | 247 IPC_MESSAGE_CONTROL2( |
| 246 CastHostMsg_AddRtpReceiverReport, | 248 CastHostMsg_AddRtpReceiverReport, |
| 247 int32_t /* channel id */, | 249 int32_t /* channel id */, |
| 248 media::cast::RtcpReportBlock /* rtp_receiver_report_block */) | 250 media::cast::RtcpReportBlock /* rtp_receiver_report_block */) |
| 249 | 251 |
| 250 IPC_MESSAGE_CONTROL1(CastHostMsg_SendRtcpFromRtpReceiver, | 252 IPC_MESSAGE_CONTROL1(CastHostMsg_SendRtcpFromRtpReceiver, |
| 251 int32_t /* channel id */) | 253 int32_t /* channel id */) |
| OLD | NEW |