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

Unified Diff: content/common/gpu/media/video_decode_factory_ozone.cc

Issue 269673005: media: Add MediaOzonePlatform support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: content/common/gpu/media/video_decode_factory_ozone.cc
diff --git a/content/common/gpu/media/video_decode_factory_ozone.cc b/content/common/gpu/media/video_decode_factory_ozone.cc
new file mode 100644
index 0000000000000000000000000000000000000000..063a3cb61dca7aebc1a5bf944f8ff6e5f006e970
--- /dev/null
+++ b/content/common/gpu/media/video_decode_factory_ozone.cc
@@ -0,0 +1,67 @@
+// Copyright (c) 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.
+
+#include "content/common/gpu/media/video_decode_factory_ozone.h"
+
+#include "base/logging.h"
+
+namespace content {
+
+// static
+VideoDecodeFactoryOzone* VideoDecodeFactoryOzone::impl_ = NULL;
+
+VideoDecodeFactoryOzone::VideoDecodeFactoryOzone() {
+}
+
+VideoDecodeFactoryOzone::~VideoDecodeFactoryOzone() {
+}
+
+VideoDecodeFactoryOzone* VideoDecodeFactoryOzone::GetInstance() {
+ CHECK(impl_) << "No VideoDecodeFactoryOzone implementation set.";
+ return impl_;
+}
+
+void VideoDecodeFactoryOzone::SetInstance(VideoDecodeFactoryOzone* impl) {
+ impl_ = impl;
+}
+
+bool VideoDecodeFactoryOzone::Initialize(media::VideoCodecProfile profile,
+ Client* client) {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+void VideoDecodeFactoryOzone::Decode(
+ const media::BitstreamBuffer& bitstream_buffer) {
+ NOTREACHED();
+ return;
+}
+
+void VideoDecodeFactoryOzone::AssignPictureBuffers(
+ const std::vector<media::PictureBuffer>& buffers) {
+ NOTREACHED();
+ return;
+}
+
+void VideoDecodeFactoryOzone::ReusePictureBuffer(int32 picture_buffer_id) {
+ NOTREACHED();
+ return;
+}
+
+void VideoDecodeFactoryOzone::Flush() {
+ NOTREACHED();
+ return;
+}
+
+void VideoDecodeFactoryOzone::Reset() {
+ NOTREACHED();
+ return;
+}
+
+void VideoDecodeFactoryOzone::Destroy() {
+ NOTIMPLEMENTED();
+ return;
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698