Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Side by Side Diff: media/webm/webm_constants.h

Issue 8775035: Add support for incremental cluster parsing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace old list parsing with WebMListParser & implement incremental cluster parsing with that. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698