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

Unified Diff: media/base/video_frame.h

Issue 1228843003: Revert of Change the video color space default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/ffmpeg/ffmpeg_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_frame.h
diff --git a/media/base/video_frame.h b/media/base/video_frame.h
index b97ee1b98d3c7a05db7966bf5fb1cc7933da17ef..2588e46e99d96b6dd8156feee0da1450e241ca90 100644
--- a/media/base/video_frame.h
+++ b/media/base/video_frame.h
@@ -62,14 +62,14 @@
FORMAT_MAX = XRGB, // Must always be equal to largest entry logged.
};
- // Color space or color range used for the pixels.
+ // Color space or color range used for the pixels, in general this is left
+ // unspecified, meaning Rec601 (SD) is assumed.
// 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_SD_REC601 = 3, // Rec601 "SD" color space.
- COLOR_SPACE_MAX = COLOR_SPACE_SD_REC601,
+ COLOR_SPACE_MAX = COLOR_SPACE_HD_REC709,
};
// Defines the pixel storage type. Differentiates between directly accessible
« no previous file with comments | « media/base/video_decoder_config.cc ('k') | media/ffmpeg/ffmpeg_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698