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 2dc9eac72284305732bedd9f818c5e357cdccf1b..beceee8806ef4ce350e06ab1e849ce0560f2dfdd 100644 |
--- a/content/common/gpu/media/v4l2_device.h |
+++ b/content/common/gpu/media/v4l2_device.h |
@@ -13,6 +13,8 @@ |
#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 "media/video/video_encode_accelerator.h" |
#include "ui/gfx/geometry/size.h" |
#include "ui/gl/gl_bindings.h" |
@@ -40,6 +42,12 @@ class CONTENT_EXPORT V4L2Device |
// current platform and returns a scoped_ptr<V4L2Device> on success, or NULL. |
static scoped_refptr<V4L2Device> Create(Type type); |
+ static std::vector<media::VideoDecodeAccelerator::SupportedProfile> |
+ GetSupportedDecodeProfiles(); |
+ |
+ static std::vector<media::VideoEncodeAccelerator::SupportedProfile> |
+ GetSupportedEncodeProfiles(); |
+ |
// Parameters and return value are the same as for the standard ioctl() system |
// call. |
virtual int Ioctl(int request, void* arg) = 0; |