Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(863)

Unified Diff: content/common/gpu/media/vaapi_wrapper.h

Issue 1209033018: Create VA surface with correct VA RT format for MJPEG decode acceleration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8951702c1eb4a72cf9ecf742b9d5eb7be6b297c9..873c5983d42a7f2ffdb99bf892a33144958fa8fc 100644
--- a/content/common/gpu/media/vaapi_wrapper.h
+++ b/content/common/gpu/media/vaapi_wrapper.h
@@ -84,7 +84,8 @@ class CONTENT_EXPORT VaapiWrapper {
// again to free the allocated surfaces first, but is not required to do so
// at destruction time, as this will be done automatically from
// the destructor.
henryhsu 2015/07/09 06:56:26 describe |va_format| in comment.
kcwu 2015/07/13 05:45:16 Done.
- bool CreateSurfaces(const gfx::Size& size,
+ bool CreateSurfaces(unsigned int va_format,
+ const gfx::Size& size,
size_t num_surfaces,
std::vector<VASurfaceID>* va_surfaces);

Powered by Google App Engine
This is Rietveld 408576698