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

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

Issue 795633005: Add VDA supported profile to GPUInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile error Created 5 years, 8 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
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/logging.h" 6 #include "base/logging.h"
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/synchronization/waitable_event.h" 10 #include "base/synchronization/waitable_event.h"
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 void VaapiVideoDecodeAccelerator::Destroy() { 741 void VaapiVideoDecodeAccelerator::Destroy() {
742 DCHECK_EQ(message_loop_, base::MessageLoop::current()); 742 DCHECK_EQ(message_loop_, base::MessageLoop::current());
743 Cleanup(); 743 Cleanup();
744 delete this; 744 delete this;
745 } 745 }
746 746
747 bool VaapiVideoDecodeAccelerator::CanDecodeOnIOThread() { 747 bool VaapiVideoDecodeAccelerator::CanDecodeOnIOThread() {
748 return false; 748 return false;
749 } 749 }
750 750
751 // static
752 media::VideoDecodeAccelerator::SupportedProfiles
753 VaapiVideoDecodeAccelerator::GetSupportedProfiles() {
754 return VaapiWrapper::GetSupportedDecodeProfiles();
755 }
756
751 } // namespace content 757 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/media/vaapi_video_decode_accelerator.h ('k') | content/common/gpu/media/vaapi_video_encode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698