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

Side by Side Diff: media/gpu/ipc/common/media_messages.h

Issue 1996453003: RTC Video Encoder: Use capturer timestamp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "gpu/config/gpu_info.h" 8 #include "gpu/config/gpu_info.h"
9 #include "gpu/ipc/common/gpu_param_traits_macros.h" 9 #include "gpu/ipc/common/gpu_param_traits_macros.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 uint32_t /* output_buffer_size */) 170 uint32_t /* output_buffer_size */)
171 171
172 // Notify the renderer that the encoder has finished using an input buffer. 172 // Notify the renderer that the encoder has finished using an input buffer.
173 // There is no congruent entry point in the media::VideoEncodeAccelerator 173 // There is no congruent entry point in the media::VideoEncodeAccelerator
174 // interface, in VEA this same done condition is indicated by dropping the 174 // interface, in VEA this same done condition is indicated by dropping the
175 // reference to the media::VideoFrame passed to VEA::Encode(). 175 // reference to the media::VideoFrame passed to VEA::Encode().
176 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyInputDone, 176 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyInputDone,
177 int32_t /* frame_id */) 177 int32_t /* frame_id */)
178 178
179 // Notify the renderer that an output buffer has been filled with encoded data. 179 // Notify the renderer that an output buffer has been filled with encoded data.
180 IPC_MESSAGE_ROUTED3(AcceleratedVideoEncoderHostMsg_BitstreamBufferReady, 180 IPC_MESSAGE_ROUTED4(AcceleratedVideoEncoderHostMsg_BitstreamBufferReady,
181 int32_t /* bitstream_buffer_id */, 181 int32_t /* bitstream_buffer_id */,
182 uint32_t /* payload_size */, 182 uint32_t /* payload_size */,
183 bool /* key_frame */) 183 bool /* key_frame */,
184 base::TimeDelta /* timestamp */)
184 185
185 // Report error condition. 186 // Report error condition.
186 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, 187 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError,
187 media::VideoEncodeAccelerator::Error /* error */) 188 media::VideoEncodeAccelerator::Error /* error */)
188 189
189 // Send destroy request to the encoder. 190 // Send destroy request to the encoder.
190 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) 191 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy)
191 192
192 //------------------------------------------------------------------------------ 193 //------------------------------------------------------------------------------
193 // Accelerated JPEG Decoder Messages 194 // Accelerated JPEG Decoder Messages
(...skipping 18 matching lines...) Expand all
212 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 213 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
213 214
214 //------------------------------------------------------------------------------ 215 //------------------------------------------------------------------------------
215 // Accelerated JPEG Decoder Host Messages 216 // Accelerated JPEG Decoder Host Messages
216 // These messages are sent from the GPU process to Browser process. 217 // These messages are sent from the GPU process to Browser process.
217 // 218 //
218 // Report decode status. 219 // Report decode status.
219 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 220 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
220 int32_t, /* bitstream_buffer_id */ 221 int32_t, /* bitstream_buffer_id */
221 media::JpegDecodeAccelerator::Error /* error */) 222 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW
« no previous file with comments | « media/gpu/ipc/client/gpu_video_encode_accelerator_host.cc ('k') | media/gpu/ipc/service/gpu_video_encode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698