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 #ifndef MEDIA_FILTERS_FFMPEG_AUDIO_DECODER_H_ | 5 #ifndef MEDIA_FILTERS_FFMPEG_AUDIO_DECODER_H_ |
6 #define MEDIA_FILTERS_FFMPEG_AUDIO_DECODER_H_ | 6 #define MEDIA_FILTERS_FFMPEG_AUDIO_DECODER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/time.h" | 12 #include "base/time/time.h" |
13 #include "media/base/audio_decoder.h" | 13 #include "media/base/audio_decoder.h" |
14 #include "media/base/demuxer_stream.h" | 14 #include "media/base/demuxer_stream.h" |
15 | 15 |
16 struct AVCodecContext; | 16 struct AVCodecContext; |
17 struct AVFrame; | 17 struct AVFrame; |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class MessageLoopProxy; | 20 class MessageLoopProxy; |
21 } | 21 } |
22 | 22 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 // We may need to convert the audio data coming out of FFmpeg from planar | 94 // We may need to convert the audio data coming out of FFmpeg from planar |
95 // float to integer. | 95 // float to integer. |
96 scoped_ptr<AudioBus> converter_bus_; | 96 scoped_ptr<AudioBus> converter_bus_; |
97 | 97 |
98 DISALLOW_IMPLICIT_CONSTRUCTORS(FFmpegAudioDecoder); | 98 DISALLOW_IMPLICIT_CONSTRUCTORS(FFmpegAudioDecoder); |
99 }; | 99 }; |
100 | 100 |
101 } // namespace media | 101 } // namespace media |
102 | 102 |
103 #endif // MEDIA_FILTERS_FFMPEG_AUDIO_DECODER_H_ | 103 #endif // MEDIA_FILTERS_FFMPEG_AUDIO_DECODER_H_ |
OLD | NEW |