OLD | NEW |
(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 // 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_ |
OLD | NEW |