| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer, | 86 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer, |
| 87 int32_t) /* Picture buffer ID */ | 87 int32_t) /* Picture buffer ID */ |
| 88 | 88 |
| 89 // Send flush request to the decoder. | 89 // Send flush request to the decoder. |
| 90 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush) | 90 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush) |
| 91 | 91 |
| 92 // Send reset request to the decoder. | 92 // Send reset request to the decoder. |
| 93 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Reset) | 93 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Reset) |
| 94 | 94 |
| 95 // Send a surface id to the decoder. | 95 // Send a surface id to the decoder. |
| 96 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_SetSurface, | 96 IPC_MESSAGE_ROUTED2( |
| 97 int32_t) /* Surface ID */ | 97 AcceleratedVideoDecoderMsg_SetSurface, |
| 98 int32_t, /* Surface ID */ |
| 99 base::Optional<base::UnguessableToken>); /* AndroidOverlay routing token */ |
| 98 | 100 |
| 99 // Send destroy request to the decoder. | 101 // Send destroy request to the decoder. |
| 100 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Destroy) | 102 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Destroy) |
| 101 | 103 |
| 102 //------------------------------------------------------------------------------ | 104 //------------------------------------------------------------------------------ |
| 103 // Accelerated Video Decoder Host Messages | 105 // Accelerated Video Decoder Host Messages |
| 104 // These messages are sent from GPU process to Renderer process. | 106 // These messages are sent from GPU process to Renderer process. |
| 105 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been | 107 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been |
| 106 // created. | 108 // created. |
| 107 | 109 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 224 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
| 223 | 225 |
| 224 //------------------------------------------------------------------------------ | 226 //------------------------------------------------------------------------------ |
| 225 // Accelerated JPEG Decoder Host Messages | 227 // Accelerated JPEG Decoder Host Messages |
| 226 // These messages are sent from the GPU process to Browser process. | 228 // These messages are sent from the GPU process to Browser process. |
| 227 // | 229 // |
| 228 // Report decode status. | 230 // Report decode status. |
| 229 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 231 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
| 230 int32_t, /* bitstream_buffer_id */ | 232 int32_t, /* bitstream_buffer_id */ |
| 231 media::JpegDecodeAccelerator::Error /* error */) | 233 media::JpegDecodeAccelerator::Error /* error */) |
| OLD | NEW |