| 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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 689 int32, /* Number of video frames to generate */ | 689 int32, /* Number of video frames to generate */ |
| 690 gfx::Size, /* Requested size of buffer */ | 690 gfx::Size, /* Requested size of buffer */ |
| 691 uint32 ) /* Texture target */ | 691 uint32 ) /* Texture target */ |
| 692 | 692 |
| 693 // Decoder reports that a picture is ready and buffer does not need to be passed | 693 // Decoder reports that a picture is ready and buffer does not need to be passed |
| 694 // back to the decoder. | 694 // back to the decoder. |
| 695 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, | 695 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, |
| 696 int32) /* Picture buffer ID */ | 696 int32) /* Picture buffer ID */ |
| 697 | 697 |
| 698 // Decoder reports that a picture is ready. | 698 // Decoder reports that a picture is ready. |
| 699 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderHostMsg_PictureReady, | 699 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_PictureReady, |
| 700 int32, /* Picture buffer ID */ | 700 int32, /* Picture buffer ID */ |
| 701 int32, /* Bitstream buffer ID */ | 701 int32) /* Bitstream buffer ID */ |
| 702 gfx::Rect) /* Visible rectangle */ | |
| 703 | 702 |
| 704 // Confirm decoder has been flushed. | 703 // Confirm decoder has been flushed. |
| 705 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 704 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
| 706 | 705 |
| 707 // Confirm decoder has been reset. | 706 // Confirm decoder has been reset. |
| 708 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 707 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 709 | 708 |
| 710 // Video decoder has encountered an error. | 709 // Video decoder has encountered an error. |
| 711 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 710 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 712 uint32) /* Error ID */ | 711 uint32) /* Error ID */ |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 int32 /* bitstream_buffer_id */, | 756 int32 /* bitstream_buffer_id */, |
| 758 uint32 /* payload_size */, | 757 uint32 /* payload_size */, |
| 759 bool /* key_frame */) | 758 bool /* key_frame */) |
| 760 | 759 |
| 761 // Report error condition. | 760 // Report error condition. |
| 762 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 761 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
| 763 media::VideoEncodeAccelerator::Error /* error */) | 762 media::VideoEncodeAccelerator::Error /* error */) |
| 764 | 763 |
| 765 // Send destroy request to the encoder. | 764 // Send destroy request to the encoder. |
| 766 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 765 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
| OLD | NEW |