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

Unified Diff: ui/ozone/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: fix up dependency cycle 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: ui/ozone/media/video_decode_factory_ozone.cc
diff --git a/ui/ozone/media/video_decode_factory_ozone.cc b/ui/ozone/media/video_decode_factory_ozone.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f499f0258a2bf6dfba763d398db3243da295fb69
--- /dev/null
+++ b/ui/ozone/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 "ui/ozone/media/video_decode_factory_ozone.h"
+
+#include "base/logging.h"
+
+namespace ui {
+
+// 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();
Ami GONE FROM CHROMIUM 2014/05/07 22:51:27 this and all the other NOTREACHED's below don't ma
vignatti (out of this project) 2014/06/02 19:21:42 Done.
+ 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 ui

Powered by Google App Engine
This is Rietveld 408576698