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 #ifndef GPU_CONFIG_GPU_INFO_H_ | 5 #ifndef GPU_CONFIG_GPU_INFO_H_ |
6 #define GPU_CONFIG_GPU_INFO_H_ | 6 #define GPU_CONFIG_GPU_INFO_H_ |
7 | 7 |
8 // Provides access to the GPU information for the system | 8 // Provides access to the GPU information for the system |
9 // on which chrome is currently running. | 9 // on which chrome is currently running. |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 H264PROFILE_STEREOHIGH, | 55 H264PROFILE_STEREOHIGH, |
56 H264PROFILE_MULTIVIEWHIGH, | 56 H264PROFILE_MULTIVIEWHIGH, |
57 VP8PROFILE_ANY, | 57 VP8PROFILE_ANY, |
58 VP9PROFILE_PROFILE0, | 58 VP9PROFILE_PROFILE0, |
59 VP9PROFILE_PROFILE1, | 59 VP9PROFILE_PROFILE1, |
60 VP9PROFILE_PROFILE2, | 60 VP9PROFILE_PROFILE2, |
61 VP9PROFILE_PROFILE3, | 61 VP9PROFILE_PROFILE3, |
62 HEVCPROFILE_MAIN, | 62 HEVCPROFILE_MAIN, |
63 HEVCPROFILE_MAIN10, | 63 HEVCPROFILE_MAIN10, |
64 HEVCPROFILE_MAIN_STILL_PICTURE, | 64 HEVCPROFILE_MAIN_STILL_PICTURE, |
65 VIDEO_CODEC_PROFILE_MAX = HEVCPROFILE_MAIN_STILL_PICTURE, | 65 DOLBYVISION_PROFILE0, |
| 66 DOLBYVISION_PROFILE4, |
| 67 DOLBYVISION_PROFILE5, |
| 68 DOLBYVISION_PROFILE7, |
| 69 VIDEO_CODEC_PROFILE_MAX = DOLBYVISION_PROFILE7, |
66 }; | 70 }; |
67 | 71 |
68 // Specification of a decoding profile supported by a hardware decoder. | 72 // Specification of a decoding profile supported by a hardware decoder. |
69 struct GPU_EXPORT VideoDecodeAcceleratorSupportedProfile { | 73 struct GPU_EXPORT VideoDecodeAcceleratorSupportedProfile { |
70 VideoCodecProfile profile; | 74 VideoCodecProfile profile; |
71 gfx::Size max_resolution; | 75 gfx::Size max_resolution; |
72 gfx::Size min_resolution; | 76 gfx::Size min_resolution; |
73 bool encrypted_only; | 77 bool encrypted_only; |
74 }; | 78 }; |
75 | 79 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 virtual ~Enumerator() {} | 295 virtual ~Enumerator() {} |
292 }; | 296 }; |
293 | 297 |
294 // Outputs the fields in this structure to the provided enumerator. | 298 // Outputs the fields in this structure to the provided enumerator. |
295 void EnumerateFields(Enumerator* enumerator) const; | 299 void EnumerateFields(Enumerator* enumerator) const; |
296 }; | 300 }; |
297 | 301 |
298 } // namespace gpu | 302 } // namespace gpu |
299 | 303 |
300 #endif // GPU_CONFIG_GPU_INFO_H_ | 304 #endif // GPU_CONFIG_GPU_INFO_H_ |
OLD | NEW |