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_MP4_MP4_STREAM_PARSER_H_ | 5 #ifndef MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_ |
6 #define MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_ | 6 #define MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "media/base/media_export.h" | 15 #include "media/base/media_export.h" |
16 #include "media/base/stream_parser.h" | 16 #include "media/base/stream_parser.h" |
17 #include "media/formats/mp4/offset_byte_queue.h" | 17 #include "media/formats/common/offset_byte_queue.h" |
18 #include "media/formats/mp4/track_run_iterator.h" | 18 #include "media/formats/mp4/track_run_iterator.h" |
19 | 19 |
20 namespace media { | 20 namespace media { |
21 namespace mp4 { | 21 namespace mp4 { |
22 | 22 |
23 struct Movie; | 23 struct Movie; |
24 class BoxReader; | 24 class BoxReader; |
25 | 25 |
26 class MEDIA_EXPORT MP4StreamParser : public StreamParser { | 26 class MEDIA_EXPORT MP4StreamParser : public StreamParser { |
27 public: | 27 public: |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 bool is_audio_track_encrypted_; | 112 bool is_audio_track_encrypted_; |
113 bool is_video_track_encrypted_; | 113 bool is_video_track_encrypted_; |
114 | 114 |
115 DISALLOW_COPY_AND_ASSIGN(MP4StreamParser); | 115 DISALLOW_COPY_AND_ASSIGN(MP4StreamParser); |
116 }; | 116 }; |
117 | 117 |
118 } // namespace mp4 | 118 } // namespace mp4 |
119 } // namespace media | 119 } // namespace media |
120 | 120 |
121 #endif // MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_ | 121 #endif // MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_ |
OLD | NEW |