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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // The size is from the WebM encrypted specification. Current encrypted WebM |
203 // request for comments specification is here | 203 // request for comments specification is here |
204 // http://wiki.webmproject.org/encryption/webm-encryption-rfc | 204 // http://wiki.webmproject.org/encryption/webm-encryption-rfc |
| 205 const uint8 kWebMFlagEncryptedFrame = 0x1; |
205 const int kWebMHmacSize = 12; | 206 const int kWebMHmacSize = 12; |
206 | 207 |
207 } // namespace media | 208 } // namespace media |
208 | 209 |
209 #endif // MEDIA_WEBM_WEBM_CONSTANTS_H_ | 210 #endif // MEDIA_WEBM_WEBM_CONSTANTS_H_ |
OLD | NEW |