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

Unified Diff: media/base/video_frame.h

Issue 1942123002: Plumb decoded video pixel format from GPU process to renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | media/base/video_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | media/base/video_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698