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

Side by Side Diff: content/gpu/media/fake_gl_video_decode_engine.cc

Issue 6684015: Move chrome\gpu to content\gpu. (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
Property Changes:
Added: svn:eol-style
+ LF
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 "chrome/gpu/media/fake_gl_video_decode_engine.h" 5 #include "content/gpu/media/fake_gl_video_decode_engine.h"
6 6
7 #include "media/base/limits.h" 7 #include "media/base/limits.h"
8 #include "media/base/video_frame.h" 8 #include "media/base/video_frame.h"
9 #include "media/video/video_decode_context.h" 9 #include "media/video/video_decode_context.h"
10 10
11 FakeGlVideoDecodeEngine::FakeGlVideoDecodeEngine() 11 FakeGlVideoDecodeEngine::FakeGlVideoDecodeEngine()
12 : width_(0), 12 : width_(0),
13 height_(0), 13 height_(0),
14 handler_(NULL), 14 handler_(NULL),
15 context_(NULL) { 15 context_(NULL) {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 handler_->ProduceVideoSample(NULL); 123 handler_->ProduceVideoSample(NULL);
124 } 124 }
125 125
126 void FakeGlVideoDecodeEngine::UploadCompleteTask( 126 void FakeGlVideoDecodeEngine::UploadCompleteTask(
127 scoped_refptr<media::VideoFrame> frame) { 127 scoped_refptr<media::VideoFrame> frame) {
128 // |frame| is the upload target. We can immediately send this frame out. 128 // |frame| is the upload target. We can immediately send this frame out.
129 handler_->ConsumeVideoFrame(frame, dummy_stats_); 129 handler_->ConsumeVideoFrame(frame, dummy_stats_);
130 } 130 }
131 131
132 DISABLE_RUNNABLE_METHOD_REFCOUNT(FakeGlVideoDecodeEngine); 132 DISABLE_RUNNABLE_METHOD_REFCOUNT(FakeGlVideoDecodeEngine);
OLDNEW
« no previous file with comments | « content/gpu/media/fake_gl_video_decode_engine.h ('k') | content/gpu/media/fake_gl_video_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698