Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: chromecast/common/media/cma_messages.h

Issue 1148253006: Chromecast: Use std::vector to pass video config in CMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 int /* Media pipeline ID */, 43 int /* Media pipeline ID */,
44 double /* Playback rate */) 44 double /* Playback rate */)
45 45
46 IPC_MESSAGE_CONTROL3(CmaHostMsg_CreateAvPipe, 46 IPC_MESSAGE_CONTROL3(CmaHostMsg_CreateAvPipe,
47 int /* Media pipeline ID */, 47 int /* Media pipeline ID */,
48 chromecast::media::TrackId /* Track ID */, 48 chromecast::media::TrackId /* Track ID */,
49 size_t /* Fifo size */) 49 size_t /* Fifo size */)
50 IPC_MESSAGE_CONTROL3(CmaHostMsg_AudioInitialize, 50 IPC_MESSAGE_CONTROL3(CmaHostMsg_AudioInitialize,
51 int /* Media pipeline ID */, 51 int /* Media pipeline ID */,
52 chromecast::media::TrackId /* Track ID */, 52 chromecast::media::TrackId /* Track ID */,
53 media::AudioDecoderConfig /* Audio config */) 53 ::media::AudioDecoderConfig /* Audio config */)
54 IPC_MESSAGE_CONTROL3(CmaHostMsg_VideoInitialize, 54 IPC_MESSAGE_CONTROL3(CmaHostMsg_VideoInitialize,
55 int /* Media pipeline ID */, 55 int /* Media pipeline ID */,
56 chromecast::media::TrackId /* Track ID */, 56 chromecast::media::TrackId /* Track ID */,
57 media::VideoDecoderConfig /* Video config */) 57 /* Video Config */
58 std::vector<::media::VideoDecoderConfig>)
58 IPC_MESSAGE_CONTROL3(CmaHostMsg_SetVolume, 59 IPC_MESSAGE_CONTROL3(CmaHostMsg_SetVolume,
59 int /* Media pipeline ID */, 60 int /* Media pipeline ID */,
60 chromecast::media::TrackId /* Track ID */, 61 chromecast::media::TrackId /* Track ID */,
61 float /* Volume */) 62 float /* Volume */)
62 IPC_MESSAGE_CONTROL2(CmaHostMsg_NotifyPipeWrite, 63 IPC_MESSAGE_CONTROL2(CmaHostMsg_NotifyPipeWrite,
63 int /* Media pipeline ID */, 64 int /* Media pipeline ID */,
64 chromecast::media::TrackId /* Track ID */) 65 chromecast::media::TrackId /* Track ID */)
65 66
66 IPC_MESSAGE_CONTROL5(CmaHostMsg_NotifyExternalSurface, 67 IPC_MESSAGE_CONTROL5(CmaHostMsg_NotifyExternalSurface,
67 int /* Surface ID */, 68 int /* Surface ID */,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 int /* Media pipeline ID */, 106 int /* Media pipeline ID */,
106 chromecast::media::TrackId /* Track ID */, 107 chromecast::media::TrackId /* Track ID */,
107 media::PipelineStatus /* status */) 108 media::PipelineStatus /* status */)
108 IPC_MESSAGE_CONTROL3(CmaMsg_PlaybackStatistics, 109 IPC_MESSAGE_CONTROL3(CmaMsg_PlaybackStatistics,
109 int /* Media pipeline ID */, 110 int /* Media pipeline ID */,
110 chromecast::media::TrackId /* Track ID */, 111 chromecast::media::TrackId /* Track ID */,
111 media::PipelineStatistics /* status */) 112 media::PipelineStatistics /* status */)
112 IPC_MESSAGE_CONTROL3(CmaMsg_NaturalSizeChanged, 113 IPC_MESSAGE_CONTROL3(CmaMsg_NaturalSizeChanged,
113 int /* Media pipeline ID */, 114 int /* Media pipeline ID */,
114 chromecast::media::TrackId /* Track ID */, 115 chromecast::media::TrackId /* Track ID */,
115 gfx::Size /* Size */) 116 gfx::Size /* Size */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698