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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 // Accelerated Video Decoder Host Messages | 492 // Accelerated Video Decoder Host Messages |
493 // These messages are sent from GPU process to Renderer process. | 493 // These messages are sent from GPU process to Renderer process. |
494 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been | 494 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been |
495 // created. | 495 // created. |
496 | 496 |
497 // Accelerated video decoder has consumed input buffer from transfer buffer. | 497 // Accelerated video decoder has consumed input buffer from transfer buffer. |
498 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_BitstreamBufferProcessed, | 498 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_BitstreamBufferProcessed, |
499 int32) /* Processed buffer ID */ | 499 int32) /* Processed buffer ID */ |
500 | 500 |
501 // Allocate video frames for output of the hardware video decoder. | 501 // Allocate video frames for output of the hardware video decoder. |
502 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers, | 502 IPC_MESSAGE_ROUTED3( |
503 int32, /* Number of video frames to generate */ | 503 AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers, |
504 gfx::Size) /* Requested size of buffer */ | 504 int32, /* Number of video frames to generate */ |
| 505 gfx::Size, /* Requested size of buffer */ |
| 506 uint32 ) /* Texture target */ |
505 | 507 |
506 // Decoder reports that a picture is ready and buffer does not need to be passed | 508 // Decoder reports that a picture is ready and buffer does not need to be passed |
507 // back to the decoder. | 509 // back to the decoder. |
508 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, | 510 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, |
509 int32) /* Picture buffer ID */ | 511 int32) /* Picture buffer ID */ |
510 | 512 |
511 // Decoder reports that a picture is ready. | 513 // Decoder reports that a picture is ready. |
512 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_PictureReady, | 514 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_PictureReady, |
513 int32, /* Picture buffer ID */ | 515 int32, /* Picture buffer ID */ |
514 int32) /* Bitstream buffer ID */ | 516 int32) /* Bitstream buffer ID */ |
515 | 517 |
516 // Confirm decoder has been flushed. | 518 // Confirm decoder has been flushed. |
517 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 519 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
518 | 520 |
519 // Confirm decoder has been reset. | 521 // Confirm decoder has been reset. |
520 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 522 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
521 | 523 |
522 // Video decoder has encountered an error. | 524 // Video decoder has encountered an error. |
523 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 525 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
524 uint32) /* Error ID */ | 526 uint32) /* Error ID */ |
OLD | NEW |