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

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: Addressed CR comments & split code out into separate files. 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
scherkus (not reviewing) 2011/06/24 18:27:37 almost missed it! namespace media { }
acolwell GONE FROM CHROMIUM 2011/06/27 23:48:25 Done.
8 // WebM element IDs.
9 // This is a subset of the IDs in the Matroska spec.
10 // http://www.matroska.org/technical/specs/index.html
11 const int kWebMIdAspectRatioType = 0x54B3;
12 const int kWebMIdAudio = 0xE1;
13 const int kWebMIdBitDepth = 0x6264;
14 const int kWebMIdBlock = 0xA1;
15 const int kWebMIdBlockGroup = 0xA0;
16 const int kWebMIdChannels = 0x9F;
17 const int kWebMIdCluster = 0x1f43b675;
18 const int kWebMIdCodecID = 0x86;
19 const int kWebMIdCodecName = 0x258688;
20 const int kWebMIdCodecPrivate = 0x63A2;
21 const int kWebMIdDateUTC = 0x4461;
22 const int kWebMIdDefaultDuration = 0x23E383;
23 const int kWebMIdDisplayHeight = 0x54BA;
24 const int kWebMIdDisplayUnit = 0x54B2;
25 const int kWebMIdDisplayWidth = 0x54B0;
26 const int kWebMIdDuration = 0x4489;
27 const int kWebMIdFlagDefault = 0x88;
28 const int kWebMIdFlagEnabled = 0xB9;
29 const int kWebMIdFlagForced = 0x55AA;
30 const int kWebMIdFlagInterlaced = 0x9A;
31 const int kWebMIdFlagLacing = 0x9C;
32 const int kWebMIdInfo = 0x1549A966;
33 const int kWebMIdLanguage = 0x22B59C;
34 const int kWebMIdMuxingApp = 0x4D80;
35 const int kWebMIdName = 0x536E;
36 const int kWebMIdOutputSamplingFrequency = 0x78B5;
37 const int kWebMIdPixelCropBottom = 0x54AA;
38 const int kWebMIdPixelCropLeft = 0x54CC;
39 const int kWebMIdPixelCropRight = 0x54DD;
40 const int kWebMIdPixelCropTop = 0x54BB;
41 const int kWebMIdPixelHeight = 0xBA;
42 const int kWebMIdPixelWidth = 0xB0;
43 const int kWebMIdSamplingFrequency = 0xB5;
44 const int kWebMIdSegmentUID = 0x73A4;
45 const int kWebMIdSimpleBlock = 0xA3;
46 const int kWebMIdStereoMode = 0x53B8;
47 const int kWebMIdTimecode = 0xE7;
48 const int kWebMIdTimecodeScale = 0x2AD7B1;
49 const int kWebMIdTitle = 0x7BA9;
50 const int kWebMIdTrackEntry = 0xAE;
51 const int kWebMIdTrackNumber = 0xD7;
52 const int kWebMIdTrackType = 0x83;
53 const int kWebMIdTrackUID = 0x73C5;
54 const int kWebMIdTracks = 0x1654AE6B;
55 const int kWebMIdVideo = 0xE0;
56 const int kWebMIdWritingApp = 0x5741;
57
58 // Default timecode scale if the TimecodeScale element is
59 // not specified in the INFO element.
60 const int kWebMDefaultTimecodeScale = 1000000;
61
62 // Values for TrackType element.
63 const int kWebMTrackTypeVideo = 1;
64 const int kWebMTrackTypeAudio = 2;
65
66 #endif // MEDIA_WEBM_WEBM_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698