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

Side by Side Diff: content/renderer/media/ipc_video_decoder.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/media/ipc_video_decoder.h" 5 #include "content/renderer/media/ipc_video_decoder.h"
6 6
7 #include "base/task.h" 7 #include "base/task.h"
8 #include "content/common/child_process.h" 8 #include "content/common/child_process.h"
9 #include "content/renderer/renderer_gl_context.h" 9 #include "content/renderer/gpu/renderer_gl_context.h"
10 #include "media/base/callback.h" 10 #include "media/base/callback.h"
11 #include "media/base/filters.h" 11 #include "media/base/filters.h"
12 #include "media/base/filter_host.h" 12 #include "media/base/filter_host.h"
13 #include "media/base/limits.h" 13 #include "media/base/limits.h"
14 #include "media/base/media_format.h" 14 #include "media/base/media_format.h"
15 #include "media/base/video_frame.h" 15 #include "media/base/video_frame.h"
16 #include "media/ffmpeg/ffmpeg_common.h" 16 #include "media/ffmpeg/ffmpeg_common.h"
17 #include "media/video/video_decode_engine.h" 17 #include "media/video/video_decode_engine.h"
18 18
19 IpcVideoDecoder::IpcVideoDecoder(MessageLoop* message_loop, 19 IpcVideoDecoder::IpcVideoDecoder(MessageLoop* message_loop,
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 statistics_callback_->Run(statistics); 193 statistics_callback_->Run(statistics);
194 194
195 VideoFrameReady(video_frame); 195 VideoFrameReady(video_frame);
196 } 196 }
197 197
198 // This method is called by VideoDecodeEngine to request a video frame. The 198 // This method is called by VideoDecodeEngine to request a video frame. The
199 // request is passed to demuxer. 199 // request is passed to demuxer.
200 void IpcVideoDecoder::ProduceVideoSample(scoped_refptr<media::Buffer> buffer) { 200 void IpcVideoDecoder::ProduceVideoSample(scoped_refptr<media::Buffer> buffer) {
201 demuxer_stream_->Read(base::Bind(&IpcVideoDecoder::OnReadComplete, this)); 201 demuxer_stream_->Read(base::Bind(&IpcVideoDecoder::OnReadComplete, this));
202 } 202 }
OLDNEW
« no previous file with comments | « content/renderer/media/gles2_video_decode_context.cc ('k') | content/renderer/pepper_platform_context_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698