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 df6b59822a6b56df58b565fb7a877f1ed01107a8..cdb328c4cb3daf4997c10da01d3b3bdbb5f6153e 100644 |
--- a/content/common/gpu/media/v4l2_device.h |
+++ b/content/common/gpu/media/v4l2_device.h |
@@ -123,6 +123,13 @@ class CONTENT_EXPORT V4L2Device |
media::VideoDecodeAccelerator::SupportedProfiles GetSupportedDecodeProfiles( |
const size_t num_formats, const uint32_t pixelformats[]); |
+ // Return true if the device supports |profile|, taking into account only |
+ // fourcss from the given array of |pixelformats| of size |num_formats|. |
wuchengli
2016/01/12 07:35:13
s/fourcss/fourccs/
Pawel Osciak
2016/01/12 08:03:29
Oh nice catch, thanks.
|
+ bool SupportsDecodeProfileForV4L2PixelFormats( |
+ media::VideoCodecProfile profile, |
+ const size_t num_formats, |
+ const uint32_t pixelformats[]); |
+ |
protected: |
friend class base::RefCountedThreadSafe<V4L2Device>; |
explicit V4L2Device(Type type); |