| 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_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 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 namespace media { | 10 namespace media { |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 const int kWebMIdTrackUID = 0x73C5; | 192 const int kWebMIdTrackUID = 0x73C5; |
| 193 const int kWebMIdVideo = 0xE0; | 193 const int kWebMIdVideo = 0xE0; |
| 194 const int kWebMIdVoid = 0xEC; | 194 const int kWebMIdVoid = 0xEC; |
| 195 const int kWebMIdWritingApp = 0x5741; | 195 const int kWebMIdWritingApp = 0x5741; |
| 196 | 196 |
| 197 const int64 kWebMReservedId = 0x1FFFFFFF; | 197 const int64 kWebMReservedId = 0x1FFFFFFF; |
| 198 const int64 kWebMUnknownSize = GG_LONGLONG(0x00FFFFFFFFFFFFFF); | 198 const int64 kWebMUnknownSize = GG_LONGLONG(0x00FFFFFFFFFFFFFF); |
| 199 | 199 |
| 200 const uint8 kWebMFlagKeyframe = 0x80; | 200 const uint8 kWebMFlagKeyframe = 0x80; |
| 201 | 201 |
| 202 // The size is from the WebM encrypted specification. Current encrypted WebM | 202 // Current encrypted WebM request for comments specification is here |
| 203 // request for comments specification is here | |
| 204 // http://wiki.webmproject.org/encryption/webm-encryption-rfc | 203 // http://wiki.webmproject.org/encryption/webm-encryption-rfc |
| 205 const uint8 kWebMFlagEncryptedFrame = 0x1; | 204 const uint8 kWebMFlagEncryptedFrame = 0x1; |
| 206 const int kWebMHmacSize = 12; | |
| 207 | 205 |
| 208 } // namespace media | 206 } // namespace media |
| 209 | 207 |
| 210 #endif // MEDIA_WEBM_WEBM_CONSTANTS_H_ | 208 #endif // MEDIA_WEBM_WEBM_CONSTANTS_H_ |
| OLD | NEW |