| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/android_video_decode_accelerator.h" | 5 #include "content/common/gpu/media/android_video_decode_accelerator.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <memory> |
| 10 |
| 9 #include "base/android/build_info.h" | 11 #include "base/android/build_info.h" |
| 10 #include "base/auto_reset.h" | 12 #include "base/auto_reset.h" |
| 11 #include "base/bind.h" | 13 #include "base/bind.h" |
| 12 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
| 13 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 14 #include "base/lazy_instance.h" | 16 #include "base/lazy_instance.h" |
| 15 #include "base/logging.h" | 17 #include "base/logging.h" |
| 16 #include "base/message_loop/message_loop.h" | 18 #include "base/message_loop/message_loop.h" |
| 17 #include "base/metrics/histogram.h" | 19 #include "base/metrics/histogram.h" |
| 18 #include "base/task_runner_util.h" | 20 #include "base/task_runner_util.h" |
| (...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1323 if (media::MediaCodecUtil::IsSurfaceViewOutputSupported()) { | 1325 if (media::MediaCodecUtil::IsSurfaceViewOutputSupported()) { |
| 1324 capabilities.flags |= media::VideoDecodeAccelerator::Capabilities:: | 1326 capabilities.flags |= media::VideoDecodeAccelerator::Capabilities:: |
| 1325 SUPPORTS_EXTERNAL_OUTPUT_SURFACE; | 1327 SUPPORTS_EXTERNAL_OUTPUT_SURFACE; |
| 1326 } | 1328 } |
| 1327 } | 1329 } |
| 1328 | 1330 |
| 1329 return capabilities; | 1331 return capabilities; |
| 1330 } | 1332 } |
| 1331 | 1333 |
| 1332 } // namespace content | 1334 } // namespace content |
| OLD | NEW |