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.
6 /* From private/pp_video_capture_format.idl,
7 * modified Wed Feb 18 01:41:26 2015.
10 #ifndef PPAPI_C_PRIVATE_PP_VIDEO_CAPTURE_FORMAT_H_
11 #define PPAPI_C_PRIVATE_PP_VIDEO_CAPTURE_FORMAT_H_
13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_size.h"
15 #include "ppapi/c/pp_stdint.h"
19 * This file defines the struct used to hold a video capture format.
28 * The <code>PP_VideoCaptureFormat</code> struct represents a video capture
31 struct PP_VideoCaptureFormat
{
33 * Frame size in pixels.
35 struct PP_Size frame_size
;
37 * Frame rate in frames per second.
41 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_VideoCaptureFormat
, 12);
46 #endif /* PPAPI_C_PRIVATE_PP_VIDEO_CAPTURE_FORMAT_H_ */