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

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: address review comments 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..1cf0de30f3e16745262f9554374a9827cfdd3cfe 100644
--- a/chrome/gpu/arc_video_accelerator.h
+++ b/chrome/gpu/arc_video_accelerator.h
@@ -121,10 +121,12 @@ class ArcVideoAccelerator {
// Assigns a buffer to be used for the accelerator at the specified
// port and index. A buffer must be successfully bound before it can be
// passed to the accelerator via UseBuffer(). Already bound buffers may be
- // reused multiple times without additional bindings.
+ // reused multiple times without additional bindings. |stride| is counted in
+ // bytes.
virtual void BindDmabuf(PortType port,
uint32_t index,
- base::ScopedFD dmabuf_fd) = 0;
+ base::ScopedFD dmabuf_fd,
+ int32_t stride) = 0;
// 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