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

Unified Diff: media/base/video_types.h

Issue 1230593005: Reland: Change the video color space default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: big rebase Created 5 years, 5 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_decoder_config.cc ('k') | media/cast/sender/h264_vt_encoder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_types.h
diff --git a/media/base/video_types.h b/media/base/video_types.h
index 7ea47bd105168122802c662b05e71b64d33c1ec5..2d260ca664f92b6f60edcc4d8b334d471673aaca 100644
--- a/media/base/video_types.h
+++ b/media/base/video_types.h
@@ -34,14 +34,14 @@ enum VideoPixelFormat {
PIXEL_FORMAT_XRGB, // Must always be equal to largest entry logged.
};
-// Color space or color range used for the pixels, in general this is left
-// unspecified, meaning Rec601 (SD) is assumed.
+// Color space or color range used for the pixels.
// Logged to UMA, so never reuse values. Leave gaps if necessary.
enum ColorSpace {
COLOR_SPACE_UNSPECIFIED = 0, // In general this is Rec601.
COLOR_SPACE_JPEG = 1, // JPEG color range.
COLOR_SPACE_HD_REC709 = 2, // Rec709 "HD" color space.
- COLOR_SPACE_MAX = COLOR_SPACE_HD_REC709,
+ COLOR_SPACE_SD_REC601 = 3, // Rec601 "SD" color space.
+ COLOR_SPACE_MAX = COLOR_SPACE_SD_REC601,
};
// Returns the name of a Format as a string.
« no previous file with comments | « media/base/video_decoder_config.cc ('k') | media/cast/sender/h264_vt_encoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698