| Index: content/common/gpu/media/vaapi_wrapper.h
|
| diff --git a/content/common/gpu/media/vaapi_wrapper.h b/content/common/gpu/media/vaapi_wrapper.h
|
| index 10eccd91aad36c7253be7f5ab28da9ea685995d4..6e9007055b3f73d2b4fae11c0f642b5e069ec34e 100644
|
| --- a/content/common/gpu/media/vaapi_wrapper.h
|
| +++ b/content/common/gpu/media/vaapi_wrapper.h
|
| @@ -20,6 +20,7 @@
|
| #include "content/common/gpu/media/va_surface.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 "third_party/libva/va/va.h"
|
| #include "third_party/libva/va/va_vpp.h"
|
| @@ -66,9 +67,13 @@ class CONTENT_EXPORT VaapiWrapper {
|
| const base::Closure& report_error_to_uma_cb);
|
|
|
| // Return the supported encode profiles.
|
| - static std::vector<media::VideoEncodeAccelerator::SupportedProfile>
|
| + static media::VideoEncodeAccelerator::SupportedProfiles
|
| GetSupportedEncodeProfiles();
|
|
|
| + // Return the supported decode profiles.
|
| + static media::VideoDecodeAccelerator::SupportedProfiles
|
| + GetSupportedDecodeProfiles();
|
| +
|
| ~VaapiWrapper();
|
|
|
| // Create |num_surfaces| backing surfaces in driver for VASurfaces, each
|
|
|