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 22 matching lines...) Expand all Loading... |
33 kCollectInfoSuccess = 1, | 33 kCollectInfoSuccess = 1, |
34 kCollectInfoNonFatalFailure = 2, | 34 kCollectInfoNonFatalFailure = 2, |
35 kCollectInfoFatalFailure = 3 | 35 kCollectInfoFatalFailure = 3 |
36 }; | 36 }; |
37 | 37 |
38 // Video profile. This *must* match media::VideoCodecProfile. | 38 // Video profile. This *must* match media::VideoCodecProfile. |
39 enum VideoCodecProfile { | 39 enum VideoCodecProfile { |
40 VIDEO_CODEC_PROFILE_UNKNOWN = -1, | 40 VIDEO_CODEC_PROFILE_UNKNOWN = -1, |
41 VIDEO_CODEC_PROFILE_MIN = VIDEO_CODEC_PROFILE_UNKNOWN, | 41 VIDEO_CODEC_PROFILE_MIN = VIDEO_CODEC_PROFILE_UNKNOWN, |
42 H264PROFILE_BASELINE = 0, | 42 H264PROFILE_BASELINE = 0, |
43 H264PROFILE_MAIN = 1, | 43 H264PROFILE_MAIN, |
44 H264PROFILE_EXTENDED = 2, | 44 H264PROFILE_EXTENDED, |
45 H264PROFILE_HIGH = 3, | 45 H264PROFILE_HIGH, |
46 H264PROFILE_HIGH10PROFILE = 4, | 46 H264PROFILE_HIGH10PROFILE, |
47 H264PROFILE_HIGH422PROFILE = 5, | 47 H264PROFILE_HIGH422PROFILE, |
48 H264PROFILE_HIGH444PREDICTIVEPROFILE = 6, | 48 H264PROFILE_HIGH444PREDICTIVEPROFILE, |
49 H264PROFILE_SCALABLEBASELINE = 7, | 49 H264PROFILE_SCALABLEBASELINE, |
50 H264PROFILE_SCALABLEHIGH = 8, | 50 H264PROFILE_SCALABLEHIGH, |
51 H264PROFILE_STEREOHIGH = 9, | 51 H264PROFILE_STEREOHIGH, |
52 H264PROFILE_MULTIVIEWHIGH = 10, | 52 H264PROFILE_MULTIVIEWHIGH, |
53 VP8PROFILE_ANY = 11, | 53 VP8PROFILE_ANY, |
54 VP9PROFILE_ANY = 12, | 54 VP9PROFILE_PROFILE0, |
55 VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_ANY, | 55 VP9PROFILE_PROFILE1, |
| 56 VP9PROFILE_PROFILE2, |
| 57 VP9PROFILE_PROFILE3, |
| 58 VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_PROFILE3, |
56 }; | 59 }; |
57 | 60 |
58 // Specification of a decoding profile supported by a hardware decoder. | 61 // Specification of a decoding profile supported by a hardware decoder. |
59 struct GPU_EXPORT VideoDecodeAcceleratorSupportedProfile { | 62 struct GPU_EXPORT VideoDecodeAcceleratorSupportedProfile { |
60 VideoCodecProfile profile; | 63 VideoCodecProfile profile; |
61 gfx::Size max_resolution; | 64 gfx::Size max_resolution; |
62 gfx::Size min_resolution; | 65 gfx::Size min_resolution; |
63 bool encrypted_only; | 66 bool encrypted_only; |
64 }; | 67 }; |
65 | 68 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 virtual ~Enumerator() {} | 284 virtual ~Enumerator() {} |
282 }; | 285 }; |
283 | 286 |
284 // Outputs the fields in this structure to the provided enumerator. | 287 // Outputs the fields in this structure to the provided enumerator. |
285 void EnumerateFields(Enumerator* enumerator) const; | 288 void EnumerateFields(Enumerator* enumerator) const; |
286 }; | 289 }; |
287 | 290 |
288 } // namespace gpu | 291 } // namespace gpu |
289 | 292 |
290 #endif // GPU_CONFIG_GPU_INFO_H_ | 293 #endif // GPU_CONFIG_GPU_INFO_H_ |
OLD | NEW |