Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_video_source_private.h
Go to the documentation of this file.
1 /* Copyright (c) 2013 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/ppb_video_source_private.idl,
7  * modified Thu Oct 20 13:57:04 2016.
8  */
9 
10 #ifndef PPAPI_C_PRIVATE_PPB_VIDEO_SOURCE_PRIVATE_H_
11 #define PPAPI_C_PRIVATE_PPB_VIDEO_SOURCE_PRIVATE_H_
12 
13 #include "ppapi/c/pp_bool.h"
15 #include "ppapi/c/pp_instance.h"
16 #include "ppapi/c/pp_macros.h"
17 #include "ppapi/c/pp_resource.h"
18 #include "ppapi/c/pp_stdint.h"
19 #include "ppapi/c/pp_time.h"
20 #include "ppapi/c/pp_var.h"
22 
23 #define PPB_VIDEOSOURCE_PRIVATE_INTERFACE_0_1 "PPB_VideoSource_Private;0.1"
24 #define PPB_VIDEOSOURCE_PRIVATE_INTERFACE PPB_VIDEOSOURCE_PRIVATE_INTERFACE_0_1
25 
79  int32_t (*Open)(PP_Resource source,
80  struct PP_Var stream_url,
81  struct PP_CompletionCallback callback);
100  int32_t (*GetFrame)(PP_Resource source,
101  struct PP_VideoFrame_Private* frame,
102  struct PP_CompletionCallback callback);
109  void (*Close)(PP_Resource source);
110 };
111 
117 #endif /* PPAPI_C_PRIVATE_PPB_VIDEO_SOURCE_PRIVATE_H_ */
118 
int32_t(* Open)(PP_Resource source, struct PP_Var stream_url, struct PP_CompletionCallback callback)
Definition: ppb_video_source_private.h:79
PP_Bool(* IsVideoSource)(PP_Resource resource)
Definition: ppb_video_source_private.h:62
Definition: pp_video_frame_private.h:31
void(* Close)(PP_Resource source)
Definition: ppb_video_source_private.h:109
Definition: ppb_video_source_private.h:43
int32_t(* GetFrame)(PP_Resource source, struct PP_VideoFrame_Private *frame, struct PP_CompletionCallback callback)
Definition: ppb_video_source_private.h:100
int32_t PP_Resource
Definition: pp_resource.h:40
Definition: pp_var.h:166
int32_t PP_Instance
Definition: pp_instance.h:34
PP_Bool
Definition: pp_bool.h:30
PP_Resource(* Create)(PP_Instance instance)
Definition: ppb_video_source_private.h:53
Definition: pp_completion_callback.h:139