Index: media/filters/gpu_video_decoder.h |
diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h |
index a4157b19cf7f4ad7f4360834726c9e5fdd3e8374..e1baf9e9f0de17e0087e76509e1e0fa27f05bc51 100644 |
--- a/media/filters/gpu_video_decoder.h |
+++ b/media/filters/gpu_video_decoder.h |
@@ -127,6 +127,12 @@ class MEDIA_EXPORT GpuVideoDecoder |
// Destroy all PictureBuffers in |buffers|, and delete their textures. |
void DestroyPictureBuffers(PictureBufferMap* buffers); |
+ // Returns true if the video decoder can decode |coded_size|. |
+ bool IsCodedSizeSupported(const gfx::Size& coded_size); |
+ |
+ // Returns true if the |profile| is in supported profiles list. |
+ bool IsProfileSupported(const VideoCodecProfile& profile); |
+ |
// Assert the contract that this class is operated on the right thread. |
void DCheckGpuVideoAcceleratorFactoriesTaskRunnerIsCurrent() const; |