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

Side by Side Diff: content/common/gpu/gpu_messages.h

Issue 1541353002: Add offset support to BitstreamBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 (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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase) 129 IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase)
130 IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval) 130 IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval)
131 IPC_STRUCT_END() 131 IPC_STRUCT_END()
132 #endif 132 #endif
133 133
134 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) 134 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params)
135 IPC_STRUCT_MEMBER(int32, input_buffer_id) 135 IPC_STRUCT_MEMBER(int32, input_buffer_id)
136 IPC_STRUCT_MEMBER(gfx::Size, coded_size) 136 IPC_STRUCT_MEMBER(gfx::Size, coded_size)
137 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle) 137 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle)
138 IPC_STRUCT_MEMBER(uint32, input_buffer_size) 138 IPC_STRUCT_MEMBER(uint32, input_buffer_size)
139 IPC_STRUCT_MEMBER(uint32, input_buffer_offset)
139 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, output_video_frame_handle) 140 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, output_video_frame_handle)
140 IPC_STRUCT_MEMBER(uint32, output_buffer_size) 141 IPC_STRUCT_MEMBER(uint32, output_buffer_size)
141 IPC_STRUCT_END() 142 IPC_STRUCT_END()
142 143
143 IPC_STRUCT_BEGIN(AcceleratedVideoDecoderMsg_Decode_Params) 144 IPC_STRUCT_BEGIN(AcceleratedVideoDecoderMsg_Decode_Params)
144 IPC_STRUCT_MEMBER(int32, bitstream_buffer_id) 145 IPC_STRUCT_MEMBER(int32, bitstream_buffer_id)
145 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, buffer_handle) 146 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, buffer_handle)
146 IPC_STRUCT_MEMBER(uint32, size) 147 IPC_STRUCT_MEMBER(uint32, size)
148 IPC_STRUCT_MEMBER(uint32, offset)
147 IPC_STRUCT_MEMBER(base::TimeDelta, presentation_timestamp) 149 IPC_STRUCT_MEMBER(base::TimeDelta, presentation_timestamp)
148 IPC_STRUCT_MEMBER(std::string, key_id) 150 IPC_STRUCT_MEMBER(std::string, key_id)
149 IPC_STRUCT_MEMBER(std::string, iv) 151 IPC_STRUCT_MEMBER(std::string, iv)
150 IPC_STRUCT_MEMBER(std::vector<media::SubsampleEntry>, subsamples) 152 IPC_STRUCT_MEMBER(std::vector<media::SubsampleEntry>, subsamples)
151 IPC_STRUCT_END() 153 IPC_STRUCT_END()
152 154
153 IPC_STRUCT_BEGIN(AcceleratedVideoEncoderMsg_Encode_Params) 155 IPC_STRUCT_BEGIN(AcceleratedVideoEncoderMsg_Encode_Params)
154 IPC_STRUCT_MEMBER(int32_t, frame_id) 156 IPC_STRUCT_MEMBER(int32_t, frame_id)
155 IPC_STRUCT_MEMBER(base::TimeDelta, timestamp) 157 IPC_STRUCT_MEMBER(base::TimeDelta, timestamp)
156 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, buffer_handle) 158 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, buffer_handle)
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 834 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
833 835
834 //------------------------------------------------------------------------------ 836 //------------------------------------------------------------------------------
835 // Accelerated JPEG Decoder Host Messages 837 // Accelerated JPEG Decoder Host Messages
836 // These messages are sent from the GPU process to Browser process. 838 // These messages are sent from the GPU process to Browser process.
837 // 839 //
838 // Report decode status. 840 // Report decode status.
839 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 841 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
840 int32, /* bitstream_buffer_id */ 842 int32, /* bitstream_buffer_id */
841 media::JpegDecodeAccelerator::Error /* error */) 843 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698