Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: content/common/gpu/gpu_messages.h

Issue 8510039: Initial implementation of the DXVA 2.0 H.264 hardware decoder for pepper for Windows. The decodin... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 454
455 // Notify a texture has been updated. The texture id is in the client context. 455 // Notify a texture has been updated. The texture id is in the client context.
456 IPC_MESSAGE_ROUTED1(GpuTransportTextureHostMsg_TextureUpdated, 456 IPC_MESSAGE_ROUTED1(GpuTransportTextureHostMsg_TextureUpdated,
457 int /* texture_id */) 457 int /* texture_id */)
458 458
459 //------------------------------------------------------------------------------ 459 //------------------------------------------------------------------------------
460 // Accelerated Video Decoder Messages 460 // Accelerated Video Decoder Messages
461 // These messages are sent from Renderer process to GPU process. 461 // These messages are sent from Renderer process to GPU process.
462 462
463 // Send input buffer for decoding. 463 // Send input buffer for decoding.
464 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, 464 IPC_MESSAGE_ROUTED4(AcceleratedVideoDecoderMsg_Decode,
465 base::SharedMemoryHandle, /* input_buffer_handle */ 465 base::SharedMemoryHandle, /* input_buffer_handle */
466 int32, /* bitstream_buffer_id */ 466 int32, /* bitstream_buffer_id */
467 int32) /* size */ 467 int32, /* size */
468 int32 /* sender process id */)
468 469
469 // Sent from Renderer process to the GPU process to give the texture IDs for 470 // Sent from Renderer process to the GPU process to give the texture IDs for
470 // the textures the decoder will use for output. 471 // the textures the decoder will use for output.
471 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_AssignPictureBuffers, 472 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_AssignPictureBuffers,
472 std::vector<int32>, /* Picture buffer ID */ 473 std::vector<int32>, /* Picture buffer ID */
473 std::vector<uint32>, /* Texture ID */ 474 std::vector<uint32>, /* Texture ID */
474 std::vector<gfx::Size>) /* Size */ 475 std::vector<gfx::Size>) /* Size */
475 476
476 // Send from Renderer process to the GPU process to recycle the given picture 477 // Send from Renderer process to the GPU process to recycle the given picture
477 // buffer for further decoding. 478 // buffer for further decoding.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 518
518 // Confirm decoder has been reset. 519 // Confirm decoder has been reset.
519 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 520 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
520 521
521 // Decoder has faced end of stream marker in the stream. 522 // Decoder has faced end of stream marker in the stream.
522 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) 523 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream)
523 524
524 // Video decoder has encountered an error. 525 // Video decoder has encountered an error.
525 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 526 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
526 uint32) /* Error ID */ 527 uint32) /* Error ID */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698