| 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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 | 489 |
| 490 // Send flush request to the decoder. | 490 // Send flush request to the decoder. |
| 491 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_Flush, | 491 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_Flush, |
| 492 gpu::ReadWriteTokens) /* tokens */ | 492 gpu::ReadWriteTokens) /* tokens */ |
| 493 | 493 |
| 494 // Send reset request to the decoder. | 494 // Send reset request to the decoder. |
| 495 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_Reset, | 495 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_Reset, |
| 496 gpu::ReadWriteTokens) /* tokens */ | 496 gpu::ReadWriteTokens) /* tokens */ |
| 497 | 497 |
| 498 // Send destroy request to the decoder. | 498 // Send destroy request to the decoder. |
| 499 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_Destroy, | 499 IPC_SYNC_MESSAGE_ROUTED1_0(AcceleratedVideoDecoderMsg_Destroy, |
| 500 gpu::ReadWriteTokens) /* tokens */ | 500 gpu::ReadWriteTokens) /* tokens */ |
| 501 | 501 |
| 502 //------------------------------------------------------------------------------ | 502 //------------------------------------------------------------------------------ |
| 503 // Accelerated Video Decoder Host Messages | 503 // Accelerated Video Decoder Host Messages |
| 504 // These messages are sent from GPU process to Renderer process. | 504 // These messages are sent from GPU process to Renderer process. |
| 505 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been | 505 // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been |
| 506 // created. | 506 // created. |
| 507 | 507 |
| 508 // Accelerated video decoder has consumed input buffer from transfer buffer. | 508 // Accelerated video decoder has consumed input buffer from transfer buffer. |
| 509 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_BitstreamBufferProcessed, | 509 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_BitstreamBufferProcessed, |
| 510 int32) /* Processed buffer ID */ | 510 int32) /* Processed buffer ID */ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 529 int32, /* Bitstream buffer ID */ | 529 int32, /* Bitstream buffer ID */ |
| 530 gfx::Size, /* Visible size */ | 530 gfx::Size, /* Visible size */ |
| 531 gfx::Size) /* Decoded size */ | 531 gfx::Size) /* Decoded size */ |
| 532 | 532 |
| 533 // Confirm decoder has been flushed. | 533 // Confirm decoder has been flushed. |
| 534 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 534 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
| 535 | 535 |
| 536 // Confirm decoder has been reset. | 536 // Confirm decoder has been reset. |
| 537 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 537 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 538 | 538 |
| 539 // Confirm decoder has been destroyed. | |
| 540 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_DestroyDone) | |
| 541 | |
| 542 // Decoder has faced end of stream marker in the stream. | 539 // Decoder has faced end of stream marker in the stream. |
| 543 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) | 540 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) |
| 544 | 541 |
| 545 // Video decoder has encountered an error. | 542 // Video decoder has encountered an error. |
| 546 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 543 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 547 uint32) /* Error ID */ | 544 uint32) /* Error ID */ |
| OLD | NEW |