| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 VP8PROFILE_ANY = 11, | 53 VP8PROFILE_ANY = 11, |
| 54 VP9PROFILE_ANY = 12, | 54 VP9PROFILE_ANY = 12, |
| 55 VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_ANY, | 55 VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_ANY, |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 // Specification of a decoding profile supported by a hardware decoder. | 58 // Specification of a decoding profile supported by a hardware decoder. |
| 59 struct GPU_EXPORT VideoDecodeAcceleratorSupportedProfile { | 59 struct GPU_EXPORT VideoDecodeAcceleratorSupportedProfile { |
| 60 VideoCodecProfile profile; | 60 VideoCodecProfile profile; |
| 61 gfx::Size max_resolution; | 61 gfx::Size max_resolution; |
| 62 gfx::Size min_resolution; | 62 gfx::Size min_resolution; |
| 63 bool encrypted_only; |
| 63 }; | 64 }; |
| 64 | 65 |
| 65 using VideoDecodeAcceleratorSupportedProfiles = | 66 using VideoDecodeAcceleratorSupportedProfiles = |
| 66 std::vector<VideoDecodeAcceleratorSupportedProfile>; | 67 std::vector<VideoDecodeAcceleratorSupportedProfile>; |
| 67 | 68 |
| 68 struct GPU_EXPORT VideoDecodeAcceleratorCapabilities { | 69 struct GPU_EXPORT VideoDecodeAcceleratorCapabilities { |
| 69 VideoDecodeAcceleratorCapabilities(); | 70 VideoDecodeAcceleratorCapabilities(); |
| 70 VideoDecodeAcceleratorCapabilities( | 71 VideoDecodeAcceleratorCapabilities( |
| 71 const VideoDecodeAcceleratorCapabilities& other); | 72 const VideoDecodeAcceleratorCapabilities& other); |
| 72 ~VideoDecodeAcceleratorCapabilities(); | 73 ~VideoDecodeAcceleratorCapabilities(); |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 virtual ~Enumerator() {} | 281 virtual ~Enumerator() {} |
| 281 }; | 282 }; |
| 282 | 283 |
| 283 // Outputs the fields in this structure to the provided enumerator. | 284 // Outputs the fields in this structure to the provided enumerator. |
| 284 void EnumerateFields(Enumerator* enumerator) const; | 285 void EnumerateFields(Enumerator* enumerator) const; |
| 285 }; | 286 }; |
| 286 | 287 |
| 287 } // namespace gpu | 288 } // namespace gpu |
| 288 | 289 |
| 289 #endif // GPU_CONFIG_GPU_INFO_H_ | 290 #endif // GPU_CONFIG_GPU_INFO_H_ |
| OLD | NEW |