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

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

Issue 7203002: Adding ChunkDemuxer implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit tests and bug fixes Created 9 years, 5 months 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_WEBM_WEBM_CONSTANTS_H_
6 #define MEDIA_WEBM_WEBM_CONSTANTS_H_
7
8 namespace media {
9
10 // WebM element IDs.
11 // This is a subset of the IDs in the Matroska spec.
12 // http://www.matroska.org/technical/specs/index.html
13 const int kWebMIdAspectRatioType = 0x54B3;
14 const int kWebMIdAudio = 0xE1;
15 const int kWebMIdBitDepth = 0x6264;
16 const int kWebMIdBlock = 0xA1;
17 const int kWebMIdBlockGroup = 0xA0;
18 const int kWebMIdChannels = 0x9F;
19 const int kWebMIdCluster = 0x1f43b675;
20 const int kWebMIdCodecID = 0x86;
21 const int kWebMIdCodecName = 0x258688;
22 const int kWebMIdCodecPrivate = 0x63A2;
23 const int kWebMIdDateUTC = 0x4461;
24 const int kWebMIdDefaultDuration = 0x23E383;
25 const int kWebMIdDisplayHeight = 0x54BA;
26 const int kWebMIdDisplayUnit = 0x54B2;
27 const int kWebMIdDisplayWidth = 0x54B0;
28 const int kWebMIdDuration = 0x4489;
29 const int kWebMIdFlagDefault = 0x88;
30 const int kWebMIdFlagEnabled = 0xB9;
31 const int kWebMIdFlagForced = 0x55AA;
32 const int kWebMIdFlagInterlaced = 0x9A;
33 const int kWebMIdFlagLacing = 0x9C;
34 const int kWebMIdInfo = 0x1549A966;
35 const int kWebMIdLanguage = 0x22B59C;
36 const int kWebMIdMuxingApp = 0x4D80;
37 const int kWebMIdName = 0x536E;
38 const int kWebMIdOutputSamplingFrequency = 0x78B5;
39 const int kWebMIdPixelCropBottom = 0x54AA;
40 const int kWebMIdPixelCropLeft = 0x54CC;
41 const int kWebMIdPixelCropRight = 0x54DD;
42 const int kWebMIdPixelCropTop = 0x54BB;
43 const int kWebMIdPixelHeight = 0xBA;
44 const int kWebMIdPixelWidth = 0xB0;
45 const int kWebMIdSamplingFrequency = 0xB5;
46 const int kWebMIdSegmentUID = 0x73A4;
47 const int kWebMIdSimpleBlock = 0xA3;
48 const int kWebMIdStereoMode = 0x53B8;
49 const int kWebMIdTimecode = 0xE7;
50 const int kWebMIdTimecodeScale = 0x2AD7B1;
51 const int kWebMIdTitle = 0x7BA9;
52 const int kWebMIdTrackEntry = 0xAE;
53 const int kWebMIdTrackNumber = 0xD7;
54 const int kWebMIdTrackType = 0x83;
55 const int kWebMIdTrackUID = 0x73C5;
56 const int kWebMIdTracks = 0x1654AE6B;
57 const int kWebMIdVideo = 0xE0;
58 const int kWebMIdWritingApp = 0x5741;
59
60 // Default timecode scale if the TimecodeScale element is
61 // not specified in the INFO element.
62 const int kWebMDefaultTimecodeScale = 1000000;
63
64 // Values for TrackType element.
65 const int kWebMTrackTypeVideo = 1;
66 const int kWebMTrackTypeAudio = 2;
67
68 } // namespace media
69
70 #endif // MEDIA_WEBM_WEBM_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698