OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "media/base/video_decoder.h" | 5 #include "media/base/video_decoder.h" |
6 | 6 |
| 7 #include "media/base/video_frame.h" |
| 8 |
7 namespace media { | 9 namespace media { |
8 | 10 |
9 VideoDecoder::VideoDecoder() {} | 11 VideoDecoder::VideoDecoder() {} |
10 | 12 |
11 VideoDecoder::~VideoDecoder() {} | 13 VideoDecoder::~VideoDecoder() {} |
12 | 14 |
| 15 scoped_refptr<VideoFrame> VideoDecoder::GetDecodeOutput() { |
| 16 return NULL; |
| 17 } |
| 18 |
13 bool VideoDecoder::HasAlpha() const { | 19 bool VideoDecoder::HasAlpha() const { |
14 return false; | 20 return false; |
15 } | 21 } |
16 | 22 |
17 bool VideoDecoder::NeedsBitstreamConversion() const { | 23 bool VideoDecoder::NeedsBitstreamConversion() const { |
18 return false; | 24 return false; |
19 } | 25 } |
20 | 26 |
21 bool VideoDecoder::CanReadWithoutStalling() const { | 27 bool VideoDecoder::CanReadWithoutStalling() const { |
22 return true; | 28 return true; |
23 } | 29 } |
24 | 30 |
25 } // namespace media | 31 } // namespace media |
OLD | NEW |