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 // Current encrypted WebM request for comments specification is here | 202 // Current encrypted WebM request for comments specification is here |
203 // http://wiki.webmproject.org/encryption/webm-encryption-rfc | 203 // http://wiki.webmproject.org/encryption/webm-encryption-rfc |
204 const uint8 kWebMFlagEncryptedFrame = 0x1; | 204 const uint8 kWebMFlagEncryptedFrame = 0x1; |
205 const size_t kWebMIvSize = 8; | |
xhwang
2012/10/15 16:39:00
Can we just use "int" for kWebMIvSize? "int" is us
fgalligan1
2012/10/15 20:01:07
Done.
| |
205 | 206 |
206 } // namespace media | 207 } // namespace media |
207 | 208 |
208 #endif // MEDIA_WEBM_WEBM_CONSTANTS_H_ | 209 #endif // MEDIA_WEBM_WEBM_CONSTANTS_H_ |
OLD | NEW |