| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/unguessable_token.h" | 10 #include "base/unguessable_token.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 // buffer for further decoding. | 83 // buffer for further decoding. |
| 84 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer, | 84 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer, |
| 85 int32_t) /* Picture buffer ID */ | 85 int32_t) /* Picture buffer ID */ |
| 86 | 86 |
| 87 // Send flush request to the decoder. | 87 // Send flush request to the decoder. |
| 88 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush) | 88 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush) |
| 89 | 89 |
| 90 // Send reset request to the decoder. | 90 // Send reset request to the decoder. |
| 91 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Reset) | 91 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Reset) |
| 92 | 92 |
| 93 // Send a surface id to the decoder. |
| 94 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_SetSurface, |
| 95 int32_t) /* Surface ID */ |
| 96 |
| 93 // Send destroy request to the decoder. | 97 // Send destroy request to the decoder. |
| 94 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Destroy) | 98 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Destroy) |
| 95 | 99 |
| 96 //------------------------------------------------------------------------------ | 100 //------------------------------------------------------------------------------ |
| 97 // Accelerated Video Decoder Host Messages | 101 // Accelerated Video Decoder Host Messages |
| 98 // These messages are sent from GPU process to Renderer process. | 102 // These messages are sent from GPU process to Renderer process. |
| 99 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been | 103 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been |
| 100 // created. | 104 // created. |
| 101 | 105 |
| 102 // Notify the deferred initialization result. | 106 // Notify the deferred initialization result. |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 220 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
| 217 | 221 |
| 218 //------------------------------------------------------------------------------ | 222 //------------------------------------------------------------------------------ |
| 219 // Accelerated JPEG Decoder Host Messages | 223 // Accelerated JPEG Decoder Host Messages |
| 220 // These messages are sent from the GPU process to Browser process. | 224 // These messages are sent from the GPU process to Browser process. |
| 221 // | 225 // |
| 222 // Report decode status. | 226 // Report decode status. |
| 223 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 227 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
| 224 int32_t, /* bitstream_buffer_id */ | 228 int32_t, /* bitstream_buffer_id */ |
| 225 media::JpegDecodeAccelerator::Error /* error */) | 229 media::JpegDecodeAccelerator::Error /* error */) |
| OLD | NEW |