| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 H264PROFILE_HIGH444PREDICTIVEPROFILE, | 48 H264PROFILE_HIGH444PREDICTIVEPROFILE, |
| 49 H264PROFILE_SCALABLEBASELINE, | 49 H264PROFILE_SCALABLEBASELINE, |
| 50 H264PROFILE_SCALABLEHIGH, | 50 H264PROFILE_SCALABLEHIGH, |
| 51 H264PROFILE_STEREOHIGH, | 51 H264PROFILE_STEREOHIGH, |
| 52 H264PROFILE_MULTIVIEWHIGH, | 52 H264PROFILE_MULTIVIEWHIGH, |
| 53 VP8PROFILE_ANY, | 53 VP8PROFILE_ANY, |
| 54 VP9PROFILE_PROFILE0, | 54 VP9PROFILE_PROFILE0, |
| 55 VP9PROFILE_PROFILE1, | 55 VP9PROFILE_PROFILE1, |
| 56 VP9PROFILE_PROFILE2, | 56 VP9PROFILE_PROFILE2, |
| 57 VP9PROFILE_PROFILE3, | 57 VP9PROFILE_PROFILE3, |
| 58 VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_PROFILE3, | 58 HEVCPROFILE_MAIN, |
| 59 HEVCPROFILE_MAIN10, |
| 60 HEVCPROFILE_MAIN_STILL_PICTURE, |
| 61 VIDEO_CODEC_PROFILE_MAX = HEVCPROFILE_MAIN_STILL_PICTURE, |
| 59 }; | 62 }; |
| 60 | 63 |
| 61 // Specification of a decoding profile supported by a hardware decoder. | 64 // Specification of a decoding profile supported by a hardware decoder. |
| 62 struct GPU_EXPORT VideoDecodeAcceleratorSupportedProfile { | 65 struct GPU_EXPORT VideoDecodeAcceleratorSupportedProfile { |
| 63 VideoCodecProfile profile; | 66 VideoCodecProfile profile; |
| 64 gfx::Size max_resolution; | 67 gfx::Size max_resolution; |
| 65 gfx::Size min_resolution; | 68 gfx::Size min_resolution; |
| 66 bool encrypted_only; | 69 bool encrypted_only; |
| 67 }; | 70 }; |
| 68 | 71 |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 virtual ~Enumerator() {} | 287 virtual ~Enumerator() {} |
| 285 }; | 288 }; |
| 286 | 289 |
| 287 // Outputs the fields in this structure to the provided enumerator. | 290 // Outputs the fields in this structure to the provided enumerator. |
| 288 void EnumerateFields(Enumerator* enumerator) const; | 291 void EnumerateFields(Enumerator* enumerator) const; |
| 289 }; | 292 }; |
| 290 | 293 |
| 291 } // namespace gpu | 294 } // namespace gpu |
| 292 | 295 |
| 293 #endif // GPU_CONFIG_GPU_INFO_H_ | 296 #endif // GPU_CONFIG_GPU_INFO_H_ |
| OLD | NEW |