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

Unified Diff: chromecast/media/cma/pipeline/video_pipeline_client.h

Issue 741863002: Chromecast: adds a media pipeline feeding data to CMA device backends. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cma-cdm
Patch Set: address nits, merge Pause/Flush Created 6 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: chromecast/media/cma/pipeline/video_pipeline_client.h
diff --git a/chromecast/media/cma/pipeline/video_pipeline_client.h b/chromecast/media/cma/pipeline/video_pipeline_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..105b8a2fe1154f4dc5ee02c0fd3df5d7143bed1f
--- /dev/null
+++ b/chromecast/media/cma/pipeline/video_pipeline_client.h
@@ -0,0 +1,35 @@
+// Copyright 2014 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 CHROMECAST_MEDIA_CMA_PIPELINE_VIDEO_PIPELINE_CLIENT_H_
+#define CHROMECAST_MEDIA_CMA_PIPELINE_VIDEO_PIPELINE_CLIENT_H_
+
+#include "base/callback.h"
+#include "chromecast/media/cma/pipeline/av_pipeline_client.h"
+
+namespace gfx {
+class Size;
+}
+
+namespace chromecast {
+namespace media {
+
+struct VideoPipelineClient {
+ typedef base::Callback<void(
+ const gfx::Size& natural_size)> NaturalSizeChangedCB;
+
+ VideoPipelineClient();
+ ~VideoPipelineClient();
+
+ // All the default callbacks.
+ AvPipelineClient av_pipeline_client;
+
+ // Video resolution change notification.
+ NaturalSizeChangedCB natural_size_changed_cb;
+};
+
+} // namespace media
+} // namespace chromecast
+
+#endif // CHROMECAST_MEDIA_CMA_PIPELINE_VIDEO_PIPELINE_CLIENT_H_
« no previous file with comments | « chromecast/media/cma/pipeline/video_pipeline.cc ('k') | chromecast/media/cma/pipeline/video_pipeline_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698