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

Side by Side Diff: ppapi/thunk/resource_creation_api.h

Issue 10408003: Plumb extra_data() to VideoDecodeAccelerator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rev interface versino Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/thunk/ppb_video_decoder_thunk.cc ('k') | webkit/plugins/ppapi/ppb_video_decoder_impl.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_ 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_
7 7
8 #include "ppapi/c/dev/ppb_audio_input_dev.h" 8 #include "ppapi/c/dev/ppb_audio_input_dev.h"
9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; 130 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0;
131 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; 131 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0;
132 virtual PP_Resource CreateTransport(PP_Instance instance, 132 virtual PP_Resource CreateTransport(PP_Instance instance,
133 const char* name, 133 const char* name,
134 PP_TransportType type) = 0; 134 PP_TransportType type) = 0;
135 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; 135 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0;
136 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; 136 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0;
137 virtual PP_Resource CreateVideoDecoder( 137 virtual PP_Resource CreateVideoDecoder(
138 PP_Instance instance, 138 PP_Instance instance,
139 PP_Resource context3d_id, 139 PP_Resource context3d_id,
140 PP_VideoDecoder_Profile profile) = 0; 140 PP_VideoDecoder_Profile profile,
141 const PP_Size& frame_size,
142 const uint8_t* extra_data,
143 uint32_t extra_data_size) = 0;
141 virtual PP_Resource CreateVideoLayer(PP_Instance instance, 144 virtual PP_Resource CreateVideoLayer(PP_Instance instance,
142 PP_VideoLayerMode_Dev mode) = 0; 145 PP_VideoLayerMode_Dev mode) = 0;
143 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; 146 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0;
144 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; 147 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0;
145 #endif // !defined(OS_NACL) 148 #endif // !defined(OS_NACL)
146 149
147 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 150 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
148 }; 151 };
149 152
150 } // namespace thunk 153 } // namespace thunk
151 } // namespace ppapi 154 } // namespace ppapi
152 155
153 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 156 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_video_decoder_thunk.cc ('k') | webkit/plugins/ppapi/ppb_video_decoder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698