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

Unified Diff: media/video/video_decode_accelerator.h

Issue 1822173002: Mac: Decode hardware to 420 instead of 422 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: media/video/video_decode_accelerator.h
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h
index ad73432b37ebb265cb9957cd72394abfa2083c6a..1b6e760abf4216501d67aafb8d1ed3d7811e77be 100644
--- a/media/video/video_decode_accelerator.h
+++ b/media/video/video_decode_accelerator.h
@@ -15,6 +15,7 @@
#include "media/base/video_decoder_config.h"
#include "media/video/picture.h"
#include "ui/gfx/geometry/size.h"
+#include "ui/gl/gl_image.h"
typedef unsigned int GLenum;
@@ -37,6 +38,11 @@ class MEDIA_EXPORT VideoDecodeAccelerator {
};
using SupportedProfiles = std::vector<SupportedProfile>;
+ typedef base::Callback<bool(void)> MakeContextCurrentCallback;
+ typedef base::Callback<
+ void(uint32_t, uint32_t, scoped_refptr<gl::GLImage>, bool)>
+ BindImageCallback;
sandersd (OOO until July 31) 2016/03/22 21:32:29 Nit: prefer using syntax (see line 39).
ccameron 2016/03/22 22:00:04 Done.
+
struct MEDIA_EXPORT Capabilities {
Capabilities();
Capabilities(const Capabilities& other);

Powered by Google App Engine
This is Rietveld 408576698