Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |