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" | 7 #include "media/base/video_frame.h" |
8 | 8 |
9 namespace media { | 9 namespace media { |
10 | 10 |
11 VideoDecoder::VideoDecoder() {} | 11 VideoDecoder::VideoDecoder() {} |
12 | 12 |
13 VideoDecoder::~VideoDecoder() {} | 13 VideoDecoder::~VideoDecoder() {} |
14 | 14 |
15 scoped_refptr<VideoFrame> VideoDecoder::GetDecodeOutput() { | |
16 return NULL; | |
17 } | |
18 | |
19 bool VideoDecoder::NeedsBitstreamConversion() const { | 15 bool VideoDecoder::NeedsBitstreamConversion() const { |
20 return false; | 16 return false; |
21 } | 17 } |
22 | 18 |
23 bool VideoDecoder::CanReadWithoutStalling() const { | 19 bool VideoDecoder::CanReadWithoutStalling() const { |
24 return true; | 20 return true; |
25 } | 21 } |
26 | 22 |
27 int VideoDecoder::GetMaxDecodeRequests() const { | 23 int VideoDecoder::GetMaxDecodeRequests() const { |
28 return 1; | 24 return 1; |
29 } | 25 } |
30 | 26 |
31 } // namespace media | 27 } // namespace media |
OLD | NEW |