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

Unified Diff: content/common/gpu/gpu_messages.h

Issue 1541353002: Add offset support to BitstreamBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address dcheng's comments Created 4 years, 11 months 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 side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/gpu_messages.h
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
index cfe01a347a76f0a0cf9e32d082fa8d40d492a0e1..10754851ebbf6a5959750020bc8e47171941cb19 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -144,6 +144,7 @@ IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params)
IPC_STRUCT_MEMBER(gfx::Size, coded_size)
IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle)
IPC_STRUCT_MEMBER(uint32_t, input_buffer_size)
+ IPC_STRUCT_MEMBER(uint32_t, input_buffer_offset)
IPC_STRUCT_MEMBER(base::SharedMemoryHandle, output_video_frame_handle)
IPC_STRUCT_MEMBER(uint32_t, output_buffer_size)
IPC_STRUCT_END()
@@ -152,6 +153,7 @@ IPC_STRUCT_BEGIN(AcceleratedVideoDecoderMsg_Decode_Params)
IPC_STRUCT_MEMBER(int32_t, bitstream_buffer_id)
IPC_STRUCT_MEMBER(base::SharedMemoryHandle, buffer_handle)
IPC_STRUCT_MEMBER(uint32_t, size)
+ IPC_STRUCT_MEMBER(uint32_t, offset)
IPC_STRUCT_MEMBER(base::TimeDelta, presentation_timestamp)
IPC_STRUCT_MEMBER(std::string, key_id)
IPC_STRUCT_MEMBER(std::string, iv)

Powered by Google App Engine
This is Rietveld 408576698