| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 H264PROFILE_HIGH = 3, | 45 H264PROFILE_HIGH = 3, |
| 46 H264PROFILE_HIGH10PROFILE = 4, | 46 H264PROFILE_HIGH10PROFILE = 4, |
| 47 H264PROFILE_HIGH422PROFILE = 5, | 47 H264PROFILE_HIGH422PROFILE = 5, |
| 48 H264PROFILE_HIGH444PREDICTIVEPROFILE = 6, | 48 H264PROFILE_HIGH444PREDICTIVEPROFILE = 6, |
| 49 H264PROFILE_SCALABLEBASELINE = 7, | 49 H264PROFILE_SCALABLEBASELINE = 7, |
| 50 H264PROFILE_SCALABLEHIGH = 8, | 50 H264PROFILE_SCALABLEHIGH = 8, |
| 51 H264PROFILE_STEREOHIGH = 9, | 51 H264PROFILE_STEREOHIGH = 9, |
| 52 H264PROFILE_MULTIVIEWHIGH = 10, | 52 H264PROFILE_MULTIVIEWHIGH = 10, |
| 53 VP8PROFILE_ANY = 11, | 53 VP8PROFILE_ANY = 11, |
| 54 VP9PROFILE_ANY = 12, | 54 VP9PROFILE_ANY = 12, |
| 55 VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_ANY, | 55 MJPEGPROFILE = 13, |
| 56 VIDEO_CODEC_PROFILE_MAX = MJPEGPROFILE, |
| 56 }; | 57 }; |
| 57 | 58 |
| 58 // Specification of an encoding profile supported by a hardware encoder. | 59 // Specification of an encoding profile supported by a hardware encoder. |
| 59 struct GPU_EXPORT VideoEncodeAcceleratorSupportedProfile { | 60 struct GPU_EXPORT VideoEncodeAcceleratorSupportedProfile { |
| 60 VideoCodecProfile profile; | 61 VideoCodecProfile profile; |
| 61 gfx::Size max_resolution; | 62 gfx::Size max_resolution; |
| 62 uint32 max_framerate_numerator; | 63 uint32 max_framerate_numerator; |
| 63 uint32 max_framerate_denominator; | 64 uint32 max_framerate_denominator; |
| 64 }; | 65 }; |
| 65 | 66 |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 virtual ~Enumerator() {} | 247 virtual ~Enumerator() {} |
| 247 }; | 248 }; |
| 248 | 249 |
| 249 // Outputs the fields in this structure to the provided enumerator. | 250 // Outputs the fields in this structure to the provided enumerator. |
| 250 void EnumerateFields(Enumerator* enumerator) const; | 251 void EnumerateFields(Enumerator* enumerator) const; |
| 251 }; | 252 }; |
| 252 | 253 |
| 253 } // namespace gpu | 254 } // namespace gpu |
| 254 | 255 |
| 255 #endif // GPU_CONFIG_GPU_INFO_H_ | 256 #endif // GPU_CONFIG_GPU_INFO_H_ |
| OLD | NEW |