Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: gpu/config/gpu_info.h

Issue 1820553002: Expose encrypted_only attribute on VDA supported profiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/gpu/media/gpu_video_accelerator_util.cc ('k') | gpu/config/gpu_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/common/gpu/media/gpu_video_accelerator_util.cc ('k') | gpu/config/gpu_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698