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

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

Issue 1207043002: Introduce a client minimum picture pool size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved constant to shared header, validate min_picture_size now in resource proxy as well as host co… Created 5 years, 4 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/examples/video_decode/video_decode.cc ('k') | ppapi/proxy/ppapi_messages.h » ('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) 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; 138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0;
139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; 139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0;
140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; 140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1;
141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2; 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2;
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0; 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0;
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0;
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0;
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1; 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1;
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2; 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2;
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0; 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0;
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_1;
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1; 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1;
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2;
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0;
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0;
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3;
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4;
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1;
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5;
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6;
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6;
(...skipping 2051 matching lines...) Expand 10 before | Expand all | Expand 10 after
2209 return iface->Flush(video_decoder, *callback); 2210 return iface->Flush(video_decoder, *callback);
2210 } 2211 }
2211 2212
2212 static int32_t Pnacl_M40_PPB_VideoDecoder_Reset(PP_Resource video_decoder, struc t PP_CompletionCallback* callback) { 2213 static int32_t Pnacl_M40_PPB_VideoDecoder_Reset(PP_Resource video_decoder, struc t PP_CompletionCallback* callback) {
2213 const struct PPB_VideoDecoder_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 1_0.real_iface; 2214 const struct PPB_VideoDecoder_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 1_0.real_iface;
2214 return iface->Reset(video_decoder, *callback); 2215 return iface->Reset(video_decoder, *callback);
2215 } 2216 }
2216 2217
2217 /* End wrapper methods for PPB_VideoDecoder_1_0 */ 2218 /* End wrapper methods for PPB_VideoDecoder_1_0 */
2218 2219
2220 /* Begin wrapper methods for PPB_VideoDecoder_1_1 */
2221
2222 static PP_Resource Pnacl_M46_PPB_VideoDecoder_Create(PP_Instance instance) {
2223 const struct PPB_VideoDecoder_1_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 1_1.real_iface;
2224 return iface->Create(instance);
2225 }
2226
2227 static PP_Bool Pnacl_M46_PPB_VideoDecoder_IsVideoDecoder(PP_Resource resource) {
2228 const struct PPB_VideoDecoder_1_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 1_1.real_iface;
2229 return iface->IsVideoDecoder(resource);
2230 }
2231
2232 static int32_t Pnacl_M46_PPB_VideoDecoder_Initialize(PP_Resource video_decoder, PP_Resource graphics3d_context, PP_VideoProfile profile, PP_HardwareAcceleration acceleration, uint32_t min_picture_count, struct PP_CompletionCallback* callbac k) {
2233 const struct PPB_VideoDecoder_1_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 1_1.real_iface;
2234 return iface->Initialize(video_decoder, graphics3d_context, profile, accelerat ion, min_picture_count, *callback);
2235 }
2236
2237 static int32_t Pnacl_M46_PPB_VideoDecoder_Decode(PP_Resource video_decoder, uint 32_t decode_id, uint32_t size, const void* buffer, struct PP_CompletionCallback* callback) {
2238 const struct PPB_VideoDecoder_1_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 1_1.real_iface;
2239 return iface->Decode(video_decoder, decode_id, size, buffer, *callback);
2240 }
2241
2242 static int32_t Pnacl_M46_PPB_VideoDecoder_GetPicture(PP_Resource video_decoder, struct PP_VideoPicture* picture, struct PP_CompletionCallback* callback) {
2243 const struct PPB_VideoDecoder_1_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 1_1.real_iface;
2244 return iface->GetPicture(video_decoder, picture, *callback);
2245 }
2246
2247 static void Pnacl_M46_PPB_VideoDecoder_RecyclePicture(PP_Resource video_decoder, const struct PP_VideoPicture* picture) {
2248 const struct PPB_VideoDecoder_1_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 1_1.real_iface;
2249 iface->RecyclePicture(video_decoder, picture);
2250 }
2251
2252 static int32_t Pnacl_M46_PPB_VideoDecoder_Flush(PP_Resource video_decoder, struc t PP_CompletionCallback* callback) {
2253 const struct PPB_VideoDecoder_1_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 1_1.real_iface;
2254 return iface->Flush(video_decoder, *callback);
2255 }
2256
2257 static int32_t Pnacl_M46_PPB_VideoDecoder_Reset(PP_Resource video_decoder, struc t PP_CompletionCallback* callback) {
2258 const struct PPB_VideoDecoder_1_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 1_1.real_iface;
2259 return iface->Reset(video_decoder, *callback);
2260 }
2261
2262 /* End wrapper methods for PPB_VideoDecoder_1_1 */
2263
2219 /* Begin wrapper methods for PPB_VideoEncoder_0_1 */ 2264 /* Begin wrapper methods for PPB_VideoEncoder_0_1 */
2220 2265
2221 static PP_Resource Pnacl_M42_PPB_VideoEncoder_Create(PP_Instance instance) { 2266 static PP_Resource Pnacl_M42_PPB_VideoEncoder_Create(PP_Instance instance) {
2222 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_ 0_1.real_iface; 2267 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_ 0_1.real_iface;
2223 return iface->Create(instance); 2268 return iface->Create(instance);
2224 } 2269 }
2225 2270
2226 static PP_Bool Pnacl_M42_PPB_VideoEncoder_IsVideoEncoder(PP_Resource resource) { 2271 static PP_Bool Pnacl_M42_PPB_VideoEncoder_IsVideoEncoder(PP_Resource resource) {
2227 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_ 0_1.real_iface; 2272 const struct PPB_VideoEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoEncoder_ 0_1.real_iface;
2228 return iface->IsVideoEncoder(resource); 2273 return iface->IsVideoEncoder(resource);
(...skipping 2871 matching lines...) Expand 10 before | Expand all | Expand 10 after
5100 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M40_PPB_VideoDecoder _Create, 5145 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M40_PPB_VideoDecoder _Create,
5101 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M40_PPB_VideoDec oder_IsVideoDecoder, 5146 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M40_PPB_VideoDec oder_IsVideoDecoder,
5102 .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, 5147 .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,
5103 .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, 5148 .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,
5104 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture * picture, struct PP_CompletionCallback callback))&Pnacl_M40_PPB_VideoDecoder_Ge tPicture, 5149 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture * picture, struct PP_CompletionCallback callback))&Pnacl_M40_PPB_VideoDecoder_Ge tPicture,
5105 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video Picture* picture))&Pnacl_M40_PPB_VideoDecoder_RecyclePicture, 5150 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video Picture* picture))&Pnacl_M40_PPB_VideoDecoder_RecyclePicture,
5106 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M40_PPB_VideoDecoder_Flush, 5151 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M40_PPB_VideoDecoder_Flush,
5107 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M40_PPB_VideoDecoder_Reset 5152 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M40_PPB_VideoDecoder_Reset
5108 }; 5153 };
5109 5154
5155 static const struct PPB_VideoDecoder_1_1 Pnacl_Wrappers_PPB_VideoDecoder_1_1 = {
5156 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M46_PPB_VideoDecoder _Create,
5157 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M46_PPB_VideoDec oder_IsVideoDecoder,
5158 .Initialize = (int32_t (*)(PP_Resource video_decoder, PP_Resource graphics3d _context, PP_VideoProfile profile, PP_HardwareAcceleration acceleration, uint32_ t min_picture_count, struct PP_CompletionCallback callback))&Pnacl_M46_PPB_Video Decoder_Initialize,
5159 .Decode = (int32_t (*)(PP_Resource video_decoder, uint32_t decode_id, uint32 _t size, const void* buffer, struct PP_CompletionCallback callback))&Pnacl_M46_P PB_VideoDecoder_Decode,
5160 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture * picture, struct PP_CompletionCallback callback))&Pnacl_M46_PPB_VideoDecoder_Ge tPicture,
5161 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video Picture* picture))&Pnacl_M46_PPB_VideoDecoder_RecyclePicture,
5162 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M46_PPB_VideoDecoder_Flush,
5163 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M46_PPB_VideoDecoder_Reset
5164 };
5165
5110 static const struct PPB_VideoEncoder_0_1 Pnacl_Wrappers_PPB_VideoEncoder_0_1 = { 5166 static const struct PPB_VideoEncoder_0_1 Pnacl_Wrappers_PPB_VideoEncoder_0_1 = {
5111 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M42_PPB_VideoEncoder _Create, 5167 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M42_PPB_VideoEncoder _Create,
5112 .IsVideoEncoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M42_PPB_VideoEnc oder_IsVideoEncoder, 5168 .IsVideoEncoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M42_PPB_VideoEnc oder_IsVideoEncoder,
5113 .GetSupportedProfiles = (int32_t (*)(PP_Resource video_encoder, struct PP_Ar rayOutput output, struct PP_CompletionCallback callback))&Pnacl_M42_PPB_VideoEnc oder_GetSupportedProfiles, 5169 .GetSupportedProfiles = (int32_t (*)(PP_Resource video_encoder, struct PP_Ar rayOutput output, struct PP_CompletionCallback callback))&Pnacl_M42_PPB_VideoEnc oder_GetSupportedProfiles,
5114 .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, 5170 .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,
5115 .GetFramesRequired = (int32_t (*)(PP_Resource video_encoder))&Pnacl_M42_PPB_ VideoEncoder_GetFramesRequired, 5171 .GetFramesRequired = (int32_t (*)(PP_Resource video_encoder))&Pnacl_M42_PPB_ VideoEncoder_GetFramesRequired,
5116 .GetFrameCodedSize = (int32_t (*)(PP_Resource video_encoder, struct PP_Size* coded_size))&Pnacl_M42_PPB_VideoEncoder_GetFrameCodedSize, 5172 .GetFrameCodedSize = (int32_t (*)(PP_Resource video_encoder, struct PP_Size* coded_size))&Pnacl_M42_PPB_VideoEncoder_GetFrameCodedSize,
5117 .GetVideoFrame = (int32_t (*)(PP_Resource video_encoder, PP_Resource* video_ frame, struct PP_CompletionCallback callback))&Pnacl_M42_PPB_VideoEncoder_GetVid eoFrame, 5173 .GetVideoFrame = (int32_t (*)(PP_Resource video_encoder, PP_Resource* video_ frame, struct PP_CompletionCallback callback))&Pnacl_M42_PPB_VideoEncoder_GetVid eoFrame,
5118 .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, 5174 .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,
5119 .GetBitstreamBuffer = (int32_t (*)(PP_Resource video_encoder, struct PP_Bits treamBuffer* bitstream_buffer, struct PP_CompletionCallback callback))&Pnacl_M42 _PPB_VideoEncoder_GetBitstreamBuffer, 5175 .GetBitstreamBuffer = (int32_t (*)(PP_Resource video_encoder, struct PP_Bits treamBuffer* bitstream_buffer, struct PP_CompletionCallback callback))&Pnacl_M42 _PPB_VideoEncoder_GetBitstreamBuffer,
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
6074 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_2, 6130 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_2,
6075 .real_iface = NULL 6131 .real_iface = NULL
6076 }; 6132 };
6077 6133
6078 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0 = { 6134 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0 = {
6079 .iface_macro = PPB_VIDEODECODER_INTERFACE_1_0, 6135 .iface_macro = PPB_VIDEODECODER_INTERFACE_1_0,
6080 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_1_0, 6136 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_1_0,
6081 .real_iface = NULL 6137 .real_iface = NULL
6082 }; 6138 };
6083 6139
6140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_1 = {
6141 .iface_macro = PPB_VIDEODECODER_INTERFACE_1_1,
6142 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_1_1,
6143 .real_iface = NULL
6144 };
6145
6084 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1 = { 6146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1 = {
6085 .iface_macro = PPB_VIDEOENCODER_INTERFACE_0_1, 6147 .iface_macro = PPB_VIDEOENCODER_INTERFACE_0_1,
6086 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoEncoder_0_1, 6148 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoEncoder_0_1,
6087 .real_iface = NULL 6149 .real_iface = NULL
6088 }; 6150 };
6089 6151
6090 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2 = { 6152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2 = {
6091 .iface_macro = PPB_VIDEOENCODER_INTERFACE_0_2, 6153 .iface_macro = PPB_VIDEOENCODER_INTERFACE_0_2,
6092 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoEncoder_0_2, 6154 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoEncoder_0_2,
6093 .real_iface = NULL 6155 .real_iface = NULL
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
6475 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, 6537 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0,
6476 &Pnacl_WrapperInfo_PPB_Var_1_0, 6538 &Pnacl_WrapperInfo_PPB_Var_1_0,
6477 &Pnacl_WrapperInfo_PPB_Var_1_1, 6539 &Pnacl_WrapperInfo_PPB_Var_1_1,
6478 &Pnacl_WrapperInfo_PPB_Var_1_2, 6540 &Pnacl_WrapperInfo_PPB_Var_1_2,
6479 &Pnacl_WrapperInfo_PPB_VarArray_1_0, 6541 &Pnacl_WrapperInfo_PPB_VarArray_1_0,
6480 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, 6542 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0,
6481 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, 6543 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0,
6482 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1, 6544 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1,
6483 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2, 6545 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2,
6484 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, 6546 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0,
6547 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_1,
6485 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, 6548 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1,
6486 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2, 6549 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2,
6487 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, 6550 &Pnacl_WrapperInfo_PPB_WebSocket_1_0,
6488 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, 6551 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3,
6489 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, 6552 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4,
6490 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, 6553 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1,
6491 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, 6554 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5,
6492 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, 6555 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6,
6493 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, 6556 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6,
6494 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, 6557 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1,
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
6608 6671
6609 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ 6672 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */
6610 if (wrapper->real_iface == NULL) { 6673 if (wrapper->real_iface == NULL) {
6611 const void *iface = (*__real_PPPGetInterface)(name); 6674 const void *iface = (*__real_PPPGetInterface)(name);
6612 if (NULL == iface) return NULL; 6675 if (NULL == iface) return NULL;
6613 wrapper->real_iface = iface; 6676 wrapper->real_iface = iface;
6614 } 6677 }
6615 6678
6616 return wrapper->wrapped_iface; 6679 return wrapper->wrapped_iface;
6617 } 6680 }
OLDNEW
« no previous file with comments | « ppapi/examples/video_decode/video_decode.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698