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

Unified Diff: components/arc/video/video_host_delegate.h

Issue 1451353002: Implement GpuArcVideoService for arc video accelerator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Owen's comments: split GpuArcVideoServiceHost and named the new code arc::ArcVideoBridge Created 5 years 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/video_host_delegate.h
diff --git a/components/arc/video/video_host_delegate.h b/components/arc/video/video_host_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..0720a12bf3ae7acd9558301fecef51d2ea0cfdf6
--- /dev/null
+++ b/components/arc/video/video_host_delegate.h
@@ -0,0 +1,26 @@
+// Copyright 2015 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 COMPONENTS_ARC_VIDEO_VIDEO_HOST_DELEGATE_H
+#define COMPONENTS_ARC_VIDEO_VIDEO_HOST_DELEGATE_H
+
+#include "components/arc/common/video.mojom.h"
+
+namespace arc {
+
+// VideoHostDelegate is an abstract class providing video decoding/encoding
+// acceleration service.
+//
+// The purpose of this interface is to create a channel into the GPU process
+// only, which then handles video decoding/encoding, without going through
+// VideoHostDelegate anymore.
+class VideoHostDelegate : public VideoHost {
+ public:
+ // Shutdowns all video accelerator in GPU process.
+ virtual void Shutdown() = 0;
+};
+
+} // namespace arc
+
+#endif // COMPONENTS_ARC_VIDEO_VIDEO_HOST_DELEGATE_H

Powered by Google App Engine
This is Rietveld 408576698