Index: media/base/video_frame.h |
diff --git a/media/base/video_frame.h b/media/base/video_frame.h |
index 53ca5661042bc852528f6140e0cb34e878f45a98..b588d56a6e23219d5b8bb48dfb84895a333c88a2 100644 |
--- a/media/base/video_frame.h |
+++ b/media/base/video_frame.h |
@@ -137,6 +137,15 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
const gfx::Size& natural_size, |
base::TimeDelta timestamp); |
+ static scoped_refptr<VideoFrame> WrapNativeTextures( |
miu
2016/05/05 20:35:36
If you're going to add this, please delete WrapNat
|
+ VideoPixelFormat format, |
+ const gpu::MailboxHolder (&mailbox_holder)[kMaxPlanes], |
+ const ReleaseMailboxCB& mailbox_holders_release_cb, |
+ const gfx::Size& coded_size, |
+ const gfx::Rect& visible_rect, |
+ const gfx::Size& natural_size, |
+ base::TimeDelta timestamp); |
+ |
// Wraps a set of native textures representing YUV data with a VideoFrame. |
// |mailbox_holders_release_cb| will be called with a sync token as the |
// argument when the VideoFrame is to be destroyed. |