OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/vt_video_decode_accelerator_mac.h" | 5 #include "content/common/gpu/media/vt_video_decode_accelerator_mac.h" |
6 | 6 |
7 #include <CoreVideo/CoreVideo.h> | 7 #include <CoreVideo/CoreVideo.h> |
8 #include <OpenGL/CGLIOSurface.h> | 8 #include <OpenGL/CGLIOSurface.h> |
9 #include <OpenGL/gl.h> | 9 #include <OpenGL/gl.h> |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include <algorithm> | 12 #include <algorithm> |
| 13 #include <memory> |
13 | 14 |
14 #include "base/bind.h" | 15 #include "base/bind.h" |
15 #include "base/logging.h" | 16 #include "base/logging.h" |
16 #include "base/mac/mac_logging.h" | 17 #include "base/mac/mac_logging.h" |
17 #include "base/macros.h" | 18 #include "base/macros.h" |
18 #include "base/memory/ptr_util.h" | 19 #include "base/memory/ptr_util.h" |
19 #include "base/metrics/histogram_macros.h" | 20 #include "base/metrics/histogram_macros.h" |
20 #include "base/sys_byteorder.h" | 21 #include "base/sys_byteorder.h" |
21 #include "base/sys_info.h" | 22 #include "base/sys_info.h" |
22 #include "base/thread_task_runner_handle.h" | 23 #include "base/thread_task_runner_handle.h" |
(...skipping 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1150 SupportedProfile profile; | 1151 SupportedProfile profile; |
1151 profile.profile = supported_profile; | 1152 profile.profile = supported_profile; |
1152 profile.min_resolution.SetSize(16, 16); | 1153 profile.min_resolution.SetSize(16, 16); |
1153 profile.max_resolution.SetSize(4096, 2160); | 1154 profile.max_resolution.SetSize(4096, 2160); |
1154 profiles.push_back(profile); | 1155 profiles.push_back(profile); |
1155 } | 1156 } |
1156 return profiles; | 1157 return profiles; |
1157 } | 1158 } |
1158 | 1159 |
1159 } // namespace content | 1160 } // namespace content |
OLD | NEW |