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

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

Issue 2461073002: Use MediaCodec.setOutputSurface() for fullscreen transitions on M. (Closed)
Patch Set: Fix IPC, but now everything explodes :( Created 4 years, 1 month 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/unguessable_token.h" 10 #include "base/unguessable_token.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // buffer for further decoding. 83 // buffer for further decoding.
84 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer, 84 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer,
85 int32_t) /* Picture buffer ID */ 85 int32_t) /* Picture buffer ID */
86 86
87 // Send flush request to the decoder. 87 // Send flush request to the decoder.
88 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush) 88 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush)
89 89
90 // Send reset request to the decoder. 90 // Send reset request to the decoder.
91 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Reset) 91 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Reset)
92 92
93 // Send a surface id to the decoder.
94 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_SetSurface, int) /* Surface ID */
95
93 // Send destroy request to the decoder. 96 // Send destroy request to the decoder.
94 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Destroy) 97 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Destroy)
95 98
96 //------------------------------------------------------------------------------ 99 //------------------------------------------------------------------------------
97 // Accelerated Video Decoder Host Messages 100 // Accelerated Video Decoder Host Messages
98 // These messages are sent from GPU process to Renderer process. 101 // These messages are sent from GPU process to Renderer process.
99 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been 102 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been
100 // created. 103 // created.
101 104
102 // Notify the deferred initialization result. 105 // Notify the deferred initialization result.
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 219 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
217 220
218 //------------------------------------------------------------------------------ 221 //------------------------------------------------------------------------------
219 // Accelerated JPEG Decoder Host Messages 222 // Accelerated JPEG Decoder Host Messages
220 // These messages are sent from the GPU process to Browser process. 223 // These messages are sent from the GPU process to Browser process.
221 // 224 //
222 // Report decode status. 225 // Report decode status.
223 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 226 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
224 int32_t, /* bitstream_buffer_id */ 227 int32_t, /* bitstream_buffer_id */
225 media::JpegDecodeAccelerator::Error /* error */) 228 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698