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 Media Acceleration (CMA) pipeline. | 5 // IPC messages for the Cast Media Acceleration (CMA) pipeline. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "chromecast/common/media/cma_ipc_common.h" | 8 #include "chromecast/common/media/cma_ipc_common.h" |
9 #include "chromecast/common/media/cma_param_traits.h" | 9 #include "chromecast/common/media/cma_param_traits.h" |
10 #include "chromecast/common/media/cma_param_traits_macros.h" | 10 #include "chromecast/common/media/cma_param_traits_macros.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 /* Video Config */ | 57 /* Video Config */ |
58 std::vector<::media::VideoDecoderConfig>) | 58 std::vector<::media::VideoDecoderConfig>) |
59 IPC_MESSAGE_CONTROL3(CmaHostMsg_SetVolume, | 59 IPC_MESSAGE_CONTROL3(CmaHostMsg_SetVolume, |
60 int /* Media pipeline ID */, | 60 int /* Media pipeline ID */, |
61 chromecast::media::TrackId /* Track ID */, | 61 chromecast::media::TrackId /* Track ID */, |
62 float /* Volume */) | 62 float /* Volume */) |
63 IPC_MESSAGE_CONTROL2(CmaHostMsg_NotifyPipeWrite, | 63 IPC_MESSAGE_CONTROL2(CmaHostMsg_NotifyPipeWrite, |
64 int /* Media pipeline ID */, | 64 int /* Media pipeline ID */, |
65 chromecast::media::TrackId /* Track ID */) | 65 chromecast::media::TrackId /* Track ID */) |
66 | 66 |
67 IPC_MESSAGE_CONTROL5(CmaHostMsg_NotifyExternalSurface, | |
68 int /* Surface ID */, | |
69 gfx::PointF /* Quad video top left */, | |
70 gfx::PointF /* Quad video top right */, | |
71 gfx::PointF /* Quad video bottim right */, | |
72 gfx::PointF /* Quad video bottom left */) | |
73 | |
74 // Messages from the browser to the renderer process. | 67 // Messages from the browser to the renderer process. |
75 | 68 |
76 IPC_MESSAGE_CONTROL2(CmaMsg_MediaStateChanged, | 69 IPC_MESSAGE_CONTROL2(CmaMsg_MediaStateChanged, |
77 int /* Media pipeline ID */, | 70 int /* Media pipeline ID */, |
78 media::PipelineStatus /* Status */) | 71 media::PipelineStatus /* Status */) |
79 IPC_MESSAGE_CONTROL4(CmaMsg_TimeUpdate, | 72 IPC_MESSAGE_CONTROL4(CmaMsg_TimeUpdate, |
80 int /* Media pipeline ID */, | 73 int /* Media pipeline ID */, |
81 base::TimeDelta /* Media time */, | 74 base::TimeDelta /* Media time */, |
82 base::TimeDelta /* Max media time */, | 75 base::TimeDelta /* Max media time */, |
83 base::TimeTicks /* STC */) | 76 base::TimeTicks /* STC */) |
(...skipping 23 matching lines...) Expand all Loading... |
107 chromecast::media::TrackId /* Track ID */, | 100 chromecast::media::TrackId /* Track ID */, |
108 media::PipelineStatus /* status */) | 101 media::PipelineStatus /* status */) |
109 IPC_MESSAGE_CONTROL3(CmaMsg_PlaybackStatistics, | 102 IPC_MESSAGE_CONTROL3(CmaMsg_PlaybackStatistics, |
110 int /* Media pipeline ID */, | 103 int /* Media pipeline ID */, |
111 chromecast::media::TrackId /* Track ID */, | 104 chromecast::media::TrackId /* Track ID */, |
112 media::PipelineStatistics /* status */) | 105 media::PipelineStatistics /* status */) |
113 IPC_MESSAGE_CONTROL3(CmaMsg_NaturalSizeChanged, | 106 IPC_MESSAGE_CONTROL3(CmaMsg_NaturalSizeChanged, |
114 int /* Media pipeline ID */, | 107 int /* Media pipeline ID */, |
115 chromecast::media::TrackId /* Track ID */, | 108 chromecast::media::TrackId /* Track ID */, |
116 gfx::Size /* Size */) | 109 gfx::Size /* Size */) |
OLD | NEW |