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

Unified Diff: media/base/video_types.h

Issue 2122573003: media: replace LUMINANCE_F16 by RG_88 for 9/10-bit h264 videos Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: introduce --disable-half-float-conversion-texture flag Created 4 years, 3 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_types.h
diff --git a/media/base/video_types.h b/media/base/video_types.h
index 7590b1b3a25d4e67a0018eda302f129861aa7cdd..8b225fb3f15db6b4465745b234fcf4963d07a4d4 100644
--- a/media/base/video_types.h
+++ b/media/base/video_types.h
@@ -53,10 +53,11 @@ enum VideoPixelFormat {
PIXEL_FORMAT_YUV422P10 = 19,
PIXEL_FORMAT_YUV444P9 = 20,
PIXEL_FORMAT_YUV444P10 = 21,
-
+ PIXEL_FORMAT_Y8 = 22, // single 8bpp plane.
+ PIXEL_FORMAT_Y16 = 23, // single 16bpp plane.
// Please update UMA histogram enumeration when adding new formats here.
PIXEL_FORMAT_MAX =
- PIXEL_FORMAT_YUV444P10, // Must always be equal to largest entry logged.
+ PIXEL_FORMAT_Y16, // Must always be equal to largest entry logged.
};
// Color space or color range used for the pixels.
« cc/output/shader.cc ('K') | « media/base/video_frame.cc ('k') | media/base/video_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698