Chromium Code Reviews| 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 49e9f04f4cee79bfb6ad721e51a813e5c74e9cb2..e8f57d42e1ff0b3704153e58c81cd3fc78fa2365 100644 |
| --- a/content/common/gpu/media/vaapi_wrapper.h |
| +++ b/content/common/gpu/media/vaapi_wrapper.h |
| @@ -195,6 +195,9 @@ class CONTENT_EXPORT VaapiWrapper { |
| // Initialize static data before sandbox is enabled. |
| static void PreSandboxInitialization(); |
| + // Get the created surfaces format |
|
Pawel Osciak
2015/11/10 06:09:25
Nit: dot at end of sentences please.
william.xie1
2015/11/10 06:25:54
Done.
|
| + unsigned int va_surface_format() { return va_surface_format_; } |
|
Pawel Osciak
2015/11/10 06:09:25
unsigned int va_surface_format() const
william.xie1
2015/11/10 06:25:54
Done.
|
| + |
| private: |
| struct ProfileInfo { |
| VAProfile va_profile; |
| @@ -325,6 +328,9 @@ class CONTENT_EXPORT VaapiWrapper { |
| // Allocated ids for VASurfaces. |
| std::vector<VASurfaceID> va_surface_ids_; |
| + // VA format of surfaces with va_surface_ids_. |
| + unsigned int va_surface_format_; |
| + |
| // Singleton instance of VADisplayState. |
| static base::LazyInstance<VADisplayState> va_display_state_; |