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

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

Issue 2892083002: Send enter / exit fullscreen signal to AVDA (Closed)
Patch Set: rebased. Created 3 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/unguessable_token.h" 10 #include "base/unguessable_token.h"
11 #include "gpu/config/gpu_info.h" 11 #include "gpu/config/gpu_info.h"
12 #include "gpu/ipc/common/gpu_param_traits_macros.h" 12 #include "gpu/ipc/common/gpu_param_traits_macros.h"
13 #include "ipc/ipc_message_macros.h" 13 #include "ipc/ipc_message_macros.h"
14 #include "ipc/param_traits_macros.h" 14 #include "ipc/param_traits_macros.h"
15 #include "media/base/overlay_info.h"
15 #include "media/gpu/ipc/common/media_param_traits.h" 16 #include "media/gpu/ipc/common/media_param_traits.h"
16 #include "media/video/jpeg_decode_accelerator.h" 17 #include "media/video/jpeg_decode_accelerator.h"
17 #include "media/video/video_decode_accelerator.h" 18 #include "media/video/video_decode_accelerator.h"
18 #include "media/video/video_encode_accelerator.h" 19 #include "media/video/video_encode_accelerator.h"
19 #include "ui/gfx/ipc/color/gfx_param_traits.h" 20 #include "ui/gfx/ipc/color/gfx_param_traits.h"
20 #include "ui/gfx/ipc/gfx_param_traits.h" 21 #include "ui/gfx/ipc/gfx_param_traits.h"
21 22
22 #define IPC_MESSAGE_START MediaMsgStart 23 #define IPC_MESSAGE_START MediaMsgStart
23 24
24 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) 25 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params)
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // buffer for further decoding. 86 // buffer for further decoding.
86 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer, 87 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer,
87 int32_t) /* Picture buffer ID */ 88 int32_t) /* Picture buffer ID */
88 89
89 // Send flush request to the decoder. 90 // Send flush request to the decoder.
90 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush) 91 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush)
91 92
92 // Send reset request to the decoder. 93 // Send reset request to the decoder.
93 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Reset) 94 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Reset)
94 95
95 // Send a surface id to the decoder. 96 // Send overlay info to the decoder.
96 IPC_MESSAGE_ROUTED2( 97 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_SetOverlayInfo,
97 AcceleratedVideoDecoderMsg_SetSurface, 98 media::OverlayInfo);
98 int32_t, /* Surface ID */
99 base::Optional<base::UnguessableToken>); /* AndroidOverlay routing token */
100 99
101 // Send destroy request to the decoder. 100 // Send destroy request to the decoder.
102 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Destroy) 101 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Destroy)
103 102
104 //------------------------------------------------------------------------------ 103 //------------------------------------------------------------------------------
105 // Accelerated Video Decoder Host Messages 104 // Accelerated Video Decoder Host Messages
106 // These messages are sent from GPU process to Renderer process. 105 // These messages are sent from GPU process to Renderer process.
107 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been 106 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been
108 // created. 107 // created.
109 108
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 223 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
225 224
226 //------------------------------------------------------------------------------ 225 //------------------------------------------------------------------------------
227 // Accelerated JPEG Decoder Host Messages 226 // Accelerated JPEG Decoder Host Messages
228 // These messages are sent from the GPU process to Browser process. 227 // These messages are sent from the GPU process to Browser process.
229 // 228 //
230 // Report decode status. 229 // Report decode status.
231 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 230 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
232 int32_t, /* bitstream_buffer_id */ 231 int32_t, /* bitstream_buffer_id */
233 media::JpegDecodeAccelerator::Error /* error */) 232 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW
« no previous file with comments | « media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc ('k') | media/gpu/ipc/common/media_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698