Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c

Issue 126373003: [PPAPI] API definition for audio media stream artifacts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@video_track_impl_cl
Patch Set: Rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/c/ppb_media_stream_audio_track.h ('k') | ppapi/ppapi_sources.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* NOTE: this is auto-generated from IDL */ 6 /* NOTE: this is auto-generated from IDL */
7 #include "ppapi/generators/pnacl_shim.h" 7 #include "ppapi/generators/pnacl_shim.h"
8 8
9 #include "ppapi/c/ppb.h" 9 #include "ppapi/c/ppb.h"
10 #include "ppapi/c/dev/ppb_alarms_dev.h" 10 #include "ppapi/c/dev/ppb_alarms_dev.h"
(...skipping 27 matching lines...) Expand all
38 #include "ppapi/c/dev/ppp_scrollbar_dev.h" 38 #include "ppapi/c/dev/ppp_scrollbar_dev.h"
39 #include "ppapi/c/dev/ppp_selection_dev.h" 39 #include "ppapi/c/dev/ppp_selection_dev.h"
40 #include "ppapi/c/dev/ppp_text_input_dev.h" 40 #include "ppapi/c/dev/ppp_text_input_dev.h"
41 #include "ppapi/c/dev/ppp_video_capture_dev.h" 41 #include "ppapi/c/dev/ppp_video_capture_dev.h"
42 #include "ppapi/c/dev/ppp_video_decoder_dev.h" 42 #include "ppapi/c/dev/ppp_video_decoder_dev.h"
43 #include "ppapi/c/dev/ppp_widget_dev.h" 43 #include "ppapi/c/dev/ppp_widget_dev.h"
44 #include "ppapi/c/dev/ppp_zoom_dev.h" 44 #include "ppapi/c/dev/ppp_zoom_dev.h"
45 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h" 45 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h"
46 #include "ppapi/c/ppb_audio.h" 46 #include "ppapi/c/ppb_audio.h"
47 #include "ppapi/c/ppb_audio_config.h" 47 #include "ppapi/c/ppb_audio_config.h"
48 #include "ppapi/c/ppb_audio_frame.h"
48 #include "ppapi/c/ppb_console.h" 49 #include "ppapi/c/ppb_console.h"
49 #include "ppapi/c/ppb_core.h" 50 #include "ppapi/c/ppb_core.h"
50 #include "ppapi/c/ppb_file_io.h" 51 #include "ppapi/c/ppb_file_io.h"
51 #include "ppapi/c/ppb_file_ref.h" 52 #include "ppapi/c/ppb_file_ref.h"
52 #include "ppapi/c/ppb_file_system.h" 53 #include "ppapi/c/ppb_file_system.h"
53 #include "ppapi/c/ppb_fullscreen.h" 54 #include "ppapi/c/ppb_fullscreen.h"
54 #include "ppapi/c/ppb_gamepad.h" 55 #include "ppapi/c/ppb_gamepad.h"
55 #include "ppapi/c/ppb_graphics_2d.h" 56 #include "ppapi/c/ppb_graphics_2d.h"
56 #include "ppapi/c/ppb_graphics_3d.h" 57 #include "ppapi/c/ppb_graphics_3d.h"
57 #include "ppapi/c/ppb_host_resolver.h" 58 #include "ppapi/c/ppb_host_resolver.h"
58 #include "ppapi/c/ppb_image_data.h" 59 #include "ppapi/c/ppb_image_data.h"
59 #include "ppapi/c/ppb_input_event.h" 60 #include "ppapi/c/ppb_input_event.h"
60 #include "ppapi/c/ppb_instance.h" 61 #include "ppapi/c/ppb_instance.h"
62 #include "ppapi/c/ppb_media_stream_audio_track.h"
61 #include "ppapi/c/ppb_media_stream_video_track.h" 63 #include "ppapi/c/ppb_media_stream_video_track.h"
62 #include "ppapi/c/ppb_message_loop.h" 64 #include "ppapi/c/ppb_message_loop.h"
63 #include "ppapi/c/ppb_messaging.h" 65 #include "ppapi/c/ppb_messaging.h"
64 #include "ppapi/c/ppb_mouse_cursor.h" 66 #include "ppapi/c/ppb_mouse_cursor.h"
65 #include "ppapi/c/ppb_mouse_lock.h" 67 #include "ppapi/c/ppb_mouse_lock.h"
66 #include "ppapi/c/ppb_net_address.h" 68 #include "ppapi/c/ppb_net_address.h"
67 #include "ppapi/c/ppb_network_list.h" 69 #include "ppapi/c/ppb_network_list.h"
68 #include "ppapi/c/ppb_network_monitor.h" 70 #include "ppapi/c/ppb_network_monitor.h"
69 #include "ppapi/c/ppb_network_proxy.h" 71 #include "ppapi/c/ppb_network_proxy.h"
70 #include "ppapi/c/ppb_tcp_socket.h" 72 #include "ppapi/c/ppb_tcp_socket.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0;
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1;
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0;
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0;
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0;
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1;
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0;
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0;
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0;
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0; 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0;
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1 ;
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1 ; 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1 ;
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0;
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0;
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0;
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0; 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0;
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0; 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0;
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0; 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0;
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0; 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0;
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0; 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0;
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1; 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 /* END Declarations for all Wrapper Infos. */ 243 /* END Declarations for all Wrapper Infos. */
241 244
242 /* Not generating wrapper methods for PPB_Audio_1_0 */ 245 /* Not generating wrapper methods for PPB_Audio_1_0 */
243 246
244 /* Not generating wrapper methods for PPB_Audio_1_1 */ 247 /* Not generating wrapper methods for PPB_Audio_1_1 */
245 248
246 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ 249 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */
247 250
248 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */ 251 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */
249 252
253 /* Not generating wrapper methods for PPB_AudioFrame_0_1 */
254
250 /* Begin wrapper methods for PPB_Console_1_0 */ 255 /* Begin wrapper methods for PPB_Console_1_0 */
251 256
252 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance, PP_LogLevel level, s truct PP_Var* value) { 257 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance, PP_LogLevel level, s truct PP_Var* value) {
253 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i face; 258 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i face;
254 iface->Log(instance, level, *value); 259 iface->Log(instance, level, *value);
255 } 260 }
256 261
257 static void Pnacl_M25_PPB_Console_LogWithSource(PP_Instance instance, PP_LogLeve l level, struct PP_Var* source, struct PP_Var* value) { 262 static void Pnacl_M25_PPB_Console_LogWithSource(PP_Instance instance, PP_LogLeve l level, struct PP_Var* source, struct PP_Var* value) {
258 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i face; 263 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i face;
259 iface->LogWithSource(instance, level, *source, *value); 264 iface->LogWithSource(instance, level, *source, *value);
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 913
909 static void Pnacl_M13_PPB_IMEInputEvent_GetSelection(PP_Resource ime_event, uint 32_t* start, uint32_t* end) { 914 static void Pnacl_M13_PPB_IMEInputEvent_GetSelection(PP_Resource ime_event, uint 32_t* start, uint32_t* end) {
910 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven t_1_0.real_iface; 915 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven t_1_0.real_iface;
911 iface->GetSelection(ime_event, start, end); 916 iface->GetSelection(ime_event, start, end);
912 } 917 }
913 918
914 /* End wrapper methods for PPB_IMEInputEvent_1_0 */ 919 /* End wrapper methods for PPB_IMEInputEvent_1_0 */
915 920
916 /* Not generating wrapper methods for PPB_Instance_1_0 */ 921 /* Not generating wrapper methods for PPB_Instance_1_0 */
917 922
923 /* Begin wrapper methods for PPB_MediaStreamAudioTrack_0_1 */
924
925 static PP_Bool Pnacl_M34_PPB_MediaStreamAudioTrack_IsMediaStreamAudioTrack(PP_Re source resource) {
926 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamAudioTrack_0_1.real_iface;
927 return iface->IsMediaStreamAudioTrack(resource);
928 }
929
930 static int32_t Pnacl_M34_PPB_MediaStreamAudioTrack_Configure(PP_Resource audio_t rack, uint32_t samples_per_frame, uint32_t max_buffered_frames) {
931 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamAudioTrack_0_1.real_iface;
932 return iface->Configure(audio_track, samples_per_frame, max_buffered_frames);
933 }
934
935 static void Pnacl_M34_PPB_MediaStreamAudioTrack_GetId(struct PP_Var* _struct_res ult, PP_Resource audio_track) {
936 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamAudioTrack_0_1.real_iface;
937 *_struct_result = iface->GetId(audio_track);
938 }
939
940 static PP_Bool Pnacl_M34_PPB_MediaStreamAudioTrack_HasEnded(PP_Resource audio_tr ack) {
941 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamAudioTrack_0_1.real_iface;
942 return iface->HasEnded(audio_track);
943 }
944
945 static int32_t Pnacl_M34_PPB_MediaStreamAudioTrack_GetFrame(PP_Resource audio_tr ack, PP_Resource* frame, struct PP_CompletionCallback* callback) {
946 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamAudioTrack_0_1.real_iface;
947 return iface->GetFrame(audio_track, frame, *callback);
948 }
949
950 static int32_t Pnacl_M34_PPB_MediaStreamAudioTrack_RecycleFrame(PP_Resource audi o_track, PP_Resource frame) {
951 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamAudioTrack_0_1.real_iface;
952 return iface->RecycleFrame(audio_track, frame);
953 }
954
955 static void Pnacl_M34_PPB_MediaStreamAudioTrack_Close(PP_Resource audio_track) {
956 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamAudioTrack_0_1.real_iface;
957 iface->Close(audio_track);
958 }
959
960 /* End wrapper methods for PPB_MediaStreamAudioTrack_0_1 */
961
918 /* Begin wrapper methods for PPB_MediaStreamVideoTrack_0_1 */ 962 /* Begin wrapper methods for PPB_MediaStreamVideoTrack_0_1 */
919 963
920 static PP_Bool Pnacl_M34_PPB_MediaStreamVideoTrack_IsMediaStreamVideoTrack(PP_Re source resource) { 964 static PP_Bool Pnacl_M34_PPB_MediaStreamVideoTrack_IsMediaStreamVideoTrack(PP_Re source resource) {
921 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamVideoTrack_0_1.real_iface; 965 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamVideoTrack_0_1.real_iface;
922 return iface->IsMediaStreamVideoTrack(resource); 966 return iface->IsMediaStreamVideoTrack(resource);
923 } 967 }
924 968
925 static int32_t Pnacl_M34_PPB_MediaStreamVideoTrack_Configure(PP_Resource video_t rack, uint32_t max_buffered_frames) { 969 static int32_t Pnacl_M34_PPB_MediaStreamVideoTrack_Configure(PP_Resource video_t rack, uint32_t max_buffered_frames) {
926 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamVideoTrack_0_1.real_iface; 970 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamVideoTrack_0_1.real_iface;
927 return iface->Configure(video_track, max_buffered_frames); 971 return iface->Configure(video_track, max_buffered_frames);
(...skipping 3093 matching lines...) Expand 10 before | Expand all | Expand 10 after
4021 /* End wrapper methods for PPB_Ext_Socket_Dev_0_2 */ 4065 /* End wrapper methods for PPB_Ext_Socket_Dev_0_2 */
4022 4066
4023 /* Not generating wrapper interface for PPB_Audio_1_0 */ 4067 /* Not generating wrapper interface for PPB_Audio_1_0 */
4024 4068
4025 /* Not generating wrapper interface for PPB_Audio_1_1 */ 4069 /* Not generating wrapper interface for PPB_Audio_1_1 */
4026 4070
4027 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */ 4071 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */
4028 4072
4029 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */ 4073 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */
4030 4074
4075 /* Not generating wrapper interface for PPB_AudioFrame_0_1 */
4076
4031 static struct PPB_Console_1_0 Pnacl_Wrappers_PPB_Console_1_0 = { 4077 static struct PPB_Console_1_0 Pnacl_Wrappers_PPB_Console_1_0 = {
4032 .Log = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var valu e))&Pnacl_M25_PPB_Console_Log, 4078 .Log = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var valu e))&Pnacl_M25_PPB_Console_Log,
4033 .LogWithSource = (void (*)(PP_Instance instance, PP_LogLevel level, struct P P_Var source, struct PP_Var value))&Pnacl_M25_PPB_Console_LogWithSource 4079 .LogWithSource = (void (*)(PP_Instance instance, PP_LogLevel level, struct P P_Var source, struct PP_Var value))&Pnacl_M25_PPB_Console_LogWithSource
4034 }; 4080 };
4035 4081
4036 static struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = { 4082 static struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = {
4037 .AddRefResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_AddRef Resource, 4083 .AddRefResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_AddRef Resource,
4038 .ReleaseResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_Relea seResource, 4084 .ReleaseResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_Relea seResource,
4039 .GetTime = (PP_Time (*)(void))&Pnacl_M14_PPB_Core_GetTime, 4085 .GetTime = (PP_Time (*)(void))&Pnacl_M14_PPB_Core_GetTime,
4040 .GetTimeTicks = (PP_TimeTicks (*)(void))&Pnacl_M14_PPB_Core_GetTimeTicks, 4086 .GetTimeTicks = (PP_TimeTicks (*)(void))&Pnacl_M14_PPB_Core_GetTimeTicks,
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
4200 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_IMEInpu tEvent_IsIMEInputEvent, 4246 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_IMEInpu tEvent_IsIMEInputEvent,
4201 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInput Event_GetText, 4247 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInput Event_GetText,
4202 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEI nputEvent_GetSegmentNumber, 4248 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEI nputEvent_GetSegmentNumber,
4203 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn acl_M13_PPB_IMEInputEvent_GetSegmentOffset, 4249 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn acl_M13_PPB_IMEInputEvent_GetSegmentOffset,
4204 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEIn putEvent_GetTargetSegment, 4250 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEIn putEvent_GetTargetSegment,
4205 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t* end))&Pnacl_M13_PPB_IMEInputEvent_GetSelection 4251 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t* end))&Pnacl_M13_PPB_IMEInputEvent_GetSelection
4206 }; 4252 };
4207 4253
4208 /* Not generating wrapper interface for PPB_Instance_1_0 */ 4254 /* Not generating wrapper interface for PPB_Instance_1_0 */
4209 4255
4256 static struct PPB_MediaStreamAudioTrack_0_1 Pnacl_Wrappers_PPB_MediaStreamAudioT rack_0_1 = {
4257 .IsMediaStreamAudioTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M34_PPB _MediaStreamAudioTrack_IsMediaStreamAudioTrack,
4258 .Configure = (int32_t (*)(PP_Resource audio_track, uint32_t samples_per_fram e, uint32_t max_buffered_frames))&Pnacl_M34_PPB_MediaStreamAudioTrack_Configure,
4259 .GetId = (struct PP_Var (*)(PP_Resource audio_track))&Pnacl_M34_PPB_MediaStr eamAudioTrack_GetId,
4260 .HasEnded = (PP_Bool (*)(PP_Resource audio_track))&Pnacl_M34_PPB_MediaStream AudioTrack_HasEnded,
4261 .GetFrame = (int32_t (*)(PP_Resource audio_track, PP_Resource* frame, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_MediaStreamAudioTrack_GetFrame,
4262 .RecycleFrame = (int32_t (*)(PP_Resource audio_track, PP_Resource frame))&Pn acl_M34_PPB_MediaStreamAudioTrack_RecycleFrame,
4263 .Close = (void (*)(PP_Resource audio_track))&Pnacl_M34_PPB_MediaStreamAudioT rack_Close
4264 };
4265
4210 static struct PPB_MediaStreamVideoTrack_0_1 Pnacl_Wrappers_PPB_MediaStreamVideoT rack_0_1 = { 4266 static struct PPB_MediaStreamVideoTrack_0_1 Pnacl_Wrappers_PPB_MediaStreamVideoT rack_0_1 = {
4211 .IsMediaStreamVideoTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M34_PPB _MediaStreamVideoTrack_IsMediaStreamVideoTrack, 4267 .IsMediaStreamVideoTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M34_PPB _MediaStreamVideoTrack_IsMediaStreamVideoTrack,
4212 .Configure = (int32_t (*)(PP_Resource video_track, uint32_t max_buffered_fra mes))&Pnacl_M34_PPB_MediaStreamVideoTrack_Configure, 4268 .Configure = (int32_t (*)(PP_Resource video_track, uint32_t max_buffered_fra mes))&Pnacl_M34_PPB_MediaStreamVideoTrack_Configure,
4213 .GetId = (struct PP_Var (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStr eamVideoTrack_GetId, 4269 .GetId = (struct PP_Var (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStr eamVideoTrack_GetId,
4214 .HasEnded = (PP_Bool (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStream VideoTrack_HasEnded, 4270 .HasEnded = (PP_Bool (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStream VideoTrack_HasEnded,
4215 .GetFrame = (int32_t (*)(PP_Resource video_track, PP_Resource* frame, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_MediaStreamVideoTrack_GetFrame, 4271 .GetFrame = (int32_t (*)(PP_Resource video_track, PP_Resource* frame, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_MediaStreamVideoTrack_GetFrame,
4216 .RecycleFrame = (int32_t (*)(PP_Resource video_track, PP_Resource frame))&Pn acl_M34_PPB_MediaStreamVideoTrack_RecycleFrame, 4272 .RecycleFrame = (int32_t (*)(PP_Resource video_track, PP_Resource frame))&Pn acl_M34_PPB_MediaStreamVideoTrack_RecycleFrame,
4217 .Close = (void (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStreamVideoT rack_Close 4273 .Close = (void (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStreamVideoT rack_Close
4218 }; 4274 };
4219 4275
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
5178 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0, 5234 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0,
5179 .real_iface = NULL 5235 .real_iface = NULL
5180 }; 5236 };
5181 5237
5182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0 = { 5238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0 = {
5183 .iface_macro = PPB_IME_INPUT_EVENT_INTERFACE_1_0, 5239 .iface_macro = PPB_IME_INPUT_EVENT_INTERFACE_1_0,
5184 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0, 5240 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0,
5185 .real_iface = NULL 5241 .real_iface = NULL
5186 }; 5242 };
5187 5243
5244 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1 = {
5245 .iface_macro = PPB_MEDIASTREAMAUDIOTRACK_INTERFACE_0_1,
5246 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MediaStreamAudioTrack_0_1,
5247 .real_iface = NULL
5248 };
5249
5188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1 = { 5250 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1 = {
5189 .iface_macro = PPB_MEDIASTREAMVIDEOTRACK_INTERFACE_0_1, 5251 .iface_macro = PPB_MEDIASTREAMVIDEOTRACK_INTERFACE_0_1,
5190 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_1, 5252 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_1,
5191 .real_iface = NULL 5253 .real_iface = NULL
5192 }; 5254 };
5193 5255
5194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0 = { 5256 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0 = {
5195 .iface_macro = PPB_MESSAGELOOP_INTERFACE_1_0, 5257 .iface_macro = PPB_MESSAGELOOP_INTERFACE_1_0,
5196 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MessageLoop_1_0, 5258 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MessageLoop_1_0,
5197 .real_iface = NULL 5259 .real_iface = NULL
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
5694 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, 5756 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0,
5695 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, 5757 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1,
5696 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, 5758 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0,
5697 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, 5759 &Pnacl_WrapperInfo_PPB_HostResolver_1_0,
5698 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, 5760 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0,
5699 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, 5761 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1,
5700 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, 5762 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0,
5701 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, 5763 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0,
5702 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, 5764 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0,
5703 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, 5765 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0,
5766 &Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1,
5704 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1, 5767 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1,
5705 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, 5768 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0,
5706 &Pnacl_WrapperInfo_PPB_Messaging_1_0, 5769 &Pnacl_WrapperInfo_PPB_Messaging_1_0,
5707 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, 5770 &Pnacl_WrapperInfo_PPB_MouseLock_1_0,
5708 &Pnacl_WrapperInfo_PPB_NetAddress_1_0, 5771 &Pnacl_WrapperInfo_PPB_NetAddress_1_0,
5709 &Pnacl_WrapperInfo_PPB_NetworkList_1_0, 5772 &Pnacl_WrapperInfo_PPB_NetworkList_1_0,
5710 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0, 5773 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0,
5711 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0, 5774 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0,
5712 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0, 5775 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0,
5713 &Pnacl_WrapperInfo_PPB_TCPSocket_1_1, 5776 &Pnacl_WrapperInfo_PPB_TCPSocket_1_1,
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
5860 if (NULL == iface) return NULL; 5923 if (NULL == iface) return NULL;
5861 wrapper->real_iface = iface; 5924 wrapper->real_iface = iface;
5862 } 5925 }
5863 5926
5864 if (wrapper->wrapped_iface) { 5927 if (wrapper->wrapped_iface) {
5865 return wrapper->wrapped_iface; 5928 return wrapper->wrapped_iface;
5866 } else { 5929 } else {
5867 return wrapper->real_iface; 5930 return wrapper->real_iface;
5868 } 5931 }
5869 } 5932 }
OLDNEW
« no previous file with comments | « ppapi/c/ppb_media_stream_audio_track.h ('k') | ppapi/ppapi_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698