| Index: media/gpu/ipc/common/media_messages.h
|
| diff --git a/media/gpu/ipc/common/media_messages.h b/media/gpu/ipc/common/media_messages.h
|
| index b48b3bdadd07981cddd2ca19cd770a83080b898d..8c4093c6a7a8e263e0bc423366dca7db77c91e52 100644
|
| --- a/media/gpu/ipc/common/media_messages.h
|
| +++ b/media/gpu/ipc/common/media_messages.h
|
| @@ -13,6 +13,7 @@
|
| #include "media/video/jpeg_decode_accelerator.h"
|
| #include "media/video/video_decode_accelerator.h"
|
| #include "media/video/video_encode_accelerator.h"
|
| +#include "ui/gfx/ipc/color/gfx_param_traits.h"
|
| #include "ui/gfx/ipc/gfx_param_traits.h"
|
|
|
| #define IPC_MESSAGE_START MediaMsgStart
|
| @@ -107,13 +108,16 @@ IPC_MESSAGE_ROUTED5(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers,
|
| IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer,
|
| int32_t) /* Picture buffer ID */
|
|
|
| +typedef std::pair<bool, bool> BoolPair;
|
| +
|
| // Decoder reports that a picture is ready.
|
| IPC_MESSAGE_ROUTED5(AcceleratedVideoDecoderHostMsg_PictureReady,
|
| - int32_t, /* Picture buffer ID */
|
| - int32_t, /* Bitstream buffer ID */
|
| - gfx::Rect, /* Visible rectangle */
|
| - bool, /* Buffer is HW overlay capable */
|
| - bool) /* VDA updated picture size */
|
| + int32_t, /* Picture buffer ID */
|
| + int32_t, /* Bitstream buffer ID */
|
| + gfx::Rect, /* Visible rectangle */
|
| + gfx::ColorSpace, /* color space */
|
| + BoolPair) /* Buffer is HW overlay capable */
|
| + /* VDA updated picture size */
|
|
|
| // Confirm decoder has been flushed.
|
| IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
|
|
|