Chromium Code Reviews| 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..a5d9f6cf060c3f8443c840e7955f6d63828b80ca 100644 |
| --- a/content/common/gpu/media/v4l2_device.h |
| +++ b/content/common/gpu/media/v4l2_device.h |
| @@ -13,6 +13,7 @@ |
| #include "content/common/content_export.h" |
| #include "media/base/video_decoder_config.h" |
| #include "media/base/video_frame.h" |
| +#include "media/video/video_decode_accelerator.h" |
| #include "ui/gfx/geometry/size.h" |
| #include "ui/gl/gl_bindings.h" |
| @@ -106,9 +107,19 @@ class CONTENT_EXPORT V4L2Device |
| // Returns the preferred V4L2 input format or 0 if don't care. |
| virtual uint32 PreferredInputFormat() = 0; |
| + // Get maximum resolution for fourcc format. |
| + gfx::Size GetMaxSupportedResolution(uint32_t pixelformat); |
| + |
| + // Get supported profiles for decoder according to |pixelformats|. |
|
Pawel Osciak
2015/04/27 05:36:15
Return supported profiles for decoder, including o
henryhsu
2015/04/27 07:23:51
Done.
|
| + media::VideoDecodeAccelerator::SupportedProfiles GetSupportedDecodeProfiles( |
| + const uint32_t num_formats, const uint32_t pixelformats[]); |
|
Pawel Osciak
2015/04/27 05:36:15
s/const uint32_t num_formats/size_t num_formats/
henryhsu
2015/04/27 07:23:51
I'd prefer to keep const here.
|
| + |
| protected: |
| friend class base::RefCountedThreadSafe<V4L2Device>; |
| + explicit V4L2Device(Type type); |
| virtual ~V4L2Device(); |
| + |
| + const Type type_; |
| }; |
| } // namespace content |