OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <vector> | 8 #include <vector> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 // Send input buffer for decoding. | 483 // Send input buffer for decoding. |
484 IPC_MESSAGE_ROUTED4(AcceleratedVideoDecoderMsg_Decode, | 484 IPC_MESSAGE_ROUTED4(AcceleratedVideoDecoderMsg_Decode, |
485 gpu::ReadWriteTokens, /* tokens */ | 485 gpu::ReadWriteTokens, /* tokens */ |
486 base::SharedMemoryHandle, /* input_buffer_handle */ | 486 base::SharedMemoryHandle, /* input_buffer_handle */ |
487 int32, /* bitstream_buffer_id */ | 487 int32, /* bitstream_buffer_id */ |
488 int32) /* size */ | 488 int32) /* size */ |
489 | 489 |
490 // Sent from Renderer process to the GPU process to give the texture IDs for | 490 // Sent from Renderer process to the GPU process to give the texture IDs for |
491 // the textures the decoder will use for output. Delays evaluation until | 491 // the textures the decoder will use for output. Delays evaluation until |
492 // |token.second| is seen. | 492 // |token.second| is seen. |
493 IPC_MESSAGE_ROUTED4(AcceleratedVideoDecoderMsg_AssignTextures, | 493 IPC_MESSAGE_ROUTED4(AcceleratedVideoDecoderMsg_AssignGLESBuffers, |
494 gpu::ReadWriteTokens, /* tokens */ | 494 gpu::ReadWriteTokens, /* tokens */ |
495 std::vector<int32>, /* Picture buffer ID */ | 495 std::vector<int32>, /* Picture buffer ID */ |
496 std::vector<uint32>, /* Texture ID */ | 496 std::vector<uint32>, /* Texture ID */ |
497 std::vector<gfx::Size>) /* Size */ | 497 std::vector<gfx::Size>) /* Size */ |
498 | 498 |
499 // Sent from Renderer process to the GPU process to give the system memory | 499 // Sent from Renderer process to the GPU process to give the system memory |
500 // buffers that the decoder will use for output. | 500 // buffers that the decoder will use for output. |
501 // | 501 // |
502 // The length of the list of SharedMemoryHandles cannot exceed | 502 // The length of the list of SharedMemoryHandles cannot exceed |
503 // FileDescriptorSet::MAX_DESCRIPTORS_PER_MESSAGE; see | 503 // FileDescriptorSet::MAX_DESCRIPTORS_PER_MESSAGE; see |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 | 566 |
567 // Confirm decoder has been aborted. | 567 // Confirm decoder has been aborted. |
568 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_AbortDone) | 568 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_AbortDone) |
569 | 569 |
570 // Decoder has faced end of stream marker in the stream. | 570 // Decoder has faced end of stream marker in the stream. |
571 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) | 571 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) |
572 | 572 |
573 // Video decoder has encountered an error. | 573 // Video decoder has encountered an error. |
574 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 574 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
575 uint32) /* Error ID */ | 575 uint32) /* Error ID */ |
OLD | NEW |