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

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

Issue 263893005: Rename some PPB_VideoDecoder_Dev implementation types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename resource creation API method CreateVideoDecoder (add Dev). Created 6 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/ppb_video_decoder_proxy.cc ('k') | ppapi/proxy/resource_creation_proxy.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/ppp_video_decoder_proxy.h" 5 #include "ppapi/proxy/ppp_video_decoder_proxy.h"
6 6
7 #include "ppapi/proxy/host_dispatcher.h" 7 #include "ppapi/proxy/host_dispatcher.h"
8 #include "ppapi/proxy/plugin_globals.h" 8 #include "ppapi/proxy/plugin_globals.h"
9 #include "ppapi/proxy/plugin_resource_tracker.h" 9 #include "ppapi/proxy/plugin_resource_tracker.h"
10 #include "ppapi/proxy/ppapi_messages.h" 10 #include "ppapi/proxy/ppapi_messages.h"
11 #include "ppapi/proxy/ppb_video_decoder_proxy.h" 11 #include "ppapi/proxy/ppb_video_decoder_proxy.h"
12 #include "ppapi/thunk/enter.h" 12 #include "ppapi/thunk/enter.h"
13 #include "ppapi/thunk/ppb_video_decoder_api.h" 13 #include "ppapi/thunk/ppb_video_decoder_dev_api.h"
14 #include "ppapi/thunk/thunk.h" 14 #include "ppapi/thunk/thunk.h"
15 15
16 using ppapi::thunk::PPB_VideoDecoder_API;
17
18 namespace ppapi { 16 namespace ppapi {
19 namespace proxy { 17 namespace proxy {
20 18
21 namespace { 19 namespace {
22 20
23 void ProvidePictureBuffers(PP_Instance instance, PP_Resource decoder, 21 void ProvidePictureBuffers(PP_Instance instance, PP_Resource decoder,
24 uint32_t req_num_of_bufs, 22 uint32_t req_num_of_bufs,
25 const PP_Size* dimensions, 23 const PP_Size* dimensions,
26 uint32_t texture_target) { 24 uint32_t texture_target) {
27 HostResource decoder_resource; 25 HostResource decoder_resource;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 if (!plugin_decoder) 162 if (!plugin_decoder)
165 return; 163 return;
166 CallWhileUnlocked(ppp_video_decoder_impl_->NotifyError, 164 CallWhileUnlocked(ppp_video_decoder_impl_->NotifyError,
167 decoder.instance(), 165 decoder.instance(),
168 plugin_decoder, 166 plugin_decoder,
169 error); 167 error);
170 } 168 }
171 169
172 } // namespace proxy 170 } // namespace proxy
173 } // namespace ppapi 171 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_video_decoder_proxy.cc ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698