Chromium Code Reviews| 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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 379 int32 /* id */) | 379 int32 /* id */) |
| 380 | 380 |
| 381 // Get the shared memory handle for a transfer buffer mapped to the callers | 381 // Get the shared memory handle for a transfer buffer mapped to the callers |
| 382 // process. | 382 // process. |
| 383 IPC_SYNC_MESSAGE_ROUTED1_2(GpuCommandBufferMsg_GetTransferBuffer, | 383 IPC_SYNC_MESSAGE_ROUTED1_2(GpuCommandBufferMsg_GetTransferBuffer, |
| 384 int32 /* id */, | 384 int32 /* id */, |
| 385 base::SharedMemoryHandle /* transfer_buffer */, | 385 base::SharedMemoryHandle /* transfer_buffer */, |
| 386 uint32 /* size */) | 386 uint32 /* size */) |
| 387 | 387 |
| 388 // Create and initialize a hardware video decoder. | 388 // Create and initialize a hardware video decoder. |
| 389 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_CreateVideoDecoder, | 389 IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_CreateVideoDecoder, |
| 390 std::vector<uint32> /* configs */) | 390 std::vector<uint32> /* configs */) |
| 391 | 391 |
| 392 // Release all resources held by the hardware video decoder associated with this | 392 // Release all resources held by the hardware video decoder associated with this |
| 393 // stub. | 393 // stub. |
| 394 IPC_SYNC_MESSAGE_ROUTED0_0(GpuCommandBufferMsg_DestroyVideoDecoder) | 394 IPC_SYNC_MESSAGE_ROUTED0_0(GpuCommandBufferMsg_DestroyVideoDecoder) |
| 395 | 395 |
| 396 // Send from command buffer stub to proxy when window is invalid and must be | 396 // Send from command buffer stub to proxy when window is invalid and must be |
| 397 // repainted. | 397 // repainted. |
| 398 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_NotifyRepaint) | 398 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_NotifyRepaint) |
| 399 | 399 |
| 400 // Tells the GPU process to resize an offscreen frame buffer. | 400 // Tells the GPU process to resize an offscreen frame buffer. |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 490 // Accelerated video decoder has consumed input buffer from transfer buffer. | 490 // Accelerated video decoder has consumed input buffer from transfer buffer. |
| 491 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_BitstreamBufferProcessed, | 491 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_BitstreamBufferProcessed, |
| 492 int32) /* Processed buffer ID */ | 492 int32) /* Processed buffer ID */ |
| 493 | 493 |
| 494 // Allocate video frames for output of the hardware video decoder. | 494 // Allocate video frames for output of the hardware video decoder. |
| 495 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers, | 495 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers, |
| 496 int32, /* Number of video frames to generate */ | 496 int32, /* Number of video frames to generate */ |
| 497 gfx::Size) /* Requested size of buffer */ | 497 gfx::Size) /* Requested size of buffer */ |
| 498 | 498 |
| 499 // Notify client that decoder has been initialized. | 499 // Notify client that decoder has been initialized. |
| 500 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_InitializeDone) | 500 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_InitializeDone) |
|
piman
2011/07/28 23:40:59
This message isn't used any more, right ? Remove ?
Ami GONE FROM CHROMIUM
2011/07/29 05:58:48
Right. Done.
| |
| 501 | 501 |
| 502 // Decoder reports that a picture is ready and buffer does not need to be passed | 502 // Decoder reports that a picture is ready and buffer does not need to be passed |
| 503 // back to the decoder. | 503 // back to the decoder. |
| 504 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, | 504 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, |
| 505 int32) /* Picture buffer ID */ | 505 int32) /* Picture buffer ID */ |
| 506 | 506 |
| 507 // Decoder reports that a picture is ready. | 507 // Decoder reports that a picture is ready. |
| 508 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_PictureReady, | 508 IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_PictureReady, |
| 509 int32, /* Picture buffer ID */ | 509 int32, /* Picture buffer ID */ |
| 510 int32) /* Bitstream buffer ID */ | 510 int32) /* Bitstream buffer ID */ |
| 511 | 511 |
| 512 // Confirm decoder has been flushed. | 512 // Confirm decoder has been flushed. |
| 513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
| 514 | 514 |
| 515 // Confirm decoder has been reset. | 515 // Confirm decoder has been reset. |
| 516 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 516 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 517 | 517 |
| 518 // Decoder has faced end of stream marker in the stream. | 518 // Decoder has faced end of stream marker in the stream. |
| 519 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) | 519 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) |
| 520 | 520 |
| 521 // Video decoder has encountered an error. | 521 // Video decoder has encountered an error. |
| 522 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 522 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 523 uint32) /* Error ID */ | 523 uint32) /* Error ID */ |
| OLD | NEW |