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

Unified Diff: components/arc/video_accelerator/video_accelerator.h

Issue 2513973002: Use mojo typemap to simplify the code using DmabufPlane (Closed)
Patch Set: Created 4 years, 1 month 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: components/arc/video_accelerator/video_accelerator.h
diff --git a/components/arc/video_accelerator/video_accelerator.h b/components/arc/video_accelerator/video_accelerator.h
new file mode 100644
index 0000000000000000000000000000000000000000..6fdef9f90457cce4400212b7761316387c07f792
--- /dev/null
+++ b/components/arc/video_accelerator/video_accelerator.h
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENT_ARC_VIDEO_ACCELERATOR_VIDEO_ACCELERATOR_H_
+#define COMPONENT_ARC_VIDEO_ACCELERATOR_VIDEO_ACCELERATOR_H_
+
+namespace arc {
+
+struct ArcVideoAcceleratorDmabufPlane {
+ int32_t offset; // in bytes
+ int32_t stride; // in bytes
+};
+}
Luis Héctor Chávez 2016/11/29 18:25:36 nit: empty line before to preserve symmetry.
Yusuke Sato 2016/11/29 21:34:27 and add '// namespace arc'.
yoshiki 2016/11/30 17:25:44 Done.
+
+#endif // COMPONENT_ARC_VIDEO_ACCELERATOR_VIDEO_ACCELERATOR_H_

Powered by Google App Engine
This is Rietveld 408576698