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 "content/common/gpu/media/vaapi_video_decode_accelerator.h" | 5 #include "content/common/gpu/media/vaapi_video_decode_accelerator.h" |
6 | 6 |
| 7 #include <string.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/logging.h" | 10 #include "base/logging.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
11 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
12 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
13 #include "base/synchronization/waitable_event.h" | 15 #include "base/synchronization/waitable_event.h" |
14 #include "base/trace_event/trace_event.h" | 16 #include "base/trace_event/trace_event.h" |
15 #include "content/common/gpu/gpu_channel.h" | 17 #include "content/common/gpu/gpu_channel.h" |
16 #include "content/common/gpu/media/accelerated_video_decoder.h" | 18 #include "content/common/gpu/media/accelerated_video_decoder.h" |
(...skipping 1723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1740 return vaapi_pic->dec_surface(); | 1742 return vaapi_pic->dec_surface(); |
1741 } | 1743 } |
1742 | 1744 |
1743 // static | 1745 // static |
1744 media::VideoDecodeAccelerator::SupportedProfiles | 1746 media::VideoDecodeAccelerator::SupportedProfiles |
1745 VaapiVideoDecodeAccelerator::GetSupportedProfiles() { | 1747 VaapiVideoDecodeAccelerator::GetSupportedProfiles() { |
1746 return VaapiWrapper::GetSupportedDecodeProfiles(); | 1748 return VaapiWrapper::GetSupportedDecodeProfiles(); |
1747 } | 1749 } |
1748 | 1750 |
1749 } // namespace content | 1751 } // namespace content |
OLD | NEW |