Pepper_47_C_interfaces
pp_video_capture_format.h
Go to the documentation of this file.
1 /* Copyright 2015 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  */
5 
6 /* From private/pp_video_capture_format.idl,
7  * modified Thu Oct 20 13:57:04 2016.
8  */
9 
10 #ifndef PPAPI_C_PRIVATE_PP_VIDEO_CAPTURE_FORMAT_H_
11 #define PPAPI_C_PRIVATE_PP_VIDEO_CAPTURE_FORMAT_H_
12 
13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_size.h"
15 #include "ppapi/c/pp_stdint.h"
16 
17 /**
18  * @file
19  * This file defines the struct used to hold a video capture format.
20  */
21 
22 
23 /**
24  * @addtogroup Structs
25  * @{
26  */
27 /**
28  * The <code>PP_VideoCaptureFormat</code> struct represents a video capture
29  * format.
30  */
32  /**
33  * Frame size in pixels.
34  */
36  /**
37  * Frame rate in frames per second.
38  */
39  float frame_rate;
40 };
42 /**
43  * @}
44  */
45 
46 #endif /* PPAPI_C_PRIVATE_PP_VIDEO_CAPTURE_FORMAT_H_ */
47 
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_VideoCaptureFormat, 12)