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 994d1cb3f5cd6cbd2e16415c61c49e660833a31a..8c8d378f27c00241fffe6ca77a5fc4a6b16ee9e1 100644 |
| --- a/media/video/video_decode_accelerator.h |
| +++ b/media/video/video_decode_accelerator.h |
| @@ -115,12 +115,15 @@ class MEDIA_EXPORT VideoDecodeAccelerator { |
| IMPORT, |
| }; |
| - Config() = default; |
| + Config(); |
| + Config(const Config& config); |
| // Intentional converting constructor. |
| // TODO(watk): Make this explicit. |
| Config(VideoCodecProfile profile); |
| + ~Config(); |
| + |
| std::string AsHumanReadableString() const; |
| // The video codec and profile. |
| @@ -145,6 +148,10 @@ class MEDIA_EXPORT VideoDecodeAccelerator { |
| gfx::Size initial_expected_coded_size = gfx::Size(320, 240); |
| OutputMode output_mode = OutputMode::ALLOCATE; |
| + |
| + // The list of picture buffer formats that the client knows how to use. |
| + std::vector<VideoPixelFormat> supported_output_formats{PIXEL_FORMAT_ARGB, |
|
Pawel Osciak
2016/06/13 07:57:31
What would you think of making an empty list the d
|
| + PIXEL_FORMAT_XRGB}; |
| }; |
| // Interface for collaborating with picture interface to provide memory for |