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

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

Issue 1736643005: Decouple Media Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove base changes Created 4 years, 9 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 "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "gpu/config/gpu_info.h" 9 #include "gpu/config/gpu_info.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 IPC_STRUCT_TRAITS_MEMBER(max_resolution) 94 IPC_STRUCT_TRAITS_MEMBER(max_resolution)
95 IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator) 95 IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator)
96 IPC_STRUCT_TRAITS_MEMBER(max_framerate_denominator) 96 IPC_STRUCT_TRAITS_MEMBER(max_framerate_denominator)
97 IPC_STRUCT_TRAITS_END() 97 IPC_STRUCT_TRAITS_END()
98 98
99 IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry) 99 IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry)
100 IPC_STRUCT_TRAITS_MEMBER(clear_bytes) 100 IPC_STRUCT_TRAITS_MEMBER(clear_bytes)
101 IPC_STRUCT_TRAITS_MEMBER(cypher_bytes) 101 IPC_STRUCT_TRAITS_MEMBER(cypher_bytes)
102 IPC_STRUCT_TRAITS_END() 102 IPC_STRUCT_TRAITS_END()
103 103
104 // Create and initialize a hardware jpeg decoder using the specified route_id.
105 // Created decoders should be freed with AcceleratedJpegDecoderMsg_Destroy when
106 // no longer needed.
107 IPC_SYNC_MESSAGE_CONTROL1_1(GpuChannelMsg_CreateJpegDecoder,
108 int32_t /* route_id */,
109 bool /* succeeded */)
110
104 // Create and initialize a hardware video decoder using the specified route_id. 111 // Create and initialize a hardware video decoder using the specified route_id.
105 // Created decoders should be freed with AcceleratedVideoDecoderMsg_Destroy when 112 // Created decoders should be freed with AcceleratedVideoDecoderMsg_Destroy when
106 // no longer needed. 113 // no longer needed.
107 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateVideoDecoder, 114 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateVideoDecoder,
108 media::VideoDecodeAccelerator::Config, /* config */ 115 media::VideoDecodeAccelerator::Config, /* config */
109 int32_t, /* route_id */ 116 int32_t, /* route_id */
110 bool /* succeeded */) 117 bool /* succeeded */)
111 118
112 // Create and initialize a hardware video encoder using the specified route_id. 119 // Create and initialize a hardware video encoder using the specified route_id.
113 // Created encoders should be freed with AcceleratedVideoEncoderMsg_Destroy when 120 // Created encoders should be freed with AcceleratedVideoEncoderMsg_Destroy when
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 271 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
265 272
266 //------------------------------------------------------------------------------ 273 //------------------------------------------------------------------------------
267 // Accelerated JPEG Decoder Host Messages 274 // Accelerated JPEG Decoder Host Messages
268 // These messages are sent from the GPU process to Browser process. 275 // These messages are sent from the GPU process to Browser process.
269 // 276 //
270 // Report decode status. 277 // Report decode status.
271 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 278 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
272 int32_t, /* bitstream_buffer_id */ 279 int32_t, /* bitstream_buffer_id */
273 media::JpegDecodeAccelerator::Error /* error */) 280 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698