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

Side by Side Diff: content/renderer/gpu_video_decoder_host.h

Issue 6713005: Move a bunch of gpu/worker/plugin renderer code to content. I temporarily disabled the sad plugi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | « content/renderer/gpu_channel_host.cc ('k') | content/renderer/gpu_video_decoder_host.cc » ('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) 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 #ifndef CHROME_RENDERER_GPU_VIDEO_DECODER_HOST_H_ 5 #ifndef CONTENT_RENDERER_GPU_VIDEO_DECODER_HOST_H_
6 #define CHROME_RENDERER_GPU_VIDEO_DECODER_HOST_H_ 6 #define CONTENT_RENDERER_GPU_VIDEO_DECODER_HOST_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
11 #include "base/shared_memory.h" 11 #include "base/shared_memory.h"
12 #include "base/singleton.h" 12 #include "base/singleton.h"
13 #include "chrome/renderer/gpu_channel_host.h" 13 #include "content/renderer/gpu_channel_host.h"
14 #include "ipc/ipc_message.h"
15 #include "media/base/buffers.h" 14 #include "media/base/buffers.h"
16 #include "media/base/video_frame.h" 15 #include "media/base/video_frame.h"
17 #include "media/video/video_decode_engine.h" 16 #include "media/video/video_decode_engine.h"
18 17
19 using media::VideoFrame; 18 using media::VideoFrame;
20 using media::Buffer; 19 using media::Buffer;
21 20
22 class MessageRouter; 21 class MessageRouter;
23 struct GpuVideoDecoderInitDoneParam; 22 struct GpuVideoDecoderInitDoneParam;
24 23
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 155
157 // The list of video frames allocated by VideoDecodeContext. 156 // The list of video frames allocated by VideoDecodeContext.
158 std::vector<scoped_refptr<media::VideoFrame> > video_frames_; 157 std::vector<scoped_refptr<media::VideoFrame> > video_frames_;
159 158
160 // The mapping between video frame ID and a video frame. 159 // The mapping between video frame ID and a video frame.
161 VideoFrameMap video_frame_map_; 160 VideoFrameMap video_frame_map_;
162 161
163 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoderHost); 162 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoderHost);
164 }; 163 };
165 164
166 #endif // CHROME_RENDERER_GPU_VIDEO_DECODER_HOST_H_ 165 #endif // CONTENT_RENDERER_GPU_VIDEO_DECODER_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu_channel_host.cc ('k') | content/renderer/gpu_video_decoder_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698