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 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 // These messages are sent from Renderer process to GPU process. | 652 // These messages are sent from Renderer process to GPU process. |
653 | 653 |
654 // Send input buffer for decoding. | 654 // Send input buffer for decoding. |
655 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, | 655 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, |
656 base::SharedMemoryHandle, /* input_buffer_handle */ | 656 base::SharedMemoryHandle, /* input_buffer_handle */ |
657 int32, /* bitstream_buffer_id */ | 657 int32, /* bitstream_buffer_id */ |
658 uint32) /* size */ | 658 uint32) /* size */ |
659 | 659 |
660 // Sent from Renderer process to the GPU process to give the texture IDs for | 660 // Sent from Renderer process to the GPU process to give the texture IDs for |
661 // the textures the decoder will use for output. | 661 // the textures the decoder will use for output. |
662 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_AssignPictureBuffers, | 662 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderMsg_AssignPictureBuffers, |
663 std::vector<int32>, /* Picture buffer ID */ | 663 std::vector<int32>, /* Picture buffer ID */ |
664 std::vector<uint32>, /* Texture ID */ | 664 std::vector<uint32>) /* Texture ID */ |
665 std::vector<gfx::Size>) /* Size */ | |
666 | 665 |
667 // Send from Renderer process to the GPU process to recycle the given picture | 666 // Send from Renderer process to the GPU process to recycle the given picture |
668 // buffer for further decoding. | 667 // buffer for further decoding. |
669 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer, | 668 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_ReusePictureBuffer, |
670 int32) /* Picture buffer ID */ | 669 int32) /* Picture buffer ID */ |
671 | 670 |
672 // Send flush request to the decoder. | 671 // Send flush request to the decoder. |
673 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush) | 672 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush) |
674 | 673 |
675 // Send reset request to the decoder. | 674 // Send reset request to the decoder. |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 gfx::Size /* buffer_size */, | 804 gfx::Size /* buffer_size */, |
806 gfx::Rect /* visible_rect */) | 805 gfx::Rect /* visible_rect */) |
807 | 806 |
808 // Report successful copy of a capture of a surface. | 807 // Report successful copy of a capture of a surface. |
809 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyCopyCaptureDone, | 808 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyCopyCaptureDone, |
810 int32 /* frame_id */) | 809 int32 /* frame_id */) |
811 | 810 |
812 // Report error. | 811 // Report error. |
813 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyError, | 812 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyError, |
814 content::SurfaceCapturer::Error /* error */) | 813 content::SurfaceCapturer::Error /* error */) |
OLD | NEW |