Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_video_destination_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_destination_private.idl,
7  * modified Thu Oct 20 13:57:04 2016.
8  */
9 
10 #ifndef PPAPI_C_PRIVATE_PPB_VIDEO_DESTINATION_PRIVATE_H_
11 #define PPAPI_C_PRIVATE_PPB_VIDEO_DESTINATION_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_VIDEODESTINATION_PRIVATE_INTERFACE_0_1 \
24  "PPB_VideoDestination_Private;0.1"
25 #define PPB_VIDEODESTINATION_PRIVATE_INTERFACE \
26  PPB_VIDEODESTINATION_PRIVATE_INTERFACE_0_1
27 
83  int32_t (*Open)(PP_Resource destination,
84  struct PP_Var stream_url,
85  struct PP_CompletionCallback callback);
105  int32_t (*PutFrame)(PP_Resource destination,
106  const struct PP_VideoFrame_Private* frame);
113  void (*Close)(PP_Resource destination);
114 };
115 
121 #endif /* PPAPI_C_PRIVATE_PPB_VIDEO_DESTINATION_PRIVATE_H_ */
122 
PP_Bool(* IsVideoDestination)(PP_Resource resource)
Definition: ppb_video_destination_private.h:65
int32_t(* PutFrame)(PP_Resource destination, const struct PP_VideoFrame_Private *frame)
Definition: ppb_video_destination_private.h:105
Definition: pp_video_frame_private.h:31
Definition: ppb_video_destination_private.h:45
int32_t PP_Resource
Definition: pp_resource.h:40
int32_t(* Open)(PP_Resource destination, struct PP_Var stream_url, struct PP_CompletionCallback callback)
Definition: ppb_video_destination_private.h:83
Definition: pp_var.h:166
PP_Resource(* Create)(PP_Instance instance)
Definition: ppb_video_destination_private.h:55
int32_t PP_Instance
Definition: pp_instance.h:34
PP_Bool
Definition: pp_bool.h:30
Definition: pp_completion_callback.h:139
void(* Close)(PP_Resource destination)
Definition: ppb_video_destination_private.h:113