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

Unified Diff: content/common/gpu/media/vt_video_decode_accelerator_mac.h

Issue 1842673003: Revert of 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: content/common/gpu/media/vt_video_decode_accelerator_mac.h
diff --git a/content/common/gpu/media/vt_video_decode_accelerator_mac.h b/content/common/gpu/media/vt_video_decode_accelerator_mac.h
index c3e75e9e860b6fe2c562aa99fca9e61b6d1c4f6b..2d222163823e4e7cf603d444761741c4c131c059 100644
--- a/content/common/gpu/media/vt_video_decode_accelerator_mac.h
+++ b/content/common/gpu/media/vt_video_decode_accelerator_mac.h
@@ -35,8 +35,9 @@
class VTVideoDecodeAccelerator : public media::VideoDecodeAccelerator {
public:
explicit VTVideoDecodeAccelerator(
- const MakeContextCurrentCallback& make_context_current,
- const BindImageCallback& bind_image);
+ const base::Callback<bool(void)>& make_context_current,
+ const base::Callback<
+ void(uint32_t, uint32_t, scoped_refptr<gl::GLImage>)>& bind_image);
~VTVideoDecodeAccelerator() override;
// VideoDecodeAccelerator implementation.
@@ -188,8 +189,9 @@
//
// GPU thread state.
//
- MakeContextCurrentCallback make_context_current_;
- BindImageCallback bind_image_;
+ base::Callback<bool(void)> make_context_current_;
+ base::Callback<void(uint32_t, uint32_t, scoped_refptr<gl::GLImage>)>
+ bind_image_;
media::VideoDecodeAccelerator::Client* client_;
State state_;

Powered by Google App Engine
This is Rietveld 408576698