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_ROUTED2(AcceleratedVideoDecoderHostMsg_PictureReady, | 699 IPC_MESSAGE_ROUTED3(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 */ |
702 | 703 |
703 // Confirm decoder has been flushed. | 704 // Confirm decoder has been flushed. |
704 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 705 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
705 | 706 |
706 // Confirm decoder has been reset. | 707 // Confirm decoder has been reset. |
707 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 708 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
708 | 709 |
709 // Video decoder has encountered an error. | 710 // Video decoder has encountered an error. |
710 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 711 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
711 uint32) /* Error ID */ | 712 uint32) /* Error ID */ |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 int32 /* bitstream_buffer_id */, | 757 int32 /* bitstream_buffer_id */, |
757 uint32 /* payload_size */, | 758 uint32 /* payload_size */, |
758 bool /* key_frame */) | 759 bool /* key_frame */) |
759 | 760 |
760 // Report error condition. | 761 // Report error condition. |
761 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 762 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
762 media::VideoEncodeAccelerator::Error /* error */) | 763 media::VideoEncodeAccelerator::Error /* error */) |
763 | 764 |
764 // Send destroy request to the encoder. | 765 // Send destroy request to the encoder. |
765 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 766 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
OLD | NEW |