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

Unified Diff: media/base/video_frame.h

Issue 2088273003: Video Color Managament (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use gfx::ColorProfile Created 4 years, 4 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/base/video_frame.h
diff --git a/media/base/video_frame.h b/media/base/video_frame.h
index e85d30d974f0187ca089146a5910c9a625652e27..4d08c3976c0fdecb2fe416a82030251a11875189 100644
--- a/media/base/video_frame.h
+++ b/media/base/video_frame.h
@@ -325,6 +325,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
// Returns the color space of this frame's content.
gfx::ColorSpace ColorSpace() const;
+ void set_color_space(const gfx::ColorSpace& color_space);
VideoPixelFormat format() const { return format_; }
StorageType storage_type() const { return storage_type_; }
@@ -578,6 +579,8 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
// Generated at construction time.
const int unique_id_;
+ gfx::ColorSpace color_space_;
+
DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame);
};

Powered by Google App Engine
This is Rietveld 408576698