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_H264_TO_ANNEX_B_BITSTREAM_CONVERTER_H_ | 5 #ifndef MEDIA_FILTERS_FFMPEG_H264_TO_ANNEX_B_BITSTREAM_CONVERTER_H_ |
6 #define MEDIA_FILTERS_FFMPEG_H264_TO_ANNEX_B_BITSTREAM_CONVERTER_H_ | 6 #define MEDIA_FILTERS_FFMPEG_H264_TO_ANNEX_B_BITSTREAM_CONVERTER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "media/base/media_export.h" | 9 #include "media/base/media_export.h" |
9 #include "media/filters/ffmpeg_bitstream_converter.h" | 10 #include "media/filters/ffmpeg_bitstream_converter.h" |
10 #include "media/filters/h264_to_annex_b_bitstream_converter.h" | 11 #include "media/filters/h264_to_annex_b_bitstream_converter.h" |
11 | 12 |
12 // Forward declarations for FFmpeg datatypes used. | 13 // Forward declarations for FFmpeg datatypes used. |
13 struct AVCodecContext; | 14 struct AVCodecContext; |
14 struct AVPacket; | 15 struct AVPacket; |
15 | 16 |
16 namespace media { | 17 namespace media { |
17 | 18 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // Variable to hold a pointer to memory where we can access the global | 60 // Variable to hold a pointer to memory where we can access the global |
60 // data from the FFmpeg file format's global headers. | 61 // data from the FFmpeg file format's global headers. |
61 AVCodecContext* stream_codec_context_; | 62 AVCodecContext* stream_codec_context_; |
62 | 63 |
63 DISALLOW_COPY_AND_ASSIGN(FFmpegH264ToAnnexBBitstreamConverter); | 64 DISALLOW_COPY_AND_ASSIGN(FFmpegH264ToAnnexBBitstreamConverter); |
64 }; | 65 }; |
65 | 66 |
66 } // namespace media | 67 } // namespace media |
67 | 68 |
68 #endif // MEDIA_FILTERS_FFMPEG_H264_TO_ANNEX_B_BITSTREAM_CONVERTER_H_ | 69 #endif // MEDIA_FILTERS_FFMPEG_H264_TO_ANNEX_B_BITSTREAM_CONVERTER_H_ |
OLD | NEW |