OLD | NEW |
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/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 Loading... |
138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; | 138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; |
139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; | 139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; |
140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; | 140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; |
141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; | 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; |
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2; | 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2; |
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0; | 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0; |
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; | 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; |
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; | 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; |
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1; | 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1; |
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2; | 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2; |
| 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0; |
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; | 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; |
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; |
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; | 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; |
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; | 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; |
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; | 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; |
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; | 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; |
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; | 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; |
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; | 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; |
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; | 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; |
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; | 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; |
(...skipping 1800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1958 static int32_t Pnacl_M36_PPB_VideoDecoder_Initialize(PP_Resource video_decoder,
PP_Resource graphics3d_context, PP_VideoProfile profile, PP_Bool allow_software_
fallback, struct PP_CompletionCallback* callback) { | 1959 static int32_t Pnacl_M36_PPB_VideoDecoder_Initialize(PP_Resource video_decoder,
PP_Resource graphics3d_context, PP_VideoProfile profile, PP_Bool allow_software_
fallback, struct PP_CompletionCallback* callback) { |
1959 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_1.real_iface; | 1960 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_1.real_iface; |
1960 return iface->Initialize(video_decoder, graphics3d_context, profile, allow_sof
tware_fallback, *callback); | 1961 return iface->Initialize(video_decoder, graphics3d_context, profile, allow_sof
tware_fallback, *callback); |
1961 } | 1962 } |
1962 | 1963 |
1963 static int32_t Pnacl_M36_PPB_VideoDecoder_Decode(PP_Resource video_decoder, uint
32_t decode_id, uint32_t size, const void* buffer, struct PP_CompletionCallback*
callback) { | 1964 static int32_t Pnacl_M36_PPB_VideoDecoder_Decode(PP_Resource video_decoder, uint
32_t decode_id, uint32_t size, const void* buffer, struct PP_CompletionCallback*
callback) { |
1964 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_1.real_iface; | 1965 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_1.real_iface; |
1965 return iface->Decode(video_decoder, decode_id, size, buffer, *callback); | 1966 return iface->Decode(video_decoder, decode_id, size, buffer, *callback); |
1966 } | 1967 } |
1967 | 1968 |
1968 static int32_t Pnacl_M36_PPB_VideoDecoder_GetPicture(PP_Resource video_decoder,
struct PP_VideoPicture* picture, struct PP_CompletionCallback* callback) { | 1969 static int32_t Pnacl_M36_PPB_VideoDecoder_GetPicture(PP_Resource video_decoder,
struct PP_VideoPicture_0_1* picture, struct PP_CompletionCallback* callback) { |
1969 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_1.real_iface; | 1970 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_1.real_iface; |
1970 return iface->GetPicture(video_decoder, picture, *callback); | 1971 return iface->GetPicture(video_decoder, picture, *callback); |
1971 } | 1972 } |
1972 | 1973 |
1973 static void Pnacl_M36_PPB_VideoDecoder_RecyclePicture(PP_Resource video_decoder,
const struct PP_VideoPicture* picture) { | 1974 static void Pnacl_M36_PPB_VideoDecoder_RecyclePicture(PP_Resource video_decoder,
const struct PP_VideoPicture* picture) { |
1974 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_1.real_iface; | 1975 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_1.real_iface; |
1975 iface->RecyclePicture(video_decoder, picture); | 1976 iface->RecyclePicture(video_decoder, picture); |
1976 } | 1977 } |
1977 | 1978 |
1978 static int32_t Pnacl_M36_PPB_VideoDecoder_Flush(PP_Resource video_decoder, struc
t PP_CompletionCallback* callback) { | 1979 static int32_t Pnacl_M36_PPB_VideoDecoder_Flush(PP_Resource video_decoder, struc
t PP_CompletionCallback* callback) { |
(...skipping 23 matching lines...) Expand all Loading... |
2002 static int32_t Pnacl_M39_PPB_VideoDecoder_Initialize(PP_Resource video_decoder,
PP_Resource graphics3d_context, PP_VideoProfile profile, PP_HardwareAcceleration
acceleration, struct PP_CompletionCallback* callback) { | 2003 static int32_t Pnacl_M39_PPB_VideoDecoder_Initialize(PP_Resource video_decoder,
PP_Resource graphics3d_context, PP_VideoProfile profile, PP_HardwareAcceleration
acceleration, struct PP_CompletionCallback* callback) { |
2003 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_2.real_iface; | 2004 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_2.real_iface; |
2004 return iface->Initialize(video_decoder, graphics3d_context, profile, accelerat
ion, *callback); | 2005 return iface->Initialize(video_decoder, graphics3d_context, profile, accelerat
ion, *callback); |
2005 } | 2006 } |
2006 | 2007 |
2007 static int32_t Pnacl_M39_PPB_VideoDecoder_Decode(PP_Resource video_decoder, uint
32_t decode_id, uint32_t size, const void* buffer, struct PP_CompletionCallback*
callback) { | 2008 static int32_t Pnacl_M39_PPB_VideoDecoder_Decode(PP_Resource video_decoder, uint
32_t decode_id, uint32_t size, const void* buffer, struct PP_CompletionCallback*
callback) { |
2008 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_2.real_iface; | 2009 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_2.real_iface; |
2009 return iface->Decode(video_decoder, decode_id, size, buffer, *callback); | 2010 return iface->Decode(video_decoder, decode_id, size, buffer, *callback); |
2010 } | 2011 } |
2011 | 2012 |
2012 static int32_t Pnacl_M39_PPB_VideoDecoder_GetPicture(PP_Resource video_decoder,
struct PP_VideoPicture* picture, struct PP_CompletionCallback* callback) { | 2013 static int32_t Pnacl_M39_PPB_VideoDecoder_GetPicture(PP_Resource video_decoder,
struct PP_VideoPicture_0_1* picture, struct PP_CompletionCallback* callback) { |
2013 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_2.real_iface; | 2014 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_2.real_iface; |
2014 return iface->GetPicture(video_decoder, picture, *callback); | 2015 return iface->GetPicture(video_decoder, picture, *callback); |
2015 } | 2016 } |
2016 | 2017 |
2017 static void Pnacl_M39_PPB_VideoDecoder_RecyclePicture(PP_Resource video_decoder,
const struct PP_VideoPicture* picture) { | 2018 static void Pnacl_M39_PPB_VideoDecoder_RecyclePicture(PP_Resource video_decoder,
const struct PP_VideoPicture* picture) { |
2018 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_2.real_iface; | 2019 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_2.real_iface; |
2019 iface->RecyclePicture(video_decoder, picture); | 2020 iface->RecyclePicture(video_decoder, picture); |
2020 } | 2021 } |
2021 | 2022 |
2022 static int32_t Pnacl_M39_PPB_VideoDecoder_Flush(PP_Resource video_decoder, struc
t PP_CompletionCallback* callback) { | 2023 static int32_t Pnacl_M39_PPB_VideoDecoder_Flush(PP_Resource video_decoder, struc
t PP_CompletionCallback* callback) { |
2023 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_2.real_iface; | 2024 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_2.real_iface; |
2024 return iface->Flush(video_decoder, *callback); | 2025 return iface->Flush(video_decoder, *callback); |
2025 } | 2026 } |
2026 | 2027 |
2027 static int32_t Pnacl_M39_PPB_VideoDecoder_Reset(PP_Resource video_decoder, struc
t PP_CompletionCallback* callback) { | 2028 static int32_t Pnacl_M39_PPB_VideoDecoder_Reset(PP_Resource video_decoder, struc
t PP_CompletionCallback* callback) { |
2028 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_2.real_iface; | 2029 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
0_2.real_iface; |
2029 return iface->Reset(video_decoder, *callback); | 2030 return iface->Reset(video_decoder, *callback); |
2030 } | 2031 } |
2031 | 2032 |
2032 /* End wrapper methods for PPB_VideoDecoder_0_2 */ | 2033 /* End wrapper methods for PPB_VideoDecoder_0_2 */ |
2033 | 2034 |
| 2035 /* Begin wrapper methods for PPB_VideoDecoder_1_0 */ |
| 2036 |
| 2037 static PP_Resource Pnacl_M40_PPB_VideoDecoder_Create(PP_Instance instance) { |
| 2038 const struct PPB_VideoDecoder_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
1_0.real_iface; |
| 2039 return iface->Create(instance); |
| 2040 } |
| 2041 |
| 2042 static PP_Bool Pnacl_M40_PPB_VideoDecoder_IsVideoDecoder(PP_Resource resource) { |
| 2043 const struct PPB_VideoDecoder_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
1_0.real_iface; |
| 2044 return iface->IsVideoDecoder(resource); |
| 2045 } |
| 2046 |
| 2047 static int32_t Pnacl_M40_PPB_VideoDecoder_Initialize(PP_Resource video_decoder,
PP_Resource graphics3d_context, PP_VideoProfile profile, PP_HardwareAcceleration
acceleration, struct PP_CompletionCallback* callback) { |
| 2048 const struct PPB_VideoDecoder_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
1_0.real_iface; |
| 2049 return iface->Initialize(video_decoder, graphics3d_context, profile, accelerat
ion, *callback); |
| 2050 } |
| 2051 |
| 2052 static int32_t Pnacl_M40_PPB_VideoDecoder_Decode(PP_Resource video_decoder, uint
32_t decode_id, uint32_t size, const void* buffer, struct PP_CompletionCallback*
callback) { |
| 2053 const struct PPB_VideoDecoder_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
1_0.real_iface; |
| 2054 return iface->Decode(video_decoder, decode_id, size, buffer, *callback); |
| 2055 } |
| 2056 |
| 2057 static int32_t Pnacl_M40_PPB_VideoDecoder_GetPicture(PP_Resource video_decoder,
struct PP_VideoPicture* picture, struct PP_CompletionCallback* callback) { |
| 2058 const struct PPB_VideoDecoder_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
1_0.real_iface; |
| 2059 return iface->GetPicture(video_decoder, picture, *callback); |
| 2060 } |
| 2061 |
| 2062 static void Pnacl_M40_PPB_VideoDecoder_RecyclePicture(PP_Resource video_decoder,
const struct PP_VideoPicture* picture) { |
| 2063 const struct PPB_VideoDecoder_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
1_0.real_iface; |
| 2064 iface->RecyclePicture(video_decoder, picture); |
| 2065 } |
| 2066 |
| 2067 static int32_t Pnacl_M40_PPB_VideoDecoder_Flush(PP_Resource video_decoder, struc
t PP_CompletionCallback* callback) { |
| 2068 const struct PPB_VideoDecoder_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
1_0.real_iface; |
| 2069 return iface->Flush(video_decoder, *callback); |
| 2070 } |
| 2071 |
| 2072 static int32_t Pnacl_M40_PPB_VideoDecoder_Reset(PP_Resource video_decoder, struc
t PP_CompletionCallback* callback) { |
| 2073 const struct PPB_VideoDecoder_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_
1_0.real_iface; |
| 2074 return iface->Reset(video_decoder, *callback); |
| 2075 } |
| 2076 |
| 2077 /* End wrapper methods for PPB_VideoDecoder_1_0 */ |
| 2078 |
2034 /* Not generating wrapper methods for PPB_VideoFrame_0_1 */ | 2079 /* Not generating wrapper methods for PPB_VideoFrame_0_1 */ |
2035 | 2080 |
2036 /* Not generating wrapper methods for PPB_View_1_0 */ | 2081 /* Not generating wrapper methods for PPB_View_1_0 */ |
2037 | 2082 |
2038 /* Not generating wrapper methods for PPB_View_1_1 */ | 2083 /* Not generating wrapper methods for PPB_View_1_1 */ |
2039 | 2084 |
2040 /* Not generating wrapper methods for PPB_View_1_2 */ | 2085 /* Not generating wrapper methods for PPB_View_1_2 */ |
2041 | 2086 |
2042 /* Begin wrapper methods for PPB_WebSocket_1_0 */ | 2087 /* Begin wrapper methods for PPB_WebSocket_1_0 */ |
2043 | 2088 |
(...skipping 2952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4996 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_Va
rDictionary_Delete, | 5041 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_Va
rDictionary_Delete, |
4997 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB
_VarDictionary_HasKey, | 5042 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB
_VarDictionary_HasKey, |
4998 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M29_PPB_VarDictiona
ry_GetKeys | 5043 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M29_PPB_VarDictiona
ry_GetKeys |
4999 }; | 5044 }; |
5000 | 5045 |
5001 static const struct PPB_VideoDecoder_0_1 Pnacl_Wrappers_PPB_VideoDecoder_0_1 = { | 5046 static const struct PPB_VideoDecoder_0_1 Pnacl_Wrappers_PPB_VideoDecoder_0_1 = { |
5002 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M36_PPB_VideoDecoder
_Create, | 5047 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M36_PPB_VideoDecoder
_Create, |
5003 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M36_PPB_VideoDec
oder_IsVideoDecoder, | 5048 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M36_PPB_VideoDec
oder_IsVideoDecoder, |
5004 .Initialize = (int32_t (*)(PP_Resource video_decoder, PP_Resource graphics3d
_context, PP_VideoProfile profile, PP_Bool allow_software_fallback, struct PP_Co
mpletionCallback callback))&Pnacl_M36_PPB_VideoDecoder_Initialize, | 5049 .Initialize = (int32_t (*)(PP_Resource video_decoder, PP_Resource graphics3d
_context, PP_VideoProfile profile, PP_Bool allow_software_fallback, struct PP_Co
mpletionCallback callback))&Pnacl_M36_PPB_VideoDecoder_Initialize, |
5005 .Decode = (int32_t (*)(PP_Resource video_decoder, uint32_t decode_id, uint32
_t size, const void* buffer, struct PP_CompletionCallback callback))&Pnacl_M36_P
PB_VideoDecoder_Decode, | 5050 .Decode = (int32_t (*)(PP_Resource video_decoder, uint32_t decode_id, uint32
_t size, const void* buffer, struct PP_CompletionCallback callback))&Pnacl_M36_P
PB_VideoDecoder_Decode, |
5006 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture
* picture, struct PP_CompletionCallback callback))&Pnacl_M36_PPB_VideoDecoder_Ge
tPicture, | 5051 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture
_0_1* picture, struct PP_CompletionCallback callback))&Pnacl_M36_PPB_VideoDecode
r_GetPicture, |
5007 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video
Picture* picture))&Pnacl_M36_PPB_VideoDecoder_RecyclePicture, | 5052 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video
Picture* picture))&Pnacl_M36_PPB_VideoDecoder_RecyclePicture, |
5008 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M36_PPB_VideoDecoder_Flush, | 5053 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M36_PPB_VideoDecoder_Flush, |
5009 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M36_PPB_VideoDecoder_Reset | 5054 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M36_PPB_VideoDecoder_Reset |
5010 }; | 5055 }; |
5011 | 5056 |
5012 static const struct PPB_VideoDecoder_0_2 Pnacl_Wrappers_PPB_VideoDecoder_0_2 = { | 5057 static const struct PPB_VideoDecoder_0_2 Pnacl_Wrappers_PPB_VideoDecoder_0_2 = { |
5013 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M39_PPB_VideoDecoder
_Create, | 5058 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M39_PPB_VideoDecoder
_Create, |
5014 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M39_PPB_VideoDec
oder_IsVideoDecoder, | 5059 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M39_PPB_VideoDec
oder_IsVideoDecoder, |
5015 .Initialize = (int32_t (*)(PP_Resource video_decoder, PP_Resource graphics3d
_context, PP_VideoProfile profile, PP_HardwareAcceleration acceleration, struct
PP_CompletionCallback callback))&Pnacl_M39_PPB_VideoDecoder_Initialize, | 5060 .Initialize = (int32_t (*)(PP_Resource video_decoder, PP_Resource graphics3d
_context, PP_VideoProfile profile, PP_HardwareAcceleration acceleration, struct
PP_CompletionCallback callback))&Pnacl_M39_PPB_VideoDecoder_Initialize, |
5016 .Decode = (int32_t (*)(PP_Resource video_decoder, uint32_t decode_id, uint32
_t size, const void* buffer, struct PP_CompletionCallback callback))&Pnacl_M39_P
PB_VideoDecoder_Decode, | 5061 .Decode = (int32_t (*)(PP_Resource video_decoder, uint32_t decode_id, uint32
_t size, const void* buffer, struct PP_CompletionCallback callback))&Pnacl_M39_P
PB_VideoDecoder_Decode, |
5017 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture
* picture, struct PP_CompletionCallback callback))&Pnacl_M39_PPB_VideoDecoder_Ge
tPicture, | 5062 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture
_0_1* picture, struct PP_CompletionCallback callback))&Pnacl_M39_PPB_VideoDecode
r_GetPicture, |
5018 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video
Picture* picture))&Pnacl_M39_PPB_VideoDecoder_RecyclePicture, | 5063 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video
Picture* picture))&Pnacl_M39_PPB_VideoDecoder_RecyclePicture, |
5019 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M39_PPB_VideoDecoder_Flush, | 5064 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M39_PPB_VideoDecoder_Flush, |
5020 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M39_PPB_VideoDecoder_Reset | 5065 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M39_PPB_VideoDecoder_Reset |
5021 }; | 5066 }; |
5022 | 5067 |
| 5068 static const struct PPB_VideoDecoder_1_0 Pnacl_Wrappers_PPB_VideoDecoder_1_0 = { |
| 5069 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M40_PPB_VideoDecoder
_Create, |
| 5070 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M40_PPB_VideoDec
oder_IsVideoDecoder, |
| 5071 .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, |
| 5072 .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, |
| 5073 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture
* picture, struct PP_CompletionCallback callback))&Pnacl_M40_PPB_VideoDecoder_Ge
tPicture, |
| 5074 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video
Picture* picture))&Pnacl_M40_PPB_VideoDecoder_RecyclePicture, |
| 5075 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M40_PPB_VideoDecoder_Flush, |
| 5076 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M40_PPB_VideoDecoder_Reset |
| 5077 }; |
| 5078 |
5023 /* Not generating wrapper interface for PPB_VideoFrame_0_1 */ | 5079 /* Not generating wrapper interface for PPB_VideoFrame_0_1 */ |
5024 | 5080 |
5025 /* Not generating wrapper interface for PPB_View_1_0 */ | 5081 /* Not generating wrapper interface for PPB_View_1_0 */ |
5026 | 5082 |
5027 /* Not generating wrapper interface for PPB_View_1_1 */ | 5083 /* Not generating wrapper interface for PPB_View_1_1 */ |
5028 | 5084 |
5029 /* Not generating wrapper interface for PPB_View_1_2 */ | 5085 /* Not generating wrapper interface for PPB_View_1_2 */ |
5030 | 5086 |
5031 static const struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { | 5087 static const struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { |
5032 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr
eate, | 5088 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr
eate, |
(...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6015 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_1, | 6071 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_1, |
6016 .real_iface = NULL | 6072 .real_iface = NULL |
6017 }; | 6073 }; |
6018 | 6074 |
6019 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2 = { | 6075 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2 = { |
6020 .iface_macro = PPB_VIDEODECODER_INTERFACE_0_2, | 6076 .iface_macro = PPB_VIDEODECODER_INTERFACE_0_2, |
6021 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_2, | 6077 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_2, |
6022 .real_iface = NULL | 6078 .real_iface = NULL |
6023 }; | 6079 }; |
6024 | 6080 |
| 6081 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0 = { |
| 6082 .iface_macro = PPB_VIDEODECODER_INTERFACE_1_0, |
| 6083 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_1_0, |
| 6084 .real_iface = NULL |
| 6085 }; |
| 6086 |
6025 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { | 6087 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { |
6026 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, | 6088 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, |
6027 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, | 6089 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, |
6028 .real_iface = NULL | 6090 .real_iface = NULL |
6029 }; | 6091 }; |
6030 | 6092 |
6031 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0 = { | 6093 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0 = { |
6032 .iface_macro = PPP_MESSAGING_INTERFACE_1_0, | 6094 .iface_macro = PPP_MESSAGING_INTERFACE_1_0, |
6033 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Messaging_1_0, | 6095 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Messaging_1_0, |
6034 .real_iface = NULL | 6096 .real_iface = NULL |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6425 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, | 6487 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, |
6426 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, | 6488 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, |
6427 &Pnacl_WrapperInfo_PPB_Var_1_0, | 6489 &Pnacl_WrapperInfo_PPB_Var_1_0, |
6428 &Pnacl_WrapperInfo_PPB_Var_1_1, | 6490 &Pnacl_WrapperInfo_PPB_Var_1_1, |
6429 &Pnacl_WrapperInfo_PPB_Var_1_2, | 6491 &Pnacl_WrapperInfo_PPB_Var_1_2, |
6430 &Pnacl_WrapperInfo_PPB_VarArray_1_0, | 6492 &Pnacl_WrapperInfo_PPB_VarArray_1_0, |
6431 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, | 6493 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, |
6432 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, | 6494 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, |
6433 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1, | 6495 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1, |
6434 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2, | 6496 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2, |
| 6497 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, |
6435 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, | 6498 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, |
6436 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, | 6499 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, |
6437 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, | 6500 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, |
6438 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, | 6501 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, |
6439 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, | 6502 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, |
6440 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, | 6503 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, |
6441 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, | 6504 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, |
6442 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, | 6505 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, |
6443 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, | 6506 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, |
6444 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, | 6507 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6560 | 6623 |
6561 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6624 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6562 if (wrapper->real_iface == NULL) { | 6625 if (wrapper->real_iface == NULL) { |
6563 const void *iface = (*__real_PPPGetInterface)(name); | 6626 const void *iface = (*__real_PPPGetInterface)(name); |
6564 if (NULL == iface) return NULL; | 6627 if (NULL == iface) return NULL; |
6565 wrapper->real_iface = iface; | 6628 wrapper->real_iface = iface; |
6566 } | 6629 } |
6567 | 6630 |
6568 return wrapper->wrapped_iface; | 6631 return wrapper->wrapped_iface; |
6569 } | 6632 } |
OLD | NEW |