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

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: Handle the offset with a helper class Created 5 years 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 d463ef0f792f1ab162740e3d8fb38dee9003e053..b0d1863c79ffa7fc06c89b99c786ff45465ad53f 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -136,6 +136,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, input_buffer_size)
+ IPC_STRUCT_MEMBER(uint32, input_buffer_offset)
IPC_STRUCT_MEMBER(base::SharedMemoryHandle, output_video_frame_handle)
IPC_STRUCT_MEMBER(uint32, output_buffer_size)
IPC_STRUCT_END()
@@ -144,6 +145,7 @@ IPC_STRUCT_BEGIN(AcceleratedVideoDecoderMsg_Decode_Params)
IPC_STRUCT_MEMBER(int32, bitstream_buffer_id)
IPC_STRUCT_MEMBER(base::SharedMemoryHandle, buffer_handle)
IPC_STRUCT_MEMBER(uint32, size)
+ IPC_STRUCT_MEMBER(uint32, 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