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

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 review comment and fix one flush issue 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 2f84f97ffc4c6a724acdc531c933d237e2ac34c5..9938ff39b4545e673ad4deb38e7bb7094d4e6ebb 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -139,6 +139,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()
@@ -147,6 +148,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