| OLD | NEW | 
|    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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  209 IPC_STRUCT_TRAITS_END() |  209 IPC_STRUCT_TRAITS_END() | 
|  210  |  210  | 
|  211 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo::GPUDevice) |  211 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo::GPUDevice) | 
|  212   IPC_STRUCT_TRAITS_MEMBER(vendor_id) |  212   IPC_STRUCT_TRAITS_MEMBER(vendor_id) | 
|  213   IPC_STRUCT_TRAITS_MEMBER(device_id) |  213   IPC_STRUCT_TRAITS_MEMBER(device_id) | 
|  214   IPC_STRUCT_TRAITS_MEMBER(active) |  214   IPC_STRUCT_TRAITS_MEMBER(active) | 
|  215   IPC_STRUCT_TRAITS_MEMBER(vendor_string) |  215   IPC_STRUCT_TRAITS_MEMBER(vendor_string) | 
|  216   IPC_STRUCT_TRAITS_MEMBER(device_string) |  216   IPC_STRUCT_TRAITS_MEMBER(device_string) | 
|  217 IPC_STRUCT_TRAITS_END() |  217 IPC_STRUCT_TRAITS_END() | 
|  218  |  218  | 
 |  219 IPC_STRUCT_TRAITS_BEGIN(media::VideoDecodeAccelerator::InitParams) | 
 |  220   IPC_STRUCT_TRAITS_MEMBER(profile) | 
 |  221   IPC_STRUCT_TRAITS_MEMBER(is_encrypted) | 
 |  222 IPC_STRUCT_TRAITS_END() | 
 |  223  | 
|  219 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorSupportedProfile) |  224 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorSupportedProfile) | 
|  220   IPC_STRUCT_TRAITS_MEMBER(profile) |  225   IPC_STRUCT_TRAITS_MEMBER(profile) | 
|  221   IPC_STRUCT_TRAITS_MEMBER(max_resolution) |  226   IPC_STRUCT_TRAITS_MEMBER(max_resolution) | 
|  222   IPC_STRUCT_TRAITS_MEMBER(min_resolution) |  227   IPC_STRUCT_TRAITS_MEMBER(min_resolution) | 
|  223 IPC_STRUCT_TRAITS_END() |  228 IPC_STRUCT_TRAITS_END() | 
|  224  |  229  | 
|  225 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoEncodeAcceleratorSupportedProfile) |  230 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoEncodeAcceleratorSupportedProfile) | 
|  226   IPC_STRUCT_TRAITS_MEMBER(profile) |  231   IPC_STRUCT_TRAITS_MEMBER(profile) | 
|  227   IPC_STRUCT_TRAITS_MEMBER(max_resolution) |  232   IPC_STRUCT_TRAITS_MEMBER(max_resolution) | 
|  228   IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator) |  233   IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator) | 
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  593                     uint32 /* size */) |  598                     uint32 /* size */) | 
|  594  |  599  | 
|  595 // Destroy a previously created transfer buffer. |  600 // Destroy a previously created transfer buffer. | 
|  596 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyTransferBuffer, |  601 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyTransferBuffer, | 
|  597                     int32 /* id */) |  602                     int32 /* id */) | 
|  598  |  603  | 
|  599 // Create and initialize a hardware video decoder using the specified route_id. |  604 // Create and initialize a hardware video decoder using the specified route_id. | 
|  600 // Created decoders should be freed with AcceleratedVideoDecoderMsg_Destroy when |  605 // Created decoders should be freed with AcceleratedVideoDecoderMsg_Destroy when | 
|  601 // no longer needed. |  606 // no longer needed. | 
|  602 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateVideoDecoder, |  607 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateVideoDecoder, | 
|  603                            media::VideoCodecProfile /* profile */, |  608                            media::VideoDecodeAccelerator::InitParams, | 
|  604                            int32, /* route_id */ |  609                            int32, /* route_id */ | 
|  605                            bool /* succeeded */) |  610                            bool /* succeeded */) | 
|  606  |  611  | 
|  607 // Create and initialize a hardware video encoder using the specified route_id. |  612 // Create and initialize a hardware video encoder using the specified route_id. | 
|  608 // Created encoders should be freed with AcceleratedVideoEncoderMsg_Destroy when |  613 // Created encoders should be freed with AcceleratedVideoEncoderMsg_Destroy when | 
|  609 // no longer needed. |  614 // no longer needed. | 
|  610 IPC_SYNC_MESSAGE_ROUTED5_1(GpuCommandBufferMsg_CreateVideoEncoder, |  615 IPC_SYNC_MESSAGE_ROUTED5_1(GpuCommandBufferMsg_CreateVideoEncoder, | 
|  611                            media::VideoPixelFormat /* input_format */, |  616                            media::VideoPixelFormat /* input_format */, | 
|  612                            gfx::Size /* input_visible_size */, |  617                            gfx::Size /* input_visible_size */, | 
|  613                            media::VideoCodecProfile /* output_profile */, |  618                            media::VideoCodecProfile /* output_profile */, | 
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  830 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |  835 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 
|  831  |  836  | 
|  832 //------------------------------------------------------------------------------ |  837 //------------------------------------------------------------------------------ | 
|  833 // Accelerated JPEG Decoder Host Messages |  838 // Accelerated JPEG Decoder Host Messages | 
|  834 // These messages are sent from the GPU process to Browser process. |  839 // These messages are sent from the GPU process to Browser process. | 
|  835 // |  840 // | 
|  836 // Report decode status. |  841 // Report decode status. | 
|  837 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |  842 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 
|  838                     int32, /* bitstream_buffer_id */ |  843                     int32, /* bitstream_buffer_id */ | 
|  839                     media::JpegDecodeAccelerator::Error /* error */) |  844                     media::JpegDecodeAccelerator::Error /* error */) | 
| OLD | NEW |