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

Side by Side Diff: content/renderer/pepper_platform_video_decoder_impl.cc

Issue 7066035: Moved GPU related files in content/renderer into gpu subdirectory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/renderer/pepper_platform_video_decoder_impl.h" 5 #include "content/renderer/pepper_platform_video_decoder_impl.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "content/common/child_process.h" 11 #include "content/common/child_process.h"
12 #include "content/renderer/gpu_channel_host.h" 12 #include "content/renderer/gpu/gpu_channel_host.h"
13 #include "content/renderer/gpu_video_decode_accelerator_host.h" 13 #include "content/renderer/gpu/gpu_video_decode_accelerator_host.h"
14 #include "content/renderer/gpu_video_service_host.h" 14 #include "content/renderer/gpu/gpu_video_service_host.h"
15 #include "content/renderer/render_thread.h" 15 #include "content/renderer/render_thread.h"
16 16
17 using media::BitstreamBuffer; 17 using media::BitstreamBuffer;
18 using media::VideoDecodeAcceleratorCallback; 18 using media::VideoDecodeAcceleratorCallback;
19 19
20 PlatformVideoDecoderImpl::PlatformVideoDecoderImpl( 20 PlatformVideoDecoderImpl::PlatformVideoDecoderImpl(
21 VideoDecodeAccelerator::Client* client) 21 VideoDecodeAccelerator::Client* client)
22 : client_(client), 22 : client_(client),
23 decoder_(NULL) { 23 decoder_(NULL) {
24 DCHECK(client); 24 DCHECK(client);
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 client_->NotifyEndOfBitstreamBuffer(bitstream_buffer_id); 144 client_->NotifyEndOfBitstreamBuffer(bitstream_buffer_id);
145 } 145 }
146 146
147 void PlatformVideoDecoderImpl::NotifyFlushDone() { 147 void PlatformVideoDecoderImpl::NotifyFlushDone() {
148 client_->NotifyFlushDone(); 148 client_->NotifyFlushDone();
149 } 149 }
150 150
151 void PlatformVideoDecoderImpl::NotifyAbortDone() { 151 void PlatformVideoDecoderImpl::NotifyAbortDone() {
152 client_->NotifyAbortDone(); 152 client_->NotifyAbortDone();
153 } 153 }
OLDNEW
« no previous file with comments | « content/renderer/pepper_platform_context_3d_impl.cc ('k') | content/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698