| 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_
|
|
|