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

Unified Diff: media/video/video_decode_accelerator.h

Issue 795633005: Add VDA supported profile to GPUInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nit Created 5 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 side-by-side diff with in-line comments
Download patch
Index: media/video/video_decode_accelerator.h
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h
index a796bdbbfd54bafdb82437eb908cd2e5f95b06b4..e1492723f71721110512b2bc0f19bb90b0231de2 100644
--- a/media/video/video_decode_accelerator.h
+++ b/media/video/video_decode_accelerator.h
@@ -22,6 +22,13 @@ namespace media {
// implement the backend of PPB_VideoDecode_Dev.
class MEDIA_EXPORT VideoDecodeAccelerator {
public:
+ // Specification of a decoding profile supported by an decoder.
+ // |max_resolution| and |min_resolution| are inclusive.
+ struct SupportedProfile {
+ VideoCodecProfile profile;
xhwang 2015/03/26 06:15:32 Initialize |profile| in the constructor.
henryhsu_tw 2015/03/26 09:38:34 Done.
+ gfx::Size max_resolution;
+ gfx::Size min_resolution;
+ };
xhwang 2015/03/26 06:15:32 How about: using SupportedProfiles = std::vector<
henryhsu_tw 2015/03/26 09:38:34 Done.
// Enumeration of potential errors generated by the API.
// Note: Keep these in sync with PP_VideoDecodeError_Dev. Also do not
// rearrange, reuse or remove values as they are used for gathering UMA

Powered by Google App Engine
This is Rietveld 408576698