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

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: Fix content_unittests build failure 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
« no previous file with comments | « media/video/capture/video_capture.h ('k') | webkit/plugins/ppapi/ppb_video_capture_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a9da488c672a7734358c26c892f554610012fefe 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.
+ 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_
« no previous file with comments | « media/video/capture/video_capture.h ('k') | webkit/plugins/ppapi/ppb_video_capture_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698