Rename desktop_cursor_loader_updater_aurax11.
[chromium-blink-merge.git] / ppapi / api / dev / pp_video_capture_dev.idl
blob7acee8906805dc48696ad7f5ad00147aaccf03ca
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
6 /**
7 * Structs for dealing with video capture.
8 */
10 /**
11 * PP_VideoCaptureDeviceInfo_Dev is a structure that represent a video capture
12 * configuration, such as resolution and frame rate.
14 [assert_size(12)]
15 struct PP_VideoCaptureDeviceInfo_Dev {
16 uint32_t width;
17 uint32_t height;
18 uint32_t frames_per_second;
21 /**
22 * PP_VideoCaptureStatus_Dev is an enumeration that defines the various possible
23 * states of a VideoCapture.
25 [assert_size(4)]
26 enum PP_VideoCaptureStatus_Dev {
27 /**
28 * Initial state, capture is stopped.
30 PP_VIDEO_CAPTURE_STATUS_STOPPED = 0,
31 /**
32 * StartCapture has been called, but capture hasn't started yet.
34 PP_VIDEO_CAPTURE_STATUS_STARTING = 1,
35 /**
36 * Capture has been started.
38 PP_VIDEO_CAPTURE_STATUS_STARTED = 2,
39 /**
40 * Capture has been started, but is paused because no buffer is available.
42 PP_VIDEO_CAPTURE_STATUS_PAUSED = 3,
43 /**
44 * StopCapture has been called, but capture hasn't stopped yet.
46 PP_VIDEO_CAPTURE_STATUS_STOPPING = 4