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

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 dcheng's comments Created 4 years, 11 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: 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..3edc7924ec73b21a48115d2e562077d25579ffd8
--- /dev/null
+++ b/components/arc/video/video_host_delegate.h
@@ -0,0 +1,26 @@
+// 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 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:
+ // Called when the video service is stopping.
+ virtual void OnStopping() = 0;
+};
+
+} // namespace arc
+
+#endif // COMPONENTS_ARC_VIDEO_VIDEO_HOST_DELEGATE_H

Powered by Google App Engine
This is Rietveld 408576698