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

Side by Side Diff: content/renderer/gpu/gpu_video_decoder_host.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/gpu_video_decoder_host.h" 5 #include "content/renderer/gpu/gpu_video_decoder_host.h"
6 6
7 #include "content/common/gpu/gpu_messages.h" 7 #include "content/common/gpu/gpu_messages.h"
8 #include "content/common/message_router.h" 8 #include "content/common/message_router.h"
9 #include "media/base/pipeline.h" 9 #include "media/base/pipeline.h"
10 #include "media/video/video_decode_context.h" 10 #include "media/video/video_decode_context.h"
11 11
12 GpuVideoDecoderHost::GpuVideoDecoderHost(MessageRouter* router, 12 GpuVideoDecoderHost::GpuVideoDecoderHost(MessageRouter* router,
13 IPC::Message::Sender* ipc_sender, 13 IPC::Message::Sender* ipc_sender,
14 int context_route_id, 14 int context_route_id,
15 int32 decoder_host_id) 15 int32 decoder_host_id)
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 } 392 }
393 393
394 DCHECK(found) << "Invalid video frame received"; 394 DCHECK(found) << "Invalid video frame received";
395 if (found && !ipc_sender_->Send( 395 if (found && !ipc_sender_->Send(
396 new GpuVideoDecoderMsg_ProduceVideoFrame(decoder_id_, frame_id))) { 396 new GpuVideoDecoderMsg_ProduceVideoFrame(decoder_id_, frame_id))) {
397 LOG(ERROR) << "GpuVideoDecoderMsg_ProduceVideoFrame failed"; 397 LOG(ERROR) << "GpuVideoDecoderMsg_ProduceVideoFrame failed";
398 } 398 }
399 } 399 }
400 400
401 DISABLE_RUNNABLE_METHOD_REFCOUNT(GpuVideoDecoderHost); 401 DISABLE_RUNNABLE_METHOD_REFCOUNT(GpuVideoDecoderHost);
OLDNEW
« no previous file with comments | « content/renderer/gpu/gpu_video_decoder_host.h ('k') | content/renderer/gpu/gpu_video_service_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698