| 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_MP4_BOX_DEFINITIONS_H_ | 5 #ifndef MEDIA_MP4_BOX_DEFINITIONS_H_ |
| 6 #define MEDIA_MP4_BOX_DEFINITIONS_H_ | 6 #define MEDIA_MP4_BOX_DEFINITIONS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 DECLARE_BOX_METHODS(FileType); | 36 DECLARE_BOX_METHODS(FileType); |
| 37 | 37 |
| 38 FourCC major_brand; | 38 FourCC major_brand; |
| 39 uint32 minor_version; | 39 uint32 minor_version; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 struct MEDIA_EXPORT ProtectionSystemSpecificHeader : Box { | 42 struct MEDIA_EXPORT ProtectionSystemSpecificHeader : Box { |
| 43 DECLARE_BOX_METHODS(ProtectionSystemSpecificHeader); | 43 DECLARE_BOX_METHODS(ProtectionSystemSpecificHeader); |
| 44 | 44 |
| 45 std::vector<uint8> system_id; | 45 std::vector<uint8> system_id; |
| 46 std::vector<uint8> data; | 46 std::vector<uint8> raw_box; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 struct MEDIA_EXPORT SampleAuxiliaryInformationOffset : Box { | 49 struct MEDIA_EXPORT SampleAuxiliaryInformationOffset : Box { |
| 50 DECLARE_BOX_METHODS(SampleAuxiliaryInformationOffset); | 50 DECLARE_BOX_METHODS(SampleAuxiliaryInformationOffset); |
| 51 | 51 |
| 52 std::vector<uint64> offsets; | 52 std::vector<uint64> offsets; |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 struct MEDIA_EXPORT SampleAuxiliaryInformationSize : Box { | 55 struct MEDIA_EXPORT SampleAuxiliaryInformationSize : Box { |
| 56 DECLARE_BOX_METHODS(SampleAuxiliaryInformationSize); | 56 DECLARE_BOX_METHODS(SampleAuxiliaryInformationSize); |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 std::vector<TrackFragment> tracks; | 342 std::vector<TrackFragment> tracks; |
| 343 std::vector<ProtectionSystemSpecificHeader> pssh; | 343 std::vector<ProtectionSystemSpecificHeader> pssh; |
| 344 }; | 344 }; |
| 345 | 345 |
| 346 #undef DECLARE_BOX | 346 #undef DECLARE_BOX |
| 347 | 347 |
| 348 } // namespace mp4 | 348 } // namespace mp4 |
| 349 } // namespace media | 349 } // namespace media |
| 350 | 350 |
| 351 #endif // MEDIA_MP4_BOX_DEFINITIONS_H_ | 351 #endif // MEDIA_MP4_BOX_DEFINITIONS_H_ |
| OLD | NEW |