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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.cc

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/proxy/resource_creation_proxy.h ('k') | ppapi/thunk/interfaces_ppb_public_dev.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 #include "ppapi/proxy/resource_creation_proxy.h" 5 #include "ppapi/proxy/resource_creation_proxy.h"
6 6
7 #include "ppapi/c/pp_errors.h" 7 #include "ppapi/c/pp_errors.h"
8 #include "ppapi/c/pp_size.h" 8 #include "ppapi/c/pp_size.h"
9 #include "ppapi/c/trusted/ppb_image_data_trusted.h" 9 #include "ppapi/c/trusted/ppb_image_data_trusted.h"
10 #include "ppapi/proxy/plugin_dispatcher.h" 10 #include "ppapi/proxy/plugin_dispatcher.h"
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 return PPB_UDPSocket_Private_Proxy::CreateProxyResource(instance); 331 return PPB_UDPSocket_Private_Proxy::CreateProxyResource(instance);
332 } 332 }
333 333
334 PP_Resource ResourceCreationProxy::CreateVideoCapture(PP_Instance instance) { 334 PP_Resource ResourceCreationProxy::CreateVideoCapture(PP_Instance instance) {
335 return PPB_VideoCapture_Proxy::CreateProxyResource(instance); 335 return PPB_VideoCapture_Proxy::CreateProxyResource(instance);
336 } 336 }
337 337
338 PP_Resource ResourceCreationProxy::CreateVideoDecoder( 338 PP_Resource ResourceCreationProxy::CreateVideoDecoder(
339 PP_Instance instance, 339 PP_Instance instance,
340 PP_Resource context3d_id, 340 PP_Resource context3d_id,
341 PP_VideoDecoder_Profile profile) { 341 PP_VideoDecoder_Profile profile,
342 return PPB_VideoDecoder_Proxy::CreateProxyResource( 342 const PP_Size& frame_size,
343 instance, context3d_id, profile); 343 const uint8_t* extra_data,
344 uint32_t extra_data_size) {
345 return PPB_VideoDecoder_Proxy::CreateProxyResource(instance, context3d_id,
346 profile, frame_size, extra_data, extra_data_size);
344 } 347 }
345 348
346 PP_Resource ResourceCreationProxy::CreateVideoLayer( 349 PP_Resource ResourceCreationProxy::CreateVideoLayer(
347 PP_Instance instance, 350 PP_Instance instance,
348 PP_VideoLayerMode_Dev mode) { 351 PP_VideoLayerMode_Dev mode) {
349 NOTIMPLEMENTED(); 352 NOTIMPLEMENTED();
350 return 0; 353 return 0;
351 } 354 }
352 355
353 PP_Resource ResourceCreationProxy::CreateWebSocket(PP_Instance instance) { 356 PP_Resource ResourceCreationProxy::CreateWebSocket(PP_Instance instance) {
(...skipping 11 matching lines...) Expand all
365 bool ResourceCreationProxy::Send(IPC::Message* msg) { 368 bool ResourceCreationProxy::Send(IPC::Message* msg) {
366 return dispatcher()->Send(msg); 369 return dispatcher()->Send(msg);
367 } 370 }
368 371
369 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) { 372 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) {
370 return false; 373 return false;
371 } 374 }
372 375
373 } // namespace proxy 376 } // namespace proxy
374 } // namespace ppapi 377 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.h ('k') | ppapi/thunk/interfaces_ppb_public_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698