Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_video_frame.h
Go to the documentation of this file.
1 /* Copyright 2014 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 ppb_video_frame.idl modified Thu Oct 20 13:57:04 2016. */
7 
8 #ifndef PPAPI_C_PPB_VIDEO_FRAME_H_
9 #define PPAPI_C_PPB_VIDEO_FRAME_H_
10 
11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_macros.h"
13 #include "ppapi/c/pp_resource.h"
14 #include "ppapi/c/pp_size.h"
15 #include "ppapi/c/pp_stdint.h"
16 #include "ppapi/c/pp_time.h"
17 
18 #define PPB_VIDEOFRAME_INTERFACE_0_1 "PPB_VideoFrame;0.1"
19 #define PPB_VIDEOFRAME_INTERFACE PPB_VIDEOFRAME_INTERFACE_0_1
20 
31 typedef enum {
91  void (*SetTimestamp)(PP_Resource frame, PP_TimeDelta timestamp);
112  PP_Bool (*GetSize)(PP_Resource frame, struct PP_Size* size);
121  void* (*GetDataBuffer)(PP_Resource frame);
130  uint32_t (*GetDataBufferSize)(PP_Resource frame);
131 };
132 
133 typedef struct PPB_VideoFrame_0_1 PPB_VideoFrame;
138 #endif /* PPAPI_C_PPB_VIDEO_FRAME_H_ */
139 
Definition: ppb_video_frame.h:35
PP_Bool(* IsVideoFrame)(PP_Resource resource)
Definition: ppb_video_frame.h:70
PP_VideoFrame_Format(* GetFormat)(PP_Resource frame)
Definition: ppb_video_frame.h:101
PP_TimeDelta(* GetTimestamp)(PP_Resource frame)
Definition: ppb_video_frame.h:80
int32_t PP_Resource
Definition: pp_resource.h:40
Definition: ppb_video_frame.h:61
PP_VideoFrame_Format
Definition: ppb_video_frame.h:31
Definition: ppb_video_frame.h:47
Definition: ppb_video_frame.h:43
Definition: ppb_video_frame.h:39
Definition: ppb_video_frame.h:51
PP_Bool(* GetSize)(PP_Resource frame, struct PP_Size *size)
Definition: ppb_video_frame.h:112
void(* SetTimestamp)(PP_Resource frame, PP_TimeDelta timestamp)
Definition: ppb_video_frame.h:91
PP_Bool
Definition: pp_bool.h:30
double PP_TimeDelta
Definition: pp_time.h:49
uint32_t(* GetDataBufferSize)(PP_Resource frame)
Definition: ppb_video_frame.h:130
Definition: pp_size.h:27