media: VideoFrame: add offset for shared memory buffers
commitc12f2b27581d575b3bbd9b668a4c521703eafda3
authorlionel.g.landwerlin <lionel.g.landwerlin@intel.com>
Mon, 9 Feb 2015 23:27:34 +0000 (9 15:27 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 9 Feb 2015 23:28:22 +0000 (9 23:28 +0000)
treec87d0fbc68333dc7ca9bd71a3db6af0f0260cb7b
parent7a9ac6310a6ce95821213461911d7650654215dc
media: VideoFrame: add offset for shared memory buffers

Frames' data could be located at an offset within a shared memory
buffer. This adds metadata into media::VideoFrame to support this use
case.

BUG=455409
TEST=none

Review URL: https://codereview.chromium.org/877353002

Cr-Commit-Position: refs/heads/master@{#315428}
content/browser/media/capture/content_video_capture_device_core.cc
content/browser/renderer_host/media/video_capture_controller.cc
content/browser/renderer_host/media/video_capture_controller_unittest.cc
content/common/gpu/client/gpu_video_encode_accelerator_host.cc
content/common/gpu/gpu_messages.h
content/common/gpu/media/gpu_video_encode_accelerator.cc
content/common/gpu/media/gpu_video_encode_accelerator.h
content/renderer/media/rtc_video_encoder.cc
content/renderer/media/video_capture_impl.cc
media/base/video_frame.cc
media/base/video_frame.h