| 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 #include <vector> | 5 #include <vector> |
| 6 #include <string> | 6 #include <string> |
| 7 | 7 |
| 8 | 8 |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "content/common/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
| (...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 | 589 |
| 590 // Allocate video frames for output of the hardware video decoder. | 590 // Allocate video frames for output of the hardware video decoder. |
| 591 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers, | 591 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers, |
| 592 int32, /* Number of video frames to generate */ | 592 int32, /* Number of video frames to generate */ |
| 593 gfx::Size) /* Requested size of buffer */ | 593 gfx::Size) /* Requested size of buffer */ |
| 594 | 594 |
| 595 // Decoder has been created and is ready for initialization. | 595 // Decoder has been created and is ready for initialization. |
| 596 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_CreateDone, | 596 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_CreateDone, |
| 597 int32) /* Decoder ID */ | 597 int32) /* Decoder ID */ |
| 598 | 598 |
| 599 // Notify client that decoder has been initialized. |
| 600 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_InitializeDone) |
| 601 |
| 599 // Decoder reports that a picture is ready and buffer does not need to be passed | 602 // Decoder reports that a picture is ready and buffer does not need to be passed |
| 600 // back to the decoder. | 603 // back to the decoder. |
| 601 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, | 604 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, |
| 602 int32) /* Picture buffer ID */ | 605 int32) /* Picture buffer ID */ |
| 603 | 606 |
| 604 // Decoder reports that a picture is ready. | 607 // Decoder reports that a picture is ready. |
| 605 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_PictureReady, | 608 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_PictureReady, |
| 606 int32, /* Picture buffer ID */ | 609 int32, /* Picture buffer ID */ |
| 607 int32) /* Bitstream buffer ID */ | 610 int32) /* Bitstream buffer ID */ |
| 608 | 611 |
| 609 // Confirm decoder has been flushed. | 612 // Confirm decoder has been flushed. |
| 610 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 613 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
| 611 | 614 |
| 612 // Confirm decoder has been aborted. | 615 // Confirm decoder has been aborted. |
| 613 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_AbortDone) | 616 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_AbortDone) |
| 614 | 617 |
| 615 // Decoder has faced end of stream marker in the stream. | 618 // Decoder has faced end of stream marker in the stream. |
| 616 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) | 619 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) |
| 617 | 620 |
| 618 // Video decoder has encountered an error. | 621 // Video decoder has encountered an error. |
| 619 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 622 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 620 uint32) /* Error ID */ | 623 uint32) /* Error ID */ |
| OLD | NEW |