OLD | NEW |
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 Loading... |
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 |
OLD | NEW |