Pulling libwebm from upstream
Changes from upstream:
249629d make Mkv(Reader|Writer)(FILE*) explicit
7f3cda4 mkvparser: fix a bunch of windows warnings
5c06178 Merge "clang-format on mkvparser.[ch]pp"
4df111e clang-format on mkvparser.[ch]pp
7b24501 clang-format re-run.
c6767b9 Change AlignTrailingComments to false in .clang-format
9097a06 Merge "muxer: Reject file if TrackType is never specified"
eddf974 Merge "clang-format on mkvmuxertypes.hpp and webmids.hpp"
def325c muxer: Reject file if TrackType is never specified
41f869c Merge "clang-format on webvttparser.(cc|h)"
fd0be37 clang-format on webvttparser.(cc|h)
207d8a1 Merge "clang-format on mkvmuxerutil.[ch]pp"
02429eb Merge "clang-format on mkvwriter.[ch]pp"
0cf7b1b Merge "clang-format on mkvreader.[ch]pp"
2e80fed Merge "clang-format on sample.cpp"
3402e12 Merge "clang-format on sample_muxer.cpp"
1a685db Merge "clang-format on sample_muxer_metadata.(cc|h)"
6634c7f Merge "clang-format on vttreader.cc"
7566004 Merge "clang-format on vttdemux.cc"
9915b84 clang-format on mkvreader.[ch]pp
7437254 clang-format on mkvmuxertypes.hpp and webmids.hpp
0d5a98c clang-format on sample_muxer.cpp
e3485c9 clang-format on vttdemux.cc
46cc823 clang-format on dumpvtt.cc
5218bd2 clang-format on vttreader.cc
1a0130d clang-format on sample_muxer_metadata.(cc|h)
867f189 clang-format on sample.cpp
4c7bec5 clang-format on mkvwriter.[ch]pp
9ead078 clang-format on mkvmuxerutil.[ch]pp
fb6b6e6 clang-format on mkvmuxer.[ch]pp
ce77592 Update .clang-format to allow short functions in one line
0a24fe4 Merge "Add support for DateUTC and DefaultDuration in MKV Muxer."
11d5b66 Merge "Add .clang-format"
a1a3b14 Add .clang-format
0fcec38 Add support for DateUTC and DefaultDuration in MKV Muxer.
Change-Id: Ia0ed161ffc3d63c2eba8ed145707ffe543617976
		
	
		
			
				
	
	
		
			142 lines
		
	
	
		
			3.8 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			142 lines
		
	
	
		
			3.8 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
// Copyright (c) 2012 The WebM project authors. All Rights Reserved.
 | 
						|
//
 | 
						|
// Use of this source code is governed by a BSD-style license
 | 
						|
// that can be found in the LICENSE file in the root of the source
 | 
						|
// tree. An additional intellectual property rights grant can be found
 | 
						|
// in the file PATENTS.  All contributing project authors may
 | 
						|
// be found in the AUTHORS file in the root of the source tree.
 | 
						|
 | 
						|
#ifndef WEBMIDS_HPP
 | 
						|
#define WEBMIDS_HPP
 | 
						|
 | 
						|
