| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 H264PROFILE_EXTENDED, | 44 H264PROFILE_EXTENDED, |
| 45 H264PROFILE_HIGH, | 45 H264PROFILE_HIGH, |
| 46 H264PROFILE_HIGH10PROFILE, | 46 H264PROFILE_HIGH10PROFILE, |
| 47 H264PROFILE_HIGH422PROFILE, | 47 H264PROFILE_HIGH422PROFILE, |
| 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_ANY, | 54 VP9PROFILE_PROFILE0, |
| 55 // 4 profile values are reserved for VP9 profiles. | 55 VP9PROFILE_PROFILE1, |
| 56 HEVCPROFILE_MAIN = VP9PROFILE_ANY + 4, //=16 | 56 VP9PROFILE_PROFILE2, |
| 57 VP9PROFILE_PROFILE3, |
| 58 HEVCPROFILE_MAIN, |
| 57 HEVCPROFILE_MAIN10, | 59 HEVCPROFILE_MAIN10, |
| 58 HEVCPROFILE_MAIN_STILL_PICTURE, | 60 HEVCPROFILE_MAIN_STILL_PICTURE, |
| 59 VIDEO_CODEC_PROFILE_MAX = HEVCPROFILE_MAIN_STILL_PICTURE, | 61 VIDEO_CODEC_PROFILE_MAX = HEVCPROFILE_MAIN_STILL_PICTURE, |
| 60 }; | 62 }; |
| 61 | 63 |
| 62 // Specification of a decoding profile supported by a hardware decoder. | 64 // Specification of a decoding profile supported by a hardware decoder. |
| 63 struct GPU_EXPORT VideoDecodeAcceleratorSupportedProfile { | 65 struct GPU_EXPORT VideoDecodeAcceleratorSupportedProfile { |
| 64 VideoCodecProfile profile; | 66 VideoCodecProfile profile; |
| 65 gfx::Size max_resolution; | 67 gfx::Size max_resolution; |
| 66 gfx::Size min_resolution; | 68 gfx::Size min_resolution; |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 virtual ~Enumerator() {} | 286 virtual ~Enumerator() {} |
| 285 }; | 287 }; |
| 286 | 288 |
| 287 // Outputs the fields in this structure to the provided enumerator. | 289 // Outputs the fields in this structure to the provided enumerator. |
| 288 void EnumerateFields(Enumerator* enumerator) const; | 290 void EnumerateFields(Enumerator* enumerator) const; |
| 289 }; | 291 }; |
| 290 | 292 |
| 291 } // namespace gpu | 293 } // namespace gpu |
| 292 | 294 |
| 293 #endif // GPU_CONFIG_GPU_INFO_H_ | 295 #endif // GPU_CONFIG_GPU_INFO_H_ |
| OLD | NEW |