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

Side by Side Diff: content/common/gpu/media/vaapi_video_decode_accelerator.cc

Issue 317083003: Merge VideoDecodeAcceleratorImpl with VideoDecodeAccelerator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add logging include Created 6 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/debug/trace_event.h" 6 #include "base/debug/trace_event.h"
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 909
910 state_ = kUninitialized; 910 state_ = kUninitialized;
911 } 911 }
912 912
913 void VaapiVideoDecodeAccelerator::Destroy() { 913 void VaapiVideoDecodeAccelerator::Destroy() {
914 DCHECK_EQ(message_loop_, base::MessageLoop::current()); 914 DCHECK_EQ(message_loop_, base::MessageLoop::current());
915 Cleanup(); 915 Cleanup();
916 delete this; 916 delete this;
917 } 917 }
918 918
919 bool VaapiVideoDecodeAccelerator::CanDecodeOnIOThread() {
920 return false;
921 }
922
919 } // namespace content 923 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/media/vaapi_video_decode_accelerator.h ('k') | content/common/gpu/media/video_decode_accelerator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698