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..1862b1ed25a1fdd0823bac12d2bceb9e823d1e0e 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. |
| + struct SupportedProfile { |
| + VideoCodecProfile profile; |
| + gfx::Size max_resolution; |
|
wuchengli
2015/03/16 02:53:20
Need documentation. And explain this is inclusive.
henryhsu
2015/03/16 08:31:18
Done.
|
| + gfx::Size min_resolution; |
| + bool support_query_profile; |
|
wuchengli
2015/03/16 02:53:20
This should not be associated with every Supported
henryhsu
2015/03/16 08:31:18
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 |