Index: content/common/gpu/media/v4l2_device.h |
diff --git a/content/common/gpu/media/v4l2_device.h b/content/common/gpu/media/v4l2_device.h |
index 72af69967b3ea83d9820eee283b52e88b6754cad..78d4838197745cecbea1c07ed2392c7e85e0e733 100644 |
--- a/content/common/gpu/media/v4l2_device.h |
+++ b/content/common/gpu/media/v4l2_device.h |
@@ -34,6 +34,9 @@ class CONTENT_EXPORT V4L2Device |
static uint32_t V4L2PixFmtToDrmFormat(uint32_t format); |
// Convert format requirements requested by a V4L2 device to gfx::Size. |
static gfx::Size CodedSizeFromV4L2Format(struct v4l2_format format); |
+ // Get maximum resolution for fourcc format. |
+ static gfx::Size GetSupportedMaxResolution( |
+ const scoped_refptr<V4L2Device>& device, unsigned int format); |
enum Type { |
kDecoder, |