namespace mkvmuxer {
 | 
						|
 | 
						|
enum MkvId {
 | 
						|
  kMkvEBML = 0x1A45DFA3,
 | 
						|
  kMkvEBMLVersion = 0x4286,
 | 
						|
  kMkvEBMLReadVersion = 0x42F7,
 | 
						|
  kMkvEBMLMaxIDLength = 0x42F2,
 | 
						|
  kMkvEBMLMaxSizeLength = 0x42F3,
 | 
						|
  kMkvDocType = 0x4282,
 | 
						|
  kMkvDocTypeVersion = 0x4287,
 | 
						|
  kMkvDocTypeReadVersion = 0x4285,
 | 
						|
  kMkvVoid = 0xEC,
 | 
						|
  kMkvSignatureSlot = 0x1B538667,
 | 
						|
  kMkvSignatureAlgo = 0x7E8A,
 | 
						|
  kMkvSignatureHash = 0x7E9A,
 | 
						|
  kMkvSignaturePublicKey = 0x7EA5,
 | 
						|
  kMkvSignature = 0x7EB5,
 | 
						|
  kMkvSignatureElements = 0x7E5B,
 | 
						|
  kMkvSignatureElementList = 0x7E7B,
 | 
						|
  kMkvSignedElement = 0x6532,
 | 
						|
  // segment
 | 
						|
  kMkvSegment = 0x18538067,
 | 
						|
  // Meta Seek Information
 | 
						|
  kMkvSeekHead = 0x114D9B74,
 | 
						|
  kMkvSeek = 0x4DBB,
 | 
						|
  kMkvSeekID = 0x53AB,
 | 
						|
  kMkvSeekPosition = 0x53AC,
 | 
						|
  // Segment Information
 | 
						|
  kMkvInfo = 0x1549A966,
 | 
						|
  kMkvTimecodeScale = 0x2AD7B1,
 | 
						|
  kMkvDuration = 0x4489,
 | 
						|
  kMkvDateUTC = 0x4461,
 | 
						|
  kMkvMuxingApp = 0x4D80,
 | 
						|
  kMkvWritingApp = 0x5741,
 | 
						|
  // Cluster
 | 
						|
  kMkvCluster = 0x1F43B675,
 | 
						|
  kMkvTimecode = 0xE7,
 | 
						|
  kMkvPrevSize = 0xAB,
 | 
						|
  kMkvBlockGroup = 0xA0,
 | 
						|
  kMkvBlock = 0xA1,
 | 
						|
  kMkvBlockDuration = 0x9B,
 | 
						|
  kMkvReferenceBlock = 0xFB,
 | 
						|
  kMkvLaceNumber = 0xCC,
 | 
						|
  kMkvSimpleBlock = 0xA3,
 | 
						|
  kMkvBlockAdditions = 0x75A1,
 | 
						|
  kMkvBlockMore = 0xA6,
 | 
						|
  kMkvBlockAddID = 0xEE,
 | 
						|
  kMkvBlockAdditional = 0xA5,
 | 
						|
  kMkvDiscardPadding = 0x75A2,
 | 
						|
  // Track
 | 
						|
  kMkvTracks = 0x1654AE6B,
 | 
						|
  kMkvTrackEntry = 0xAE,
 | 
						|
  kMkvTrackNumber = 0xD7,
 | 
						|
  kMkvTrackUID = 0x73C5,
 | 
						|
  kMkvTrackType = 0x83,
 | 
						|
  kMkvFlagEnabled = 0xB9,
 | 
						|
  kMkvFlagDefault = 0x88,
 | 
						|
  kMkvFlagForced = 0x55AA,
 | 
						|
  kMkvFlagLacing = 0x9C,
 | 
						|
  kMkvDefaultDuration = 0x23E383,
 | 
						|
  kMkvMaxBlockAdditionID = 0x55EE,
 | 
						|
  kMkvName = 0x536E,
 | 
						|
  kMkvLanguage = 0x22B59C,
 | 
						|
  kMkvCodecID = 0x86,
 | 
						|
  kMkvCodecPrivate = 0x63A2,
 | 
						|
  kMkvCodecName = 0x258688,
 | 
						|
  kMkvCodecDelay = 0x56AA,
 | 
						|
  kMkvSeekPreRoll = 0x56BB,
 | 
						|
  // video
 | 
						|
  kMkvVideo = 0xE0,
 | 
						|
  kMkvFlagInterlaced = 0x9A,
 | 
						|
  kMkvStereoMode = 0x53B8,
 | 
						|
  kMkvAlphaMode = 0x53C0,
 | 
						|
  kMkvPixelWidth = 0xB0,
 | 
						|
  kMkvPixelHeight = 0xBA,
 | 
						|
  kMkvPixelCropBottom = 0x54AA,
 | 
						|
  kMkvPixelCropTop = 0x54BB,
 | 
						|
  kMkvPixelCropLeft = 0x54CC,
 | 
						|
  kMkvPixelCropRight = 0x54DD,
 | 
						|
  kMkvDisplayWidth = 0x54B0,
 | 
						|
  kMkvDisplayHeight = 0x54BA,
 | 
						|
  kMkvDisplayUnit = 0x54B2,
 | 
						|
  kMkvAspectRatioType = 0x54B3,
 | 
						|
  kMkvFrameRate = 0x2383E3,
 | 
						|
  // end video
 | 
						|
  // audio
 | 
						|
  kMkvAudio = 0xE1,
 | 
						|
  kMkvSamplingFrequency = 0xB5,
 | 
						|
  kMkvOutputSamplingFrequency = 0x78B5,
 | 
						|
  kMkvChannels = 0x9F,
 | 
						|
  kMkvBitDepth = 0x6264,
 | 
						|
  // end audio
 | 
						|
  // ContentEncodings
 | 
						|
  kMkvContentEncodings = 0x6D80,
 | 
						|
  kMkvContentEncoding = 0x6240,
 | 
						|
  kMkvContentEncodingOrder = 0x5031,
 | 
						|
  kMkvContentEncodingScope = 0x5032,
 | 
						|
  kMkvContentEncodingType = 0x5033,
 | 
						|
  kMkvContentEncryption = 0x5035,
 | 
						|
  kMkvContentEncAlgo = 0x47E1,
 | 
						|
  kMkvContentEncKeyID = 0x47E2,
 | 
						|
  kMkvContentEncAESSettings = 0x47E7,
 | 
						|
  kMkvAESSettingsCipherMode = 0x47E8,
 | 
						|
  kMkvAESSettingsCipherInitData = 0x47E9,
 | 
						|
  // end ContentEncodings
 | 
						|
  // Cueing Data
 | 
						|
  kMkvCues = 0x1C53BB6B,
 | 
						|
  kMkvCuePoint = 0xBB,
 | 
						|
  kMkvCueTime = 0xB3,
 | 
						|
  kMkvCueTrackPositions = 0xB7,
 | 
						|
  kMkvCueTrack = 0xF7,
 | 
						|
  kMkvCueClusterPosition = 0xF1,
 | 
						|
  kMkvCueBlockNumber = 0x5378,
 | 
						|
  // Chapters
 | 
						|
  kMkvChapters = 0x1043A770,
 | 
						|
  kMkvEditionEntry = 0x45B9,
 | 
						|
  kMkvChapterAtom = 0xB6,
 | 
						|
  kMkvChapterUID = 0x73C4,
 | 
						|
  kMkvChapterStringUID = 0x5654,
 | 
						|
  kMkvChapterTimeStart = 0x91,
 | 
						|
  kMkvChapterTimeEnd = 0x92,
 | 
						|
  kMkvChapterDisplay = 0x80,
 | 
						|
  kMkvChapString = 0x85,
 | 
						|
  kMkvChapLanguage = 0x437C,
 | 
						|
  kMkvChapCountry = 0x437E
 | 
						|
};
 | 
						|
 | 
						|
}  // end namespace mkvmuxer
 | 
						|
 | 
						|
#endif  // WEBMIDS_HPP
 |