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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 // Accelerated Video Decoder Host Messages | 510 // Accelerated Video Decoder Host Messages |
511 // These messages are sent from GPU process to Renderer process. | 511 // These messages are sent from GPU process to Renderer process. |
512 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been | 512 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been |
513 // created. | 513 // created. |
514 | 514 |
515 // Accelerated video decoder has consumed input buffer from transfer buffer. | 515 // Accelerated video decoder has consumed input buffer from transfer buffer. |
516 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_BitstreamBufferProcessed, | 516 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_BitstreamBufferProcessed, |
517 int32) /* Processed buffer ID */ | 517 int32) /* Processed buffer ID */ |
518 | 518 |
519 // Allocate video frames for output of the hardware video decoder. | 519 // Allocate video frames for output of the hardware video decoder. |
520 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers, | 520 IPC_MESSAGE_ROUTED3( |
521 int32, /* Number of video frames to generate */ | 521 AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers, |
522 gfx::Size) /* Requested size of buffer */ | 522 int32, /* Number of video frames to generate */ |
| 523 gfx::Size, /* Requested size of buffer */ |
| 524 uint32 ) /* Texture target */ |
523 | 525 |
524 // Decoder reports that a picture is ready and buffer does not need to be passed | 526 // Decoder reports that a picture is ready and buffer does not need to be passed |
525 // back to the decoder. | 527 // back to the decoder. |
526 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, | 528 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, |
527 int32) /* Picture buffer ID */ | 529 int32) /* Picture buffer ID */ |
528 | 530 |
529 // Decoder reports that a picture is ready. | 531 // Decoder reports that a picture is ready. |
530 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_PictureReady, | 532 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_PictureReady, |
531 int32, /* Picture buffer ID */ | 533 int32, /* Picture buffer ID */ |
532 int32) /* Bitstream buffer ID */ | 534 int32) /* Bitstream buffer ID */ |
533 | 535 |
534 // Confirm decoder has been flushed. | 536 // Confirm decoder has been flushed. |
535 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 537 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
536 | 538 |
537 // Confirm decoder has been reset. | 539 // Confirm decoder has been reset. |
538 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 540 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
539 | 541 |
540 // Video decoder has encountered an error. | 542 // Video decoder has encountered an error. |
541 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 543 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
542 uint32) /* Error ID */ | 544 uint32) /* Error ID */ |
OLD | NEW |