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_FILTERS_FFMPEG_AAC_BITSTREAM_CONVERTER_H_ | 5 #ifndef MEDIA_FILTERS_FFMPEG_AAC_BITSTREAM_CONVERTER_H_ |
6 #define MEDIA_FILTERS_FFMPEG_AAC_BITSTREAM_CONVERTER_H_ | 6 #define MEDIA_FILTERS_FFMPEG_AAC_BITSTREAM_CONVERTER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
| 10 #include "base/macros.h" |
| 11 |
9 #include "media/base/media_export.h" | 12 #include "media/base/media_export.h" |
10 #include "media/filters/ffmpeg_bitstream_converter.h" | 13 #include "media/filters/ffmpeg_bitstream_converter.h" |
11 | 14 |
12 // Forward declarations for FFmpeg datatypes used. | 15 // Forward declarations for FFmpeg datatypes used. |
13 struct AVCodecContext; | 16 struct AVCodecContext; |
14 struct AVPacket; | 17 struct AVPacket; |
15 | 18 |
16 namespace media { | 19 namespace media { |
17 | 20 |
18 // Bitstream converter that adds ADTS headers to AAC frames. | 21 // Bitstream converter that adds ADTS headers to AAC frames. |
(...skipping 25 matching lines...) Expand all Loading... |
44 int sample_rate_index_; | 47 int sample_rate_index_; |
45 int channel_configuration_; | 48 int channel_configuration_; |
46 int frame_length_; | 49 int frame_length_; |
47 | 50 |
48 DISALLOW_COPY_AND_ASSIGN(FFmpegAACBitstreamConverter); | 51 DISALLOW_COPY_AND_ASSIGN(FFmpegAACBitstreamConverter); |
49 }; | 52 }; |
50 | 53 |
51 } // namespace media | 54 } // namespace media |
52 | 55 |
53 #endif // MEDIA_FILTERS_FFMPEG_AAC_BITSTREAM_CONVERTER_H_ | 56 #endif // MEDIA_FILTERS_FFMPEG_AAC_BITSTREAM_CONVERTER_H_ |
OLD | NEW |