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

Unified Diff: media/video/capture/video_capture_types.h

Issue 10108009: Move VideoCapture::VideoCaptureCapability to video_capture_types.h (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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/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 724f2430e58f25b80a8cdd4f37a3788a14d0e4ea..09bd5ca45a4e7ee202527ce6a49fc41700a357da 100644
--- a/media/video/capture/video_capture_types.h
+++ b/media/video/capture/video_capture_types.h
@@ -5,6 +5,8 @@
#ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_TYPES_H_
#define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_TYPES_H_
+#include "media/base/video_frame.h"
+
namespace media {
// TODO(wjia): this type should be defined in a common place and
@@ -19,6 +21,16 @@ struct VideoCaptureParams {
VideoCaptureSessionId session_id;
};
+// Capabilities describe the format a camera capture video in.
+struct VideoCaptureCapability {
+ int width; // desired width.
scherkus (not reviewing) 2012/04/17 17:39:23 nit: captialize first letters on these comments
+ int height; // desired height.
+ int frame_rate; // desired frame rate.
+ media::VideoFrame::Format color; // desired video type.
+ int expected_capture_delay; // expected delay in millisecond.
+ bool interlaced; // need interlace format.
+};
+
} // namespace media
#endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698