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

Unified Diff: media/mojo/common/mojo_shared_buffer_video_frame.h

Issue 1699553002: Mojo Video Capture service in media/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: perkj@s comments and renaming Created 4 years, 9 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
« no previous file with comments | « media/capture/service/video_capture_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/common/mojo_shared_buffer_video_frame.h
diff --git a/media/mojo/common/mojo_shared_buffer_video_frame.h b/media/mojo/common/mojo_shared_buffer_video_frame.h
index 9d470fd3a9102dd9323a20fe1673b67f68f996aa..028d87f61ed5177436f659890a4646d9165c0c7c 100644
--- a/media/mojo/common/mojo_shared_buffer_video_frame.h
+++ b/media/mojo/common/mojo_shared_buffer_video_frame.h
@@ -53,6 +53,9 @@ class MEDIA_EXPORT MojoSharedBufferVideoFrame : public VideoFrame {
// |plane| specified.
size_t PlaneOffset(size_t plane) const;
+ mojo::SharedBufferHandle handle() { return shared_buffer_handle_.get(); }
+ size_t mapped_size() const { return shared_buffer_size_; }
+
private:
MojoSharedBufferVideoFrame(VideoPixelFormat format,
const gfx::Size& coded_size,
« no previous file with comments | « media/capture/service/video_capture_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698