| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WEBM_WEBM_CONSTANTS_H_ | 5 #ifndef MEDIA_WEBM_WEBM_CONSTANTS_H_ |
| 6 #define MEDIA_WEBM_WEBM_CONSTANTS_H_ | 6 #define MEDIA_WEBM_WEBM_CONSTANTS_H_ |
| 7 | 7 |
| 8 namespace media { | 8 namespace media { |
| 9 | 9 |
| 10 // WebM element IDs. | 10 // WebM element IDs. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 const int kWebMIdTitle = 0x7BA9; | 57 const int kWebMIdTitle = 0x7BA9; |
| 58 const int kWebMIdTrackEntry = 0xAE; | 58 const int kWebMIdTrackEntry = 0xAE; |
| 59 const int kWebMIdTrackNumber = 0xD7; | 59 const int kWebMIdTrackNumber = 0xD7; |
| 60 const int kWebMIdTrackType = 0x83; | 60 const int kWebMIdTrackType = 0x83; |
| 61 const int kWebMIdTrackUID = 0x73C5; | 61 const int kWebMIdTrackUID = 0x73C5; |
| 62 const int kWebMIdTracks = 0x1654AE6B; | 62 const int kWebMIdTracks = 0x1654AE6B; |
| 63 const int kWebMIdVideo = 0xE0; | 63 const int kWebMIdVideo = 0xE0; |
| 64 const int kWebMIdVoid = 0xEC; | 64 const int kWebMIdVoid = 0xEC; |
| 65 const int kWebMIdWritingApp = 0x5741; | 65 const int kWebMIdWritingApp = 0x5741; |
| 66 | 66 |
| 67 const int64 kWebMUnknownSize = GG_LONGLONG(0x00FFFFFFFFFFFFFF); |
| 68 |
| 67 // Default timecode scale if the TimecodeScale element is | 69 // Default timecode scale if the TimecodeScale element is |
| 68 // not specified in the INFO element. | 70 // not specified in the INFO element. |
| 69 const int kWebMDefaultTimecodeScale = 1000000; | 71 const int kWebMDefaultTimecodeScale = 1000000; |
| 70 | 72 |
| 71 // Values for TrackType element. | 73 // Values for TrackType element. |
| 72 const int kWebMTrackTypeVideo = 1; | 74 const int kWebMTrackTypeVideo = 1; |
| 73 const int kWebMTrackTypeAudio = 2; | 75 const int kWebMTrackTypeAudio = 2; |
| 74 | 76 |
| 75 } // namespace media | 77 } // namespace media |
| 76 | 78 |
| 77 #endif // MEDIA_WEBM_WEBM_CONSTANTS_H_ | 79 #endif // MEDIA_WEBM_WEBM_CONSTANTS_H_ |
| OLD | NEW |