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

Unified Diff: chrome/gpu/arc_video_accelerator.h

Issue 1953683002: Add stride for imported Dmabuf in ArcVideoAccelerator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: chrome/gpu/arc_video_accelerator.h
diff --git a/chrome/gpu/arc_video_accelerator.h b/chrome/gpu/arc_video_accelerator.h
index bb7fa622358e9f37b7a4309f4386f0be2f2f23c6..378580a7c1a9ac5364cf9ca431c83e4e75b479f8 100644
--- a/chrome/gpu/arc_video_accelerator.h
+++ b/chrome/gpu/arc_video_accelerator.h
@@ -124,7 +124,8 @@ class ArcVideoAccelerator {
// reused multiple times without additional bindings.
virtual void BindDmabuf(PortType port,
uint32_t index,
- base::ScopedFD dmabuf_fd) = 0;
+ base::ScopedFD dmabuf_fd,
+ int32_t stride) = 0;
kcwu 2016/05/05 10:10:05 add comments that stride is counting in bytes.
kcwu 2016/05/09 08:54:30 this is not addressed yet.
Owen Lin 2016/05/11 01:39:59 Done.
// Passes a buffer to the accelerator. For input buffer, the accelerator
// will process it. For output buffer, the accelerator will output content

Powered by Google App Engine
This is Rietveld 408576698