| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 int32_t /* decoder_route_id */, | 69 int32_t /* decoder_route_id */, |
| 70 bool /* succeeded */) | 70 bool /* succeeded */) |
| 71 | 71 |
| 72 // Set a CDM on the decoder to handle encrypted buffers. | 72 // Set a CDM on the decoder to handle encrypted buffers. |
| 73 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_SetCdm, int32_t /* CDM ID */) | 73 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_SetCdm, int32_t /* CDM ID */) |
| 74 | 74 |
| 75 // Send input buffer for decoding. | 75 // Send input buffer for decoding. |
| 76 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_Decode, media::BitstreamBuffer) | 76 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_Decode, media::BitstreamBuffer) |
| 77 | 77 |
| 78 // Give the texture IDs for the textures the decoder will use for output. | 78 // Give the texture IDs for the textures the decoder will use for output. |
| 79 IPC_MESSAGE_ROUTED2( | 79 IPC_MESSAGE_ROUTED5( |
| 80 AcceleratedVideoDecoderMsg_AssignPictureBuffers, | 80 AcceleratedVideoDecoderMsg_AssignPictureBuffers, |
| 81 std::vector<int32_t>, /* Picture buffer ID */ | 81 std::vector<int32_t>, /* Picture buffer ID */ |
| 82 std::vector<media::PictureBuffer::TextureIds>) /* Texture ID */ | 82 std::vector<media::PictureBuffer::TextureIds>, /* Texture ID */ |
| 83 uint32_t, /* Texture target */ |
| 84 media::VideoPixelFormat, /* Picture buffer format*/ |
| 85 gfx::Size) /* Picture buffer size */ |
| 83 | 86 |
| 84 // Send from Renderer process to the GPU process to recycle the given picture | 87 // Send from Renderer process to the GPU process to recycle the given picture |
| 85 // buffer for further decoding. | 88 // buffer for further decoding. |
| 86 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer, | 89 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer, |
| 87 int32_t) /* Picture buffer ID */ | 90 int32_t) /* Picture buffer ID */ |
| 88 | 91 |
| 89 // Send flush request to the decoder. | 92 // Send flush request to the decoder. |
| 90 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush) | 93 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush) |
| 91 | 94 |
| 92 // Send reset request to the decoder. | 95 // Send reset request to the decoder. |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 225 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
| 223 | 226 |
| 224 //------------------------------------------------------------------------------ | 227 //------------------------------------------------------------------------------ |
| 225 // Accelerated JPEG Decoder Host Messages | 228 // Accelerated JPEG Decoder Host Messages |
| 226 // These messages are sent from the GPU process to Browser process. | 229 // These messages are sent from the GPU process to Browser process. |
| 227 // | 230 // |
| 228 // Report decode status. | 231 // Report decode status. |
| 229 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 232 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
| 230 int32_t, /* bitstream_buffer_id */ | 233 int32_t, /* bitstream_buffer_id */ |
| 231 media::JpegDecodeAccelerator::Error /* error */) | 234 media::JpegDecodeAccelerator::Error /* error */) |
| OLD | NEW |