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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/ozone/media/video_decode_factory_ozone.h"
6
7 #include "base/logging.h"
8
9 namespace ui {
10
11 // static
12 VideoDecodeFactoryOzone* VideoDecodeFactoryOzone::impl_ = NULL;
13
14 VideoDecodeFactoryOzone::VideoDecodeFactoryOzone() {
15 }
16
17 VideoDecodeFactoryOzone::~VideoDecodeFactoryOzone() {
18 }
19
20 VideoDecodeFactoryOzone* VideoDecodeFactoryOzone::GetInstance() {
21 CHECK(impl_) << "No VideoDecodeFactoryOzone implementation set.";
22 return impl_;
23 }
24
25 void VideoDecodeFactoryOzone::SetInstance(VideoDecodeFactoryOzone* impl) {
26 impl_ = impl;
27 }
28
29 bool VideoDecodeFactoryOzone::Initialize(media::VideoCodecProfile profile,
30 Client* client) {
31 NOTIMPLEMENTED();
32 return false;
33 }
34
35 void VideoDecodeFactoryOzone::Decode(
36 const media::BitstreamBuffer& bitstream_buffer) {
37 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.
38 return;
39 }
40
41 void VideoDecodeFactoryOzone::AssignPictureBuffers(
42 const std::vector<media::PictureBuffer>& buffers) {
43 NOTREACHED();
44 return;
45 }
46
47 void VideoDecodeFactoryOzone::ReusePictureBuffer(int32 picture_buffer_id) {
48 NOTREACHED();
49 return;
50 }
51
52 void VideoDecodeFactoryOzone::Flush() {
53 NOTREACHED();
54 return;
55 }
56
57 void VideoDecodeFactoryOzone::Reset() {
58 NOTREACHED();
59 return;
60 }
61
62 void VideoDecodeFactoryOzone::Destroy() {
63 NOTIMPLEMENTED();
64 return;
65 }
66
67 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698