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

Unified Diff: cc/resources/video_resource_updater.h

Issue 2461423002: Reland "Fix HTML5 video blurry" (Closed)
Patch Set: rebase to ToT Created 4 years, 1 month 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: cc/resources/video_resource_updater.h
diff --git a/cc/resources/video_resource_updater.h b/cc/resources/video_resource_updater.h
index b9b5b95c02631e476cf1fbd76347af5052506b42..a5a40595a6e6f6450005b4b462b891fa33aa2350 100644
--- a/cc/resources/video_resource_updater.h
+++ b/cc/resources/video_resource_updater.h
@@ -20,6 +20,7 @@
#include "cc/resources/release_callback_impl.h"
#include "cc/resources/resource_format.h"
#include "cc/resources/texture_mailbox.h"
+#include "media/base/video_types.h"
#include "ui/gfx/geometry/size.h"
namespace media {
@@ -103,6 +104,9 @@ class CC_EXPORT VideoResourceUpdater
static std::unique_ptr<HalfFloatMaker> NewHalfFloatMaker(
int bits_per_channel);
+ ResourceFormat YuvResourceFormat(int bits,
+ media::VideoPixelFormat format) const;
+
private:
class PlaneResource {
public:

Powered by Google App Engine
This is Rietveld 408576698