| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 int32_t, /* Number of video frames to generate */ | 166 int32_t, /* Number of video frames to generate */ |
| 167 gfx::Size, /* Requested size of buffer */ | 167 gfx::Size, /* Requested size of buffer */ |
| 168 uint32_t) /* Texture target */ | 168 uint32_t) /* Texture target */ |
| 169 | 169 |
| 170 // Decoder reports that a picture is ready and buffer does not need to be passed | 170 // Decoder reports that a picture is ready and buffer does not need to be passed |
| 171 // back to the decoder. | 171 // back to the decoder. |
| 172 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, | 172 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, |
| 173 int32_t) /* Picture buffer ID */ | 173 int32_t) /* Picture buffer ID */ |
| 174 | 174 |
| 175 // Decoder reports that a picture is ready. | 175 // Decoder reports that a picture is ready. |
| 176 IPC_MESSAGE_ROUTED4(AcceleratedVideoDecoderHostMsg_PictureReady, | 176 IPC_MESSAGE_ROUTED5(AcceleratedVideoDecoderHostMsg_PictureReady, |
| 177 int32_t, /* Picture buffer ID */ | 177 int32_t, /* Picture buffer ID */ |
| 178 int32_t, /* Bitstream buffer ID */ | 178 int32_t, /* Bitstream buffer ID */ |
| 179 gfx::Rect, /* Visible rectangle */ | 179 gfx::Rect, /* Visible rectangle */ |
| 180 bool) /* Buffer is HW overlay capable */ | 180 bool, /* Buffer is HW overlay capable */ |
| 181 bool) /* VDA updated picture size */ |
| 181 | 182 |
| 182 // Confirm decoder has been flushed. | 183 // Confirm decoder has been flushed. |
| 183 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 184 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
| 184 | 185 |
| 185 // Confirm decoder has been reset. | 186 // Confirm decoder has been reset. |
| 186 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 187 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 187 | 188 |
| 188 // Video decoder has encountered an error. | 189 // Video decoder has encountered an error. |
| 189 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 190 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 190 uint32_t /* Error ID */) | 191 uint32_t /* Error ID */) |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 277 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
| 277 | 278 |
| 278 //------------------------------------------------------------------------------ | 279 //------------------------------------------------------------------------------ |
| 279 // Accelerated JPEG Decoder Host Messages | 280 // Accelerated JPEG Decoder Host Messages |
| 280 // These messages are sent from the GPU process to Browser process. | 281 // These messages are sent from the GPU process to Browser process. |
| 281 // | 282 // |
| 282 // Report decode status. | 283 // Report decode status. |
| 283 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 284 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
| 284 int32_t, /* bitstream_buffer_id */ | 285 int32_t, /* bitstream_buffer_id */ |
| 285 media::JpegDecodeAccelerator::Error /* error */) | 286 media::JpegDecodeAccelerator::Error /* error */) |
| OLD | NEW |