Chromium Code Reviews| 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_ |