OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Multiply-included message file, hence no include guard here, but see below | 5 // Multiply-included message file, hence no include guard here, but see below |
6 // for a much smaller-than-usual include guard section. | 6 // for a much smaller-than-usual include guard section. |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase) | 137 IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase) |
138 IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval) | 138 IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval) |
139 IPC_STRUCT_END() | 139 IPC_STRUCT_END() |
140 #endif | 140 #endif |
141 | 141 |
142 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) | 142 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) |
143 IPC_STRUCT_MEMBER(int32_t, input_buffer_id) | 143 IPC_STRUCT_MEMBER(int32_t, input_buffer_id) |
144 IPC_STRUCT_MEMBER(gfx::Size, coded_size) | 144 IPC_STRUCT_MEMBER(gfx::Size, coded_size) |
145 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle) | 145 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle) |
146 IPC_STRUCT_MEMBER(uint32_t, input_buffer_size) | 146 IPC_STRUCT_MEMBER(uint32_t, input_buffer_size) |
| 147 IPC_STRUCT_MEMBER(uint32_t, input_buffer_offset) |
147 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, output_video_frame_handle) | 148 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, output_video_frame_handle) |
148 IPC_STRUCT_MEMBER(uint32_t, output_buffer_size) | 149 IPC_STRUCT_MEMBER(uint32_t, output_buffer_size) |
149 IPC_STRUCT_END() | 150 IPC_STRUCT_END() |
150 | 151 |
151 IPC_STRUCT_BEGIN(AcceleratedVideoDecoderMsg_Decode_Params) | 152 IPC_STRUCT_BEGIN(AcceleratedVideoDecoderMsg_Decode_Params) |
152 IPC_STRUCT_MEMBER(int32_t, bitstream_buffer_id) | 153 IPC_STRUCT_MEMBER(int32_t, bitstream_buffer_id) |
153 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, buffer_handle) | 154 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, buffer_handle) |
154 IPC_STRUCT_MEMBER(uint32_t, size) | 155 IPC_STRUCT_MEMBER(uint32_t, size) |
| 156 IPC_STRUCT_MEMBER(uint32_t, offset) |
155 IPC_STRUCT_MEMBER(base::TimeDelta, presentation_timestamp) | 157 IPC_STRUCT_MEMBER(base::TimeDelta, presentation_timestamp) |
156 IPC_STRUCT_MEMBER(std::string, key_id) | 158 IPC_STRUCT_MEMBER(std::string, key_id) |
157 IPC_STRUCT_MEMBER(std::string, iv) | 159 IPC_STRUCT_MEMBER(std::string, iv) |
158 IPC_STRUCT_MEMBER(std::vector<media::SubsampleEntry>, subsamples) | 160 IPC_STRUCT_MEMBER(std::vector<media::SubsampleEntry>, subsamples) |
159 IPC_STRUCT_END() | 161 IPC_STRUCT_END() |
160 | 162 |
161 IPC_STRUCT_BEGIN(AcceleratedVideoEncoderMsg_Encode_Params) | 163 IPC_STRUCT_BEGIN(AcceleratedVideoEncoderMsg_Encode_Params) |
162 IPC_STRUCT_MEMBER(int32_t, frame_id) | 164 IPC_STRUCT_MEMBER(int32_t, frame_id) |
163 IPC_STRUCT_MEMBER(base::TimeDelta, timestamp) | 165 IPC_STRUCT_MEMBER(base::TimeDelta, timestamp) |
164 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, buffer_handle) | 166 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, buffer_handle) |
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
869 IPC_MESSAGE_CONTROL0(GpuMsg_ShutdownArcVideoService) | 871 IPC_MESSAGE_CONTROL0(GpuMsg_ShutdownArcVideoService) |
870 | 872 |
871 //------------------------------------------------------------------------------ | 873 //------------------------------------------------------------------------------ |
872 // Arc Video Accelerator Host Messages | 874 // Arc Video Accelerator Host Messages |
873 // These messages are sent from the GPU process to Browser process. | 875 // These messages are sent from the GPU process to Browser process. |
874 | 876 |
875 // Response from GPU to a GpuMsg_CreateArcVideoAcceleratorChannel message. | 877 // Response from GPU to a GpuMsg_CreateArcVideoAcceleratorChannel message. |
876 IPC_MESSAGE_CONTROL1(GpuHostMsg_ArcVideoAcceleratorChannelCreated, | 878 IPC_MESSAGE_CONTROL1(GpuHostMsg_ArcVideoAcceleratorChannelCreated, |
877 IPC::ChannelHandle /* handle to channel */) | 879 IPC::ChannelHandle /* handle to channel */) |
878 #endif | 880 #endif |
OLD | NEW |