| OLD | NEW |
| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 107 |
| 108 // Notify the deferred initialization result. | 108 // Notify the deferred initialization result. |
| 109 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_InitializationComplete, | 109 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_InitializationComplete, |
| 110 bool) /* success */ | 110 bool) /* success */ |
| 111 | 111 |
| 112 // Accelerated video decoder has consumed input buffer from transfer buffer. | 112 // Accelerated video decoder has consumed input buffer from transfer buffer. |
| 113 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_BitstreamBufferProcessed, | 113 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_BitstreamBufferProcessed, |
| 114 int32_t) /* Processed buffer ID */ | 114 int32_t) /* Processed buffer ID */ |
| 115 | 115 |
| 116 // Allocate video frames for output of the hardware video decoder. | 116 // Allocate video frames for output of the hardware video decoder. |
| 117 IPC_MESSAGE_ROUTED4(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers, | 117 IPC_MESSAGE_ROUTED5(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers, |
| 118 media::VideoPixelFormat, /* Picture buffer format */ |
| 118 int32_t, /* Number of video frames to generate */ | 119 int32_t, /* Number of video frames to generate */ |
| 119 uint32_t, /* Number of textures per frame */ | 120 uint32_t, /* Number of textures per frame */ |
| 120 gfx::Size, /* Requested size of buffer */ | 121 gfx::Size, /* Requested size of buffer */ |
| 121 uint32_t) /* Texture target */ | 122 uint32_t) /* Texture target */ |
| 122 | 123 |
| 123 // Decoder reports that a picture is ready and buffer does not need to be passed | 124 // Decoder reports that a picture is ready and buffer does not need to be passed |
| 124 // back to the decoder. | 125 // back to the decoder. |
| 125 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, | 126 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, |
| 126 int32_t) /* Picture buffer ID */ | 127 int32_t) /* Picture buffer ID */ |
| 127 | 128 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 231 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
| 231 | 232 |
| 232 //------------------------------------------------------------------------------ | 233 //------------------------------------------------------------------------------ |
| 233 // Accelerated JPEG Decoder Host Messages | 234 // Accelerated JPEG Decoder Host Messages |
| 234 // These messages are sent from the GPU process to Browser process. | 235 // These messages are sent from the GPU process to Browser process. |
| 235 // | 236 // |
| 236 // Report decode status. | 237 // Report decode status. |
| 237 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 238 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
| 238 int32_t, /* bitstream_buffer_id */ | 239 int32_t, /* bitstream_buffer_id */ |
| 239 media::JpegDecodeAccelerator::Error /* error */) | 240 media::JpegDecodeAccelerator::Error /* error */) |
| OLD | NEW |