Index: media/video/capture/video_capture_types.h |
diff --git a/media/video/capture/video_capture_types.h b/media/video/capture/video_capture_types.h |
index 36cc54ad827955005e5fd566afa1dae78dfb1f29..9eee9cf8f3b8e214b7544cb303bb65d15248a00b 100644 |
--- a/media/video/capture/video_capture_types.h |
+++ b/media/video/capture/video_capture_types.h |
@@ -16,18 +16,18 @@ namespace media { |
// shared with device manager. |
typedef int VideoCaptureSessionId; |
-// Color formats from camera. |
+// Color formats from camera. This list is sorted in order of preference. |
enum VideoPixelFormat { |
mcasas
2014/10/13 08:18:45
You have to update histograms.xml as well
https://
|
- PIXEL_FORMAT_UNKNOWN, // Color format not set. |
PIXEL_FORMAT_I420, |
- PIXEL_FORMAT_YUY2, |
+ PIXEL_FORMAT_YV12, |
+ PIXEL_FORMAT_NV21, |
PIXEL_FORMAT_UYVY, |
+ PIXEL_FORMAT_YUY2, |
PIXEL_FORMAT_RGB24, |
PIXEL_FORMAT_ARGB, |
PIXEL_FORMAT_MJPEG, |
- PIXEL_FORMAT_NV21, |
- PIXEL_FORMAT_YV12, |
PIXEL_FORMAT_TEXTURE, // Capture format as a GL texture. |
+ PIXEL_FORMAT_UNKNOWN, // Color format not set. |
PIXEL_FORMAT_MAX, |
}; |