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

Unified Diff: media/base/video_color_space.h

Issue 2746013006: use VideoColorSpace in decoder configuration (Closed)
Patch Set: oops, win compile fix reapplied Created 3 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
« no previous file with comments | « media/base/video_codecs.cc ('k') | media/base/video_color_space.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_color_space.h
diff --git a/media/base/video_color_space.h b/media/base/video_color_space.h
index c8a6a0ce4f728c0e5d82e6307d56de4c95f4f369..59ec578e1d22715dda4f4c76d27d42679a9169dd 100644
--- a/media/base/video_color_space.h
+++ b/media/base/video_color_space.h
@@ -80,13 +80,18 @@ class MEDIA_EXPORT VideoColorSpace {
MatrixID matrix,
gfx::ColorSpace::RangeID range);
+ bool operator==(const VideoColorSpace& other) const;
+ bool operator!=(const VideoColorSpace& other) const;
+
// These will return INVALID if the number you give it
// is not a valid enum value.
static PrimaryID GetPrimaryID(int primary);
static TransferID GetTransferID(int transfer);
static MatrixID GetMatrixID(int matrix);
- static VideoColorSpace BT709();
+ static VideoColorSpace REC709();
+ static VideoColorSpace REC601();
+ static VideoColorSpace JPEG();
gfx::ColorSpace ToGfxColorSpace() const;
« no previous file with comments | « media/base/video_codecs.cc ('k') | media/base/video_color_space.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698