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_SAMPLE_TO_GROUP_ITERATOR_H_ | 5 #ifndef MEDIA_FORMATS_MP4_SAMPLE_TO_GROUP_ITERATOR_H_ |
6 #define MEDIA_FORMATS_MP4_SAMPLE_TO_GROUP_ITERATOR_H_ | 6 #define MEDIA_FORMATS_MP4_SAMPLE_TO_GROUP_ITERATOR_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "media/formats/mp4/box_definitions.h" | 13 #include "media/formats/mp4/box_definitions.h" |
12 | 14 |
13 namespace media { | 15 namespace media { |
14 namespace mp4 { | 16 namespace mp4 { |
15 | 17 |
16 // Sample To Group Box ('sbgp') can be used to find the group that a sample | 18 // Sample To Group Box ('sbgp') can be used to find the group that a sample |
17 // belongs to and the associated description of that sample group. It is | 19 // belongs to and the associated description of that sample group. It is |
(...skipping 23 matching lines...) Expand all Loading... |
41 const std::vector<SampleToGroupEntry>& sample_to_group_table_; | 43 const std::vector<SampleToGroupEntry>& sample_to_group_table_; |
42 std::vector<SampleToGroupEntry>::const_iterator iterator_; | 44 std::vector<SampleToGroupEntry>::const_iterator iterator_; |
43 | 45 |
44 DISALLOW_COPY_AND_ASSIGN(SampleToGroupIterator); | 46 DISALLOW_COPY_AND_ASSIGN(SampleToGroupIterator); |
45 }; | 47 }; |
46 | 48 |
47 } // namespace mp4 | 49 } // namespace mp4 |
48 } // namespace media | 50 } // namespace media |
49 | 51 |
50 #endif // MEDIA_FORMATS_MP4_SAMPLE_TO_GROUP_ITERATOR_H_ | 52 #endif // MEDIA_FORMATS_MP4_SAMPLE_TO_GROUP_ITERATOR_H_ |
OLD | NEW |