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/debug/trace_event.h" | |
7 #include "base/logging.h" | 6 #include "base/logging.h" |
8 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
9 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
10 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
11 #include "base/synchronization/waitable_event.h" | 10 #include "base/synchronization/waitable_event.h" |
| 11 #include "base/trace_event/trace_event.h" |
12 #include "content/common/gpu/gpu_channel.h" | 12 #include "content/common/gpu/gpu_channel.h" |
13 #include "content/common/gpu/media/vaapi_picture.h" | 13 #include "content/common/gpu/media/vaapi_picture.h" |
14 #include "content/common/gpu/media/vaapi_video_decode_accelerator.h" | 14 #include "content/common/gpu/media/vaapi_video_decode_accelerator.h" |
15 #include "media/base/bind_to_current_loop.h" | 15 #include "media/base/bind_to_current_loop.h" |
16 #include "media/video/picture.h" | 16 #include "media/video/picture.h" |
17 #include "ui/gl/gl_bindings.h" | 17 #include "ui/gl/gl_bindings.h" |
18 | 18 |
19 static void ReportToUMA( | 19 static void ReportToUMA( |
20 content::VaapiH264Decoder::VAVDAH264DecoderFailure failure) { | 20 content::VaapiH264Decoder::VAVDAH264DecoderFailure failure) { |
21 UMA_HISTOGRAM_ENUMERATION( | 21 UMA_HISTOGRAM_ENUMERATION( |
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 DCHECK_EQ(message_loop_, base::MessageLoop::current()); | 732 DCHECK_EQ(message_loop_, base::MessageLoop::current()); |
733 Cleanup(); | 733 Cleanup(); |
734 delete this; | 734 delete this; |
735 } | 735 } |
736 | 736 |
737 bool VaapiVideoDecodeAccelerator::CanDecodeOnIOThread() { | 737 bool VaapiVideoDecodeAccelerator::CanDecodeOnIOThread() { |
738 return false; | 738 return false; |
739 } | 739 } |
740 | 740 |
741 } // namespace content | 741 } // namespace content |
OLD | NEW |