OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FORMATS_MPEG_MPEG_AUDIO_STREAM_PARSER_BASE_H_ | 5 #ifndef MEDIA_FORMATS_MPEG_MPEG_AUDIO_STREAM_PARSER_BASE_H_ |
6 #define MEDIA_FORMATS_MPEG_MPEG_AUDIO_STREAM_PARSER_BASE_H_ | 6 #define MEDIA_FORMATS_MPEG_MPEG_AUDIO_STREAM_PARSER_BASE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" |
12 #include "media/base/audio_decoder_config.h" | 13 #include "media/base/audio_decoder_config.h" |
13 #include "media/base/audio_timestamp_helper.h" | 14 #include "media/base/audio_timestamp_helper.h" |
14 #include "media/base/bit_reader.h" | 15 #include "media/base/bit_reader.h" |
15 #include "media/base/byte_queue.h" | 16 #include "media/base/byte_queue.h" |
16 #include "media/base/media_export.h" | 17 #include "media/base/media_export.h" |
17 #include "media/base/stream_parser.h" | 18 #include "media/base/stream_parser.h" |
18 | 19 |
19 namespace media { | 20 namespace media { |
20 | 21 |
21 class MEDIA_EXPORT MPEGAudioStreamParserBase : public StreamParser { | 22 class MEDIA_EXPORT MPEGAudioStreamParserBase : public StreamParser { |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 const uint32_t start_code_mask_; | 147 const uint32_t start_code_mask_; |
147 const AudioCodec audio_codec_; | 148 const AudioCodec audio_codec_; |
148 const int codec_delay_; | 149 const int codec_delay_; |
149 | 150 |
150 DISALLOW_COPY_AND_ASSIGN(MPEGAudioStreamParserBase); | 151 DISALLOW_COPY_AND_ASSIGN(MPEGAudioStreamParserBase); |
151 }; | 152 }; |
152 | 153 |
153 } // namespace media | 154 } // namespace media |
154 | 155 |
155 #endif // MEDIA_FORMATS_MPEG_MPEG_AUDIO_STREAM_PARSER_BASE_H_ | 156 #endif // MEDIA_FORMATS_MPEG_MPEG_AUDIO_STREAM_PARSER_BASE_H_ |
OLD | NEW |