OLD | NEW |
1 /* Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2015 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/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" | 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" |
8 | 8 |
9 #include "ppapi/c/ppb.h" | 9 #include "ppapi/c/ppb.h" |
10 #include "ppapi/c/dev/ppb_audio_input_dev.h" | 10 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "ppapi/c/ppb_text_input_controller.h" | 43 #include "ppapi/c/ppb_text_input_controller.h" |
44 #include "ppapi/c/ppb_udp_socket.h" | 44 #include "ppapi/c/ppb_udp_socket.h" |
45 #include "ppapi/c/ppb_url_loader.h" | 45 #include "ppapi/c/ppb_url_loader.h" |
46 #include "ppapi/c/ppb_url_request_info.h" | 46 #include "ppapi/c/ppb_url_request_info.h" |
47 #include "ppapi/c/ppb_url_response_info.h" | 47 #include "ppapi/c/ppb_url_response_info.h" |
48 #include "ppapi/c/ppb_var.h" | 48 #include "ppapi/c/ppb_var.h" |
49 #include "ppapi/c/ppb_var_array.h" | 49 #include "ppapi/c/ppb_var_array.h" |
50 #include "ppapi/c/ppb_var_array_buffer.h" | 50 #include "ppapi/c/ppb_var_array_buffer.h" |
51 #include "ppapi/c/ppb_var_dictionary.h" | 51 #include "ppapi/c/ppb_var_dictionary.h" |
52 #include "ppapi/c/ppb_video_decoder.h" | 52 #include "ppapi/c/ppb_video_decoder.h" |
| 53 #include "ppapi/c/ppb_video_encoder.h" |
53 #include "ppapi/c/ppb_websocket.h" | 54 #include "ppapi/c/ppb_websocket.h" |
54 #include "ppapi/c/ppp_messaging.h" | 55 #include "ppapi/c/ppp_messaging.h" |
55 #include "ppapi/c/private/ppb_content_decryptor_private.h" | 56 #include "ppapi/c/private/ppb_content_decryptor_private.h" |
56 #include "ppapi/c/private/ppb_display_color_profile_private.h" | 57 #include "ppapi/c/private/ppb_display_color_profile_private.h" |
57 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" | 58 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" |
58 #include "ppapi/c/private/ppb_file_io_private.h" | 59 #include "ppapi/c/private/ppb_file_io_private.h" |
59 #include "ppapi/c/private/ppb_file_ref_private.h" | 60 #include "ppapi/c/private/ppb_file_ref_private.h" |
60 #include "ppapi/c/private/ppb_flash.h" | 61 #include "ppapi/c/private/ppb_flash.h" |
61 #include "ppapi/c/private/ppb_flash_clipboard.h" | 62 #include "ppapi/c/private/ppb_flash_clipboard.h" |
62 #include "ppapi/c/private/ppb_flash_device_id.h" | 63 #include "ppapi/c/private/ppb_flash_device_id.h" |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; | 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; |
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; | 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; |
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; | 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; |
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2; | 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2; |
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0; | 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0; |
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; | 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; |
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; | 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; |
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1; | 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1; |
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2; |
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0; | 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0; |
| 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1; |
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; | 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; |
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; | 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; |
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; | 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; |
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; | 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; |
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; | 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; |
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; | 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; |
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; | 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; |
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; | 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; |
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; | 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; |
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; | 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; |
(...skipping 2018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2179 return iface->Flush(video_decoder, *callback); | 2181 return iface->Flush(video_decoder, *callback); |
2180 } | 2182 } |
2181 | 2183 |
2182 static int32_t Pnacl_M40_PPB_VideoDecoder_Reset(PP_Resource video_decoder, struc
t PP_CompletionCallback* callback) { | 2184 static int32_t Pnacl_M40_PPB_VideoDecoder_Reset(PP_Resource video_decoder, struc
t PP_CompletionCallback* callback) { |
2183 const struct PPB_VideoDecoder_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
1_0.real_iface; | 2185 const struct PPB_VideoDecoder_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
1_0.real_iface; |
2184 return iface->Reset(video_decoder, *callback); | 2186 return iface->Reset(video_decoder, *callback); |
2185 } | 2187 } |
2186 | 2188 |
2187 /* End wrapper methods for PPB_VideoDecoder_1_0 */ | 2189 /* End wrapper methods for PPB_VideoDecoder_1_0 */ |
2188 | 2190 |
| 2191 /* Begin wrapper methods for PPB_VideoEncoder_0_1 */ |
| 2192 |
| 2193 static PP_Resource Pnacl_M42_PPB_VideoEncoder_Create(PP_Instance instance) { |
| 2194 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_
0_1.real_iface; |
| 2195 return iface->Create(instance); |
| 2196 } |
| 2197 |
| 2198 static PP_Bool Pnacl_M42_PPB_VideoEncoder_IsVideoEncoder(PP_Resource resource) { |
| 2199 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_
0_1.real_iface; |
| 2200 return iface->IsVideoEncoder(resource); |
| 2201 } |
| 2202 |
| 2203 static int32_t Pnacl_M42_PPB_VideoEncoder_GetSupportedProfiles(PP_Resource video
_encoder, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback)
{ |
| 2204 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_
0_1.real_iface; |
| 2205 return iface->GetSupportedProfiles(video_encoder, *output, *callback); |
| 2206 } |
| 2207 |
| 2208 static int32_t Pnacl_M42_PPB_VideoEncoder_Initialize(PP_Resource video_encoder,
PP_VideoFrame_Format input_format, const struct PP_Size* input_visible_size, PP_
VideoProfile output_profile, uint32_t initial_bitrate, PP_HardwareAcceleration a
cceleration, struct PP_CompletionCallback* callback) { |
| 2209 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_
0_1.real_iface; |
| 2210 return iface->Initialize(video_encoder, input_format, input_visible_size, outp
ut_profile, initial_bitrate, acceleration, *callback); |
| 2211 } |
| 2212 |
| 2213 static int32_t Pnacl_M42_PPB_VideoEncoder_GetFramesRequired(PP_Resource video_en
coder) { |
| 2214 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_
0_1.real_iface; |
| 2215 return iface->GetFramesRequired(video_encoder); |
| 2216 } |
| 2217 |
| 2218 static int32_t Pnacl_M42_PPB_VideoEncoder_GetFrameCodedSize(PP_Resource video_en
coder, struct PP_Size* coded_size) { |
| 2219 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_
0_1.real_iface; |
| 2220 return iface->GetFrameCodedSize(video_encoder, coded_size); |
| 2221 } |
| 2222 |
| 2223 static int32_t Pnacl_M42_PPB_VideoEncoder_GetVideoFrame(PP_Resource video_encode
r, PP_Resource* video_frame, struct PP_CompletionCallback* callback) { |
| 2224 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_
0_1.real_iface; |
| 2225 return iface->GetVideoFrame(video_encoder, video_frame, *callback); |
| 2226 } |
| 2227 |
| 2228 static int32_t Pnacl_M42_PPB_VideoEncoder_Encode(PP_Resource video_encoder, PP_R
esource video_frame, PP_Bool force_keyframe, struct PP_CompletionCallback* callb
ack) { |
| 2229 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_
0_1.real_iface; |
| 2230 return iface->Encode(video_encoder, video_frame, force_keyframe, *callback); |
| 2231 } |
| 2232 |
| 2233 static int32_t Pnacl_M42_PPB_VideoEncoder_GetBitstreamBuffer(PP_Resource video_e
ncoder, struct PP_BitstreamBuffer* bitstream_buffer, struct PP_CompletionCallbac
k* callback) { |
| 2234 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_
0_1.real_iface; |
| 2235 return iface->GetBitstreamBuffer(video_encoder, bitstream_buffer, *callback); |
| 2236 } |
| 2237 |
| 2238 static void Pnacl_M42_PPB_VideoEncoder_RecycleBitstreamBuffer(PP_Resource video_
encoder, const struct PP_BitstreamBuffer* bitstream_buffer) { |
| 2239 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_
0_1.real_iface; |
| 2240 iface->RecycleBitstreamBuffer(video_encoder, bitstream_buffer); |
| 2241 } |
| 2242 |
| 2243 static void Pnacl_M42_PPB_VideoEncoder_RequestEncodingParametersChange(PP_Resour
ce video_encoder, uint32_t bitrate, uint32_t framerate) { |
| 2244 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_
0_1.real_iface; |
| 2245 iface->RequestEncodingParametersChange(video_encoder, bitrate, framerate); |
| 2246 } |
| 2247 |
| 2248 static void Pnacl_M42_PPB_VideoEncoder_Close(PP_Resource video_encoder) { |
| 2249 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_
0_1.real_iface; |
| 2250 iface->Close(video_encoder); |
| 2251 } |
| 2252 |
| 2253 /* End wrapper methods for PPB_VideoEncoder_0_1 */ |
| 2254 |
2189 /* Not generating wrapper methods for PPB_VideoFrame_0_1 */ | 2255 /* Not generating wrapper methods for PPB_VideoFrame_0_1 */ |
2190 | 2256 |
2191 /* Not generating wrapper methods for PPB_View_1_0 */ | 2257 /* Not generating wrapper methods for PPB_View_1_0 */ |
2192 | 2258 |
2193 /* Not generating wrapper methods for PPB_View_1_1 */ | 2259 /* Not generating wrapper methods for PPB_View_1_1 */ |
2194 | 2260 |
2195 /* Not generating wrapper methods for PPB_View_1_2 */ | 2261 /* Not generating wrapper methods for PPB_View_1_2 */ |
2196 | 2262 |
2197 /* Begin wrapper methods for PPB_WebSocket_1_0 */ | 2263 /* Begin wrapper methods for PPB_WebSocket_1_0 */ |
2198 | 2264 |
(...skipping 2934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5133 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M40_PPB_VideoDecoder
_Create, | 5199 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M40_PPB_VideoDecoder
_Create, |
5134 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M40_PPB_VideoDec
oder_IsVideoDecoder, | 5200 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M40_PPB_VideoDec
oder_IsVideoDecoder, |
5135 .Initialize = (int32_t (*)(PP_Resource video_decoder, PP_Resource graphics3d
_context, PP_VideoProfile profile, PP_HardwareAcceleration acceleration, struct
PP_CompletionCallback callback))&Pnacl_M40_PPB_VideoDecoder_Initialize, | 5201 .Initialize = (int32_t (*)(PP_Resource video_decoder, PP_Resource graphics3d
_context, PP_VideoProfile profile, PP_HardwareAcceleration acceleration, struct
PP_CompletionCallback callback))&Pnacl_M40_PPB_VideoDecoder_Initialize, |
5136 .Decode = (int32_t (*)(PP_Resource video_decoder, uint32_t decode_id, uint32
_t size, const void* buffer, struct PP_CompletionCallback callback))&Pnacl_M40_P
PB_VideoDecoder_Decode, | 5202 .Decode = (int32_t (*)(PP_Resource video_decoder, uint32_t decode_id, uint32
_t size, const void* buffer, struct PP_CompletionCallback callback))&Pnacl_M40_P
PB_VideoDecoder_Decode, |
5137 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture
* picture, struct PP_CompletionCallback callback))&Pnacl_M40_PPB_VideoDecoder_Ge
tPicture, | 5203 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture
* picture, struct PP_CompletionCallback callback))&Pnacl_M40_PPB_VideoDecoder_Ge
tPicture, |
5138 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video
Picture* picture))&Pnacl_M40_PPB_VideoDecoder_RecyclePicture, | 5204 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video
Picture* picture))&Pnacl_M40_PPB_VideoDecoder_RecyclePicture, |
5139 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M40_PPB_VideoDecoder_Flush, | 5205 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M40_PPB_VideoDecoder_Flush, |
5140 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M40_PPB_VideoDecoder_Reset | 5206 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M40_PPB_VideoDecoder_Reset |
5141 }; | 5207 }; |
5142 | 5208 |
| 5209 static const struct PPB_VideoEncoder_0_1 Pnacl_Wrappers_PPB_VideoEncoder_0_1 = { |
| 5210 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M42_PPB_VideoEncoder
_Create, |
| 5211 .IsVideoEncoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M42_PPB_VideoEnc
oder_IsVideoEncoder, |
| 5212 .GetSupportedProfiles = (int32_t (*)(PP_Resource video_encoder, struct PP_Ar
rayOutput output, struct PP_CompletionCallback callback))&Pnacl_M42_PPB_VideoEnc
oder_GetSupportedProfiles, |
| 5213 .Initialize = (int32_t (*)(PP_Resource video_encoder, PP_VideoFrame_Format i
nput_format, const struct PP_Size* input_visible_size, PP_VideoProfile output_pr
ofile, uint32_t initial_bitrate, PP_HardwareAcceleration acceleration, struct PP
_CompletionCallback callback))&Pnacl_M42_PPB_VideoEncoder_Initialize, |
| 5214 .GetFramesRequired = (int32_t (*)(PP_Resource video_encoder))&Pnacl_M42_PPB_
VideoEncoder_GetFramesRequired, |
| 5215 .GetFrameCodedSize = (int32_t (*)(PP_Resource video_encoder, struct PP_Size*
coded_size))&Pnacl_M42_PPB_VideoEncoder_GetFrameCodedSize, |
| 5216 .GetVideoFrame = (int32_t (*)(PP_Resource video_encoder, PP_Resource* video_
frame, struct PP_CompletionCallback callback))&Pnacl_M42_PPB_VideoEncoder_GetVid
eoFrame, |
| 5217 .Encode = (int32_t (*)(PP_Resource video_encoder, PP_Resource video_frame, P
P_Bool force_keyframe, struct PP_CompletionCallback callback))&Pnacl_M42_PPB_Vid
eoEncoder_Encode, |
| 5218 .GetBitstreamBuffer = (int32_t (*)(PP_Resource video_encoder, struct PP_Bits
treamBuffer* bitstream_buffer, struct PP_CompletionCallback callback))&Pnacl_M42
_PPB_VideoEncoder_GetBitstreamBuffer, |
| 5219 .RecycleBitstreamBuffer = (void (*)(PP_Resource video_encoder, const struct
PP_BitstreamBuffer* bitstream_buffer))&Pnacl_M42_PPB_VideoEncoder_RecycleBitstre
amBuffer, |
| 5220 .RequestEncodingParametersChange = (void (*)(PP_Resource video_encoder, uint
32_t bitrate, uint32_t framerate))&Pnacl_M42_PPB_VideoEncoder_RequestEncodingPar
ametersChange, |
| 5221 .Close = (void (*)(PP_Resource video_encoder))&Pnacl_M42_PPB_VideoEncoder_Cl
ose |
| 5222 }; |
| 5223 |
5143 /* Not generating wrapper interface for PPB_VideoFrame_0_1 */ | 5224 /* Not generating wrapper interface for PPB_VideoFrame_0_1 */ |
5144 | 5225 |
5145 /* Not generating wrapper interface for PPB_View_1_0 */ | 5226 /* Not generating wrapper interface for PPB_View_1_0 */ |
5146 | 5227 |
5147 /* Not generating wrapper interface for PPB_View_1_1 */ | 5228 /* Not generating wrapper interface for PPB_View_1_1 */ |
5148 | 5229 |
5149 /* Not generating wrapper interface for PPB_View_1_2 */ | 5230 /* Not generating wrapper interface for PPB_View_1_2 */ |
5150 | 5231 |
5151 static const struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { | 5232 static const struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { |
5152 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr
eate, | 5233 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr
eate, |
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6139 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_2, | 6220 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_2, |
6140 .real_iface = NULL | 6221 .real_iface = NULL |
6141 }; | 6222 }; |
6142 | 6223 |
6143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0 = { | 6224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0 = { |
6144 .iface_macro = PPB_VIDEODECODER_INTERFACE_1_0, | 6225 .iface_macro = PPB_VIDEODECODER_INTERFACE_1_0, |
6145 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_1_0, | 6226 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_1_0, |
6146 .real_iface = NULL | 6227 .real_iface = NULL |
6147 }; | 6228 }; |
6148 | 6229 |
| 6230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1 = { |
| 6231 .iface_macro = PPB_VIDEOENCODER_INTERFACE_0_1, |
| 6232 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoEncoder_0_1, |
| 6233 .real_iface = NULL |
| 6234 }; |
| 6235 |
6149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { | 6236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { |
6150 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, | 6237 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, |
6151 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, | 6238 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, |
6152 .real_iface = NULL | 6239 .real_iface = NULL |
6153 }; | 6240 }; |
6154 | 6241 |
6155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0 = { | 6242 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0 = { |
6156 .iface_macro = PPP_MESSAGING_INTERFACE_1_0, | 6243 .iface_macro = PPP_MESSAGING_INTERFACE_1_0, |
6157 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Messaging_1_0, | 6244 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Messaging_1_0, |
6158 .real_iface = NULL | 6245 .real_iface = NULL |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6552 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, | 6639 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, |
6553 &Pnacl_WrapperInfo_PPB_Var_1_0, | 6640 &Pnacl_WrapperInfo_PPB_Var_1_0, |
6554 &Pnacl_WrapperInfo_PPB_Var_1_1, | 6641 &Pnacl_WrapperInfo_PPB_Var_1_1, |
6555 &Pnacl_WrapperInfo_PPB_Var_1_2, | 6642 &Pnacl_WrapperInfo_PPB_Var_1_2, |
6556 &Pnacl_WrapperInfo_PPB_VarArray_1_0, | 6643 &Pnacl_WrapperInfo_PPB_VarArray_1_0, |
6557 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, | 6644 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, |
6558 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, | 6645 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, |
6559 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1, | 6646 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1, |
6560 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2, | 6647 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2, |
6561 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, | 6648 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, |
| 6649 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, |
6562 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, | 6650 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, |
6563 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, | 6651 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, |
6564 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, | 6652 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, |
6565 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, | 6653 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, |
6566 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, | 6654 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, |
6567 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, | 6655 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, |
6568 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, | 6656 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, |
6569 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, | 6657 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, |
6570 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, | 6658 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, |
6571 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, | 6659 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6687 | 6775 |
6688 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6776 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6689 if (wrapper->real_iface == NULL) { | 6777 if (wrapper->real_iface == NULL) { |
6690 const void *iface = (*__real_PPPGetInterface)(name); | 6778 const void *iface = (*__real_PPPGetInterface)(name); |
6691 if (NULL == iface) return NULL; | 6779 if (NULL == iface) return NULL; |
6692 wrapper->real_iface = iface; | 6780 wrapper->real_iface = iface; |
6693 } | 6781 } |
6694 | 6782 |
6695 return wrapper->wrapped_iface; | 6783 return wrapper->wrapped_iface; |
6696 } | 6784 } |
OLD | NEW |