| 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 "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/common/gpu/media/create_video_encoder_params.h" | 9 #include "content/common/gpu/media/create_video_encoder_params.h" |
| 10 #include "gpu/config/gpu_info.h" | 10 #include "gpu/config/gpu_info.h" |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderMsg_AssignPictureBuffers, | 132 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderMsg_AssignPictureBuffers, |
| 133 std::vector<int32_t>, /* Picture buffer ID */ | 133 std::vector<int32_t>, /* Picture buffer ID */ |
| 134 std::vector<uint32_t>) /* Texture ID */ | 134 std::vector<uint32_t>) /* Texture ID */ |
| 135 | 135 |
| 136 // Send from Renderer process to the GPU process to recycle the given picture | 136 // Send from Renderer process to the GPU process to recycle the given picture |
| 137 // buffer for further decoding. | 137 // buffer for further decoding. |
| 138 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer, | 138 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer, |
| 139 int32_t) /* Picture buffer ID */ | 139 int32_t) /* Picture buffer ID */ |
| 140 | 140 |
| 141 // Send flush request to the decoder. | 141 // Send flush request to the decoder. |
| 142 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush) | 142 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_Flush, |
| 143 bool /* return_buffers */) |
| 143 | 144 |
| 144 // Send reset request to the decoder. | 145 // Send reset request to the decoder. |
| 145 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Reset) | 146 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Reset) |
| 146 | 147 |
| 147 // Send destroy request to the decoder. | 148 // Send destroy request to the decoder. |
| 148 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Destroy) | 149 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Destroy) |
| 149 | 150 |
| 150 //------------------------------------------------------------------------------ | 151 //------------------------------------------------------------------------------ |
| 151 // Accelerated Video Decoder Host Messages | 152 // Accelerated Video Decoder Host Messages |
| 152 // These messages are sent from GPU process to Renderer process. | 153 // These messages are sent from GPU process to Renderer process. |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 278 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
| 278 | 279 |
| 279 //------------------------------------------------------------------------------ | 280 //------------------------------------------------------------------------------ |
| 280 // Accelerated JPEG Decoder Host Messages | 281 // Accelerated JPEG Decoder Host Messages |
| 281 // These messages are sent from the GPU process to Browser process. | 282 // These messages are sent from the GPU process to Browser process. |
| 282 // | 283 // |
| 283 // Report decode status. | 284 // Report decode status. |
| 284 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 285 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
| 285 int32_t, /* bitstream_buffer_id */ | 286 int32_t, /* bitstream_buffer_id */ |
| 286 media::JpegDecodeAccelerator::Error /* error */) | 287 media::JpegDecodeAccelerator::Error /* error */) |
| OLD | NEW |