Chromium Code Reviews| 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..5e54a91a76e904f9474eb050fa791a0b8b45b218 100644 |
| --- a/media/video/video_decode_accelerator.h |
| +++ b/media/video/video_decode_accelerator.h |
| @@ -22,6 +22,17 @@ 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 { |
|
wuchengli
2015/04/10 02:49:35
I think this needs MEDIA_EXPORT. Same for VEA::Sup
|
| + SupportedProfile(); |
| + ~SupportedProfile(); |
| + VideoCodecProfile profile; |
| + gfx::Size max_resolution; |
| + gfx::Size min_resolution; |
| + }; |
| + using SupportedProfiles = std::vector<SupportedProfile>; |
| + |
| // 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 |