| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 int32, /* Number of video frames to generate */ | 681 int32, /* Number of video frames to generate */ |
| 682 gfx::Size, /* Requested size of buffer */ | 682 gfx::Size, /* Requested size of buffer */ |
| 683 uint32 ) /* Texture target */ | 683 uint32 ) /* Texture target */ |
| 684 | 684 |
| 685 // Decoder reports that a picture is ready and buffer does not need to be passed | 685 // Decoder reports that a picture is ready and buffer does not need to be passed |
| 686 // back to the decoder. | 686 // back to the decoder. |
| 687 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, | 687 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, |
| 688 int32) /* Picture buffer ID */ | 688 int32) /* Picture buffer ID */ |
| 689 | 689 |
| 690 // Decoder reports that a picture is ready. | 690 // Decoder reports that a picture is ready. |
| 691 IPC_MESSAGE_ROUTED4(AcceleratedVideoDecoderHostMsg_PictureReady, | 691 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderHostMsg_PictureReady, |
| 692 int32, /* Picture buffer ID */ | 692 int32, /* Picture buffer ID */ |
| 693 int32, /* Bitstream buffer ID */ | 693 int32, /* Bitstream buffer ID */ |
| 694 gfx::Rect, /* Visible rectangle */ | 694 gfx::Rect) /* Visible rectangle */ |
| 695 bool) /* Buffer is HW overlay capable */ | |
| 696 | 695 |
| 697 // Confirm decoder has been flushed. | 696 // Confirm decoder has been flushed. |
| 698 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 697 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
| 699 | 698 |
| 700 // Confirm decoder has been reset. | 699 // Confirm decoder has been reset. |
| 701 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 700 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 702 | 701 |
| 703 // Video decoder has encountered an error. | 702 // Video decoder has encountered an error. |
| 704 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 703 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 705 uint32) /* Error ID */ | 704 uint32) /* Error ID */ |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 int32 /* bitstream_buffer_id */, | 749 int32 /* bitstream_buffer_id */, |
| 751 uint32 /* payload_size */, | 750 uint32 /* payload_size */, |
| 752 bool /* key_frame */) | 751 bool /* key_frame */) |
| 753 | 752 |
| 754 // Report error condition. | 753 // Report error condition. |
| 755 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 754 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
| 756 media::VideoEncodeAccelerator::Error /* error */) | 755 media::VideoEncodeAccelerator::Error /* error */) |
| 757 | 756 |
| 758 // Send destroy request to the encoder. | 757 // Send destroy request to the encoder. |
| 759 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 758 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
| OLD | NEW |