diff --git a/docs/annotated.html b/docs/annotated.html index 3aef5bfcc9..d095ac2722 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -88,200 +88,216 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 1234]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 Nedash_packager
 Nmedia
 Nmp2t
 Nmp4
 Nwvm
 CLibcryptoThreadingConvenience class which initializes and terminates libcrypto threading
 CStreamDescriptor
 CStreamDescriptorCompareFn
 CAesCtrEncryptor
 CAesCbcPkcs5Encryptor
 CAesCbcPkcs5Decryptor
 CAesCbcCtsEncryptor
 CAesCbcCtsDecryptor
 CAudioStreamInfoHolds audio stream information
 CAudioTimestampHelper
 CBitReaderA class to read bit streams
 CBufferReader
 CBufferWriter
 CByteQueue
 CClosureThread
 CSubsampleEntry
 CDecryptConfig
 CDecryptorSourceDecryptorSource is responsible for decryption key acquisition
 CDemuxer
 CHttpKeyFetcher
 CKeyFetcherBase class for fetching keys from the license service
 CEncryptionKey
 CKeySourceKeySource is responsible for encryption key acquisition
 CMediaParser
 CMediaSampleClass to hold a media sample
 CMediaStream
 CMuxer
 CMuxerOptionsThis structure contains the list of configuration options for Muxer
 COffsetByteQueue
 CProducerConsumerQueue
 CRequestSignerAbstract class used for signature generation
 CAesRequestSignerAesRequestSigner uses AES-CBC signing
 CRsaRequestSignerRsaRequestSigner uses RSA-PSS signing
 CRsaPrivateKeyRsa private key, used for message signing and decryption
 CRsaPublicKeyRsa public key, used for signature verification and encryption
 CStatus
 CStreamInfoAbstract class holds stream information
 CTextTrack
 CVideoStreamInfoHolds video stream information
 CWidevineKeySource
 CMpdNotifyMuxerListener
 CMuxerListener
 CVideoStreamInfoParameters
 COnMediaEndParameters
 CProgressListenerThis class listens to progress updates events
 CVodMediaInfoDumpMuxerListener
 CFileDefine an abstract file interface
 CFileCloser
 CIoCacheDeclaration of class which implements a thread-safe circular buffer
 CLocalFileImplement LocalFile which deals with local storage
 CThreadedIoFileDeclaration of class which implements a thread-safe circular buffer
 CUdpFileImplements UdpFile, which receives UDP unicast and multicast streams
 CH264BitReader
 CH264ByteToUnitStreamConverter
 CH264NALU
 CH264SPS
 CH264PPS
 CH264ModificationOfPicNum
 CH264WeightingFactors
 CH264DecRefPicMarking
 CH264SliceHeader
 CH264SEIRecoveryPoint
 CH264SEIMessage
 CH264Parser
 Nxml
 CXmlDeleter
 CScopedXmlPtrScoped_ptr for libxml2 resources
 CXmlNode
 CRepresentationBaseXmlNode
 CAdaptationSetXmlNodeAdaptationSetType specified in MPD
 CRepresentationXmlNodeRepresentationType in MPD
 CElement
 CContentProtectionElement
 CDashIopMpdNotifier
 CMockMpdBuilder
 CMockAdaptationSet
 CMockRepresentation
 CMockMpdNotifier
 CMpdBuilderThis class generates DASH MPDs (Media Presentation Descriptions)
 CAdaptationSet
 CRepresentationStateChangeListener
 CRepresentation
 CMpdNotifier
 CMpdOptionsDefines Mpd Options
 CSegmentInfo
 CSimpleMpdNotifier
 CMpdNotifierFactory
 CMpdWriter
 CBandwidthEstimator
oNedash_packager
|oNmedia
|oNxml
|oCElement
|oCContentProtectionElement
|oCDashIopMpdNotifier
|oCMockMpdBuilder
|oCMockAdaptationSet
|oCMockRepresentation
|oCMockMpdNotifier
|oCMpdBuilderThis class generates DASH MPDs (Media Presentation Descriptions)
|oCAdaptationSet
|oCRepresentationStateChangeListener
|oCRepresentation
|oCMpdNotifier
|oCMpdOptionsDefines Mpd Options
|oCSegmentInfo
|oCSimpleMpdNotifier
|oCMpdNotifierFactory
|\CMpdWriter
\CBandwidthEstimator
diff --git a/docs/classes.html b/docs/classes.html index 6629bca64d..cc1313a820 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -89,79 +89,82 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
A | B | C | D | E | F | H | I | K | L | M | O | P | R | S | T | U | V | W | X
- - - - - - + + + + + + + - - - - - - - - + + + + + + + + + - - - + + + + - - - - - + + + + + + - + + - - - - + + + + + + + + + + + + - - - - - - + - - - - - + + + + + + - +
  A  
-
DecodingTime (edash_packager::media::mp4)   
  K  
-
OriginalFormat (edash_packager::media::mp4)   SubsampleEntry (edash_packager::media)   
DecodingTimeIterator (edash_packager::media::mp4)   
  P  
-
SyncSample (edash_packager::media::mp4)   
AACAudioSpecificConfig (edash_packager::media::mp4)   DecodingTimeToSample (edash_packager::media::mp4)   KeyFetcher (edash_packager::media)   SyncSampleIterator (edash_packager::media::mp4)   
AdaptationSet (edash_packager)   DecryptConfig (edash_packager::media)   KeyRotationFragmenter (edash_packager::media::mp4)   PixelAspectRatioBox (edash_packager::media::mp4)   
  T  
-
AdaptationSetXmlNode (edash_packager::xml)   DecryptorSource (edash_packager::media)   KeySource (edash_packager::media)   PrevSampleData (edash_packager::media::wvm)   
AdtsHeader (edash_packager::media::mp2t)   Demuxer (edash_packager::media)   
  L  
-
ProducerConsumerQueue (edash_packager::media)   TextTrack (edash_packager::media)   
AesCbcCtsDecryptor (edash_packager::media)   DemuxStreamIdMediaSample (edash_packager::media::wvm)   ProgressListener (edash_packager::media)   ThreadedIoFile (edash_packager::media)   
DecodingTime (edash_packager::media::mp4)   KeyRotationFragmenter (edash_packager::media::mp4)   ProducerConsumerQueue (edash_packager::media)   Track (edash_packager::media::mp4)   
DecodingTimeIterator (edash_packager::media::mp4)   KeySource (edash_packager::media)   ProgressListener (edash_packager::media)   TrackEncryption (edash_packager::media::mp4)   
AACAudioSpecificConfig (edash_packager::media::mp4)   DecodingTimeToSample (edash_packager::media::mp4)   
  L  
+
ProtectionSchemeInfo (edash_packager::media::mp4)   TrackExtends (edash_packager::media::mp4)   
AdaptationSet (edash_packager)   DecryptConfig (edash_packager::media)   ProtectionSystemSpecificHeader (edash_packager::media::mp4)   TrackFragment (edash_packager::media::mp4)   
AdaptationSetXmlNode (edash_packager::xml)   DecryptorSource (edash_packager::media)   LibcryptoThreading (edash_packager::media)   
  R  
+
TrackFragmentDecodeTime (edash_packager::media::mp4)   
AdtsHeader (edash_packager::media::mp2t)   Demuxer (edash_packager::media)   LocalFile (edash_packager::media)   TrackFragmentHeader (edash_packager::media::mp4)   
AesCbcCtsDecryptor (edash_packager::media)   DemuxStreamIdMediaSample (edash_packager::media::wvm)   
  M  
+
Representation (edash_packager)   TrackFragmentRun (edash_packager::media::mp4)   
AesCbcCtsEncryptor (edash_packager::media)   
  E  
-
LibcryptoThreading (edash_packager::media)   ProtectionSchemeInfo (edash_packager::media::mp4)   Track (edash_packager::media::mp4)   
AesCbcPkcs5Decryptor (edash_packager::media)   LocalFile (edash_packager::media)   ProtectionSystemSpecificHeader (edash_packager::media::mp4)   TrackEncryption (edash_packager::media::mp4)   
AesCbcPkcs5Encryptor (edash_packager::media)   Edit (edash_packager::media::mp4)   
  M  
-
  R  
-
TrackExtends (edash_packager::media::mp4)   
AesCtrEncryptor (edash_packager::media)   EditList (edash_packager::media::mp4)   TrackFragment (edash_packager::media::mp4)   
AesRequestSigner (edash_packager::media)   EditListEntry (edash_packager::media::mp4)   Media (edash_packager::media::mp4)   Representation (edash_packager)   TrackFragmentDecodeTime (edash_packager::media::mp4)   
AudioSampleEntry (edash_packager::media::mp4)   Element (edash_packager)   MediaData (edash_packager::media::mp4)   RepresentationBaseXmlNode (edash_packager::xml)   TrackFragmentHeader (edash_packager::media::mp4)   
AudioStreamInfo (edash_packager::media)   ElementaryStreamDescriptor (edash_packager::media::mp4)   MediaHeader (edash_packager::media::mp4)   RepresentationStateChangeListener (edash_packager)   TrackFragmentRun (edash_packager::media::mp4)   
AudioTimestampHelper (edash_packager::media)   EncryptingFragmenter (edash_packager::media::mp4)   MediaInformation (edash_packager::media::mp4)   RepresentationXmlNode (edash_packager::xml)   TrackHeader (edash_packager::media::mp4)   
AVCDecoderConfigurationRecord (edash_packager::media::mp4)   EncryptionKey (edash_packager::media)   MediaParser (edash_packager::media)   RequestSigner (edash_packager::media)   TrackRunIterator (edash_packager::media::mp4)   
RepresentationBaseXmlNode (edash_packager::xml)   TrackHeader (edash_packager::media::mp4)   
AesCbcPkcs5Decryptor (edash_packager::media)   Media (edash_packager::media::mp4)   RepresentationStateChangeListener (edash_packager)   TrackRunIterator (edash_packager::media::mp4)   
AesCbcPkcs5Encryptor (edash_packager::media)   Edit (edash_packager::media::mp4)   MediaData (edash_packager::media::mp4)   RepresentationXmlNode (edash_packager::xml)   TracksBuilder (edash_packager::media)   
AesCtrEncryptor (edash_packager::media)   EditList (edash_packager::media::mp4)   MediaHeader (edash_packager::media::mp4)   RequestSigner (edash_packager::media)   TsPacket (edash_packager::media::mp2t)   
AesRequestSigner (edash_packager::media)   EditListEntry (edash_packager::media::mp4)   MediaInformation (edash_packager::media::mp4)   RsaPrivateKey (edash_packager::media)   TsSection (edash_packager::media::mp2t)   
AudioSampleEntry (edash_packager::media::mp4)   Element (edash_packager)   MediaParser (edash_packager::media)   RsaPublicKey (edash_packager::media)   TsSectionPat (edash_packager::media::mp2t)   
AudioStreamInfo (edash_packager::media)   ElementaryStreamDescriptor (edash_packager::media::mp4)   MediaSample (edash_packager::media)   RsaRequestSigner (edash_packager::media)   TsSectionPes (edash_packager::media::mp2t)   
AudioTimestampHelper (edash_packager::media)   EncryptingFragmenter (edash_packager::media::mp4)   MediaStream (edash_packager::media)   
  S  
+
TsSectionPmt (edash_packager::media::mp2t)   
AVCDecoderConfigurationRecord (edash_packager::media::mp4)   EncryptionKey (edash_packager::media)   MockAdaptationSet (edash_packager)   TsSectionPsi (edash_packager::media::mp2t)   
  B  
-
ESDescriptor (edash_packager::media::mp4)   MediaSample (edash_packager::media)   RsaPrivateKey (edash_packager::media)   TsPacket (edash_packager::media::mp2t)   
EsParser (edash_packager::media::mp2t)   MediaStream (edash_packager::media)   RsaPublicKey (edash_packager::media)   TsSection (edash_packager::media::mp2t)   
BandwidthEstimator   EsParserAdts (edash_packager::media::mp2t)   MockAdaptationSet (edash_packager)   RsaRequestSigner (edash_packager::media)   TsSectionPat (edash_packager::media::mp2t)   
BitReader (edash_packager::media)   EsParserH264 (edash_packager::media::mp2t)   MockMpdBuilder (edash_packager)   
  S  
-
TsSectionPes (edash_packager::media::mp2t)   
ESDescriptor (edash_packager::media::mp4)   MockMpdBuilder (edash_packager)   SampleAuxiliaryInformationOffset (edash_packager::media::mp4)   
  U  
+
EsParser (edash_packager::media::mp2t)   MockMpdNotifier (edash_packager)   SampleAuxiliaryInformationSize (edash_packager::media::mp4)   
BandwidthEstimator   EsParserAdts (edash_packager::media::mp2t)   MockRepresentation (edash_packager)   SampleDescription (edash_packager::media::mp4)   UdpFile (edash_packager::media)   
BitReader (edash_packager::media)   EsParserH264 (edash_packager::media::mp2t)   Movie (edash_packager::media::mp4)   SampleGroupDescription (edash_packager::media::mp4)   
  V  
+
Box (edash_packager::media::mp4)   
  F  
-
MockMpdNotifier (edash_packager)   TsSectionPmt (edash_packager::media::mp2t)   
BoxBuffer (edash_packager::media::mp4)   MockRepresentation (edash_packager)   SampleAuxiliaryInformationOffset (edash_packager::media::mp4)   TsSectionPsi (edash_packager::media::mp2t)   
BoxReader (edash_packager::media::mp4)   File (edash_packager::media)   Movie (edash_packager::media::mp4)   SampleAuxiliaryInformationSize (edash_packager::media::mp4)   
  U  
-
BufferReader (edash_packager::media)   FileCloser (edash_packager::media)   MovieExtends (edash_packager::media::mp4)   SampleDescription (edash_packager::media::mp4)   
BufferWriter (edash_packager::media)   FileType (edash_packager::media::mp4)   MovieExtendsHeader (edash_packager::media::mp4)   SampleGroupDescription (edash_packager::media::mp4)   UdpFile (edash_packager::media)   
ByteQueue (edash_packager::media)   Fragmenter (edash_packager::media::mp4)   MovieFragment (edash_packager::media::mp4)   SampleSize (edash_packager::media::mp4)   
  V  
-
MovieExtends (edash_packager::media::mp4)   SampleSize (edash_packager::media::mp4)   
BoxBuffer (edash_packager::media::mp4)   MovieExtendsHeader (edash_packager::media::mp4)   SampleTable (edash_packager::media::mp4)   VideoMediaHeader (edash_packager::media::mp4)   
BoxReader (edash_packager::media::mp4)   File (edash_packager::media)   MovieFragment (edash_packager::media::mp4)   SampleToChunk (edash_packager::media::mp4)   VideoSampleEntry (edash_packager::media::mp4)   
BufferReader (edash_packager::media)   FileCloser (edash_packager::media)   MovieFragmentHeader (edash_packager::media::mp4)   SampleToGroup (edash_packager::media::mp4)   VideoStreamInfo (edash_packager::media)   
BufferWriter (edash_packager::media)   FileType (edash_packager::media::mp4)   MovieHeader (edash_packager::media::mp4)   SampleToGroupEntry (edash_packager::media::mp4)   VideoStreamInfoParameters (edash_packager::media)   
ByteQueue (edash_packager::media)   Fragmenter (edash_packager::media::mp4)   Mp2tMediaParser (edash_packager::media::mp2t)   SchemeInfo (edash_packager::media::mp4)   VodMediaInfoDumpMuxerListener (edash_packager::media)   
  C  
-
FrameCENCInfo (edash_packager::media::mp4)   MovieFragmentHeader (edash_packager::media::mp4)   SampleTable (edash_packager::media::mp4)   
FullBox (edash_packager::media::mp4)   MovieHeader (edash_packager::media::mp4)   SampleToChunk (edash_packager::media::mp4)   VideoMediaHeader (edash_packager::media::mp4)   
FrameCENCInfo (edash_packager::media::mp4)   MP4MediaParser (edash_packager::media::mp4)   SchemeType (edash_packager::media::mp4)   
  W  
+
FullBox (edash_packager::media::mp4)   MP4Muxer (edash_packager::media::mp4)   ScopedXmlPtr (edash_packager::xml)   
CencSampleEncryptionInfoEntry (edash_packager::media::mp4)   
  H  
-
Mp2tMediaParser (edash_packager::media::mp2t)   SampleToGroup (edash_packager::media::mp4)   VideoSampleEntry (edash_packager::media::mp4)   
ChunkInfo (edash_packager::media::mp4)   MP4MediaParser (edash_packager::media::mp4)   SampleToGroupEntry (edash_packager::media::mp4)   VideoStreamInfo (edash_packager::media)   
ChunkInfoIterator (edash_packager::media::mp4)   H264BitReader (edash_packager::media)   MP4Muxer (edash_packager::media::mp4)   SchemeInfo (edash_packager::media::mp4)   VideoStreamInfoParameters (edash_packager::media)   
ChunkLargeOffset (edash_packager::media::mp4)   H264ByteToUnitStreamConverter (edash_packager::media)   MpdBuilder (edash_packager)   SchemeType (edash_packager::media::mp4)   VodMediaInfoDumpMuxerListener (edash_packager::media)   
ChunkOffset (edash_packager::media::mp4)   H264DecRefPicMarking (edash_packager::media)   MpdNotifier (edash_packager)   ScopedXmlPtr (edash_packager::xml)   
  W  
+
MpdBuilder (edash_packager)   Segmenter (edash_packager::media::mp4)   WebMAudioClient (edash_packager::media)   
ChunkInfo (edash_packager::media::mp4)   MpdNotifier (edash_packager)   SegmentIndex (edash_packager::media::mp4)   WebMClusterParser (edash_packager::media)   
ChunkInfoIterator (edash_packager::media::mp4)   H264BitReader (edash_packager::media)   MpdNotifierFactory (edash_packager)   SegmentInfo (edash_packager)   WebMContentEncodingsClient (edash_packager::media)   
ChunkLargeOffset (edash_packager::media::mp4)   H264ByteToUnitStreamConverter (edash_packager::media)   MpdNotifyMuxerListener (edash_packager::media)   SegmentReference (edash_packager::media::mp4)   WebMInfoParser (edash_packager::media)   
ChunkOffset (edash_packager::media::mp4)   H264DecRefPicMarking (edash_packager::media)   MpdOptions (edash_packager)   SegmentType (edash_packager::media::mp4)   WebMListParser (edash_packager::media)   
ClosureThread (edash_packager::media)   H264ModificationOfPicNum (edash_packager::media)   MpdWriter (edash_packager)   SimpleMpdNotifier (edash_packager)   WebMParserClient (edash_packager::media)   
Cluster (edash_packager::media)   H264NALU (edash_packager::media)   MultiSegmentSegmenter (edash_packager::media::mp4)   SingleSegmentSegmenter (edash_packager::media::mp4)   WebMStreamParser (edash_packager::media)   
ClusterBuilder (edash_packager::media)   H264Parser (edash_packager::media)   Muxer (edash_packager::media)   SoundMediaHeader (edash_packager::media::mp4)   WebMTracksParser (edash_packager::media)   
CompactSampleSize (edash_packager::media::mp4)   H264PPS (edash_packager::media)   MuxerListener (edash_packager::media)   Status (edash_packager::media)   WebMVideoClient (edash_packager::media)   
CompositionOffset (edash_packager::media::mp4)   H264SEIMessage (edash_packager::media)   MuxerOptions (edash_packager::media)   StreamDescriptor (edash_packager::media)   WebMWebVTTParser (edash_packager::media)   
CompositionOffsetIterator (edash_packager::media::mp4)   H264SEIRecoveryPoint (edash_packager::media)   
  O  
+
StreamDescriptorCompareFn (edash_packager::media)   WidevineKeySource (edash_packager::media)   
CompositionTimeToSample (edash_packager::media::mp4)   H264SliceHeader (edash_packager::media)   StreamInfo (edash_packager::media)   WvmMediaParser (edash_packager::media::wvm)   
ContentEncoding (edash_packager::media)   H264SPS (edash_packager::media)   OffsetByteQueue (edash_packager::media)   SubsampleEntry (edash_packager::media)   
  X  
ClosureThread (edash_packager::media)   H264ModificationOfPicNum (edash_packager::media)   MpdNotifierFactory (edash_packager)   Segmenter (edash_packager::media::mp4)   
CompactSampleSize (edash_packager::media::mp4)   H264NALU (edash_packager::media)   MpdNotifyMuxerListener (edash_packager::media)   SegmentIndex (edash_packager::media::mp4)   WidevineKeySource (edash_packager::media)   
CompositionOffset (edash_packager::media::mp4)   H264Parser (edash_packager::media)   MpdOptions (edash_packager)   SegmentInfo (edash_packager)   WvmMediaParser (edash_packager::media::wvm)   
CompositionOffsetIterator (edash_packager::media::mp4)   H264PPS (edash_packager::media)   MpdWriter (edash_packager)   SegmentReference (edash_packager::media::mp4)   
  X  
-
CompositionTimeToSample (edash_packager::media::mp4)   H264SEIMessage (edash_packager::media)   MultiSegmentSegmenter (edash_packager::media::mp4)   SegmentType (edash_packager::media::mp4)   
ContentProtectionElement (edash_packager)   H264SEIRecoveryPoint (edash_packager::media)   Muxer (edash_packager::media)   SimpleMpdNotifier (edash_packager)   XmlDeleter (edash_packager::xml)   
ContentProtectionElement (edash_packager)   H264WeightingFactors (edash_packager::media)   OnMediaEndParameters (edash_packager::media)   SyncSample (edash_packager::media::mp4)   
  D  
-
H264SliceHeader (edash_packager::media)   MuxerListener (edash_packager::media)   SingleSegmentSegmenter (edash_packager::media::mp4)   XmlNode (edash_packager::xml)   
H264SPS (edash_packager::media)   MuxerOptions (edash_packager::media)   SoundMediaHeader (edash_packager::media::mp4)   
DashIopMpdNotifier (edash_packager)   H264WeightingFactors (edash_packager::media)   
  O  
-
Status (edash_packager::media)   
DataEntryUrl (edash_packager::media::mp4)   HandlerReference (edash_packager::media::mp4)   StreamDescriptor (edash_packager::media)   
DataInformation (edash_packager::media::mp4)   HttpKeyFetcher (edash_packager::media)   OffsetByteQueue (edash_packager::media)   StreamDescriptorCompareFn (edash_packager::media)   
DataReference (edash_packager::media::mp4)   
  I  
-
OnMediaEndParameters (edash_packager::media)   StreamInfo (edash_packager::media)   
HandlerReference (edash_packager::media::mp4)   OpusPacket (edash_packager::media)   SyncSampleIterator (edash_packager::media::mp4)   XmlDeleter (edash_packager::xml)   
HttpKeyFetcher (edash_packager::media)   OriginalFormat (edash_packager::media::mp4)   
  T  
+
XmlNode (edash_packager::xml)   
DashIopMpdNotifier (edash_packager)   
  I  
+
  P  
+
DataEntryUrl (edash_packager::media::mp4)   TextTrack (edash_packager::media)   
DataInformation (edash_packager::media::mp4)   IoCache (edash_packager::media)   PixelAspectRatioBox (edash_packager::media::mp4)   TextTrackConfig (edash_packager::media)   
DataReference (edash_packager::media::mp4)   
  K  
+
PrevSampleData (edash_packager::media::wvm)   ThreadedIoFile (edash_packager::media)   
IoCache (edash_packager::media)   
KeyFetcher (edash_packager::media)   
A | B | C | D | E | F | H | I | K | L | M | O | P | R | S | T | U | V | W | X
diff --git a/docs/d0/d06/mpd__flags_8cc_source.html b/docs/d0/d06/mpd__flags_8cc_source.html index 7e958e0044..92758d99c9 100644 --- a/docs/d0/d06/mpd__flags_8cc_source.html +++ b/docs/d0/d06/mpd__flags_8cc_source.html @@ -148,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d0e/muxer__options_8h_source.html b/docs/d0/d0e/muxer__options_8h_source.html index b2cf41e7ff..71e7034811 100644 --- a/docs/d0/d0e/muxer__options_8h_source.html +++ b/docs/d0/d0e/muxer__options_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_MUXER_OPTIONS_H_
-
8 #define MEDIA_BASE_MUXER_OPTIONS_H_
-
9 
+
8 #define MEDIA_BASE_MUXER_OPTIONS_H_
+
9 
10 #include <stdint.h>
11 
12 #include <string>
@@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d0e/structedash__packager_1_1media_1_1StreamDescriptor-members.html b/docs/d0/d0e/structedash__packager_1_1media_1_1StreamDescriptor-members.html index 4fd788712d..7981025d73 100644 --- a/docs/d0/d0e/structedash__packager_1_1media_1_1StreamDescriptor-members.html +++ b/docs/d0/d0e/structedash__packager_1_1media_1_1StreamDescriptor-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d1a/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset-members.html b/docs/d0/d1a/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset-members.html index 209af8434c..f9de6b64b9 100644 --- a/docs/d0/d1a/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset-members.html +++ b/docs/d0/d1a/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset-members.html @@ -95,25 +95,25 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - + - + - - - + + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::ChunkOffset)edash_packager::media::mp4::ChunkOffsetvirtual
BoxType() const override (defined in edash_packager::media::mp4::ChunkOffset)edash_packager::media::mp4::ChunkOffsetvirtual
ChunkLargeOffset() (defined in edash_packager::media::mp4::ChunkLargeOffset)edash_packager::media::mp4::ChunkLargeOffset
ChunkOffset() (defined in edash_packager::media::mp4::ChunkOffset)edash_packager::media::mp4::ChunkOffset
ComputeSize() OVERRIDEedash_packager::media::mp4::ChunkOffsetvirtual
ComputeSize() overrideedash_packager::media::mp4::ChunkOffsetvirtual
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
offsets (defined in edash_packager::media::mp4::ChunkLargeOffset)edash_packager::media::mp4::ChunkLargeOffset
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::ChunkOffsetvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::ChunkOffsetvirtual
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~ChunkLargeOffset() (defined in edash_packager::media::mp4::ChunkLargeOffset)edash_packager::media::mp4::ChunkLargeOffsetvirtual
~ChunkOffset() (defined in edash_packager::media::mp4::ChunkOffset)edash_packager::media::mp4::ChunkOffsetvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~ChunkLargeOffset() override (defined in edash_packager::media::mp4::ChunkLargeOffset)edash_packager::media::mp4::ChunkLargeOffset
~ChunkOffset() override (defined in edash_packager::media::mp4::ChunkOffset)edash_packager::media::mp4::ChunkOffset
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
diff --git a/docs/d0/d24/structedash__packager_1_1media_1_1H264DecRefPicMarking-members.html b/docs/d0/d24/structedash__packager_1_1media_1_1H264DecRefPicMarking-members.html index e2cce328c3..efcd0dd52e 100644 --- a/docs/d0/d24/structedash__packager_1_1media_1_1H264DecRefPicMarking-members.html +++ b/docs/d0/d24/structedash__packager_1_1media_1_1H264DecRefPicMarking-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d28/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html b/docs/d0/d28/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html index b45c7791e0..8745b007d5 100644 --- a/docs/d0/d28/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html +++ b/docs/d0/d28/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html @@ -98,8 +98,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); fragment_buffer() (defined in edash_packager::media::mp4::Segmenter)edash_packager::media::mp4::Segmenterinlineprotected ftyp() (defined in edash_packager::media::mp4::Segmenter)edash_packager::media::mp4::Segmenterinlineprotected GetDuration() const edash_packager::media::mp4::Segmenter - GetIndexRange(size_t *offset, size_t *size) OVERRIDEedash_packager::media::mp4::MultiSegmentSegmentervirtual - GetInitRange(size_t *offset, size_t *size) OVERRIDEedash_packager::media::mp4::MultiSegmentSegmentervirtual + GetIndexRange(size_t *offset, size_t *size) overrideedash_packager::media::mp4::MultiSegmentSegmentervirtual + GetInitRange(size_t *offset, size_t *size) overrideedash_packager::media::mp4::MultiSegmentSegmentervirtual GetReferenceTimeScale() const (defined in edash_packager::media::mp4::Segmenter)edash_packager::media::mp4::Segmenter Initialize(const std::vector< MediaStream * > &streams, MuxerListener *muxer_listener, ProgressListener *progress_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds, double crypto_period_duration_in_seconds)edash_packager::media::mp4::Segmenter moov() (defined in edash_packager::media::mp4::Segmenter)edash_packager::media::mp4::Segmenterinlineprotected @@ -113,12 +113,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); SetComplete()edash_packager::media::mp4::Segmenterprotected sidx() (defined in edash_packager::media::mp4::Segmenter)edash_packager::media::mp4::Segmenterinlineprotected UpdateProgress(uint64_t progress)edash_packager::media::mp4::Segmenterprotected - ~MultiSegmentSegmenter() (defined in edash_packager::media::mp4::MultiSegmentSegmenter)edash_packager::media::mp4::MultiSegmentSegmentervirtual + ~MultiSegmentSegmenter() override (defined in edash_packager::media::mp4::MultiSegmentSegmenter)edash_packager::media::mp4::MultiSegmentSegmenter ~Segmenter() (defined in edash_packager::media::mp4::Segmenter)edash_packager::media::mp4::Segmentervirtual diff --git a/docs/d0/d30/mock__mpd__notifier_8h_source.html b/docs/d0/d30/mock__mpd__notifier_8h_source.html index c2fa3ca4c9..2904b3cc60 100644 --- a/docs/d0/d30/mock__mpd__notifier_8h_source.html +++ b/docs/d0/d30/mock__mpd__notifier_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MPD_BASE_MOCK_MPD_NOTIFIER_H_
-
8 #define MPD_BASE_MOCK_MPD_NOTIFIER_H_
-
9 
+
8 #define MPD_BASE_MOCK_MPD_NOTIFIER_H_
+
9 
10 #include "packager/mpd/base/mpd_notifier.h"
11 
12 #include <gmock/gmock.h>
@@ -148,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d32/mp2t__common_8h_source.html b/docs/d0/d32/mp2t__common_8h_source.html index f10a9ca2d8..d453abba0e 100644 --- a/docs/d0/d32/mp2t__common_8h_source.html +++ b/docs/d0/d32/mp2t__common_8h_source.html @@ -92,12 +92,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP2T_MP2T_COMMON_H_
-
6 #define MEDIA_FORMATS_MP2T_MP2T_COMMON_H_
-
7 
+
6 #define MEDIA_FORMATS_MP2T_MP2T_COMMON_H_
+
7 
8 #define LOG_LEVEL_TS 5
-
9 #define LOG_LEVEL_PES 4
-
10 #define LOG_LEVEL_ES 3
-
11 
+
9 #define LOG_LEVEL_PES 4
+
10 #define LOG_LEVEL_ES 3
+
11 
12 #define RCHECK(x) \
13  do { \
14  if (!(x)) { \
@@ -105,9 +105,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
16  return false; \
17  } \
18  } while (0)
-
19 
+
19 
20 #endif
-
21 
+
21 
22 namespace edash_packager {
23 namespace media {
24 
@@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d35/es__descriptor_8cc_source.html b/docs/d0/d35/es__descriptor_8cc_source.html index d22cbc0701..e9cd940de1 100644 --- a/docs/d0/d35/es__descriptor_8cc_source.html +++ b/docs/d0/d35/es__descriptor_8cc_source.html @@ -282,7 +282,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d3a/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode-members.html b/docs/d0/d3a/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode-members.html index 8dc5ae4bac..750a063fad 100644 --- a/docs/d0/d3a/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode-members.html +++ b/docs/d0/d3a/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode-members.html @@ -106,12 +106,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); SetIntegerAttribute(const char *attribute_name, uint64_t number)edash_packager::xml::XmlNode SetStringAttribute(const char *attribute_name, const std::string &attribute)edash_packager::xml::XmlNode XmlNode(const char *name)edash_packager::xml::XmlNodeexplicit - ~RepresentationBaseXmlNode() (defined in edash_packager::xml::RepresentationBaseXmlNode)edash_packager::xml::RepresentationBaseXmlNodevirtual + ~RepresentationBaseXmlNode() override (defined in edash_packager::xml::RepresentationBaseXmlNode)edash_packager::xml::RepresentationBaseXmlNode ~XmlNode() (defined in edash_packager::xml::XmlNode)edash_packager::xml::XmlNodevirtual diff --git a/docs/d0/d3a/webm__constants_8h_source.html b/docs/d0/d3a/webm__constants_8h_source.html new file mode 100644 index 0000000000..2b578ba205 --- /dev/null +++ b/docs/d0/d3a/webm__constants_8h_source.html @@ -0,0 +1,328 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_constants.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + +
+ All Classes Namespaces Functions Variables Typedefs
+ + +
+ +
+ + +
+
+
+
webm_constants.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_WEBM_CONSTANTS_H_
+
6 #define MEDIA_FORMATS_WEBM_WEBM_CONSTANTS_H_
+
7 
+
8 #include <stdint.h>
+
9 
+
10 namespace edash_packager {
+
11 namespace media {
+
12 
+
13 // WebM element IDs.
+
14 // This is a subset of the IDs in the Matroska spec.
+
15 // http://www.matroska.org/technical/specs/index.html
+
16 const int kWebMIdAESSettingsCipherMode = 0x47E8;
+
17 const int kWebMIdAlphaMode = 0x53C0;
+
18 const int kWebMIdAspectRatioType = 0x54B3;
+
19 const int kWebMIdAttachedFile = 0x61A7;
+
20 const int kWebMIdAttachmentLink = 0x7446;
+
21 const int kWebMIdAttachments = 0x1941A469;
+
22 const int kWebMIdAudio = 0xE1;
+
23 const int kWebMIdBitDepth = 0x6264;
+
24 const int kWebMIdBlock = 0xA1;
+
25 const int kWebMIdBlockAddID = 0xEE;
+
26 const int kWebMIdBlockAdditions = 0x75A1;
+
27 const int kWebMIdBlockAdditional = 0xA5;
+
28 const int kWebMIdBlockDuration = 0x9B;
+
29 const int kWebMIdBlockGroup = 0xA0;
+
30 const int kWebMIdBlockMore = 0xA6;
+
31 const int kWebMIdChannels = 0x9F;
+
32 const int kWebMIdChapCountry = 0x437E;
+
33 const int kWebMIdChapLanguage = 0x437C;
+
34 const int kWebMIdChapProcess = 0x6944;
+
35 const int kWebMIdChapProcessCodecID = 0x6955;
+
36 const int kWebMIdChapProcessCommand = 0x6911;
+
37 const int kWebMIdChapProcessData = 0x6933;
+
38 const int kWebMIdChapProcessPrivate = 0x450D;
+
39 const int kWebMIdChapProcessTime = 0x6922;
+
40 const int kWebMIdChapString = 0x85;
+
41 const int kWebMIdChapterAtom = 0xB6;
+
42 const int kWebMIdChapterDisplay = 0x80;
+
43 const int kWebMIdChapterFlagEnabled = 0x4598;
+
44 const int kWebMIdChapterFlagHidden = 0x98;
+
45 const int kWebMIdChapterPhysicalEquiv = 0x63C3;
+
46 const int kWebMIdChapters = 0x1043A770;
+
47 const int kWebMIdChapterSegmentEditionUID = 0x6EBC;
+
48 const int kWebMIdChapterSegmentUID = 0x6E67;
+
49 const int kWebMIdChapterTimeEnd = 0x92;
+
50 const int kWebMIdChapterTimeStart = 0x91;
+
51 const int kWebMIdChapterTrack = 0x8F;
+
52 const int kWebMIdChapterTrackNumber = 0x89;
+
53 const int kWebMIdChapterTranslate = 0x6924;
+
54 const int kWebMIdChapterTranslateCodec = 0x69BF;
+
55 const int kWebMIdChapterTranslateEditionUID = 0x69FC;
+
56 const int kWebMIdChapterTranslateID = 0x69A5;
+
57 const int kWebMIdChapterUID = 0x73C4;
+
58 const int kWebMIdCluster = 0x1F43B675;
+
59 const int kWebMIdCodecDecodeAll = 0xAA;
+
60 const int kWebMIdCodecDelay = 0x56AA;
+
61 const int kWebMIdCodecID = 0x86;
+
62 const int kWebMIdCodecName = 0x258688;
+
63 const int kWebMIdCodecPrivate = 0x63A2;
+
64 const int kWebMIdCodecState = 0xA4;
+
65 const int kWebMIdColorSpace = 0x2EB524;
+
66 const int kWebMIdContentCompAlgo = 0x4254;
+
67 const int kWebMIdContentCompression = 0x5034;
+
68 const int kWebMIdContentCompSettings = 0x4255;
+
69 const int kWebMIdContentEncAESSettings = 0x47E7;
+
70 const int kWebMIdContentEncAlgo = 0x47E1;
+
71 const int kWebMIdContentEncKeyID = 0x47E2;
+
72 const int kWebMIdContentEncoding = 0x6240;
+
73 const int kWebMIdContentEncodingOrder = 0x5031;
+
74 const int kWebMIdContentEncodings = 0x6D80;
+
75 const int kWebMIdContentEncodingScope = 0x5032;
+
76 const int kWebMIdContentEncodingType = 0x5033;
+
77 const int kWebMIdContentEncryption = 0x5035;
+
78 const int kWebMIdContentSigAlgo = 0x47E5;
+
79 const int kWebMIdContentSigHashAlgo = 0x47E6;
+
80 const int kWebMIdContentSigKeyID = 0x47E4;
+
81 const int kWebMIdContentSignature = 0x47E3;
+
82 const int kWebMIdCRC32 = 0xBF;
+
83 const int kWebMIdCueBlockNumber = 0x5378;
+
84 const int kWebMIdCueClusterPosition = 0xF1;
+
85 const int kWebMIdCueCodecState = 0xEA;
+
86 const int kWebMIdCuePoint = 0xBB;
+
87 const int kWebMIdCueReference = 0xDB;
+
88 const int kWebMIdCueRefTime = 0x96;
+
89 const int kWebMIdCues = 0x1C53BB6B;
+
90 const int kWebMIdCueTime = 0xB3;
+
91 const int kWebMIdCueTrack = 0xF7;
+
92 const int kWebMIdCueTrackPositions = 0xB7;
+
93 const int kWebMIdDateUTC = 0x4461;
+
94 const int kWebMIdDefaultDuration = 0x23E383;
+
95 const int kWebMIdDiscardPadding = 0x75A2;
+
96 const int kWebMIdDisplayHeight = 0x54BA;
+
97 const int kWebMIdDisplayUnit = 0x54B2;
+
98 const int kWebMIdDisplayWidth = 0x54B0;
+
99 const int kWebMIdDocType = 0x4282;
+
100 const int kWebMIdDocTypeReadVersion = 0x4285;
+
101 const int kWebMIdDocTypeVersion = 0x4287;
+
102 const int kWebMIdDuration = 0x4489;
+
103 const int kWebMIdEBMLHeader = 0x1A45DFA3;
+
104 const int kWebMIdEBMLMaxIDLength = 0x42F2;
+
105 const int kWebMIdEBMLMaxSizeLength = 0x42F3;
+
106 const int kWebMIdEBMLReadVersion = 0x42F7;
+
107 const int kWebMIdEBMLVersion = 0x4286;
+
108 const int kWebMIdEditionEntry = 0x45B9;
+
109 const int kWebMIdEditionFlagDefault = 0x45DB;
+
110 const int kWebMIdEditionFlagHidden = 0x45BD;
+
111 const int kWebMIdEditionFlagOrdered = 0x45DD;
+
112 const int kWebMIdEditionUID = 0x45BC;
+
113 const int kWebMIdFileData = 0x465C;
+
114 const int kWebMIdFileDescription = 0x467E;
+
115 const int kWebMIdFileMimeType = 0x4660;
+
116 const int kWebMIdFileName = 0x466E;
+
117 const int kWebMIdFileUID = 0x46AE;
+
118 const int kWebMIdFlagDefault = 0x88;
+
119 const int kWebMIdFlagEnabled = 0xB9;
+
120 const int kWebMIdFlagForced = 0x55AA;
+
121 const int kWebMIdFlagInterlaced = 0x9A;
+
122 const int kWebMIdFlagLacing = 0x9C;
+
123 const int kWebMIdFrameRate = 0x2383E3;
+
124 const int kWebMIdInfo = 0x1549A966;
+
125 const int kWebMIdJoinBlocks = 0xE9;
+
126 const int kWebMIdLaceNumber = 0xCC;
+
127 const int kWebMIdLanguage = 0x22B59C;
+
128 const int kWebMIdMaxBlockAdditionId = 0x55EE;
+
129 const int kWebMIdMaxCache = 0x6DF8;
+
130 const int kWebMIdMinCache = 0x6DE7;
+
131 const int kWebMIdMuxingApp = 0x4D80;
+
132 const int kWebMIdName = 0x536E;
+
133 const int kWebMIdNextFilename = 0x3E83BB;
+
134 const int kWebMIdNextUID = 0x3EB923;
+
135 const int kWebMIdOutputSamplingFrequency = 0x78B5;
+
136 const int kWebMIdPixelCropBottom = 0x54AA;
+
137 const int kWebMIdPixelCropLeft = 0x54CC;
+
138 const int kWebMIdPixelCropRight = 0x54DD;
+
139 const int kWebMIdPixelCropTop = 0x54BB;
+
140 const int kWebMIdPixelHeight = 0xBA;
+
141 const int kWebMIdPixelWidth = 0xB0;
+
142 const int kWebMIdPosition = 0xA7;
+
143 const int kWebMIdPrevFilename = 0x3C83AB;
+
144 const int kWebMIdPrevSize = 0xAB;
+
145 const int kWebMIdPrevUID = 0x3CB923;
+
146 const int kWebMIdReferenceBlock = 0xFB;
+
147 const int kWebMIdReferencePriority = 0xFA;
+
148 const int kWebMIdSamplingFrequency = 0xB5;
+
149 const int kWebMIdSeek = 0x4DBB;
+
150 const int kWebMIdSeekHead = 0x114D9B74;
+
151 const int kWebMIdSeekID = 0x53AB;
+
152 const int kWebMIdSeekPosition = 0x53AC;
+
153 const int kWebMIdSeekPreRoll = 0x56BB;
+
154 const int kWebMIdSegment = 0x18538067;
+
155 const int kWebMIdSegmentFamily = 0x4444;
+
156 const int kWebMIdSegmentFilename = 0x7384;
+
157 const int kWebMIdSegmentUID = 0x73A4;
+
158 const int kWebMIdSilentTrackNumber = 0x58D7;
+
159 const int kWebMIdSilentTracks = 0x5854;
+
160 const int kWebMIdSimpleBlock = 0xA3;
+
161 const int kWebMIdSimpleTag = 0x67C8;
+
162 const int kWebMIdSlices = 0x8E;
+
163 const int kWebMIdStereoMode = 0x53B8;
+
164 const int kWebMIdTag = 0x7373;
+
165 const int kWebMIdTagAttachmentUID = 0x63C6;
+
166 const int kWebMIdTagBinary = 0x4485;
+
167 const int kWebMIdTagChapterUID = 0x63C4;
+
168 const int kWebMIdTagDefault = 0x4484;
+
169 const int kWebMIdTagEditionUID = 0x63C9;
+
170 const int kWebMIdTagLanguage = 0x447A;
+
171 const int kWebMIdTagName = 0x45A3;
+
172 const int kWebMIdTags = 0x1254C367;
+
173 const int kWebMIdTagString = 0x4487;
+
174 const int kWebMIdTagTrackUID = 0x63C5;
+
175 const int kWebMIdTargets = 0x63C0;
+
176 const int kWebMIdTargetType = 0x63CA;
+
177 const int kWebMIdTargetTypeValue = 0x68CA;
+
178 const int kWebMIdTimecode = 0xE7;
+
179 const int kWebMIdTimecodeScale = 0x2AD7B1;
+
180 const int kWebMIdTimeSlice = 0xE8;
+
181 const int kWebMIdTitle = 0x7BA9;
+
182 const int kWebMIdTrackCombinePlanes = 0xE3;
+
183 const int kWebMIdTrackEntry = 0xAE;
+
184 const int kWebMIdTrackJoinUID = 0xED;
+
185 const int kWebMIdTrackNumber = 0xD7;
+
186 const int kWebMIdTrackOperation = 0xE2;
+
187 const int kWebMIdTrackOverlay = 0x6FAB;
+
188 const int kWebMIdTrackPlane = 0xE4;
+
189 const int kWebMIdTrackPlaneType = 0xE6;
+
190 const int kWebMIdTrackPlaneUID = 0xE5;
+
191 const int kWebMIdTracks = 0x1654AE6B;
+
192 const int kWebMIdTrackTimecodeScale = 0x23314F;
+
193 const int kWebMIdTrackTranslate = 0x6624;
+
194 const int kWebMIdTrackTranslateCodec = 0x66BF;
+
195 const int kWebMIdTrackTranslateEditionUID = 0x66FC;
+
196 const int kWebMIdTrackTranslateTrackID = 0x66A5;
+
197 const int kWebMIdTrackType = 0x83;
+
198 const int kWebMIdTrackUID = 0x73C5;
+
199 const int kWebMIdVideo = 0xE0;
+
200 const int kWebMIdVoid = 0xEC;
+
201 const int kWebMIdWritingApp = 0x5741;
+
202 
+
203 const int64_t kWebMReservedId = 0x1FFFFFFF;
+
204 const int64_t kWebMUnknownSize = 0x00FFFFFFFFFFFFFFLL;
+
205 
+
206 const uint8_t kWebMFlagKeyframe = 0x80;
+
207 
+
208 // Current encrypted WebM request for comments specification is here
+
209 // http://wiki.webmproject.org/encryption/webm-encryption-rfc
+
210 const uint8_t kWebMFlagEncryptedFrame = 0x1;
+
211 const int kWebMIvSize = 8;
+
212 const int kWebMSignalByteSize = 1;
+
213 
+
214 // Current specification for WebVTT embedded in WebM
+
215 // http://wiki.webmproject.org/webm-metadata/temporal-metadata/webvtt-in-webm
+
216 
+
217 const int kWebMTrackTypeVideo = 1;
+
218 const int kWebMTrackTypeAudio = 2;
+
219 const int kWebMTrackTypeSubtitlesOrCaptions = 0x11;
+
220 const int kWebMTrackTypeDescriptionsOrMetadata = 0x21;
+
221 
+
222 extern const char kWebMCodecSubtitles[];
+
223 extern const char kWebMCodecCaptions[];
+
224 extern const char kWebMCodecDescriptions[];
+
225 extern const char kWebMCodecMetadata[];
+
226 
+
227 } // namespace media
+
228 } // namespace edash_packager
+
229 
+
230 #endif // MEDIA_FORMATS_WEBM_WEBM_CONSTANTS_H_
+
+ + + + diff --git a/docs/d0/d42/widevine__encryption__flags_8cc_source.html b/docs/d0/d42/widevine__encryption__flags_8cc_source.html index bd3ff016b2..941078fbc3 100644 --- a/docs/d0/d42/widevine__encryption__flags_8cc_source.html +++ b/docs/d0/d42/widevine__encryption__flags_8cc_source.html @@ -165,84 +165,85 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
76  success = false;
77  }
78  if (widevine_crypto && FLAGS_signer.empty() &&
-
79  StartsWithASCII(FLAGS_key_server_url, "http", false)) {
-
80  LOG(WARNING) << "--signer is likely required with "
-
81  "--enable_widevine_encryption/decryption.";
-
82  }
-
83 
-
84  const char widevine_encryption_label[] = "--enable_widevine_encryption";
-
85  // content_id and policy (optional) are associated with
-
86  // enable_widevine_encryption.
-
87  if (!ValidateFlag("content_id",
-
88  FLAGS_content_id,
-
89  FLAGS_enable_widevine_encryption,
-
90  false,
-
91  widevine_encryption_label)) {
-
92  success = false;
-
93  }
-
94  if (!ValidateFlag("policy",
-
95  FLAGS_policy,
-
96  FLAGS_enable_widevine_encryption,
-
97  true,
-
98  widevine_encryption_label)) {
-
99  success = false;
-
100  }
-
101 
-
102  if (FLAGS_max_sd_pixels <= 0) {
-
103  PrintError("--max_sd_pixels must be positive.");
-
104  success = false;
-
105  }
-
106 
-
107  const bool aes = !FLAGS_signer.empty() && FLAGS_rsa_signing_key_path.empty();
-
108  const char aes_label[] =
-
109  "--signer is specified and exclusive with --rsa_signing_key_path";
-
110  // aes_signer_key and aes_signing_iv are associated with aes signing.
-
111  if (!ValidateFlag(
-
112  "aes_signing_key", FLAGS_aes_signing_key, aes, true, aes_label)) {
-
113  success = false;
-
114  }
-
115  if (!ValidateFlag(
-
116  "aes_signing_iv", FLAGS_aes_signing_iv, aes, true, aes_label)) {
-
117  success = false;
-
118  }
-
119 
-
120  const bool rsa = !FLAGS_signer.empty() && FLAGS_aes_signing_key.empty() &&
-
121  FLAGS_aes_signing_iv.empty();
-
122  const char rsa_label[] =
-
123  "--signer is specified and exclusive with --aes_signing_key/iv";
-
124  // rsa_signing_key_path is associated with rsa_signing.
-
125  if (!ValidateFlag("rsa_signing_key_path",
-
126  FLAGS_rsa_signing_key_path,
-
127  rsa,
-
128  true,
-
129  rsa_label)) {
-
130  success = false;
-
131  }
-
132 
-
133  if (!FLAGS_signer.empty() &&
-
134  (FLAGS_aes_signing_key.empty() || FLAGS_aes_signing_iv.empty()) &&
-
135  FLAGS_rsa_signing_key_path.empty()) {
-
136  PrintError(
-
137  "--aes_signing_key/iv or --rsa_signing_key_path is required with "
-
138  "--signer.");
-
139  success = false;
-
140  }
-
141 
-
142  if (FLAGS_crypto_period_duration < 0) {
-
143  PrintError("--crypto_period_duration should not be negative.");
-
144  success = false;
-
145  }
-
146  return success;
-
147 }
-
148 
-
149 } // namespace edash_packager
+
79  base::StartsWith(FLAGS_key_server_url, "http",
+
80  base::CompareCase::INSENSITIVE_ASCII)) {
+
81  LOG(WARNING) << "--signer is likely required with "
+
82  "--enable_widevine_encryption/decryption.";
+
83  }
+
84 
+
85  const char widevine_encryption_label[] = "--enable_widevine_encryption";
+
86  // content_id and policy (optional) are associated with
+
87  // enable_widevine_encryption.
+
88  if (!ValidateFlag("content_id",
+
89  FLAGS_content_id,
+
90  FLAGS_enable_widevine_encryption,
+
91  false,
+
92  widevine_encryption_label)) {
+
93  success = false;
+
94  }
+
95  if (!ValidateFlag("policy",
+
96  FLAGS_policy,
+
97  FLAGS_enable_widevine_encryption,
+
98  true,
+
99  widevine_encryption_label)) {
+
100  success = false;
+
101  }
+
102 
+
103  if (FLAGS_max_sd_pixels <= 0) {
+
104  PrintError("--max_sd_pixels must be positive.");
+
105  success = false;
+
106  }
+
107 
+
108  const bool aes = !FLAGS_signer.empty() && FLAGS_rsa_signing_key_path.empty();
+
109  const char aes_label[] =
+
110  "--signer is specified and exclusive with --rsa_signing_key_path";
+
111  // aes_signer_key and aes_signing_iv are associated with aes signing.
+
112  if (!ValidateFlag(
+
113  "aes_signing_key", FLAGS_aes_signing_key, aes, true, aes_label)) {
+
114  success = false;
+
115  }
+
116  if (!ValidateFlag(
+
117  "aes_signing_iv", FLAGS_aes_signing_iv, aes, true, aes_label)) {
+
118  success = false;
+
119  }
+
120 
+
121  const bool rsa = !FLAGS_signer.empty() && FLAGS_aes_signing_key.empty() &&
+
122  FLAGS_aes_signing_iv.empty();
+
123  const char rsa_label[] =
+
124  "--signer is specified and exclusive with --aes_signing_key/iv";
+
125  // rsa_signing_key_path is associated with rsa_signing.
+
126  if (!ValidateFlag("rsa_signing_key_path",
+
127  FLAGS_rsa_signing_key_path,
+
128  rsa,
+
129  true,
+
130  rsa_label)) {
+
131  success = false;
+
132  }
+
133 
+
134  if (!FLAGS_signer.empty() &&
+
135  (FLAGS_aes_signing_key.empty() || FLAGS_aes_signing_iv.empty()) &&
+
136  FLAGS_rsa_signing_key_path.empty()) {
+
137  PrintError(
+
138  "--aes_signing_key/iv or --rsa_signing_key_path is required with "
+
139  "--signer.");
+
140  success = false;
+
141  }
+
142 
+
143  if (FLAGS_crypto_period_duration < 0) {
+
144  PrintError("--crypto_period_duration should not be negative.");
+
145  success = false;
+
146  }
+
147  return success;
+
148 }
+
149 
+
150 } // namespace edash_packager
edash_packager::ValidateWidevineCryptoFlags
bool ValidateWidevineCryptoFlags()
Definition: widevine_encryption_flags.cc:55
edash_packager::ValidateFlag
bool ValidateFlag(const char *flag_name, const std::string &flag_value, bool condition, bool optional, const char *label)
Definition: validate_flag.cc:17
edash_packager::PrintError
void PrintError(const std::string &error_message)
Definition: validate_flag.cc:36
diff --git a/docs/d0/d43/structedash__packager_1_1media_1_1H264SPS-members.html b/docs/d0/d43/structedash__packager_1_1media_1_1H264SPS-members.html index b96b23f2ab..8a7b472541 100644 --- a/docs/d0/d43/structedash__packager_1_1media_1_1H264SPS-members.html +++ b/docs/d0/d43/structedash__packager_1_1media_1_1H264SPS-members.html @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d46/fourccs_8h_source.html b/docs/d0/d46/fourccs_8h_source.html index 8bdc734e35..913842d8b4 100644 --- a/docs/d0/d46/fourccs_8h_source.html +++ b/docs/d0/d46/fourccs_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP4_FOURCCS_H_
-
6 #define MEDIA_FORMATS_MP4_FOURCCS_H_
-
7 
+
6 #define MEDIA_FORMATS_MP4_FOURCCS_H_
+
7 
8 #include <string>
9 
10 namespace edash_packager {
@@ -202,7 +202,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d49/vod__media__info__dump__muxer__listener_8cc_source.html b/docs/d0/d49/vod__media__info__dump__muxer__listener_8cc_source.html index 3ad2fd3e86..8cc39154e8 100644 --- a/docs/d0/d49/vod__media__info__dump__muxer__listener_8cc_source.html +++ b/docs/d0/d49/vod__media__info__dump__muxer__listener_8cc_source.html @@ -157,7 +157,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
68  }
69 }
70 
-
71 void VodMediaInfoDumpMuxerListener::OnSampleDurationReady(
+
71 void VodMediaInfoDumpMuxerListener::OnSampleDurationReady(
72  uint32_t sample_duration) {
73  // Assume one VideoInfo.
74  if (media_info_->has_video_info()) {
@@ -222,12 +222,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
133 } // namespace media
134 } // namespace edash_packager
edash_packager::media::File::Open
virtual bool Open()=0
Internal open. Should not be used directly.
-
edash_packager::media::VodMediaInfoDumpMuxerListener::OnSampleDurationReady
virtual void OnSampleDurationReady(uint32_t sample_duration) OVERRIDE
Definition: vod_media_info_dump_muxer_listener.cc:71
edash_packager::media::VodMediaInfoDumpMuxerListener::SetContentProtectionSchemeIdUri
void SetContentProtectionSchemeIdUri(const std::string &scheme_id_uri)
Definition: vod_media_info_dump_muxer_listener.cc:27
+
edash_packager::media::VodMediaInfoDumpMuxerListener::OnSampleDurationReady
void OnSampleDurationReady(uint32_t sample_duration) override
Definition: vod_media_info_dump_muxer_listener.cc:71
diff --git a/docs/d0/d4a/structedash__packager_1_1media_1_1mp4_1_1SampleSize-members.html b/docs/d0/d4a/structedash__packager_1_1media_1_1mp4_1_1SampleSize-members.html index 1a64f4d170..908f7522bd 100644 --- a/docs/d0/d4a/structedash__packager_1_1media_1_1mp4_1_1SampleSize-members.html +++ b/docs/d0/d4a/structedash__packager_1_1media_1_1mp4_1_1SampleSize-members.html @@ -95,12 +95,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + @@ -108,12 +108,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SampleSize)edash_packager::media::mp4::SampleSizevirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::SampleSizevirtual
BoxType() const override (defined in edash_packager::media::mp4::SampleSize)edash_packager::media::mp4::SampleSizevirtual
ComputeSize() overrideedash_packager::media::mp4::SampleSizevirtual
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SampleSizevirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SampleSizevirtual
sample_count (defined in edash_packager::media::mp4::SampleSize)edash_packager::media::mp4::SampleSize
sample_size (defined in edash_packager::media::mp4::SampleSize)edash_packager::media::mp4::SampleSize
SampleSize() (defined in edash_packager::media::mp4::SampleSize)edash_packager::media::mp4::SampleSize
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~SampleSize() (defined in edash_packager::media::mp4::SampleSize)edash_packager::media::mp4::SampleSizevirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~SampleSize() override (defined in edash_packager::media::mp4::SampleSize)edash_packager::media::mp4::SampleSize
diff --git a/docs/d0/d4e/libcrypto__threading_8cc_source.html b/docs/d0/d4e/libcrypto__threading_8cc_source.html index f9f9d6459e..4f4f881e40 100644 --- a/docs/d0/d4e/libcrypto__threading_8cc_source.html +++ b/docs/d0/d4e/libcrypto__threading_8cc_source.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
6 
7 #include "packager/app/libcrypto_threading.h"
8 
-
9 #include <openssl/crypto.h>
+
9 #include <openssl/thread.h>
10 
11 #include <vector>
12 
@@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d66/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox-members.html b/docs/d0/d66/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox-members.html index 0ce28ba4b5..a2d1f2231b 100644 --- a/docs/d0/d66/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox-members.html +++ b/docs/d0/d66/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox-members.html @@ -95,20 +95,20 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::PixelAspectRatioBox)edash_packager::media::mp4::PixelAspectRatioBoxvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::PixelAspectRatioBoxvirtual
BoxType() const override (defined in edash_packager::media::mp4::PixelAspectRatioBox)edash_packager::media::mp4::PixelAspectRatioBoxvirtual
ComputeSize() overrideedash_packager::media::mp4::PixelAspectRatioBoxvirtual
h_spacing (defined in edash_packager::media::mp4::PixelAspectRatioBox)edash_packager::media::mp4::PixelAspectRatioBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
PixelAspectRatioBox() (defined in edash_packager::media::mp4::PixelAspectRatioBox)edash_packager::media::mp4::PixelAspectRatioBox
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::PixelAspectRatioBoxvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::PixelAspectRatioBoxvirtual
v_spacing (defined in edash_packager::media::mp4::PixelAspectRatioBox)edash_packager::media::mp4::PixelAspectRatioBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~PixelAspectRatioBox() (defined in edash_packager::media::mp4::PixelAspectRatioBox)edash_packager::media::mp4::PixelAspectRatioBoxvirtual
~PixelAspectRatioBox() override (defined in edash_packager::media::mp4::PixelAspectRatioBox)edash_packager::media::mp4::PixelAspectRatioBox
diff --git a/docs/d0/d7d/classedash__packager_1_1media_1_1H264Parser-members.html b/docs/d0/d7d/classedash__packager_1_1media_1_1H264Parser-members.html index 2950fb2e3a..aa8787ed05 100644 --- a/docs/d0/d7d/classedash__packager_1_1media_1_1H264Parser-members.html +++ b/docs/d0/d7d/classedash__packager_1_1media_1_1H264Parser-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d7d/decryptor__source_8h_source.html b/docs/d0/d7d/decryptor__source_8h_source.html index 209fc8e8c4..4d378a84c6 100644 --- a/docs/d0/d7d/decryptor__source_8h_source.html +++ b/docs/d0/d7d/decryptor__source_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_DECRYPTOR_SOURCE_H_
-
8 #define MEDIA_BASE_DECRYPTOR_SOURCE_H_
-
9 
+
8 #define MEDIA_BASE_DECRYPTOR_SOURCE_H_
+
9 
10 #include "packager/base/memory/scoped_ptr.h"
11 #include "packager/media/base/container_names.h"
12 #include "packager/media/base/status.h"
@@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d86/structedash__packager_1_1media_1_1EncryptionKey.html b/docs/d0/d86/structedash__packager_1_1media_1_1EncryptionKey.html index 343fa5aea5..f65f414bfd 100644 --- a/docs/d0/d86/structedash__packager_1_1media_1_1EncryptionKey.html +++ b/docs/d0/d86/structedash__packager_1_1media_1_1EncryptionKey.html @@ -119,7 +119,7 @@ std::vector< uint8_t >  diff --git a/docs/d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html b/docs/d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html index d66e8724ce..513341b180 100644 --- a/docs/d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html +++ b/docs/d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::TrackFragmentDecodeTime:

Public Member Functions

- -virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE - Read/write the mp4 box from/to BoxBuffer.
-  - -virtual FourCC BoxType () const OVERRIDE -  -virtual uint32_t ComputeSize () OVERRIDE -  + +bool ReadWrite (BoxBuffer *buffer) override + Read/write the mp4 box from/to BoxBuffer.
+  + +FourCC BoxType () const override +  +uint32_t ComputeSize () override +  - Public Member Functions inherited from edash_packager::media::mp4::Box bool Parse (BoxReader *reader)   @@ -145,7 +145,7 @@ Additional Inherited Members

Definition at line 435 of file box_definitions.h.

Member Function Documentation

- +
@@ -161,7 +161,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -180,7 +180,7 @@ Additional Inherited Members
diff --git a/docs/d0/d93/structedash__packager_1_1media_1_1mp4_1_1SampleTable-members.html b/docs/d0/d93/structedash__packager_1_1media_1_1mp4_1_1SampleTable-members.html index 6698d0a3ff..9de91eb5ab 100644 --- a/docs/d0/d93/structedash__packager_1_1media_1_1mp4_1_1SampleTable-members.html +++ b/docs/d0/d93/structedash__packager_1_1media_1_1mp4_1_1SampleTable-members.html @@ -95,25 +95,25 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SampleTable)edash_packager::media::mp4::SampleTablevirtual
BoxType() const override (defined in edash_packager::media::mp4::SampleTable)edash_packager::media::mp4::SampleTablevirtual
chunk_large_offset (defined in edash_packager::media::mp4::SampleTable)edash_packager::media::mp4::SampleTable
composition_time_to_sample (defined in edash_packager::media::mp4::SampleTable)edash_packager::media::mp4::SampleTable
ComputeSize() OVERRIDEedash_packager::media::mp4::SampleTablevirtual
ComputeSize() overrideedash_packager::media::mp4::SampleTablevirtual
decoding_time_to_sample (defined in edash_packager::media::mp4::SampleTable)edash_packager::media::mp4::SampleTable
description (defined in edash_packager::media::mp4::SampleTable)edash_packager::media::mp4::SampleTable
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SampleTablevirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SampleTablevirtual
sample_size (defined in edash_packager::media::mp4::SampleTable)edash_packager::media::mp4::SampleTable
sample_to_chunk (defined in edash_packager::media::mp4::SampleTable)edash_packager::media::mp4::SampleTable
SampleTable() (defined in edash_packager::media::mp4::SampleTable)edash_packager::media::mp4::SampleTable
sync_sample (defined in edash_packager::media::mp4::SampleTable)edash_packager::media::mp4::SampleTable
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~SampleTable() (defined in edash_packager::media::mp4::SampleTable)edash_packager::media::mp4::SampleTablevirtual
~SampleTable() override (defined in edash_packager::media::mp4::SampleTable)edash_packager::media::mp4::SampleTable
diff --git a/docs/d0/d96/structedash__packager_1_1ContentProtectionElement.html b/docs/d0/d96/structedash__packager_1_1ContentProtectionElement.html index 18a77706e4..7eae2c8e80 100644 --- a/docs/d0/d96/structedash__packager_1_1ContentProtectionElement.html +++ b/docs/d0/d96/structedash__packager_1_1ContentProtectionElement.html @@ -123,7 +123,7 @@ std::vector< diff --git a/docs/d0/da4/classedash__packager_1_1media_1_1WebMVideoClient-members.html b/docs/d0/da4/classedash__packager_1_1media_1_1WebMVideoClient-members.html new file mode 100644 index 0000000000..7c4f785384 --- /dev/null +++ b/docs/d0/da4/classedash__packager_1_1media_1_1WebMVideoClient-members.html @@ -0,0 +1,114 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + +
+ All Classes Namespaces Functions Variables Typedefs
+ + +
+ +
+ + +
+
+
+
edash_packager::media::WebMVideoClient Member List
+
+
+ +

This is the complete list of members for edash_packager::media::WebMVideoClient, including all inherited members.

+ + + + + + + + + + + +
DISALLOW_COPY_AND_ASSIGN(WebMParserClient) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
GetVideoStreamInfo(int64_t track_num, const std::string &codec_id, const std::vector< uint8_t > &codec_private, bool is_encrypted) (defined in edash_packager::media::WebMVideoClient)edash_packager::media::WebMVideoClient
OnListEnd(int id) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
OnListStart(int id) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
OnString(int id, const std::string &str) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
Reset() (defined in edash_packager::media::WebMVideoClient)edash_packager::media::WebMVideoClient
WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
WebMVideoClient() (defined in edash_packager::media::WebMVideoClient)edash_packager::media::WebMVideoClient
~WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
~WebMVideoClient() override (defined in edash_packager::media::WebMVideoClient)edash_packager::media::WebMVideoClient
+ + + + diff --git a/docs/d0/da6/stream__descriptor_8cc_source.html b/docs/d0/da6/stream__descriptor_8cc_source.html index e893adc787..ce16989c8b 100644 --- a/docs/d0/da6/stream__descriptor_8cc_source.html +++ b/docs/d0/da6/stream__descriptor_8cc_source.html @@ -229,7 +229,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/da9/classedash__packager_1_1MockRepresentation.html b/docs/d0/da9/classedash__packager_1_1MockRepresentation.html index 6969433a76..d73aa93ebf 100644 --- a/docs/d0/da9/classedash__packager_1_1MockRepresentation.html +++ b/docs/d0/da9/classedash__packager_1_1MockRepresentation.html @@ -146,7 +146,7 @@ Public Member Functions diff --git a/docs/d0/dae/classedash__packager_1_1media_1_1BufferWriter-members.html b/docs/d0/dae/classedash__packager_1_1media_1_1BufferWriter-members.html index df59a527a5..d2b2a40fe2 100644 --- a/docs/d0/dae/classedash__packager_1_1media_1_1BufferWriter-members.html +++ b/docs/d0/dae/classedash__packager_1_1media_1_1BufferWriter-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dd1/classedash__packager_1_1SimpleMpdNotifier-members.html b/docs/d0/dd1/classedash__packager_1_1SimpleMpdNotifier-members.html index 7d3c88b468..509348c450 100644 --- a/docs/d0/dd1/classedash__packager_1_1SimpleMpdNotifier-members.html +++ b/docs/d0/dd1/classedash__packager_1_1SimpleMpdNotifier-members.html @@ -93,23 +93,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::SimpleMpdNotifier, including all inherited members.

- + - - + + - - - - + + + + - +
AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) OVERRIDEedash_packager::SimpleMpdNotifiervirtual
AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) overrideedash_packager::SimpleMpdNotifiervirtual
dash_profile() const edash_packager::MpdNotifierinline
Flush() OVERRIDEedash_packager::SimpleMpdNotifiervirtual
Init() OVERRIDEedash_packager::SimpleMpdNotifiervirtual
Flush() overrideedash_packager::SimpleMpdNotifiervirtual
Init() overrideedash_packager::SimpleMpdNotifiervirtual
MpdNotifier(DashProfile dash_profile) (defined in edash_packager::MpdNotifier)edash_packager::MpdNotifierinline
NotifyEncryptionUpdate(uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) OVERRIDEedash_packager::SimpleMpdNotifiervirtual
NotifyNewContainer(const MediaInfo &media_info, uint32_t *id) OVERRIDEedash_packager::SimpleMpdNotifiervirtual
NotifyNewSegment(uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) OVERRIDEedash_packager::SimpleMpdNotifiervirtual
NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) OVERRIDEedash_packager::SimpleMpdNotifiervirtual
NotifyEncryptionUpdate(uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) overrideedash_packager::SimpleMpdNotifiervirtual
NotifyNewContainer(const MediaInfo &media_info, uint32_t *id) overrideedash_packager::SimpleMpdNotifiervirtual
NotifyNewSegment(uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) overrideedash_packager::SimpleMpdNotifiervirtual
NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) overrideedash_packager::SimpleMpdNotifiervirtual
SimpleMpdNotifier(DashProfile dash_profile, const MpdOptions &mpd_options, const std::vector< std::string > &base_urls, const std::string &output_path) (defined in edash_packager::SimpleMpdNotifier)edash_packager::SimpleMpdNotifier
SimpleMpdNotifierTest (defined in edash_packager::SimpleMpdNotifier)edash_packager::SimpleMpdNotifierfriend
~MpdNotifier() (defined in edash_packager::MpdNotifier)edash_packager::MpdNotifierinlinevirtual
~SimpleMpdNotifier() (defined in edash_packager::SimpleMpdNotifier)edash_packager::SimpleMpdNotifiervirtual
~SimpleMpdNotifier() override (defined in edash_packager::SimpleMpdNotifier)edash_packager::SimpleMpdNotifier
diff --git a/docs/d0/dd4/structedash__packager_1_1media_1_1SubsampleEntry-members.html b/docs/d0/dd4/structedash__packager_1_1media_1_1SubsampleEntry-members.html index 72cf32d08b..707a1522fa 100644 --- a/docs/d0/dd4/structedash__packager_1_1media_1_1SubsampleEntry-members.html +++ b/docs/d0/dd4/structedash__packager_1_1media_1_1SubsampleEntry-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dd6/webm__crypto__helpers_8cc_source.html b/docs/d0/dd6/webm__crypto__helpers_8cc_source.html new file mode 100644 index 0000000000..d75e696ced --- /dev/null +++ b/docs/d0/dd6/webm__crypto__helpers_8cc_source.html @@ -0,0 +1,165 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_crypto_helpers.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + +
+ All Classes Namespaces Functions Variables Typedefs
+ + +
+ +
+ + +
+
+
+
webm_crypto_helpers.cc
+
+
+
1 // Copyright 2014 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 #include "packager/media/formats/webm/webm_crypto_helpers.h"
+
6 
+
7 #include "packager/base/logging.h"
+
8 #include "packager/base/sys_byteorder.h"
+
9 #include "packager/media/base/decrypt_config.h"
+
10 #include "packager/media/formats/webm/webm_constants.h"
+
11 
+
12 namespace edash_packager {
+
13 namespace media {
+
14 namespace {
+
15 
+
16 // Generates a 16 byte CTR counter block. The CTR counter block format is a
+
17 // CTR IV appended with a CTR block counter. |iv| is an 8 byte CTR IV.
+
18 // |iv_size| is the size of |iv| in btyes. Returns a string of
+
19 // kDecryptionKeySize bytes.
+
20 std::string GenerateWebMCounterBlock(const uint8_t* iv, int iv_size) {
+
21  std::string counter_block(reinterpret_cast<const char*>(iv), iv_size);
+
22  counter_block.append(DecryptConfig::kDecryptionKeySize - iv_size, 0);
+
23  return counter_block;
+
24 }
+
25 
+
26 } // namespace anonymous
+
27 
+
28 bool WebMCreateDecryptConfig(const uint8_t* data,
+
29  int data_size,
+
30  const uint8_t* key_id,
+
31  int key_id_size,
+
32  scoped_ptr<DecryptConfig>* decrypt_config,
+
33  int* data_offset) {
+
34  if (data_size < kWebMSignalByteSize) {
+
35  DVLOG(1) << "Got a block from an encrypted stream with no data.";
+
36  return false;
+
37  }
+
38 
+
39  uint8_t signal_byte = data[0];
+
40  int frame_offset = sizeof(signal_byte);
+
41 
+
42  // Setting the DecryptConfig object of the buffer while leaving the
+
43  // initialization vector empty will tell the decryptor that the frame is
+
44  // unencrypted.
+
45  std::string counter_block;
+
46 
+
47  if (signal_byte & kWebMFlagEncryptedFrame) {
+
48  if (data_size < kWebMSignalByteSize + kWebMIvSize) {
+
49  DVLOG(1) << "Got an encrypted block with not enough data " << data_size;
+
50  return false;
+
51  }
+
52  counter_block = GenerateWebMCounterBlock(data + frame_offset, kWebMIvSize);
+
53  frame_offset += kWebMIvSize;
+
54  }
+
55 
+
56  decrypt_config->reset(new DecryptConfig(
+
57  std::vector<uint8_t>(key_id, key_id + key_id_size),
+
58  std::vector<uint8_t>(counter_block.begin(), counter_block.end()),
+
59  frame_offset, std::vector<SubsampleEntry>()));
+
60  *data_offset = frame_offset;
+
61 
+
62  return true;
+
63 }
+
64 
+
65 } // namespace media
+
66 } // namespace edash_packager
+
static const size_t kDecryptionKeySize
Keys are always 128 bits.
+
+ + + + diff --git a/docs/d0/ddc/structedash__packager_1_1media_1_1FileCloser.html b/docs/d0/ddc/structedash__packager_1_1media_1_1FileCloser.html index d3576a9181..43c94a241c 100644 --- a/docs/d0/ddc/structedash__packager_1_1media_1_1FileCloser.html +++ b/docs/d0/ddc/structedash__packager_1_1media_1_1FileCloser.html @@ -112,7 +112,7 @@ void operator() ( diff --git a/docs/d0/de0/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry-members.html b/docs/d0/de0/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry-members.html index f8cf929715..ec753c3fba 100644 --- a/docs/d0/de0/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry-members.html +++ b/docs/d0/de0/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry-members.html @@ -96,24 +96,24 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); atom_sizeedash_packager::media::mp4::Boxprotected avcc (defined in edash_packager::media::mp4::VideoSampleEntry)edash_packager::media::mp4::VideoSampleEntry Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box - BoxType() const OVERRIDE (defined in edash_packager::media::mp4::VideoSampleEntry)edash_packager::media::mp4::VideoSampleEntryvirtual - ComputeSize() OVERRIDEedash_packager::media::mp4::VideoSampleEntryvirtual + BoxType() const override (defined in edash_packager::media::mp4::VideoSampleEntry)edash_packager::media::mp4::VideoSampleEntryvirtual + ComputeSize() overrideedash_packager::media::mp4::VideoSampleEntryvirtual data_reference_index (defined in edash_packager::media::mp4::VideoSampleEntry)edash_packager::media::mp4::VideoSampleEntry format (defined in edash_packager::media::mp4::VideoSampleEntry)edash_packager::media::mp4::VideoSampleEntry height (defined in edash_packager::media::mp4::VideoSampleEntry)edash_packager::media::mp4::VideoSampleEntry Parse(BoxReader *reader)edash_packager::media::mp4::Box pixel_aspect (defined in edash_packager::media::mp4::VideoSampleEntry)edash_packager::media::mp4::VideoSampleEntry - ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::VideoSampleEntryvirtual + ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::VideoSampleEntryvirtual sinf (defined in edash_packager::media::mp4::VideoSampleEntry)edash_packager::media::mp4::VideoSampleEntry VideoSampleEntry() (defined in edash_packager::media::mp4::VideoSampleEntry)edash_packager::media::mp4::VideoSampleEntry width (defined in edash_packager::media::mp4::VideoSampleEntry)edash_packager::media::mp4::VideoSampleEntry Write(BufferWriter *writer)edash_packager::media::mp4::Box ~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual - ~VideoSampleEntry() (defined in edash_packager::media::mp4::VideoSampleEntry)edash_packager::media::mp4::VideoSampleEntryvirtual + ~VideoSampleEntry() override (defined in edash_packager::media::mp4::VideoSampleEntry)edash_packager::media::mp4::VideoSampleEntry diff --git a/docs/d0/de4/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html b/docs/d0/de4/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html index be116b13f6..f6aaec36cc 100644 --- a/docs/d0/de4/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html +++ b/docs/d0/de4/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::MovieFragmentHeader)edash_packager::media::mp4::MovieFragmentHeadervirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::MovieFragmentHeadervirtual
BoxType() const override (defined in edash_packager::media::mp4::MovieFragmentHeader)edash_packager::media::mp4::MovieFragmentHeadervirtual
ComputeSize() overrideedash_packager::media::mp4::MovieFragmentHeadervirtual
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
MovieFragmentHeader() (defined in edash_packager::media::mp4::MovieFragmentHeader)edash_packager::media::mp4::MovieFragmentHeader
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::MovieFragmentHeadervirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::MovieFragmentHeadervirtual
sequence_number (defined in edash_packager::media::mp4::MovieFragmentHeader)edash_packager::media::mp4::MovieFragmentHeader
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~MovieFragmentHeader() (defined in edash_packager::media::mp4::MovieFragmentHeader)edash_packager::media::mp4::MovieFragmentHeadervirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~MovieFragmentHeader() override (defined in edash_packager::media::mp4::MovieFragmentHeader)edash_packager::media::mp4::MovieFragmentHeader
diff --git a/docs/d0/de6/classedash__packager_1_1media_1_1TracksBuilder.html b/docs/d0/de6/classedash__packager_1_1media_1_1TracksBuilder.html new file mode 100644 index 0000000000..facf9941df --- /dev/null +++ b/docs/d0/de6/classedash__packager_1_1media_1_1TracksBuilder.html @@ -0,0 +1,131 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::TracksBuilder Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + +
+ All Classes Namespaces Functions Variables Typedefs
+ + +
+ +
+ + +
+
+
+Classes | +Public Member Functions | +List of all members
+
+
edash_packager::media::TracksBuilder Class Reference
+
+
+ + + + + + + + + + + + +

+Public Member Functions

TracksBuilder (bool allow_invalid_values)
 
+void AddVideoTrack (int track_num, uint64_t track_uid, const std::string &codec_id, const std::string &name, const std::string &language, int default_duration, int video_pixel_width, int video_pixel_height)
 
+void AddAudioTrack (int track_num, uint64_t track_uid, const std::string &codec_id, const std::string &name, const std::string &language, int default_duration, int audio_channels, double audio_sampling_frequency)
 
+void AddTextTrack (int track_num, uint64_t track_uid, const std::string &codec_id, const std::string &name, const std::string &language)
 
+std::vector< uint8_t > Finish ()
 
+

Detailed Description

+
+

Definition at line 19 of file tracks_builder.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/d0/dea/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html b/docs/d0/dea/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html index b4e672a54a..aea40691c7 100644 --- a/docs/d0/dea/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html +++ b/docs/d0/dea/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html @@ -95,25 +95,25 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::ProtectionSystemSpecificHeader)edash_packager::media::mp4::ProtectionSystemSpecificHeadervirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::ProtectionSystemSpecificHeadervirtual
BoxType() const override (defined in edash_packager::media::mp4::ProtectionSystemSpecificHeader)edash_packager::media::mp4::ProtectionSystemSpecificHeadervirtual
ComputeSize() overrideedash_packager::media::mp4::ProtectionSystemSpecificHeadervirtual
data (defined in edash_packager::media::mp4::ProtectionSystemSpecificHeader)edash_packager::media::mp4::ProtectionSystemSpecificHeader
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ProtectionSystemSpecificHeader() (defined in edash_packager::media::mp4::ProtectionSystemSpecificHeader)edash_packager::media::mp4::ProtectionSystemSpecificHeader
raw_box (defined in edash_packager::media::mp4::ProtectionSystemSpecificHeader)edash_packager::media::mp4::ProtectionSystemSpecificHeader
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::ProtectionSystemSpecificHeadervirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::ProtectionSystemSpecificHeadervirtual
system_id (defined in edash_packager::media::mp4::ProtectionSystemSpecificHeader)edash_packager::media::mp4::ProtectionSystemSpecificHeader
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~ProtectionSystemSpecificHeader() (defined in edash_packager::media::mp4::ProtectionSystemSpecificHeader)edash_packager::media::mp4::ProtectionSystemSpecificHeadervirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~ProtectionSystemSpecificHeader() override (defined in edash_packager::media::mp4::ProtectionSystemSpecificHeader)edash_packager::media::mp4::ProtectionSystemSpecificHeader
diff --git a/docs/d0/df3/packager__util_8cc_source.html b/docs/d0/df3/packager__util_8cc_source.html index 092442eb00..410416faee 100644 --- a/docs/d0/df3/packager__util_8cc_source.html +++ b/docs/d0/df3/packager__util_8cc_source.html @@ -315,7 +315,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/df6/structedash__packager_1_1media_1_1mp4_1_1MovieExtends-members.html b/docs/d0/df6/structedash__packager_1_1media_1_1mp4_1_1MovieExtends-members.html index 10d2ba2ed2..f2c12d63af 100644 --- a/docs/d0/df6/structedash__packager_1_1media_1_1mp4_1_1MovieExtends-members.html +++ b/docs/d0/df6/structedash__packager_1_1media_1_1mp4_1_1MovieExtends-members.html @@ -95,20 +95,20 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::MovieExtends)edash_packager::media::mp4::MovieExtendsvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::MovieExtendsvirtual
BoxType() const override (defined in edash_packager::media::mp4::MovieExtends)edash_packager::media::mp4::MovieExtendsvirtual
ComputeSize() overrideedash_packager::media::mp4::MovieExtendsvirtual
header (defined in edash_packager::media::mp4::MovieExtends)edash_packager::media::mp4::MovieExtends
MovieExtends() (defined in edash_packager::media::mp4::MovieExtends)edash_packager::media::mp4::MovieExtends
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::MovieExtendsvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::MovieExtendsvirtual
tracks (defined in edash_packager::media::mp4::MovieExtends)edash_packager::media::mp4::MovieExtends
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~MovieExtends() (defined in edash_packager::media::mp4::MovieExtends)edash_packager::media::mp4::MovieExtendsvirtual
~MovieExtends() override (defined in edash_packager::media::mp4::MovieExtends)edash_packager::media::mp4::MovieExtends
diff --git a/docs/d0/dfa/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html b/docs/d0/dfa/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html index 7fcbd68d5f..e24460af9c 100644 --- a/docs/d0/dfa/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html +++ b/docs/d0/dfa/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html @@ -116,7 +116,7 @@ scoped_refptr< diff --git a/docs/d1/d02/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer-members.html b/docs/d1/d02/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer-members.html index f2d4ce4f0b..16e5591cda 100644 --- a/docs/d1/d02/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer-members.html +++ b/docs/d1/d02/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d08/segmenter_8cc_source.html b/docs/d1/d08/segmenter_8cc_source.html index d1136248b0..4456c550e2 100644 --- a/docs/d1/d08/segmenter_8cc_source.html +++ b/docs/d1/d08/segmenter_8cc_source.html @@ -544,7 +544,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d13/status_8h_source.html b/docs/d1/d13/status_8h_source.html index ed692f5765..9531283c8e 100644 --- a/docs/d1/d13/status_8h_source.html +++ b/docs/d1/d13/status_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_STATUS_H_
-
8 #define MEDIA_BASE_STATUS_H_
-
9 
+
8 #define MEDIA_BASE_STATUS_H_
+
9 
10 #include <string>
11 
12 #include "packager/base/logging.h"
@@ -240,7 +240,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d16/structedash__packager_1_1xml_1_1XmlDeleter-members.html b/docs/d1/d16/structedash__packager_1_1xml_1_1XmlDeleter-members.html index 02a01922fa..725c12b54d 100644 --- a/docs/d1/d16/structedash__packager_1_1xml_1_1XmlDeleter-members.html +++ b/docs/d1/d16/structedash__packager_1_1xml_1_1XmlDeleter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d1d/muxer__flags_8cc_source.html b/docs/d1/d1d/muxer__flags_8cc_source.html index 71c715d33c..9ea0affd74 100644 --- a/docs/d1/d1d/muxer__flags_8cc_source.html +++ b/docs/d1/d1d/muxer__flags_8cc_source.html @@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d27/key__fetcher_8h_source.html b/docs/d1/d27/key__fetcher_8h_source.html index 74370b13f8..3c7b470955 100644 --- a/docs/d1/d27/key__fetcher_8h_source.html +++ b/docs/d1/d27/key__fetcher_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_KEY_FETCHER_H_
-
8 #define MEDIA_BASE_KEY_FETCHER_H_
-
9 
+
8 #define MEDIA_BASE_KEY_FETCHER_H_
+
9 
10 #include "base/macros.h"
11 #include "packager/media/base/status.h"
12 
@@ -119,14 +119,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
37 } // namespace edash_packager
38 
39 #endif // MEDIA_BASE_KEY_FETCHER_H_
-
40 
+
40 
edash_packager::media::KeyFetcher
Base class for fetching keys from the license service.
Definition: key_fetcher.h:17
edash_packager::media::Status
Definition: status.h:76
edash_packager::media::KeyFetcher::FetchKeys
virtual Status FetchKeys(const std::string &service_address, const std::string &request, std::string *response)=0
diff --git a/docs/d1/d28/classedash__packager_1_1media_1_1WebMTracksParser-members.html b/docs/d1/d28/classedash__packager_1_1media_1_1WebMTracksParser-members.html new file mode 100644 index 0000000000..06b573978d --- /dev/null +++ b/docs/d1/d28/classedash__packager_1_1media_1_1WebMTracksParser-members.html @@ -0,0 +1,121 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + +
+ All Classes Namespaces Functions Variables Typedefs
+ + +
+ +
+ + +
+
+
+
edash_packager::media::WebMTracksParser Member List
+
+
+ +

This is the complete list of members for edash_packager::media::WebMTracksParser, including all inherited members.

+ + + + + + + + + + + + + + + + + + +
audio_encryption_key_id() const (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParserinline
audio_stream_info() (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParserinline
audio_track_num() const (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParserinline
DISALLOW_COPY_AND_ASSIGN(WebMParserClient) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
GetAudioDefaultDuration(const double timecode_scale_in_us) const (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParser
GetVideoDefaultDuration(const double timecode_scale_in_us) const (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParser
ignored_tracks() const (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParserinline
Parse(const uint8_t *buf, int size) (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParser
text_tracks() const (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParserinline
TextTracks typedef (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParser
video_encryption_key_id() const (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParserinline
video_stream_info() (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParserinline
video_track_num() const (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParserinline
WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
WebMTracksParser(bool ignore_text_tracks) (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParserexplicit
~WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
~WebMTracksParser() override (defined in edash_packager::media::WebMTracksParser)edash_packager::media::WebMTracksParser
+ + + + diff --git a/docs/d1/d28/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator-members.html b/docs/d1/d28/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator-members.html index 91cb42cb94..8c7f32203a 100644 --- a/docs/d1/d28/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator-members.html +++ b/docs/d1/d28/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d2a/structedash__packager_1_1media_1_1mp4_1_1TrackExtends-members.html b/docs/d1/d2a/structedash__packager_1_1media_1_1mp4_1_1TrackExtends-members.html index 6e9e9313c0..672ba2a0f6 100644 --- a/docs/d1/d2a/structedash__packager_1_1media_1_1mp4_1_1TrackExtends-members.html +++ b/docs/d1/d2a/structedash__packager_1_1media_1_1mp4_1_1TrackExtends-members.html @@ -95,8 +95,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + @@ -104,18 +104,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::TrackExtends)edash_packager::media::mp4::TrackExtendsvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::TrackExtendsvirtual
BoxType() const override (defined in edash_packager::media::mp4::TrackExtends)edash_packager::media::mp4::TrackExtendsvirtual
ComputeSize() overrideedash_packager::media::mp4::TrackExtendsvirtual
default_sample_description_index (defined in edash_packager::media::mp4::TrackExtends)edash_packager::media::mp4::TrackExtends
default_sample_duration (defined in edash_packager::media::mp4::TrackExtends)edash_packager::media::mp4::TrackExtends
default_sample_flags (defined in edash_packager::media::mp4::TrackExtends)edash_packager::media::mp4::TrackExtends
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::TrackExtendsvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::TrackExtendsvirtual
track_id (defined in edash_packager::media::mp4::TrackExtends)edash_packager::media::mp4::TrackExtends
TrackExtends() (defined in edash_packager::media::mp4::TrackExtends)edash_packager::media::mp4::TrackExtends
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~TrackExtends() (defined in edash_packager::media::mp4::TrackExtends)edash_packager::media::mp4::TrackExtendsvirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~TrackExtends() override (defined in edash_packager::media::mp4::TrackExtends)edash_packager::media::mp4::TrackExtends
diff --git a/docs/d1/d37/es__parser__h264_8h_source.html b/docs/d1/d37/es__parser__h264_8h_source.html index 4991c534d9..43c1a6b9d1 100644 --- a/docs/d1/d37/es__parser__h264_8h_source.html +++ b/docs/d1/d37/es__parser__h264_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
-
6 #define MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
-
7 
+
6 #define MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
+
7 
8 #include <stdint.h>
9 
10 #include <list>
@@ -124,86 +124,83 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
35  EsParserH264(uint32_t pid,
36  const NewStreamInfoCB& new_stream_info_cb,
37  const EmitSampleCB& emit_sample_cb);
-
38  virtual ~EsParserH264();
+
38  ~EsParserH264() override;
39 
40  // EsParser implementation overrides.
-
41  virtual bool Parse(const uint8_t* buf,
-
42  int size,
-
43  int64_t pts,
-
44  int64_t dts) OVERRIDE;
-
45  virtual void Flush() OVERRIDE;
-
46  virtual void Reset() OVERRIDE;
-
47 
-
48  private:
-
49  struct TimingDesc {
-
50  int64_t dts;
-
51  int64_t pts;
-
52  };
-
53 
-
54  // Find the AUD located at or after |*stream_pos|.
-
55  // Return true if an AUD is found.
-
56  // If found, |*stream_pos| corresponds to the position of the AUD start code
-
57  // in the stream. Otherwise, |*stream_pos| corresponds to the last position
-
58  // of the start code parser.
-
59  bool FindAUD(int64_t* stream_pos);
-
60 
-
61  // Resumes the H264 ES parsing.
-
62  // Return true if successful.
-
63  bool ParseInternal();
-
64 
-
65  // Emit a frame whose position in the ES queue starts at |access_unit_pos|.
-
66  // Returns true if successful, false if no PTS is available for the frame.
-
67  bool EmitFrame(int64_t access_unit_pos,
-
68  int access_unit_size,
-
69  bool is_key_frame,
-
70  int pps_id);
-
71 
-
72  // Update the video decoder config based on an H264 SPS.
-
73  // Return true if successful.
-
74  bool UpdateVideoDecoderConfig(const H264SPS* sps);
-
75 
-
76  // Callbacks to pass the stream configuration and the frames.
-
77  NewStreamInfoCB new_stream_info_cb_;
-
78  EmitSampleCB emit_sample_cb_;
-
79 
-
80  // Bytes of the ES stream that have not been emitted yet.
-
81  scoped_ptr<media::OffsetByteQueue> es_queue_;
-
82  std::list<std::pair<int64_t, TimingDesc> > timing_desc_list_;
-
83 
-
84  // H264 parser state.
-
85  // - |current_access_unit_pos_| is pointing to an annexB syncword
-
86  // representing the first NALU of an H264 access unit.
-
87  scoped_ptr<H264Parser> h264_parser_;
-
88  int64_t current_access_unit_pos_;
-
89  int64_t next_access_unit_pos_;
+
41  bool Parse(const uint8_t* buf, int size, int64_t pts, int64_t dts) override;
+
42  void Flush() override;
+
43  void Reset() override;
+
44 
+
45  private:
+
46  struct TimingDesc {
+
47  int64_t dts;
+
48  int64_t pts;
+
49  };
+
50 
+
51  // Find the AUD located at or after |*stream_pos|.
+
52  // Return true if an AUD is found.
+
53  // If found, |*stream_pos| corresponds to the position of the AUD start code
+
54  // in the stream. Otherwise, |*stream_pos| corresponds to the last position
+
55  // of the start code parser.
+
56  bool FindAUD(int64_t* stream_pos);
+
57 
+
58  // Resumes the H264 ES parsing.
+
59  // Return true if successful.
+
60  bool ParseInternal();
+
61 
+
62  // Emit a frame whose position in the ES queue starts at |access_unit_pos|.
+
63  // Returns true if successful, false if no PTS is available for the frame.
+
64  bool EmitFrame(int64_t access_unit_pos,
+
65  int access_unit_size,
+
66  bool is_key_frame,
+
67  int pps_id);
+
68 
+
69  // Update the video decoder config based on an H264 SPS.
+
70  // Return true if successful.
+
71  bool UpdateVideoDecoderConfig(const H264SPS* sps);
+
72 
+
73  // Callbacks to pass the stream configuration and the frames.
+
74  NewStreamInfoCB new_stream_info_cb_;
+
75  EmitSampleCB emit_sample_cb_;
+
76 
+
77  // Bytes of the ES stream that have not been emitted yet.
+
78  scoped_ptr<media::OffsetByteQueue> es_queue_;
+
79  std::list<std::pair<int64_t, TimingDesc> > timing_desc_list_;
+
80 
+
81  // H264 parser state.
+
82  // - |current_access_unit_pos_| is pointing to an annexB syncword
+
83  // representing the first NALU of an H264 access unit.
+
84  scoped_ptr<H264Parser> h264_parser_;
+
85  int64_t current_access_unit_pos_;
+
86  int64_t next_access_unit_pos_;
+
87 
+
88  // Filter to convert H.264 Annex B byte stream to unit stream.
+
89  scoped_ptr<H264ByteToUnitStreamConverter> stream_converter_;
90 
-
91  // Filter to convert H.264 Annex B byte stream to unit stream.
-
92  scoped_ptr<H264ByteToUnitStreamConverter> stream_converter_;
-
93 
-
94  // Last video decoder config.
-
95  scoped_refptr<StreamInfo> last_video_decoder_config_;
-
96  bool decoder_config_check_pending_;
-
97 
-
98  // Frame for which we do not yet have a duration.
-
99  scoped_refptr<MediaSample> pending_sample_;
-
100  uint64_t pending_sample_duration_;
-
101 
-
102  // Indicates whether waiting for first key frame.
-
103  bool waiting_for_key_frame_;
-
104 };
-
105 
-
106 } // namespace mp2t
-
107 } // namespace media
-
108 } // namespace edash_packager
-
109 
-
110 #endif
+
91  // Last video decoder config.
+
92  scoped_refptr<StreamInfo> last_video_decoder_config_;
+
93  bool decoder_config_check_pending_;
+
94 
+
95  // Frame for which we do not yet have a duration.
+
96  scoped_refptr<MediaSample> pending_sample_;
+
97  uint64_t pending_sample_duration_;
+
98 
+
99  // Indicates whether waiting for first key frame.
+
100  bool waiting_for_key_frame_;
+
101 };
+
102 
+
103 } // namespace mp2t
+
104 } // namespace media
+
105 } // namespace edash_packager
+
106 
+
107 #endif
edash_packager::media::mp2t::EsParser
Definition: es_parser.h:21
edash_packager::media::H264SPS
Definition: h264_parser.h:81
edash_packager::media::mp2t::EsParserH264
Definition: es_parser_h264.h:33
diff --git a/docs/d1/d38/classedash__packager_1_1MockRepresentation-members.html b/docs/d1/d38/classedash__packager_1_1MockRepresentation-members.html index 680016d07a..ec85629edc 100644 --- a/docs/d1/d38/classedash__packager_1_1MockRepresentation-members.html +++ b/docs/d1/d38/classedash__packager_1_1MockRepresentation-members.html @@ -106,12 +106,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); Representation(const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, scoped_ptr< RepresentationStateChangeListener > state_change_listener)edash_packager::Representationprotected SetSampleDuration(uint32_t sample_duration)edash_packager::Representationvirtual UpdateContentProtectionPssh(const std::string &drm_uuid, const std::string &pssh)edash_packager::Representationvirtual - ~MockRepresentation() OVERRIDE (defined in edash_packager::MockRepresentation)edash_packager::MockRepresentationvirtual + ~MockRepresentation() override (defined in edash_packager::MockRepresentation)edash_packager::MockRepresentation ~Representation() (defined in edash_packager::Representation)edash_packager::Representationvirtual diff --git a/docs/d1/d3b/mpd__generator__flags_8h_source.html b/docs/d1/d3b/mpd__generator__flags_8h_source.html index 2d768e3fd5..d4a5debc66 100644 --- a/docs/d1/d3b/mpd__generator__flags_8h_source.html +++ b/docs/d1/d3b/mpd__generator__flags_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef APP_MPD_GENERATOR_FLAGS_H_
-
8 #define APP_MPD_GENERATOR_FLAGS_H_
-
9 
+
8 #define APP_MPD_GENERATOR_FLAGS_H_
+
9 
10 #include <gflags/gflags.h>
11 
12 DEFINE_string(input, "", "Comma separated list of MediaInfo input files.");
@@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d45/decoding__time__iterator_8cc_source.html b/docs/d1/d45/decoding__time__iterator_8cc_source.html index df11c5cd7f..68e1d8e82b 100644 --- a/docs/d1/d45/decoding__time__iterator_8cc_source.html +++ b/docs/d1/d45/decoding__time__iterator_8cc_source.html @@ -168,7 +168,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d48/text__track__config_8h_source.html b/docs/d1/d48/text__track__config_8h_source.html new file mode 100644 index 0000000000..c55c9b57b5 --- /dev/null +++ b/docs/d1/d48/text__track__config_8h_source.html @@ -0,0 +1,147 @@ + + + + + + +DASH Media Packaging SDK: media/base/text_track_config.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + +
+ All Classes Namespaces Functions Variables Typedefs
+ + +
+ +
+ + +
+
+
+
text_track_config.h
+
+
+
1 // Copyright 2013 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 PACKAGER_MEDIA_BASE_TEXT_TRACK_CONFIG_H_
+
6 #define PACKAGER_MEDIA_BASE_TEXT_TRACK_CONFIG_H_
+
7 
+
8 #include <string>
+
9 
+
10 namespace edash_packager {
+
11 namespace media {
+
12 
+
13 // Specifies the varieties of text tracks.
+
14 enum TextKind {
+
15  kTextSubtitles,
+
16  kTextCaptions,
+
17  kTextDescriptions,
+
18  kTextMetadata,
+
19  kTextNone
+
20 };
+
21 
+ +
23  public:
+ +
25  TextTrackConfig(TextKind kind,
+
26  const std::string& label,
+
27  const std::string& language,
+
28  const std::string& id);
+
29 
+
30  // Returns true if all fields in |config| match this config.
+
31  bool Matches(const TextTrackConfig& config) const;
+
32 
+
33  TextKind kind() const { return kind_; }
+
34  const std::string& label() const { return label_; }
+
35  const std::string& language() const { return language_; }
+
36  const std::string& id() const { return id_; }
+
37 
+
38  private:
+
39  TextKind kind_;
+
40  std::string label_;
+
41  std::string language_;
+
42  std::string id_;
+
43 };
+
44 
+
45 } // namespace media
+
46 } // namespace edash_packager
+
47 
+
48 #endif // PACKAGER_MEDIA_BASE_TEXT_TRACK_H_
+ +
+ + + + diff --git a/docs/d1/d4b/classedash__packager_1_1media_1_1mp2t_1_1TsPacket.html b/docs/d1/d4b/classedash__packager_1_1media_1_1mp2t_1_1TsPacket.html index 9eb6a06067..dcb2803d53 100644 --- a/docs/d1/d4b/classedash__packager_1_1media_1_1mp2t_1_1TsPacket.html +++ b/docs/d1/d4b/classedash__packager_1_1media_1_1mp2t_1_1TsPacket.html @@ -145,7 +145,7 @@ static const int kPacketSi diff --git a/docs/d1/d4d/h264__bit__reader_8cc_source.html b/docs/d1/d4d/h264__bit__reader_8cc_source.html index 151bdb6043..e57f7c4c30 100644 --- a/docs/d1/d4d/h264__bit__reader_8cc_source.html +++ b/docs/d1/d4d/h264__bit__reader_8cc_source.html @@ -205,7 +205,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d5d/structedash__packager_1_1MpdOptions.html b/docs/d1/d5d/structedash__packager_1_1MpdOptions.html index 4646f03779..3f841962a2 100644 --- a/docs/d1/d5d/structedash__packager_1_1MpdOptions.html +++ b/docs/d1/d5d/structedash__packager_1_1MpdOptions.html @@ -127,7 +127,7 @@ double suggested_presentat diff --git a/docs/d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html b/docs/d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html index f2dacb1376..234f6dd3ae 100644 --- a/docs/d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html +++ b/docs/d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::SampleToGroup: - - - - - - - + + + + + + + @@ -151,7 +151,7 @@ Additional Inherited Members

Definition at line 507 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -167,7 +167,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -186,7 +186,7 @@ Additional Inherited Members
diff --git a/docs/d1/d72/language__utils_8cc_source.html b/docs/d1/d72/language__utils_8cc_source.html index c41187182f..dac7772316 100644 --- a/docs/d1/d72/language__utils_8cc_source.html +++ b/docs/d1/d72/language__utils_8cc_source.html @@ -206,7 +206,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d72/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry-members.html b/docs/d1/d72/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry-members.html index bca4fc2c1c..f67bb27bd4 100644 --- a/docs/d1/d72/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry-members.html +++ b/docs/d1/d72/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry-members.html @@ -96,24 +96,24 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); atom_sizeedash_packager::media::mp4::Boxprotected AudioSampleEntry() (defined in edash_packager::media::mp4::AudioSampleEntry)edash_packager::media::mp4::AudioSampleEntry Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box - BoxType() const OVERRIDE (defined in edash_packager::media::mp4::AudioSampleEntry)edash_packager::media::mp4::AudioSampleEntryvirtual + BoxType() const override (defined in edash_packager::media::mp4::AudioSampleEntry)edash_packager::media::mp4::AudioSampleEntryvirtual channelcount (defined in edash_packager::media::mp4::AudioSampleEntry)edash_packager::media::mp4::AudioSampleEntry - ComputeSize() OVERRIDEedash_packager::media::mp4::AudioSampleEntryvirtual + ComputeSize() overrideedash_packager::media::mp4::AudioSampleEntryvirtual data_reference_index (defined in edash_packager::media::mp4::AudioSampleEntry)edash_packager::media::mp4::AudioSampleEntry esds (defined in edash_packager::media::mp4::AudioSampleEntry)edash_packager::media::mp4::AudioSampleEntry format (defined in edash_packager::media::mp4::AudioSampleEntry)edash_packager::media::mp4::AudioSampleEntry Parse(BoxReader *reader)edash_packager::media::mp4::Box - ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::AudioSampleEntryvirtual + ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::AudioSampleEntryvirtual samplerate (defined in edash_packager::media::mp4::AudioSampleEntry)edash_packager::media::mp4::AudioSampleEntry samplesize (defined in edash_packager::media::mp4::AudioSampleEntry)edash_packager::media::mp4::AudioSampleEntry sinf (defined in edash_packager::media::mp4::AudioSampleEntry)edash_packager::media::mp4::AudioSampleEntry Write(BufferWriter *writer)edash_packager::media::mp4::Box - ~AudioSampleEntry() (defined in edash_packager::media::mp4::AudioSampleEntry)edash_packager::media::mp4::AudioSampleEntryvirtual + ~AudioSampleEntry() override (defined in edash_packager::media::mp4::AudioSampleEntry)edash_packager::media::mp4::AudioSampleEntry ~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual diff --git a/docs/d1/d74/mp2t__media__parser_8cc_source.html b/docs/d1/d74/mp2t__media__parser_8cc_source.html index f2a85afd99..ef8843b428 100644 --- a/docs/d1/d74/mp2t__media__parser_8cc_source.html +++ b/docs/d1/d74/mp2t__media__parser_8cc_source.html @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
60  PidType pid_type() const { return pid_type_; }
61 
62  scoped_refptr<StreamInfo>& config() { return config_; }
-
63  void set_config(scoped_refptr<StreamInfo>& config) { config_ = config; }
+
63  void set_config(const scoped_refptr<StreamInfo>& config) { config_ = config; }
64 
65  SampleQueue& sample_queue() { return sample_queue_; }
66 
@@ -242,7 +242,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
153  STLDeleteValues(&pids_);
154 }
155 
- +
157  const InitCB& init_cb,
158  const NewSampleCB& new_sample_cb,
159  KeySource* decryption_key_source) {
@@ -255,7 +255,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
166  new_sample_cb_ = new_sample_cb;
167 }
168 
- +
170  DVLOG(1) << "Mp2tMediaParser::Flush";
171 
172  // Flush the buffers and reset the pids.
@@ -273,7 +273,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
184  ts_byte_queue_.Reset();
185 }
186 
-
187 bool Mp2tMediaParser::Parse(const uint8_t* buf, int size) {
+
187 bool Mp2tMediaParser::Parse(const uint8_t* buf, int size) {
188  DVLOG(1) << "Mp2tMediaParser::Parse size=" << size;
189 
190  // Add the data to the parser state.
@@ -415,7 +415,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
326 }
327 
328 void Mp2tMediaParser::OnNewStreamInfo(
-
329  scoped_refptr<StreamInfo>& new_stream_info) {
+
329  const scoped_refptr<StreamInfo>& new_stream_info) {
330  DCHECK(new_stream_info);
331  DVLOG(1) << "OnVideoConfigChanged for pid=" << new_stream_info->track_id();
332 
@@ -463,71 +463,72 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
374  return true;
375 }
376 
-
377 void Mp2tMediaParser::OnEmitSample(uint32_t pes_pid,
-
378  scoped_refptr<MediaSample>& new_sample) {
-
379  DCHECK(new_sample);
-
380  DVLOG(LOG_LEVEL_ES)
-
381  << "OnEmitSample: "
-
382  << " pid="
-
383  << pes_pid
-
384  << " size="
-
385  << new_sample->data_size()
-
386  << " dts="
-
387  << new_sample->dts()
-
388  << " pts="
-
389  << new_sample->pts();
-
390 
-
391  // Add the sample to the appropriate PID sample queue.
-
392  PidMap::iterator pid_state = pids_.find(pes_pid);
-
393  if (pid_state == pids_.end()) {
-
394  LOG(ERROR) << "PID State for new sample not found (pid = "
-
395  << pes_pid << ").";
-
396  return;
-
397  }
-
398  pid_state->second->sample_queue().push_back(new_sample);
-
399 }
-
400 
-
401 bool Mp2tMediaParser::EmitRemainingSamples() {
-
402  DVLOG(LOG_LEVEL_ES) << "Mp2tMediaParser::EmitRemainingBuffers";
-
403 
-
404  // No buffer should be sent until fully initialized.
-
405  if (!is_initialized_)
-
406  return true;
-
407 
-
408  // Buffer emission.
-
409  for (PidMap::const_iterator pid_iter = pids_.begin(); pid_iter != pids_.end();
-
410  ++pid_iter) {
-
411  SampleQueue& sample_queue = pid_iter->second->sample_queue();
-
412  for (SampleQueue::iterator sample_iter = sample_queue.begin();
-
413  sample_iter != sample_queue.end();
-
414  ++sample_iter) {
-
415  if (!new_sample_cb_.Run(pid_iter->first, *sample_iter)) {
-
416  // Error processing sample. Propagate error condition.
-
417  return false;
-
418  }
-
419  }
-
420  sample_queue.clear();
-
421  }
-
422 
-
423  return true;
-
424 }
-
425 
-
426 } // namespace mp2t
-
427 } // namespace media
-
428 } // namespace edash_packager
+
377 void Mp2tMediaParser::OnEmitSample(
+
378  uint32_t pes_pid,
+
379  const scoped_refptr<MediaSample>& new_sample) {
+
380  DCHECK(new_sample);
+
381  DVLOG(LOG_LEVEL_ES)
+
382  << "OnEmitSample: "
+
383  << " pid="
+
384  << pes_pid
+
385  << " size="
+
386  << new_sample->data_size()
+
387  << " dts="
+
388  << new_sample->dts()
+
389  << " pts="
+
390  << new_sample->pts();
+
391 
+
392  // Add the sample to the appropriate PID sample queue.
+
393  PidMap::iterator pid_state = pids_.find(pes_pid);
+
394  if (pid_state == pids_.end()) {
+
395  LOG(ERROR) << "PID State for new sample not found (pid = "
+
396  << pes_pid << ").";
+
397  return;
+
398  }
+
399  pid_state->second->sample_queue().push_back(new_sample);
+
400 }
+
401 
+
402 bool Mp2tMediaParser::EmitRemainingSamples() {
+
403  DVLOG(LOG_LEVEL_ES) << "Mp2tMediaParser::EmitRemainingBuffers";
+
404 
+
405  // No buffer should be sent until fully initialized.
+
406  if (!is_initialized_)
+
407  return true;
+
408 
+
409  // Buffer emission.
+
410  for (PidMap::const_iterator pid_iter = pids_.begin(); pid_iter != pids_.end();
+
411  ++pid_iter) {
+
412  SampleQueue& sample_queue = pid_iter->second->sample_queue();
+
413  for (SampleQueue::iterator sample_iter = sample_queue.begin();
+
414  sample_iter != sample_queue.end();
+
415  ++sample_iter) {
+
416  if (!new_sample_cb_.Run(pid_iter->first, *sample_iter)) {
+
417  // Error processing sample. Propagate error condition.
+
418  return false;
+
419  }
+
420  }
+
421  sample_queue.clear();
+
422  }
+
423 
+
424  return true;
+
425 }
+
426 
+
427 } // namespace mp2t
+
428 } // namespace media
+
429 } // namespace edash_packager
void Push(const uint8_t *data, int size)
Append new bytes to the end of the queue.
Definition: byte_queue.cc:29
- -
virtual void Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) OVERRIDE
+ +
bool Parse(const uint8_t *buf, int size) override
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:29
void Reset()
Reset the queue to the empty state.
Definition: byte_queue.cc:24
-
virtual bool Parse(const uint8_t *buf, int size) OVERRIDE
+
void Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) override
void Peek(const uint8_t **data, int *size) const
Definition: byte_queue.cc:63
diff --git a/docs/d1/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk-members.html b/docs/d1/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk-members.html index b506f98829..4af77d277a 100644 --- a/docs/d1/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk-members.html +++ b/docs/d1/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SampleToChunk)edash_packager::media::mp4::SampleToChunkvirtual
BoxType() const override (defined in edash_packager::media::mp4::SampleToChunk)edash_packager::media::mp4::SampleToChunkvirtual
chunk_info (defined in edash_packager::media::mp4::SampleToChunk)edash_packager::media::mp4::SampleToChunk
ComputeSize() OVERRIDEedash_packager::media::mp4::SampleToChunkvirtual
ComputeSize() overrideedash_packager::media::mp4::SampleToChunkvirtual
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SampleToChunkvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SampleToChunkvirtual
SampleToChunk() (defined in edash_packager::media::mp4::SampleToChunk)edash_packager::media::mp4::SampleToChunk
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~SampleToChunk() (defined in edash_packager::media::mp4::SampleToChunk)edash_packager::media::mp4::SampleToChunkvirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~SampleToChunk() override (defined in edash_packager::media::mp4::SampleToChunk)edash_packager::media::mp4::SampleToChunk
diff --git a/docs/d1/d78/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer.html b/docs/d1/d78/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer.html index 948942f42a..3482343516 100644 --- a/docs/d1/d78/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer.html +++ b/docs/d1/d78/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer.html @@ -176,7 +176,7 @@ base::Clock * clock () diff --git a/docs/d1/d7d/webm__video__client_8cc_source.html b/docs/d1/d7d/webm__video__client_8cc_source.html new file mode 100644 index 0000000000..105a69d601 --- /dev/null +++ b/docs/d1/d7d/webm__video__client_8cc_source.html @@ -0,0 +1,277 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_video_client.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_video_client.cc
+
+
+
1 // Copyright 2014 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 #include "packager/media/formats/webm/webm_video_client.h"
+
6 
+
7 #include "packager/base/logging.h"
+
8 #include "packager/media/formats/webm/webm_constants.h"
+
9 
+
10 namespace {
+
11 
+
12 // Timestamps are represented in double in WebM. Convert to uint64_t in us.
+
13 const uint32_t kWebMTimeScale = 1000000u;
+
14 
+
15 int64_t GetGreatestCommonDivisor(int64_t a, int64_t b) {
+
16  while (b) {
+
17  int64_t temp = b;
+
18  b = a % b;
+
19  a = temp;
+
20  }
+
21  return a;
+
22 }
+
23 
+
24 } // namespace
+
25 
+
26 namespace edash_packager {
+
27 namespace media {
+
28 
+
29 WebMVideoClient::WebMVideoClient() {
+
30  Reset();
+
31 }
+
32 
+
33 WebMVideoClient::~WebMVideoClient() {
+
34 }
+
35 
+
36 void WebMVideoClient::Reset() {
+
37  pixel_width_ = -1;
+
38  pixel_height_ = -1;
+
39  crop_bottom_ = -1;
+
40  crop_top_ = -1;
+
41  crop_left_ = -1;
+
42  crop_right_ = -1;
+
43  display_width_ = -1;
+
44  display_height_ = -1;
+
45  display_unit_ = -1;
+
46  alpha_mode_ = -1;
+
47 }
+
48 
+
49 scoped_refptr<VideoStreamInfo> WebMVideoClient::GetVideoStreamInfo(
+
50  int64_t track_num,
+
51  const std::string& codec_id,
+
52  const std::vector<uint8_t>& codec_private,
+
53  bool is_encrypted) {
+
54  VideoCodec video_codec = kUnknownVideoCodec;
+
55  if (codec_id == "V_VP8") {
+
56  video_codec = kCodecVP8;
+
57  } else if (codec_id == "V_VP9") {
+
58  video_codec = kCodecVP9;
+
59  } else {
+
60  LOG(ERROR) << "Unsupported video codec_id " << codec_id;
+
61  return scoped_refptr<VideoStreamInfo>();
+
62  }
+
63 
+
64  if (pixel_width_ <= 0 || pixel_height_ <= 0)
+
65  return scoped_refptr<VideoStreamInfo>();
+
66 
+
67  // Set crop and display unit defaults if these elements are not present.
+
68  if (crop_bottom_ == -1)
+
69  crop_bottom_ = 0;
+
70 
+
71  if (crop_top_ == -1)
+
72  crop_top_ = 0;
+
73 
+
74  if (crop_left_ == -1)
+
75  crop_left_ = 0;
+
76 
+
77  if (crop_right_ == -1)
+
78  crop_right_ = 0;
+
79 
+
80  if (display_unit_ == -1)
+
81  display_unit_ = 0;
+
82 
+
83  uint16_t width_after_crop = pixel_width_ - (crop_left_ + crop_right_);
+
84  uint16_t height_after_crop = pixel_height_ - (crop_top_ + crop_bottom_);
+
85 
+
86  if (display_unit_ == 0) {
+
87  if (display_width_ <= 0)
+
88  display_width_ = width_after_crop;
+
89  if (display_height_ <= 0)
+
90  display_height_ = height_after_crop;
+
91  } else if (display_unit_ == 3) {
+
92  if (display_width_ <= 0 || display_height_ <= 0)
+
93  return scoped_refptr<VideoStreamInfo>();
+
94  } else {
+
95  LOG(ERROR) << "Unsupported display unit type " << display_unit_;
+
96  return scoped_refptr<VideoStreamInfo>();
+
97  }
+
98  // Calculate sample aspect ratio.
+
99  int64_t sar_x = display_width_ * height_after_crop;
+
100  int64_t sar_y = display_height_ * width_after_crop;
+
101  int64_t gcd = GetGreatestCommonDivisor(sar_x, sar_y);
+
102  sar_x /= gcd;
+
103  sar_y /= gcd;
+
104 
+
105  const uint8_t* extra_data = NULL;
+
106  size_t extra_data_size = 0;
+
107  if (codec_private.size() > 0) {
+
108  extra_data = &codec_private[0];
+
109  extra_data_size = codec_private.size();
+
110  }
+
111 
+
112  return scoped_refptr<VideoStreamInfo>(
+
113  new VideoStreamInfo(track_num, kWebMTimeScale, 0, video_codec,
+
114  VideoStreamInfo::GetCodecString(video_codec, 0, 0, 0),
+
115  "", width_after_crop, height_after_crop, sar_x, sar_y,
+
116  0, 0, extra_data, extra_data_size, is_encrypted));
+
117 }
+
118 
+
119 bool WebMVideoClient::OnUInt(int id, int64_t val) {
+
120  int64_t* dst = NULL;
+
121 
+
122  switch (id) {
+
123  case kWebMIdPixelWidth:
+
124  dst = &pixel_width_;
+
125  break;
+
126  case kWebMIdPixelHeight:
+
127  dst = &pixel_height_;
+
128  break;
+
129  case kWebMIdPixelCropTop:
+
130  dst = &crop_top_;
+
131  break;
+
132  case kWebMIdPixelCropBottom:
+
133  dst = &crop_bottom_;
+
134  break;
+
135  case kWebMIdPixelCropLeft:
+
136  dst = &crop_left_;
+
137  break;
+
138  case kWebMIdPixelCropRight:
+
139  dst = &crop_right_;
+
140  break;
+
141  case kWebMIdDisplayWidth:
+
142  dst = &display_width_;
+
143  break;
+
144  case kWebMIdDisplayHeight:
+
145  dst = &display_height_;
+
146  break;
+
147  case kWebMIdDisplayUnit:
+
148  dst = &display_unit_;
+
149  break;
+
150  case kWebMIdAlphaMode:
+
151  dst = &alpha_mode_;
+
152  break;
+
153  default:
+
154  return true;
+
155  }
+
156 
+
157  if (*dst != -1) {
+
158  LOG(ERROR) << "Multiple values for id " << std::hex << id << " specified ("
+
159  << *dst << " and " << val << ")";
+
160  return false;
+
161  }
+
162 
+
163  *dst = val;
+
164  return true;
+
165 }
+
166 
+
167 bool WebMVideoClient::OnBinary(int id, const uint8_t* data, int size) {
+
168  // Accept binary fields we don't care about for now.
+
169  return true;
+
170 }
+
171 
+
172 bool WebMVideoClient::OnFloat(int id, double val) {
+
173  // Accept float fields we don't care about for now.
+
174  return true;
+
175 }
+
176 
+
177 } // namespace media
+
178 } // namespace edash_packager
+
static std::string GetCodecString(VideoCodec codec, uint8_t profile, uint8_t compatible_profiles, uint8_t level)
+
+ + + + diff --git a/docs/d1/d7f/classedash__packager_1_1media_1_1BitReader-members.html b/docs/d1/d7f/classedash__packager_1_1media_1_1BitReader-members.html index 9020cbbfa5..7cd197ecee 100644 --- a/docs/d1/d7f/classedash__packager_1_1media_1_1BitReader-members.html +++ b/docs/d1/d7f/classedash__packager_1_1media_1_1BitReader-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html b/docs/d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html index 8efa10afd6..0fe53822cc 100644 --- a/docs/d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html +++ b/docs/d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::SegmentIndex: - - - - - - - + + + + + + + @@ -157,7 +157,7 @@ Additional Inherited Members

Definition at line 574 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -173,7 +173,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -192,7 +192,7 @@ Additional Inherited Members
diff --git a/docs/d1/d82/adts__constants_8h_source.html b/docs/d1/d82/adts__constants_8h_source.html index cd97a99efb..0d40afe8ad 100644 --- a/docs/d1/d82/adts__constants_8h_source.html +++ b/docs/d1/d82/adts__constants_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_
-
6 #define MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_
-
7 
+
6 #define MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_
+
7 
8 #include <stddef.h>
9 
10 namespace edash_packager {
@@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d86/classedash__packager_1_1media_1_1RsaPublicKey.html b/docs/d1/d86/classedash__packager_1_1media_1_1RsaPublicKey.html index d0b52b5770..e7b7ea51f0 100644 --- a/docs/d1/d86/classedash__packager_1_1media_1_1RsaPublicKey.html +++ b/docs/d1/d86/classedash__packager_1_1media_1_1RsaPublicKey.html @@ -218,7 +218,7 @@ Static Public Member Functions diff --git a/docs/d1/d8e/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html b/docs/d1/d8e/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html index 58ba201fdc..c9855f36b1 100644 --- a/docs/d1/d8e/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html +++ b/docs/d1/d8e/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::CompositionTimeToSample)edash_packager::media::mp4::CompositionTimeToSamplevirtual
BoxType() const override (defined in edash_packager::media::mp4::CompositionTimeToSample)edash_packager::media::mp4::CompositionTimeToSamplevirtual
composition_offset (defined in edash_packager::media::mp4::CompositionTimeToSample)edash_packager::media::mp4::CompositionTimeToSample
CompositionTimeToSample() (defined in edash_packager::media::mp4::CompositionTimeToSample)edash_packager::media::mp4::CompositionTimeToSample
ComputeSize() OVERRIDEedash_packager::media::mp4::CompositionTimeToSamplevirtual
ComputeSize() overrideedash_packager::media::mp4::CompositionTimeToSamplevirtual
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::CompositionTimeToSamplevirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::CompositionTimeToSamplevirtual
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~CompositionTimeToSample() (defined in edash_packager::media::mp4::CompositionTimeToSample)edash_packager::media::mp4::CompositionTimeToSamplevirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~CompositionTimeToSample() override (defined in edash_packager::media::mp4::CompositionTimeToSample)edash_packager::media::mp4::CompositionTimeToSample
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
diff --git a/docs/d1/d8e/webm__audio__client_8cc_source.html b/docs/d1/d8e/webm__audio__client_8cc_source.html new file mode 100644 index 0000000000..e25534835c --- /dev/null +++ b/docs/d1/d8e/webm__audio__client_8cc_source.html @@ -0,0 +1,216 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_audio_client.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_audio_client.cc
+
+
+
1 // Copyright 2014 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 #include "packager/media/formats/webm/webm_audio_client.h"
+
6 
+
7 #include "packager/base/logging.h"
+
8 #include "packager/media/formats/webm/webm_constants.h"
+
9 
+
10 namespace {
+
11 // Timestamps are represented in double in WebM. Convert to uint64_t in us.
+
12 const uint32_t kWebMTimeScale = 1000000u;
+
13 } // namespace
+
14 
+
15 namespace edash_packager {
+
16 namespace media {
+
17 
+
18 WebMAudioClient::WebMAudioClient() {
+
19  Reset();
+
20 }
+
21 
+
22 WebMAudioClient::~WebMAudioClient() {
+
23 }
+
24 
+
25 void WebMAudioClient::Reset() {
+
26  channels_ = -1;
+
27  samples_per_second_ = -1;
+
28  output_samples_per_second_ = -1;
+
29 }
+
30 
+
31 scoped_refptr<AudioStreamInfo> WebMAudioClient::GetAudioStreamInfo(
+
32  int64_t track_num,
+
33  const std::string& codec_id,
+
34  const std::vector<uint8_t>& codec_private,
+
35  const std::string& language,
+
36  bool is_encrypted) {
+
37  AudioCodec audio_codec = kUnknownAudioCodec;
+
38  if (codec_id == "A_VORBIS") {
+
39  audio_codec = kCodecVorbis;
+
40  } else if (codec_id == "A_OPUS") {
+
41  audio_codec = kCodecOpus;
+
42  } else {
+
43  LOG(ERROR) << "Unsupported audio codec_id " << codec_id;
+
44  return scoped_refptr<AudioStreamInfo>();
+
45  }
+
46 
+
47  if (samples_per_second_ <= 0)
+
48  return scoped_refptr<AudioStreamInfo>();
+
49 
+
50  // Set channel layout default if a Channels element was not present.
+
51  if (channels_ == -1)
+
52  channels_ = 1;
+
53 
+
54  uint32_t sampling_frequency = samples_per_second_;
+
55  // Always use 48kHz for OPUS. See the "Input Sample Rate" section of the
+
56  // spec: http://tools.ietf.org/html/draft-terriberry-oggopus-01#page-11
+
57  if (audio_codec == kCodecOpus) {
+
58  sampling_frequency = 48000;
+
59  }
+
60 
+
61  const uint8_t* extra_data = NULL;
+
62  size_t extra_data_size = 0;
+
63  if (codec_private.size() > 0) {
+
64  extra_data = &codec_private[0];
+
65  extra_data_size = codec_private.size();
+
66  }
+
67 
+
68  const uint32_t kSampleSizeInBits = 4u;
+
69  return scoped_refptr<AudioStreamInfo>(new AudioStreamInfo(
+
70  track_num, kWebMTimeScale, 0, audio_codec,
+
71  AudioStreamInfo::GetCodecString(audio_codec, 0), language,
+
72  kSampleSizeInBits, channels_, sampling_frequency, extra_data,
+
73  extra_data_size, is_encrypted));
+
74 }
+
75 
+
76 bool WebMAudioClient::OnUInt(int id, int64_t val) {
+
77  if (id == kWebMIdChannels) {
+
78  if (channels_ != -1) {
+
79  LOG(ERROR) << "Multiple values for id " << std::hex << id
+
80  << " specified. (" << channels_ << " and " << val << ")";
+
81  return false;
+
82  }
+
83 
+
84  channels_ = val;
+
85  }
+
86  return true;
+
87 }
+
88 
+
89 bool WebMAudioClient::OnFloat(int id, double val) {
+
90  double* dst = NULL;
+
91 
+
92  switch (id) {
+
93  case kWebMIdSamplingFrequency:
+
94  dst = &samples_per_second_;
+
95  break;
+
96  case kWebMIdOutputSamplingFrequency:
+
97  dst = &output_samples_per_second_;
+
98  break;
+
99  default:
+
100  return true;
+
101  }
+
102 
+
103  if (val <= 0)
+
104  return false;
+
105 
+
106  if (*dst != -1) {
+
107  LOG(ERROR) << "Multiple values for id " << std::hex << id << " specified ("
+
108  << *dst << " and " << val << ")";
+
109  return false;
+
110  }
+
111 
+
112  *dst = val;
+
113  return true;
+
114 }
+
115 
+
116 } // namespace media
+
117 } // namespace edash_packager
+
static std::string GetCodecString(AudioCodec codec, uint8_t audio_object_type)
+
+ + + + diff --git a/docs/d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html b/docs/d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html index 8e3caa04fd..b0c8d766f0 100644 --- a/docs/d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html +++ b/docs/d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html @@ -242,7 +242,7 @@ false if max_offset > diff --git a/docs/d1/d9d/tracks__builder_8h_source.html b/docs/d1/d9d/tracks__builder_8h_source.html new file mode 100644 index 0000000000..9cb68233d0 --- /dev/null +++ b/docs/d1/d9d/tracks__builder_8h_source.html @@ -0,0 +1,218 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/tracks_builder.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
tracks_builder.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_TRACKS_BUILDER_H_
+
6 #define MEDIA_FORMATS_WEBM_TRACKS_BUILDER_H_
+
7 
+
8 #include <stdint.h>
+
9 
+
10 #include <list>
+
11 #include <string>
+
12 #include <vector>
+
13 
+
14 #include "packager/base/macros.h"
+
15 
+
16 namespace edash_packager {
+
17 namespace media {
+
18 
+ +
20  public:
+
21  // If |allow_invalid_values| is false, some AddTrack() parameters will be
+
22  // basically checked and will assert if out of valid range. |codec_id|,
+
23  // |name|, |language| and any device-specific constraints are not checked.
+
24  explicit TracksBuilder(bool allow_invalid_values);
+
25  TracksBuilder(); // Sets |allow_invalid_values| to false.
+
26  ~TracksBuilder();
+
27 
+
28  // Only a non-negative |default_duration| will result in a serialized
+
29  // kWebMIdDefaultDuration element. Note, 0 is allowed here for testing only
+
30  // if |allow_invalid_values_| is true, since it is an illegal value for
+
31  // DefaultDuration. Similar applies to |audio_channels|,
+
32  // |audio_sampling_frequency|, |video_pixel_width| and |video_pixel_height|.
+
33  void AddVideoTrack(int track_num,
+
34  uint64_t track_uid,
+
35  const std::string& codec_id,
+
36  const std::string& name,
+
37  const std::string& language,
+
38  int default_duration,
+
39  int video_pixel_width,
+
40  int video_pixel_height);
+
41  void AddAudioTrack(int track_num,
+
42  uint64_t track_uid,
+
43  const std::string& codec_id,
+
44  const std::string& name,
+
45  const std::string& language,
+
46  int default_duration,
+
47  int audio_channels,
+
48  double audio_sampling_frequency);
+
49  void AddTextTrack(int track_num,
+
50  uint64_t track_uid,
+
51  const std::string& codec_id,
+
52  const std::string& name,
+
53  const std::string& language);
+
54 
+
55  std::vector<uint8_t> Finish();
+
56 
+
57  private:
+
58  void AddTrackInternal(int track_num,
+
59  int track_type,
+
60  uint64_t track_uid,
+
61  const std::string& codec_id,
+
62  const std::string& name,
+
63  const std::string& language,
+
64  int default_duration,
+
65  int video_pixel_width,
+
66  int video_pixel_height,
+
67  int audio_channels,
+
68  double audio_sampling_frequency);
+
69  int GetTracksSize() const;
+
70  int GetTracksPayloadSize() const;
+
71  void WriteTracks(uint8_t* buffer, int buffer_size) const;
+
72 
+
73  class Track {
+
74  public:
+
75  Track(int track_num,
+
76  int track_type,
+
77  uint64_t track_uid,
+
78  const std::string& codec_id,
+
79  const std::string& name,
+
80  const std::string& language,
+
81  int default_duration,
+
82  int video_pixel_width,
+
83  int video_pixel_height,
+
84  int audio_channels,
+
85  double audio_sampling_frequency,
+
86  bool allow_invalid_values);
+
87 
+
88  int GetSize() const;
+
89  void Write(uint8_t** buf, int* buf_size) const;
+
90 
+
91  private:
+
92  int GetPayloadSize() const;
+
93  int GetVideoPayloadSize() const;
+
94  int GetAudioPayloadSize() const;
+
95 
+
96  int track_num_;
+
97  int track_type_;
+
98  int track_uid_;
+
99  std::string codec_id_;
+
100  std::string name_;
+
101  std::string language_;
+
102  int default_duration_;
+
103  int video_pixel_width_;
+
104  int video_pixel_height_;
+
105  int audio_channels_;
+
106  double audio_sampling_frequency_;
+
107  };
+
108 
+
109  typedef std::list<Track> TrackList;
+
110  TrackList tracks_;
+
111  bool allow_invalid_values_;
+
112 
+
113  DISALLOW_COPY_AND_ASSIGN(TracksBuilder);
+
114 };
+
115 
+
116 } // namespace media
+
117 } // namespace edash_packager
+
118 
+
119 #endif // MEDIA_FORMATS_WEBM_TRACKS_BUILDER_H_
+ +
+ + + + diff --git a/docs/d1/dc3/classedash__packager_1_1media_1_1LocalFile-members.html b/docs/d1/dc3/classedash__packager_1_1media_1_1LocalFile-members.html index d115e3a579..d3bc0d3764 100644 --- a/docs/d1/dc3/classedash__packager_1_1media_1_1LocalFile-members.html +++ b/docs/d1/dc3/classedash__packager_1_1media_1_1LocalFile-members.html @@ -93,28 +93,28 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::LocalFile, including all inherited members.

- + - + - + - + - - - - + + + + - +
Close() OVERRIDEedash_packager::media::LocalFilevirtual
Close() overrideedash_packager::media::LocalFilevirtual
Delete(const char *file_name)edash_packager::media::LocalFilestatic
File(const std::string &file_name) (defined in edash_packager::media::File)edash_packager::media::Fileinlineexplicitprotected
file_name() const edash_packager::media::Fileinline
Flush() OVERRIDEedash_packager::media::LocalFilevirtual
Flush() overrideedash_packager::media::LocalFilevirtual
GetFileSize(const char *file_name)edash_packager::media::Filestatic
LocalFile(const char *file_name, const char *mode)edash_packager::media::LocalFile
Open() OVERRIDEedash_packager::media::LocalFileprotectedvirtual
Open() overrideedash_packager::media::LocalFileprotectedvirtual
edash_packager::media::File::Open(const char *file_name, const char *mode)edash_packager::media::Filestatic
OpenWithNoBuffering(const char *file_name, const char *mode)edash_packager::media::Filestatic
Read(void *buffer, uint64_t length) OVERRIDEedash_packager::media::LocalFilevirtual
Read(void *buffer, uint64_t length) overrideedash_packager::media::LocalFilevirtual
ReadFileToString(const char *file_name, std::string *contents)edash_packager::media::Filestatic
Seek(uint64_t position) OVERRIDEedash_packager::media::LocalFilevirtual
Size() OVERRIDEedash_packager::media::LocalFilevirtual
Tell(uint64_t *position) OVERRIDEedash_packager::media::LocalFilevirtual
Write(const void *buffer, uint64_t length) OVERRIDEedash_packager::media::LocalFilevirtual
Seek(uint64_t position) overrideedash_packager::media::LocalFilevirtual
Size() overrideedash_packager::media::LocalFilevirtual
Tell(uint64_t *position) overrideedash_packager::media::LocalFilevirtual
Write(const void *buffer, uint64_t length) overrideedash_packager::media::LocalFilevirtual
~File()edash_packager::media::Fileinlineprotectedvirtual
~LocalFile() (defined in edash_packager::media::LocalFile)edash_packager::media::LocalFileprotectedvirtual
~LocalFile() override (defined in edash_packager::media::LocalFile)edash_packager::media::LocalFileprotected
diff --git a/docs/d1/dc8/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox.html b/docs/d1/dc8/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox.html index 11dca18c85..dba115c21e 100644 --- a/docs/d1/dc8/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox.html +++ b/docs/d1/dc8/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::PixelAspectRatioBox: - - - - - - - + + + + + + + @@ -140,7 +140,7 @@ Additional Inherited Members

Definition at line 191 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -156,7 +156,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -175,7 +175,7 @@ Additional Inherited Members
diff --git a/docs/d1/dcb/encrypting__fragmenter_8h_source.html b/docs/d1/dcb/encrypting__fragmenter_8h_source.html index 0e8ca1f35c..ea0c6f97d0 100644 --- a/docs/d1/dcb/encrypting__fragmenter_8h_source.html +++ b/docs/d1/dcb/encrypting__fragmenter_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_ENCRYPTING_FRAGMENTER_H_
-
8 #define MEDIA_FORMATS_MP4_ENCRYPTING_FRAGMENTER_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_ENCRYPTING_FRAGMENTER_H_
+
9 
10 #include "packager/media/formats/mp4/fragmenter.h"
11 
12 namespace edash_packager {
@@ -113,11 +113,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
31  int64_t clear_time,
32  uint8_t nalu_length_size);
33 
-
34  virtual ~EncryptingFragmenter();
+
34  ~EncryptingFragmenter() override;
35 
-
38  virtual Status AddSample(scoped_refptr<MediaSample> sample) OVERRIDE;
-
39  virtual Status InitializeFragment(int64_t first_sample_dts) OVERRIDE;
-
40  virtual void FinalizeFragment() OVERRIDE;
+
38  Status AddSample(scoped_refptr<MediaSample> sample) override;
+
39  Status InitializeFragment(int64_t first_sample_dts) override;
+
40  void FinalizeFragment() override;
42 
43  protected:
46  virtual Status PrepareFragmentForEncryption(bool enable_encryption);
@@ -160,18 +160,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
EncryptingFragmenter generates MP4 fragments with sample encrypted.
-
virtual Status AddSample(scoped_refptr< MediaSample > sample) OVERRIDE
+
Status InitializeFragment(int64_t first_sample_dts) override
+
Status AddSample(scoped_refptr< MediaSample > sample) override
+
void FinalizeFragment() override
Finalize and optimize the fragment.
virtual Status PrepareFragmentForEncryption(bool enable_encryption)
EncryptingFragmenter(TrackFragment *traf, scoped_ptr< EncryptionKey > encryption_key, int64_t clear_time, uint8_t nalu_length_size)
virtual void FinalizeFragmentForEncryption()
Finalize current fragment for encryption.
-
virtual void FinalizeFragment() OVERRIDE
Finalize and optimize the fragment.
-
virtual Status InitializeFragment(int64_t first_sample_dts) OVERRIDE
diff --git a/docs/d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html b/docs/d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html index 7d5442a247..aa30a39ca6 100644 --- a/docs/d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html +++ b/docs/d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::FileType: - - - - - - - + + + + + + + @@ -144,7 +144,7 @@ Additional Inherited Members

Definition at line 39 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -160,7 +160,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -168,7 +168,7 @@ Additional Inherited Members

Implements edash_packager::media::mp4::Box.

-

Reimplemented in edash_packager::media::mp4::SegmentType.

+

Reimplemented in edash_packager::media::mp4::SegmentType.

Definition at line 84 of file box_definitions.cc.

@@ -181,7 +181,7 @@ Additional Inherited Members
diff --git a/docs/d1/dd0/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup-members.html b/docs/d1/dd0/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup-members.html index a0efcc9975..2f3d9f0c36 100644 --- a/docs/d1/dd0/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup-members.html +++ b/docs/d1/dd0/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup-members.html @@ -95,25 +95,25 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SampleToGroup)edash_packager::media::mp4::SampleToGroupvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::SampleToGroupvirtual
BoxType() const override (defined in edash_packager::media::mp4::SampleToGroup)edash_packager::media::mp4::SampleToGroupvirtual
ComputeSize() overrideedash_packager::media::mp4::SampleToGroupvirtual
entries (defined in edash_packager::media::mp4::SampleToGroup)edash_packager::media::mp4::SampleToGroup
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
grouping_type (defined in edash_packager::media::mp4::SampleToGroup)edash_packager::media::mp4::SampleToGroup
grouping_type_parameter (defined in edash_packager::media::mp4::SampleToGroup)edash_packager::media::mp4::SampleToGroup
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SampleToGroupvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SampleToGroupvirtual
SampleToGroup() (defined in edash_packager::media::mp4::SampleToGroup)edash_packager::media::mp4::SampleToGroup
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~SampleToGroup() (defined in edash_packager::media::mp4::SampleToGroup)edash_packager::media::mp4::SampleToGroupvirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~SampleToGroup() override (defined in edash_packager::media::mp4::SampleToGroup)edash_packager::media::mp4::SampleToGroup
diff --git a/docs/d1/dd5/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode.html b/docs/d1/dd5/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode.html index 31b2653dc3..003ebd066c 100644 --- a/docs/d1/dd5/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode.html +++ b/docs/d1/dd5/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode.html @@ -156,7 +156,7 @@ Protected Member Functions diff --git a/docs/d1/de0/webm__stream__parser_8h_source.html b/docs/d1/de0/webm__stream__parser_8h_source.html new file mode 100644 index 0000000000..8b1458ffe3 --- /dev/null +++ b/docs/d1/de0/webm__stream__parser_8h_source.html @@ -0,0 +1,186 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_stream_parser.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_stream_parser.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_WEBM_STREAM_PARSER_H_
+
6 #define MEDIA_FORMATS_WEBM_WEBM_STREAM_PARSER_H_
+
7 
+
8 #include "packager/base/callback_forward.h"
+
9 #include "packager/base/memory/ref_counted.h"
+
10 #include "packager/media/base/byte_queue.h"
+
11 #include "packager/media/base/media_parser.h"
+
12 
+
13 namespace edash_packager {
+
14 namespace media {
+
15 
+
16 class WebMClusterParser;
+
17 
+
18 class WebMStreamParser : public MediaParser {
+
19  public:
+ +
21  ~WebMStreamParser() override;
+
22 
+
23  // StreamParser implementation.
+
24  void Init(const InitCB& init_cb,
+
25  const NewSampleCB& new_sample_cb,
+
26  KeySource* decryption_key_source) override;
+
27  void Flush() override;
+
28  bool Parse(const uint8_t* buf, int size) override;
+
29 
+
30  private:
+
31  enum State {
+
32  kWaitingForInit,
+
33  kParsingHeaders,
+
34  kParsingClusters,
+
35  kError
+
36  };
+
37 
+
38  void ChangeState(State new_state);
+
39 
+
40  // Parses WebM Header, Info, Tracks elements. It also skips other level 1
+
41  // elements that are not used right now. Once the Info & Tracks elements have
+
42  // been parsed, this method will transition the parser from PARSING_HEADERS to
+
43  // PARSING_CLUSTERS.
+
44  //
+
45  // Returns < 0 if the parse fails.
+
46  // Returns 0 if more data is needed.
+
47  // Returning > 0 indicates success & the number of bytes parsed.
+
48  int ParseInfoAndTracks(const uint8_t* data, int size);
+
49 
+
50  // Incrementally parses WebM cluster elements. This method also skips
+
51  // CUES elements if they are encountered since we currently don't use the
+
52  // data in these elements.
+
53  //
+
54  // Returns < 0 if the parse fails.
+
55  // Returns 0 if more data is needed.
+
56  // Returning > 0 indicates success & the number of bytes parsed.
+
57  int ParseCluster(const uint8_t* data, int size);
+
58 
+
59  // Fire needkey event through the |encrypted_media_init_data_cb_|.
+
60  void OnEncryptedMediaInitData(const std::string& key_id);
+
61 
+
62  State state_;
+
63  InitCB init_cb_;
+
64  NewSampleCB new_sample_cb_;
+
65  KeySource* decryption_key_source_;
+
66  bool ignore_text_tracks_;
+
67 
+
68  bool unknown_segment_size_;
+
69 
+
70  scoped_ptr<WebMClusterParser> cluster_parser_;
+
71  ByteQueue byte_queue_;
+
72 
+
73  DISALLOW_COPY_AND_ASSIGN(WebMStreamParser);
+
74 };
+
75 
+
76 } // namespace media
+
77 } // namespace edash_packager
+
78 
+
79 #endif // MEDIA_FORMATS_WEBM_WEBM_STREAM_PARSER_H_
+ +
bool Parse(const uint8_t *buf, int size) override
+ +
base::Callback< bool(uint32_t track_id, const scoped_refptr< MediaSample > &media_sample)> NewSampleCB
Definition: media_parser.h:43
+
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:29
+ +
base::Callback< void(const std::vector< scoped_refptr< StreamInfo > > &stream_info)> InitCB
Definition: media_parser.h:34
+ +
void Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) override
+
+ + + + diff --git a/docs/d1/de2/composition__offset__iterator_8cc_source.html b/docs/d1/de2/composition__offset__iterator_8cc_source.html index 69da78f062..b737a5230c 100644 --- a/docs/d1/de2/composition__offset__iterator_8cc_source.html +++ b/docs/d1/de2/composition__offset__iterator_8cc_source.html @@ -159,7 +159,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/df0/aes__encryptor_8h_source.html b/docs/d1/df0/aes__encryptor_8h_source.html index eef590256d..37b7ae35b4 100644 --- a/docs/d1/df0/aes__encryptor_8h_source.html +++ b/docs/d1/df0/aes__encryptor_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // AES Encryptor implementation using openssl.
8 
9 #ifndef MEDIA_BASE_AES_ENCRYPTOR_H_
-
10 #define MEDIA_BASE_AES_ENCRYPTOR_H_
-
11 
+
10 #define MEDIA_BASE_AES_ENCRYPTOR_H_
+
11 
12 #include <string>
13 #include <vector>
14 
@@ -305,7 +305,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/df1/multi__segment__segmenter_8cc_source.html b/docs/d1/df1/multi__segment__segmenter_8cc_source.html index f6b23ff291..6d5b71cf18 100644 --- a/docs/d1/df1/multi__segment__segmenter_8cc_source.html +++ b/docs/d1/df1/multi__segment__segmenter_8cc_source.html @@ -122,13 +122,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
33 
34 MultiSegmentSegmenter::~MultiSegmentSegmenter() {}
35 
-
36 bool MultiSegmentSegmenter::GetInitRange(size_t* offset, size_t* size) {
+
36 bool MultiSegmentSegmenter::GetInitRange(size_t* offset, size_t* size) {
37  DLOG(INFO) << "MultiSegmentSegmenter outputs init segment: "
38  << options().output_file_name;
39  return false;
40 }
41 
-
42 bool MultiSegmentSegmenter::GetIndexRange(size_t* offset, size_t* size) {
+
42 bool MultiSegmentSegmenter::GetIndexRange(size_t* offset, size_t* size) {
43  DLOG(INFO) << "MultiSegmentSegmenter does not have index range.";
44  return false;
45 }
@@ -290,20 +290,20 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Define an abstract file interface.
Definition: file.h:22
virtual bool Open()=0
Internal open. Should not be used directly.
+
bool GetIndexRange(size_t *offset, size_t *size) override
-
virtual bool GetInitRange(size_t *offset, size_t *size) OVERRIDE
-
virtual bool GetIndexRange(size_t *offset, size_t *size) OVERRIDE
void UpdateProgress(uint64_t progress)
Update segmentation progress using ProgressListener.
Definition: segmenter.cc:333
void Write(BufferWriter *writer)
Definition: box.cc:25
void SetComplete()
Set progress to 100%.
Definition: segmenter.cc:349
+
bool GetInitRange(size_t *offset, size_t *size) override
virtual void OnSampleDurationReady(uint32_t sample_duration)=0
diff --git a/docs/d1/dfc/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html b/docs/d1/dfc/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html index db3a2634cd..04c43ecd51 100644 --- a/docs/d1/dfc/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html +++ b/docs/d1/dfc/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d02/timestamp_8h_source.html b/docs/d2/d02/timestamp_8h_source.html index b720cadbc0..b5157a505e 100644 --- a/docs/d2/d02/timestamp_8h_source.html +++ b/docs/d2/d02/timestamp_8h_source.html @@ -95,8 +95,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
6 
7 
8 #ifndef MEDIA_BASE_TIMESTAMP_H_
-
9 #define MEDIA_BASE_TIMESTAMP_H_
-
10 
+
9 #define MEDIA_BASE_TIMESTAMP_H_
+
10 
11 #include <stdint.h>
12 
13 #include <limits>
@@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d03/classedash__packager_1_1media_1_1WebMStreamParser-members.html b/docs/d2/d03/classedash__packager_1_1media_1_1WebMStreamParser-members.html new file mode 100644 index 0000000000..6ed4bb91f0 --- /dev/null +++ b/docs/d2/d03/classedash__packager_1_1media_1_1WebMStreamParser-members.html @@ -0,0 +1,113 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
edash_packager::media::WebMStreamParser Member List
+
+
+ +

This is the complete list of members for edash_packager::media::WebMStreamParser, including all inherited members.

+ + + + + + + + + + +
Flush() overrideedash_packager::media::WebMStreamParservirtual
Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) overrideedash_packager::media::WebMStreamParservirtual
InitCB typedefedash_packager::media::MediaParser
MediaParser() (defined in edash_packager::media::MediaParser)edash_packager::media::MediaParserinline
NewSampleCB typedefedash_packager::media::MediaParser
Parse(const uint8_t *buf, int size) overrideedash_packager::media::WebMStreamParservirtual
WebMStreamParser() (defined in edash_packager::media::WebMStreamParser)edash_packager::media::WebMStreamParser
~MediaParser() (defined in edash_packager::media::MediaParser)edash_packager::media::MediaParserinlinevirtual
~WebMStreamParser() override (defined in edash_packager::media::WebMStreamParser)edash_packager::media::WebMStreamParser
+ + + + diff --git a/docs/d2/d0f/structedash__packager_1_1media_1_1mp4_1_1MediaInformation-members.html b/docs/d2/d0f/structedash__packager_1_1media_1_1mp4_1_1MediaInformation-members.html index 97747f5bf6..624324361e 100644 --- a/docs/d2/d0f/structedash__packager_1_1media_1_1mp4_1_1MediaInformation-members.html +++ b/docs/d2/d0f/structedash__packager_1_1media_1_1mp4_1_1MediaInformation-members.html @@ -95,22 +95,22 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::MediaInformation)edash_packager::media::mp4::MediaInformationvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::MediaInformationvirtual
BoxType() const override (defined in edash_packager::media::mp4::MediaInformation)edash_packager::media::mp4::MediaInformationvirtual
ComputeSize() overrideedash_packager::media::mp4::MediaInformationvirtual
dinf (defined in edash_packager::media::mp4::MediaInformation)edash_packager::media::mp4::MediaInformation
MediaInformation() (defined in edash_packager::media::mp4::MediaInformation)edash_packager::media::mp4::MediaInformation
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::MediaInformationvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::MediaInformationvirtual
sample_table (defined in edash_packager::media::mp4::MediaInformation)edash_packager::media::mp4::MediaInformation
smhd (defined in edash_packager::media::mp4::MediaInformation)edash_packager::media::mp4::MediaInformation
vmhd (defined in edash_packager::media::mp4::MediaInformation)edash_packager::media::mp4::MediaInformation
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~MediaInformation() (defined in edash_packager::media::mp4::MediaInformation)edash_packager::media::mp4::MediaInformationvirtual
~MediaInformation() override (defined in edash_packager::media::mp4::MediaInformation)edash_packager::media::mp4::MediaInformation
diff --git a/docs/d2/d17/ts__section__pat_8cc_source.html b/docs/d2/d17/ts__section__pat_8cc_source.html index c6394d6657..d698c9c946 100644 --- a/docs/d2/d17/ts__section__pat_8cc_source.html +++ b/docs/d2/d17/ts__section__pat_8cc_source.html @@ -182,14 +182,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
93 
94  // Can now register the PMT.
95 #if !defined(NDEBUG)
-
96  int expected_version_number = version_number;
+
96  int expected_version_number = version_number;
97  if (version_number_ >= 0)
98  expected_version_number = (version_number_ + 1) % 32;
99  DVLOG_IF(1, version_number != expected_version_number)
100  << "Unexpected version number: "
101  << version_number << " vs " << version_number_;
102 #endif
-
103  for (int k = 0; k < pmt_pid_count; k++) {
+
103  for (int k = 0; k < pmt_pid_count; k++) {
104  if (program_number_array[k] != 0) {
105  // Program numbers different from 0 correspond to PMT.
106  register_pmt_cb_.Run(program_number_array[k], pmt_pid_array[k]);
@@ -214,7 +214,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d23/threaded__io__file_8cc_source.html b/docs/d2/d23/threaded__io__file_8cc_source.html index 61c1045fbe..9143e3ce44 100644 --- a/docs/d2/d23/threaded__io__file_8cc_source.html +++ b/docs/d2/d23/threaded__io__file_8cc_source.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
31 
32 ThreadedIoFile::~ThreadedIoFile() {}
33 
- +
35  DCHECK(internal_file_);
36 
37  if (!internal_file_->Open())
@@ -137,12 +137,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
48  return true;
49 }
50 
- +
52  DCHECK(internal_file_);
53  DCHECK(thread_);
54 
55  if (mode_ == kOutputMode)
-
56  Flush();
+
56  Flush();
57 
58  cache_.Close();
59  thread_->Join();
@@ -152,7 +152,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
63  return result;
64 }
65 
-
66 int64_t ThreadedIoFile::Read(void* buffer, uint64_t length) {
+
66 int64_t ThreadedIoFile::Read(void* buffer, uint64_t length) {
67  DCHECK(internal_file_);
68  DCHECK(thread_);
69  DCHECK_EQ(kInputMode, mode_);
@@ -166,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
77  return cache_.Read(buffer, length);
78 }
79 
-
80 int64_t ThreadedIoFile::Write(const void* buffer, uint64_t length) {
+
80 int64_t ThreadedIoFile::Write(const void* buffer, uint64_t length) {
81  DCHECK(internal_file_);
82  DCHECK(thread_);
83  DCHECK_EQ(kOutputMode, mode_);
@@ -178,14 +178,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
89  return cache_.Write(buffer, length);
90 }
91 
- +
93  DCHECK(internal_file_);
94  DCHECK(thread_);
95 
96  return size_;
97 }
98 
- +
100  DCHECK(internal_file_);
101  DCHECK(thread_);
102  DCHECK_EQ(kOutputMode, mode_);
@@ -212,12 +212,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
123  }
124 }
125 
-
126 bool ThreadedIoFile::Seek(uint64_t position) {
+
126 bool ThreadedIoFile::Seek(uint64_t position) {
127  NOTIMPLEMENTED();
128  return false;
129 }
130 
-
131 bool ThreadedIoFile::Tell(uint64_t* position) {
+
131 bool ThreadedIoFile::Tell(uint64_t* position) {
132  NOTIMPLEMENTED();
133  return false;
134 }
@@ -245,23 +245,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
156 } // namespace media
157 } // namespace edash_packager
-
virtual int64_t Write(const void *buffer, uint64_t length) OVERRIDE
- -
virtual int64_t Read(void *buffer, uint64_t length) OVERRIDE
+
int64_t Write(const void *buffer, uint64_t length) override
+
bool Seek(uint64_t position) override
+
void WaitUntilEmptyOrClosed()
Waits until the cache is empty or has been closed.
Definition: io_cache.cc:136
+
int64_t Read(void *buffer, uint64_t length) override
+
bool Open() override
Internal open. Should not be used directly.
uint64_t Write(const void *buffer, uint64_t size)
Definition: io_cache.cc:66
- - -
virtual bool Tell(uint64_t *position) OVERRIDE
-
virtual bool Open() OVERRIDE
Internal open. Should not be used directly.
-
virtual bool Seek(uint64_t position) OVERRIDE
+ +
uint64_t Read(void *buffer, uint64_t size)
Definition: io_cache.cc:38
+
bool Tell(uint64_t *position) override
diff --git a/docs/d2/d24/packager__util_8h_source.html b/docs/d2/d24/packager__util_8h_source.html index ce03fc42d2..e1908907bf 100644 --- a/docs/d2/d24/packager__util_8h_source.html +++ b/docs/d2/d24/packager__util_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Packager utility functions.
8 
9 #ifndef APP_PACKAGER_UTIL_H_
-
10 #define APP_PACKAGER_UTIL_H_
-
11 
+
10 #define APP_PACKAGER_UTIL_H_
+
11 
12 #include <gflags/gflags.h>
13 #include <string>
14 #include <vector>
@@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html b/docs/d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html index deaa7e7707..2bcde29c23 100644 --- a/docs/d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html +++ b/docs/d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::SampleGroupDescription:

Public Member Functions

- -virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE - Read/write the mp4 box from/to BoxBuffer.
-  - -virtual FourCC BoxType () const OVERRIDE -  -virtual uint32_t ComputeSize () OVERRIDE -  + +bool ReadWrite (BoxBuffer *buffer) override + Read/write the mp4 box from/to BoxBuffer.
+  + +FourCC BoxType () const override +  +uint32_t ComputeSize () override +  - Public Member Functions inherited from edash_packager::media::mp4::Box bool Parse (BoxReader *reader)   @@ -149,7 +149,7 @@ Additional Inherited Members

Definition at line 524 of file box_definitions.h.

Member Function Documentation

- +
@@ -165,7 +165,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -184,7 +184,7 @@ Additional Inherited Members
diff --git a/docs/d2/d2d/structedash__packager_1_1media_1_1mp4_1_1MediaHeader-members.html b/docs/d2/d2d/structedash__packager_1_1media_1_1mp4_1_1MediaHeader-members.html index d249c22ebc..298a1edd62 100644 --- a/docs/d2/d2d/structedash__packager_1_1media_1_1mp4_1_1MediaHeader-members.html +++ b/docs/d2/d2d/structedash__packager_1_1media_1_1mp4_1_1MediaHeader-members.html @@ -95,8 +95,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + @@ -105,17 +105,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::MediaHeader)edash_packager::media::mp4::MediaHeadervirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::MediaHeadervirtual
BoxType() const override (defined in edash_packager::media::mp4::MediaHeader)edash_packager::media::mp4::MediaHeadervirtual
ComputeSize() overrideedash_packager::media::mp4::MediaHeadervirtual
creation_time (defined in edash_packager::media::mp4::MediaHeader)edash_packager::media::mp4::MediaHeader
duration (defined in edash_packager::media::mp4::MediaHeader)edash_packager::media::mp4::MediaHeader
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
MediaHeader() (defined in edash_packager::media::mp4::MediaHeader)edash_packager::media::mp4::MediaHeader
modification_time (defined in edash_packager::media::mp4::MediaHeader)edash_packager::media::mp4::MediaHeader
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::MediaHeadervirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::MediaHeadervirtual
timescale (defined in edash_packager::media::mp4::MediaHeader)edash_packager::media::mp4::MediaHeader
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~MediaHeader() (defined in edash_packager::media::mp4::MediaHeader)edash_packager::media::mp4::MediaHeadervirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~MediaHeader() override (defined in edash_packager::media::mp4::MediaHeader)edash_packager::media::mp4::MediaHeader
diff --git a/docs/d2/d30/tracks__builder_8cc_source.html b/docs/d2/d30/tracks__builder_8cc_source.html new file mode 100644 index 0000000000..2a943acfe6 --- /dev/null +++ b/docs/d2/d30/tracks__builder_8cc_source.html @@ -0,0 +1,495 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/tracks_builder.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
tracks_builder.cc
+
+
+
1 // Copyright 2014 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 #include "packager/media/formats/webm/tracks_builder.h"
+
6 
+
7 #include "packager/base/logging.h"
+
8 #include "packager/media/formats/webm/webm_constants.h"
+
9 
+
10 namespace edash_packager {
+
11 namespace media {
+
12 
+
13 // Returns size of an integer, formatted using Matroska serialization.
+
14 static int GetUIntMkvSize(uint64_t value) {
+
15  if (value < 0x07FULL)
+
16  return 1;
+
17  if (value < 0x03FFFULL)
+
18  return 2;
+
19  if (value < 0x01FFFFFULL)
+
20  return 3;
+
21  if (value < 0x0FFFFFFFULL)
+
22  return 4;
+
23  if (value < 0x07FFFFFFFFULL)
+
24  return 5;
+
25  if (value < 0x03FFFFFFFFFFULL)
+
26  return 6;
+
27  if (value < 0x01FFFFFFFFFFFFULL)
+
28  return 7;
+
29  return 8;
+
30 }
+
31 
+
32 // Returns the minimium size required to serialize an integer value.
+
33 static int GetUIntSize(uint64_t value) {
+
34  if (value < 0x0100ULL)
+
35  return 1;
+
36  if (value < 0x010000ULL)
+
37  return 2;
+
38  if (value < 0x01000000ULL)
+
39  return 3;
+
40  if (value < 0x0100000000ULL)
+
41  return 4;
+
42  if (value < 0x010000000000ULL)
+
43  return 5;
+
44  if (value < 0x01000000000000ULL)
+
45  return 6;
+
46  if (value < 0x0100000000000000ULL)
+
47  return 7;
+
48  return 8;
+
49 }
+
50 
+
51 static int MasterElementSize(int element_id, int payload_size) {
+
52  return GetUIntSize(element_id) + GetUIntMkvSize(payload_size) + payload_size;
+
53 }
+
54 
+
55 static int UIntElementSize(int element_id, uint64_t value) {
+
56  return GetUIntSize(element_id) + 1 + GetUIntSize(value);
+
57 }
+
58 
+
59 static int DoubleElementSize(int element_id) {
+
60  return GetUIntSize(element_id) + 1 + 8;
+
61 }
+
62 
+
63 static int StringElementSize(int element_id, const std::string& value) {
+
64  return GetUIntSize(element_id) +
+
65  GetUIntMkvSize(value.length()) +
+
66  value.length();
+
67 }
+
68 
+
69 static void SerializeInt(uint8_t** buf_ptr,
+
70  int* buf_size_ptr,
+
71  int64_t value,
+
72  int size) {
+
73  uint8_t*& buf = *buf_ptr;
+
74  int& buf_size = *buf_size_ptr;
+
75 
+
76  for (int idx = 1; idx <= size; ++idx) {
+
77  *buf++ = static_cast<uint8_t>(value >> ((size - idx) * 8));
+
78  --buf_size;
+
79  }
+
80 }
+
81 
+
82 static void SerializeDouble(uint8_t** buf_ptr,
+
83  int* buf_size_ptr,
+
84  double value) {
+
85  // Use a union to convert |value| to native endian integer bit pattern.
+
86  union {
+
87  double src;
+
88  int64_t dst;
+
89  } tmp;
+
90  tmp.src = value;
+
91 
+
92  // Write the bytes from native endian |tmp.dst| to big-endian form in |buf|.
+
93  SerializeInt(buf_ptr, buf_size_ptr, tmp.dst, 8);
+
94 }
+
95 
+
96 static void WriteElementId(uint8_t** buf, int* buf_size, int element_id) {
+
97  SerializeInt(buf, buf_size, element_id, GetUIntSize(element_id));
+
98 }
+
99 
+
100 static void WriteUInt(uint8_t** buf, int* buf_size, uint64_t value) {
+
101  const int size = GetUIntMkvSize(value);
+
102  value |= (1ULL << (size * 7)); // Matroska formatting
+
103  SerializeInt(buf, buf_size, value, size);
+
104 }
+
105 
+
106 static void WriteMasterElement(uint8_t** buf,
+
107  int* buf_size,
+
108  int element_id,
+
109  int payload_size) {
+
110  WriteElementId(buf, buf_size, element_id);
+
111  WriteUInt(buf, buf_size, payload_size);
+
112 }
+
113 
+
114 static void WriteUIntElement(uint8_t** buf,
+
115  int* buf_size,
+
116  int element_id,
+
117  uint64_t value) {
+
118  WriteElementId(buf, buf_size, element_id);
+
119 
+
120  const int size = GetUIntSize(value);
+
121  WriteUInt(buf, buf_size, size);
+
122 
+
123  SerializeInt(buf, buf_size, value, size);
+
124 }
+
125 
+
126 static void WriteDoubleElement(uint8_t** buf,
+
127  int* buf_size,
+
128  int element_id,
+
129  double value) {
+
130  WriteElementId(buf, buf_size, element_id);
+
131  WriteUInt(buf, buf_size, 8);
+
132  SerializeDouble(buf, buf_size, value);
+
133 }
+
134 
+
135 static void WriteStringElement(uint8_t** buf_ptr,
+
136  int* buf_size_ptr,
+
137  int element_id,
+
138  const std::string& value) {
+
139  uint8_t*& buf = *buf_ptr;
+
140  int& buf_size = *buf_size_ptr;
+
141 
+
142  WriteElementId(&buf, &buf_size, element_id);
+
143 
+
144  const uint64_t size = value.length();
+
145  WriteUInt(&buf, &buf_size, size);
+
146 
+
147  memcpy(buf, value.data(), size);
+
148  buf += size;
+
149  buf_size -= size;
+
150 }
+
151 
+
152 TracksBuilder::TracksBuilder(bool allow_invalid_values)
+
153  : allow_invalid_values_(allow_invalid_values) {}
+
154 TracksBuilder::TracksBuilder()
+
155  : allow_invalid_values_(false) {}
+
156 TracksBuilder::~TracksBuilder() {}
+
157 
+
158 void TracksBuilder::AddVideoTrack(int track_num,
+
159  uint64_t track_uid,
+
160  const std::string& codec_id,
+
161  const std::string& name,
+
162  const std::string& language,
+
163  int default_duration,
+
164  int video_pixel_width,
+
165  int video_pixel_height) {
+
166  AddTrackInternal(track_num, kWebMTrackTypeVideo, track_uid, codec_id, name,
+
167  language, default_duration, video_pixel_width,
+
168  video_pixel_height, -1, -1);
+
169 }
+
170 
+
171 void TracksBuilder::AddAudioTrack(int track_num,
+
172  uint64_t track_uid,
+
173  const std::string& codec_id,
+
174  const std::string& name,
+
175  const std::string& language,
+
176  int default_duration,
+
177  int audio_channels,
+
178  double audio_sampling_frequency) {
+
179  AddTrackInternal(track_num, kWebMTrackTypeAudio, track_uid, codec_id, name,
+
180  language, default_duration, -1, -1, audio_channels,
+
181  audio_sampling_frequency);
+
182 }
+
183 
+
184 void TracksBuilder::AddTextTrack(int track_num,
+
185  uint64_t track_uid,
+
186  const std::string& codec_id,
+
187  const std::string& name,
+
188  const std::string& language) {
+
189  AddTrackInternal(track_num, kWebMTrackTypeSubtitlesOrCaptions, track_uid,
+
190  codec_id, name, language, -1, -1, -1, -1, -1);
+
191 }
+
192 
+
193 std::vector<uint8_t> TracksBuilder::Finish() {
+
194  // Allocate the storage
+
195  std::vector<uint8_t> buffer;
+
196  buffer.resize(GetTracksSize());
+
197 
+
198  // Populate the storage with a tracks header
+
199  WriteTracks(&buffer[0], buffer.size());
+
200 
+
201  return buffer;
+
202 }
+
203 
+
204 void TracksBuilder::AddTrackInternal(int track_num,
+
205  int track_type,
+
206  uint64_t track_uid,
+
207  const std::string& codec_id,
+
208  const std::string& name,
+
209  const std::string& language,
+
210  int default_duration,
+
211  int video_pixel_width,
+
212  int video_pixel_height,
+
213  int audio_channels,
+
214  double audio_sampling_frequency) {
+
215  tracks_.push_back(Track(track_num, track_type, track_uid, codec_id, name,
+
216  language, default_duration, video_pixel_width,
+
217  video_pixel_height, audio_channels,
+
218  audio_sampling_frequency, allow_invalid_values_));
+
219 }
+
220 
+
221 int TracksBuilder::GetTracksSize() const {
+
222  return MasterElementSize(kWebMIdTracks, GetTracksPayloadSize());
+
223 }
+
224 
+
225 int TracksBuilder::GetTracksPayloadSize() const {
+
226  int payload_size = 0;
+
227 
+
228  for (TrackList::const_iterator itr = tracks_.begin();
+
229  itr != tracks_.end(); ++itr) {
+
230  payload_size += itr->GetSize();
+
231  }
+
232 
+
233  return payload_size;
+
234 }
+
235 
+
236 void TracksBuilder::WriteTracks(uint8_t* buf, int buf_size) const {
+
237  WriteMasterElement(&buf, &buf_size, kWebMIdTracks, GetTracksPayloadSize());
+
238 
+
239  for (TrackList::const_iterator itr = tracks_.begin();
+
240  itr != tracks_.end(); ++itr) {
+
241  itr->Write(&buf, &buf_size);
+
242  }
+
243 }
+
244 
+
245 TracksBuilder::Track::Track(int track_num,
+
246  int track_type,
+
247  uint64_t track_uid,
+
248  const std::string& codec_id,
+
249  const std::string& name,
+
250  const std::string& language,
+
251  int default_duration,
+
252  int video_pixel_width,
+
253  int video_pixel_height,
+
254  int audio_channels,
+
255  double audio_sampling_frequency,
+
256  bool allow_invalid_values)
+
257  : track_num_(track_num),
+
258  track_type_(track_type),
+
259  track_uid_(track_uid),
+
260  codec_id_(codec_id),
+
261  name_(name),
+
262  language_(language),
+
263  default_duration_(default_duration),
+
264  video_pixel_width_(video_pixel_width),
+
265  video_pixel_height_(video_pixel_height),
+
266  audio_channels_(audio_channels),
+
267  audio_sampling_frequency_(audio_sampling_frequency) {
+
268  if (!allow_invalid_values) {
+
269  CHECK_GT(track_num_, 0);
+
270  CHECK_GT(track_type_, 0);
+
271  CHECK_LT(track_type_, 255);
+
272  CHECK_GT(track_uid_, 0);
+
273  if (track_type != kWebMTrackTypeVideo &&
+
274  track_type != kWebMTrackTypeAudio) {
+
275  CHECK_EQ(default_duration_, -1);
+
276  } else {
+
277  CHECK(default_duration_ == -1 || default_duration_ > 0);
+
278  }
+
279 
+
280  if (track_type == kWebMTrackTypeVideo) {
+
281  CHECK_GT(video_pixel_width_, 0);
+
282  CHECK_GT(video_pixel_height_, 0);
+
283  } else {
+
284  CHECK_EQ(video_pixel_width_, -1);
+
285  CHECK_EQ(video_pixel_height_, -1);
+
286  }
+
287 
+
288  if (track_type == kWebMTrackTypeAudio) {
+
289  CHECK_GT(audio_channels_, 0);
+
290  CHECK_GT(audio_sampling_frequency_, 0.0);
+
291  } else {
+
292  CHECK_EQ(audio_channels_, -1);
+
293  CHECK_EQ(audio_sampling_frequency_, -1.0);
+
294  }
+
295  }
+
296 }
+
297 
+
298 int TracksBuilder::Track::GetSize() const {
+
299  return MasterElementSize(kWebMIdTrackEntry, GetPayloadSize());
+
300 }
+
301 
+
302 int TracksBuilder::Track::GetVideoPayloadSize() const {
+
303  int payload_size = 0;
+
304 
+
305  if (video_pixel_width_ >= 0)
+
306  payload_size += UIntElementSize(kWebMIdPixelWidth, video_pixel_width_);
+
307  if (video_pixel_height_ >= 0)
+
308  payload_size += UIntElementSize(kWebMIdPixelHeight, video_pixel_height_);
+
309 
+
310  return payload_size;
+
311 }
+
312 
+
313 int TracksBuilder::Track::GetAudioPayloadSize() const {
+
314  int payload_size = 0;
+
315 
+
316  if (audio_channels_ >= 0)
+
317  payload_size += UIntElementSize(kWebMIdChannels, audio_channels_);
+
318  if (audio_sampling_frequency_ >= 0)
+
319  payload_size += DoubleElementSize(kWebMIdSamplingFrequency);
+
320 
+
321  return payload_size;
+
322 }
+
323 
+
324 int TracksBuilder::Track::GetPayloadSize() const {
+
325  int size = 0;
+
326 
+
327  size += UIntElementSize(kWebMIdTrackNumber, track_num_);
+
328  size += UIntElementSize(kWebMIdTrackType, track_type_);
+
329  size += UIntElementSize(kWebMIdTrackUID, track_uid_);
+
330 
+
331  if (default_duration_ >= 0)
+
332  size += UIntElementSize(kWebMIdDefaultDuration, default_duration_);
+
333 
+
334  if (!codec_id_.empty())
+
335  size += StringElementSize(kWebMIdCodecID, codec_id_);
+
336 
+
337  if (!name_.empty())
+
338  size += StringElementSize(kWebMIdName, name_);
+
339 
+
340  if (!language_.empty())
+
341  size += StringElementSize(kWebMIdLanguage, language_);
+
342 
+
343  if (GetVideoPayloadSize() > 0) {
+
344  size += MasterElementSize(kWebMIdVideo, GetVideoPayloadSize());
+
345  }
+
346 
+
347  if (GetAudioPayloadSize() > 0) {
+
348  size += MasterElementSize(kWebMIdAudio, GetAudioPayloadSize());
+
349  }
+
350 
+
351  return size;
+
352 }
+
353 
+
354 void TracksBuilder::Track::Write(uint8_t** buf, int* buf_size) const {
+
355  WriteMasterElement(buf, buf_size, kWebMIdTrackEntry, GetPayloadSize());
+
356 
+
357  WriteUIntElement(buf, buf_size, kWebMIdTrackNumber, track_num_);
+
358  WriteUIntElement(buf, buf_size, kWebMIdTrackType, track_type_);
+
359  WriteUIntElement(buf, buf_size, kWebMIdTrackUID, track_uid_);
+
360 
+
361  if (default_duration_ >= 0)
+
362  WriteUIntElement(buf, buf_size, kWebMIdDefaultDuration, default_duration_);
+
363 
+
364  if (!codec_id_.empty())
+
365  WriteStringElement(buf, buf_size, kWebMIdCodecID, codec_id_);
+
366 
+
367  if (!name_.empty())
+
368  WriteStringElement(buf, buf_size, kWebMIdName, name_);
+
369 
+
370  if (!language_.empty())
+
371  WriteStringElement(buf, buf_size, kWebMIdLanguage, language_);
+
372 
+
373  if (GetVideoPayloadSize() > 0) {
+
374  WriteMasterElement(buf, buf_size, kWebMIdVideo, GetVideoPayloadSize());
+
375 
+
376  if (video_pixel_width_ >= 0)
+
377  WriteUIntElement(buf, buf_size, kWebMIdPixelWidth, video_pixel_width_);
+
378 
+
379  if (video_pixel_height_ >= 0)
+
380  WriteUIntElement(buf, buf_size, kWebMIdPixelHeight, video_pixel_height_);
+
381  }
+
382 
+
383  if (GetAudioPayloadSize() > 0) {
+
384  WriteMasterElement(buf, buf_size, kWebMIdAudio, GetAudioPayloadSize());
+
385 
+
386  if (audio_channels_ >= 0)
+
387  WriteUIntElement(buf, buf_size, kWebMIdChannels, audio_channels_);
+
388 
+
389  if (audio_sampling_frequency_ >= 0) {
+
390  WriteDoubleElement(buf, buf_size, kWebMIdSamplingFrequency,
+
391  audio_sampling_frequency_);
+
392  }
+
393  }
+
394 }
+
395 
+
396 } // namespace media
+
397 } // namespace edash_packager
+
+ + + + diff --git a/docs/d2/d48/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader-members.html b/docs/d2/d48/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader-members.html index 6e7a51d561..b2491cc713 100644 --- a/docs/d2/d48/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader-members.html +++ b/docs/d2/d48/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d4b/structedash__packager_1_1media_1_1FileCloser-members.html b/docs/d2/d4b/structedash__packager_1_1media_1_1FileCloser-members.html index 478aa6fcff..c0dc160333 100644 --- a/docs/d2/d4b/structedash__packager_1_1media_1_1FileCloser-members.html +++ b/docs/d2/d4b/structedash__packager_1_1media_1_1FileCloser-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d4d/file_8h_source.html b/docs/d2/d4d/file_8h_source.html index 90d3c1fb9d..18ecc33fec 100644 --- a/docs/d2/d4d/file_8h_source.html +++ b/docs/d2/d4d/file_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef PACKAGER_FILE_FILE_H_
-
8 #define PACKAGER_FILE_FILE_H_
-
9 
+
8 #define PACKAGER_FILE_FILE_H_
+
9 
10 #include <stdint.h>
11 
12 #include <string>
@@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d50/structedash__packager_1_1media_1_1H264DecRefPicMarking.html b/docs/d2/d50/structedash__packager_1_1media_1_1H264DecRefPicMarking.html index 30f393ee6d..be1294feee 100644 --- a/docs/d2/d50/structedash__packager_1_1media_1_1H264DecRefPicMarking.html +++ b/docs/d2/d50/structedash__packager_1_1media_1_1H264DecRefPicMarking.html @@ -121,7 +121,7 @@ int max_long_term_frame_id diff --git a/docs/d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html b/docs/d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html index 2b06b8efd3..19cb981adb 100644 --- a/docs/d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html +++ b/docs/d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::SampleAuxiliaryInformationSi - - - - - - - + + + + + + + @@ -151,7 +151,7 @@ Additional Inherited Members

Definition at line 65 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -167,7 +167,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -186,7 +186,7 @@ Additional Inherited Members
diff --git a/docs/d2/d5b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt.html b/docs/d2/d5b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt.html index ee5d8373b7..45989bde34 100644 --- a/docs/d2/d5b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt.html +++ b/docs/d2/d5b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt.html @@ -112,7 +112,7 @@ typedef base::Callback< void(int,
int)> RegisterPesCb   - Public Types inherited from edash_packager::media::mp2t::TsSection -enum  SpecialPid {
+enum  SpecialPid {
  kPidPat = 0x0, kPidCat = 0x1, kPidTsdt = 0x2, @@ -128,22 +128,22 @@ Public Member Functions  TsSectionPmt (const RegisterPesCb &register_pes_cb)   - -virtual bool ParsePsiSection (BitReader *bit_reader) OVERRIDE -  - -virtual void ResetPsiSection () OVERRIDE -  + +bool ParsePsiSection (BitReader *bit_reader) override +  + +void ResetPsiSection () override +  - Public Member Functions inherited from edash_packager::media::mp2t::TsSectionPsi - -virtual bool Parse (bool payload_unit_start_indicator, const uint8_t *buf, int size) OVERRIDE -  - -virtual void Flush () OVERRIDE -  - -virtual void Reset () OVERRIDE -  + +bool Parse (bool payload_unit_start_indicator, const uint8_t *buf, int size) override +  + +void Flush () override +  + +void Reset () override + 

Detailed Description

@@ -155,7 +155,7 @@ virtual void Reset ()
diff --git a/docs/d2/d5d/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader-members.html b/docs/d2/d5d/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader-members.html index 2d2a9c3844..8e50644a1f 100644 --- a/docs/d2/d5d/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader-members.html +++ b/docs/d2/d5d/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader-members.html @@ -95,8 +95,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + @@ -104,17 +104,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::VideoMediaHeader)edash_packager::media::mp4::VideoMediaHeadervirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::VideoMediaHeadervirtual
BoxType() const override (defined in edash_packager::media::mp4::VideoMediaHeader)edash_packager::media::mp4::VideoMediaHeadervirtual
ComputeSize() overrideedash_packager::media::mp4::VideoMediaHeadervirtual
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
graphicsmode (defined in edash_packager::media::mp4::VideoMediaHeader)edash_packager::media::mp4::VideoMediaHeader
opcolor_green (defined in edash_packager::media::mp4::VideoMediaHeader)edash_packager::media::mp4::VideoMediaHeader
opcolor_red (defined in edash_packager::media::mp4::VideoMediaHeader)edash_packager::media::mp4::VideoMediaHeader
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::VideoMediaHeadervirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::VideoMediaHeadervirtual
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
VideoMediaHeader() (defined in edash_packager::media::mp4::VideoMediaHeader)edash_packager::media::mp4::VideoMediaHeader
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~VideoMediaHeader() (defined in edash_packager::media::mp4::VideoMediaHeader)edash_packager::media::mp4::VideoMediaHeadervirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~VideoMediaHeader() override (defined in edash_packager::media::mp4::VideoMediaHeader)edash_packager::media::mp4::VideoMediaHeader
diff --git a/docs/d2/d62/simple__mpd__notifier_8h_source.html b/docs/d2/d62/simple__mpd__notifier_8h_source.html index 1dab23801c..58ebcfaf80 100644 --- a/docs/d2/d62/simple__mpd__notifier_8h_source.html +++ b/docs/d2/d62/simple__mpd__notifier_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MPD_BASE_SIMPLE_MPD_NOTIFIER_H_
-
8 #define MPD_BASE_SIMPLE_MPD_NOTIFIER_H_
-
9 
+
8 #define MPD_BASE_SIMPLE_MPD_NOTIFIER_H_
+
9 
10 #include <map>
11 #include <string>
12 #include <vector>
@@ -121,76 +121,74 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
34  const MpdOptions& mpd_options,
35  const std::vector<std::string>& base_urls,
36  const std::string& output_path);
-
37  virtual ~SimpleMpdNotifier();
+
37  ~SimpleMpdNotifier() override;
38 
-
41  virtual bool Init() OVERRIDE;
-
42  virtual bool NotifyNewContainer(const MediaInfo& media_info,
-
43  uint32_t* id) OVERRIDE;
-
44  virtual bool NotifySampleDuration(uint32_t container_id,
-
45  uint32_t sample_duration) OVERRIDE;
-
46  virtual bool NotifyNewSegment(uint32_t id,
-
47  uint64_t start_time,
-
48  uint64_t duration,
-
49  uint64_t size) OVERRIDE;
-
50  virtual bool NotifyEncryptionUpdate(
-
51  uint32_t container_id,
-
52  const std::string& drm_uuid,
-
53  const std::vector<uint8_t>& new_key_id,
-
54  const std::vector<uint8_t>& new_pssh) OVERRIDE;
-
55  virtual bool AddContentProtectionElement(
-
56  uint32_t id,
-
57  const ContentProtectionElement& content_protection_element) OVERRIDE;
-
58  virtual bool Flush() OVERRIDE;
-
60 
-
61  private:
-
62  friend class SimpleMpdNotifierTest;
-
63 
-
64  // Testing only method. Returns a pointer to MpdBuilder.
-
65  MpdBuilder* MpdBuilderForTesting() const {
-
66  return mpd_builder_.get();
-
67  }
-
68 
-
69  // Testing only method. Sets mpd_builder_.
-
70  void SetMpdBuilderForTesting(scoped_ptr<MpdBuilder> mpd_builder) {
-
71  mpd_builder_ = mpd_builder.Pass();
-
72  }
-
73 
-
74  // MPD output path.
-
75  std::string output_path_;
-
76  scoped_ptr<MpdBuilder> mpd_builder_;
-
77  base::Lock lock_;
-
78 
-
79  // [type][lang] = AdaptationSet
-
80  typedef std::map<ContentType, std::map<std::string, AdaptationSet*> >
-
81  AdaptationSetMap;
-
82  AdaptationSetMap adaptation_set_map_;
-
83 
-
84  typedef std::map<uint32_t, Representation*> RepresentationMap;
-
85  RepresentationMap representation_map_;
-
86 
-
87  DISALLOW_COPY_AND_ASSIGN(SimpleMpdNotifier);
-
88 };
+
41  bool Init() override;
+
42  bool NotifyNewContainer(const MediaInfo& media_info, uint32_t* id) override;
+
43  bool NotifySampleDuration(uint32_t container_id,
+
44  uint32_t sample_duration) override;
+
45  bool NotifyNewSegment(uint32_t id,
+
46  uint64_t start_time,
+
47  uint64_t duration,
+
48  uint64_t size) override;
+
49  bool NotifyEncryptionUpdate(uint32_t container_id,
+
50  const std::string& drm_uuid,
+
51  const std::vector<uint8_t>& new_key_id,
+
52  const std::vector<uint8_t>& new_pssh) override;
+ +
54  uint32_t id,
+
55  const ContentProtectionElement& content_protection_element) override;
+
56  bool Flush() override;
+
58 
+
59  private:
+
60  friend class SimpleMpdNotifierTest;
+
61 
+
62  // Testing only method. Returns a pointer to MpdBuilder.
+
63  MpdBuilder* MpdBuilderForTesting() const {
+
64  return mpd_builder_.get();
+
65  }
+
66 
+
67  // Testing only method. Sets mpd_builder_.
+
68  void SetMpdBuilderForTesting(scoped_ptr<MpdBuilder> mpd_builder) {
+
69  mpd_builder_ = mpd_builder.Pass();
+
70  }
+
71 
+
72  // MPD output path.
+
73  std::string output_path_;
+
74  scoped_ptr<MpdBuilder> mpd_builder_;
+
75  base::Lock lock_;
+
76 
+
77  // [type][lang] = AdaptationSet
+
78  typedef std::map<ContentType, std::map<std::string, AdaptationSet*> >
+
79  AdaptationSetMap;
+
80  AdaptationSetMap adaptation_set_map_;
+
81 
+
82  typedef std::map<uint32_t, Representation*> RepresentationMap;
+
83  RepresentationMap representation_map_;
+
84 
+
85  DISALLOW_COPY_AND_ASSIGN(SimpleMpdNotifier);
+
86 };
+
87 
+
88 } // namespace edash_packager
89 
-
90 } // namespace edash_packager
-
91 
-
92 #endif // MPD_BASE_SIMPLE_MPD_NOTIFIER_H_
+
90 #endif // MPD_BASE_SIMPLE_MPD_NOTIFIER_H_
+
bool NotifyEncryptionUpdate(uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) override
Defines Mpd Options.
Definition: mpd_options.h:13
+
bool AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) override
+
DashProfile dash_profile() const
Definition: mpd_notifier.h:108
+
bool NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) override
This class generates DASH MPDs (Media Presentation Descriptions).
Definition: mpd_builder.h:56
-
virtual bool NotifyNewSegment(uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) OVERRIDE
- -
virtual bool NotifyEncryptionUpdate(uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) OVERRIDE
+ +
bool NotifyNewContainer(const MediaInfo &media_info, uint32_t *id) override
+
bool NotifyNewSegment(uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) override
-
virtual bool AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) OVERRIDE
-
virtual bool NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) OVERRIDE
- -
virtual bool NotifyNewContainer(const MediaInfo &media_info, uint32_t *id) OVERRIDE
diff --git a/docs/d2/d6f/classBandwidthEstimator.html b/docs/d2/d6f/classBandwidthEstimator.html index 8fdca08035..2a3839f8a6 100644 --- a/docs/d2/d6f/classBandwidthEstimator.html +++ b/docs/d2/d6f/classBandwidthEstimator.html @@ -151,7 +151,7 @@ static const int kUseAllBl diff --git a/docs/d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html b/docs/d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html index b06ecf99a2..1cafef56dd 100644 --- a/docs/d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html +++ b/docs/d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::SchemeInfo: - - - - - - - + + + + + + + @@ -137,7 +137,7 @@ Additional Inherited Members

Definition at line 95 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -153,7 +153,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -172,7 +172,7 @@ Additional Inherited Members
diff --git a/docs/d2/d7b/simple__mpd__notifier_8cc_source.html b/docs/d2/d7b/simple__mpd__notifier_8cc_source.html index 17d0a95ae2..ce5cd6209b 100644 --- a/docs/d2/d7b/simple__mpd__notifier_8cc_source.html +++ b/docs/d2/d7b/simple__mpd__notifier_8cc_source.html @@ -120,11 +120,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
31 SimpleMpdNotifier::~SimpleMpdNotifier() {
32 }
33 
- +
35  return true;
36 }
37 
-
38 bool SimpleMpdNotifier::NotifyNewContainer(const MediaInfo& media_info,
+
38 bool SimpleMpdNotifier::NotifyNewContainer(const MediaInfo& media_info,
39  uint32_t* container_id) {
40  DCHECK(container_id);
41 
@@ -160,7 +160,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
71  return true;
72 }
73 
-
74 bool SimpleMpdNotifier::NotifySampleDuration(uint32_t container_id,
+
74 bool SimpleMpdNotifier::NotifySampleDuration(uint32_t container_id,
75  uint32_t sample_duration) {
76  base::AutoLock auto_lock(lock_);
77  RepresentationMap::iterator it = representation_map_.find(container_id);
@@ -172,7 +172,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
83  return true;
84 }
85 
-
86 bool SimpleMpdNotifier::NotifyNewSegment(uint32_t container_id,
+
86 bool SimpleMpdNotifier::NotifyNewSegment(uint32_t container_id,
87  uint64_t start_time,
88  uint64_t duration,
89  uint64_t size) {
@@ -186,7 +186,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
97  return true;
98 }
99 
- +
101  uint32_t container_id,
102  const std::string& drm_uuid,
103  const std::vector<uint8_t>& new_key_id,
@@ -202,7 +202,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
113  return true;
114 }
115 
- +
117  uint32_t container_id,
118  const ContentProtectionElement& content_protection_element) {
119  base::AutoLock auto_lock(lock_);
@@ -215,31 +215,31 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
126  return true;
127 }
128 
- +
130  return WriteMpdToFile(output_path_, mpd_builder_.get());
131 }
132 
133 } // namespace edash_packager
+
bool NotifyEncryptionUpdate(uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) override
+
bool AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) override
+
void AddContentProtectionElements(const MediaInfo &media_info, Representation *parent)
Definition: mpd_utils.cc:253
+
bool NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) override
static void MakePathsRelativeToMpd(const std::string &mpd_path, MediaInfo *media_info)
Definition: mpd_builder.cc:608
-
virtual bool NotifyNewSegment(uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) OVERRIDE
- -
virtual bool NotifyEncryptionUpdate(uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) OVERRIDE
+ +
bool NotifyNewContainer(const MediaInfo &media_info, uint32_t *id) override
+
bool NotifyNewSegment(uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) override
std::string Uint8VectorToBase64(const std::vector< uint8_t > &input)
Converts uint8 vector into base64 encoded string.
-
virtual bool AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) OVERRIDE
bool WriteMpdToFile(const std::string &output_path, MpdBuilder *mpd_builder)
-
virtual bool NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) OVERRIDE
- -
virtual bool NotifyNewContainer(const MediaInfo &media_info, uint32_t *id) OVERRIDE
ContentType GetContentType(const MediaInfo &media_info)
diff --git a/docs/d2/d7e/aac__audio__specific__config_8h_source.html b/docs/d2/d7e/aac__audio__specific__config_8h_source.html index bc0f3bb768..4d2850872e 100644 --- a/docs/d2/d7e/aac__audio__specific__config_8h_source.html +++ b/docs/d2/d7e/aac__audio__specific__config_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP4_AAC_AUDIO_SPECIFIC_CONFIG_H_
-
6 #define MEDIA_FORMATS_MP4_AAC_AUDIO_SPECIFIC_CONFIG_H_
-
7 
+
6 #define MEDIA_FORMATS_MP4_AAC_AUDIO_SPECIFIC_CONFIG_H_
+
7 
8 #include <stddef.h>
9 #include <stdint.h>
10 
@@ -166,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d90/classedash__packager_1_1media_1_1Status.html b/docs/d2/d90/classedash__packager_1_1media_1_1Status.html index bd9854a8c0..5277a12669 100644 --- a/docs/d2/d90/classedash__packager_1_1media_1_1Status.html +++ b/docs/d2/d90/classedash__packager_1_1media_1_1Status.html @@ -302,7 +302,7 @@ static const diff --git a/docs/d2/d92/box__reader_8h_source.html b/docs/d2/d92/box__reader_8h_source.html index 3edfeea0b3..a929b5bb6b 100644 --- a/docs/d2/d92/box__reader_8h_source.html +++ b/docs/d2/d92/box__reader_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP4_BOX_READER_H_
-
6 #define MEDIA_FORMATS_MP4_BOX_READER_H_
-
7 
+
6 #define MEDIA_FORMATS_MP4_BOX_READER_H_
+
7 
8 #include <map>
9 #include <vector>
10 
@@ -249,7 +249,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/da6/threaded__io__file_8h_source.html b/docs/d2/da6/threaded__io__file_8h_source.html index ff133bb83f..2811262c36 100644 --- a/docs/d2/da6/threaded__io__file_8h_source.html +++ b/docs/d2/da6/threaded__io__file_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef PACKAGER_FILE_THREADED_IO_FILE_H_
-
8 #define PACKAGER_FILE_THREADED_IO_FILE_H_
-
9 
+
8 #define PACKAGER_FILE_THREADED_IO_FILE_H_
+
9 
10 #include "packager/base/memory/scoped_ptr.h"
11 #include "packager/base/synchronization/lock.h"
12 #include "packager/media/file/file.h"
@@ -119,18 +119,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
31  uint64_t io_cache_size,
32  uint64_t io_block_size);
33 
-
36  virtual bool Close() OVERRIDE;
-
37  virtual int64_t Read(void* buffer, uint64_t length) OVERRIDE;
-
38  virtual int64_t Write(const void* buffer, uint64_t length) OVERRIDE;
-
39  virtual int64_t Size() OVERRIDE;
-
40  virtual bool Flush() OVERRIDE;
-
41  virtual bool Seek(uint64_t position) OVERRIDE;
-
42  virtual bool Tell(uint64_t* position) OVERRIDE;
+
36  bool Close() override;
+
37  int64_t Read(void* buffer, uint64_t length) override;
+
38  int64_t Write(const void* buffer, uint64_t length) override;
+
39  int64_t Size() override;
+
40  bool Flush() override;
+
41  bool Seek(uint64_t position) override;
+
42  bool Tell(uint64_t* position) override;
44 
45  protected:
-
46  virtual ~ThreadedIoFile();
+
46  ~ThreadedIoFile() override;
47 
-
48  virtual bool Open() OVERRIDE;
+
48  bool Open() override;
49 
50  void RunInInputMode();
51  void RunInOutputMode();
@@ -152,21 +152,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
67 } // namespace edash_packager
68 
69 #endif // PACKAGER_FILE_THREADED_IO_FILE_H
-
virtual int64_t Write(const void *buffer, uint64_t length) OVERRIDE
- -
virtual int64_t Read(void *buffer, uint64_t length) OVERRIDE
+
int64_t Write(const void *buffer, uint64_t length) override
Declaration of class which implements a thread-safe circular buffer.
Definition: io_cache.h:20
+
bool Seek(uint64_t position) override
+
Define an abstract file interface.
Definition: file.h:22
- - -
virtual bool Tell(uint64_t *position) OVERRIDE
-
virtual bool Open() OVERRIDE
Internal open. Should not be used directly.
+
int64_t Read(void *buffer, uint64_t length) override
+
bool Open() override
Internal open. Should not be used directly.
+
Declaration of class which implements a thread-safe circular buffer.
-
virtual bool Seek(uint64_t position) OVERRIDE
+ +
bool Tell(uint64_t *position) override
diff --git a/docs/d2/dd9/structedash__packager_1_1media_1_1VideoStreamInfoParameters.html b/docs/d2/dd9/structedash__packager_1_1media_1_1VideoStreamInfoParameters.html index 61f0d84a6f..71f0dce423 100644 --- a/docs/d2/dd9/structedash__packager_1_1media_1_1VideoStreamInfoParameters.html +++ b/docs/d2/dd9/structedash__packager_1_1media_1_1VideoStreamInfoParameters.html @@ -146,7 +146,7 @@ bool is_encrypted diff --git a/docs/d2/de6/packager__main_8cc_source.html b/docs/d2/de6/packager__main_8cc_source.html index 7d0b0f9ee2..ffff6a4dce 100644 --- a/docs/d2/de6/packager__main_8cc_source.html +++ b/docs/d2/de6/packager__main_8cc_source.html @@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
78 // testing.
79 class FakeClock : public base::Clock {
80  public:
-
81  virtual base::Time Now() OVERRIDE { return base::Time(); }
+
81  base::Time Now() override { return base::Time(); }
82 };
83 
84 // Demux, Mux(es) and worker thread used to remux a source file/stream.
@@ -177,7 +177,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
88  : SimpleThread("RemuxJob"),
89  demuxer_(demuxer.Pass()) {}
90 
-
91  virtual ~RemuxJob() {
+
91  ~RemuxJob() override {
92  STLDeleteElements(&muxers_);
93  }
94 
@@ -189,7 +189,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
100  Status status() { return status_; }
101 
102  private:
-
103  virtual void Run() OVERRIDE {
+
103  void Run() override {
104  DCHECK(demuxer_);
105  status_ = demuxer_->Run();
106  }
@@ -432,7 +432,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/deb/es__parser_8h_source.html b/docs/d2/deb/es__parser_8h_source.html index acf0e01081..dd887b8fc8 100644 --- a/docs/d2/deb/es__parser_8h_source.html +++ b/docs/d2/deb/es__parser_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP2T_ES_PARSER_H_
-
6 #define MEDIA_FORMATS_MP2T_ES_PARSER_H_
-
7 
+
6 #define MEDIA_FORMATS_MP2T_ES_PARSER_H_
+
7 
8 #include <stdint.h>
9 
10 #include "packager/base/callback.h"
@@ -109,42 +109,43 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
20 
21 class EsParser {
22  public:
-
23  typedef base::Callback<void(scoped_refptr<StreamInfo>&)> NewStreamInfoCB;
-
24  typedef base::Callback<void(uint32_t, scoped_refptr<MediaSample>&)>
-
25  EmitSampleCB;
-
26 
-
27  EsParser(uint32_t pid) : pid_(pid) {}
-
28  virtual ~EsParser() {}
-
29 
-
30  // ES parsing.
-
31  // Should use kNoTimestamp when a timestamp is not valid.
-
32  virtual bool Parse(const uint8_t* buf,
-
33  int size,
-
34  int64_t pts,
-
35  int64_t dts) = 0;
-
36 
-
37  // Flush any pending buffer.
-
38  virtual void Flush() = 0;
-
39 
-
40  // Reset the state of the ES parser.
-
41  virtual void Reset() = 0;
-
42 
-
43  uint32_t pid() { return pid_; }
-
44 
-
45  private:
-
46  uint32_t pid_;
-
47 };
-
48 
-
49 } // namespace mp2t
-
50 } // namespace media
-
51 } // namespace edash_packager
-
52 
-
53 #endif
+
23  typedef base::Callback<void(const scoped_refptr<StreamInfo>&)>
+
24  NewStreamInfoCB;
+
25  typedef base::Callback<void(uint32_t, const scoped_refptr<MediaSample>&)>
+
26  EmitSampleCB;
+
27 
+
28  EsParser(uint32_t pid) : pid_(pid) {}
+
29  virtual ~EsParser() {}
+
30 
+
31  // ES parsing.
+
32  // Should use kNoTimestamp when a timestamp is not valid.
+
33  virtual bool Parse(const uint8_t* buf,
+
34  int size,
+
35  int64_t pts,
+
36  int64_t dts) = 0;
+
37 
+
38  // Flush any pending buffer.
+
39  virtual void Flush() = 0;
+
40 
+
41  // Reset the state of the ES parser.
+
42  virtual void Reset() = 0;
+
43 
+
44  uint32_t pid() { return pid_; }
+
45 
+
46  private:
+
47  uint32_t pid_;
+
48 };
+
49 
+
50 } // namespace mp2t
+
51 } // namespace media
+
52 } // namespace edash_packager
+
53 
+
54 #endif
diff --git a/docs/d2/df3/structedash__packager_1_1media_1_1mp4_1_1Edit-members.html b/docs/d2/df3/structedash__packager_1_1media_1_1mp4_1_1Edit-members.html index 6da95d0902..3bc896a809 100644 --- a/docs/d2/df3/structedash__packager_1_1media_1_1mp4_1_1Edit-members.html +++ b/docs/d2/df3/structedash__packager_1_1media_1_1mp4_1_1Edit-members.html @@ -95,19 +95,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::Edit)edash_packager::media::mp4::Editvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::Editvirtual
BoxType() const override (defined in edash_packager::media::mp4::Edit)edash_packager::media::mp4::Editvirtual
ComputeSize() overrideedash_packager::media::mp4::Editvirtual
Edit() (defined in edash_packager::media::mp4::Edit)edash_packager::media::mp4::Edit
list (defined in edash_packager::media::mp4::Edit)edash_packager::media::mp4::Edit
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::Editvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::Editvirtual
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~Edit() (defined in edash_packager::media::mp4::Edit)edash_packager::media::mp4::Editvirtual
~Edit() override (defined in edash_packager::media::mp4::Edit)edash_packager::media::mp4::Edit
diff --git a/docs/d2/dfa/classedash__packager_1_1RepresentationStateChangeListener.html b/docs/d2/dfa/classedash__packager_1_1RepresentationStateChangeListener.html index d7cd545d78..ca2a09c0bf 100644 --- a/docs/d2/dfa/classedash__packager_1_1RepresentationStateChangeListener.html +++ b/docs/d2/dfa/classedash__packager_1_1RepresentationStateChangeListener.html @@ -195,7 +195,7 @@ Public Member Functions diff --git a/docs/d2/dfd/adts__header_8h_source.html b/docs/d2/dfd/adts__header_8h_source.html index ec8a26702a..27ccf9608a 100644 --- a/docs/d2/dfd/adts__header_8h_source.html +++ b/docs/d2/dfd/adts__header_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP2T_ADTS_HEADER_H_
-
8 #define MEDIA_FORMATS_MP2T_ADTS_HEADER_H_
-
9 
+
8 #define MEDIA_FORMATS_MP2T_ADTS_HEADER_H_
+
9 
10 #include <stdint.h>
11 
12 #include <vector>
@@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dfd/classedash__packager_1_1media_1_1MediaStream.html b/docs/d2/dfd/classedash__packager_1_1media_1_1MediaStream.html index 690496313b..c92e9e2e56 100644 --- a/docs/d2/dfd/classedash__packager_1_1media_1_1MediaStream.html +++ b/docs/d2/dfd/classedash__packager_1_1media_1_1MediaStream.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - @@ -225,7 +225,7 @@ const scoped_refptr< diff --git a/docs/d3/d04/classedash__packager_1_1media_1_1WebMAudioClient-members.html b/docs/d3/d04/classedash__packager_1_1media_1_1WebMAudioClient-members.html new file mode 100644 index 0000000000..21e1493877 --- /dev/null +++ b/docs/d3/d04/classedash__packager_1_1media_1_1WebMAudioClient-members.html @@ -0,0 +1,115 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+

Public Types

enum  MediaStreamOperation { kPush, +
enum  MediaStreamOperation { kPush, kPull }
 
+ + + + + +
+
DASH Media Packaging SDK +
+
+ + + + + + + + + + +
+ +
+ + + +
+
+
edash_packager::media::WebMAudioClient Member List
+
+
+ +

This is the complete list of members for edash_packager::media::WebMAudioClient, including all inherited members.

+ + + + + + + + + + + + +
DISALLOW_COPY_AND_ASSIGN(WebMParserClient) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
GetAudioStreamInfo(int64_t track_num, const std::string &codec_id, const std::vector< uint8_t > &codec_private, const std::string &language, bool is_encrypted) (defined in edash_packager::media::WebMAudioClient)edash_packager::media::WebMAudioClient
OnBinary(int id, const uint8_t *data, int size) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
OnListEnd(int id) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
OnListStart(int id) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
OnString(int id, const std::string &str) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
Reset() (defined in edash_packager::media::WebMAudioClient)edash_packager::media::WebMAudioClient
WebMAudioClient() (defined in edash_packager::media::WebMAudioClient)edash_packager::media::WebMAudioClient
WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
~WebMAudioClient() override (defined in edash_packager::media::WebMAudioClient)edash_packager::media::WebMAudioClient
~WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
+ + + + diff --git a/docs/d3/d0e/classedash__packager_1_1media_1_1MpdNotifyMuxerListener.html b/docs/d3/d0e/classedash__packager_1_1media_1_1MpdNotifyMuxerListener.html index e7b96d472f..eb3d9675fa 100644 --- a/docs/d3/d0e/classedash__packager_1_1media_1_1MpdNotifyMuxerListener.html +++ b/docs/d3/d0e/classedash__packager_1_1media_1_1MpdNotifyMuxerListener.html @@ -111,25 +111,25 @@ Public Member Functions void SetContentProtectionSchemeIdUri (const std::string &scheme_id_uri)  
MuxerListener implementation overrides.
- -virtual void OnEncryptionInfoReady (bool is_initial_encryption_info, const std::string &content_protection_uuid, const std::string &content_protection_name_version, const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &pssh) OVERRIDE -  - -virtual void OnMediaStart (const MuxerOptions &muxer_options, const StreamInfo &stream_info, uint32_t time_scale, ContainerType container_type) OVERRIDE -  -virtual void OnSampleDurationReady (uint32_t sample_duration) OVERRIDE -  - -virtual void OnMediaEnd (bool has_init_range, uint64_t init_range_start, uint64_t init_range_end, bool has_index_range, uint64_t index_range_start, uint64_t index_range_end, float duration_seconds, uint64_t file_size) OVERRIDE -  - -virtual void OnNewSegment (uint64_t start_time, uint64_t duration, uint64_t segment_file_size) OVERRIDE -  + +void OnEncryptionInfoReady (bool is_initial_encryption_info, const std::string &content_protection_uuid, const std::string &content_protection_name_version, const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &pssh) override +  + +void OnMediaStart (const MuxerOptions &muxer_options, const StreamInfo &stream_info, uint32_t time_scale, ContainerType container_type) override +  +void OnSampleDurationReady (uint32_t sample_duration) override +  + +void OnMediaEnd (bool has_init_range, uint64_t init_range_start, uint64_t init_range_end, bool has_index_range, uint64_t index_range_start, uint64_t index_range_end, float duration_seconds, uint64_t file_size) override +  + +void OnNewSegment (uint64_t start_time, uint64_t duration, uint64_t segment_file_size) override +  -

Member Function Documentation

- +

Additional Inherited Members

- Public Types inherited from edash_packager::media::MuxerListener
enum  ContainerType { kContainerUnknown = 0, +
enum  ContainerType { kContainerUnknown = 0, kContainerMp4, kContainerMpeg2ts, kContainerWebM @@ -173,7 +173,7 @@ Additional Inherited Members
@@ -190,7 +190,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -234,7 +234,7 @@ Additional Inherited Members
diff --git a/docs/d3/d15/udp__file__win_8cc_source.html b/docs/d3/d15/udp__file__win_8cc_source.html index c7230d054f..6aec0af458 100644 --- a/docs/d3/d15/udp__file__win_8cc_source.html +++ b/docs/d3/d15/udp__file__win_8cc_source.html @@ -105,43 +105,43 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
16 
17 UdpFile::~UdpFile() {}
18 
-
19 bool UdpFile::Close() {
+
19 bool UdpFile::Close() {
20  NOTIMPLEMENTED();
21  delete this;
22  return false;
23 }
24 
-
25 int64_t UdpFile::Read(void* buffer, uint64_t length) {
+
25 int64_t UdpFile::Read(void* buffer, uint64_t length) {
26  NOTIMPLEMENTED();
27  return -1;
28 }
29 
-
30 int64_t UdpFile::Write(const void* buffer, uint64_t length) {
+
30 int64_t UdpFile::Write(const void* buffer, uint64_t length) {
31  NOTIMPLEMENTED();
32  return -1;
33 }
34 
-
35 int64_t UdpFile::Size() {
+
35 int64_t UdpFile::Size() {
36  NOTIMPLEMENTED();
37  return -1;
38 }
39 
-
40 bool UdpFile::Flush() {
+
40 bool UdpFile::Flush() {
41  NOTIMPLEMENTED();
42  return false;
43 }
44 
-
45 bool UdpFile::Seek(uint64_t position) {
+
45 bool UdpFile::Seek(uint64_t position) {
46  NOTIMPLEMENTED();
47  return false;
48 }
49 
-
50 bool UdpFile::Tell(uint64_t* position) {
+
50 bool UdpFile::Tell(uint64_t* position) {
51  NOTIMPLEMENTED();
52  return false;
53 }
54 
-
55 bool UdpFile::Open() {
+
55 bool UdpFile::Open() {
56  NOTIMPLEMENTED();
57  return false;
58 }
@@ -149,18 +149,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
60 } // namespace media
61 } // namespace edash_packager
UdpFile(const char *address_and_port)
-
virtual bool Flush() OVERRIDE
-
virtual bool Open() OVERRIDE
Internal open. Should not be used directly.
-
virtual bool Tell(uint64_t *position) OVERRIDE
-
virtual int64_t Write(const void *buffer, uint64_t length) OVERRIDE
-
virtual int64_t Read(void *buffer, uint64_t length) OVERRIDE
-
virtual int64_t Size() OVERRIDE
-
virtual bool Close() OVERRIDE
-
virtual bool Seek(uint64_t position) OVERRIDE
+
bool Tell(uint64_t *position) override
+
bool Seek(uint64_t position) override
+ +
int64_t Write(const void *buffer, uint64_t length) override
+ + +
int64_t Read(void *buffer, uint64_t length) override
+
bool Open() override
Internal open. Should not be used directly.
diff --git a/docs/d3/d19/io__cache_8h_source.html b/docs/d3/d19/io__cache_8h_source.html index 284c72627e..73f3aaa71c 100644 --- a/docs/d3/d19/io__cache_8h_source.html +++ b/docs/d3/d19/io__cache_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef PACKAGER_FILE_IO_CACHE_H_
-
8 #define PACKAGER_FILE_IO_CACHE_H_
-
9 
+
8 #define PACKAGER_FILE_IO_CACHE_H_
+
9 
10 #include <stdint.h>
11 #include <vector>
12 #include "packager/base/macros.h"
@@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
20 class IoCache {
21  public:
22  explicit IoCache(uint64_t cache_size);
-
23  virtual ~IoCache();
+
23  ~IoCache();
24 
31  uint64_t Read(void* buffer, uint64_t size);
32 
@@ -156,7 +156,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html b/docs/d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html index 356942edb7..ff19947cf1 100644 --- a/docs/d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html +++ b/docs/d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::TrackExtends: - - - - - - - + + + + + + + @@ -157,7 +157,7 @@ Additional Inherited Members

Definition at line 409 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -173,7 +173,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -192,7 +192,7 @@ Additional Inherited Members
diff --git a/docs/d3/d2f/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption-members.html b/docs/d3/d2f/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption-members.html index cdfc618fc7..300fe0ba02 100644 --- a/docs/d3/d2f/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption-members.html +++ b/docs/d3/d2f/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption-members.html @@ -95,25 +95,25 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::TrackEncryption)edash_packager::media::mp4::TrackEncryptionvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::TrackEncryptionvirtual
BoxType() const override (defined in edash_packager::media::mp4::TrackEncryption)edash_packager::media::mp4::TrackEncryptionvirtual
ComputeSize() overrideedash_packager::media::mp4::TrackEncryptionvirtual
default_iv_size (defined in edash_packager::media::mp4::TrackEncryption)edash_packager::media::mp4::TrackEncryption
default_kid (defined in edash_packager::media::mp4::TrackEncryption)edash_packager::media::mp4::TrackEncryption
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
is_encrypted (defined in edash_packager::media::mp4::TrackEncryption)edash_packager::media::mp4::TrackEncryption
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::TrackEncryptionvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::TrackEncryptionvirtual
TrackEncryption() (defined in edash_packager::media::mp4::TrackEncryption)edash_packager::media::mp4::TrackEncryption
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~TrackEncryption() (defined in edash_packager::media::mp4::TrackEncryption)edash_packager::media::mp4::TrackEncryptionvirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~TrackEncryption() override (defined in edash_packager::media::mp4::TrackEncryption)edash_packager::media::mp4::TrackEncryption
diff --git a/docs/d3/d37/single__segment__segmenter_8cc_source.html b/docs/d3/d37/single__segment__segmenter_8cc_source.html index 49831c3395..e2efcd5363 100644 --- a/docs/d3/d37/single__segment__segmenter_8cc_source.html +++ b/docs/d3/d37/single__segment__segmenter_8cc_source.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #include <openssl/err.h>
11 #include <openssl/rand.h>
12 
-
13 #include "packager/base/file_util.h"
+
13 #include "packager/base/files/file_util.h"
14 #include "packager/base/strings/stringprintf.h"
15 #include "packager/base/threading/platform_thread.h"
16 #include "packager/base/time/time.h"
@@ -142,17 +142,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
53  }
54 }
55 
-
56 bool SingleSegmentSegmenter::GetInitRange(size_t* offset, size_t* size) {
+
56 bool SingleSegmentSegmenter::GetInitRange(size_t* offset, size_t* size) {
57  // In Finalize, ftyp and moov gets written first so offset must be 0.
58  *offset = 0;
-
59  *size = ftyp()->ComputeSize() + moov()->ComputeSize();
+
59  *size = ftyp()->ComputeSize() + moov()->ComputeSize();
60  return true;
61 }
62 
-
63 bool SingleSegmentSegmenter::GetIndexRange(size_t* offset, size_t* size) {
+
63 bool SingleSegmentSegmenter::GetIndexRange(size_t* offset, size_t* size) {
64  // Index range is right after init range so the offset must be the size of
65  // ftyp and moov.
-
66  *offset = ftyp()->ComputeSize() + moov()->ComputeSize();
+
66  *offset = ftyp()->ComputeSize() + moov()->ComputeSize();
67  *size = vod_sidx_->ComputeSize();
68  return true;
69 }
@@ -325,23 +325,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
236 } // namespace media
237 } // namespace edash_packager
+
bool GetInitRange(size_t *offset, size_t *size) override
static bool Delete(const char *file_name)
Definition: file.cc:138
virtual bool Open()=0
Internal open. Should not be used directly.
+ + +
bool GetIndexRange(size_t *offset, size_t *size) override
void UpdateProgress(uint64_t progress)
Update segmentation progress using ProgressListener.
Definition: segmenter.cc:333
-
virtual bool GetInitRange(size_t *offset, size_t *size) OVERRIDE
void Write(BufferWriter *writer)
Definition: box.cc:25
void SetComplete()
Set progress to 100%.
Definition: segmenter.cc:349
-
virtual bool GetIndexRange(size_t *offset, size_t *size) OVERRIDE
-
virtual uint32_t ComputeSize() OVERRIDE
-
virtual uint32_t ComputeSize() OVERRIDE
virtual void OnSampleDurationReady(uint32_t sample_duration)=0
diff --git a/docs/d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html b/docs/d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html index 4dcd53e36e..3ad84c97ed 100644 --- a/docs/d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html +++ b/docs/d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html @@ -116,8 +116,8 @@ Public Member Functions - - + + @@ -154,7 +154,7 @@ KeyFetcher implementation overrides.

Member Function Documentation

- +

KeyFetcher implementation overrides.

virtual Status FetchKeys (const std::string &url, const std::string &request, std::string *response) OVERRIDE
 
Status FetchKeys (const std::string &url, const std::string &request, std::string *response) override
 
virtual Status Get (const std::string &url, std::string *response)
 
virtual Status Post (const std::string &url, const std::string &data, std::string *response)
@@ -187,7 +187,7 @@ KeyFetcher implementation overrides.
-virtual +overridevirtual
@@ -311,7 +311,7 @@ KeyFetcher implementation overrides.
diff --git a/docs/d3/d48/structedash__packager_1_1media_1_1mp4_1_1EditList-members.html b/docs/d3/d48/structedash__packager_1_1media_1_1mp4_1_1EditList-members.html index 215e092f46..6a23b9db59 100644 --- a/docs/d3/d48/structedash__packager_1_1media_1_1mp4_1_1EditList-members.html +++ b/docs/d3/d48/structedash__packager_1_1media_1_1mp4_1_1EditList-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::EditList)edash_packager::media::mp4::EditListvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::EditListvirtual
BoxType() const override (defined in edash_packager::media::mp4::EditList)edash_packager::media::mp4::EditListvirtual
ComputeSize() overrideedash_packager::media::mp4::EditListvirtual
EditList() (defined in edash_packager::media::mp4::EditList)edash_packager::media::mp4::EditList
edits (defined in edash_packager::media::mp4::EditList)edash_packager::media::mp4::EditList
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::EditListvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::EditListvirtual
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~EditList() (defined in edash_packager::media::mp4::EditList)edash_packager::media::mp4::EditListvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~EditList() override (defined in edash_packager::media::mp4::EditList)edash_packager::media::mp4::EditList
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
diff --git a/docs/d3/d52/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html b/docs/d3/d52/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html index d093d8cb2f..5c79258dfa 100644 --- a/docs/d3/d52/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html +++ b/docs/d3/d52/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d56/decrypt__config_8cc_source.html b/docs/d3/d56/decrypt__config_8cc_source.html index f7fc258995..537437b489 100644 --- a/docs/d3/d56/decrypt__config_8cc_source.html +++ b/docs/d3/d56/decrypt__config_8cc_source.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d62/rcheck_8h_source.html b/docs/d3/d62/rcheck_8h_source.html index 91b52e231a..db50a30340 100644 --- a/docs/d3/d62/rcheck_8h_source.html +++ b/docs/d3/d62/rcheck_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP4_RCHECK_H_
-
6 #define MEDIA_FORMATS_MP4_RCHECK_H_
-
7 
+
6 #define MEDIA_FORMATS_MP4_RCHECK_H_
+
7 
8 #include "packager/base/logging.h"
9 
10 #define RCHECK(x) \
@@ -103,12 +103,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
14  return false; \
15  } \
16  } while (0)
-
17 
+
17 
18 #endif // MEDIA_FORMATS_MP4_RCHECK_H_
diff --git a/docs/d3/d69/classedash__packager_1_1media_1_1ClusterBuilder.html b/docs/d3/d69/classedash__packager_1_1media_1_1ClusterBuilder.html new file mode 100644 index 0000000000..6d58ce775a --- /dev/null +++ b/docs/d3/d69/classedash__packager_1_1media_1_1ClusterBuilder.html @@ -0,0 +1,133 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::ClusterBuilder Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::ClusterBuilder Class Reference
+
+
+ + + + + + + + + + + + + + +

+Public Member Functions

+void SetClusterTimecode (int64_t cluster_timecode)
 
+void AddSimpleBlock (int track_num, int64_t timecode, int flags, const uint8_t *data, int size)
 
+void AddBlockGroup (int track_num, int64_t timecode, int duration, int flags, const uint8_t *data, int size)
 
+void AddBlockGroupWithoutBlockDuration (int track_num, int64_t timecode, int flags, const uint8_t *data, int size)
 
+scoped_ptr< ClusterFinish ()
 
+scoped_ptr< ClusterFinishWithUnknownSize ()
 
+

Detailed Description

+
+

Definition at line 29 of file cluster_builder.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/d3/d6b/classedash__packager_1_1media_1_1IoCache.html b/docs/d3/d6b/classedash__packager_1_1media_1_1IoCache.html index 0a3bd2a9e2..4bea358c6f 100644 --- a/docs/d3/d6b/classedash__packager_1_1media_1_1IoCache.html +++ b/docs/d3/d6b/classedash__packager_1_1media_1_1IoCache.html @@ -265,7 +265,7 @@ void  diff --git a/docs/d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html b/docs/d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html index 5b3744de4e..a8886f58f8 100644 --- a/docs/d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html +++ b/docs/d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::SampleDescription: - - - - - - - + + + + + + + @@ -151,7 +151,7 @@ Additional Inherited Members

Definition at line 233 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -167,7 +167,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -186,7 +186,7 @@ Additional Inherited Members
diff --git a/docs/d3/d76/muxer__flags_8h_source.html b/docs/d3/d76/muxer__flags_8h_source.html index da856aeefa..6cfd3acbaa 100644 --- a/docs/d3/d76/muxer__flags_8h_source.html +++ b/docs/d3/d76/muxer__flags_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Defines Muxer flags.
8 
9 #ifndef APP_MUXER_FLAGS_H_
-
10 #define APP_MUXER_FLAGS_H_
-
11 
+
10 #define APP_MUXER_FLAGS_H_
+
11 
12 #include <gflags/gflags.h>
13 
14 DECLARE_string(profile);
@@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html b/docs/d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html index eb1d67f0c5..02c7319174 100644 --- a/docs/d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html +++ b/docs/d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::SampleTable: - - - - - - - + + + + + + + @@ -155,7 +155,7 @@ Additional Inherited Members

Definition at line 317 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -171,7 +171,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -190,7 +190,7 @@ Additional Inherited Members
diff --git a/docs/d3/d80/muxer__util_8h_source.html b/docs/d3/d80/muxer__util_8h_source.html index 544afd109f..e43686c244 100644 --- a/docs/d3/d80/muxer__util_8h_source.html +++ b/docs/d3/d80/muxer__util_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Muxer utility functions.
8 
9 #ifndef MEDIA_BASE_MUXER_UTIL_H_
-
10 #define MEDIA_BASE_MUXER_UTIL_H_
-
11 
+
10 #define MEDIA_BASE_MUXER_UTIL_H_
+
11 
12 #include <stdint.h>
13 
14 #include <string>
@@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d8a/classedash__packager_1_1RepresentationStateChangeListener-members.html b/docs/d3/d8a/classedash__packager_1_1RepresentationStateChangeListener-members.html index 5cffa1ccd2..c15f7ddd8d 100644 --- a/docs/d3/d8a/classedash__packager_1_1RepresentationStateChangeListener-members.html +++ b/docs/d3/d8a/classedash__packager_1_1RepresentationStateChangeListener-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d8d/webm__audio__client_8h_source.html b/docs/d3/d8d/webm__audio__client_8h_source.html new file mode 100644 index 0000000000..190741d30d --- /dev/null +++ b/docs/d3/d8d/webm__audio__client_8h_source.html @@ -0,0 +1,156 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_audio_client.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_audio_client.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_
+
6 #define MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_
+
7 
+
8 #include <string>
+
9 #include <vector>
+
10 
+
11 #include "packager/base/memory/scoped_ptr.h"
+
12 #include "packager/media/base/audio_stream_info.h"
+
13 #include "packager/media/formats/webm/webm_parser.h"
+
14 
+
15 namespace edash_packager {
+
16 namespace media {
+
17 class AudioDecoderConfig;
+
18 
+
19 // Helper class used to parse an Audio element inside a TrackEntry element.
+ +
21  public:
+ +
23  ~WebMAudioClient() override;
+
24 
+
25  // Reset this object's state so it can process a new audio track element.
+
26  void Reset();
+
27 
+
28  // Create an AudioStreamInfo with the data in |track_num|, |codec_id|,
+
29  // |codec_private|, |is_encrypted| and the fields parsed from the last audio
+
30  // track element this object was used to parse.
+
31  // Returns an AudioStreamInfo scoped_refptr if successful.
+
32  // Returns an empty scoped_refptr if there was unexpected values in the
+
33  // provided parameters or audio track element fields.
+
34  scoped_refptr<AudioStreamInfo> GetAudioStreamInfo(
+
35  int64_t track_num,
+
36  const std::string& codec_id,
+
37  const std::vector<uint8_t>& codec_private,
+
38  const std::string& language,
+
39  bool is_encrypted);
+
40 
+
41  private:
+
42  // WebMParserClient implementation.
+
43  bool OnUInt(int id, int64_t val) override;
+
44  bool OnFloat(int id, double val) override;
+
45 
+
46  int channels_;
+
47  double samples_per_second_;
+
48  double output_samples_per_second_;
+
49 
+
50  DISALLOW_COPY_AND_ASSIGN(WebMAudioClient);
+
51 };
+
52 
+
53 } // namespace media
+
54 } // namespace edash_packager
+
55 
+
56 #endif // MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_
+ + +
+ + + + diff --git a/docs/d3/d9b/structedash__packager_1_1media_1_1VideoStreamInfoParameters-members.html b/docs/d3/d9b/structedash__packager_1_1media_1_1VideoStreamInfoParameters-members.html index dd44de8822..cd487872e5 100644 --- a/docs/d3/d9b/structedash__packager_1_1media_1_1VideoStreamInfoParameters-members.html +++ b/docs/d3/d9b/structedash__packager_1_1media_1_1VideoStreamInfoParameters-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d9f/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor-members.html b/docs/d3/d9f/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor-members.html index 84886dc6b3..deabc86bfe 100644 --- a/docs/d3/d9f/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor-members.html +++ b/docs/d3/d9f/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/db6/cenc_8cc_source.html b/docs/d3/db6/cenc_8cc_source.html index 0dbbfd8302..559dc9cf3d 100644 --- a/docs/d3/db6/cenc_8cc_source.html +++ b/docs/d3/db6/cenc_8cc_source.html @@ -183,7 +183,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/db6/webm__parser_8cc_source.html b/docs/d3/db6/webm__parser_8cc_source.html new file mode 100644 index 0000000000..5b415a9ae1 --- /dev/null +++ b/docs/d3/db6/webm__parser_8cc_source.html @@ -0,0 +1,1071 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_parser.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_parser.cc
+
+
+
1 // Copyright 2014 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 #include "packager/media/formats/webm/webm_parser.h"
+
6 
+
7 // This file contains code to parse WebM file elements. It was created
+
8 // from information in the Matroska spec.
+
9 // http://www.matroska.org/technical/specs/index.html
+
10 // This file contains code for encrypted WebM. Current WebM
+
11 // encrypted request for comments specification is here
+
12 // http://wiki.webmproject.org/encryption/webm-encryption-rfc
+
13 
+
14 #include <iomanip>
+
15 
+
16 #include "packager/base/logging.h"
+
17 #include "packager/base/numerics/safe_conversions.h"
+
18 #include "packager/media/formats/webm/webm_constants.h"
+
19 
+
20 namespace edash_packager {
+
21 namespace media {
+
22 
+
23 enum ElementType {
+
24  UNKNOWN,
+
25  LIST, // Referred to as Master Element in the Matroska spec.
+
26  UINT,
+
27  FLOAT,
+
28  BINARY,
+
29  STRING,
+
30  SKIP,
+
31 };
+
32 
+
33 struct ElementIdInfo {
+
34  ElementType type_;
+
35  int id_;
+
36 };
+
37 
+
38 struct ListElementInfo {
+
39  int id_;
+
40  int level_;
+
41  const ElementIdInfo* id_info_;
+
42  int id_info_count_;
+
43 };
+
44 
+
45 // The following are tables indicating what IDs are valid sub-elements
+
46 // of particular elements. If an element is encountered that doesn't
+
47 // appear in the list, a parsing error is signalled. Some elements are
+
48 // marked as SKIP because they are valid, but we don't care about them
+
49 // right now.
+
50 static const ElementIdInfo kEBMLHeaderIds[] = {
+
51  {UINT, kWebMIdEBMLVersion},
+
52  {UINT, kWebMIdEBMLReadVersion},
+
53  {UINT, kWebMIdEBMLMaxIDLength},
+
54  {UINT, kWebMIdEBMLMaxSizeLength},
+
55  {STRING, kWebMIdDocType},
+
56  {UINT, kWebMIdDocTypeVersion},
+
57  {UINT, kWebMIdDocTypeReadVersion},
+
58 };
+
59 
+
60 static const ElementIdInfo kSegmentIds[] = {
+
61  {LIST, kWebMIdSeekHead},
+
62  {LIST, kWebMIdInfo},
+
63  {LIST, kWebMIdCluster},
+
64  {LIST, kWebMIdTracks},
+
65  {LIST, kWebMIdCues},
+
66  {LIST, kWebMIdAttachments},
+
67  {LIST, kWebMIdChapters},
+
68  {LIST, kWebMIdTags},
+
69 };
+
70 
+
71 static const ElementIdInfo kSeekHeadIds[] = {
+
72  {LIST, kWebMIdSeek},
+
73 };
+
74 
+
75 static const ElementIdInfo kSeekIds[] = {
+
76  {BINARY, kWebMIdSeekID},
+
77  {UINT, kWebMIdSeekPosition},
+
78 };
+
79 
+
80 static const ElementIdInfo kInfoIds[] = {
+
81  {BINARY, kWebMIdSegmentUID},
+
82  {STRING, kWebMIdSegmentFilename},
+
83  {BINARY, kWebMIdPrevUID},
+
84  {STRING, kWebMIdPrevFilename},
+
85  {BINARY, kWebMIdNextUID},
+
86  {STRING, kWebMIdNextFilename},
+
87  {BINARY, kWebMIdSegmentFamily},
+
88  {LIST, kWebMIdChapterTranslate},
+
89  {UINT, kWebMIdTimecodeScale},
+
90  {FLOAT, kWebMIdDuration},
+
91  {BINARY, kWebMIdDateUTC},
+
92  {STRING, kWebMIdTitle},
+
93  {STRING, kWebMIdMuxingApp},
+
94  {STRING, kWebMIdWritingApp},
+
95 };
+
96 
+
97 static const ElementIdInfo kChapterTranslateIds[] = {
+
98  {UINT, kWebMIdChapterTranslateEditionUID},
+
99  {UINT, kWebMIdChapterTranslateCodec},
+
100  {BINARY, kWebMIdChapterTranslateID},
+
101 };
+
102 
+
103 static const ElementIdInfo kClusterIds[] = {
+
104  {BINARY, kWebMIdSimpleBlock},
+
105  {UINT, kWebMIdTimecode},
+
106  {LIST, kWebMIdSilentTracks},
+
107  {UINT, kWebMIdPosition},
+
108  {UINT, kWebMIdPrevSize},
+
109  {LIST, kWebMIdBlockGroup},
+
110 };
+
111 
+
112 static const ElementIdInfo kSilentTracksIds[] = {
+
113  {UINT, kWebMIdSilentTrackNumber},
+
114 };
+
115 
+
116 static const ElementIdInfo kBlockGroupIds[] = {
+
117  {BINARY, kWebMIdBlock},
+
118  {LIST, kWebMIdBlockAdditions},
+
119  {UINT, kWebMIdBlockDuration},
+
120  {UINT, kWebMIdReferencePriority},
+
121  {BINARY, kWebMIdReferenceBlock},
+
122  {BINARY, kWebMIdCodecState},
+
123  {BINARY, kWebMIdDiscardPadding},
+
124  {LIST, kWebMIdSlices},
+
125 };
+
126 
+
127 static const ElementIdInfo kBlockAdditionsIds[] = {
+
128  {LIST, kWebMIdBlockMore},
+
129 };
+
130 
+
131 static const ElementIdInfo kBlockMoreIds[] = {
+
132  {UINT, kWebMIdBlockAddID},
+
133  {BINARY, kWebMIdBlockAdditional},
+
134 };
+
135 
+
136 static const ElementIdInfo kSlicesIds[] = {
+
137  {LIST, kWebMIdTimeSlice},
+
138 };
+
139 
+
140 static const ElementIdInfo kTimeSliceIds[] = {
+
141  {UINT, kWebMIdLaceNumber},
+
142 };
+
143 
+
144 static const ElementIdInfo kTracksIds[] = {
+
145  {LIST, kWebMIdTrackEntry},
+
146 };
+
147 
+
148 static const ElementIdInfo kTrackEntryIds[] = {
+
149  {UINT, kWebMIdTrackNumber},
+
150  {BINARY, kWebMIdTrackUID},
+
151  {UINT, kWebMIdTrackType},
+
152  {UINT, kWebMIdFlagEnabled},
+
153  {UINT, kWebMIdFlagDefault},
+
154  {UINT, kWebMIdFlagForced},
+
155  {UINT, kWebMIdFlagLacing},
+
156  {UINT, kWebMIdMinCache},
+
157  {UINT, kWebMIdMaxCache},
+
158  {UINT, kWebMIdDefaultDuration},
+
159  {FLOAT, kWebMIdTrackTimecodeScale},
+
160  {UINT, kWebMIdMaxBlockAdditionId},
+
161  {STRING, kWebMIdName},
+
162  {STRING, kWebMIdLanguage},
+
163  {STRING, kWebMIdCodecID},
+
164  {BINARY, kWebMIdCodecPrivate},
+
165  {STRING, kWebMIdCodecName},
+
166  {UINT, kWebMIdAttachmentLink},
+
167  {UINT, kWebMIdCodecDecodeAll},
+
168  {UINT, kWebMIdTrackOverlay},
+
169  {UINT, kWebMIdCodecDelay},
+
170  {UINT, kWebMIdSeekPreRoll},
+
171  {LIST, kWebMIdTrackTranslate},
+
172  {LIST, kWebMIdVideo},
+
173  {LIST, kWebMIdAudio},
+
174  {LIST, kWebMIdTrackOperation},
+
175  {LIST, kWebMIdContentEncodings},
+
176 };
+
177 
+
178 static const ElementIdInfo kTrackTranslateIds[] = {
+
179  {UINT, kWebMIdTrackTranslateEditionUID},
+
180  {UINT, kWebMIdTrackTranslateCodec},
+
181  {BINARY, kWebMIdTrackTranslateTrackID},
+
182 };
+
183 
+
184 static const ElementIdInfo kVideoIds[] = {
+
185  {UINT, kWebMIdFlagInterlaced},
+
186  {UINT, kWebMIdStereoMode},
+
187  {UINT, kWebMIdAlphaMode},
+
188  {UINT, kWebMIdPixelWidth},
+
189  {UINT, kWebMIdPixelHeight},
+
190  {UINT, kWebMIdPixelCropBottom},
+
191  {UINT, kWebMIdPixelCropTop},
+
192  {UINT, kWebMIdPixelCropLeft},
+
193  {UINT, kWebMIdPixelCropRight},
+
194  {UINT, kWebMIdDisplayWidth},
+
195  {UINT, kWebMIdDisplayHeight},
+
196  {UINT, kWebMIdDisplayUnit},
+
197  {UINT, kWebMIdAspectRatioType},
+
198  {BINARY, kWebMIdColorSpace},
+
199  {FLOAT, kWebMIdFrameRate},
+
200 };
+
201 
+
202 static const ElementIdInfo kAudioIds[] = {
+
203  {FLOAT, kWebMIdSamplingFrequency},
+
204  {FLOAT, kWebMIdOutputSamplingFrequency},
+
205  {UINT, kWebMIdChannels},
+
206  {UINT, kWebMIdBitDepth},
+
207 };
+
208 
+
209 static const ElementIdInfo kTrackOperationIds[] = {
+
210  {LIST, kWebMIdTrackCombinePlanes},
+
211  {LIST, kWebMIdJoinBlocks},
+
212 };
+
213 
+
214 static const ElementIdInfo kTrackCombinePlanesIds[] = {
+
215  {LIST, kWebMIdTrackPlane},
+
216 };
+
217 
+
218 static const ElementIdInfo kTrackPlaneIds[] = {
+
219  {UINT, kWebMIdTrackPlaneUID},
+
220  {UINT, kWebMIdTrackPlaneType},
+
221 };
+
222 
+
223 static const ElementIdInfo kJoinBlocksIds[] = {
+
224  {UINT, kWebMIdTrackJoinUID},
+
225 };
+
226 
+
227 static const ElementIdInfo kContentEncodingsIds[] = {
+
228  {LIST, kWebMIdContentEncoding},
+
229 };
+
230 
+
231 static const ElementIdInfo kContentEncodingIds[] = {
+
232  {UINT, kWebMIdContentEncodingOrder},
+
233  {UINT, kWebMIdContentEncodingScope},
+
234  {UINT, kWebMIdContentEncodingType},
+
235  {LIST, kWebMIdContentCompression},
+
236  {LIST, kWebMIdContentEncryption},
+
237 };
+
238 
+
239 static const ElementIdInfo kContentCompressionIds[] = {
+
240  {UINT, kWebMIdContentCompAlgo},
+
241  {BINARY, kWebMIdContentCompSettings},
+
242 };
+
243 
+
244 static const ElementIdInfo kContentEncryptionIds[] = {
+
245  {LIST, kWebMIdContentEncAESSettings},
+
246  {UINT, kWebMIdContentEncAlgo},
+
247  {BINARY, kWebMIdContentEncKeyID},
+
248  {BINARY, kWebMIdContentSignature},
+
249  {BINARY, kWebMIdContentSigKeyID},
+
250  {UINT, kWebMIdContentSigAlgo},
+
251  {UINT, kWebMIdContentSigHashAlgo},
+
252 };
+
253 
+
254 static const ElementIdInfo kContentEncAESSettingsIds[] = {
+
255  {UINT, kWebMIdAESSettingsCipherMode},
+
256 };
+
257 
+
258 static const ElementIdInfo kCuesIds[] = {
+
259  {LIST, kWebMIdCuePoint},
+
260 };
+
261 
+
262 static const ElementIdInfo kCuePointIds[] = {
+
263  {UINT, kWebMIdCueTime},
+
264  {LIST, kWebMIdCueTrackPositions},
+
265 };
+
266 
+
267 static const ElementIdInfo kCueTrackPositionsIds[] = {
+
268  {UINT, kWebMIdCueTrack},
+
269  {UINT, kWebMIdCueClusterPosition},
+
270  {UINT, kWebMIdCueBlockNumber},
+
271  {UINT, kWebMIdCueCodecState},
+
272  {LIST, kWebMIdCueReference},
+
273 };
+
274 
+
275 static const ElementIdInfo kCueReferenceIds[] = {
+
276  {UINT, kWebMIdCueRefTime},
+
277 };
+
278 
+
279 static const ElementIdInfo kAttachmentsIds[] = {
+
280  {LIST, kWebMIdAttachedFile},
+
281 };
+
282 
+
283 static const ElementIdInfo kAttachedFileIds[] = {
+
284  {STRING, kWebMIdFileDescription},
+
285  {STRING, kWebMIdFileName},
+
286  {STRING, kWebMIdFileMimeType},
+
287  {BINARY, kWebMIdFileData},
+
288  {UINT, kWebMIdFileUID},
+
289 };
+
290 
+
291 static const ElementIdInfo kChaptersIds[] = {
+
292  {LIST, kWebMIdEditionEntry},
+
293 };
+
294 
+
295 static const ElementIdInfo kEditionEntryIds[] = {
+
296  {UINT, kWebMIdEditionUID},
+
297  {UINT, kWebMIdEditionFlagHidden},
+
298  {UINT, kWebMIdEditionFlagDefault},
+
299  {UINT, kWebMIdEditionFlagOrdered},
+
300  {LIST, kWebMIdChapterAtom},
+
301 };
+
302 
+
303 static const ElementIdInfo kChapterAtomIds[] = {
+
304  {UINT, kWebMIdChapterUID},
+
305  {UINT, kWebMIdChapterTimeStart},
+
306  {UINT, kWebMIdChapterTimeEnd},
+
307  {UINT, kWebMIdChapterFlagHidden},
+
308  {UINT, kWebMIdChapterFlagEnabled},
+
309  {BINARY, kWebMIdChapterSegmentUID},
+
310  {UINT, kWebMIdChapterSegmentEditionUID},
+
311  {UINT, kWebMIdChapterPhysicalEquiv},
+
312  {LIST, kWebMIdChapterTrack},
+
313  {LIST, kWebMIdChapterDisplay},
+
314  {LIST, kWebMIdChapProcess},
+
315 };
+
316 
+
317 static const ElementIdInfo kChapterTrackIds[] = {
+
318  {UINT, kWebMIdChapterTrackNumber},
+
319 };
+
320 
+
321 static const ElementIdInfo kChapterDisplayIds[] = {
+
322  {STRING, kWebMIdChapString},
+
323  {STRING, kWebMIdChapLanguage},
+
324  {STRING, kWebMIdChapCountry},
+
325 };
+
326 
+
327 static const ElementIdInfo kChapProcessIds[] = {
+
328  {UINT, kWebMIdChapProcessCodecID},
+
329  {BINARY, kWebMIdChapProcessPrivate},
+
330  {LIST, kWebMIdChapProcessCommand},
+
331 };
+
332 
+
333 static const ElementIdInfo kChapProcessCommandIds[] = {
+
334  {UINT, kWebMIdChapProcessTime},
+
335  {BINARY, kWebMIdChapProcessData},
+
336 };
+
337 
+
338 static const ElementIdInfo kTagsIds[] = {
+
339  {LIST, kWebMIdTag},
+
340 };
+
341 
+
342 static const ElementIdInfo kTagIds[] = {
+
343  {LIST, kWebMIdTargets},
+
344  {LIST, kWebMIdSimpleTag},
+
345 };
+
346 
+
347 static const ElementIdInfo kTargetsIds[] = {
+
348  {UINT, kWebMIdTargetTypeValue},
+
349  {STRING, kWebMIdTargetType},
+
350  {UINT, kWebMIdTagTrackUID},
+
351  {UINT, kWebMIdTagEditionUID},
+
352  {UINT, kWebMIdTagChapterUID},
+
353  {UINT, kWebMIdTagAttachmentUID},
+
354 };
+
355 
+
356 static const ElementIdInfo kSimpleTagIds[] = {
+
357  {STRING, kWebMIdTagName},
+
358  {STRING, kWebMIdTagLanguage},
+
359  {UINT, kWebMIdTagDefault},
+
360  {STRING, kWebMIdTagString},
+
361  {BINARY, kWebMIdTagBinary},
+
362 };
+
363 
+
364 #define LIST_ELEMENT_INFO(id, level, id_info) \
+
365  { (id), (level), (id_info), arraysize(id_info) }
+
366 
+
367 static const ListElementInfo kListElementInfo[] = {
+
368  LIST_ELEMENT_INFO(kWebMIdCluster, 1, kClusterIds),
+
369  LIST_ELEMENT_INFO(kWebMIdEBMLHeader, 0, kEBMLHeaderIds),
+
370  LIST_ELEMENT_INFO(kWebMIdSegment, 0, kSegmentIds),
+
371  LIST_ELEMENT_INFO(kWebMIdSeekHead, 1, kSeekHeadIds),
+
372  LIST_ELEMENT_INFO(kWebMIdSeek, 2, kSeekIds),
+
373  LIST_ELEMENT_INFO(kWebMIdInfo, 1, kInfoIds),
+
374  LIST_ELEMENT_INFO(kWebMIdChapterTranslate, 2, kChapterTranslateIds),
+
375  LIST_ELEMENT_INFO(kWebMIdSilentTracks, 2, kSilentTracksIds),
+
376  LIST_ELEMENT_INFO(kWebMIdBlockGroup, 2, kBlockGroupIds),
+
377  LIST_ELEMENT_INFO(kWebMIdBlockAdditions, 3, kBlockAdditionsIds),
+
378  LIST_ELEMENT_INFO(kWebMIdBlockMore, 4, kBlockMoreIds),
+
379  LIST_ELEMENT_INFO(kWebMIdSlices, 3, kSlicesIds),
+
380  LIST_ELEMENT_INFO(kWebMIdTimeSlice, 4, kTimeSliceIds),
+
381  LIST_ELEMENT_INFO(kWebMIdTracks, 1, kTracksIds),
+
382  LIST_ELEMENT_INFO(kWebMIdTrackEntry, 2, kTrackEntryIds),
+
383  LIST_ELEMENT_INFO(kWebMIdTrackTranslate, 3, kTrackTranslateIds),
+
384  LIST_ELEMENT_INFO(kWebMIdVideo, 3, kVideoIds),
+
385  LIST_ELEMENT_INFO(kWebMIdAudio, 3, kAudioIds),
+
386  LIST_ELEMENT_INFO(kWebMIdTrackOperation, 3, kTrackOperationIds),
+
387  LIST_ELEMENT_INFO(kWebMIdTrackCombinePlanes, 4, kTrackCombinePlanesIds),
+
388  LIST_ELEMENT_INFO(kWebMIdTrackPlane, 5, kTrackPlaneIds),
+
389  LIST_ELEMENT_INFO(kWebMIdJoinBlocks, 4, kJoinBlocksIds),
+
390  LIST_ELEMENT_INFO(kWebMIdContentEncodings, 3, kContentEncodingsIds),
+
391  LIST_ELEMENT_INFO(kWebMIdContentEncoding, 4, kContentEncodingIds),
+
392  LIST_ELEMENT_INFO(kWebMIdContentCompression, 5, kContentCompressionIds),
+
393  LIST_ELEMENT_INFO(kWebMIdContentEncryption, 5, kContentEncryptionIds),
+
394  LIST_ELEMENT_INFO(kWebMIdContentEncAESSettings, 6, kContentEncAESSettingsIds),
+
395  LIST_ELEMENT_INFO(kWebMIdCues, 1, kCuesIds),
+
396  LIST_ELEMENT_INFO(kWebMIdCuePoint, 2, kCuePointIds),
+
397  LIST_ELEMENT_INFO(kWebMIdCueTrackPositions, 3, kCueTrackPositionsIds),
+
398  LIST_ELEMENT_INFO(kWebMIdCueReference, 4, kCueReferenceIds),
+
399  LIST_ELEMENT_INFO(kWebMIdAttachments, 1, kAttachmentsIds),
+
400  LIST_ELEMENT_INFO(kWebMIdAttachedFile, 2, kAttachedFileIds),
+
401  LIST_ELEMENT_INFO(kWebMIdChapters, 1, kChaptersIds),
+
402  LIST_ELEMENT_INFO(kWebMIdEditionEntry, 2, kEditionEntryIds),
+
403  LIST_ELEMENT_INFO(kWebMIdChapterAtom, 3, kChapterAtomIds),
+
404  LIST_ELEMENT_INFO(kWebMIdChapterTrack, 4, kChapterTrackIds),
+
405  LIST_ELEMENT_INFO(kWebMIdChapterDisplay, 4, kChapterDisplayIds),
+
406  LIST_ELEMENT_INFO(kWebMIdChapProcess, 4, kChapProcessIds),
+
407  LIST_ELEMENT_INFO(kWebMIdChapProcessCommand, 5, kChapProcessCommandIds),
+
408  LIST_ELEMENT_INFO(kWebMIdTags, 1, kTagsIds),
+
409  LIST_ELEMENT_INFO(kWebMIdTag, 2, kTagIds),
+
410  LIST_ELEMENT_INFO(kWebMIdTargets, 3, kTargetsIds),
+
411  LIST_ELEMENT_INFO(kWebMIdSimpleTag, 3, kSimpleTagIds),
+
412 };
+
413 
+
414 // Parses an element header id or size field. These fields are variable length
+
415 // encoded. The first byte indicates how many bytes the field occupies.
+
416 // |buf| - The buffer to parse.
+
417 // |size| - The number of bytes in |buf|
+
418 // |max_bytes| - The maximum number of bytes the field can be. ID fields
+
419 // set this to 4 & element size fields set this to 8. If the
+
420 // first byte indicates a larger field size than this it is a
+
421 // parser error.
+
422 // |mask_first_byte| - For element size fields the field length encoding bits
+
423 // need to be masked off. This parameter is true for
+
424 // element size fields and is false for ID field values.
+
425 //
+
426 // Returns: The number of bytes parsed on success. -1 on error.
+
427 static int ParseWebMElementHeaderField(const uint8_t* buf,
+
428  int size,
+
429  int max_bytes,
+
430  bool mask_first_byte,
+
431  int64_t* num) {
+
432  DCHECK(buf);
+
433  DCHECK(num);
+
434 
+
435  if (size < 0)
+
436  return -1;
+
437 
+
438  if (size == 0)
+
439  return 0;
+
440 
+
441  int mask = 0x80;
+
442  uint8_t ch = buf[0];
+
443  int extra_bytes = -1;
+
444  bool all_ones = false;
+
445  for (int i = 0; i < max_bytes; ++i) {
+
446  if ((ch & mask) != 0) {
+
447  mask = ~mask & 0xff;
+
448  *num = mask_first_byte ? ch & mask : ch;
+
449  all_ones = (ch & mask) == mask;
+
450  extra_bytes = i;
+
451  break;
+
452  }
+
453  mask = 0x80 | mask >> 1;
+
454  }
+
455 
+
456  if (extra_bytes == -1)
+
457  return -1;
+
458 
+
459  // Return 0 if we need more data.
+
460  if ((1 + extra_bytes) > size)
+
461  return 0;
+
462 
+
463  int bytes_used = 1;
+
464 
+
465  for (int i = 0; i < extra_bytes; ++i) {
+
466  ch = buf[bytes_used++];
+
467  all_ones &= (ch == 0xff);
+
468  *num = (*num << 8) | ch;
+
469  }
+
470 
+
471  if (all_ones)
+
472  *num = kint64max;
+
473 
+
474  return bytes_used;
+
475 }
+
476 
+
477 int WebMParseElementHeader(const uint8_t* buf,
+
478  int size,
+
479  int* id,
+
480  int64_t* element_size) {
+
481  DCHECK(buf);
+
482  DCHECK_GE(size, 0);
+
483  DCHECK(id);
+
484  DCHECK(element_size);
+
485 
+
486  if (size == 0)
+
487  return 0;
+
488 
+
489  int64_t tmp = 0;
+
490  int num_id_bytes = ParseWebMElementHeaderField(buf, size, 4, false, &tmp);
+
491 
+
492  if (num_id_bytes <= 0)
+
493  return num_id_bytes;
+
494 
+
495  if (tmp == kint64max)
+
496  tmp = kWebMReservedId;
+
497 
+
498  *id = static_cast<int>(tmp);
+
499 
+
500  int num_size_bytes = ParseWebMElementHeaderField(buf + num_id_bytes,
+
501  size - num_id_bytes,
+
502  8, true, &tmp);
+
503 
+
504  if (num_size_bytes <= 0)
+
505  return num_size_bytes;
+
506 
+
507  if (tmp == kint64max)
+
508  tmp = kWebMUnknownSize;
+
509 
+
510  *element_size = tmp;
+
511  DVLOG(3) << "WebMParseElementHeader() : id " << std::hex << *id << std::dec
+
512  << " size " << *element_size;
+
513  return num_id_bytes + num_size_bytes;
+
514 }
+
515 
+
516 // Finds ElementType for a specific ID.
+
517 static ElementType FindIdType(int id,
+
518  const ElementIdInfo* id_info,
+
519  int id_info_count) {
+
520 
+
521  // Check for global element IDs that can be anywhere.
+
522  if (id == kWebMIdVoid || id == kWebMIdCRC32)
+
523  return SKIP;
+
524 
+
525  for (int i = 0; i < id_info_count; ++i) {
+
526  if (id == id_info[i].id_)
+
527  return id_info[i].type_;
+
528  }
+
529 
+
530  return UNKNOWN;
+
531 }
+
532 
+
533 // Finds ListElementInfo for a specific ID.
+
534 static const ListElementInfo* FindListInfo(int id) {
+
535  for (size_t i = 0; i < arraysize(kListElementInfo); ++i) {
+
536  if (id == kListElementInfo[i].id_)
+
537  return &kListElementInfo[i];
+
538  }
+
539 
+
540  return NULL;
+
541 }
+
542 
+
543 static int FindListLevel(int id) {
+
544  const ListElementInfo* list_info = FindListInfo(id);
+
545  if (list_info)
+
546  return list_info->level_;
+
547 
+
548  return -1;
+
549 }
+
550 
+
551 static int ParseUInt(const uint8_t* buf,
+
552  int size,
+
553  int id,
+
554  WebMParserClient* client) {
+
555  if ((size <= 0) || (size > 8))
+
556  return -1;
+
557 
+
558  // Read in the big-endian integer.
+
559  uint64_t value = 0;
+
560  for (int i = 0; i < size; ++i)
+
561  value = (value << 8) | buf[i];
+
562 
+
563  // We use int64_t in place of uint64_t everywhere for convenience. See this
+
564  // bug
+
565  // for more details: http://crbug.com/366750#c3
+
566  if (!base::IsValueInRangeForNumericType<int64_t>(value))
+
567  return -1;
+
568 
+
569  if (!client->OnUInt(id, value))
+
570  return -1;
+
571 
+
572  return size;
+
573 }
+
574 
+
575 static int ParseFloat(const uint8_t* buf,
+
576  int size,
+
577  int id,
+
578  WebMParserClient* client) {
+
579  if ((size != 4) && (size != 8))
+
580  return -1;
+
581 
+
582  double value = -1;
+
583 
+
584  // Read the bytes from big-endian form into a native endian integer.
+
585  int64_t tmp = 0;
+
586  for (int i = 0; i < size; ++i)
+
587  tmp = (tmp << 8) | buf[i];
+
588 
+
589  // Use a union to convert the integer bit pattern into a floating point
+
590  // number.
+
591  if (size == 4) {
+
592  union {
+
593  int32_t src;
+
594  float dst;
+
595  } tmp2;
+
596  tmp2.src = static_cast<int32_t>(tmp);
+
597  value = tmp2.dst;
+
598  } else if (size == 8) {
+
599  union {
+
600  int64_t src;
+
601  double dst;
+
602  } tmp2;
+
603  tmp2.src = tmp;
+
604  value = tmp2.dst;
+
605  } else {
+
606  return -1;
+
607  }
+
608 
+
609  if (!client->OnFloat(id, value))
+
610  return -1;
+
611 
+
612  return size;
+
613 }
+
614 
+
615 static int ParseBinary(const uint8_t* buf,
+
616  int size,
+
617  int id,
+
618  WebMParserClient* client) {
+
619  return client->OnBinary(id, buf, size) ? size : -1;
+
620 }
+
621 
+
622 static int ParseString(const uint8_t* buf,
+
623  int size,
+
624  int id,
+
625  WebMParserClient* client) {
+
626  const uint8_t* end = static_cast<const uint8_t*>(memchr(buf, '\0', size));
+
627  int length = (end != NULL) ? static_cast<int>(end - buf) : size;
+
628  std::string str(reinterpret_cast<const char*>(buf), length);
+
629  return client->OnString(id, str) ? size : -1;
+
630 }
+
631 
+
632 static int ParseNonListElement(ElementType type,
+
633  int id,
+
634  int64_t element_size,
+
635  const uint8_t* buf,
+
636  int size,
+
637  WebMParserClient* client) {
+
638  DCHECK_GE(size, element_size);
+
639 
+
640  int result = -1;
+
641  switch(type) {
+
642  case LIST:
+
643  NOTIMPLEMENTED();
+
644  result = -1;
+
645  break;
+
646  case UINT:
+
647  result = ParseUInt(buf, element_size, id, client);
+
648  break;
+
649  case FLOAT:
+
650  result = ParseFloat(buf, element_size, id, client);
+
651  break;
+
652  case BINARY:
+
653  result = ParseBinary(buf, element_size, id, client);
+
654  break;
+
655  case STRING:
+
656  result = ParseString(buf, element_size, id, client);
+
657  break;
+
658  case SKIP:
+
659  result = element_size;
+
660  break;
+
661  default:
+
662  DVLOG(1) << "Unhandled ID type " << type;
+
663  return -1;
+
664  };
+
665 
+
666  DCHECK_LE(result, size);
+
667  return result;
+
668 }
+
669 
+
670 WebMParserClient::WebMParserClient() {}
+
671 WebMParserClient::~WebMParserClient() {}
+
672 
+
673 WebMParserClient* WebMParserClient::OnListStart(int id) {
+
674  DVLOG(1) << "Unexpected list element start with ID " << std::hex << id;
+
675  return NULL;
+
676 }
+
677 
+
678 bool WebMParserClient::OnListEnd(int id) {
+
679  DVLOG(1) << "Unexpected list element end with ID " << std::hex << id;
+
680  return false;
+
681 }
+
682 
+
683 bool WebMParserClient::OnUInt(int id, int64_t val) {
+
684  DVLOG(1) << "Unexpected unsigned integer element with ID " << std::hex << id;
+
685  return false;
+
686 }
+
687 
+
688 bool WebMParserClient::OnFloat(int id, double val) {
+
689  DVLOG(1) << "Unexpected float element with ID " << std::hex << id;
+
690  return false;
+
691 }
+
692 
+
693 bool WebMParserClient::OnBinary(int id, const uint8_t* data, int size) {
+
694  DVLOG(1) << "Unexpected binary element with ID " << std::hex << id;
+
695  return false;
+
696 }
+
697 
+
698 bool WebMParserClient::OnString(int id, const std::string& str) {
+
699  DVLOG(1) << "Unexpected string element with ID " << std::hex << id;
+
700  return false;
+
701 }
+
702 
+
703 WebMListParser::WebMListParser(int id, WebMParserClient* client)
+
704  : state_(NEED_LIST_HEADER),
+
705  root_id_(id),
+
706  root_level_(FindListLevel(id)),
+
707  root_client_(client) {
+
708  DCHECK_GE(root_level_, 0);
+
709  DCHECK(client);
+
710 }
+
711 
+
712 WebMListParser::~WebMListParser() {}
+
713 
+
714 void WebMListParser::Reset() {
+
715  ChangeState(NEED_LIST_HEADER);
+
716  list_state_stack_.clear();
+
717 }
+
718 
+
719 int WebMListParser::Parse(const uint8_t* buf, int size) {
+
720  DCHECK(buf);
+
721 
+
722  if (size < 0 || state_ == PARSE_ERROR || state_ == DONE_PARSING_LIST)
+
723  return -1;
+
724 
+
725  if (size == 0)
+
726  return 0;
+
727 
+
728  const uint8_t* cur = buf;
+
729  int cur_size = size;
+
730  int bytes_parsed = 0;
+
731 
+
732  while (cur_size > 0 && state_ != PARSE_ERROR && state_ != DONE_PARSING_LIST) {
+
733  int element_id = 0;
+
734  int64_t element_size = 0;
+
735  int result = WebMParseElementHeader(cur, cur_size, &element_id,
+
736  &element_size);
+
737 
+
738  if (result < 0)
+
739  return result;
+
740 
+
741  if (result == 0)
+
742  return bytes_parsed;
+
743 
+
744  switch(state_) {
+
745  case NEED_LIST_HEADER: {
+
746  if (element_id != root_id_) {
+
747  ChangeState(PARSE_ERROR);
+
748  return -1;
+
749  }
+
750 
+
751  // Only allow Segment & Cluster to have an unknown size.
+
752  if (element_size == kWebMUnknownSize &&
+
753  (element_id != kWebMIdSegment) &&
+
754  (element_id != kWebMIdCluster)) {
+
755  ChangeState(PARSE_ERROR);
+
756  return -1;
+
757  }
+
758 
+
759  ChangeState(INSIDE_LIST);
+
760  if (!OnListStart(root_id_, element_size))
+
761  return -1;
+
762 
+
763  break;
+
764  }
+
765 
+
766  case INSIDE_LIST: {
+
767  int header_size = result;
+
768  const uint8_t* element_data = cur + header_size;
+
769  int element_data_size = cur_size - header_size;
+
770 
+
771  if (element_size < element_data_size)
+
772  element_data_size = element_size;
+
773 
+
774  result = ParseListElement(header_size, element_id, element_size,
+
775  element_data, element_data_size);
+
776 
+
777  DCHECK_LE(result, header_size + element_data_size);
+
778  if (result < 0) {
+
779  ChangeState(PARSE_ERROR);
+
780  return -1;
+
781  }
+
782 
+
783  if (result == 0)
+
784  return bytes_parsed;
+
785 
+
786  break;
+
787  }
+
788  case DONE_PARSING_LIST:
+
789  case PARSE_ERROR:
+
790  // Shouldn't be able to get here.
+
791  NOTIMPLEMENTED();
+
792  break;
+
793  }
+
794 
+
795  cur += result;
+
796  cur_size -= result;
+
797  bytes_parsed += result;
+
798  }
+
799 
+
800  return (state_ == PARSE_ERROR) ? -1 : bytes_parsed;
+
801 }
+
802 
+
803 bool WebMListParser::IsParsingComplete() const {
+
804  return state_ == DONE_PARSING_LIST;
+
805 }
+
806 
+
807 void WebMListParser::ChangeState(State new_state) {
+
808  state_ = new_state;
+
809 }
+
810 
+
811 int WebMListParser::ParseListElement(int header_size,
+
812  int id,
+
813  int64_t element_size,
+
814  const uint8_t* data,
+
815  int size) {
+
816  DCHECK_GT(list_state_stack_.size(), 0u);
+
817 
+
818  ListState& list_state = list_state_stack_.back();
+
819  DCHECK(list_state.element_info_);
+
820 
+
821  const ListElementInfo* element_info = list_state.element_info_;
+
822  ElementType id_type =
+
823  FindIdType(id, element_info->id_info_, element_info->id_info_count_);
+
824 
+
825  // Unexpected ID.
+
826  if (id_type == UNKNOWN) {
+
827  if (list_state.size_ != kWebMUnknownSize ||
+
828  !IsSiblingOrAncestor(list_state.id_, id)) {
+
829  DVLOG(1) << "No ElementType info for ID 0x" << std::hex << id;
+
830  return -1;
+
831  }
+
832 
+
833  // We've reached the end of a list of unknown size. Update the size now that
+
834  // we know it and dispatch the end of list calls.
+
835  list_state.size_ = list_state.bytes_parsed_;
+
836 
+
837  if (!OnListEnd())
+
838  return -1;
+
839 
+
840  // Check to see if all open lists have ended.
+
841  if (list_state_stack_.size() == 0)
+
842  return 0;
+
843 
+
844  list_state = list_state_stack_.back();
+
845  }
+
846 
+
847  // Make sure the whole element can fit inside the current list.
+
848  int64_t total_element_size = header_size + element_size;
+
849  if (list_state.size_ != kWebMUnknownSize &&
+
850  list_state.size_ < list_state.bytes_parsed_ + total_element_size) {
+
851  return -1;
+
852  }
+
853 
+
854  if (id_type == LIST) {
+
855  list_state.bytes_parsed_ += header_size;
+
856 
+
857  if (!OnListStart(id, element_size))
+
858  return -1;
+
859  return header_size;
+
860  }
+
861 
+
862  // Make sure we have the entire element before trying to parse a non-list
+
863  // element.
+
864  if (size < element_size)
+
865  return 0;
+
866 
+
867  int bytes_parsed = ParseNonListElement(id_type, id, element_size,
+
868  data, size, list_state.client_);
+
869  DCHECK_LE(bytes_parsed, size);
+
870 
+
871  // Return if an error occurred or we need more data.
+
872  // Note: bytes_parsed is 0 for a successful parse of a size 0 element. We
+
873  // need to check the element_size to disambiguate the "need more data" case
+
874  // from a successful parse.
+
875  if (bytes_parsed < 0 || (bytes_parsed == 0 && element_size != 0))
+
876  return bytes_parsed;
+
877 
+
878  int result = header_size + bytes_parsed;
+
879  list_state.bytes_parsed_ += result;
+
880 
+
881  // See if we have reached the end of the current list.
+
882  if (list_state.bytes_parsed_ == list_state.size_) {
+
883  if (!OnListEnd())
+
884  return -1;
+
885  }
+
886 
+
887  return result;
+
888 }
+
889 
+
890 bool WebMListParser::OnListStart(int id, int64_t size) {
+
891  const ListElementInfo* element_info = FindListInfo(id);
+
892  if (!element_info)
+
893  return false;
+
894 
+
895  int current_level = root_level_ + list_state_stack_.size() - 1;
+
896  if (current_level + 1 != element_info->level_)
+
897  return false;
+
898 
+
899  WebMParserClient* current_list_client = NULL;
+
900  if (!list_state_stack_.empty()) {
+
901  // Make sure the new list doesn't go past the end of the current list.
+
902  ListState current_list_state = list_state_stack_.back();
+
903  if (current_list_state.size_ != kWebMUnknownSize &&
+
904  current_list_state.size_ < current_list_state.bytes_parsed_ + size)
+
905  return false;
+
906  current_list_client = current_list_state.client_;
+
907  } else {
+
908  current_list_client = root_client_;
+
909  }
+
910 
+
911  WebMParserClient* new_list_client = current_list_client->OnListStart(id);
+
912  if (!new_list_client)
+
913  return false;
+
914 
+
915  ListState new_list_state = { id, size, 0, element_info, new_list_client };
+
916  list_state_stack_.push_back(new_list_state);
+
917 
+
918  if (size == 0)
+
919  return OnListEnd();
+
920 
+
921  return true;
+
922 }
+
923 
+
924 bool WebMListParser::OnListEnd() {
+
925  int lists_ended = 0;
+
926  for (; !list_state_stack_.empty(); ++lists_ended) {
+
927  const ListState& list_state = list_state_stack_.back();
+
928  int64_t bytes_parsed = list_state.bytes_parsed_;
+
929  int id = list_state.id_;
+
930 
+
931  if (bytes_parsed != list_state.size_)
+
932  break;
+
933 
+
934  list_state_stack_.pop_back();
+
935 
+
936  WebMParserClient* client = NULL;
+
937  if (!list_state_stack_.empty()) {
+
938  // Update the bytes_parsed_ for the parent element.
+
939  list_state_stack_.back().bytes_parsed_ += bytes_parsed;
+
940  client = list_state_stack_.back().client_;
+
941  } else {
+
942  client = root_client_;
+
943  }
+
944 
+
945  if (!client->OnListEnd(id))
+
946  return false;
+
947  }
+
948 
+
949  DCHECK_GE(lists_ended, 1);
+
950 
+
951  if (list_state_stack_.empty())
+
952  ChangeState(DONE_PARSING_LIST);
+
953 
+
954  return true;
+
955 }
+
956 
+
957 bool WebMListParser::IsSiblingOrAncestor(int id_a, int id_b) const {
+
958  DCHECK((id_a == kWebMIdSegment) || (id_a == kWebMIdCluster));
+
959 
+
960  if (id_a == kWebMIdCluster) {
+
961  // kWebMIdCluster siblings.
+
962  for (size_t i = 0; i < arraysize(kSegmentIds); i++) {
+
963  if (kSegmentIds[i].id_ == id_b)
+
964  return true;
+
965  }
+
966  }
+
967 
+
968  // kWebMIdSegment siblings.
+
969  return ((id_b == kWebMIdSegment) || (id_b == kWebMIdEBMLHeader));
+
970 }
+
971 
+
972 } // namespace media
+
973 } // namespace edash_packager
+
+ + + + diff --git a/docs/d3/dbc/structedash__packager_1_1media_1_1H264WeightingFactors.html b/docs/d3/dbc/structedash__packager_1_1media_1_1H264WeightingFactors.html index eb08032fec..1edb3b5fc1 100644 --- a/docs/d3/dbc/structedash__packager_1_1media_1_1H264WeightingFactors.html +++ b/docs/d3/dbc/structedash__packager_1_1media_1_1H264WeightingFactors.html @@ -124,7 +124,7 @@ int chroma_offset [32] diff --git a/docs/d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html b/docs/d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html index 2c3bc94936..737b949feb 100644 --- a/docs/d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html +++ b/docs/d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::HandlerReference: - - - - - - - + + + + + + + @@ -145,7 +145,7 @@ Additional Inherited Members

Definition at line 162 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -161,7 +161,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -180,7 +180,7 @@ Additional Inherited Members
diff --git a/docs/d3/dbe/demuxer_8cc_source.html b/docs/d3/dbe/demuxer_8cc_source.html index 48a358592c..ddede7b16b 100644 --- a/docs/d3/dbe/demuxer_8cc_source.html +++ b/docs/d3/dbe/demuxer_8cc_source.html @@ -301,7 +301,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/dc0/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html b/docs/d3/dc0/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html index 42a61d54e5..77c220a872 100644 --- a/docs/d3/dc0/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html +++ b/docs/d3/dc0/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SampleAuxiliaryInformationOffset)edash_packager::media::mp4::SampleAuxiliaryInformationOffsetvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::SampleAuxiliaryInformationOffsetvirtual
BoxType() const override (defined in edash_packager::media::mp4::SampleAuxiliaryInformationOffset)edash_packager::media::mp4::SampleAuxiliaryInformationOffsetvirtual
ComputeSize() overrideedash_packager::media::mp4::SampleAuxiliaryInformationOffsetvirtual
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
offsets (defined in edash_packager::media::mp4::SampleAuxiliaryInformationOffset)edash_packager::media::mp4::SampleAuxiliaryInformationOffset
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SampleAuxiliaryInformationOffsetvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SampleAuxiliaryInformationOffsetvirtual
SampleAuxiliaryInformationOffset() (defined in edash_packager::media::mp4::SampleAuxiliaryInformationOffset)edash_packager::media::mp4::SampleAuxiliaryInformationOffset
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~SampleAuxiliaryInformationOffset() (defined in edash_packager::media::mp4::SampleAuxiliaryInformationOffset)edash_packager::media::mp4::SampleAuxiliaryInformationOffsetvirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~SampleAuxiliaryInformationOffset() override (defined in edash_packager::media::mp4::SampleAuxiliaryInformationOffset)edash_packager::media::mp4::SampleAuxiliaryInformationOffset
diff --git a/docs/d3/dcc/classedash__packager_1_1media_1_1ProgressListener-members.html b/docs/d3/dcc/classedash__packager_1_1media_1_1ProgressListener-members.html index 32c470521f..2b16e8f024 100644 --- a/docs/d3/dcc/classedash__packager_1_1media_1_1ProgressListener-members.html +++ b/docs/d3/dcc/classedash__packager_1_1media_1_1ProgressListener-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/dd0/classedash__packager_1_1media_1_1mp4_1_1BoxReader-members.html b/docs/d3/dd0/classedash__packager_1_1media_1_1mp4_1_1BoxReader-members.html index 2e7e2305d3..07f0d5603c 100644 --- a/docs/d3/dd0/classedash__packager_1_1media_1_1mp4_1_1BoxReader-members.html +++ b/docs/d3/dd0/classedash__packager_1_1media_1_1mp4_1_1BoxReader-members.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html b/docs/d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html index ac286a7b03..48dbcc67e0 100644 --- a/docs/d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html +++ b/docs/d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::Track: - - - - - - - + + + + + + + @@ -143,7 +143,7 @@ Additional Inherited Members

Definition at line 395 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -159,7 +159,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -178,7 +178,7 @@ Additional Inherited Members
diff --git a/docs/d3/de7/structedash__packager_1_1media_1_1OnMediaEndParameters.html b/docs/d3/de7/structedash__packager_1_1media_1_1OnMediaEndParameters.html index c4bdd68f1c..5667d54a88 100644 --- a/docs/d3/de7/structedash__packager_1_1media_1_1OnMediaEndParameters.html +++ b/docs/d3/de7/structedash__packager_1_1media_1_1OnMediaEndParameters.html @@ -130,7 +130,7 @@ uint64_t file_size diff --git a/docs/d3/df1/box__reader_8cc_source.html b/docs/d3/df1/box__reader_8cc_source.html index 72fe66f7c1..fec211fc75 100644 --- a/docs/d3/df1/box__reader_8cc_source.html +++ b/docs/d3/df1/box__reader_8cc_source.html @@ -295,7 +295,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/dfa/classedash__packager_1_1MpdBuilder.html b/docs/d3/dfa/classedash__packager_1_1MpdBuilder.html index 9eb4bbcd0e..b2508fd5e8 100644 --- a/docs/d3/dfa/classedash__packager_1_1MpdBuilder.html +++ b/docs/d3/dfa/classedash__packager_1_1MpdBuilder.html @@ -113,7 +113,7 @@ Inheritance diagram for edash_packager::MpdBuilder: - @@ -381,7 +381,7 @@ class 

Public Types

enum  MpdType { kStatic = 0, +
enum  MpdType { kStatic = 0, kDynamic }
 
DynamicMpdBuilderTes diff --git a/docs/d3/dfa/structedash__packager_1_1media_1_1H264SliceHeader-members.html b/docs/d3/dfa/structedash__packager_1_1media_1_1H264SliceHeader-members.html index b99c31a35d..823902bf88 100644 --- a/docs/d3/dfa/structedash__packager_1_1media_1_1H264SliceHeader-members.html +++ b/docs/d3/dfa/structedash__packager_1_1media_1_1H264SliceHeader-members.html @@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d4/d0b/structedash__packager_1_1media_1_1mp4_1_1Media-members.html b/docs/d4/d0b/structedash__packager_1_1media_1_1mp4_1_1Media-members.html index 3b6b2d9ed7..d33ee4327c 100644 --- a/docs/d4/d0b/structedash__packager_1_1media_1_1mp4_1_1Media-members.html +++ b/docs/d4/d0b/structedash__packager_1_1media_1_1mp4_1_1Media-members.html @@ -95,21 +95,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::Media)edash_packager::media::mp4::Mediavirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::Mediavirtual
BoxType() const override (defined in edash_packager::media::mp4::Media)edash_packager::media::mp4::Mediavirtual
ComputeSize() overrideedash_packager::media::mp4::Mediavirtual
handler (defined in edash_packager::media::mp4::Media)edash_packager::media::mp4::Media
header (defined in edash_packager::media::mp4::Media)edash_packager::media::mp4::Media
information (defined in edash_packager::media::mp4::Media)edash_packager::media::mp4::Media
Media() (defined in edash_packager::media::mp4::Media)edash_packager::media::mp4::Media
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::Mediavirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::Mediavirtual
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~Media() (defined in edash_packager::media::mp4::Media)edash_packager::media::mp4::Mediavirtual
~Media() override (defined in edash_packager::media::mp4::Media)edash_packager::media::mp4::Media
diff --git a/docs/d4/d1d/classedash__packager_1_1media_1_1Muxer.html b/docs/d4/d1d/classedash__packager_1_1media_1_1Muxer.html index c054fd93a7..48080054fb 100644 --- a/docs/d4/d1d/classedash__packager_1_1media_1_1Muxer.html +++ b/docs/d4/d1d/classedash__packager_1_1media_1_1Muxer.html @@ -330,7 +330,7 @@ class MediaStream diff --git a/docs/d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.html b/docs/d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.html new file mode 100644 index 0000000000..85ae8f2d04 --- /dev/null +++ b/docs/d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.html @@ -0,0 +1,263 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::WebMStreamParser Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::WebMStreamParser Class Reference
+
+
+
+Inheritance diagram for edash_packager::media::WebMStreamParser:
+
+
+ + +edash_packager::media::MediaParser + +
+ + + + + + + + +

+Public Member Functions

void Init (const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) override
 
void Flush () override
 
bool Parse (const uint8_t *buf, int size) override
 
+ + + + + + +

+Additional Inherited Members

- Public Types inherited from edash_packager::media::MediaParser
typedef base::Callback< void(const
+std::vector< scoped_refptr
+< StreamInfo > > &stream_info)> 
InitCB
 
typedef base::Callback< bool(uint32_t
+track_id, const scoped_refptr
+< MediaSample > &media_sample)> 
NewSampleCB
 
+

Detailed Description

+
+

Definition at line 18 of file webm_stream_parser.h.

+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
void edash_packager::media::WebMStreamParser::Flush ()
+
+overridevirtual
+
+

Flush data currently in the parser and put the parser in a state where it can receive data for a new seek point.

+ +

Implements edash_packager::media::MediaParser.

+ +

Definition at line 46 of file webm_stream_parser.cc.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void edash_packager::media::WebMStreamParser::Init (const InitCBinit_cb,
const NewSampleCBnew_sample_cb,
KeySourcedecryption_key_source 
)
+
+overridevirtual
+
+

Initialize the parser with necessary callbacks. Must be called before any data is passed to Parse().

+
Parameters
+ + + +
init_cbwill be called once enough data has been parsed to determine the initial stream configurations.
new_sample_cbwill be called each time a new media sample is available from the parser. May be NULL, and caller retains ownership.
+
+
+ +

Implements edash_packager::media::MediaParser.

+ +

Definition at line 30 of file webm_stream_parser.cc.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool edash_packager::media::WebMStreamParser::Parse (const uint8_t * buf,
int size 
)
+
+overridevirtual
+
+

Should be called when there is new data to parse.

+
Returns
true if successful.
+ +

Implements edash_packager::media::MediaParser.

+ +

Definition at line 57 of file webm_stream_parser.cc.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.png b/docs/d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.png new file mode 100644 index 0000000000..e2675235be Binary files /dev/null and b/docs/d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.png differ diff --git a/docs/d4/d2e/classedash__packager_1_1media_1_1mp4_1_1FrameCENCInfo-members.html b/docs/d4/d2e/classedash__packager_1_1media_1_1mp4_1_1FrameCENCInfo-members.html index d534cb6d34..b7eac728e8 100644 --- a/docs/d4/d2e/classedash__packager_1_1media_1_1mp4_1_1FrameCENCInfo-members.html +++ b/docs/d4/d2e/classedash__packager_1_1media_1_1mp4_1_1FrameCENCInfo-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d37/io__cache_8cc_source.html b/docs/d4/d37/io__cache_8cc_source.html index 601e766c7a..26fac15698 100644 --- a/docs/d4/d37/io__cache_8cc_source.html +++ b/docs/d4/d37/io__cache_8cc_source.html @@ -242,7 +242,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d43/classedash__packager_1_1media_1_1KeyFetcher.html b/docs/d4/d43/classedash__packager_1_1media_1_1KeyFetcher.html index 60d893b748..2dca0a62b6 100644 --- a/docs/d4/d43/classedash__packager_1_1media_1_1KeyFetcher.html +++ b/docs/d4/d43/classedash__packager_1_1media_1_1KeyFetcher.html @@ -166,7 +166,7 @@ Public Member Functions
Returns
OK on success.
-

Implemented in edash_packager::media::HttpKeyFetcher.

+

Implemented in edash_packager::media::HttpKeyFetcher.

@@ -177,7 +177,7 @@ Public Member Functions diff --git a/docs/d4/d55/classedash__packager_1_1media_1_1H264BitReader.html b/docs/d4/d55/classedash__packager_1_1media_1_1H264BitReader.html index 7bfe0d90cf..0e757d8736 100644 --- a/docs/d4/d55/classedash__packager_1_1media_1_1H264BitReader.html +++ b/docs/d4/d55/classedash__packager_1_1media_1_1H264BitReader.html @@ -122,7 +122,7 @@ size_t NumEmulationPrevent diff --git a/docs/d4/d67/structedash__packager_1_1media_1_1mp4_1_1MovieFragment-members.html b/docs/d4/d67/structedash__packager_1_1media_1_1mp4_1_1MovieFragment-members.html index 8ac02e03c4..e5f98c1ce0 100644 --- a/docs/d4/d67/structedash__packager_1_1media_1_1mp4_1_1MovieFragment-members.html +++ b/docs/d4/d67/structedash__packager_1_1media_1_1mp4_1_1MovieFragment-members.html @@ -95,21 +95,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::MovieFragment)edash_packager::media::mp4::MovieFragmentvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::MovieFragmentvirtual
BoxType() const override (defined in edash_packager::media::mp4::MovieFragment)edash_packager::media::mp4::MovieFragmentvirtual
ComputeSize() overrideedash_packager::media::mp4::MovieFragmentvirtual
header (defined in edash_packager::media::mp4::MovieFragment)edash_packager::media::mp4::MovieFragment
MovieFragment() (defined in edash_packager::media::mp4::MovieFragment)edash_packager::media::mp4::MovieFragment
Parse(BoxReader *reader)edash_packager::media::mp4::Box
pssh (defined in edash_packager::media::mp4::MovieFragment)edash_packager::media::mp4::MovieFragment
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::MovieFragmentvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::MovieFragmentvirtual
tracks (defined in edash_packager::media::mp4::MovieFragment)edash_packager::media::mp4::MovieFragment
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~MovieFragment() (defined in edash_packager::media::mp4::MovieFragment)edash_packager::media::mp4::MovieFragmentvirtual
~MovieFragment() override (defined in edash_packager::media::mp4::MovieFragment)edash_packager::media::mp4::MovieFragment
diff --git a/docs/d4/d71/structedash__packager_1_1xml_1_1ScopedXmlPtr-members.html b/docs/d4/d71/structedash__packager_1_1xml_1_1ScopedXmlPtr-members.html index 6de70fe77d..00caad8e21 100644 --- a/docs/d4/d71/structedash__packager_1_1xml_1_1ScopedXmlPtr-members.html +++ b/docs/d4/d71/structedash__packager_1_1xml_1_1ScopedXmlPtr-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d8f/structedash__packager_1_1media_1_1mp4_1_1MovieHeader-members.html b/docs/d4/d8f/structedash__packager_1_1media_1_1mp4_1_1MovieHeader-members.html index d12689c321..94ce1e8f74 100644 --- a/docs/d4/d8f/structedash__packager_1_1media_1_1mp4_1_1MovieHeader-members.html +++ b/docs/d4/d8f/structedash__packager_1_1media_1_1mp4_1_1MovieHeader-members.html @@ -95,8 +95,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + @@ -106,18 +106,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::MovieHeader)edash_packager::media::mp4::MovieHeadervirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::MovieHeadervirtual
BoxType() const override (defined in edash_packager::media::mp4::MovieHeader)edash_packager::media::mp4::MovieHeadervirtual
ComputeSize() overrideedash_packager::media::mp4::MovieHeadervirtual
creation_time (defined in edash_packager::media::mp4::MovieHeader)edash_packager::media::mp4::MovieHeader
duration (defined in edash_packager::media::mp4::MovieHeader)edash_packager::media::mp4::MovieHeader
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
next_track_id (defined in edash_packager::media::mp4::MovieHeader)edash_packager::media::mp4::MovieHeader
Parse(BoxReader *reader)edash_packager::media::mp4::Box
rate (defined in edash_packager::media::mp4::MovieHeader)edash_packager::media::mp4::MovieHeader
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::MovieHeadervirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::MovieHeadervirtual
timescale (defined in edash_packager::media::mp4::MovieHeader)edash_packager::media::mp4::MovieHeader
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
volume (defined in edash_packager::media::mp4::MovieHeader)edash_packager::media::mp4::MovieHeader
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~MovieHeader() (defined in edash_packager::media::mp4::MovieHeader)edash_packager::media::mp4::MovieHeadervirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~MovieHeader() override (defined in edash_packager::media::mp4::MovieHeader)edash_packager::media::mp4::MovieHeader
diff --git a/docs/d4/d90/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator.html b/docs/d4/d90/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator.html index 8ae3f4f1ea..9ed5ff472e 100644 --- a/docs/d4/d90/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator.html +++ b/docs/d4/d90/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator.html @@ -235,7 +235,7 @@ Public Member Functions diff --git a/docs/d4/d92/structedash__packager_1_1media_1_1mp4_1_1MediaData.html b/docs/d4/d92/structedash__packager_1_1media_1_1mp4_1_1MediaData.html index be125dff0f..e7c99ac0f3 100644 --- a/docs/d4/d92/structedash__packager_1_1media_1_1mp4_1_1MediaData.html +++ b/docs/d4/d92/structedash__packager_1_1media_1_1mp4_1_1MediaData.html @@ -123,7 +123,7 @@ uint32_t data_size diff --git a/docs/d4/d93/structedash__packager_1_1media_1_1H264SEIMessage.html b/docs/d4/d93/structedash__packager_1_1media_1_1H264SEIMessage.html index 7ac22aa61c..3f340d9645 100644 --- a/docs/d4/d93/structedash__packager_1_1media_1_1H264SEIMessage.html +++ b/docs/d4/d93/structedash__packager_1_1media_1_1H264SEIMessage.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); -

Public Types

enum  Type { kSEIRecoveryPoint = 6 +
enum  Type { kSEIRecoveryPoint = 6 }
 
@@ -127,7 +127,7 @@ union { diff --git a/docs/d4/d9b/classedash__packager_1_1AdaptationSet-members.html b/docs/d4/d9b/classedash__packager_1_1AdaptationSet-members.html index 00e6049e82..c9da5f9517 100644 --- a/docs/d4/d9b/classedash__packager_1_1AdaptationSet-members.html +++ b/docs/d4/d9b/classedash__packager_1_1AdaptationSet-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d4/da1/classedash__packager_1_1media_1_1DecryptConfig.html b/docs/d4/da1/classedash__packager_1_1media_1_1DecryptConfig.html index c4dc0aa732..181079d461 100644 --- a/docs/d4/da1/classedash__packager_1_1media_1_1DecryptConfig.html +++ b/docs/d4/da1/classedash__packager_1_1media_1_1DecryptConfig.html @@ -183,7 +183,7 @@ static const size_t  diff --git a/docs/d4/da4/classedash__packager_1_1media_1_1AesCbcCtsEncryptor-members.html b/docs/d4/da4/classedash__packager_1_1media_1_1AesCbcCtsEncryptor-members.html index a13f2ebafb..73615f79a8 100644 --- a/docs/d4/da4/classedash__packager_1_1media_1_1AesCbcCtsEncryptor-members.html +++ b/docs/d4/da4/classedash__packager_1_1media_1_1AesCbcCtsEncryptor-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/db2/cluster__builder_8h_source.html b/docs/d4/db2/cluster__builder_8h_source.html new file mode 100644 index 0000000000..2cffb64ae1 --- /dev/null +++ b/docs/d4/db2/cluster__builder_8h_source.html @@ -0,0 +1,184 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/cluster_builder.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
cluster_builder.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_CLUSTER_BUILDER_H_
+
6 #define MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_
+
7 
+
8 #include <stdint.h>
+
9 #include "packager/base/memory/scoped_ptr.h"
+
10 
+
11 namespace edash_packager {
+
12 namespace media {
+
13 
+
14 class Cluster {
+
15  public:
+
16  Cluster(scoped_ptr<uint8_t[]> data, int size);
+
17  ~Cluster();
+
18 
+
19  const uint8_t* data() const { return data_.get(); }
+
20  int size() const { return size_; }
+
21 
+
22  private:
+
23  scoped_ptr<uint8_t[]> data_;
+
24  int size_;
+
25 
+
26  DISALLOW_IMPLICIT_CONSTRUCTORS(Cluster);
+
27 };
+
28 
+ +
30  public:
+ +
32  ~ClusterBuilder();
+
33 
+
34  void SetClusterTimecode(int64_t cluster_timecode);
+
35  void AddSimpleBlock(int track_num,
+
36  int64_t timecode,
+
37  int flags,
+
38  const uint8_t* data,
+
39  int size);
+
40  void AddBlockGroup(int track_num,
+
41  int64_t timecode,
+
42  int duration,
+
43  int flags,
+
44  const uint8_t* data,
+
45  int size);
+
46  void AddBlockGroupWithoutBlockDuration(int track_num,
+
47  int64_t timecode,
+
48  int flags,
+
49  const uint8_t* data,
+
50  int size);
+
51 
+
52  scoped_ptr<Cluster> Finish();
+
53  scoped_ptr<Cluster> FinishWithUnknownSize();
+
54 
+
55  private:
+
56  void AddBlockGroupInternal(int track_num,
+
57  int64_t timecode,
+
58  bool include_block_duration,
+
59  int duration,
+
60  int flags,
+
61  const uint8_t* data,
+
62  int size);
+
63  void Reset();
+
64  void ExtendBuffer(int bytes_needed);
+
65  void UpdateUInt64(int offset, int64_t value);
+
66  void WriteBlock(uint8_t* buf,
+
67  int track_num,
+
68  int64_t timecode,
+
69  int flags,
+
70  const uint8_t* data,
+
71  int size);
+
72 
+
73  scoped_ptr<uint8_t[]> buffer_;
+
74  int buffer_size_;
+
75  int bytes_used_;
+
76  int64_t cluster_timecode_;
+
77 
+
78  DISALLOW_COPY_AND_ASSIGN(ClusterBuilder);
+
79 };
+
80 
+
81 } // namespace media
+
82 } // namespace edash_packager
+
83 
+
84 #endif // MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_
+ + +
+ + + + diff --git a/docs/d4/dca/structedash__packager_1_1media_1_1H264SEIRecoveryPoint.html b/docs/d4/dca/structedash__packager_1_1media_1_1H264SEIRecoveryPoint.html index b059eb2adf..0492993c13 100644 --- a/docs/d4/dca/structedash__packager_1_1media_1_1H264SEIRecoveryPoint.html +++ b/docs/d4/dca/structedash__packager_1_1media_1_1H264SEIRecoveryPoint.html @@ -118,7 +118,7 @@ int changing_slice_group_i diff --git a/docs/d4/dcb/classedash__packager_1_1media_1_1Status-members.html b/docs/d4/dcb/classedash__packager_1_1media_1_1Status-members.html index 9dd9c45fa4..fcee07f70c 100644 --- a/docs/d4/dcb/classedash__packager_1_1media_1_1Status-members.html +++ b/docs/d4/dcb/classedash__packager_1_1media_1_1Status-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html b/docs/d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html index 67735597d0..1736ae8736 100644 --- a/docs/d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html +++ b/docs/d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::SchemeType: - - - - - - - + + + + + + + @@ -148,7 +148,7 @@ Additional Inherited Members

Definition at line 79 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -164,7 +164,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -183,7 +183,7 @@ Additional Inherited Members
diff --git a/docs/d4/dcd/classedash__packager_1_1media_1_1OffsetByteQueue-members.html b/docs/d4/dcd/classedash__packager_1_1media_1_1OffsetByteQueue-members.html index dc27659301..d164060b97 100644 --- a/docs/d4/dcd/classedash__packager_1_1media_1_1OffsetByteQueue-members.html +++ b/docs/d4/dcd/classedash__packager_1_1media_1_1OffsetByteQueue-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dce/structedash__packager_1_1media_1_1mp4_1_1SegmentReference.html b/docs/d4/dce/structedash__packager_1_1media_1_1mp4_1_1SegmentReference.html index d3dc9fbe17..57fa6c2f57 100644 --- a/docs/d4/dce/structedash__packager_1_1media_1_1mp4_1_1SegmentReference.html +++ b/docs/d4/dce/structedash__packager_1_1media_1_1mp4_1_1SegmentReference.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - +overridevirtual

Public Types

enum  SAPType {
+
enum  SAPType {
  TypeUnknown = 0, Type1 = 1, Type2 = 2, @@ -143,7 +143,7 @@ uint64_t 
earliest_presenta diff --git a/docs/d4/dd3/bit__reader_8h_source.html b/docs/d4/dd3/bit__reader_8h_source.html index f66a94a4d0..01034d27b9 100644 --- a/docs/d4/dd3/bit__reader_8h_source.html +++ b/docs/d4/dd3/bit__reader_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_BASE_BIT_READER_H_
-
6 #define MEDIA_BASE_BIT_READER_H_
-
7 
+
6 #define MEDIA_BASE_BIT_READER_H_
+
7 
8 #include <stdint.h>
9 #include <sys/types.h>
10 
@@ -158,7 +158,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dd4/segmenter_8h_source.html b/docs/d4/dd4/segmenter_8h_source.html index 69eeda5951..25ae64225e 100644 --- a/docs/d4/dd4/segmenter_8h_source.html +++ b/docs/d4/dd4/segmenter_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_SEGMENTER_H_
-
8 #define MEDIA_FORMATS_MP4_SEGMENTER_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_SEGMENTER_H_
+
9 
10 #include <map>
11 #include <vector>
12 
@@ -223,7 +223,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html b/docs/d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html index 7177f10d36..03feae544a 100644 --- a/docs/d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html +++ b/docs/d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::TrackFragment: - - - - - - - + + + + + + + @@ -158,7 +158,7 @@ Additional Inherited Members

Definition at line 531 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -174,7 +174,7 @@ Additional Inherited Members
-virtual
@@ -193,7 +193,7 @@ Additional Inherited Members
diff --git a/docs/d4/dde/webvtt__util_8h_source.html b/docs/d4/dde/webvtt__util_8h_source.html new file mode 100644 index 0000000000..9730ff266d --- /dev/null +++ b/docs/d4/dde/webvtt__util_8h_source.html @@ -0,0 +1,130 @@ + + + + + + +DASH Media Packaging SDK: media/filters/webvtt_util.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webvtt_util.h
+
+
+
1 // Copyright 2013 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 PACKAGER_MEDIA_FILTERS_WEBVTT_UTIL_H_
+
6 #define PACKAGER_MEDIA_FILTERS_WEBVTT_UTIL_H_
+
7 
+
8 #include <vector>
+
9 
+
10 namespace edash_packager {
+
11 namespace media {
+
12 
+
13 // Utility function to create side data item for decoder buffer.
+
14 template<typename T>
+
15 void MakeSideData(T id_begin, T id_end,
+
16  T settings_begin, T settings_end,
+
17  std::vector<uint8>* side_data) {
+
18  // The DecoderBuffer only supports a single side data item. In the case of
+
19  // a WebVTT cue, we can have potentially two side data items. In order to
+
20  // avoid disrupting DecoderBuffer any more than we need to, we copy both
+
21  // side data items onto a single one, and terminate each with a NUL marker.
+
22  side_data->clear();
+
23  side_data->insert(side_data->end(), id_begin, id_end);
+
24  side_data->push_back(0);
+
25  side_data->insert(side_data->end(), settings_begin, settings_end);
+
26  side_data->push_back(0);
+
27 }
+
28 
+
29 } // namespace media
+
30 } // namespace edash_packager
+
31 
+
32 #endif // PACKAGER_MEDIA_FILTERS_WEBVTT_UTIL_H_
+
+ + + + diff --git a/docs/d4/de4/structedash__packager_1_1media_1_1SubsampleEntry.html b/docs/d4/de4/structedash__packager_1_1media_1_1SubsampleEntry.html index 5cc44fa324..eb5591aa1b 100644 --- a/docs/d4/de4/structedash__packager_1_1media_1_1SubsampleEntry.html +++ b/docs/d4/de4/structedash__packager_1_1media_1_1SubsampleEntry.html @@ -115,7 +115,7 @@ uint32_t cipher_bytes< diff --git a/docs/d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html b/docs/d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html index 61bf80378a..872ae22210 100644 --- a/docs/d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html +++ b/docs/d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html @@ -225,7 +225,7 @@ Public Member Functions diff --git a/docs/d4/de7/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html b/docs/d4/de7/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html index bc8ebd5d72..213a9e839e 100644 --- a/docs/d4/de7/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html +++ b/docs/d4/de7/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html @@ -95,25 +95,25 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SampleAuxiliaryInformationSize)edash_packager::media::mp4::SampleAuxiliaryInformationSizevirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::SampleAuxiliaryInformationSizevirtual
BoxType() const override (defined in edash_packager::media::mp4::SampleAuxiliaryInformationSize)edash_packager::media::mp4::SampleAuxiliaryInformationSizevirtual
ComputeSize() overrideedash_packager::media::mp4::SampleAuxiliaryInformationSizevirtual
default_sample_info_size (defined in edash_packager::media::mp4::SampleAuxiliaryInformationSize)edash_packager::media::mp4::SampleAuxiliaryInformationSize
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SampleAuxiliaryInformationSizevirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SampleAuxiliaryInformationSizevirtual
sample_count (defined in edash_packager::media::mp4::SampleAuxiliaryInformationSize)edash_packager::media::mp4::SampleAuxiliaryInformationSize
sample_info_sizes (defined in edash_packager::media::mp4::SampleAuxiliaryInformationSize)edash_packager::media::mp4::SampleAuxiliaryInformationSize
SampleAuxiliaryInformationSize() (defined in edash_packager::media::mp4::SampleAuxiliaryInformationSize)edash_packager::media::mp4::SampleAuxiliaryInformationSize
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~SampleAuxiliaryInformationSize() (defined in edash_packager::media::mp4::SampleAuxiliaryInformationSize)edash_packager::media::mp4::SampleAuxiliaryInformationSizevirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~SampleAuxiliaryInformationSize() override (defined in edash_packager::media::mp4::SampleAuxiliaryInformationSize)edash_packager::media::mp4::SampleAuxiliaryInformationSize
diff --git a/docs/d4/df5/request__signer_8cc_source.html b/docs/d4/df5/request__signer_8cc_source.html index 0ef79c960a..b1a11d8d0f 100644 --- a/docs/d4/df5/request__signer_8cc_source.html +++ b/docs/d4/df5/request__signer_8cc_source.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
45  return new AesRequestSigner(signer_name, encryptor.Pass());
46 }
47 
-
48 bool AesRequestSigner::GenerateSignature(const std::string& message,
+
48 bool AesRequestSigner::GenerateSignature(const std::string& message,
49  std::string* signature) {
50  aes_cbc_encryptor_->Encrypt(base::SHA1HashString(message), signature);
51  return true;
@@ -157,18 +157,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
68  return new RsaRequestSigner(signer_name, rsa_private_key.Pass());
69 }
70 
-
71 bool RsaRequestSigner::GenerateSignature(const std::string& message,
+
71 bool RsaRequestSigner::GenerateSignature(const std::string& message,
72  std::string* signature) {
73  return rsa_private_key_->GenerateSignature(message, signature);
74 }
75 
76 } // namespace media
77 } // namespace edash_packager
-
virtual bool GenerateSignature(const std::string &message, std::string *signature) OVERRIDE
RequestSigner implementation override.
-
virtual bool GenerateSignature(const std::string &message, std::string *signature) OVERRIDE
RequestSigner implementation override.
+
bool GenerateSignature(const std::string &message, std::string *signature) override
RequestSigner implementation override.
static AesRequestSigner * CreateSigner(const std::string &signer_name, const std::string &aes_key_hex, const std::string &iv_hex)
static RsaPrivateKey * Create(const std::string &serialized_key)
Definition: rsa_key.cc:97
AesRequestSigner uses AES-CBC signing.
+
bool GenerateSignature(const std::string &message, std::string *signature) override
RequestSigner implementation override.
static RsaRequestSigner * CreateSigner(const std::string &signer_name, const std::string &pkcs1_rsa_key)
RsaRequestSigner uses RSA-PSS signing.
Abstract class used for signature generation.
@@ -176,7 +176,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/df9/structedash__packager_1_1MpdOptions-members.html b/docs/d4/df9/structedash__packager_1_1MpdOptions-members.html index ac7ca61cf7..36164f1fb7 100644 --- a/docs/d4/df9/structedash__packager_1_1MpdOptions-members.html +++ b/docs/d4/df9/structedash__packager_1_1MpdOptions-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html b/docs/d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html index 448b7b5de4..67a8b2b32f 100644 --- a/docs/d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html +++ b/docs/d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html @@ -501,7 +501,7 @@ template<class T > diff --git a/docs/d5/d15/producer__consumer__queue_8h_source.html b/docs/d5/d15/producer__consumer__queue_8h_source.html index 7139430570..e70d9b00d4 100644 --- a/docs/d5/d15/producer__consumer__queue_8h_source.html +++ b/docs/d5/d15/producer__consumer__queue_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_PRODUCER_CONSUMER_QUEUE_H_
-
8 #define MEDIA_BASE_PRODUCER_CONSUMER_QUEUE_H_
-
9 
+
8 #define MEDIA_BASE_PRODUCER_CONSUMER_QUEUE_H_
+
9 
10 #include <deque>
11 
12 #include "packager/base/strings/stringprintf.h"
@@ -374,7 +374,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d18/structedash__packager_1_1media_1_1H264NALU-members.html b/docs/d5/d18/structedash__packager_1_1media_1_1H264NALU-members.html index bc2f96aa55..3f9541e6d0 100644 --- a/docs/d5/d18/structedash__packager_1_1media_1_1H264NALU-members.html +++ b/docs/d5/d18/structedash__packager_1_1media_1_1H264NALU-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d1a/ts__section_8h_source.html b/docs/d5/d1a/ts__section_8h_source.html index f452f1fd56..c39e5d6101 100644 --- a/docs/d5/d1a/ts__section_8h_source.html +++ b/docs/d5/d1a/ts__section_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP2T_TS_SECTION_H_
-
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_H_
-
7 
+
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_H_
+
7 
8 namespace edash_packager {
9 namespace media {
10 namespace mp2t {
@@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d1f/classedash__packager_1_1media_1_1BufferReader-members.html b/docs/d5/d1f/classedash__packager_1_1media_1_1BufferReader-members.html index 0c5e9776fd..383dfec2b7 100644 --- a/docs/d5/d1f/classedash__packager_1_1media_1_1BufferReader-members.html +++ b/docs/d5/d1f/classedash__packager_1_1media_1_1BufferReader-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d26/classedash__packager_1_1media_1_1MediaParser-members.html b/docs/d5/d26/classedash__packager_1_1media_1_1MediaParser-members.html index 32d05e4d5d..6d18d8f31c 100644 --- a/docs/d5/d26/classedash__packager_1_1media_1_1MediaParser-members.html +++ b/docs/d5/d26/classedash__packager_1_1media_1_1MediaParser-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d27/key__fetcher_8cc_source.html b/docs/d5/d27/key__fetcher_8cc_source.html index 504edb0159..8bd847f551 100644 --- a/docs/d5/d27/key__fetcher_8cc_source.html +++ b/docs/d5/d27/key__fetcher_8cc_source.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d30/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter.html b/docs/d5/d30/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter.html index e22128570d..e53d577184 100644 --- a/docs/d5/d30/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter.html +++ b/docs/d5/d30/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter.html @@ -192,7 +192,7 @@ static const size_t kUnitS diff --git a/docs/d5/d4a/classedash__packager_1_1media_1_1mp2t_1_1TsPacket-members.html b/docs/d5/d4a/classedash__packager_1_1media_1_1mp2t_1_1TsPacket-members.html index b26b28f5da..b75dc5b0a2 100644 --- a/docs/d5/d4a/classedash__packager_1_1media_1_1mp2t_1_1TsPacket-members.html +++ b/docs/d5/d4a/classedash__packager_1_1media_1_1mp2t_1_1TsPacket-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d4d/box_8cc_source.html b/docs/d5/d4d/box_8cc_source.html index c32a433872..335688e04a 100644 --- a/docs/d5/d4d/box_8cc_source.html +++ b/docs/d5/d4d/box_8cc_source.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
47 FullBox::FullBox() : version(0), flags(0) {}
48 FullBox::~FullBox() {}
49 
- +
51  RCHECK(Box::ReadWrite(buffer));
52 
53  uint32_t vflags;
@@ -156,8 +156,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
67 } // namespace edash_packager
virtual bool ReadWrite(BoxBuffer *buffer)
Read/write the mp4 box from/to BoxBuffer.
Definition: box.cc:36
virtual uint32_t ComputeSize()=0
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
Definition: box.cc:50
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
Definition: box.cc:50
bool Parse(BoxReader *reader)
Definition: box.cc:19
void Write(BufferWriter *writer)
Definition: box.cc:25
@@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d52/ts__section__pes_8h_source.html b/docs/d5/d52/ts__section__pes_8h_source.html index b056ca9f45..decb27dea0 100644 --- a/docs/d5/d52/ts__section__pes_8h_source.html +++ b/docs/d5/d52/ts__section__pes_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP2T_TS_SECTION_PES_H_
-
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PES_H_
-
7 
+
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PES_H_
+
7 
8 #include <stdint.h>
9 
10 #include "packager/base/compiler_specific.h"
@@ -110,14 +110,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
21 class TsSectionPes : public TsSection {
22  public:
23  explicit TsSectionPes(scoped_ptr<EsParser> es_parser);
-
24  virtual ~TsSectionPes();
+
24  ~TsSectionPes() override;
25 
26  // TsSection implementation.
-
27  virtual bool Parse(bool payload_unit_start_indicator,
-
28  const uint8_t* buf,
-
29  int size) OVERRIDE;
-
30  virtual void Flush() OVERRIDE;
-
31  virtual void Reset() OVERRIDE;
+
27  bool Parse(bool payload_unit_start_indicator,
+
28  const uint8_t* buf,
+
29  int size) override;
+
30  void Flush() override;
+
31  void Reset() override;
32 
33  private:
34  // Emit a reassembled PES packet.
@@ -154,14 +154,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
65 } // namespace edash_packager
66 
67 #endif
-
68 
+
68 
diff --git a/docs/d5/d54/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig-members.html b/docs/d5/d54/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig-members.html index 2f0b542cae..04a14aedb2 100644 --- a/docs/d5/d54/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig-members.html +++ b/docs/d5/d54/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d62/classedash__packager_1_1media_1_1RsaPrivateKey.html b/docs/d5/d62/classedash__packager_1_1media_1_1RsaPrivateKey.html index d4b86269df..bec05cff12 100644 --- a/docs/d5/d62/classedash__packager_1_1media_1_1RsaPrivateKey.html +++ b/docs/d5/d62/classedash__packager_1_1media_1_1RsaPrivateKey.html @@ -224,7 +224,7 @@ Static Public Member Functions diff --git a/docs/d5/d63/network__util_8cc_source.html b/docs/d5/d63/network__util_8cc_source.html index 5bcec4da32..849c0c9782 100644 --- a/docs/d5/d63/network__util_8cc_source.html +++ b/docs/d5/d63/network__util_8cc_source.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d6e/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html b/docs/d5/d6e/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html index 995593a6a0..90bcf776b9 100644 --- a/docs/d5/d6e/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html +++ b/docs/d5/d6e/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::MovieExtendsHeader)edash_packager::media::mp4::MovieExtendsHeadervirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::MovieExtendsHeadervirtual
BoxType() const override (defined in edash_packager::media::mp4::MovieExtendsHeader)edash_packager::media::mp4::MovieExtendsHeadervirtual
ComputeSize() overrideedash_packager::media::mp4::MovieExtendsHeadervirtual
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
fragment_duration (defined in edash_packager::media::mp4::MovieExtendsHeader)edash_packager::media::mp4::MovieExtendsHeader
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
MovieExtendsHeader() (defined in edash_packager::media::mp4::MovieExtendsHeader)edash_packager::media::mp4::MovieExtendsHeader
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::MovieExtendsHeadervirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::MovieExtendsHeadervirtual
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~MovieExtendsHeader() (defined in edash_packager::media::mp4::MovieExtendsHeader)edash_packager::media::mp4::MovieExtendsHeadervirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~MovieExtendsHeader() override (defined in edash_packager::media::mp4::MovieExtendsHeader)edash_packager::media::mp4::MovieExtendsHeader
diff --git a/docs/d5/d7a/structedash__packager_1_1Element.html b/docs/d5/d7a/structedash__packager_1_1Element.html index bb27989c91..2628fb24e6 100644 --- a/docs/d5/d7a/structedash__packager_1_1Element.html +++ b/docs/d5/d7a/structedash__packager_1_1Element.html @@ -120,7 +120,7 @@ std::vector< diff --git a/docs/d5/d7b/box__definitions_8h_source.html b/docs/d5/d7b/box__definitions_8h_source.html index d8671508ae..f087af3355 100644 --- a/docs/d5/d7b/box__definitions_8h_source.html +++ b/docs/d5/d7b/box__definitions_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_
-
6 #define MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_
-
7 
+
6 #define MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_
+
7 
8 #include <string>
9 #include <vector>
10 
@@ -120,11 +120,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
31 
32 #define DECLARE_BOX_METHODS(T) \
33  T(); \
-
34  virtual ~T(); \
-
35  virtual bool ReadWrite(BoxBuffer* buffer) OVERRIDE; \
-
36  virtual FourCC BoxType() const OVERRIDE; \
-
37  virtual uint32_t ComputeSize() OVERRIDE;
-
38 
+
34  ~T() override; \
+
35  bool ReadWrite(BoxBuffer* buffer) override; \
+
36  FourCC BoxType() const override; \
+
37  uint32_t ComputeSize() override;
+
38 
39 struct FileType : Box {
40  DECLARE_BOX_METHODS(FileType);
41 
@@ -683,7 +683,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
594 };
595 
596 #undef DECLARE_BOX
-
597 
+
597 
598 } // namespace mp4
599 } // namespace media
600 } // namespace edash_packager
@@ -758,7 +758,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d89/widevine__key__source_8cc_source.html b/docs/d5/d89/widevine__key__source_8cc_source.html index d2eb30bb87..d2f3a2b7e3 100644 --- a/docs/d5/d89/widevine__key__source_8cc_source.html +++ b/docs/d5/d89/widevine__key__source_8cc_source.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
23  return false; \
24  } \
25  } while (0)
-
26 
+
26 
27 namespace edash_packager {
28 namespace {
29 
@@ -250,7 +250,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
161  STLDeleteValues(&encryption_key_map_);
162 }
163 
-
164 Status WidevineKeySource::FetchKeys(const std::vector<uint8_t>& content_id,
+
164 Status WidevineKeySource::FetchKeys(const std::vector<uint8_t>& content_id,
165  const std::string& policy) {
166  base::AutoLock scoped_lock(lock_);
167  request_dict_.Clear();
@@ -261,7 +261,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
172  return FetchKeysInternal(!kEnableKeyRotation, 0, false);
173 }
174 
-
175 Status WidevineKeySource::FetchKeys(const std::vector<uint8_t>& pssh_data) {
+
175 Status WidevineKeySource::FetchKeys(const std::vector<uint8_t>& pssh_data) {
176  base::AutoLock scoped_lock(lock_);
177  request_dict_.Clear();
178  std::string pssh_data_base64_string;
@@ -270,14 +270,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
181  return FetchKeysInternal(!kEnableKeyRotation, 0, false);
182 }
183 
- +
185  base::AutoLock scoped_lock(lock_);
186  request_dict_.Clear();
187  request_dict_.SetInteger("asset_id", asset_id);
188  return FetchKeysInternal(!kEnableKeyRotation, 0, true);
189 }
190 
-
191 Status WidevineKeySource::GetKey(TrackType track_type, EncryptionKey* key) {
+
191 Status WidevineKeySource::GetKey(TrackType track_type, EncryptionKey* key) {
192  DCHECK(key);
193  if (encryption_key_map_.find(track_type) == encryption_key_map_.end()) {
194  return Status(error::INTERNAL_ERROR,
@@ -287,7 +287,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
198  return Status::OK;
199 }
200 
-
201 Status WidevineKeySource::GetKey(const std::vector<uint8_t>& key_id,
+
201 Status WidevineKeySource::GetKey(const std::vector<uint8_t>& key_id,
202  EncryptionKey* key) {
203  DCHECK(key);
204  for (std::map<TrackType, EncryptionKey*>::iterator iter =
@@ -303,7 +303,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
214  "Cannot find key with specified key ID");
215 }
216 
-
217 Status WidevineKeySource::GetCryptoPeriodKey(uint32_t crypto_period_index,
+
217 Status WidevineKeySource::GetCryptoPeriodKey(uint32_t crypto_period_index,
218  TrackType track_type,
219  EncryptionKey* key) {
220  DCHECK(key_production_thread_.HasBeenStarted());
@@ -325,7 +325,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
236  return GetKeyInternal(crypto_period_index, track_type, key);
237 }
238 
-
239 std::string WidevineKeySource::UUID() {
+
239 std::string WidevineKeySource::UUID() {
240  return "edef8ba9-79d6-4ace-a3c8-27dcd51d21ed";
241 }
242 
@@ -475,7 +475,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
386  request_dict_.SetInteger("crypto_period_count", crypto_period_count_);
387  }
388 
-
389  base::JSONWriter::Write(&request_dict_, request);
+
389  base::JSONWriter::Write(request_dict_, request);
390 }
391 
392 Status WidevineKeySource::GenerateKeyMessage(const std::string& request,
@@ -501,7 +501,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
412  request_dict.SetString("signer", signer_->signer_name());
413  }
414 
-
415  base::JSONWriter::Write(&request_dict, message);
+
415  base::JSONWriter::Write(request_dict, message);
416  return Status::OK;
417 }
418 
@@ -633,23 +633,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
544 } // namespace edash_packager
WidevineKeySource(const std::string &server_url)
-
void set_signer(scoped_ptr< RequestSigner > signer)
-
virtual Status GetCryptoPeriodKey(uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key) OVERRIDE
-
virtual Status FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy) OVERRIDE
+ +
Status GetKey(TrackType track_type, EncryptionKey *key) override
void set_key_fetcher(scoped_ptr< KeyFetcher > key_fetcher)
+
Status FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy) override
static std::vector< uint8_t > PsshBoxFromPsshData(const std::vector< uint8_t > &pssh_data)
Definition: key_source.cc:164
-
virtual Status GetKey(TrackType track_type, EncryptionKey *key) OVERRIDE
+
Status GetCryptoPeriodKey(uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key) override
static TrackType GetTrackTypeFromString(const std::string &track_type_string)
Convert string representation of track type to enum representation.
Definition: key_source.cc:136
static std::string TrackTypeToString(TrackType track_type)
Convert TrackType to string.
Definition: key_source.cc:150
diff --git a/docs/d5/d8f/webm__cluster__parser_8cc_source.html b/docs/d5/d8f/webm__cluster__parser_8cc_source.html new file mode 100644 index 0000000000..5825a17642 --- /dev/null +++ b/docs/d5/d8f/webm__cluster__parser_8cc_source.html @@ -0,0 +1,828 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_cluster_parser.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_cluster_parser.cc
+
+
+
1 // Copyright 2014 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 #include "packager/media/formats/webm/webm_cluster_parser.h"
+
6 
+
7 #include <vector>
+
8 
+
9 #include "packager/base/logging.h"
+
10 #include "packager/base/sys_byteorder.h"
+
11 #include "packager/media/base/decrypt_config.h"
+
12 #include "packager/media/base/timestamp.h"
+
13 #include "packager/media/filters/webvtt_util.h"
+
14 #include "packager/media/formats/webm/webm_constants.h"
+
15 #include "packager/media/formats/webm/webm_crypto_helpers.h"
+
16 #include "packager/media/formats/webm/webm_webvtt_parser.h"
+
17 
+
18 // Logs only while |count| < |max|, increments |count| for each log, and warns
+
19 // in the log if |count| has just reached |max|.
+
20 #define LIMITED_LOG(level, count, max) \
+
21  LOG_IF(level, (count) < (max)) \
+
22  << (((count) + 1 == (max)) \
+
23  ? "(Log limit reached. Further similar entries " \
+
24  "may be suppressed): " \
+
25  : "")
+
26 #define LIMITED_DLOG(level, count, max) \
+
27  DLOG_IF(level, (count) < (max)) \
+
28  << (((count) + 1 == (max)) \
+
29  ? "(Log limit reached. Further similar entries " \
+
30  "may be suppressed): " \
+
31  : "")
+
32 
+
33 namespace {
+
34 const int64_t kMicrosecondsPerMillisecond = 1000;
+
35 } // namespace
+
36 
+
37 namespace edash_packager {
+
38 namespace media {
+
39 
+
40 const uint16_t WebMClusterParser::kOpusFrameDurationsMu[] = {
+
41  10000, 20000, 40000, 60000, 10000, 20000, 40000, 60000, 10000, 20000, 40000,
+
42  60000, 10000, 20000, 10000, 20000, 2500, 5000, 10000, 20000, 2500, 5000,
+
43  10000, 20000, 2500, 5000, 10000, 20000, 2500, 5000, 10000, 20000};
+
44 
+
45 enum {
+
46  // Limits the number of LOG() calls in the path of reading encoded
+
47  // duration to avoid spamming for corrupted data.
+
48  kMaxDurationErrorLogs = 10,
+
49  // Limits the number of LOG() calls warning the user that buffer
+
50  // durations have been estimated.
+
51  kMaxDurationEstimateLogs = 10,
+
52 };
+
53 
+
54 WebMClusterParser::WebMClusterParser(
+
55  int64_t timecode_scale,
+
56  int audio_track_num,
+
57  int64_t audio_default_duration,
+
58  int video_track_num,
+
59  int64_t video_default_duration,
+
60  const WebMTracksParser::TextTracks& text_tracks,
+
61  const std::set<int64_t>& ignored_tracks,
+
62  const std::string& audio_encryption_key_id,
+
63  const std::string& video_encryption_key_id,
+
64  const AudioCodec audio_codec,
+
65  const MediaParser::NewSampleCB& new_sample_cb)
+
66  : timecode_multiplier_(timecode_scale / 1000.0),
+
67  ignored_tracks_(ignored_tracks),
+
68  audio_encryption_key_id_(audio_encryption_key_id),
+
69  video_encryption_key_id_(video_encryption_key_id),
+
70  audio_codec_(audio_codec),
+
71  parser_(kWebMIdCluster, this),
+
72  cluster_start_time_(kNoTimestamp),
+
73  audio_(audio_track_num, false, audio_default_duration, new_sample_cb),
+
74  video_(video_track_num, true, video_default_duration, new_sample_cb) {
+
75  for (WebMTracksParser::TextTracks::const_iterator it = text_tracks.begin();
+
76  it != text_tracks.end();
+
77  ++it) {
+
78  text_track_map_.insert(std::make_pair(
+
79  it->first, Track(it->first, false, kNoTimestamp, new_sample_cb)));
+
80  }
+
81 }
+
82 
+
83 WebMClusterParser::~WebMClusterParser() {}
+
84 
+
85 void WebMClusterParser::Reset() {
+
86  last_block_timecode_ = -1;
+
87  cluster_timecode_ = -1;
+
88  cluster_start_time_ = kNoTimestamp;
+
89  cluster_ended_ = false;
+
90  parser_.Reset();
+
91  audio_.Reset();
+
92  video_.Reset();
+
93  ResetTextTracks();
+
94 }
+
95 
+
96 int WebMClusterParser::Parse(const uint8_t* buf, int size) {
+
97  int result = parser_.Parse(buf, size);
+
98 
+
99  if (result < 0) {
+
100  cluster_ended_ = false;
+
101  return result;
+
102  }
+
103 
+
104  cluster_ended_ = parser_.IsParsingComplete();
+
105  if (cluster_ended_) {
+
106  audio_.ApplyDurationEstimateIfNeeded();
+
107  video_.ApplyDurationEstimateIfNeeded();
+
108 
+
109  // If there were no buffers in this cluster, set the cluster start time to
+
110  // be the |cluster_timecode_|.
+
111  if (cluster_start_time_ == kNoTimestamp) {
+
112  // If the cluster did not even have a |cluster_timecode_|, signal parse
+
113  // error.
+
114  if (cluster_timecode_ < 0)
+
115  return -1;
+
116 
+
117  cluster_start_time_ = cluster_timecode_ * timecode_multiplier_;
+
118  }
+
119 
+
120  // Reset the parser if we're done parsing so that
+
121  // it is ready to accept another cluster on the next
+
122  // call.
+
123  parser_.Reset();
+
124 
+
125  last_block_timecode_ = -1;
+
126  cluster_timecode_ = -1;
+
127  }
+
128 
+
129  return result;
+
130 }
+
131 
+
132 int64_t WebMClusterParser::TryGetEncodedAudioDuration(
+
133  const uint8_t* data,
+
134  int size) {
+
135 
+
136  // Duration is currently read assuming the *entire* stream is unencrypted.
+
137  // The special "Signal Byte" prepended to Blocks in encrypted streams is
+
138  // assumed to not be present.
+
139  // TODO(chcunningham): Consider parsing "Signal Byte" for encrypted streams
+
140  // to return duration for any unencrypted blocks.
+
141 
+
142  if (audio_codec_ == kCodecOpus) {
+
143  return ReadOpusDuration(data, size);
+
144  }
+
145 
+
146  // TODO(wolenetz/chcunningham): Implement duration reading for Vorbis. See
+
147  // motivations in http://crbug.com/396634.
+
148 
+
149  return kNoTimestamp;
+
150 }
+
151 
+
152 int64_t WebMClusterParser::ReadOpusDuration(const uint8_t* data, int size) {
+
153  // Masks and constants for Opus packets. See
+
154  // https://tools.ietf.org/html/rfc6716#page-14
+
155  static const uint8_t kTocConfigMask = 0xf8;
+
156  static const uint8_t kTocFrameCountCodeMask = 0x03;
+
157  static const uint8_t kFrameCountMask = 0x3f;
+
158  static const int64_t kPacketDurationMax = 120;
+
159 
+
160  if (size < 1) {
+
161  LIMITED_DLOG(INFO, num_duration_errors_, kMaxDurationErrorLogs)
+
162  << "Invalid zero-byte Opus packet; demuxed block duration may be "
+
163  "imprecise.";
+
164  return kNoTimestamp;
+
165  }
+
166 
+
167  // Frame count type described by last 2 bits of Opus TOC byte.
+
168  int frame_count_type = data[0] & kTocFrameCountCodeMask;
+
169 
+
170  int frame_count = 0;
+
171  switch (frame_count_type) {
+
172  case 0:
+
173  frame_count = 1;
+
174  break;
+
175  case 1:
+
176  case 2:
+
177  frame_count = 2;
+
178  break;
+
179  case 3:
+
180  // Type 3 indicates an arbitrary frame count described in the next byte.
+
181  if (size < 2) {
+
182  LIMITED_DLOG(INFO, num_duration_errors_, kMaxDurationErrorLogs)
+
183  << "Second byte missing from 'Code 3' Opus packet; demuxed block "
+
184  "duration may be imprecise.";
+
185  return kNoTimestamp;
+
186  }
+
187 
+
188  frame_count = data[1] & kFrameCountMask;
+
189 
+
190  if (frame_count == 0) {
+
191  LIMITED_DLOG(INFO, num_duration_errors_, kMaxDurationErrorLogs)
+
192  << "Illegal 'Code 3' Opus packet with frame count zero; demuxed "
+
193  "block duration may be imprecise.";
+
194  return kNoTimestamp;
+
195  }
+
196 
+
197  break;
+
198  default:
+
199  LIMITED_DLOG(INFO, num_duration_errors_, kMaxDurationErrorLogs)
+
200  << "Unexpected Opus frame count type: " << frame_count_type << "; "
+
201  << "demuxed block duration may be imprecise.";
+
202  return kNoTimestamp;
+
203  }
+
204 
+
205  int opusConfig = (data[0] & kTocConfigMask) >> 3;
+
206  CHECK_GE(opusConfig, 0);
+
207  CHECK_LT(opusConfig, static_cast<int>(arraysize(kOpusFrameDurationsMu)));
+
208 
+
209  DCHECK_GT(frame_count, 0);
+
210  int64_t duration = kOpusFrameDurationsMu[opusConfig] * frame_count;
+
211 
+
212  if (duration > kPacketDurationMax) {
+
213  // Intentionally allowing packet to pass through for now. Decoder should
+
214  // either handle or fail gracefully. LOG as breadcrumbs in case
+
215  // things go sideways.
+
216  LIMITED_DLOG(INFO, num_duration_errors_, kMaxDurationErrorLogs)
+
217  << "Warning, demuxed Opus packet with encoded duration: "
+
218  << duration << "ms. Should be no greater than "
+
219  << kPacketDurationMax << "ms.";
+
220  }
+
221 
+
222  return duration;
+
223 }
+
224 
+
225 WebMParserClient* WebMClusterParser::OnListStart(int id) {
+
226  if (id == kWebMIdCluster) {
+
227  cluster_timecode_ = -1;
+
228  cluster_start_time_ = kNoTimestamp;
+
229  } else if (id == kWebMIdBlockGroup) {
+
230  block_data_.reset();
+
231  block_data_size_ = -1;
+
232  block_duration_ = -1;
+
233  discard_padding_ = -1;
+
234  discard_padding_set_ = false;
+
235  } else if (id == kWebMIdBlockAdditions) {
+
236  block_add_id_ = -1;
+
237  block_additional_data_.reset();
+
238  block_additional_data_size_ = 0;
+
239  }
+
240 
+
241  return this;
+
242 }
+
243 
+
244 bool WebMClusterParser::OnListEnd(int id) {
+
245  if (id != kWebMIdBlockGroup)
+
246  return true;
+
247 
+
248  // Make sure the BlockGroup actually had a Block.
+
249  if (block_data_size_ == -1) {
+
250  LOG(ERROR) << "Block missing from BlockGroup.";
+
251  return false;
+
252  }
+
253 
+
254  bool result = ParseBlock(false, block_data_.get(), block_data_size_,
+
255  block_additional_data_.get(),
+
256  block_additional_data_size_, block_duration_,
+
257  discard_padding_set_ ? discard_padding_ : 0);
+
258  block_data_.reset();
+
259  block_data_size_ = -1;
+
260  block_duration_ = -1;
+
261  block_add_id_ = -1;
+
262  block_additional_data_.reset();
+
263  block_additional_data_size_ = 0;
+
264  discard_padding_ = -1;
+
265  discard_padding_set_ = false;
+
266  return result;
+
267 }
+
268 
+
269 bool WebMClusterParser::OnUInt(int id, int64_t val) {
+
270  int64_t* dst;
+
271  switch (id) {
+
272  case kWebMIdTimecode:
+
273  dst = &cluster_timecode_;
+
274  break;
+
275  case kWebMIdBlockDuration:
+
276  dst = &block_duration_;
+
277  break;
+
278  case kWebMIdBlockAddID:
+
279  dst = &block_add_id_;
+
280  break;
+
281  default:
+
282  return true;
+
283  }
+
284  if (*dst != -1)
+
285  return false;
+
286  *dst = val;
+
287  return true;
+
288 }
+
289 
+
290 bool WebMClusterParser::ParseBlock(bool is_simple_block,
+
291  const uint8_t* buf,
+
292  int size,
+
293  const uint8_t* additional,
+
294  int additional_size,
+
295  int duration,
+
296  int64_t discard_padding) {
+
297  if (size < 4)
+
298  return false;
+
299 
+
300  // Return an error if the trackNum > 127. We just aren't
+
301  // going to support large track numbers right now.
+
302  if (!(buf[0] & 0x80)) {
+
303  LOG(ERROR) << "TrackNumber over 127 not supported";
+
304  return false;
+
305  }
+
306 
+
307  int track_num = buf[0] & 0x7f;
+
308  int timecode = buf[1] << 8 | buf[2];
+
309  int flags = buf[3] & 0xff;
+
310  int lacing = (flags >> 1) & 0x3;
+
311 
+
312  if (lacing) {
+
313  LOG(ERROR) << "Lacing " << lacing << " is not supported yet.";
+
314  return false;
+
315  }
+
316 
+
317  // Sign extend negative timecode offsets.
+
318  if (timecode & 0x8000)
+
319  timecode |= ~0xffff;
+
320 
+
321  const uint8_t* frame_data = buf + 4;
+
322  int frame_size = size - (frame_data - buf);
+
323  return OnBlock(is_simple_block, track_num, timecode, duration, flags,
+
324  frame_data, frame_size, additional, additional_size,
+
325  discard_padding);
+
326 }
+
327 
+
328 bool WebMClusterParser::OnBinary(int id, const uint8_t* data, int size) {
+
329  switch (id) {
+
330  case kWebMIdSimpleBlock:
+
331  return ParseBlock(true, data, size, NULL, 0, -1, 0);
+
332 
+
333  case kWebMIdBlock:
+
334  if (block_data_) {
+
335  LOG(ERROR) << "More than 1 Block in a BlockGroup is not "
+
336  "supported.";
+
337  return false;
+
338  }
+
339  block_data_.reset(new uint8_t[size]);
+
340  memcpy(block_data_.get(), data, size);
+
341  block_data_size_ = size;
+
342  return true;
+
343 
+
344  case kWebMIdBlockAdditional: {
+
345  uint64_t block_add_id = base::HostToNet64(block_add_id_);
+
346  if (block_additional_data_) {
+
347  // TODO(vigneshv): Technically, more than 1 BlockAdditional is allowed
+
348  // as per matroska spec. But for now we don't have a use case to
+
349  // support parsing of such files. Take a look at this again when such a
+
350  // case arises.
+
351  LOG(ERROR) << "More than 1 BlockAdditional in a "
+
352  "BlockGroup is not supported.";
+
353  return false;
+
354  }
+
355  // First 8 bytes of side_data in DecoderBuffer is the BlockAddID
+
356  // element's value in Big Endian format. This is done to mimic ffmpeg
+
357  // demuxer's behavior.
+
358  block_additional_data_size_ = size + sizeof(block_add_id);
+
359  block_additional_data_.reset(new uint8_t[block_additional_data_size_]);
+
360  memcpy(block_additional_data_.get(), &block_add_id,
+
361  sizeof(block_add_id));
+
362  memcpy(block_additional_data_.get() + 8, data, size);
+
363  return true;
+
364  }
+
365  case kWebMIdDiscardPadding: {
+
366  if (discard_padding_set_ || size <= 0 || size > 8)
+
367  return false;
+
368  discard_padding_set_ = true;
+
369 
+
370  // Read in the big-endian integer.
+
371  discard_padding_ = static_cast<int8_t>(data[0]);
+
372  for (int i = 1; i < size; ++i)
+
373  discard_padding_ = (discard_padding_ << 8) | data[i];
+
374 
+
375  return true;
+
376  }
+
377  default:
+
378  return true;
+
379  }
+
380 }
+
381 
+
382 bool WebMClusterParser::OnBlock(bool is_simple_block,
+
383  int track_num,
+
384  int timecode,
+
385  int block_duration,
+
386  int flags,
+
387  const uint8_t* data,
+
388  int size,
+
389  const uint8_t* additional,
+
390  int additional_size,
+
391  int64_t discard_padding) {
+
392  DCHECK_GE(size, 0);
+
393  if (cluster_timecode_ == -1) {
+
394  LOG(ERROR) << "Got a block before cluster timecode.";
+
395  return false;
+
396  }
+
397 
+
398  // TODO(acolwell): Should relative negative timecode offsets be rejected? Or
+
399  // only when the absolute timecode is negative? See http://crbug.com/271794
+
400  if (timecode < 0) {
+
401  LOG(ERROR) << "Got a block with negative timecode offset " << timecode;
+
402  return false;
+
403  }
+
404 
+
405  if (last_block_timecode_ != -1 && timecode < last_block_timecode_) {
+
406  LOG(ERROR) << "Got a block with a timecode before the previous block.";
+
407  return false;
+
408  }
+
409 
+
410  Track* track = NULL;
+
411  StreamType stream_type = kStreamAudio;
+
412  std::string encryption_key_id;
+
413  int64_t encoded_duration = kNoTimestamp;
+
414  if (track_num == audio_.track_num()) {
+
415  track = &audio_;
+
416  encryption_key_id = audio_encryption_key_id_;
+
417  if (encryption_key_id.empty()) {
+
418  encoded_duration = TryGetEncodedAudioDuration(data, size);
+
419  }
+
420  } else if (track_num == video_.track_num()) {
+
421  track = &video_;
+
422  encryption_key_id = video_encryption_key_id_;
+
423  stream_type = kStreamVideo;
+
424  } else if (ignored_tracks_.find(track_num) != ignored_tracks_.end()) {
+
425  return true;
+
426  } else if (Track* const text_track = FindTextTrack(track_num)) {
+
427  if (is_simple_block) // BlockGroup is required for WebVTT cues
+
428  return false;
+
429  if (block_duration < 0) // not specified
+
430  return false;
+
431  track = text_track;
+
432  stream_type = kStreamText;
+
433  } else {
+
434  LOG(ERROR) << "Unexpected track number " << track_num;
+
435  return false;
+
436  }
+
437 
+
438  last_block_timecode_ = timecode;
+
439 
+
440  int64_t timestamp = (cluster_timecode_ + timecode) * timecode_multiplier_;
+
441 
+
442  scoped_refptr<MediaSample> buffer;
+
443  if (stream_type != kStreamText) {
+
444  // The first bit of the flags is set when a SimpleBlock contains only
+
445  // keyframes. If this is a Block, then inspection of the payload is
+
446  // necessary to determine whether it contains a keyframe or not.
+
447  // http://www.matroska.org/technical/specs/index.html
+
448  bool is_keyframe =
+
449  is_simple_block ? (flags & 0x80) != 0 : track->IsKeyframe(data, size);
+
450 
+
451  // Every encrypted Block has a signal byte and IV prepended to it. Current
+
452  // encrypted WebM request for comments specification is here
+
453  // http://wiki.webmproject.org/encryption/webm-encryption-rfc
+
454  scoped_ptr<DecryptConfig> decrypt_config;
+
455  int data_offset = 0;
+
456  if (!encryption_key_id.empty() &&
+
457  !WebMCreateDecryptConfig(
+
458  data, size,
+
459  reinterpret_cast<const uint8_t*>(encryption_key_id.data()),
+
460  encryption_key_id.size(),
+
461  &decrypt_config, &data_offset)) {
+
462  return false;
+
463  }
+
464 
+
465  buffer = MediaSample::CopyFrom(data + data_offset, size - data_offset,
+
466  additional, additional_size, is_keyframe);
+
467 
+
468  if (decrypt_config) {
+
469  // TODO(kqyang): Decrypt it if it is encrypted.
+
470  buffer->set_is_encrypted(true);
+
471  }
+
472  } else {
+
473  std::string id, settings, content;
+
474  WebMWebVTTParser::Parse(data, size, &id, &settings, &content);
+
475 
+
476  std::vector<uint8_t> side_data;
+
477  MakeSideData(id.begin(), id.end(),
+
478  settings.begin(), settings.end(),
+
479  &side_data);
+
480 
+
481  buffer = MediaSample::CopyFrom(
+
482  reinterpret_cast<const uint8_t*>(content.data()), content.length(),
+
483  &side_data[0], side_data.size(), true);
+
484  }
+
485 
+
486  buffer->set_pts(timestamp);
+
487  if (cluster_start_time_ == kNoTimestamp)
+
488  cluster_start_time_ = timestamp;
+
489 
+
490  int64_t block_duration_time_delta = kNoTimestamp;
+
491  if (block_duration >= 0) {
+
492  block_duration_time_delta = block_duration * timecode_multiplier_;
+
493  }
+
494 
+
495  // Prefer encoded duration over BlockGroup->BlockDuration or
+
496  // TrackEntry->DefaultDuration when available. This layering violation is a
+
497  // workaround for http://crbug.com/396634, decreasing the likelihood of
+
498  // fall-back to rough estimation techniques for Blocks that lack a
+
499  // BlockDuration at the end of a cluster. Cross cluster durations are not
+
500  // feasible given flexibility of cluster ordering and MSE APIs. Duration
+
501  // estimation may still apply in cases of encryption and codecs for which
+
502  // we do not extract encoded duration. Within a cluster, estimates are applied
+
503  // as Block Timecode deltas, or once the whole cluster is parsed in the case
+
504  // of the last Block in the cluster. See Track::AddBuffer and
+
505  // ApplyDurationEstimateIfNeeded().
+
506  if (encoded_duration != kNoTimestamp) {
+
507  DCHECK(encoded_duration != kInfiniteDuration);
+
508  DCHECK(encoded_duration > 0);
+
509  buffer->set_duration(encoded_duration);
+
510 
+
511  DVLOG(3) << __FUNCTION__ << " : "
+
512  << "Using encoded duration " << encoded_duration;
+
513 
+
514  if (block_duration_time_delta != kNoTimestamp) {
+
515  int64_t duration_difference =
+
516  block_duration_time_delta - encoded_duration;
+
517 
+
518  const auto kWarnDurationDiff = timecode_multiplier_ * 2;
+
519  if (duration_difference > kWarnDurationDiff) {
+
520  LIMITED_DLOG(INFO, num_duration_errors_, kMaxDurationErrorLogs)
+
521  << "BlockDuration (" << block_duration_time_delta
+
522  << "ms) differs significantly from encoded duration ("
+
523  << encoded_duration << "ms).";
+
524  }
+
525  }
+
526  } else if (block_duration_time_delta != kNoTimestamp) {
+
527  buffer->set_duration(block_duration_time_delta);
+
528  } else {
+
529  buffer->set_duration(track->default_duration());
+
530  }
+
531 
+
532  return track->AddBuffer(buffer);
+
533 }
+
534 
+
535 WebMClusterParser::Track::Track(int track_num,
+
536  bool is_video,
+
537  int64_t default_duration,
+
538  const MediaParser::NewSampleCB& new_sample_cb)
+
539  : track_num_(track_num),
+
540  is_video_(is_video),
+
541  default_duration_(default_duration),
+
542  estimated_next_frame_duration_(kNoTimestamp),
+
543  new_sample_cb_(new_sample_cb) {
+
544  DCHECK(default_duration_ == kNoTimestamp || default_duration_ > 0);
+
545 }
+
546 
+
547 WebMClusterParser::Track::~Track() {}
+
548 
+
549 bool WebMClusterParser::Track::AddBuffer(
+
550  const scoped_refptr<MediaSample>& buffer) {
+
551  DVLOG(2) << "AddBuffer() : " << track_num_
+
552  << " ts " << buffer->pts()
+
553  << " dur " << buffer->duration()
+
554  << " kf " << buffer->is_key_frame()
+
555  << " size " << buffer->data_size();
+
556 
+
557  if (last_added_buffer_missing_duration_.get()) {
+
558  int64_t derived_duration =
+
559  buffer->pts() - last_added_buffer_missing_duration_->pts();
+
560  last_added_buffer_missing_duration_->set_duration(derived_duration);
+
561 
+
562  DVLOG(2) << "AddBuffer() : applied derived duration to held-back buffer : "
+
563  << " ts "
+
564  << last_added_buffer_missing_duration_->pts()
+
565  << " dur "
+
566  << last_added_buffer_missing_duration_->duration()
+
567  << " kf " << last_added_buffer_missing_duration_->is_key_frame()
+
568  << " size " << last_added_buffer_missing_duration_->data_size();
+
569  scoped_refptr<MediaSample> updated_buffer =
+
570  last_added_buffer_missing_duration_;
+
571  last_added_buffer_missing_duration_ = NULL;
+
572  if (!QueueBuffer(updated_buffer))
+
573  return false;
+
574  }
+
575 
+
576  if (buffer->duration() == kNoTimestamp) {
+
577  last_added_buffer_missing_duration_ = buffer;
+
578  DVLOG(2) << "AddBuffer() : holding back buffer that is missing duration";
+
579  return true;
+
580  }
+
581 
+
582  return QueueBuffer(buffer);
+
583 }
+
584 
+
585 void WebMClusterParser::Track::ApplyDurationEstimateIfNeeded() {
+
586  if (!last_added_buffer_missing_duration_.get())
+
587  return;
+
588 
+
589  int64_t estimated_duration = GetDurationEstimate();
+
590  last_added_buffer_missing_duration_->set_duration(estimated_duration);
+
591 
+
592  if (is_video_) {
+
593  // Exposing estimation so splicing/overlap frame processing can make
+
594  // informed decisions downstream.
+
595  // TODO(kqyang): Should we wait for the next cluster to set the duration?
+
596  // last_added_buffer_missing_duration_->set_is_duration_estimated(true);
+
597  }
+
598 
+
599  LIMITED_LOG(INFO, num_duration_estimates_, kMaxDurationEstimateLogs)
+
600  << "Estimating WebM block duration to be "
+
601  << estimated_duration
+
602  << "ms for the last (Simple)Block in the Cluster for this Track. Use "
+
603  "BlockGroups with BlockDurations at the end of each Track in a "
+
604  "Cluster to avoid estimation.";
+
605 
+
606  DVLOG(2) << __FUNCTION__ << " new dur : ts "
+
607  << last_added_buffer_missing_duration_->pts()
+
608  << " dur "
+
609  << last_added_buffer_missing_duration_->duration()
+
610  << " kf " << last_added_buffer_missing_duration_->is_key_frame()
+
611  << " size " << last_added_buffer_missing_duration_->data_size();
+
612 
+
613  // Don't use the applied duration as a future estimation (don't use
+
614  // QueueBuffer() here.)
+
615  new_sample_cb_.Run(track_num_, last_added_buffer_missing_duration_);
+
616  last_added_buffer_missing_duration_ = NULL;
+
617 }
+
618 
+
619 void WebMClusterParser::Track::Reset() {
+
620  last_added_buffer_missing_duration_ = NULL;
+
621 }
+
622 
+
623 bool WebMClusterParser::Track::IsKeyframe(const uint8_t* data, int size) const {
+
624  // For now, assume that all blocks are keyframes for datatypes other than
+
625  // video. This is a valid assumption for Vorbis, WebVTT, & Opus.
+
626  if (!is_video_)
+
627  return true;
+
628 
+
629  // Make sure the block is big enough for the minimal keyframe header size.
+
630  if (size < 7)
+
631  return false;
+
632 
+
633  // The LSb of the first byte must be a 0 for a keyframe.
+
634  // http://tools.ietf.org/html/rfc6386 Section 19.1
+
635  if ((data[0] & 0x01) != 0)
+
636  return false;
+
637 
+
638  // Verify VP8 keyframe startcode.
+
639  // http://tools.ietf.org/html/rfc6386 Section 19.1
+
640  if (data[3] != 0x9d || data[4] != 0x01 || data[5] != 0x2a)
+
641  return false;
+
642 
+
643  return true;
+
644 }
+
645 
+
646 bool WebMClusterParser::Track::QueueBuffer(
+
647  const scoped_refptr<MediaSample>& buffer) {
+
648  DCHECK(!last_added_buffer_missing_duration_.get());
+
649 
+
650  int64_t duration = buffer->duration();
+
651  if (duration < 0 || duration == kNoTimestamp) {
+
652  LOG(ERROR) << "Invalid buffer duration: " << duration;
+
653  return false;
+
654  }
+
655 
+
656  // The estimated frame duration is the minimum (for audio) or the maximum
+
657  // (for video) non-zero duration since the last initialization segment. The
+
658  // minimum is used for audio to ensure frame durations aren't overestimated,
+
659  // triggering unnecessary frame splicing. For video, splicing does not apply,
+
660  // so maximum is used and overlap is simply resolved by showing the
+
661  // later of the overlapping frames at its given PTS, effectively trimming down
+
662  // the over-estimated duration of the previous frame.
+
663  // TODO(chcunningham): Use max for audio and disable splicing whenever
+
664  // estimated buffers are encountered.
+
665  if (duration > 0) {
+
666  int64_t orig_duration_estimate = estimated_next_frame_duration_;
+
667  if (estimated_next_frame_duration_ == kNoTimestamp) {
+
668  estimated_next_frame_duration_ = duration;
+
669  } else if (is_video_) {
+
670  estimated_next_frame_duration_ =
+
671  std::max(duration, estimated_next_frame_duration_);
+
672  } else {
+
673  estimated_next_frame_duration_ =
+
674  std::min(duration, estimated_next_frame_duration_);
+
675  }
+
676 
+
677  if (orig_duration_estimate != estimated_next_frame_duration_) {
+
678  DVLOG(3) << "Updated duration estimate:"
+
679  << orig_duration_estimate
+
680  << " -> "
+
681  << estimated_next_frame_duration_
+
682  << " at timestamp: "
+
683  << buffer->dts();
+
684  }
+
685  }
+
686 
+
687  new_sample_cb_.Run(track_num_, buffer);
+
688  return true;
+
689 }
+
690 
+
691 int64_t WebMClusterParser::Track::GetDurationEstimate() {
+
692  int64_t duration = estimated_next_frame_duration_;
+
693  if (duration != kNoTimestamp) {
+
694  DVLOG(3) << __FUNCTION__ << " : using estimated duration";
+
695  } else {
+
696  DVLOG(3) << __FUNCTION__ << " : using hardcoded default duration";
+
697  if (is_video_) {
+
698  duration = kDefaultVideoBufferDurationInMs * kMicrosecondsPerMillisecond;
+
699  } else {
+
700  duration = kDefaultAudioBufferDurationInMs * kMicrosecondsPerMillisecond;
+
701  }
+
702  }
+
703 
+
704  DCHECK(duration > 0);
+
705  DCHECK(duration != kNoTimestamp);
+
706  return duration;
+
707 }
+
708 
+
709 void WebMClusterParser::ResetTextTracks() {
+
710  for (TextTrackMap::iterator it = text_track_map_.begin();
+
711  it != text_track_map_.end();
+
712  ++it) {
+
713  it->second.Reset();
+
714  }
+
715 }
+
716 
+
717 WebMClusterParser::Track*
+
718 WebMClusterParser::FindTextTrack(int track_num) {
+
719  const TextTrackMap::iterator it = text_track_map_.find(track_num);
+
720 
+
721  if (it == text_track_map_.end())
+
722  return NULL;
+
723 
+
724  return &it->second;
+
725 }
+
726 
+
727 } // namespace media
+
728 } // namespace edash_packager
+
static scoped_refptr< MediaSample > CopyFrom(const uint8_t *data, size_t size, bool is_key_frame)
Definition: media_sample.cc:47
+
base::Callback< bool(uint32_t track_id, const scoped_refptr< MediaSample > &media_sample)> NewSampleCB
Definition: media_parser.h:43
+
+ + + + diff --git a/docs/d5/d91/es__parser__adts_8cc_source.html b/docs/d5/d91/es__parser__adts_8cc_source.html index a3fd893036..1c98e15fd4 100644 --- a/docs/d5/d91/es__parser__adts_8cc_source.html +++ b/docs/d5/d91/es__parser__adts_8cc_source.html @@ -374,7 +374,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d9c/classedash__packager_1_1MpdNotifierFactory-members.html b/docs/d5/d9c/classedash__packager_1_1MpdNotifierFactory-members.html index cfc4f80bc1..93dfb04709 100644 --- a/docs/d5/d9c/classedash__packager_1_1MpdNotifierFactory-members.html +++ b/docs/d5/d9c/classedash__packager_1_1MpdNotifierFactory-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/da4/aes__encryptor_8cc_source.html b/docs/d5/da4/aes__encryptor_8cc_source.html index 55f8225819..8daf304afc 100644 --- a/docs/d5/da4/aes__encryptor_8cc_source.html +++ b/docs/d5/da4/aes__encryptor_8cc_source.html @@ -568,7 +568,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/db7/classedash__packager_1_1xml_1_1AdaptationSetXmlNode-members.html b/docs/d5/db7/classedash__packager_1_1xml_1_1AdaptationSetXmlNode-members.html index fa0c678955..e4c598d445 100644 --- a/docs/d5/db7/classedash__packager_1_1xml_1_1AdaptationSetXmlNode-members.html +++ b/docs/d5/db7/classedash__packager_1_1xml_1_1AdaptationSetXmlNode-members.html @@ -108,13 +108,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); SetIntegerAttribute(const char *attribute_name, uint64_t number)edash_packager::xml::XmlNode SetStringAttribute(const char *attribute_name, const std::string &attribute)edash_packager::xml::XmlNode XmlNode(const char *name)edash_packager::xml::XmlNodeexplicit - ~AdaptationSetXmlNode() (defined in edash_packager::xml::AdaptationSetXmlNode)edash_packager::xml::AdaptationSetXmlNodevirtual - ~RepresentationBaseXmlNode() (defined in edash_packager::xml::RepresentationBaseXmlNode)edash_packager::xml::RepresentationBaseXmlNodevirtual + ~AdaptationSetXmlNode() override (defined in edash_packager::xml::AdaptationSetXmlNode)edash_packager::xml::AdaptationSetXmlNode + ~RepresentationBaseXmlNode() override (defined in edash_packager::xml::RepresentationBaseXmlNode)edash_packager::xml::RepresentationBaseXmlNode ~XmlNode() (defined in edash_packager::xml::XmlNode)edash_packager::xml::XmlNodevirtual diff --git a/docs/d5/dba/ts__packet_8cc_source.html b/docs/d5/dba/ts__packet_8cc_source.html index f62f482f12..c999f2137d 100644 --- a/docs/d5/dba/ts__packet_8cc_source.html +++ b/docs/d5/dba/ts__packet_8cc_source.html @@ -304,7 +304,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dc1/webm__webvtt__parser_8cc_source.html b/docs/d5/dc1/webm__webvtt__parser_8cc_source.html new file mode 100644 index 0000000000..814eaf6ede --- /dev/null +++ b/docs/d5/dc1/webm__webvtt__parser_8cc_source.html @@ -0,0 +1,177 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_webvtt_parser.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_webvtt_parser.cc
+
+
+
1 // Copyright 2014 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 #include "packager/media/formats/webm/webm_webvtt_parser.h"
+
6 
+
7 namespace edash_packager {
+
8 namespace media {
+
9 
+
10 void WebMWebVTTParser::Parse(const uint8_t* payload,
+
11  int payload_size,
+
12  std::string* id,
+
13  std::string* settings,
+
14  std::string* content) {
+
15  WebMWebVTTParser parser(payload, payload_size);
+
16  parser.Parse(id, settings, content);
+
17 }
+
18 
+
19 WebMWebVTTParser::WebMWebVTTParser(const uint8_t* payload, int payload_size)
+
20  : ptr_(payload), ptr_end_(payload + payload_size) {}
+
21 
+
22 void WebMWebVTTParser::Parse(std::string* id,
+
23  std::string* settings,
+
24  std::string* content) {
+
25  ParseLine(id);
+
26  ParseLine(settings);
+
27  content->assign(ptr_, ptr_end_);
+
28 }
+
29 
+
30 bool WebMWebVTTParser::GetByte(uint8_t* byte) {
+
31  if (ptr_ >= ptr_end_)
+
32  return false; // indicates end-of-stream
+
33 
+
34  *byte = *ptr_++;
+
35  return true;
+
36 }
+
37 
+
38 void WebMWebVTTParser::UngetByte() {
+
39  --ptr_;
+
40 }
+
41 
+
42 void WebMWebVTTParser::ParseLine(std::string* line) {
+
43  line->clear();
+
44 
+
45  // Consume characters from the stream, until we reach end-of-line.
+
46 
+
47  // The WebVTT spec states that lines may be terminated in any of the following
+
48  // three ways:
+
49  // LF
+
50  // CR
+
51  // CR LF
+
52 
+
53  // The spec is here:
+
54  // http://wiki.webmproject.org/webm-metadata/temporal-metadata/webvtt-in-webm
+
55 
+
56  enum {
+
57  kLF = '\x0A',
+
58  kCR = '\x0D'
+
59  };
+
60 
+
61  for (;;) {
+
62  uint8_t byte;
+
63 
+
64  if (!GetByte(&byte) || byte == kLF)
+
65  return;
+
66 
+
67  if (byte == kCR) {
+
68  if (GetByte(&byte) && byte != kLF)
+
69  UngetByte();
+
70 
+
71  return;
+
72  }
+
73 
+
74  line->push_back(byte);
+
75  }
+
76 }
+
77 
+
78 } // namespace media
+
79 } // namespace edash_packager
+
+ + + + diff --git a/docs/d5/dc8/classedash__packager_1_1media_1_1OpusPacket.html b/docs/d5/dc8/classedash__packager_1_1media_1_1OpusPacket.html new file mode 100644 index 0000000000..c6455b85b3 --- /dev/null +++ b/docs/d5/dc8/classedash__packager_1_1media_1_1OpusPacket.html @@ -0,0 +1,127 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::OpusPacket Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::OpusPacket Class Reference
+
+
+ + + + + + + + + + +

+Public Member Functions

OpusPacket (uint8_t config, uint8_t frame_count, bool is_VBR)
 
+const uint8_t * data () const
 
+int size () const
 
+double duration_ms () const
 
+

Detailed Description

+
+

Definition at line 23 of file opus_packet_builder.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/d5/dce/classedash__packager_1_1media_1_1Demuxer.html b/docs/d5/dce/classedash__packager_1_1media_1_1Demuxer.html index ca80161afa..085e2f4031 100644 --- a/docs/d5/dce/classedash__packager_1_1media_1_1Demuxer.html +++ b/docs/d5/dce/classedash__packager_1_1media_1_1Demuxer.html @@ -294,7 +294,7 @@ Public Member Functions diff --git a/docs/d5/dcf/rsa__key_8h_source.html b/docs/d5/dcf/rsa__key_8h_source.html index 4b6aeff7b3..39ca99be2d 100644 --- a/docs/d5/dcf/rsa__key_8h_source.html +++ b/docs/d5/dcf/rsa__key_8h_source.html @@ -97,8 +97,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 // for message signing, signature verification, encryption and decryption.
9 
10 #ifndef MEDIA_BASE_RSA_KEY_H_
-
11 #define MEDIA_BASE_RSA_KEY_H_
-
12 
+
11 #define MEDIA_BASE_RSA_KEY_H_
+
12 
13 #include <string>
14 
15 #include "packager/base/macros.h"
@@ -165,7 +165,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dda/ts__section__psi_8h_source.html b/docs/d5/dda/ts__section__psi_8h_source.html index 103e873417..c2b620656d 100644 --- a/docs/d5/dda/ts__section__psi_8h_source.html +++ b/docs/d5/dda/ts__section__psi_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP2T_TS_SECTION_PSI_H_
-
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PSI_H_
-
7 
+
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PSI_H_
+
7 
8 #include "packager/base/compiler_specific.h"
9 #include "packager/media/base/byte_queue.h"
10 #include "packager/media/formats/mp2t/ts_section.h"
@@ -108,14 +108,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
19 class TsSectionPsi : public TsSection {
20  public:
21  TsSectionPsi();
-
22  virtual ~TsSectionPsi();
+
22  ~TsSectionPsi() override;
23 
24  // TsSection implementation.
-
25  virtual bool Parse(bool payload_unit_start_indicator,
-
26  const uint8_t* buf,
-
27  int size) OVERRIDE;
-
28  virtual void Flush() OVERRIDE;
-
29  virtual void Reset() OVERRIDE;
+
25  bool Parse(bool payload_unit_start_indicator,
+
26  const uint8_t* buf,
+
27  int size) override;
+
28  void Flush() override;
+
29  void Reset() override;
30 
31  // Parse the content of the PSI section.
32  virtual bool ParsePsiSection(BitReader* bit_reader) = 0;
@@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
54 } // namespace edash_packager
55 
56 #endif
-
57 
+
57 
A class to read bit streams.
Definition: bit_reader.h:17
@@ -151,7 +151,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/ddf/classedash__packager_1_1media_1_1mp4_1_1FrameCENCInfo.html b/docs/d5/ddf/classedash__packager_1_1media_1_1mp4_1_1FrameCENCInfo.html index 901c68aae7..ef22848e78 100644 --- a/docs/d5/ddf/classedash__packager_1_1media_1_1mp4_1_1FrameCENCInfo.html +++ b/docs/d5/ddf/classedash__packager_1_1media_1_1mp4_1_1FrameCENCInfo.html @@ -132,7 +132,7 @@ const std::vector
diff --git a/docs/d5/de0/bit__reader_8cc_source.html b/docs/d5/de0/bit__reader_8cc_source.html index 756ec8a984..8a5f7b4460 100644 --- a/docs/d5/de0/bit__reader_8cc_source.html +++ b/docs/d5/de0/bit__reader_8cc_source.html @@ -185,7 +185,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dec/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser-members.html b/docs/d5/dec/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser-members.html index 20edbce77a..365f4e0b70 100644 --- a/docs/d5/dec/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser-members.html +++ b/docs/d5/dec/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser-members.html @@ -93,19 +93,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::wvm::WvmMediaParser, including all inherited members.

- - + + - + - +
Flush() OVERRIDEedash_packager::media::wvm::WvmMediaParservirtual
Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) OVERRIDEedash_packager::media::wvm::WvmMediaParservirtual
Flush() overrideedash_packager::media::wvm::WvmMediaParservirtual
Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) overrideedash_packager::media::wvm::WvmMediaParservirtual
InitCB typedefedash_packager::media::MediaParser
MediaParser() (defined in edash_packager::media::MediaParser)edash_packager::media::MediaParserinline
NewSampleCB typedefedash_packager::media::MediaParser
Parse(const uint8_t *buf, int size) OVERRIDEedash_packager::media::wvm::WvmMediaParservirtual
Parse(const uint8_t *buf, int size) overrideedash_packager::media::wvm::WvmMediaParservirtual
WvmMediaParser() (defined in edash_packager::media::wvm::WvmMediaParser)edash_packager::media::wvm::WvmMediaParser
~MediaParser() (defined in edash_packager::media::MediaParser)edash_packager::media::MediaParserinlinevirtual
~WvmMediaParser() (defined in edash_packager::media::wvm::WvmMediaParser)edash_packager::media::wvm::WvmMediaParservirtual
~WvmMediaParser() override (defined in edash_packager::media::wvm::WvmMediaParser)edash_packager::media::wvm::WvmMediaParser
diff --git a/docs/d5/def/ts__section__pmt_8h_source.html b/docs/d5/def/ts__section__pmt_8h_source.html index 00523aa2cf..6e9e8c96e4 100644 --- a/docs/d5/def/ts__section__pmt_8h_source.html +++ b/docs/d5/def/ts__section__pmt_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_
-
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_
-
7 
+
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_
+
7 
8 #include "packager/base/callback.h"
9 #include "packager/base/compiler_specific.h"
10 #include "packager/media/formats/mp2t/ts_section_psi.h"
@@ -110,11 +110,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
21  typedef base::Callback<void(int, int)> RegisterPesCb;
22 
23  explicit TsSectionPmt(const RegisterPesCb& register_pes_cb);
-
24  virtual ~TsSectionPmt();
+
24  ~TsSectionPmt() override;
25 
26  // Mpeg2TsPsiParser implementation.
-
27  virtual bool ParsePsiSection(BitReader* bit_reader) OVERRIDE;
-
28  virtual void ResetPsiSection() OVERRIDE;
+
27  bool ParsePsiSection(BitReader* bit_reader) override;
+
28  void ResetPsiSection() override;
29 
30  private:
31  RegisterPesCb register_pes_cb_;
@@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/df8/classedash__packager_1_1media_1_1H264BitReader-members.html b/docs/d5/df8/classedash__packager_1_1media_1_1H264BitReader-members.html index ded08f0e46..df6c8b6842 100644 --- a/docs/d5/df8/classedash__packager_1_1media_1_1H264BitReader-members.html +++ b/docs/d5/df8/classedash__packager_1_1media_1_1H264BitReader-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dfc/file_8cc_source.html b/docs/d5/dfc/file_8cc_source.html index b3a6885b31..9a67dd1c9b 100644 --- a/docs/d5/dfc/file_8cc_source.html +++ b/docs/d5/dfc/file_8cc_source.html @@ -280,7 +280,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d00/structedash__packager_1_1media_1_1mp4_1_1Box-members.html b/docs/d6/d00/structedash__packager_1_1media_1_1mp4_1_1Box-members.html index 365255f759..29e2e246b0 100644 --- a/docs/d6/d00/structedash__packager_1_1media_1_1mp4_1_1Box-members.html +++ b/docs/d6/d00/structedash__packager_1_1media_1_1mp4_1_1Box-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d06/classedash__packager_1_1media_1_1StreamInfo.html b/docs/d6/d06/classedash__packager_1_1media_1_1StreamInfo.html index cafe87d774..0645c29bd9 100644 --- a/docs/d6/d06/classedash__packager_1_1media_1_1StreamInfo.html +++ b/docs/d6/d06/classedash__packager_1_1media_1_1StreamInfo.html @@ -165,7 +165,7 @@ class base::RefCountedThre

Detailed Description

Abstract class holds stream information.

-

Definition at line 25 of file stream_info.h.

+

Definition at line 26 of file stream_info.h.

Member Function Documentation

@@ -189,7 +189,7 @@ class base::RefCountedThre
Returns
true if this object has appropriate configuration values, false otherwise.
-

Implemented in edash_packager::media::AudioStreamInfo, and edash_packager::media::VideoStreamInfo.

+

Implemented in edash_packager::media::AudioStreamInfo, and edash_packager::media::VideoStreamInfo.

@@ -215,7 +215,7 @@ class base::RefCountedThre
Returns
A human-readable string describing the stream info.
-

Reimplemented in edash_packager::media::AudioStreamInfo, and edash_packager::media::VideoStreamInfo.

+

Reimplemented in edash_packager::media::AudioStreamInfo, and edash_packager::media::VideoStreamInfo.

Definition at line 40 of file stream_info.cc.

@@ -228,7 +228,7 @@ class base::RefCountedThre
diff --git a/docs/d6/d10/classedash__packager_1_1media_1_1VideoStreamInfo-members.html b/docs/d6/d10/classedash__packager_1_1media_1_1VideoStreamInfo-members.html index e17c7bbdfd..369ec51e45 100644 --- a/docs/d6/d10/classedash__packager_1_1media_1_1VideoStreamInfo-members.html +++ b/docs/d6/d10/classedash__packager_1_1media_1_1VideoStreamInfo-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); GetCodecString(VideoCodec codec, uint8_t profile, uint8_t compatible_profiles, uint8_t level)edash_packager::media::VideoStreamInfostatic height() const (defined in edash_packager::media::VideoStreamInfo)edash_packager::media::VideoStreamInfoinline is_encrypted() const (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfoinline - IsValidConfig() const OVERRIDEedash_packager::media::VideoStreamInfovirtual + IsValidConfig() const overrideedash_packager::media::VideoStreamInfovirtual language() const (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfoinline nalu_length_size() const (defined in edash_packager::media::VideoStreamInfo)edash_packager::media::VideoStreamInfoinline pixel_height() const edash_packager::media::VideoStreamInfoinline @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); stream_type() const (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfoinline StreamInfo(StreamType stream_type, int track_id, uint32_t time_scale, uint64_t duration, const std::string &codec_string, const std::string &language, const uint8_t *extra_data, size_t extra_data_size, bool is_encrypted) (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfo time_scale() const (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfoinline - ToString() const OVERRIDEedash_packager::media::VideoStreamInfovirtual + ToString() const overrideedash_packager::media::VideoStreamInfovirtual track_id() const (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfoinline trick_play_rate() const (defined in edash_packager::media::VideoStreamInfo)edash_packager::media::VideoStreamInfoinline VideoStreamInfo(int track_id, uint32_t time_scale, uint64_t duration, VideoCodec codec, const std::string &codec_string, const std::string &language, uint16_t width, uint16_t height, uint32_t pixel_width, uint32_t pixel_height, int16_t trick_play_rate, uint8_t nalu_length_size, const uint8_t *extra_data, size_t extra_data_size, bool is_encrypted)edash_packager::media::VideoStreamInfo @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d12/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat-members.html b/docs/d6/d12/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat-members.html index 3a305d8f17..fcf3fb2728 100644 --- a/docs/d6/d12/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat-members.html +++ b/docs/d6/d12/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat-members.html @@ -95,19 +95,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::OriginalFormat)edash_packager::media::mp4::OriginalFormatvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::OriginalFormatvirtual
BoxType() const override (defined in edash_packager::media::mp4::OriginalFormat)edash_packager::media::mp4::OriginalFormatvirtual
ComputeSize() overrideedash_packager::media::mp4::OriginalFormatvirtual
format (defined in edash_packager::media::mp4::OriginalFormat)edash_packager::media::mp4::OriginalFormat
OriginalFormat() (defined in edash_packager::media::mp4::OriginalFormat)edash_packager::media::mp4::OriginalFormat
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::OriginalFormatvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::OriginalFormatvirtual
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~OriginalFormat() (defined in edash_packager::media::mp4::OriginalFormat)edash_packager::media::mp4::OriginalFormatvirtual
~OriginalFormat() override (defined in edash_packager::media::mp4::OriginalFormat)edash_packager::media::mp4::OriginalFormat
diff --git a/docs/d6/d13/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html b/docs/d6/d13/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html index 7ed8ffcc49..016167b6be 100644 --- a/docs/d6/d13/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html +++ b/docs/d6/d13/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d17/es__parser__h264_8cc_source.html b/docs/d6/d17/es__parser__h264_8cc_source.html index 5b3d58d1c0..e7d0110786 100644 --- a/docs/d6/d17/es__parser__h264_8cc_source.html +++ b/docs/d6/d17/es__parser__h264_8cc_source.html @@ -482,7 +482,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d19/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription-members.html b/docs/d6/d19/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription-members.html index 8d91385689..b1630c27fc 100644 --- a/docs/d6/d19/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription-members.html +++ b/docs/d6/d19/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription-members.html @@ -95,24 +95,24 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SampleGroupDescription)edash_packager::media::mp4::SampleGroupDescriptionvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::SampleGroupDescriptionvirtual
BoxType() const override (defined in edash_packager::media::mp4::SampleGroupDescription)edash_packager::media::mp4::SampleGroupDescriptionvirtual
ComputeSize() overrideedash_packager::media::mp4::SampleGroupDescriptionvirtual
entries (defined in edash_packager::media::mp4::SampleGroupDescription)edash_packager::media::mp4::SampleGroupDescription
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
grouping_type (defined in edash_packager::media::mp4::SampleGroupDescription)edash_packager::media::mp4::SampleGroupDescription
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SampleGroupDescriptionvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SampleGroupDescriptionvirtual
SampleGroupDescription() (defined in edash_packager::media::mp4::SampleGroupDescription)edash_packager::media::mp4::SampleGroupDescription
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~SampleGroupDescription() (defined in edash_packager::media::mp4::SampleGroupDescription)edash_packager::media::mp4::SampleGroupDescriptionvirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~SampleGroupDescription() override (defined in edash_packager::media::mp4::SampleGroupDescription)edash_packager::media::mp4::SampleGroupDescription
diff --git a/docs/d6/d1b/classedash__packager_1_1media_1_1ClosureThread-members.html b/docs/d6/d1b/classedash__packager_1_1media_1_1ClosureThread-members.html index 9a0e144032..d6fe754746 100644 --- a/docs/d6/d1b/classedash__packager_1_1media_1_1ClosureThread-members.html +++ b/docs/d6/d1b/classedash__packager_1_1media_1_1ClosureThread-members.html @@ -94,12 +94,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::ClosureThread, including all inherited members.

- - + +
ClosureThread(const std::string &name_prefix, const base::Closure &task)edash_packager::media::ClosureThreadexplicit
Run() OVERRIDEedash_packager::media::ClosureThreadprotectedvirtual
~ClosureThread()edash_packager::media::ClosureThreadvirtual
Run() overrideedash_packager::media::ClosureThreadprotected
~ClosureThread() overrideedash_packager::media::ClosureThread
diff --git a/docs/d6/d2e/mpd__notifier__util_8cc_source.html b/docs/d6/d2e/mpd__notifier__util_8cc_source.html index 1a7de143f1..785d7e1c3b 100644 --- a/docs/d6/d2e/mpd__notifier__util_8cc_source.html +++ b/docs/d6/d2e/mpd__notifier__util_8cc_source.html @@ -170,7 +170,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d35/webm__content__encodings_8cc_source.html b/docs/d6/d35/webm__content__encodings_8cc_source.html new file mode 100644 index 0000000000..c9ec820100 --- /dev/null +++ b/docs/d6/d35/webm__content__encodings_8cc_source.html @@ -0,0 +1,128 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_content_encodings.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_content_encodings.cc
+
+
+
1 // Copyright 2014 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 #include "packager/base/logging.h"
+
6 #include "packager/media/formats/webm/webm_content_encodings.h"
+
7 
+
8 namespace edash_packager {
+
9 namespace media {
+
10 
+
11 ContentEncoding::ContentEncoding()
+
12  : order_(kOrderInvalid),
+
13  scope_(kScopeInvalid),
+
14  type_(kTypeInvalid),
+
15  encryption_algo_(kEncAlgoInvalid),
+
16  cipher_mode_(kCipherModeInvalid) {
+
17 }
+
18 
+
19 ContentEncoding::~ContentEncoding() {}
+
20 
+
21 void ContentEncoding::SetEncryptionKeyId(const uint8_t* encryption_key_id,
+
22  int size) {
+
23  DCHECK(encryption_key_id);
+
24  DCHECK_GT(size, 0);
+
25  encryption_key_id_.assign(reinterpret_cast<const char*>(encryption_key_id),
+
26  size);
+
27 }
+
28 
+
29 } // namespace media
+
30 } // namespace edash_packager
+
+ + + + diff --git a/docs/d6/d37/classedash__packager_1_1xml_1_1AdaptationSetXmlNode.html b/docs/d6/d37/classedash__packager_1_1xml_1_1AdaptationSetXmlNode.html index eb947590fd..b2fbdea908 100644 --- a/docs/d6/d37/classedash__packager_1_1xml_1_1AdaptationSetXmlNode.html +++ b/docs/d6/d37/classedash__packager_1_1xml_1_1AdaptationSetXmlNode.html @@ -197,7 +197,7 @@ Additional Inherited Members diff --git a/docs/d6/d3a/classedash__packager_1_1media_1_1AesRequestSigner-members.html b/docs/d6/d3a/classedash__packager_1_1media_1_1AesRequestSigner-members.html index 42ab59a145..d7b0b871e6 100644 --- a/docs/d6/d3a/classedash__packager_1_1media_1_1AesRequestSigner-members.html +++ b/docs/d6/d3a/classedash__packager_1_1media_1_1AesRequestSigner-members.html @@ -94,15 +94,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::AesRequestSigner, including all inherited members.

- + - +
CreateSigner(const std::string &signer_name, const std::string &aes_key_hex, const std::string &iv_hex)edash_packager::media::AesRequestSignerstatic
GenerateSignature(const std::string &message, std::string *signature) OVERRIDEedash_packager::media::AesRequestSignervirtual
GenerateSignature(const std::string &message, std::string *signature) overrideedash_packager::media::AesRequestSignervirtual
RequestSigner(const std::string &signer_name) (defined in edash_packager::media::RequestSigner)edash_packager::media::RequestSignerexplicitprotected
signer_name() const (defined in edash_packager::media::RequestSigner)edash_packager::media::RequestSignerinline
~AesRequestSigner() (defined in edash_packager::media::AesRequestSigner)edash_packager::media::AesRequestSignervirtual
~AesRequestSigner() override (defined in edash_packager::media::AesRequestSigner)edash_packager::media::AesRequestSigner
~RequestSigner() (defined in edash_packager::media::RequestSigner)edash_packager::media::RequestSignervirtual
diff --git a/docs/d6/d3b/chunk__info__iterator_8cc_source.html b/docs/d6/d3b/chunk__info__iterator_8cc_source.html index 667a8b1967..bfef4cd18d 100644 --- a/docs/d6/d3b/chunk__info__iterator_8cc_source.html +++ b/docs/d6/d3b/chunk__info__iterator_8cc_source.html @@ -171,7 +171,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d41/encrypting__fragmenter_8cc_source.html b/docs/d6/d41/encrypting__fragmenter_8cc_source.html index b1f523241f..025166315a 100644 --- a/docs/d6/d41/encrypting__fragmenter_8cc_source.html +++ b/docs/d6/d41/encrypting__fragmenter_8cc_source.html @@ -125,10 +125,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
36 EncryptingFragmenter::~EncryptingFragmenter() {}
37 
38 
-
39 Status EncryptingFragmenter::AddSample(scoped_refptr<MediaSample> sample) {
+
39 Status EncryptingFragmenter::AddSample(scoped_refptr<MediaSample> sample) {
40  DCHECK(sample);
41  if (!fragment_initialized()) {
-
42  Status status = InitializeFragment(sample->dts());
+
42  Status status = InitializeFragment(sample->dts());
43  if (!status.ok())
44  return status;
45  }
@@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
51  return Fragmenter::AddSample(sample);
52 }
53 
- +
55  Status status = Fragmenter::InitializeFragment(first_sample_dts);
56  if (!status.ok())
57  return status;
@@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
73  return PrepareFragmentForEncryption(enable_encryption);
74 }
75 
- +
77  if (encryptor_) {
78  DCHECK_LE(clear_time_, 0);
@@ -261,22 +261,22 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); +
Status InitializeFragment(int64_t first_sample_dts) override
virtual Status InitializeFragment(int64_t first_sample_dts)
Definition: fragmenter.cc:73
virtual Status AddSample(scoped_refptr< MediaSample > sample)
Definition: fragmenter.cc:36
-
virtual Status AddSample(scoped_refptr< MediaSample > sample) OVERRIDE
bool OptimizeSampleEntries(std::vector< T > *entries, T *default_value)
Definition: fragmenter.h:90
+
Status AddSample(scoped_refptr< MediaSample > sample) override
+
void FinalizeFragment() override
Finalize and optimize the fragment.
virtual Status PrepareFragmentForEncryption(bool enable_encryption)
EncryptingFragmenter(TrackFragment *traf, scoped_ptr< EncryptionKey > encryption_key, int64_t clear_time, uint8_t nalu_length_size)
virtual void FinalizeFragmentForEncryption()
Finalize current fragment for encryption.
virtual void FinalizeFragment()
Finalize and optimize the fragment.
Definition: fragmenter.cc:91
-
virtual void FinalizeFragment() OVERRIDE
Finalize and optimize the fragment.
-
virtual Status InitializeFragment(int64_t first_sample_dts) OVERRIDE
diff --git a/docs/d6/d48/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl-members.html b/docs/d6/d48/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl-members.html index dbe7a844ad..56905ce2e7 100644 --- a/docs/d6/d48/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl-members.html +++ b/docs/d6/d48/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::DataEntryUrl)edash_packager::media::mp4::DataEntryUrlvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::DataEntryUrlvirtual
BoxType() const override (defined in edash_packager::media::mp4::DataEntryUrl)edash_packager::media::mp4::DataEntryUrlvirtual
ComputeSize() overrideedash_packager::media::mp4::DataEntryUrlvirtual
DataEntryUrl() (defined in edash_packager::media::mp4::DataEntryUrl)edash_packager::media::mp4::DataEntryUrl
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
location (defined in edash_packager::media::mp4::DataEntryUrl)edash_packager::media::mp4::DataEntryUrl
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::DataEntryUrlvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::DataEntryUrlvirtual
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~DataEntryUrl() (defined in edash_packager::media::mp4::DataEntryUrl)edash_packager::media::mp4::DataEntryUrlvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~DataEntryUrl() override (defined in edash_packager::media::mp4::DataEntryUrl)edash_packager::media::mp4::DataEntryUrl
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
diff --git a/docs/d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html b/docs/d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html index 14ad35c41f..c0fecdc8b0 100644 --- a/docs/d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html +++ b/docs/d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::DataInformation: - - - - - - - + + + + + + + @@ -137,7 +137,7 @@ Additional Inherited Members

Definition at line 371 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -153,7 +153,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -172,7 +172,7 @@ Additional Inherited Members
diff --git a/docs/d6/d5e/structedash__packager_1_1media_1_1H264SEIRecoveryPoint-members.html b/docs/d6/d5e/structedash__packager_1_1media_1_1H264SEIRecoveryPoint-members.html index 57af4b003d..9a2599eb58 100644 --- a/docs/d6/d5e/structedash__packager_1_1media_1_1H264SEIRecoveryPoint-members.html +++ b/docs/d6/d5e/structedash__packager_1_1media_1_1H264SEIRecoveryPoint-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html b/docs/d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html index 2697bdc059..7031d603d9 100644 --- a/docs/d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html +++ b/docs/d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::DataEntryUrl: - - - - - - - + + + + + + + @@ -145,7 +145,7 @@ Additional Inherited Members

Definition at line 358 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -161,7 +161,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -180,7 +180,7 @@ Additional Inherited Members
diff --git a/docs/d6/d6e/ts__section__pes_8cc_source.html b/docs/d6/d6e/ts__section__pes_8cc_source.html index 0c677427c6..0fe602dd00 100644 --- a/docs/d6/d6e/ts__section__pes_8cc_source.html +++ b/docs/d6/d6e/ts__section__pes_8cc_source.html @@ -405,7 +405,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d71/scoped__xml__ptr_8h_source.html b/docs/d6/d71/scoped__xml__ptr_8h_source.html index a66ade0a96..833c9175d1 100644 --- a/docs/d6/d71/scoped__xml__ptr_8h_source.html +++ b/docs/d6/d71/scoped__xml__ptr_8h_source.html @@ -97,8 +97,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 // defined in this file.
9 
10 #ifndef MPD_BASE_XML_SCOPED_XML_PTR_H_
-
11 #define MPD_BASE_XML_SCOPED_XML_PTR_H_
-
12 
+
11 #define MPD_BASE_XML_SCOPED_XML_PTR_H_
+
12 
13 #include <libxml/tree.h>
14 #include <libxml/xmlschemas.h>
15 
@@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html b/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html index 54f71de941..ecb393d481 100644 --- a/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html +++ b/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MPD_BASE_DASH_IOP_MPD_NOTIFIER_H_
-
8 #define MPD_BASE_DASH_IOP_MPD_NOTIFIER_H_
-
9 
+
8 #define MPD_BASE_DASH_IOP_MPD_NOTIFIER_H_
+
9 
10 #include "packager/mpd/base/mpd_notifier.h"
11 
12 #include <list>
@@ -115,111 +115,109 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
32  const MpdOptions& mpd_options,
33  const std::vector<std::string>& base_urls,
34  const std::string& output_path);
-
35  virtual ~DashIopMpdNotifier() OVERRIDE;
+
35  ~DashIopMpdNotifier() override;
36 
-
40  virtual bool Init() OVERRIDE;
-
41  virtual bool NotifyNewContainer(const MediaInfo& media_info,
-
42  uint32_t* id) OVERRIDE;
-
43  virtual bool NotifySampleDuration(uint32_t container_id,
-
44  uint32_t sample_duration) OVERRIDE;
-
45  virtual bool NotifyNewSegment(uint32_t id,
-
46  uint64_t start_time,
-
47  uint64_t duration,
-
48  uint64_t size) OVERRIDE;
-
49  virtual bool NotifyEncryptionUpdate(
-
50  uint32_t container_id,
-
51  const std::string& drm_uuid,
-
52  const std::vector<uint8_t>& new_key_id,
-
53  const std::vector<uint8_t>& new_pssh) OVERRIDE;
-
54  virtual bool AddContentProtectionElement(
-
55  uint32_t id,
-
56  const ContentProtectionElement& content_protection_element) OVERRIDE;
-
57  virtual bool Flush() OVERRIDE;
-
59 
-
60  private:
-
61  friend class DashIopMpdNotifierTest;
-
62 
-
63  // Maps representation ID to Representation.
-
64  typedef std::map<uint32_t, Representation*> RepresentationMap;
-
65 
-
66  // Maps AdaptationSet ID to ProtectedContent.
-
67  typedef std::map<uint32_t, MediaInfo::ProtectedContent> ProtectedContentMap;
-
68 
-
69  // Checks the protected_content field of media_info and returns a non-null
-
70  // AdaptationSet* for a new Representation.
-
71  // This does not necessarily return a new AdaptationSet. If
-
72  // media_info.protected_content completely matches with an existing
-
73  // AdaptationSet, then it will return the pointer.
-
74  AdaptationSet* GetAdaptationSetForMediaInfo(const MediaInfo& media_info,
-
75  ContentType type,
-
76  const std::string& language);
-
77 
-
78  // Sets a group id for |adaptation_set| if applicable.
-
79  // If a group ID is already assigned, then this returns immediately.
-
80  // |type| and |language| are the type and language of |adaptation_set|.
-
81  void SetGroupId(ContentType type,
-
82  const std::string& language,
-
83  AdaptationSet* adaptation_set);
-
84 
-
85  // Helper function to get a new AdaptationSet; registers the values
-
86  // to the fields (maps) of the instance.
-
87  // If the media is encrypted, registers data to protected_content_map_.
-
88  AdaptationSet* NewAdaptationSet(const MediaInfo& media_info,
-
89  const std::string& language,
-
90  std::list<AdaptationSet*>* adaptation_sets);
-
91 
-
92  // Testing only method. Returns a pointer to MpdBuilder.
-
93  MpdBuilder* MpdBuilderForTesting() const {
-
94  return mpd_builder_.get();
-
95  }
-
96 
-
97  // Testing only method. Sets mpd_builder_.
-
98  void SetMpdBuilderForTesting(scoped_ptr<MpdBuilder> mpd_builder) {
-
99  mpd_builder_ = mpd_builder.Pass();
-
100  }
-
101 
-
102  // [type][lang] = list<AdaptationSet>
-
103  // Note: lang can be empty, e.g. for video.
-
104  std::map<ContentType, std::map<std::string, std::list<AdaptationSet*> > >
-
105  adaptation_set_list_map_;
-
106  RepresentationMap representation_map_;
-
107 
-
108  // Used to check whether a Representation should be added to an AdaptationSet.
-
109  ProtectedContentMap protected_content_map_;
-
110 
-
111  // MPD output path.
-
112  std::string output_path_;
-
113  scoped_ptr<MpdBuilder> mpd_builder_;
-
114  base::Lock lock_;
-
115 
-
116  // Next group ID to use for AdapationSets that can be grouped.
-
117  int next_group_id_;
-
118 
-
119  // Maps Representation ID to AdaptationSet. This is for updating the PSSH.
-
120  std::map<uint32_t, AdaptationSet*> representation_id_to_adaptation_set_;
-
121 };
+
40  bool Init() override;
+
41  bool NotifyNewContainer(const MediaInfo& media_info, uint32_t* id) override;
+
42  bool NotifySampleDuration(uint32_t container_id,
+
43  uint32_t sample_duration) override;
+
44  bool NotifyNewSegment(uint32_t id,
+
45  uint64_t start_time,
+
46  uint64_t duration,
+
47  uint64_t size) override;
+
48  bool NotifyEncryptionUpdate(uint32_t container_id,
+
49  const std::string& drm_uuid,
+
50  const std::vector<uint8_t>& new_key_id,
+
51  const std::vector<uint8_t>& new_pssh) override;
+ +
53  uint32_t id,
+
54  const ContentProtectionElement& content_protection_element) override;
+
55  bool Flush() override;
+
57 
+
58  private:
+
59  friend class DashIopMpdNotifierTest;
+
60 
+
61  // Maps representation ID to Representation.
+
62  typedef std::map<uint32_t, Representation*> RepresentationMap;
+
63 
+
64  // Maps AdaptationSet ID to ProtectedContent.
+
65  typedef std::map<uint32_t, MediaInfo::ProtectedContent> ProtectedContentMap;
+
66 
+
67  // Checks the protected_content field of media_info and returns a non-null
+
68  // AdaptationSet* for a new Representation.
+
69  // This does not necessarily return a new AdaptationSet. If
+
70  // media_info.protected_content completely matches with an existing
+
71  // AdaptationSet, then it will return the pointer.
+
72  AdaptationSet* GetAdaptationSetForMediaInfo(const MediaInfo& media_info,
+
73  ContentType type,
+
74  const std::string& language);
+
75 
+
76  // Sets a group id for |adaptation_set| if applicable.
+
77  // If a group ID is already assigned, then this returns immediately.
+
78  // |type| and |language| are the type and language of |adaptation_set|.
+
79  void SetGroupId(ContentType type,
+
80  const std::string& language,
+
81  AdaptationSet* adaptation_set);
+
82 
+
83  // Helper function to get a new AdaptationSet; registers the values
+
84  // to the fields (maps) of the instance.
+
85  // If the media is encrypted, registers data to protected_content_map_.
+
86  AdaptationSet* NewAdaptationSet(const MediaInfo& media_info,
+
87  const std::string& language,
+
88  std::list<AdaptationSet*>* adaptation_sets);
+
89 
+
90  // Testing only method. Returns a pointer to MpdBuilder.
+
91  MpdBuilder* MpdBuilderForTesting() const {
+
92  return mpd_builder_.get();
+
93  }
+
94 
+
95  // Testing only method. Sets mpd_builder_.
+
96  void SetMpdBuilderForTesting(scoped_ptr<MpdBuilder> mpd_builder) {
+
97  mpd_builder_ = mpd_builder.Pass();
+
98  }
+
99 
+
100  // [type][lang] = list<AdaptationSet>
+
101  // Note: lang can be empty, e.g. for video.
+
102  std::map<ContentType, std::map<std::string, std::list<AdaptationSet*> > >
+
103  adaptation_set_list_map_;
+
104  RepresentationMap representation_map_;
+
105 
+
106  // Used to check whether a Representation should be added to an AdaptationSet.
+
107  ProtectedContentMap protected_content_map_;
+
108 
+
109  // MPD output path.
+
110  std::string output_path_;
+
111  scoped_ptr<MpdBuilder> mpd_builder_;
+
112  base::Lock lock_;
+
113 
+
114  // Next group ID to use for AdapationSets that can be grouped.
+
115  int next_group_id_;
+
116 
+
117  // Maps Representation ID to AdaptationSet. This is for updating the PSSH.
+
118  std::map<uint32_t, AdaptationSet*> representation_id_to_adaptation_set_;
+
119 };
+
120 
+
121 } // namespace edash_packager
122 
-
123 } // namespace edash_packager
-
124 
-
125 #endif // MPD_BASE_DASH_IOP_MPD_NOTIFIER_H_
-
virtual bool NotifyEncryptionUpdate(uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) OVERRIDE
-
virtual bool NotifyNewSegment(uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) OVERRIDE
+
123 #endif // MPD_BASE_DASH_IOP_MPD_NOTIFIER_H_
+
bool AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) override
Defines Mpd Options.
Definition: mpd_options.h:13
-
virtual bool NotifyNewContainer(const MediaInfo &media_info, uint32_t *id) OVERRIDE
DashProfile dash_profile() const
Definition: mpd_notifier.h:108
-
virtual bool NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) OVERRIDE
This class generates DASH MPDs (Media Presentation Descriptions).
Definition: mpd_builder.h:56
- - + + +
bool NotifyNewContainer(const MediaInfo &media_info, uint32_t *id) override
-
virtual bool AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) OVERRIDE
+
bool NotifyEncryptionUpdate(uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) override
+
bool NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) override
+
bool NotifyNewSegment(uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) override
diff --git a/docs/d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html b/docs/d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html index b1c528eabe..60931cde1b 100644 --- a/docs/d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html +++ b/docs/d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::ChunkOffset: - - - - - - - + + + + + + + @@ -143,7 +143,7 @@ uint32_t 

Definition at line 306 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
flags
@@ -159,13 +159,13 @@ uint32_t  +overridevirtual
flags -virtual

Compute the size of this box. The calculated size will be saved in |atom_size| for later consumption.

-

Reimplemented from edash_packager::media::mp4::ChunkLargeOffset.

+

Reimplemented from edash_packager::media::mp4::ChunkLargeOffset.

Definition at line 652 of file box_definitions.cc.

@@ -178,7 +178,7 @@ uint32_t flags diff --git a/docs/d6/d7b/webm__tracks__parser_8h_source.html b/docs/d6/d7b/webm__tracks__parser_8h_source.html new file mode 100644 index 0000000000..03564cf65d --- /dev/null +++ b/docs/d6/d7b/webm__tracks__parser_8h_source.html @@ -0,0 +1,218 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_tracks_parser.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_tracks_parser.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_WEBM_TRACKS_PARSER_H_
+
6 #define MEDIA_FORMATS_WEBM_WEBM_TRACKS_PARSER_H_
+
7 
+
8 #include <map>
+
9 #include <set>
+
10 #include <string>
+
11 #include <vector>
+
12 
+
13 #include "packager/base/compiler_specific.h"
+
14 #include "packager/base/memory/scoped_ptr.h"
+
15 #include "packager/base/time/time.h"
+
16 #include "packager/media/base/audio_stream_info.h"
+
17 #include "packager/media/base/text_track_config.h"
+
18 #include "packager/media/base/video_stream_info.h"
+
19 #include "packager/media/formats/webm/webm_audio_client.h"
+
20 #include "packager/media/formats/webm/webm_content_encodings_client.h"
+
21 #include "packager/media/formats/webm/webm_parser.h"
+
22 #include "packager/media/formats/webm/webm_video_client.h"
+
23 
+
24 namespace edash_packager {
+
25 namespace media {
+
26 
+
27 // Parser for WebM Tracks element.
+ +
29  public:
+
30  explicit WebMTracksParser(bool ignore_text_tracks);
+
31  ~WebMTracksParser() override;
+
32 
+
33  // Parses a WebM Tracks element in |buf|.
+
34  //
+
35  // Returns -1 if the parse fails.
+
36  // Returns 0 if more data is needed.
+
37  // Returns the number of bytes parsed on success.
+
38  int Parse(const uint8_t* buf, int size);
+
39 
+
40  int64_t audio_track_num() const { return audio_track_num_; }
+
41  int64_t video_track_num() const { return video_track_num_; }
+
42 
+
43  // If TrackEntry DefaultDuration field existed for the associated audio or
+
44  // video track, returns that value converted from ns to base::TimeDelta with
+
45  // precision not greater than |timecode_scale_in_us|. Defaults to
+
46  // kNoTimestamp().
+
47  int64_t GetAudioDefaultDuration(const double timecode_scale_in_us) const;
+
48  int64_t GetVideoDefaultDuration(const double timecode_scale_in_us) const;
+
49 
+
50  const std::set<int64_t>& ignored_tracks() const { return ignored_tracks_; }
+
51 
+
52  const std::string& audio_encryption_key_id() const {
+
53  return audio_encryption_key_id_;
+
54  }
+
55 
+
56  scoped_refptr<AudioStreamInfo> audio_stream_info() {
+
57  return audio_stream_info_;
+
58  }
+
59 
+
60  const std::string& video_encryption_key_id() const {
+
61  return video_encryption_key_id_;
+
62  }
+
63 
+
64  scoped_refptr<VideoStreamInfo> video_stream_info() {
+
65  return video_stream_info_;
+
66  }
+
67 
+
68  typedef std::map<int, TextTrackConfig> TextTracks;
+
69 
+
70  const TextTracks& text_tracks() const {
+
71  return text_tracks_;
+
72  }
+
73 
+
74  private:
+
75  // WebMParserClient implementation.
+
76  WebMParserClient* OnListStart(int id) override;
+
77  bool OnListEnd(int id) override;
+
78  bool OnUInt(int id, int64_t val) override;
+
79  bool OnFloat(int id, double val) override;
+
80  bool OnBinary(int id, const uint8_t* data, int size) override;
+
81  bool OnString(int id, const std::string& str) override;
+
82 
+
83  int64_t track_type_;
+
84  int64_t track_num_;
+
85  std::string track_name_;
+
86  std::string track_language_;
+
87  std::string codec_id_;
+
88  std::vector<uint8_t> codec_private_;
+
89  int64_t seek_preroll_;
+
90  int64_t codec_delay_;
+
91  int64_t default_duration_;
+
92  scoped_ptr<WebMContentEncodingsClient> track_content_encodings_client_;
+
93 
+
94  int64_t audio_track_num_;
+
95  int64_t audio_default_duration_;
+
96  int64_t video_track_num_;
+
97  int64_t video_default_duration_;
+
98  bool ignore_text_tracks_;
+
99  TextTracks text_tracks_;
+
100  std::set<int64_t> ignored_tracks_;
+
101  std::string audio_encryption_key_id_;
+
102  std::string video_encryption_key_id_;
+
103 
+
104  WebMAudioClient audio_client_;
+
105  scoped_refptr<AudioStreamInfo> audio_stream_info_;
+
106 
+
107  WebMVideoClient video_client_;
+
108  scoped_refptr<VideoStreamInfo> video_stream_info_;
+
109 
+
110  DISALLOW_COPY_AND_ASSIGN(WebMTracksParser);
+
111 };
+
112 
+
113 } // namespace media
+
114 } // namespace edash_packager
+
115 
+
116 #endif // MEDIA_FORMATS_WEBM_WEBM_TRACKS_PARSER_H_
+ + + + +
+ + + + diff --git a/docs/d6/d80/classedash__packager_1_1media_1_1Demuxer-members.html b/docs/d6/d80/classedash__packager_1_1media_1_1Demuxer-members.html index 6279d8b9ca..bfa5328a18 100644 --- a/docs/d6/d80/classedash__packager_1_1media_1_1Demuxer-members.html +++ b/docs/d6/d80/classedash__packager_1_1media_1_1Demuxer-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d6/d81/classedash__packager_1_1media_1_1LibcryptoThreading-members.html b/docs/d6/d81/classedash__packager_1_1media_1_1LibcryptoThreading-members.html index ab5081d20a..3a37e68fbd 100644 --- a/docs/d6/d81/classedash__packager_1_1media_1_1LibcryptoThreading-members.html +++ b/docs/d6/d81/classedash__packager_1_1media_1_1LibcryptoThreading-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d86/bandwidth__estimator_8cc_source.html b/docs/d6/d86/bandwidth__estimator_8cc_source.html index 8c92a2a9b7..e4bc01ea72 100644 --- a/docs/d6/d86/bandwidth__estimator_8cc_source.html +++ b/docs/d6/d86/bandwidth__estimator_8cc_source.html @@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html b/docs/d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html index eb17f0705e..22057d56b0 100644 --- a/docs/d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html +++ b/docs/d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::MovieExtends: - - - - - - - + + + + + + + @@ -140,7 +140,7 @@ Additional Inherited Members

Definition at line 419 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -156,7 +156,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -175,7 +175,7 @@ Additional Inherited Members
diff --git a/docs/d6/d8f/structedash__packager_1_1media_1_1mp4_1_1FullBox.html b/docs/d6/d8f/structedash__packager_1_1media_1_1mp4_1_1FullBox.html index 7d01ade707..e53ce1cfce 100644 --- a/docs/d6/d8f/structedash__packager_1_1media_1_1mp4_1_1FullBox.html +++ b/docs/d6/d8f/structedash__packager_1_1media_1_1mp4_1_1FullBox.html @@ -149,10 +149,10 @@ uint32_t flags - - - + + +

Protected Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
@@ -181,7 +181,7 @@ virtual FourCC  - - + + - + - - + +

Additional Inherited Members

BoxType diff --git a/docs/d6/d96/structedash__packager_1_1media_1_1mp4_1_1SampleDescription-members.html b/docs/d6/d96/structedash__packager_1_1media_1_1mp4_1_1SampleDescription-members.html index a57b1d9577..9220d6d899 100644 --- a/docs/d6/d96/structedash__packager_1_1media_1_1mp4_1_1SampleDescription-members.html +++ b/docs/d6/d96/structedash__packager_1_1media_1_1mp4_1_1SampleDescription-members.html @@ -96,24 +96,24 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
atom_sizeedash_packager::media::mp4::Boxprotected
audio_entries (defined in edash_packager::media::mp4::SampleDescription)edash_packager::media::mp4::SampleDescription
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SampleDescription)edash_packager::media::mp4::SampleDescriptionvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::SampleDescriptionvirtual
BoxType() const override (defined in edash_packager::media::mp4::SampleDescription)edash_packager::media::mp4::SampleDescriptionvirtual
ComputeSize() overrideedash_packager::media::mp4::SampleDescriptionvirtual
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SampleDescriptionvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SampleDescriptionvirtual
SampleDescription() (defined in edash_packager::media::mp4::SampleDescription)edash_packager::media::mp4::SampleDescription
type (defined in edash_packager::media::mp4::SampleDescription)edash_packager::media::mp4::SampleDescription
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
video_entries (defined in edash_packager::media::mp4::SampleDescription)edash_packager::media::mp4::SampleDescription
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~SampleDescription() (defined in edash_packager::media::mp4::SampleDescription)edash_packager::media::mp4::SampleDescriptionvirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~SampleDescription() override (defined in edash_packager::media::mp4::SampleDescription)edash_packager::media::mp4::SampleDescription
diff --git a/docs/d6/d97/classedash__packager_1_1media_1_1UdpFile-members.html b/docs/d6/d97/classedash__packager_1_1media_1_1UdpFile-members.html index ca451cadf5..d88d0204d0 100644 --- a/docs/d6/d97/classedash__packager_1_1media_1_1UdpFile-members.html +++ b/docs/d6/d97/classedash__packager_1_1media_1_1UdpFile-members.html @@ -93,28 +93,28 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::UdpFile, including all inherited members.

- + - + - + - + - - - + + + - + - +
Close() OVERRIDEedash_packager::media::UdpFilevirtual
Close() overrideedash_packager::media::UdpFilevirtual
Delete(const char *file_name)edash_packager::media::Filestatic
File(const std::string &file_name) (defined in edash_packager::media::File)edash_packager::media::Fileinlineexplicitprotected
file_name() const edash_packager::media::Fileinline
Flush() OVERRIDEedash_packager::media::UdpFilevirtual
Flush() overrideedash_packager::media::UdpFilevirtual
GetFileSize(const char *file_name)edash_packager::media::Filestatic
Open() OVERRIDEedash_packager::media::UdpFileprotectedvirtual
Open() overrideedash_packager::media::UdpFileprotectedvirtual
edash_packager::media::File::Open(const char *file_name, const char *mode)edash_packager::media::Filestatic
OpenWithNoBuffering(const char *file_name, const char *mode)edash_packager::media::Filestatic
Read(void *buffer, uint64_t length) OVERRIDEedash_packager::media::UdpFilevirtual
Read(void *buffer, uint64_t length) overrideedash_packager::media::UdpFilevirtual
ReadFileToString(const char *file_name, std::string *contents)edash_packager::media::Filestatic
Seek(uint64_t position) OVERRIDEedash_packager::media::UdpFilevirtual
Size() OVERRIDEedash_packager::media::UdpFilevirtual
Tell(uint64_t *position) OVERRIDEedash_packager::media::UdpFilevirtual
Seek(uint64_t position) overrideedash_packager::media::UdpFilevirtual
Size() overrideedash_packager::media::UdpFilevirtual
Tell(uint64_t *position) overrideedash_packager::media::UdpFilevirtual
UdpFile(const char *address_and_port)edash_packager::media::UdpFileexplicit
Write(const void *buffer, uint64_t length) OVERRIDEedash_packager::media::UdpFilevirtual
Write(const void *buffer, uint64_t length) overrideedash_packager::media::UdpFilevirtual
~File()edash_packager::media::Fileinlineprotectedvirtual
~UdpFile() (defined in edash_packager::media::UdpFile)edash_packager::media::UdpFileprotectedvirtual
~UdpFile() override (defined in edash_packager::media::UdpFile)edash_packager::media::UdpFileprotected
diff --git a/docs/d6/d9b/h264__parser_8h_source.html b/docs/d6/d9b/h264__parser_8h_source.html index 472b5e8cf8..834a1396dc 100644 --- a/docs/d6/d9b/h264__parser_8h_source.html +++ b/docs/d6/d9b/h264__parser_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // This file contains an implementation of an H264 Annex-B video stream parser.
6 
7 #ifndef MEDIA_FILTERS_H264_PARSER_H_
-
8 #define MEDIA_FILTERS_H264_PARSER_H_
-
9 
+
8 #define MEDIA_FILTERS_H264_PARSER_H_
+
9 
10 #include <stdint.h>
11 #include <sys/types.h>
12 
@@ -535,7 +535,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d9c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes-members.html b/docs/d6/d9c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes-members.html index 1d3da39f93..60b2e69729 100644 --- a/docs/d6/d9c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes-members.html +++ b/docs/d6/d9c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes-members.html @@ -93,22 +93,22 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::mp2t::TsSectionPes, including all inherited members.

- + - - + + - +
Flush() OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPes)edash_packager::media::mp2t::TsSectionPesvirtual
Flush() override (defined in edash_packager::media::mp2t::TsSectionPes)edash_packager::media::mp2t::TsSectionPesvirtual
kPidCat enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidMax enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidNullPacket enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidPat enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidTsdt enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
Parse(bool payload_unit_start_indicator, const uint8_t *buf, int size) OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPes)edash_packager::media::mp2t::TsSectionPesvirtual
Reset() OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPes)edash_packager::media::mp2t::TsSectionPesvirtual
Parse(bool payload_unit_start_indicator, const uint8_t *buf, int size) override (defined in edash_packager::media::mp2t::TsSectionPes)edash_packager::media::mp2t::TsSectionPesvirtual
Reset() override (defined in edash_packager::media::mp2t::TsSectionPes)edash_packager::media::mp2t::TsSectionPesvirtual
SpecialPid enum name (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
TsSectionPes(scoped_ptr< EsParser > es_parser) (defined in edash_packager::media::mp2t::TsSectionPes)edash_packager::media::mp2t::TsSectionPesexplicit
~TsSection() (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSectioninlinevirtual
~TsSectionPes() (defined in edash_packager::media::mp2t::TsSectionPes)edash_packager::media::mp2t::TsSectionPesvirtual
~TsSectionPes() override (defined in edash_packager::media::mp2t::TsSectionPes)edash_packager::media::mp2t::TsSectionPes
diff --git a/docs/d6/da0/ts__section__pat_8h_source.html b/docs/d6/da0/ts__section__pat_8h_source.html index 77c3a23038..267d027e20 100644 --- a/docs/d6/da0/ts__section__pat_8h_source.html +++ b/docs/d6/da0/ts__section__pat_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_
-
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_
-
7 
+
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_
+
7 
8 #include "packager/base/callback.h"
9 #include "packager/base/compiler_specific.h"
10 #include "packager/media/formats/mp2t/ts_section_psi.h"
@@ -108,11 +108,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
19  typedef base::Callback<void(int, int)> RegisterPmtCb;
20 
21  explicit TsSectionPat(const RegisterPmtCb& register_pmt_cb);
-
22  virtual ~TsSectionPat();
+
22  ~TsSectionPat() override;
23 
24  // TsSectionPsi implementation.
-
25  virtual bool ParsePsiSection(BitReader* bit_reader) OVERRIDE;
-
26  virtual void ResetPsiSection() OVERRIDE;
+
25  bool ParsePsiSection(BitReader* bit_reader) override;
+
26  void ResetPsiSection() override;
27 
28  private:
29  RegisterPmtCb register_pmt_cb_;
@@ -128,14 +128,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
39 } // namespace edash_packager
40 
41 #endif
-
42 
+
42 
A class to read bit streams.
Definition: bit_reader.h:17
diff --git a/docs/d6/da2/classedash__packager_1_1media_1_1AesCbcCtsEncryptor.html b/docs/d6/da2/classedash__packager_1_1media_1_1AesCbcCtsEncryptor.html index c01872ba28..a66487dc37 100644 --- a/docs/d6/da2/classedash__packager_1_1media_1_1AesCbcCtsEncryptor.html +++ b/docs/d6/da2/classedash__packager_1_1media_1_1AesCbcCtsEncryptor.html @@ -258,7 +258,7 @@ const std::vector< uint8_t > &  diff --git a/docs/d6/da3/classedash__packager_1_1media_1_1H264Parser.html b/docs/d6/da3/classedash__packager_1_1media_1_1H264Parser.html index 9244827c5e..f58683cc5f 100644 --- a/docs/d6/da3/classedash__packager_1_1media_1_1H264Parser.html +++ b/docs/d6/da3/classedash__packager_1_1media_1_1H264Parser.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); -

Public Types

enum  Result { kOk, +
enum  Result { kOk, kInvalidStream, kUnsupportedStream, kEOStream @@ -154,7 +154,7 @@ static bool FindStartCode< diff --git a/docs/d6/da3/mpd__builder_8h_source.html b/docs/d6/da3/mpd__builder_8h_source.html index cde1a87a17..32127d1203 100644 --- a/docs/d6/da3/mpd__builder_8h_source.html +++ b/docs/d6/da3/mpd__builder_8h_source.html @@ -99,8 +99,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 //
14 
15 #ifndef MPD_BASE_MPD_BUILDER_H_
-
16 #define MPD_BASE_MPD_BUILDER_H_
-
17 
+
16 #define MPD_BASE_MPD_BUILDER_H_
+
17 
18 #include <stdint.h>
19 
20 #include <list>
@@ -537,7 +537,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/da8/classedash__packager_1_1media_1_1WebMWebVTTParser-members.html b/docs/d6/da8/classedash__packager_1_1media_1_1WebMWebVTTParser-members.html new file mode 100644 index 0000000000..b254b9daaf --- /dev/null +++ b/docs/d6/da8/classedash__packager_1_1media_1_1WebMWebVTTParser-members.html @@ -0,0 +1,105 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
edash_packager::media::WebMWebVTTParser Member List
+
+
+ +

This is the complete list of members for edash_packager::media::WebMWebVTTParser, including all inherited members.

+ + +
Parse(const uint8_t *payload, int payload_size, std::string *id, std::string *settings, std::string *content) (defined in edash_packager::media::WebMWebVTTParser)edash_packager::media::WebMWebVTTParserstatic
+ + + + diff --git a/docs/d6/dba/classedash__packager_1_1media_1_1ThreadedIoFile-members.html b/docs/d6/dba/classedash__packager_1_1media_1_1ThreadedIoFile-members.html index ac7860c8d5..599e4b8bf0 100644 --- a/docs/d6/dba/classedash__packager_1_1media_1_1ThreadedIoFile-members.html +++ b/docs/d6/dba/classedash__packager_1_1media_1_1ThreadedIoFile-members.html @@ -93,33 +93,33 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::ThreadedIoFile, including all inherited members.

- + - + - + - + - - - + + + - + - +
Close() OVERRIDEedash_packager::media::ThreadedIoFilevirtual
Close() overrideedash_packager::media::ThreadedIoFilevirtual
Delete(const char *file_name)edash_packager::media::Filestatic
File(const std::string &file_name) (defined in edash_packager::media::File)edash_packager::media::Fileinlineexplicitprotected
file_name() const edash_packager::media::Fileinline
Flush() OVERRIDEedash_packager::media::ThreadedIoFilevirtual
Flush() overrideedash_packager::media::ThreadedIoFilevirtual
GetFileSize(const char *file_name)edash_packager::media::Filestatic
kInputMode enum value (defined in edash_packager::media::ThreadedIoFile)edash_packager::media::ThreadedIoFile
kOutputMode enum value (defined in edash_packager::media::ThreadedIoFile)edash_packager::media::ThreadedIoFile
Mode enum name (defined in edash_packager::media::ThreadedIoFile)edash_packager::media::ThreadedIoFile
Open() OVERRIDEedash_packager::media::ThreadedIoFileprotectedvirtual
Open() overrideedash_packager::media::ThreadedIoFileprotectedvirtual
edash_packager::media::File::Open(const char *file_name, const char *mode)edash_packager::media::Filestatic
OpenWithNoBuffering(const char *file_name, const char *mode)edash_packager::media::Filestatic
Read(void *buffer, uint64_t length) OVERRIDEedash_packager::media::ThreadedIoFilevirtual
Read(void *buffer, uint64_t length) overrideedash_packager::media::ThreadedIoFilevirtual
ReadFileToString(const char *file_name, std::string *contents)edash_packager::media::Filestatic
RunInInputMode() (defined in edash_packager::media::ThreadedIoFile)edash_packager::media::ThreadedIoFileprotected
RunInOutputMode() (defined in edash_packager::media::ThreadedIoFile)edash_packager::media::ThreadedIoFileprotected
Seek(uint64_t position) OVERRIDEedash_packager::media::ThreadedIoFilevirtual
Size() OVERRIDEedash_packager::media::ThreadedIoFilevirtual
Tell(uint64_t *position) OVERRIDEedash_packager::media::ThreadedIoFilevirtual
Seek(uint64_t position) overrideedash_packager::media::ThreadedIoFilevirtual
Size() overrideedash_packager::media::ThreadedIoFilevirtual
Tell(uint64_t *position) overrideedash_packager::media::ThreadedIoFilevirtual
ThreadedIoFile(scoped_ptr< File, FileCloser > internal_file, Mode mode, uint64_t io_cache_size, uint64_t io_block_size) (defined in edash_packager::media::ThreadedIoFile)edash_packager::media::ThreadedIoFile
Write(const void *buffer, uint64_t length) OVERRIDEedash_packager::media::ThreadedIoFilevirtual
Write(const void *buffer, uint64_t length) overrideedash_packager::media::ThreadedIoFilevirtual
~File()edash_packager::media::Fileinlineprotectedvirtual
~ThreadedIoFile() (defined in edash_packager::media::ThreadedIoFile)edash_packager::media::ThreadedIoFileprotectedvirtual
~ThreadedIoFile() override (defined in edash_packager::media::ThreadedIoFile)edash_packager::media::ThreadedIoFileprotected
diff --git a/docs/d6/dbb/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset-members.html b/docs/d6/dbb/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset-members.html index e28ff91c53..2f0f047635 100644 --- a/docs/d6/dbb/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset-members.html +++ b/docs/d6/dbb/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d6/dc2/classedash__packager_1_1media_1_1TextTrackConfig-members.html b/docs/d6/dc2/classedash__packager_1_1media_1_1TextTrackConfig-members.html new file mode 100644 index 0000000000..344d5e416d --- /dev/null +++ b/docs/d6/dc2/classedash__packager_1_1media_1_1TextTrackConfig-members.html @@ -0,0 +1,111 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
edash_packager::media::TextTrackConfig Member List
+
+
+ +

This is the complete list of members for edash_packager::media::TextTrackConfig, including all inherited members.

+ + + + + + + + +
id() const (defined in edash_packager::media::TextTrackConfig)edash_packager::media::TextTrackConfiginline
kind() const (defined in edash_packager::media::TextTrackConfig)edash_packager::media::TextTrackConfiginline
label() const (defined in edash_packager::media::TextTrackConfig)edash_packager::media::TextTrackConfiginline
language() const (defined in edash_packager::media::TextTrackConfig)edash_packager::media::TextTrackConfiginline
Matches(const TextTrackConfig &config) const (defined in edash_packager::media::TextTrackConfig)edash_packager::media::TextTrackConfig
TextTrackConfig() (defined in edash_packager::media::TextTrackConfig)edash_packager::media::TextTrackConfig
TextTrackConfig(TextKind kind, const std::string &label, const std::string &language, const std::string &id) (defined in edash_packager::media::TextTrackConfig)edash_packager::media::TextTrackConfig
+ + + + diff --git a/docs/d6/dc4/classedash__packager_1_1media_1_1AesCbcPkcs5Encryptor.html b/docs/d6/dc4/classedash__packager_1_1media_1_1AesCbcPkcs5Encryptor.html index b205ad2dc7..42afbc4a42 100644 --- a/docs/d6/dc4/classedash__packager_1_1media_1_1AesCbcPkcs5Encryptor.html +++ b/docs/d6/dc4/classedash__packager_1_1media_1_1AesCbcPkcs5Encryptor.html @@ -208,7 +208,7 @@ const std::vector< uint8_t > &  diff --git a/docs/d6/dd6/classedash__packager_1_1media_1_1WebMListParser.html b/docs/d6/dd6/classedash__packager_1_1media_1_1WebMListParser.html new file mode 100644 index 0000000000..7d0c60212d --- /dev/null +++ b/docs/d6/dd6/classedash__packager_1_1media_1_1WebMListParser.html @@ -0,0 +1,128 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::WebMListParser Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::WebMListParser Class Reference
+
+
+ + + + + + + + + + +

+Public Member Functions

WebMListParser (int id, WebMParserClient *client)
 
+void Reset ()
 
+int Parse (const uint8_t *buf, int size)
 
+bool IsParsingComplete () const
 
+

Detailed Description

+
+

Definition at line 54 of file webm_parser.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/d6/de6/classedash__packager_1_1media_1_1KeyFetcher-members.html b/docs/d6/de6/classedash__packager_1_1media_1_1KeyFetcher-members.html index c4adc2c87f..f26fc7419d 100644 --- a/docs/d6/de6/classedash__packager_1_1media_1_1KeyFetcher-members.html +++ b/docs/d6/de6/classedash__packager_1_1media_1_1KeyFetcher-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/de7/classedash__packager_1_1media_1_1AesCbcPkcs5Encryptor-members.html b/docs/d6/de7/classedash__packager_1_1media_1_1AesCbcPkcs5Encryptor-members.html index eace77978d..5c667f99d2 100644 --- a/docs/d6/de7/classedash__packager_1_1media_1_1AesCbcPkcs5Encryptor-members.html +++ b/docs/d6/de7/classedash__packager_1_1media_1_1AesCbcPkcs5Encryptor-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/de8/local__file_8cc_source.html b/docs/d6/de8/local__file_8cc_source.html index adc123953e..9b4aa31229 100644 --- a/docs/d6/de8/local__file_8cc_source.html +++ b/docs/d6/de8/local__file_8cc_source.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 
9 #include <stdio.h>
10 
-
11 #include "packager/base/file_util.h"
+
11 #include "packager/base/files/file_util.h"
12 #include "packager/base/logging.h"
13 
14 namespace edash_packager {
@@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
17 LocalFile::LocalFile(const char* file_name, const char* mode)
18  : File(file_name), file_mode_(mode), internal_file_(NULL) {}
19 
- +
21  bool result = true;
22  if (internal_file_) {
23  result = base::CloseFile(internal_file_);
@@ -116,23 +116,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
27  return result;
28 }
29 
-
30 int64_t LocalFile::Read(void* buffer, uint64_t length) {
+
30 int64_t LocalFile::Read(void* buffer, uint64_t length) {
31  DCHECK(buffer != NULL);
32  DCHECK(internal_file_ != NULL);
33  return fread(buffer, sizeof(char), length, internal_file_);
34 }
35 
-
36 int64_t LocalFile::Write(const void* buffer, uint64_t length) {
+
36 int64_t LocalFile::Write(const void* buffer, uint64_t length) {
37  DCHECK(buffer != NULL);
38  DCHECK(internal_file_ != NULL);
39  return fwrite(buffer, sizeof(char), length, internal_file_);
40 }
41 
-
42 int64_t LocalFile::Size() {
+
42 int64_t LocalFile::Size() {
43  DCHECK(internal_file_ != NULL);
44 
45  // Flush any buffered data, so we get the true file size.
-
46  if (!Flush()) {
+
46  if (!Flush()) {
47  LOG(ERROR) << "Cannot flush file.";
48  return -1;
49  }
@@ -145,16 +145,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
56  return file_size;
57 }
58 
- +
60  DCHECK(internal_file_ != NULL);
61  return ((fflush(internal_file_) == 0) && !ferror(internal_file_));
62 }
63 
-
64 bool LocalFile::Seek(uint64_t position) {
+
64 bool LocalFile::Seek(uint64_t position) {
65  return fseeko(internal_file_, position, SEEK_SET) >= 0;
66 }
67 
-
68 bool LocalFile::Tell(uint64_t* position) {
+
68 bool LocalFile::Tell(uint64_t* position) {
69  off_t offset = ftello(internal_file_);
70  if (offset < 0)
71  return false;
@@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
75 
76 LocalFile::~LocalFile() {}
77 
- +
79  internal_file_ =
80  base::OpenFile(base::FilePath(file_name()), file_mode_.c_str());
81  return (internal_file_ != NULL);
@@ -176,22 +176,22 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
87 
88 } // namespace media
89 } // namespace edash_packager
-
virtual int64_t Read(void *buffer, uint64_t length) OVERRIDE
Definition: local_file.cc:30
-
virtual bool Tell(uint64_t *position) OVERRIDE
Definition: local_file.cc:68
Define an abstract file interface.
Definition: file.h:22
LocalFile(const char *file_name, const char *mode)
Definition: local_file.cc:17
-
virtual bool Close() OVERRIDE
Definition: local_file.cc:20
-
virtual bool Flush() OVERRIDE
Definition: local_file.cc:59
+
bool Tell(uint64_t *position) override
Definition: local_file.cc:68
const std::string & file_name() const
Definition: file.h:89
-
virtual int64_t Size() OVERRIDE
Definition: local_file.cc:42
-
virtual bool Open() OVERRIDE
Internal open. Should not be used directly.
Definition: local_file.cc:78
+ + +
int64_t Write(const void *buffer, uint64_t length) override
Definition: local_file.cc:36
+
int64_t Read(void *buffer, uint64_t length) override
Definition: local_file.cc:30
+
bool Seek(uint64_t position) override
Definition: local_file.cc:64
static bool Delete(const char *file_name)
Definition: local_file.cc:84
-
virtual bool Seek(uint64_t position) OVERRIDE
Definition: local_file.cc:64
-
virtual int64_t Write(const void *buffer, uint64_t length) OVERRIDE
Definition: local_file.cc:36
+
bool Open() override
Internal open. Should not be used directly.
Definition: local_file.cc:78
+ diff --git a/docs/d6/de8/network__util_8h_source.html b/docs/d6/de8/network__util_8h_source.html index 6aab25f422..0beea33208 100644 --- a/docs/d6/de8/network__util_8h_source.html +++ b/docs/d6/de8/network__util_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_BASE_NETWORK_UTIL_H_
-
6 #define MEDIA_BASE_NETWORK_UTIL_H_
-
7 
+
6 #define MEDIA_BASE_NETWORK_UTIL_H_
+
7 
8 #include <stdint.h>
9 
10 namespace edash_packager {
@@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html b/docs/d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html index 44e46cffb2..2765c92df4 100644 --- a/docs/d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html +++ b/docs/d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::Movie: - - - - - - - + + + + + + + @@ -147,7 +147,7 @@ Additional Inherited Members

Definition at line 426 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -163,7 +163,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -182,7 +182,7 @@ Additional Inherited Members
diff --git a/docs/d6/ded/ts__packet_8h_source.html b/docs/d6/ded/ts__packet_8h_source.html index 584ea87e86..9cc801a1a1 100644 --- a/docs/d6/ded/ts__packet_8h_source.html +++ b/docs/d6/ded/ts__packet_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP2T_TS_PACKET_H_
-
6 #define MEDIA_FORMATS_MP2T_TS_PACKET_H_
-
7 
+
6 #define MEDIA_FORMATS_MP2T_TS_PACKET_H_
+
7 
8 #include <stdint.h>
9 
10 #include "packager/base/macros.h"
@@ -163,13 +163,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
74 } // namespace edash_packager
75 
76 #endif
-
77 
+
77 
A class to read bit streams.
Definition: bit_reader.h:17
diff --git a/docs/d6/def/sync__sample__iterator_8cc_source.html b/docs/d6/def/sync__sample__iterator_8cc_source.html index 0f6c50d3f0..d3ca0e851f 100644 --- a/docs/d6/def/sync__sample__iterator_8cc_source.html +++ b/docs/d6/def/sync__sample__iterator_8cc_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/df9/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser-members.html b/docs/d6/df9/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser-members.html index f0b4f28f10..1230487659 100644 --- a/docs/d6/df9/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser-members.html +++ b/docs/d6/df9/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser-members.html @@ -93,20 +93,20 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::mp4::MP4MediaParser, including all inherited members.

- - + + - + - +
Flush() OVERRIDEedash_packager::media::mp4::MP4MediaParservirtual
Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) OVERRIDEedash_packager::media::mp4::MP4MediaParservirtual
Flush() overrideedash_packager::media::mp4::MP4MediaParservirtual
Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) overrideedash_packager::media::mp4::MP4MediaParservirtual
InitCB typedefedash_packager::media::MediaParser
LoadMoov(const std::string &file_path)edash_packager::media::mp4::MP4MediaParser
MediaParser() (defined in edash_packager::media::MediaParser)edash_packager::media::MediaParserinline
MP4MediaParser() (defined in edash_packager::media::mp4::MP4MediaParser)edash_packager::media::mp4::MP4MediaParser
NewSampleCB typedefedash_packager::media::MediaParser
Parse(const uint8_t *buf, int size) OVERRIDEedash_packager::media::mp4::MP4MediaParservirtual
Parse(const uint8_t *buf, int size) overrideedash_packager::media::mp4::MP4MediaParservirtual
~MediaParser() (defined in edash_packager::media::MediaParser)edash_packager::media::MediaParserinlinevirtual
~MP4MediaParser() (defined in edash_packager::media::mp4::MP4MediaParser)edash_packager::media::mp4::MP4MediaParservirtual
~MP4MediaParser() override (defined in edash_packager::media::mp4::MP4MediaParser)edash_packager::media::mp4::MP4MediaParser
diff --git a/docs/d7/d0b/muxer__listener__test__helper_8h_source.html b/docs/d7/d0b/muxer__listener__test__helper_8h_source.html index 9885810ac5..aef98a4ce3 100644 --- a/docs/d7/d0b/muxer__listener__test__helper_8h_source.html +++ b/docs/d7/d0b/muxer__listener__test__helper_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_EVENT_MUXER_LISTENER_TEST_HELPER_H_
-
8 #define MEDIA_EVENT_MUXER_LISTENER_TEST_HELPER_H_
-
9 
+
8 #define MEDIA_EVENT_MUXER_LISTENER_TEST_HELPER_H_
+
9 
10 #include <stdint.h>
11 #include <vector>
12 
@@ -196,7 +196,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html b/docs/d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html index 07b956b652..747cd134ab 100644 --- a/docs/d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html +++ b/docs/d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::DataReference: - - - - - - - + + + + + + + @@ -145,7 +145,7 @@ Additional Inherited Members

Definition at line 364 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -161,7 +161,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -180,7 +180,7 @@ Additional Inherited Members
diff --git a/docs/d7/d12/media__parser_8h_source.html b/docs/d7/d12/media__parser_8h_source.html index f1fdd1bbe9..6be84c15a6 100644 --- a/docs/d7/d12/media__parser_8h_source.html +++ b/docs/d7/d12/media__parser_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_MEDIA_PARSER_H_
-
8 #define MEDIA_BASE_MEDIA_PARSER_H_
-
9 
+
8 #define MEDIA_BASE_MEDIA_PARSER_H_
+
9 
10 #include <string>
11 #include <vector>
12 
@@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d15/classedash__packager_1_1Representation.html b/docs/d7/d15/classedash__packager_1_1Representation.html index d5768adcaa..d9c9ba27f0 100644 --- a/docs/d7/d15/classedash__packager_1_1Representation.html +++ b/docs/d7/d15/classedash__packager_1_1Representation.html @@ -422,7 +422,7 @@ class AdaptationSet diff --git a/docs/d7/d15/mpd__notifier_8h_source.html b/docs/d7/d15/mpd__notifier_8h_source.html index c716190918..a2ba430b48 100644 --- a/docs/d7/d15/mpd__notifier_8h_source.html +++ b/docs/d7/d15/mpd__notifier_8h_source.html @@ -97,8 +97,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 // MPD file.
9 
10 #ifndef MPD_BASE_MPD_NOTIFIER_H_
-
11 #define MPD_BASE_MPD_NOTIFIER_H_
-
12 
+
11 #define MPD_BASE_MPD_NOTIFIER_H_
+
12 
13 #include <stdint.h>
14 #include <string>
15 #include <vector>
@@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d1c/structedash__packager_1_1media_1_1mp4_1_1DecodingTime.html b/docs/d7/d1c/structedash__packager_1_1media_1_1mp4_1_1DecodingTime.html index 6d42338ce4..c1ad054a3c 100644 --- a/docs/d7/d1c/structedash__packager_1_1media_1_1mp4_1_1DecodingTime.html +++ b/docs/d7/d1c/structedash__packager_1_1media_1_1mp4_1_1DecodingTime.html @@ -112,7 +112,7 @@ uint32_t sample_delta< diff --git a/docs/d7/d22/libcrypto__threading_8h_source.html b/docs/d7/d22/libcrypto__threading_8h_source.html index 683b2d26d2..27c02c1ed3 100644 --- a/docs/d7/d22/libcrypto__threading_8h_source.html +++ b/docs/d7/d22/libcrypto__threading_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef APP_LIBCRYPTO_THREADING_H_
-
8 #define APP_LIBCRYPTO_THREADING_H_
-
9 
+
8 #define APP_LIBCRYPTO_THREADING_H_
+
9 
10 #include "packager/base/macros.h"
11 
12 namespace edash_packager {
@@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d2a/classedash__packager_1_1media_1_1DecryptorSource-members.html b/docs/d7/d2a/classedash__packager_1_1media_1_1DecryptorSource-members.html index 5f51fbec0c..6a667ce076 100644 --- a/docs/d7/d2a/classedash__packager_1_1media_1_1DecryptorSource-members.html +++ b/docs/d7/d2a/classedash__packager_1_1media_1_1DecryptorSource-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d39/structedash__packager_1_1media_1_1mp4_1_1Movie-members.html b/docs/d7/d39/structedash__packager_1_1media_1_1mp4_1_1Movie-members.html index ecc21e2873..12247127fd 100644 --- a/docs/d7/d39/structedash__packager_1_1media_1_1mp4_1_1Movie-members.html +++ b/docs/d7/d39/structedash__packager_1_1media_1_1mp4_1_1Movie-members.html @@ -95,22 +95,22 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::Movie)edash_packager::media::mp4::Movievirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::Movievirtual
BoxType() const override (defined in edash_packager::media::mp4::Movie)edash_packager::media::mp4::Movievirtual
ComputeSize() overrideedash_packager::media::mp4::Movievirtual
extends (defined in edash_packager::media::mp4::Movie)edash_packager::media::mp4::Movie
header (defined in edash_packager::media::mp4::Movie)edash_packager::media::mp4::Movie
Movie() (defined in edash_packager::media::mp4::Movie)edash_packager::media::mp4::Movie
Parse(BoxReader *reader)edash_packager::media::mp4::Box
pssh (defined in edash_packager::media::mp4::Movie)edash_packager::media::mp4::Movie
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::Movievirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::Movievirtual
tracks (defined in edash_packager::media::mp4::Movie)edash_packager::media::mp4::Movie
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~Movie() (defined in edash_packager::media::mp4::Movie)edash_packager::media::mp4::Movievirtual
~Movie() override (defined in edash_packager::media::mp4::Movie)edash_packager::media::mp4::Movie
diff --git a/docs/d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html b/docs/d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html index 7101eb8b7d..db8d6acc95 100644 --- a/docs/d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html +++ b/docs/d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html @@ -145,10 +145,10 @@ void set_pixel_width ( void set_pixel_height (uint32_t pixel_height)  
StreamInfo implementation overrides.
-virtual bool IsValidConfig () const OVERRIDE -  -virtual std::string ToString () const OVERRIDE -  +bool IsValidConfig () const override +  +std::string ToString () const override +  - Public Member Functions inherited from edash_packager::media::StreamInfo  StreamInfo (StreamType stream_type, int track_id, uint32_t time_scale, uint64_t duration, const std::string &codec_string, const std::string &language, const uint8_t *extra_data, size_t extra_data_size, bool is_encrypted) @@ -370,7 +370,7 @@ Static Public Member Functions - +
@@ -386,7 +386,7 @@ Static Public Member Functions
-virtual +overridevirtual
@@ -452,7 +452,7 @@ Static Public Member Functions
- +
@@ -468,7 +468,7 @@ Static Public Member Functions
-virtual +overridevirtual
@@ -487,7 +487,7 @@ Static Public Member Functions
diff --git a/docs/d7/d40/classedash__packager_1_1media_1_1WebMClusterParser-members.html b/docs/d7/d40/classedash__packager_1_1media_1_1WebMClusterParser-members.html new file mode 100644 index 0000000000..42eb06197b --- /dev/null +++ b/docs/d7/d40/classedash__packager_1_1media_1_1WebMClusterParser-members.html @@ -0,0 +1,118 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
edash_packager::media::WebMClusterParser Member List
+
+
+ +

This is the complete list of members for edash_packager::media::WebMClusterParser, including all inherited members.

+ + + + + + + + + + + + + + + +
cluster_ended() const (defined in edash_packager::media::WebMClusterParser)edash_packager::media::WebMClusterParserinline
cluster_start_time() const (defined in edash_packager::media::WebMClusterParser)edash_packager::media::WebMClusterParserinline
DISALLOW_COPY_AND_ASSIGN(WebMParserClient) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
kDefaultAudioBufferDurationInMs enum value (defined in edash_packager::media::WebMClusterParser)edash_packager::media::WebMClusterParser
kDefaultVideoBufferDurationInMs enum value (defined in edash_packager::media::WebMClusterParser)edash_packager::media::WebMClusterParser
kOpusFrameDurationsMu (defined in edash_packager::media::WebMClusterParser)edash_packager::media::WebMClusterParserstatic
OnFloat(int id, double val) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
OnString(int id, const std::string &str) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
Parse(const uint8_t *buf, int size) (defined in edash_packager::media::WebMClusterParser)edash_packager::media::WebMClusterParser
Reset() (defined in edash_packager::media::WebMClusterParser)edash_packager::media::WebMClusterParser
WebMClusterParser(int64_t timecode_scale, int audio_track_num, int64_t audio_default_duration, int video_track_num, int64_t video_default_duration, const WebMTracksParser::TextTracks &text_tracks, const std::set< int64_t > &ignored_tracks, const std::string &audio_encryption_key_id, const std::string &video_encryption_key_id, const AudioCodec audio_codec, const MediaParser::NewSampleCB &new_sample_cb) (defined in edash_packager::media::WebMClusterParser)edash_packager::media::WebMClusterParser
WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
~WebMClusterParser() override (defined in edash_packager::media::WebMClusterParser)edash_packager::media::WebMClusterParser
~WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
+ + + + diff --git a/docs/d7/d44/classedash__packager_1_1MockMpdNotifier.html b/docs/d7/d44/classedash__packager_1_1MockMpdNotifier.html index 04ebcddd45..5339343d1b 100644 --- a/docs/d7/d44/classedash__packager_1_1MockMpdNotifier.html +++ b/docs/d7/d44/classedash__packager_1_1MockMpdNotifier.html @@ -160,7 +160,7 @@ Public Member Functions
diff --git a/docs/d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html b/docs/d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html index 4afd28c71e..949794a31a 100644 --- a/docs/d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html +++ b/docs/d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::Edit: - - - - - - - + + + + + + + @@ -137,7 +137,7 @@ Additional Inherited Members

Definition at line 156 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -153,7 +153,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -172,7 +172,7 @@ Additional Inherited Members
diff --git a/docs/d7/d50/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter-members.html b/docs/d7/d50/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter-members.html index 122d20aa75..84ccf1371d 100644 --- a/docs/d7/d50/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter-members.html +++ b/docs/d7/d50/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter-members.html @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::mp4::EncryptingFragmenter, including all inherited members.

- + @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + @@ -109,17 +109,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - +
AddSample(scoped_refptr< MediaSample > sample) OVERRIDEedash_packager::media::mp4::EncryptingFragmentervirtual
AddSample(scoped_refptr< MediaSample > sample) overrideedash_packager::media::mp4::EncryptingFragmentervirtual
aux_data() (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmenterinline
CreateEncryptor()edash_packager::media::mp4::EncryptingFragmenterprotected
data() (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmenterinline
EncryptingFragmenter(TrackFragment *traf, scoped_ptr< EncryptionKey > encryption_key, int64_t clear_time, uint8_t nalu_length_size)edash_packager::media::mp4::EncryptingFragmenter
encryption_key() (defined in edash_packager::media::mp4::EncryptingFragmenter)edash_packager::media::mp4::EncryptingFragmenterinlineprotected
encryptor() (defined in edash_packager::media::mp4::EncryptingFragmenter)edash_packager::media::mp4::EncryptingFragmenterinlineprotected
FinalizeFragment() OVERRIDEedash_packager::media::mp4::EncryptingFragmentervirtual
FinalizeFragment() overrideedash_packager::media::mp4::EncryptingFragmentervirtual
FinalizeFragmentForEncryption()edash_packager::media::mp4::EncryptingFragmenterprotectedvirtual
first_sap_time() const (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmenterinline
fragment_duration() const (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmenterinline
fragment_initialized() const (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmenterinline
Fragmenter(TrackFragment *traf)edash_packager::media::mp4::Fragmenter
GenerateSegmentReference(SegmentReference *reference)edash_packager::media::mp4::Fragmenter
InitializeFragment(int64_t first_sample_dts) OVERRIDEedash_packager::media::mp4::EncryptingFragmentervirtual
InitializeFragment(int64_t first_sample_dts) overrideedash_packager::media::mp4::EncryptingFragmentervirtual
OptimizeSampleEntries(std::vector< T > *entries, T *default_value)edash_packager::media::mp4::Fragmenterprotected
PrepareFragmentForEncryption(bool enable_encryption)edash_packager::media::mp4::EncryptingFragmenterprotectedvirtual
set_encryption_key(scoped_ptr< EncryptionKey > encryption_key) (defined in edash_packager::media::mp4::EncryptingFragmenter)edash_packager::media::mp4::EncryptingFragmenterinlineprotected
traf() (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmenterinlineprotected
~EncryptingFragmenter() (defined in edash_packager::media::mp4::EncryptingFragmenter)edash_packager::media::mp4::EncryptingFragmentervirtual
~EncryptingFragmenter() override (defined in edash_packager::media::mp4::EncryptingFragmenter)edash_packager::media::mp4::EncryptingFragmenter
~Fragmenter() (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmentervirtual
diff --git a/docs/d7/d51/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord-members.html b/docs/d7/d51/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord-members.html index 6d3a739719..5e4891a56d 100644 --- a/docs/d7/d51/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord-members.html +++ b/docs/d7/d51/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord-members.html @@ -97,8 +97,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); avc_level (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecord AVCDecoderConfigurationRecord() (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecord Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box - BoxType() const OVERRIDE (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecordvirtual - ComputeSize() OVERRIDEedash_packager::media::mp4::AVCDecoderConfigurationRecordvirtual + BoxType() const override (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecordvirtual + ComputeSize() overrideedash_packager::media::mp4::AVCDecoderConfigurationRecordvirtual data (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecord length_size (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecord Parse(BoxReader *reader)edash_packager::media::mp4::Box @@ -107,17 +107,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); pps_list (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecord profile_compatibility (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecord profile_indication (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecord - ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::AVCDecoderConfigurationRecordvirtual + ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::AVCDecoderConfigurationRecordvirtual SPS typedef (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecord sps_list (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecord version (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecord Write(BufferWriter *writer)edash_packager::media::mp4::Box - ~AVCDecoderConfigurationRecord() (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecordvirtual + ~AVCDecoderConfigurationRecord() override (defined in edash_packager::media::mp4::AVCDecoderConfigurationRecord)edash_packager::media::mp4::AVCDecoderConfigurationRecord ~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual diff --git a/docs/d7/d52/classedash__packager_1_1media_1_1WebMListParser-members.html b/docs/d7/d52/classedash__packager_1_1media_1_1WebMListParser-members.html new file mode 100644 index 0000000000..c6a95a6fc9 --- /dev/null +++ b/docs/d7/d52/classedash__packager_1_1media_1_1WebMListParser-members.html @@ -0,0 +1,109 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
edash_packager::media::WebMListParser Member List
+
+
+ +

This is the complete list of members for edash_packager::media::WebMListParser, including all inherited members.

+ + + + + + +
IsParsingComplete() const (defined in edash_packager::media::WebMListParser)edash_packager::media::WebMListParser
Parse(const uint8_t *buf, int size) (defined in edash_packager::media::WebMListParser)edash_packager::media::WebMListParser
Reset() (defined in edash_packager::media::WebMListParser)edash_packager::media::WebMListParser
WebMListParser(int id, WebMParserClient *client) (defined in edash_packager::media::WebMListParser)edash_packager::media::WebMListParser
~WebMListParser() (defined in edash_packager::media::WebMListParser)edash_packager::media::WebMListParser
+ + + + diff --git a/docs/d7/d55/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html b/docs/d7/d55/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html index 6c495486bb..c1b3db1970 100644 --- a/docs/d7/d55/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html +++ b/docs/d7/d55/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html @@ -116,7 +116,7 @@ std::vector< uint8_t >  diff --git a/docs/d7/d79/structedash__packager_1_1media_1_1mp4_1_1MediaData-members.html b/docs/d7/d79/structedash__packager_1_1media_1_1mp4_1_1MediaData-members.html index 5a22ba9552..9a7f196e1b 100644 --- a/docs/d7/d79/structedash__packager_1_1media_1_1mp4_1_1MediaData-members.html +++ b/docs/d7/d79/structedash__packager_1_1media_1_1mp4_1_1MediaData-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d7b/structedash__packager_1_1media_1_1mp4_1_1DecodingTime-members.html b/docs/d7/d7b/structedash__packager_1_1media_1_1mp4_1_1DecodingTime-members.html index 07640fbd9a..ce544b32af 100644 --- a/docs/d7/d7b/structedash__packager_1_1media_1_1mp4_1_1DecodingTime-members.html +++ b/docs/d7/d7b/structedash__packager_1_1media_1_1mp4_1_1DecodingTime-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d82/classedash__packager_1_1MpdBuilder-members.html b/docs/d7/d82/classedash__packager_1_1MpdBuilder-members.html index 0b6d5f7c54..0290fa7aec 100644 --- a/docs/d7/d82/classedash__packager_1_1MpdBuilder-members.html +++ b/docs/d7/d82/classedash__packager_1_1MpdBuilder-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d87/video__stream__info_8h_source.html b/docs/d7/d87/video__stream__info_8h_source.html index 8845160c21..0b7d8ff18a 100644 --- a/docs/d7/d87/video__stream__info_8h_source.html +++ b/docs/d7/d87/video__stream__info_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_VIDEO_STREAM_INFO_H_
-
8 #define MEDIA_BASE_VIDEO_STREAM_INFO_H_
-
9 
+
8 #define MEDIA_BASE_VIDEO_STREAM_INFO_H_
+
9 
10 #include "packager/media/base/stream_info.h"
11 
12 namespace edash_packager {
@@ -131,8 +131,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
49  size_t extra_data_size,
50  bool is_encrypted);
51 
-
54  virtual bool IsValidConfig() const OVERRIDE;
-
55  virtual std::string ToString() const OVERRIDE;
+
54  bool IsValidConfig() const override;
+
55  std::string ToString() const override;
57 
58  VideoCodec codec() const { return codec_; }
59  uint16_t width() const { return width_; }
@@ -153,7 +153,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
80  uint8_t level);
81 
82  private:
-
83  virtual ~VideoStreamInfo();
+
83  ~VideoStreamInfo() override;
84 
85  VideoCodec codec_;
86  uint16_t width_;
@@ -179,10 +179,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
106 } // namespace edash_packager
107 
108 #endif // MEDIA_BASE_VIDEO_STREAM_INFO_H_
-
virtual bool IsValidConfig() const OVERRIDE
-
virtual std::string ToString() const OVERRIDE
-
Abstract class holds stream information.
Definition: stream_info.h:25
+
std::string ToString() const override
+
Abstract class holds stream information.
Definition: stream_info.h:26
+
static std::string GetCodecString(VideoCodec codec, uint8_t profile, uint8_t compatible_profiles, uint8_t level)
Holds video stream information.
@@ -190,7 +190,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html b/docs/d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html index 77abde35e8..cbfb614d79 100644 --- a/docs/d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html +++ b/docs/d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html @@ -183,7 +183,7 @@ class BoxBuffer

Compute the size of this box. The calculated size will be saved in |atom_size| for later consumption.

-

Implemented in edash_packager::media::mp4::SegmentIndex, edash_packager::media::mp4::MovieFragment, edash_packager::media::mp4::TrackFragment, edash_packager::media::mp4::SampleGroupDescription, edash_packager::media::mp4::SampleToGroup, edash_packager::media::mp4::TrackFragmentRun, edash_packager::media::mp4::TrackFragmentHeader, edash_packager::media::mp4::MovieFragmentHeader, edash_packager::media::mp4::TrackFragmentDecodeTime, edash_packager::media::mp4::Movie, edash_packager::media::mp4::MovieExtends, edash_packager::media::mp4::TrackExtends, edash_packager::media::mp4::MovieExtendsHeader, edash_packager::media::mp4::Track, edash_packager::media::mp4::Media, edash_packager::media::mp4::MediaInformation, edash_packager::media::mp4::DataInformation, edash_packager::media::mp4::DataReference, edash_packager::media::mp4::DataEntryUrl, edash_packager::media::mp4::SoundMediaHeader, edash_packager::media::mp4::VideoMediaHeader, edash_packager::media::mp4::MediaHeader, edash_packager::media::mp4::SampleTable, edash_packager::media::mp4::SyncSample, edash_packager::media::mp4::ChunkOffset, edash_packager::media::mp4::ChunkLargeOffset, edash_packager::media::mp4::CompactSampleSize, edash_packager::media::mp4::SampleSize, edash_packager::media::mp4::SampleToChunk, edash_packager::media::mp4::CompositionTimeToSample, edash_packager::media::mp4::DecodingTimeToSample, edash_packager::media::mp4::SampleDescription, edash_packager::media::mp4::AudioSampleEntry, edash_packager::media::mp4::ElementaryStreamDescriptor, edash_packager::media::mp4::VideoSampleEntry, edash_packager::media::mp4::PixelAspectRatioBox, edash_packager::media::mp4::AVCDecoderConfigurationRecord, edash_packager::media::mp4::HandlerReference, edash_packager::media::mp4::Edit, edash_packager::media::mp4::EditList, edash_packager::media::mp4::TrackHeader, edash_packager::media::mp4::MovieHeader, edash_packager::media::mp4::ProtectionSchemeInfo, edash_packager::media::mp4::SchemeInfo, edash_packager::media::mp4::TrackEncryption, edash_packager::media::mp4::SchemeType, edash_packager::media::mp4::OriginalFormat, edash_packager::media::mp4::SampleAuxiliaryInformationSize, edash_packager::media::mp4::SampleAuxiliaryInformationOffset, edash_packager::media::mp4::ProtectionSystemSpecificHeader, edash_packager::media::mp4::SegmentType, and edash_packager::media::mp4::FileType.

+

Implemented in edash_packager::media::mp4::SegmentIndex, edash_packager::media::mp4::MovieFragment, edash_packager::media::mp4::TrackFragment, edash_packager::media::mp4::SampleGroupDescription, edash_packager::media::mp4::SampleToGroup, edash_packager::media::mp4::TrackFragmentRun, edash_packager::media::mp4::TrackFragmentHeader, edash_packager::media::mp4::MovieFragmentHeader, edash_packager::media::mp4::TrackFragmentDecodeTime, edash_packager::media::mp4::Movie, edash_packager::media::mp4::MovieExtends, edash_packager::media::mp4::TrackExtends, edash_packager::media::mp4::MovieExtendsHeader, edash_packager::media::mp4::Track, edash_packager::media::mp4::Media, edash_packager::media::mp4::MediaInformation, edash_packager::media::mp4::DataInformation, edash_packager::media::mp4::DataReference, edash_packager::media::mp4::DataEntryUrl, edash_packager::media::mp4::SoundMediaHeader, edash_packager::media::mp4::VideoMediaHeader, edash_packager::media::mp4::MediaHeader, edash_packager::media::mp4::SampleTable, edash_packager::media::mp4::SyncSample, edash_packager::media::mp4::ChunkOffset, edash_packager::media::mp4::ChunkLargeOffset, edash_packager::media::mp4::CompactSampleSize, edash_packager::media::mp4::SampleSize, edash_packager::media::mp4::SampleToChunk, edash_packager::media::mp4::CompositionTimeToSample, edash_packager::media::mp4::DecodingTimeToSample, edash_packager::media::mp4::SampleDescription, edash_packager::media::mp4::AudioSampleEntry, edash_packager::media::mp4::ElementaryStreamDescriptor, edash_packager::media::mp4::VideoSampleEntry, edash_packager::media::mp4::PixelAspectRatioBox, edash_packager::media::mp4::AVCDecoderConfigurationRecord, edash_packager::media::mp4::HandlerReference, edash_packager::media::mp4::Edit, edash_packager::media::mp4::EditList, edash_packager::media::mp4::TrackHeader, edash_packager::media::mp4::MovieHeader, edash_packager::media::mp4::ProtectionSchemeInfo, edash_packager::media::mp4::SchemeInfo, edash_packager::media::mp4::TrackEncryption, edash_packager::media::mp4::SchemeType, edash_packager::media::mp4::OriginalFormat, edash_packager::media::mp4::SampleAuxiliaryInformationSize, edash_packager::media::mp4::SampleAuxiliaryInformationOffset, edash_packager::media::mp4::ProtectionSystemSpecificHeader, edash_packager::media::mp4::SegmentType, and edash_packager::media::mp4::FileType.

@@ -268,7 +268,7 @@ class BoxBuffer diff --git a/docs/d7/d9d/progress__listener_8h_source.html b/docs/d7/d9d/progress__listener_8h_source.html index f91aeac1aa..d2f84a8613 100644 --- a/docs/d7/d9d/progress__listener_8h_source.html +++ b/docs/d7/d9d/progress__listener_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Event handler for progress updates.
8 
9 #ifndef MEDIA_EVENT_PROGRESS_LISTENER_H_
-
10 #define MEDIA_EVENT_PROGRESS_LISTENER_H_
-
11 
+
10 #define MEDIA_EVENT_PROGRESS_LISTENER_H_
+
11 
12 #include <stdint.h>
13 
14 #include "packager/base/macros.h"
@@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/da4/track__run__iterator_8h_source.html b/docs/d7/da4/track__run__iterator_8h_source.html index dc4486355f..81fe1daef9 100644 --- a/docs/d7/da4/track__run__iterator_8h_source.html +++ b/docs/d7/da4/track__run__iterator_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_
-
6 #define MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_
-
7 
+
6 #define MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_
+
7 
8 #include <vector>
9 
10 #include "packager/base/memory/scoped_ptr.h"
@@ -197,7 +197,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html b/docs/d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html index 988e840a6c..5ac3255de8 100644 --- a/docs/d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html +++ b/docs/d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::SampleSize: - - - - - - - + + + + + + + @@ -151,7 +151,7 @@ Additional Inherited Members

Definition at line 282 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -167,7 +167,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -186,7 +186,7 @@ Additional Inherited Members
diff --git a/docs/d7/db0/mpd__writer_8h_source.html b/docs/d7/db0/mpd__writer_8h_source.html index 4049945580..7af9d7eb47 100644 --- a/docs/d7/db0/mpd__writer_8h_source.html +++ b/docs/d7/db0/mpd__writer_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Class for reading in MediaInfo from files and writing out an MPD.
8 
9 #ifndef MPD_UTIL_MPD_WRITER_H_
-
10 #define MPD_UTIL_MPD_WRITER_H_
-
11 
+
10 #define MPD_UTIL_MPD_WRITER_H_
+
11 
12 #include <list>
13 #include <string>
14 #include <vector>
@@ -184,7 +184,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/db3/structedash__packager_1_1Element-members.html b/docs/d7/db3/structedash__packager_1_1Element-members.html index 098701659e..ecad1a8cd4 100644 --- a/docs/d7/db3/structedash__packager_1_1Element-members.html +++ b/docs/d7/db3/structedash__packager_1_1Element-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dc6/byte__queue_8h_source.html b/docs/d7/dc6/byte__queue_8h_source.html index 57b60bc4d5..f2fa7d4b7d 100644 --- a/docs/d7/dc6/byte__queue_8h_source.html +++ b/docs/d7/dc6/byte__queue_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_BASE_BYTE_QUEUE_H_
-
6 #define MEDIA_BASE_BYTE_QUEUE_H_
-
7 
+
6 #define MEDIA_BASE_BYTE_QUEUE_H_
+
7 
8 #include <stdint.h>
9 
10 #include "packager/base/memory/scoped_ptr.h"
@@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dd0/mpd__notifier__util_8h_source.html b/docs/d7/dd0/mpd__notifier__util_8h_source.html index aec3aa2755..a9a225d5db 100644 --- a/docs/d7/dd0/mpd__notifier__util_8h_source.html +++ b/docs/d7/dd0/mpd__notifier__util_8h_source.html @@ -95,8 +95,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
6 
9 
10 #ifndef MPD_BASE_MPD_NOTIFIER_UTIL_H_
-
11 #define MPD_BASE_MPD_NOTIFIER_UTIL_H_
-
12 
+
11 #define MPD_BASE_MPD_NOTIFIER_UTIL_H_
+
12 
13 #include <string>
14 #include <vector>
15 
@@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dd4/request__signer_8h_source.html b/docs/d7/dd4/request__signer_8h_source.html index 6fd9048f8c..42e2321c2a 100644 --- a/docs/d7/dd4/request__signer_8h_source.html +++ b/docs/d7/dd4/request__signer_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_REQUEST_SIGNER_H_
-
8 #define MEDIA_BASE_REQUEST_SIGNER_H_
-
9 
+
8 #define MEDIA_BASE_REQUEST_SIGNER_H_
+
9 
10 #include <string>
11 
12 #include "packager/base/memory/scoped_ptr.h"
@@ -126,14 +126,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
41 
44  public:
-
45  virtual ~AesRequestSigner();
+
45  ~AesRequestSigner() override;
46 
49  static AesRequestSigner* CreateSigner(const std::string& signer_name,
50  const std::string& aes_key_hex,
51  const std::string& iv_hex);
52 
-
54  virtual bool GenerateSignature(const std::string& message,
-
55  std::string* signature) OVERRIDE;
+
54  bool GenerateSignature(const std::string& message,
+
55  std::string* signature) override;
56 
57  private:
58  AesRequestSigner(const std::string& signer_name,
@@ -146,13 +146,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
65 
68  public:
-
69  virtual ~RsaRequestSigner();
+
69  ~RsaRequestSigner() override;
70 
73  static RsaRequestSigner* CreateSigner(const std::string& signer_name,
74  const std::string& pkcs1_rsa_key);
75 
-
77  virtual bool GenerateSignature(const std::string& message,
-
78  std::string* signature) OVERRIDE;
+
77  bool GenerateSignature(const std::string& message,
+
78  std::string* signature) override;
79 
80  private:
81  RsaRequestSigner(const std::string& signer_name,
@@ -167,18 +167,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
90 } // namespace edash_packager
91 
92 #endif // MEDIA_BASE_REQUEST_SIGNER_H_
-
virtual bool GenerateSignature(const std::string &message, std::string *signature) OVERRIDE
RequestSigner implementation override.
-
virtual bool GenerateSignature(const std::string &message, std::string *signature) OVERRIDE
RequestSigner implementation override.
+
bool GenerateSignature(const std::string &message, std::string *signature) override
RequestSigner implementation override.
static AesRequestSigner * CreateSigner(const std::string &signer_name, const std::string &aes_key_hex, const std::string &iv_hex)
virtual bool GenerateSignature(const std::string &message, std::string *signature)=0
AesRequestSigner uses AES-CBC signing.
+
bool GenerateSignature(const std::string &message, std::string *signature) override
RequestSigner implementation override.
static RsaRequestSigner * CreateSigner(const std::string &signer_name, const std::string &pkcs1_rsa_key)
RsaRequestSigner uses RSA-PSS signing.
Abstract class used for signature generation.
diff --git a/docs/d7/dd6/key__source_8cc_source.html b/docs/d7/dd6/key__source_8cc_source.html index 897e079e93..fbc15f6d61 100644 --- a/docs/d7/dd6/key__source_8cc_source.html +++ b/docs/d7/dd6/key__source_8cc_source.html @@ -296,7 +296,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/de3/structedash__packager_1_1xml_1_1XmlDeleter.html b/docs/d7/de3/structedash__packager_1_1xml_1_1XmlDeleter.html index 30e05f2ef8..feb92f586f 100644 --- a/docs/d7/de3/structedash__packager_1_1xml_1_1XmlDeleter.html +++ b/docs/d7/de3/structedash__packager_1_1xml_1_1XmlDeleter.html @@ -127,7 +127,7 @@ void operator() (xmlCh diff --git a/docs/d7/dec/h264__byte__to__unit__stream__converter_8h_source.html b/docs/d7/dec/h264__byte__to__unit__stream__converter_8h_source.html index c856ec01ed..1f17143f0b 100644 --- a/docs/d7/dec/h264__byte__to__unit__stream__converter_8h_source.html +++ b/docs/d7/dec/h264__byte__to__unit__stream__converter_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FILTERS_H264_BYTE_TO_UNIT_STREAM_CONVERTER_H_
-
8 #define MEDIA_FILTERS_H264_BYTE_TO_UNIT_STREAM_CONVERTER_H_
-
9 
+
8 #define MEDIA_FILTERS_H264_BYTE_TO_UNIT_STREAM_CONVERTER_H_
+
9 
10 #include <stddef.h>
11 #include <stdint.h>
12 
@@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html b/docs/d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html index 7054a5262e..82e1b064e4 100644 --- a/docs/d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html +++ b/docs/d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::MediaHeader: - - - - - - - + + + + + + + @@ -157,7 +157,7 @@ Additional Inherited Members

Definition at line 332 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -173,7 +173,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -192,7 +192,7 @@ Additional Inherited Members
diff --git a/docs/d7/dee/mpd__generator_8cc_source.html b/docs/d7/dee/mpd__generator_8cc_source.html index 3eb31c53af..addcc84044 100644 --- a/docs/d7/dee/mpd__generator_8cc_source.html +++ b/docs/d7/dee/mpd__generator_8cc_source.html @@ -188,7 +188,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/def/mp4__media__parser_8cc_source.html b/docs/d7/def/mp4__media__parser_8cc_source.html index 44da144d14..d01eb7427a 100644 --- a/docs/d7/def/mp4__media__parser_8cc_source.html +++ b/docs/d7/def/mp4__media__parser_8cc_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
51  STLDeleteValues(&decryptor_map_);
52 }
53 
-
54 void MP4MediaParser::Init(const InitCB& init_cb,
+
54 void MP4MediaParser::Init(const InitCB& init_cb,
55  const NewSampleCB& new_sample_cb,
56  KeySource* decryption_key_source) {
57  DCHECK_EQ(state_, kWaitingForInit);
@@ -161,13 +161,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
72  mdat_tail_ = 0;
73 }
74 
- +
76  DCHECK_NE(state_, kWaitingForInit);
77  Reset();
78  ChangeState(kParsingBoxes);
79 }
80 
-
81 bool MP4MediaParser::Parse(const uint8_t* buf, int size) {
+
81 bool MP4MediaParser::Parse(const uint8_t* buf, int size) {
82  DCHECK_NE(state_, kWaitingForInit);
83 
84  if (state_ == kError)
@@ -245,7 +245,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
156  break;
157  }
158  // 'mdat' before 'moov'. Read and parse 'moov'.
-
159  if (!Parse(&buffer[0], bytes_read)) {
+
159  if (!Parse(&buffer[0], bytes_read)) {
160  LOG(ERROR) << "Error parsing mp4 file '" << file_path << "'";
161  return false;
162  }
@@ -258,7 +258,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
169  << "'";
170  return false;
171  }
-
172  if (!Parse(&buffer[0], bytes_read)) {
+
172  if (!Parse(&buffer[0], bytes_read)) {
173  LOG(ERROR) << "Error parsing mp4 file '" << file_path << "'";
174  return false;
175  }
@@ -757,24 +757,24 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
668 } // namespace edash_packager
static BoxReader * ReadTopLevelBox(const uint8_t *buf, const size_t buf_size, bool *err)
Definition: box_reader.cc:37
-
virtual Status GetKey(TrackType track_type, EncryptionKey *key)
Definition: key_source.cc:46
+
bool Parse(const uint8_t *buf, int size) override
static scoped_refptr< MediaSample > CopyFrom(const uint8_t *data, size_t size, bool is_key_frame)
Definition: media_sample.cc:47
void PeekAt(int64_t offset, const uint8_t **buf, int *size)
-
virtual bool Parse(const uint8_t *buf, int size) OVERRIDE
+
bool LoadMoov(const std::string &file_path)
virtual Status FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy)
Definition: key_source.cc:30
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:29
static bool StartTopLevelBox(const uint8_t *buf, const size_t buf_size, FourCC *type, uint64_t *box_size, bool *err) WARN_UNUSED_RESULT
Definition: box_reader.cc:60
+
void Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) override
static std::string GetCodecString(VideoCodec codec, uint8_t profile, uint8_t compatible_profiles, uint8_t level)
-
virtual void Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) OVERRIDE
static File * OpenWithNoBuffering(const char *file_name, const char *mode)
Definition: file.cc:127
static std::string GetCodecString(AudioCodec codec, uint8_t audio_object_type)
diff --git a/docs/d7/df1/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex-members.html b/docs/d7/df1/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex-members.html index bc051e5b5d..aeb4d651ae 100644 --- a/docs/d7/df1/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex-members.html +++ b/docs/d7/df1/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex-members.html @@ -95,14 +95,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + @@ -110,12 +110,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SegmentIndex)edash_packager::media::mp4::SegmentIndexvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::SegmentIndexvirtual
BoxType() const override (defined in edash_packager::media::mp4::SegmentIndex)edash_packager::media::mp4::SegmentIndexvirtual
ComputeSize() overrideedash_packager::media::mp4::SegmentIndexvirtual
earliest_presentation_time (defined in edash_packager::media::mp4::SegmentIndex)edash_packager::media::mp4::SegmentIndex
first_offset (defined in edash_packager::media::mp4::SegmentIndex)edash_packager::media::mp4::SegmentIndex
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SegmentIndexvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SegmentIndexvirtual
reference_id (defined in edash_packager::media::mp4::SegmentIndex)edash_packager::media::mp4::SegmentIndex
references (defined in edash_packager::media::mp4::SegmentIndex)edash_packager::media::mp4::SegmentIndex
SegmentIndex() (defined in edash_packager::media::mp4::SegmentIndex)edash_packager::media::mp4::SegmentIndex
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~SegmentIndex() (defined in edash_packager::media::mp4::SegmentIndex)edash_packager::media::mp4::SegmentIndexvirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~SegmentIndex() override (defined in edash_packager::media::mp4::SegmentIndex)edash_packager::media::mp4::SegmentIndex
diff --git a/docs/d7/df3/classedash__packager_1_1media_1_1File-members.html b/docs/d7/df3/classedash__packager_1_1media_1_1File-members.html index 9c0c0e88f9..dd25861f2b 100644 --- a/docs/d7/df3/classedash__packager_1_1media_1_1File-members.html +++ b/docs/d7/df3/classedash__packager_1_1media_1_1File-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/df9/byte__queue_8cc_source.html b/docs/d7/df9/byte__queue_8cc_source.html index 9bf16f4e34..78abac08bd 100644 --- a/docs/d7/df9/byte__queue_8cc_source.html +++ b/docs/d7/df9/byte__queue_8cc_source.html @@ -182,7 +182,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html b/docs/d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html index 9f25e356ed..b83ebdb5f1 100644 --- a/docs/d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html +++ b/docs/d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html @@ -108,12 +108,12 @@ Public Member Functions bool LoadMoov (const std::string &file_path)  
MediaParser implementation overrides.
-virtual void Init (const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) OVERRIDE -  -virtual void Flush () OVERRIDE -  -virtual bool Parse (const uint8_t *buf, int size) OVERRIDE -  +void Init (const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) override +  +void Flush () override +  +bool Parse (const uint8_t *buf, int size) override +  @@ -131,7 +131,7 @@ track_id, const scoped_refptr

Definition at line 36 of file mp4_media_parser.h.

Member Function Documentation

- +

Additional Inherited Members

@@ -147,7 +147,7 @@ track_id, const scoped_refptr
-virtual +overridevirtual
@@ -159,7 +159,7 @@ track_id, const scoped_refptr
- +
@@ -192,11 +192,11 @@ track_id, const scoped_refptr
-virtual +overridevirtual
-

Initialize the parser with necessary callbacks. Must be called before any data is passed to Parse().

+

Initialize the parser with necessary callbacks. Must be called before any data is passed to Parse().

Parameters
@@ -237,7 +237,7 @@ track_id, const scoped_refptr
- +
init_cbwill be called once enough data has been parsed to determine the initial stream configurations.
@@ -264,7 +264,7 @@ track_id, const scoped_refptr
-virtual +overridevirtual
@@ -284,7 +284,7 @@ track_id, const scoped_refptr
diff --git a/docs/d8/d0d/media__sample_8cc_source.html b/docs/d8/d0d/media__sample_8cc_source.html index 31c2ea438f..2c343aa732 100644 --- a/docs/d8/d0d/media__sample_8cc_source.html +++ b/docs/d8/d0d/media__sample_8cc_source.html @@ -189,7 +189,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d8/d19/bandwidth__estimator_8h_source.html b/docs/d8/d19/bandwidth__estimator_8h_source.html index 113f64a632..44ef986642 100644 --- a/docs/d8/d19/bandwidth__estimator_8h_source.html +++ b/docs/d8/d19/bandwidth__estimator_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MPD_BASE_BANDWIDTH_ESTIMATOR_H_
-
8 #define MPD_BASE_BANDWIDTH_ESTIMATOR_H_
-
9 
+
8 #define MPD_BASE_BANDWIDTH_ESTIMATOR_H_
+
9 
10 #include <stddef.h>
11 #include <stdint.h>
12 
@@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html b/docs/d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html index b894e0d31f..9d6978ef41 100644 --- a/docs/d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html +++ b/docs/d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html @@ -115,14 +115,14 @@ Public Member Functions  EncryptingFragmenter (TrackFragment *traf, scoped_ptr< EncryptionKey > encryption_key, int64_t clear_time, uint8_t nalu_length_size)  
Fragmenter implementation overrides.
-virtual Status AddSample (scoped_refptr< MediaSample > sample) OVERRIDE -  -virtual Status InitializeFragment (int64_t first_sample_dts) OVERRIDE -  - -virtual void FinalizeFragment () OVERRIDE - Finalize and optimize the fragment.
-  +Status AddSample (scoped_refptr< MediaSample > sample) override +  +Status InitializeFragment (int64_t first_sample_dts) override +  + +void FinalizeFragment () override + Finalize and optimize the fragment.
- Public Member Functions inherited from edash_packager::media::mp4::Fragmenter  Fragmenter (TrackFragment *traf)   @@ -234,7 +234,7 @@ void set_encryption_key

Member Function Documentation

- +
@@ -251,7 +251,7 @@ void  +overridevirtual
set_encryption_key -virtual
@@ -297,7 +297,7 @@ void set_encryption_key
- +
@@ -314,7 +314,7 @@ void  +overridevirtual
set_encryption_key -virtual
@@ -357,7 +357,7 @@ void set_encryption_keyPrepare current fragment for encryption.

Returns
OK on success, an error status otherwise.
-

Reimplemented in edash_packager::media::mp4::KeyRotationFragmenter.

+

Reimplemented in edash_packager::media::mp4::KeyRotationFragmenter.

Definition at line 87 of file encrypting_fragmenter.cc.

@@ -370,7 +370,7 @@ void set_encryption_key diff --git a/docs/d8/d21/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo.html b/docs/d8/d21/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo.html index 2eee6b4b1a..6132eabfb9 100644 --- a/docs/d8/d21/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo.html +++ b/docs/d8/d21/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo.html @@ -115,7 +115,7 @@ uint32_t sample_descriptio
diff --git a/docs/d8/d22/classedash__packager_1_1media_1_1HttpKeyFetcher-members.html b/docs/d8/d22/classedash__packager_1_1media_1_1HttpKeyFetcher-members.html index 1385a2803b..dbe6bc3918 100644 --- a/docs/d8/d22/classedash__packager_1_1media_1_1HttpKeyFetcher-members.html +++ b/docs/d8/d22/classedash__packager_1_1media_1_1HttpKeyFetcher-members.html @@ -93,18 +93,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::HttpKeyFetcher, including all inherited members.

- + - +
FetchKeys(const std::string &url, const std::string &request, std::string *response) OVERRIDEedash_packager::media::HttpKeyFetchervirtual
FetchKeys(const std::string &url, const std::string &request, std::string *response) overrideedash_packager::media::HttpKeyFetchervirtual
Get(const std::string &url, std::string *response)edash_packager::media::HttpKeyFetchervirtual
HttpKeyFetcher()edash_packager::media::HttpKeyFetcher
HttpKeyFetcher(uint32_t timeout_in_seconds)edash_packager::media::HttpKeyFetcher
KeyFetcher() (defined in edash_packager::media::KeyFetcher)edash_packager::media::KeyFetcher
Post(const std::string &url, const std::string &data, std::string *response)edash_packager::media::HttpKeyFetchervirtual
~HttpKeyFetcher() (defined in edash_packager::media::HttpKeyFetcher)edash_packager::media::HttpKeyFetchervirtual
~HttpKeyFetcher() override (defined in edash_packager::media::HttpKeyFetcher)edash_packager::media::HttpKeyFetcher
~KeyFetcher() (defined in edash_packager::media::KeyFetcher)edash_packager::media::KeyFetchervirtual
diff --git a/docs/d8/d25/classedash__packager_1_1media_1_1ProducerConsumerQueue-members.html b/docs/d8/d25/classedash__packager_1_1media_1_1ProducerConsumerQueue-members.html index b228fcc2fc..3b1b6628ea 100644 --- a/docs/d8/d25/classedash__packager_1_1media_1_1ProducerConsumerQueue-members.html +++ b/docs/d8/d25/classedash__packager_1_1media_1_1ProducerConsumerQueue-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d8/d26/structedash__packager_1_1media_1_1mp4_1_1SegmentType-members.html b/docs/d8/d26/structedash__packager_1_1media_1_1mp4_1_1SegmentType-members.html index 0192a6893e..18b1e8457f 100644 --- a/docs/d8/d26/structedash__packager_1_1media_1_1mp4_1_1SegmentType-members.html +++ b/docs/d8/d26/structedash__packager_1_1media_1_1mp4_1_1SegmentType-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SegmentType)edash_packager::media::mp4::SegmentTypevirtual
BoxType() const override (defined in edash_packager::media::mp4::SegmentType)edash_packager::media::mp4::SegmentTypevirtual
compatible_brands (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileType
ComputeSize() OVERRIDEedash_packager::media::mp4::SegmentTypevirtual
ComputeSize() overrideedash_packager::media::mp4::SegmentTypevirtual
FileType() (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileType
major_brand (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileType
minor_version (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileType
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SegmentTypevirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SegmentTypevirtual
SegmentType() (defined in edash_packager::media::mp4::SegmentType)edash_packager::media::mp4::SegmentType
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FileType() (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileTypevirtual
~SegmentType() (defined in edash_packager::media::mp4::SegmentType)edash_packager::media::mp4::SegmentTypevirtual
~FileType() override (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileType
~SegmentType() override (defined in edash_packager::media::mp4::SegmentType)edash_packager::media::mp4::SegmentType
diff --git a/docs/d8/d2e/classedash__packager_1_1media_1_1ByteQueue.html b/docs/d8/d2e/classedash__packager_1_1media_1_1ByteQueue.html index 310631ede1..1df19701c6 100644 --- a/docs/d8/d2e/classedash__packager_1_1media_1_1ByteQueue.html +++ b/docs/d8/d2e/classedash__packager_1_1media_1_1ByteQueue.html @@ -177,7 +177,7 @@ void  diff --git a/docs/d8/d32/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize-members.html b/docs/d8/d32/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize-members.html index 3901a84bd5..628acfbcac 100644 --- a/docs/d8/d32/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize-members.html +++ b/docs/d8/d32/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize-members.html @@ -95,24 +95,24 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::CompactSampleSize)edash_packager::media::mp4::CompactSampleSizevirtual
BoxType() const override (defined in edash_packager::media::mp4::CompactSampleSize)edash_packager::media::mp4::CompactSampleSizevirtual
CompactSampleSize() (defined in edash_packager::media::mp4::CompactSampleSize)edash_packager::media::mp4::CompactSampleSize
ComputeSize() OVERRIDEedash_packager::media::mp4::CompactSampleSizevirtual
ComputeSize() overrideedash_packager::media::mp4::CompactSampleSizevirtual
field_size (defined in edash_packager::media::mp4::CompactSampleSize)edash_packager::media::mp4::CompactSampleSize
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::CompactSampleSizevirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::CompactSampleSizevirtual
sizes (defined in edash_packager::media::mp4::CompactSampleSize)edash_packager::media::mp4::CompactSampleSize
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~CompactSampleSize() (defined in edash_packager::media::mp4::CompactSampleSize)edash_packager::media::mp4::CompactSampleSizevirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~CompactSampleSize() override (defined in edash_packager::media::mp4::CompactSampleSize)edash_packager::media::mp4::CompactSampleSize
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
diff --git a/docs/d8/d33/webm__content__encodings__client_8h_source.html b/docs/d8/d33/webm__content__encodings__client_8h_source.html new file mode 100644 index 0000000000..7834f8c9ca --- /dev/null +++ b/docs/d8/d33/webm__content__encodings__client_8h_source.html @@ -0,0 +1,149 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_content_encodings_client.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_content_encodings_client.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_WEBM_CONTENT_ENCODINGS_CLIENT_H_
+
6 #define MEDIA_FORMATS_WEBM_WEBM_CONTENT_ENCODINGS_CLIENT_H_
+
7 
+
8 #include <vector>
+
9 
+
10 #include "packager/base/callback.h"
+
11 #include "packager/base/compiler_specific.h"
+
12 #include "packager/base/memory/scoped_ptr.h"
+
13 #include "packager/media/formats/webm/webm_content_encodings.h"
+
14 #include "packager/media/formats/webm/webm_parser.h"
+
15 
+
16 namespace edash_packager {
+
17 namespace media {
+
18 
+
19 typedef std::vector<ContentEncoding*> ContentEncodings;
+
20 
+
21 // Parser for WebM ContentEncodings element.
+ +
23  public:
+ +
25  ~WebMContentEncodingsClient() override;
+
26 
+
27  const ContentEncodings& content_encodings() const;
+
28 
+
29  // WebMParserClient methods
+
30  WebMParserClient* OnListStart(int id) override;
+
31  bool OnListEnd(int id) override;
+
32  bool OnUInt(int id, int64_t val) override;
+
33  bool OnBinary(int id, const uint8_t* data, int size) override;
+
34 
+
35  private:
+
36  scoped_ptr<ContentEncoding> cur_content_encoding_;
+
37  bool content_encryption_encountered_;
+
38  ContentEncodings content_encodings_;
+
39 
+
40  // |content_encodings_| is ready. For debugging purpose.
+
41  bool content_encodings_ready_;
+
42 
+
43  DISALLOW_COPY_AND_ASSIGN(WebMContentEncodingsClient);
+
44 };
+
45 
+
46 } // namespace media
+
47 } // namespace edash_packager
+
48 
+
49 #endif // MEDIA_FORMATS_WEBM_WEBM_CONTENT_ENCODINGS_CLIENT_H_
+ + +
+ + + + diff --git a/docs/d8/d34/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html b/docs/d8/d34/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html index 5c4b53cf8c..0f8e05b62d 100644 --- a/docs/d8/d34/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html +++ b/docs/d8/d34/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html @@ -96,23 +96,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); aac_audio_specific_config (defined in edash_packager::media::mp4::ElementaryStreamDescriptor)edash_packager::media::mp4::ElementaryStreamDescriptor atom_sizeedash_packager::media::mp4::Boxprotected Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box - BoxType() const OVERRIDE (defined in edash_packager::media::mp4::ElementaryStreamDescriptor)edash_packager::media::mp4::ElementaryStreamDescriptorvirtual - ComputeSize() OVERRIDEedash_packager::media::mp4::ElementaryStreamDescriptorvirtual + BoxType() const override (defined in edash_packager::media::mp4::ElementaryStreamDescriptor)edash_packager::media::mp4::ElementaryStreamDescriptorvirtual + ComputeSize() overrideedash_packager::media::mp4::ElementaryStreamDescriptorvirtual ElementaryStreamDescriptor() (defined in edash_packager::media::mp4::ElementaryStreamDescriptor)edash_packager::media::mp4::ElementaryStreamDescriptor es_descriptor (defined in edash_packager::media::mp4::ElementaryStreamDescriptor)edash_packager::media::mp4::ElementaryStreamDescriptor flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox Parse(BoxReader *reader)edash_packager::media::mp4::Box - ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::ElementaryStreamDescriptorvirtual + ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::ElementaryStreamDescriptorvirtual version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox Write(BufferWriter *writer)edash_packager::media::mp4::Box ~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual - ~ElementaryStreamDescriptor() (defined in edash_packager::media::mp4::ElementaryStreamDescriptor)edash_packager::media::mp4::ElementaryStreamDescriptorvirtual - ~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual + ~ElementaryStreamDescriptor() override (defined in edash_packager::media::mp4::ElementaryStreamDescriptor)edash_packager::media::mp4::ElementaryStreamDescriptor + ~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox diff --git a/docs/d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html b/docs/d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html index d2dcbb44d9..77ef3502bb 100644 --- a/docs/d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html +++ b/docs/d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::EditList: - - - - - - - + + + + + + + @@ -145,7 +145,7 @@ Additional Inherited Members

Definition at line 150 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -161,7 +161,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -180,7 +180,7 @@ Additional Inherited Members
diff --git a/docs/d8/d6a/classedash__packager_1_1media_1_1AudioStreamInfo-members.html b/docs/d8/d6a/classedash__packager_1_1media_1_1AudioStreamInfo-members.html index 6ba6f12f52..5334fa206a 100644 --- a/docs/d8/d6a/classedash__packager_1_1media_1_1AudioStreamInfo-members.html +++ b/docs/d8/d6a/classedash__packager_1_1media_1_1AudioStreamInfo-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); extra_data() const (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfoinline GetCodecString(AudioCodec codec, uint8_t audio_object_type)edash_packager::media::AudioStreamInfostatic is_encrypted() const (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfoinline - IsValidConfig() const OVERRIDEedash_packager::media::AudioStreamInfovirtual + IsValidConfig() const overrideedash_packager::media::AudioStreamInfovirtual language() const (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfoinline num_channels() const (defined in edash_packager::media::AudioStreamInfo)edash_packager::media::AudioStreamInfoinline sample_bits() const (defined in edash_packager::media::AudioStreamInfo)edash_packager::media::AudioStreamInfoinline @@ -115,13 +115,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); stream_type() const (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfoinline StreamInfo(StreamType stream_type, int track_id, uint32_t time_scale, uint64_t duration, const std::string &codec_string, const std::string &language, const uint8_t *extra_data, size_t extra_data_size, bool is_encrypted) (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfo time_scale() const (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfoinline - ToString() const OVERRIDEedash_packager::media::AudioStreamInfovirtual + ToString() const overrideedash_packager::media::AudioStreamInfovirtual track_id() const (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfoinline ~StreamInfo() (defined in edash_packager::media::StreamInfo)edash_packager::media::StreamInfoprotectedvirtual diff --git a/docs/d8/d6c/classedash__packager_1_1media_1_1MediaSample.html b/docs/d8/d6c/classedash__packager_1_1media_1_1MediaSample.html index dbe0536be2..67691811c7 100644 --- a/docs/d8/d6c/classedash__packager_1_1media_1_1MediaSample.html +++ b/docs/d8/d6c/classedash__packager_1_1media_1_1MediaSample.html @@ -356,7 +356,7 @@ class base::RefCountedThre diff --git a/docs/d8/d6f/classedash__packager_1_1MockAdaptationSet-members.html b/docs/d8/d6f/classedash__packager_1_1MockAdaptationSet-members.html index 373510ed91..58bf2aca0b 100644 --- a/docs/d8/d6f/classedash__packager_1_1MockAdaptationSet-members.html +++ b/docs/d8/d6f/classedash__packager_1_1MockAdaptationSet-members.html @@ -121,11 +121,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); SetGroup(int group_number)edash_packager::AdaptationSetvirtual UpdateContentProtectionPssh(const std::string &drm_uuid, const std::string &pssh)edash_packager::AdaptationSetvirtual ~AdaptationSet() (defined in edash_packager::AdaptationSet)edash_packager::AdaptationSetvirtual - ~MockAdaptationSet() OVERRIDE (defined in edash_packager::MockAdaptationSet)edash_packager::MockAdaptationSetvirtual + ~MockAdaptationSet() override (defined in edash_packager::MockAdaptationSet)edash_packager::MockAdaptationSet diff --git a/docs/d8/d6f/structedash__packager_1_1media_1_1mp4_1_1TrackFragment-members.html b/docs/d8/d6f/structedash__packager_1_1media_1_1mp4_1_1TrackFragment-members.html index ea35373676..215c60392e 100644 --- a/docs/d8/d6f/structedash__packager_1_1media_1_1mp4_1_1TrackFragment-members.html +++ b/docs/d8/d6f/structedash__packager_1_1media_1_1mp4_1_1TrackFragment-members.html @@ -97,24 +97,24 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); auxiliary_offset (defined in edash_packager::media::mp4::TrackFragment)edash_packager::media::mp4::TrackFragment auxiliary_size (defined in edash_packager::media::mp4::TrackFragment)edash_packager::media::mp4::TrackFragment Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box - BoxType() const OVERRIDE (defined in edash_packager::media::mp4::TrackFragment)edash_packager::media::mp4::TrackFragmentvirtual - ComputeSize() OVERRIDEedash_packager::media::mp4::TrackFragmentvirtual + BoxType() const override (defined in edash_packager::media::mp4::TrackFragment)edash_packager::media::mp4::TrackFragmentvirtual + ComputeSize() overrideedash_packager::media::mp4::TrackFragmentvirtual decode_time (defined in edash_packager::media::mp4::TrackFragment)edash_packager::media::mp4::TrackFragment decode_time_absent (defined in edash_packager::media::mp4::TrackFragment)edash_packager::media::mp4::TrackFragment header (defined in edash_packager::media::mp4::TrackFragment)edash_packager::media::mp4::TrackFragment Parse(BoxReader *reader)edash_packager::media::mp4::Box - ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::TrackFragmentvirtual + ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::TrackFragmentvirtual runs (defined in edash_packager::media::mp4::TrackFragment)edash_packager::media::mp4::TrackFragment sample_group_description (defined in edash_packager::media::mp4::TrackFragment)edash_packager::media::mp4::TrackFragment sample_to_group (defined in edash_packager::media::mp4::TrackFragment)edash_packager::media::mp4::TrackFragment TrackFragment() (defined in edash_packager::media::mp4::TrackFragment)edash_packager::media::mp4::TrackFragment Write(BufferWriter *writer)edash_packager::media::mp4::Box ~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual - ~TrackFragment() (defined in edash_packager::media::mp4::TrackFragment)edash_packager::media::mp4::TrackFragmentvirtual + ~TrackFragment() override (defined in edash_packager::media::mp4::TrackFragment)edash_packager::media::mp4::TrackFragment diff --git a/docs/d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html b/docs/d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html index 4a58311684..d60e859915 100644 --- a/docs/d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html +++ b/docs/d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html @@ -320,7 +320,7 @@ Public Member Functions diff --git a/docs/d8/d74/classedash__packager_1_1Representation-members.html b/docs/d8/d74/classedash__packager_1_1Representation-members.html index 692f106610..8f3d1c2965 100644 --- a/docs/d8/d74/classedash__packager_1_1Representation-members.html +++ b/docs/d8/d74/classedash__packager_1_1Representation-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d75/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html b/docs/d8/d75/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html index c36d10a1dd..4947149868 100644 --- a/docs/d8/d75/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html +++ b/docs/d8/d75/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html @@ -95,21 +95,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::ProtectionSchemeInfo)edash_packager::media::mp4::ProtectionSchemeInfovirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::ProtectionSchemeInfovirtual
BoxType() const override (defined in edash_packager::media::mp4::ProtectionSchemeInfo)edash_packager::media::mp4::ProtectionSchemeInfovirtual
ComputeSize() overrideedash_packager::media::mp4::ProtectionSchemeInfovirtual
format (defined in edash_packager::media::mp4::ProtectionSchemeInfo)edash_packager::media::mp4::ProtectionSchemeInfo
info (defined in edash_packager::media::mp4::ProtectionSchemeInfo)edash_packager::media::mp4::ProtectionSchemeInfo
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ProtectionSchemeInfo() (defined in edash_packager::media::mp4::ProtectionSchemeInfo)edash_packager::media::mp4::ProtectionSchemeInfo
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::ProtectionSchemeInfovirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::ProtectionSchemeInfovirtual
type (defined in edash_packager::media::mp4::ProtectionSchemeInfo)edash_packager::media::mp4::ProtectionSchemeInfo
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~ProtectionSchemeInfo() (defined in edash_packager::media::mp4::ProtectionSchemeInfo)edash_packager::media::mp4::ProtectionSchemeInfovirtual
~ProtectionSchemeInfo() override (defined in edash_packager::media::mp4::ProtectionSchemeInfo)edash_packager::media::mp4::ProtectionSchemeInfo
diff --git a/docs/d8/d78/classedash__packager_1_1MockAdaptationSet.html b/docs/d8/d78/classedash__packager_1_1MockAdaptationSet.html index 38d9cf3131..00ddf233d5 100644 --- a/docs/d8/d78/classedash__packager_1_1MockAdaptationSet.html +++ b/docs/d8/d78/classedash__packager_1_1MockAdaptationSet.html @@ -154,7 +154,7 @@ uint32_t id () const <

Additional Inherited Members

- Public Types inherited from edash_packager::AdaptationSet -enum  Role {
+enum  Role {
  kRoleCaption, kRoleSubtitle, kRoleMain, @@ -180,7 +180,7 @@ Additional Inherited Members diff --git a/docs/d8/d78/classedash__packager_1_1media_1_1WebMContentEncodingsClient.html b/docs/d8/d78/classedash__packager_1_1media_1_1WebMContentEncodingsClient.html new file mode 100644 index 0000000000..abda1dd3d1 --- /dev/null +++ b/docs/d8/d78/classedash__packager_1_1media_1_1WebMContentEncodingsClient.html @@ -0,0 +1,153 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::WebMContentEncodingsClient Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::WebMContentEncodingsClient Class Reference
+
+
+
+Inheritance diagram for edash_packager::media::WebMContentEncodingsClient:
+
+
+ + +edash_packager::media::WebMParserClient + +
+ + + + + + + + + + + + + + + + + +

+Public Member Functions

+const ContentEncodings & content_encodings () const
 
+WebMParserClientOnListStart (int id) override
 
+bool OnListEnd (int id) override
 
+bool OnUInt (int id, int64_t val) override
 
+bool OnBinary (int id, const uint8_t *data, int size) override
 
- Public Member Functions inherited from edash_packager::media::WebMParserClient
+virtual bool OnFloat (int id, double val)
 
+virtual bool OnString (int id, const std::string &str)
 
+ + + + +

+Additional Inherited Members

- Protected Member Functions inherited from edash_packager::media::WebMParserClient
DISALLOW_COPY_AND_ASSIGN (WebMParserClient)
 
+

Detailed Description

+
+

Definition at line 22 of file webm_content_encodings_client.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/d8/d78/classedash__packager_1_1media_1_1WebMContentEncodingsClient.png b/docs/d8/d78/classedash__packager_1_1media_1_1WebMContentEncodingsClient.png new file mode 100644 index 0000000000..a59db5e628 Binary files /dev/null and b/docs/d8/d78/classedash__packager_1_1media_1_1WebMContentEncodingsClient.png differ diff --git a/docs/d8/d82/classedash__packager_1_1media_1_1MpdNotifyMuxerListener-members.html b/docs/d8/d82/classedash__packager_1_1media_1_1MpdNotifyMuxerListener-members.html index 143401d6ee..5fbeac1c25 100644 --- a/docs/d8/d82/classedash__packager_1_1media_1_1MpdNotifyMuxerListener-members.html +++ b/docs/d8/d82/classedash__packager_1_1media_1_1MpdNotifyMuxerListener-members.html @@ -100,18 +100,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); kContainerWebM enum value (defined in edash_packager::media::MuxerListener)edash_packager::media::MuxerListener MpdNotifyMuxerListener(MpdNotifier *mpd_notifier)edash_packager::media::MpdNotifyMuxerListenerexplicit MuxerListener() (defined in edash_packager::media::MuxerListener)edash_packager::media::MuxerListenerinlineprotected - OnEncryptionInfoReady(bool is_initial_encryption_info, const std::string &content_protection_uuid, const std::string &content_protection_name_version, const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &pssh) OVERRIDE (defined in edash_packager::media::MpdNotifyMuxerListener)edash_packager::media::MpdNotifyMuxerListenervirtual - OnMediaEnd(bool has_init_range, uint64_t init_range_start, uint64_t init_range_end, bool has_index_range, uint64_t index_range_start, uint64_t index_range_end, float duration_seconds, uint64_t file_size) OVERRIDE (defined in edash_packager::media::MpdNotifyMuxerListener)edash_packager::media::MpdNotifyMuxerListenervirtual - OnMediaStart(const MuxerOptions &muxer_options, const StreamInfo &stream_info, uint32_t time_scale, ContainerType container_type) OVERRIDE (defined in edash_packager::media::MpdNotifyMuxerListener)edash_packager::media::MpdNotifyMuxerListenervirtual - OnNewSegment(uint64_t start_time, uint64_t duration, uint64_t segment_file_size) OVERRIDE (defined in edash_packager::media::MpdNotifyMuxerListener)edash_packager::media::MpdNotifyMuxerListenervirtual - OnSampleDurationReady(uint32_t sample_duration) OVERRIDEedash_packager::media::MpdNotifyMuxerListenervirtual + OnEncryptionInfoReady(bool is_initial_encryption_info, const std::string &content_protection_uuid, const std::string &content_protection_name_version, const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &pssh) override (defined in edash_packager::media::MpdNotifyMuxerListener)edash_packager::media::MpdNotifyMuxerListenervirtual + OnMediaEnd(bool has_init_range, uint64_t init_range_start, uint64_t init_range_end, bool has_index_range, uint64_t index_range_start, uint64_t index_range_end, float duration_seconds, uint64_t file_size) override (defined in edash_packager::media::MpdNotifyMuxerListener)edash_packager::media::MpdNotifyMuxerListenervirtual + OnMediaStart(const MuxerOptions &muxer_options, const StreamInfo &stream_info, uint32_t time_scale, ContainerType container_type) override (defined in edash_packager::media::MpdNotifyMuxerListener)edash_packager::media::MpdNotifyMuxerListenervirtual + OnNewSegment(uint64_t start_time, uint64_t duration, uint64_t segment_file_size) override (defined in edash_packager::media::MpdNotifyMuxerListener)edash_packager::media::MpdNotifyMuxerListenervirtual + OnSampleDurationReady(uint32_t sample_duration) overrideedash_packager::media::MpdNotifyMuxerListenervirtual SetContentProtectionSchemeIdUri(const std::string &scheme_id_uri)edash_packager::media::MpdNotifyMuxerListener - ~MpdNotifyMuxerListener() (defined in edash_packager::media::MpdNotifyMuxerListener)edash_packager::media::MpdNotifyMuxerListenervirtual + ~MpdNotifyMuxerListener() override (defined in edash_packager::media::MpdNotifyMuxerListener)edash_packager::media::MpdNotifyMuxerListener ~MuxerListener() (defined in edash_packager::media::MuxerListener)edash_packager::media::MuxerListenerinlinevirtual diff --git a/docs/d8/d8e/classedash__packager_1_1media_1_1mp2t_1_1TsSection.html b/docs/d8/d8e/classedash__packager_1_1media_1_1mp2t_1_1TsSection.html index 9ec25200f4..f081e60a75 100644 --- a/docs/d8/d8e/classedash__packager_1_1media_1_1mp2t_1_1TsSection.html +++ b/docs/d8/d8e/classedash__packager_1_1media_1_1mp2t_1_1TsSection.html @@ -109,7 +109,7 @@ Inheritance diagram for edash_packager::media::mp2t::TsSection: -

Public Types

enum  SpecialPid {
+
enum  SpecialPid {
  kPidPat = 0x0, kPidCat = 0x1, kPidTsdt = 0x2, @@ -141,7 +141,7 @@ virtual void 
Reset ()= diff --git a/docs/d8/d94/adts__constants_8cc_source.html b/docs/d8/d94/adts__constants_8cc_source.html index d87db2b009..830e4129ac 100644 --- a/docs/d8/d94/adts__constants_8cc_source.html +++ b/docs/d8/d94/adts__constants_8cc_source.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d97/structedash__packager_1_1ContentProtectionElement-members.html b/docs/d8/d97/structedash__packager_1_1ContentProtectionElement-members.html index 93e857fa2b..23631d7fea 100644 --- a/docs/d8/d97/structedash__packager_1_1ContentProtectionElement-members.html +++ b/docs/d8/d97/structedash__packager_1_1ContentProtectionElement-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d8/d9a/fragmenter_8cc_source.html b/docs/d8/d9a/fragmenter_8cc_source.html index df8291a441..df7f29459e 100644 --- a/docs/d8/d9a/fragmenter_8cc_source.html +++ b/docs/d8/d9a/fragmenter_8cc_source.html @@ -249,7 +249,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d9c/webm__tracks__parser_8cc_source.html b/docs/d8/d9c/webm__tracks__parser_8cc_source.html new file mode 100644 index 0000000000..30881bd6c3 --- /dev/null +++ b/docs/d8/d9c/webm__tracks__parser_8cc_source.html @@ -0,0 +1,439 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_tracks_parser.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_tracks_parser.cc
+
+
+
1 // Copyright 2014 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 #include "packager/media/formats/webm/webm_tracks_parser.h"
+
6 
+
7 #include "packager/base/logging.h"
+
8 #include "packager/base/strings/string_number_conversions.h"
+
9 #include "packager/base/strings/string_util.h"
+
10 #include "packager/media/base/timestamp.h"
+
11 #include "packager/media/formats/webm/webm_constants.h"
+
12 #include "packager/media/formats/webm/webm_content_encodings.h"
+
13 
+
14 namespace edash_packager {
+
15 namespace media {
+
16 
+
17 static TextKind CodecIdToTextKind(const std::string& codec_id) {
+
18  if (codec_id == kWebMCodecSubtitles)
+
19  return kTextSubtitles;
+
20 
+
21  if (codec_id == kWebMCodecCaptions)
+
22  return kTextCaptions;
+
23 
+
24  if (codec_id == kWebMCodecDescriptions)
+
25  return kTextDescriptions;
+
26 
+
27  if (codec_id == kWebMCodecMetadata)
+
28  return kTextMetadata;
+
29 
+
30  return kTextNone;
+
31 }
+
32 
+
33 static int64_t PrecisionCappedDefaultDuration(
+
34  const double timecode_scale_in_us,
+
35  const int64_t duration_in_ns) {
+
36  if (duration_in_ns <= 0)
+
37  return kNoTimestamp;
+
38 
+
39  int64_t mult = duration_in_ns / 1000;
+
40  mult /= timecode_scale_in_us;
+
41  if (mult == 0)
+
42  return kNoTimestamp;
+
43 
+
44  mult = static_cast<double>(mult) * timecode_scale_in_us;
+
45  return mult;
+
46 }
+
47 
+
48 WebMTracksParser::WebMTracksParser(bool ignore_text_tracks)
+
49  : track_type_(-1),
+
50  track_num_(-1),
+
51  seek_preroll_(-1),
+
52  codec_delay_(-1),
+
53  default_duration_(-1),
+
54  audio_track_num_(-1),
+
55  audio_default_duration_(-1),
+
56  video_track_num_(-1),
+
57  video_default_duration_(-1),
+
58  ignore_text_tracks_(ignore_text_tracks),
+
59  audio_client_(),
+
60  video_client_() {
+
61 }
+
62 
+
63 WebMTracksParser::~WebMTracksParser() {}
+
64 
+
65 int WebMTracksParser::Parse(const uint8_t* buf, int size) {
+
66  track_type_ =-1;
+
67  track_num_ = -1;
+
68  default_duration_ = -1;
+
69  track_name_.clear();
+
70  track_language_.clear();
+
71  audio_track_num_ = -1;
+
72  audio_default_duration_ = -1;
+
73  audio_stream_info_ = nullptr;
+
74  video_track_num_ = -1;
+
75  video_default_duration_ = -1;
+
76  video_stream_info_ = nullptr;
+
77  text_tracks_.clear();
+
78  ignored_tracks_.clear();
+
79 
+
80  WebMListParser parser(kWebMIdTracks, this);
+
81  int result = parser.Parse(buf, size);
+
82 
+
83  if (result <= 0)
+
84  return result;
+
85 
+
86  // For now we do all or nothing parsing.
+
87  return parser.IsParsingComplete() ? result : 0;
+
88 }
+
89 
+
90 int64_t WebMTracksParser::GetAudioDefaultDuration(
+
91  const double timecode_scale_in_us) const {
+
92  return PrecisionCappedDefaultDuration(timecode_scale_in_us,
+
93  audio_default_duration_);
+
94 }
+
95 
+
96 int64_t WebMTracksParser::GetVideoDefaultDuration(
+
97  const double timecode_scale_in_us) const {
+
98  return PrecisionCappedDefaultDuration(timecode_scale_in_us,
+
99  video_default_duration_);
+
100 }
+
101 
+
102 WebMParserClient* WebMTracksParser::OnListStart(int id) {
+
103  if (id == kWebMIdContentEncodings) {
+
104  DCHECK(!track_content_encodings_client_.get());
+
105  track_content_encodings_client_.reset(new WebMContentEncodingsClient());
+
106  return track_content_encodings_client_->OnListStart(id);
+
107  }
+
108 
+
109  if (id == kWebMIdTrackEntry) {
+
110  track_type_ = -1;
+
111  track_num_ = -1;
+
112  default_duration_ = -1;
+
113  track_name_.clear();
+
114  track_language_.clear();
+
115  codec_id_ = "";
+
116  codec_private_.clear();
+
117  audio_client_.Reset();
+
118  video_client_.Reset();
+
119  return this;
+
120  }
+
121 
+
122  if (id == kWebMIdAudio)
+
123  return &audio_client_;
+
124 
+
125  if (id == kWebMIdVideo)
+
126  return &video_client_;
+
127 
+
128  return this;
+
129 }
+
130 
+
131 bool WebMTracksParser::OnListEnd(int id) {
+
132  if (id == kWebMIdContentEncodings) {
+
133  DCHECK(track_content_encodings_client_.get());
+
134  return track_content_encodings_client_->OnListEnd(id);
+
135  }
+
136 
+
137  if (id == kWebMIdTrackEntry) {
+
138  if (track_type_ == -1 || track_num_ == -1) {
+
139  LOG(ERROR) << "Missing TrackEntry data for "
+
140  << " TrackType " << track_type_ << " TrackNum " << track_num_;
+
141  return false;
+
142  }
+
143 
+
144  if (track_type_ != kWebMTrackTypeAudio &&
+
145  track_type_ != kWebMTrackTypeVideo &&
+
146  track_type_ != kWebMTrackTypeSubtitlesOrCaptions &&
+
147  track_type_ != kWebMTrackTypeDescriptionsOrMetadata) {
+
148  LOG(ERROR) << "Unexpected TrackType " << track_type_;
+
149  return false;
+
150  }
+
151 
+
152  TextKind text_track_kind = kTextNone;
+
153  if (track_type_ == kWebMTrackTypeSubtitlesOrCaptions) {
+
154  text_track_kind = CodecIdToTextKind(codec_id_);
+
155  if (text_track_kind == kTextNone) {
+
156  LOG(ERROR) << "Missing TrackEntry CodecID"
+
157  << " TrackNum " << track_num_;
+
158  return false;
+
159  }
+
160 
+
161  if (text_track_kind != kTextSubtitles &&
+
162  text_track_kind != kTextCaptions) {
+
163  LOG(ERROR) << "Wrong TrackEntry CodecID"
+
164  << " TrackNum " << track_num_;
+
165  return false;
+
166  }
+
167  } else if (track_type_ == kWebMTrackTypeDescriptionsOrMetadata) {
+
168  text_track_kind = CodecIdToTextKind(codec_id_);
+
169  if (text_track_kind == kTextNone) {
+
170  LOG(ERROR) << "Missing TrackEntry CodecID"
+
171  << " TrackNum " << track_num_;
+
172  return false;
+
173  }
+
174 
+
175  if (text_track_kind != kTextDescriptions &&
+
176  text_track_kind != kTextMetadata) {
+
177  LOG(ERROR) << "Wrong TrackEntry CodecID"
+
178  << " TrackNum " << track_num_;
+
179  return false;
+
180  }
+
181  }
+
182 
+
183  std::string encryption_key_id;
+
184  if (track_content_encodings_client_) {
+
185  DCHECK(!track_content_encodings_client_->content_encodings().empty());
+
186  // If we have multiple ContentEncoding in one track. Always choose the
+
187  // key id in the first ContentEncoding as the key id of the track.
+
188  encryption_key_id = track_content_encodings_client_->
+
189  content_encodings()[0]->encryption_key_id();
+
190  }
+
191 
+
192  if (track_type_ == kWebMTrackTypeAudio) {
+
193  if (audio_track_num_ == -1) {
+
194  audio_track_num_ = track_num_;
+
195  audio_encryption_key_id_ = encryption_key_id;
+
196 
+
197  if (default_duration_ == 0) {
+
198  LOG(ERROR) << "Illegal 0ns audio TrackEntry "
+
199  "DefaultDuration";
+
200  return false;
+
201  }
+
202  audio_default_duration_ = default_duration_;
+
203 
+
204  DCHECK(!audio_stream_info_);
+
205  audio_stream_info_ = audio_client_.GetAudioStreamInfo(
+
206  audio_track_num_, codec_id_, codec_private_, track_language_,
+
207  !audio_encryption_key_id_.empty());
+
208  if (!audio_stream_info_)
+
209  return false;
+
210  } else {
+
211  DLOG(INFO) << "Ignoring audio track " << track_num_;
+
212  ignored_tracks_.insert(track_num_);
+
213  }
+
214  } else if (track_type_ == kWebMTrackTypeVideo) {
+
215  if (video_track_num_ == -1) {
+
216  video_track_num_ = track_num_;
+
217  video_encryption_key_id_ = encryption_key_id;
+
218 
+
219  if (default_duration_ == 0) {
+
220  LOG(ERROR) << "Illegal 0ns video TrackEntry "
+
221  "DefaultDuration";
+
222  return false;
+
223  }
+
224  video_default_duration_ = default_duration_;
+
225 
+
226  DCHECK(!video_stream_info_);
+
227  video_stream_info_ = video_client_.GetVideoStreamInfo(
+
228  video_track_num_, codec_id_, codec_private_,
+
229  !video_encryption_key_id_.empty());
+
230  if (!video_stream_info_)
+
231  return false;
+
232  } else {
+
233  DLOG(INFO) << "Ignoring video track " << track_num_;
+
234  ignored_tracks_.insert(track_num_);
+
235  }
+
236  } else if (track_type_ == kWebMTrackTypeSubtitlesOrCaptions ||
+
237  track_type_ == kWebMTrackTypeDescriptionsOrMetadata) {
+
238  if (ignore_text_tracks_) {
+
239  DLOG(INFO) << "Ignoring text track " << track_num_;
+
240  ignored_tracks_.insert(track_num_);
+
241  } else {
+
242  std::string track_num = base::Int64ToString(track_num_);
+
243  text_tracks_[track_num_] = TextTrackConfig(
+
244  text_track_kind, track_name_, track_language_, track_num);
+
245  }
+
246  } else {
+
247  LOG(ERROR) << "Unexpected TrackType " << track_type_;
+
248  return false;
+
249  }
+
250 
+
251  track_type_ = -1;
+
252  track_num_ = -1;
+
253  default_duration_ = -1;
+
254  track_name_.clear();
+
255  track_language_.clear();
+
256  codec_id_ = "";
+
257  codec_private_.clear();
+
258  track_content_encodings_client_.reset();
+
259 
+
260  audio_client_.Reset();
+
261  video_client_.Reset();
+
262  return true;
+
263  }
+
264 
+
265  return true;
+
266 }
+
267 
+
268 bool WebMTracksParser::OnUInt(int id, int64_t val) {
+
269  int64_t* dst = NULL;
+
270 
+
271  switch (id) {
+
272  case kWebMIdTrackNumber:
+
273  dst = &track_num_;
+
274  break;
+
275  case kWebMIdTrackType:
+
276  dst = &track_type_;
+
277  break;
+
278  case kWebMIdSeekPreRoll:
+
279  dst = &seek_preroll_;
+
280  break;
+
281  case kWebMIdCodecDelay:
+
282  dst = &codec_delay_;
+
283  break;
+
284  case kWebMIdDefaultDuration:
+
285  dst = &default_duration_;
+
286  break;
+
287  default:
+
288  return true;
+
289  }
+
290 
+
291  if (*dst != -1) {
+
292  LOG(ERROR) << "Multiple values for id " << std::hex << id << " specified";
+
293  return false;
+
294  }
+
295 
+
296  *dst = val;
+
297  return true;
+
298 }
+
299 
+
300 bool WebMTracksParser::OnFloat(int id, double val) {
+
301  return true;
+
302 }
+
303 
+
304 bool WebMTracksParser::OnBinary(int id, const uint8_t* data, int size) {
+
305  if (id == kWebMIdCodecPrivate) {
+
306  if (!codec_private_.empty()) {
+
307  LOG(ERROR) << "Multiple CodecPrivate fields in a track.";
+
308  return false;
+
309  }
+
310  codec_private_.assign(data, data + size);
+
311  return true;
+
312  }
+
313  return true;
+
314 }
+
315 
+
316 bool WebMTracksParser::OnString(int id, const std::string& str) {
+
317  if (id == kWebMIdCodecID) {
+
318  if (!codec_id_.empty()) {
+
319  LOG(ERROR) << "Multiple CodecID fields in a track";
+
320  return false;
+
321  }
+
322 
+
323  codec_id_ = str;
+
324  return true;
+
325  }
+
326 
+
327  if (id == kWebMIdName) {
+
328  track_name_ = str;
+
329  return true;
+
330  }
+
331 
+
332  if (id == kWebMIdLanguage) {
+
333  track_language_ = str;
+
334  return true;
+
335  }
+
336 
+
337  return true;
+
338 }
+
339 
+
340 } // namespace media
+
341 } // namespace edash_packager
+
+ + + + diff --git a/docs/d8/d9f/udp__file_8h_source.html b/docs/d8/d9f/udp__file_8h_source.html index f5cbbbb7c9..1d0f70ea4b 100644 --- a/docs/d8/d9f/udp__file_8h_source.html +++ b/docs/d8/d9f/udp__file_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FILE_UDP_FILE_H_
-
8 #define MEDIA_FILE_UDP_FILE_H_
-
9 
+
8 #define MEDIA_FILE_UDP_FILE_H_
+
9 
10 #include <stdint.h>
11 
12 #include <string>
@@ -110,18 +110,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
22  public:
25  explicit UdpFile(const char* address_and_port);
26 
-
29  virtual bool Close() OVERRIDE;
-
30  virtual int64_t Read(void* buffer, uint64_t length) OVERRIDE;
-
31  virtual int64_t Write(const void* buffer, uint64_t length) OVERRIDE;
-
32  virtual int64_t Size() OVERRIDE;
-
33  virtual bool Flush() OVERRIDE;
-
34  virtual bool Seek(uint64_t position) OVERRIDE;
-
35  virtual bool Tell(uint64_t* position) OVERRIDE;
+
29  bool Close() override;
+
30  int64_t Read(void* buffer, uint64_t length) override;
+
31  int64_t Write(const void* buffer, uint64_t length) override;
+
32  int64_t Size() override;
+
33  bool Flush() override;
+
34  bool Seek(uint64_t position) override;
+
35  bool Tell(uint64_t* position) override;
37 
38  protected:
-
39  virtual ~UdpFile();
+
39  ~UdpFile() override;
40 
-
41  virtual bool Open() OVERRIDE;
+
41  bool Open() override;
42 
43  private:
44  int socket_;
@@ -134,20 +134,20 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
51 
52 #endif // MEDIA_FILE_UDP_FILE_H_
UdpFile(const char *address_and_port)
+
bool Tell(uint64_t *position) override
+
bool Seek(uint64_t position) override
Implements UdpFile, which receives UDP unicast and multicast streams.
Definition: udp_file.h:21
+ +
int64_t Write(const void *buffer, uint64_t length) override
Define an abstract file interface.
Definition: file.h:22
-
virtual bool Flush() OVERRIDE
-
virtual bool Open() OVERRIDE
Internal open. Should not be used directly.
-
virtual bool Tell(uint64_t *position) OVERRIDE
-
virtual int64_t Write(const void *buffer, uint64_t length) OVERRIDE
-
virtual int64_t Read(void *buffer, uint64_t length) OVERRIDE
-
virtual int64_t Size() OVERRIDE
-
virtual bool Close() OVERRIDE
-
virtual bool Seek(uint64_t position) OVERRIDE
+ + +
int64_t Read(void *buffer, uint64_t length) override
+
bool Open() override
Internal open. Should not be used directly.
diff --git a/docs/d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html b/docs/d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html index a3f529b9fc..a7305fbd4e 100644 --- a/docs/d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html +++ b/docs/d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html @@ -105,12 +105,12 @@ Inheritance diagram for edash_packager::media::wvm::WvmMediaParser: - - - - - - + + + + + +

Public Member Functions

virtual void Init (const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) OVERRIDE
 
virtual void Flush () OVERRIDE
 
virtual bool Parse (const uint8_t *buf, int size) OVERRIDE
 
void Init (const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) override
 
void Flush () override
 
bool Parse (const uint8_t *buf, int size) override
 
@@ -128,7 +128,7 @@ track_id, const scoped_refptr

Definition at line 50 of file wvm_media_parser.h.

Member Function Documentation

- +

Additional Inherited Members

@@ -144,7 +144,7 @@ track_id, const scoped_refptr
-virtual +overridevirtual
@@ -156,7 +156,7 @@ track_id, const scoped_refptr
- +
@@ -189,11 +189,11 @@ track_id, const scoped_refptr
-virtual +overridevirtual
-

Initialize the parser with necessary callbacks. Must be called before any data is passed to Parse().

+

Initialize the parser with necessary callbacks. Must be called before any data is passed to Parse().

Parameters
@@ -208,7 +208,7 @@ track_id, const scoped_refptr
- +
init_cbwill be called once enough data has been parsed to determine the initial stream configurations.
@@ -235,7 +235,7 @@ track_id, const scoped_refptr
-virtual +overridevirtual
@@ -255,7 +255,7 @@ track_id, const scoped_refptr
diff --git a/docs/d8/da1/classedash__packager_1_1media_1_1WidevineKeySource-members.html b/docs/d8/da1/classedash__packager_1_1media_1_1WidevineKeySource-members.html index df98ff5611..79ddab07f1 100644 --- a/docs/d8/da1/classedash__packager_1_1media_1_1WidevineKeySource-members.html +++ b/docs/d8/da1/classedash__packager_1_1media_1_1WidevineKeySource-members.html @@ -94,12 +94,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::WidevineKeySource, including all inherited members.

- - - - - - + + + + + + @@ -115,14 +115,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - +
CreateFromHexStrings(const std::string &key_id_hex, const std::string &key_hex, const std::string &pssh_data_hex, const std::string &iv_hex)edash_packager::media::KeySourcestatic
FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy) OVERRIDEedash_packager::media::WidevineKeySourcevirtual
FetchKeys(const std::vector< uint8_t > &pssh_data) OVERRIDEedash_packager::media::WidevineKeySourcevirtual
FetchKeys(uint32_t asset_id) OVERRIDEedash_packager::media::WidevineKeySourcevirtual
GetCryptoPeriodKey(uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key) OVERRIDEedash_packager::media::WidevineKeySourcevirtual
GetKey(TrackType track_type, EncryptionKey *key) OVERRIDEedash_packager::media::WidevineKeySourcevirtual
GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key) OVERRIDEedash_packager::media::WidevineKeySourcevirtual
FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy) overrideedash_packager::media::WidevineKeySourcevirtual
FetchKeys(const std::vector< uint8_t > &pssh_data) overrideedash_packager::media::WidevineKeySourcevirtual
FetchKeys(uint32_t asset_id) overrideedash_packager::media::WidevineKeySourcevirtual
GetCryptoPeriodKey(uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key) overrideedash_packager::media::WidevineKeySourcevirtual
GetKey(TrackType track_type, EncryptionKey *key) overrideedash_packager::media::WidevineKeySourcevirtual
GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key) overrideedash_packager::media::WidevineKeySourcevirtual
GetTrackTypeFromString(const std::string &track_type_string)edash_packager::media::KeySourcestatic
key_production_thread_ (defined in edash_packager::media::WidevineKeySource)edash_packager::media::WidevineKeySourceprotected
KeySource() (defined in edash_packager::media::KeySource)edash_packager::media::KeySourceprotected
TRACK_TYPE_UNSPECIFIED enum value (defined in edash_packager::media::KeySource)edash_packager::media::KeySource
TrackType enum name (defined in edash_packager::media::KeySource)edash_packager::media::KeySource
TrackTypeToString(TrackType track_type)edash_packager::media::KeySourcestatic
UUID() OVERRIDEedash_packager::media::WidevineKeySourcevirtual
UUID() overrideedash_packager::media::WidevineKeySourcevirtual
WidevineKeySource(const std::string &server_url)edash_packager::media::WidevineKeySourceexplicit
~KeySource() (defined in edash_packager::media::KeySource)edash_packager::media::KeySourcevirtual
~WidevineKeySource() (defined in edash_packager::media::WidevineKeySource)edash_packager::media::WidevineKeySourcevirtual
~WidevineKeySource() override (defined in edash_packager::media::WidevineKeySource)edash_packager::media::WidevineKeySource
diff --git a/docs/d8/da6/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader-members.html b/docs/d8/da6/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader-members.html index d9f76f881d..1dba5e1b1d 100644 --- a/docs/d8/da6/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader-members.html +++ b/docs/d8/da6/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader-members.html @@ -96,22 +96,22 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); atom_sizeedash_packager::media::mp4::Boxprotected balance (defined in edash_packager::media::mp4::SoundMediaHeader)edash_packager::media::mp4::SoundMediaHeader Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box - BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SoundMediaHeader)edash_packager::media::mp4::SoundMediaHeadervirtual - ComputeSize() OVERRIDEedash_packager::media::mp4::SoundMediaHeadervirtual + BoxType() const override (defined in edash_packager::media::mp4::SoundMediaHeader)edash_packager::media::mp4::SoundMediaHeadervirtual + ComputeSize() overrideedash_packager::media::mp4::SoundMediaHeadervirtual flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox Parse(BoxReader *reader)edash_packager::media::mp4::Box - ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SoundMediaHeadervirtual + ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SoundMediaHeadervirtual SoundMediaHeader() (defined in edash_packager::media::mp4::SoundMediaHeader)edash_packager::media::mp4::SoundMediaHeader version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox Write(BufferWriter *writer)edash_packager::media::mp4::Box ~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual - ~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual - ~SoundMediaHeader() (defined in edash_packager::media::mp4::SoundMediaHeader)edash_packager::media::mp4::SoundMediaHeadervirtual + ~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox + ~SoundMediaHeader() override (defined in edash_packager::media::mp4::SoundMediaHeader)edash_packager::media::mp4::SoundMediaHeader diff --git a/docs/d8/daa/stream__info_8h_source.html b/docs/d8/daa/stream__info_8h_source.html index 4e49a57ef8..1e3be1a1d6 100644 --- a/docs/d8/daa/stream__info_8h_source.html +++ b/docs/d8/daa/stream__info_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_STREAM_INFO_H_
-
8 #define MEDIA_BASE_STREAM_INFO_H_
-
9 
+
8 #define MEDIA_BASE_STREAM_INFO_H_
+
9 
10 #include <string>
11 #include <vector>
12 
@@ -108,83 +108,84 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
19  kStreamUnknown = 0,
20  kStreamAudio,
21  kStreamVideo,
-
22 };
-
23 
-
25 class StreamInfo : public base::RefCountedThreadSafe<StreamInfo> {
-
26  public:
-
27  StreamInfo(StreamType stream_type,
-
28  int track_id,
-
29  uint32_t time_scale,
-
30  uint64_t duration,
-
31  const std::string& codec_string,
-
32  const std::string& language,
-
33  const uint8_t* extra_data,
-
34  size_t extra_data_size,
-
35  bool is_encrypted);
-
36 
-
39  virtual bool IsValidConfig() const = 0;
-
40 
-
42  virtual std::string ToString() const;
-
43 
-
44  StreamType stream_type() const { return stream_type_; }
-
45  uint32_t track_id() const { return track_id_; }
-
46  uint32_t time_scale() const { return time_scale_; }
-
47  uint64_t duration() const { return duration_; }
-
48  const std::string& codec_string() const { return codec_string_; }
-
49  const std::string& language() const { return language_; }
-
50 
-
51  bool is_encrypted() const { return is_encrypted_; }
-
52 
-
53  const std::vector<uint8_t>& extra_data() const { return extra_data_; }
-
54 
-
55  void set_duration(int duration) { duration_ = duration; }
-
56 
-
57  void set_extra_data(const std::vector<uint8_t>& data) { extra_data_ = data; }
-
58 
-
59  void set_codec_string(const std::string& codec_string) {
-
60  codec_string_ = codec_string;
-
61  }
-
62 
-
63  void set_language(const std::string& language) { language_ = language; }
-
64 
-
65  protected:
-
66  friend class base::RefCountedThreadSafe<StreamInfo>;
-
67  virtual ~StreamInfo();
-
68 
-
69  private:
-
70  // Whether the stream is Audio or Video.
-
71  StreamType stream_type_;
-
72  uint32_t track_id_;
-
73  // The actual time is calculated as time / time_scale_ in seconds.
-
74  uint32_t time_scale_;
-
75  // Duration base on time_scale.
-
76  uint64_t duration_;
-
77  std::string codec_string_;
-
78  std::string language_;
-
79  // Whether the stream is potentially encrypted.
-
80  // Note that in a potentially encrypted stream, individual buffers
-
81  // can be encrypted or not encrypted.
-
82  bool is_encrypted_;
-
83  // Optional byte data required for some audio/video decoders such as Vorbis
-
84  // codebooks.
-
85  std::vector<uint8_t> extra_data_;
-
86 
-
87  // Not using DISALLOW_COPY_AND_ASSIGN here intentionally to allow the compiler
-
88  // generated copy constructor and assignment operator. Since the extra data is
-
89  // typically small, the performance impact is minimal.
-
90 };
-
91 
-
92 } // namespace media
-
93 } // namespace edash_packager
-
94 
-
95 #endif // MEDIA_BASE_STREAM_INFO_H_
-
Abstract class holds stream information.
Definition: stream_info.h:25
+
22  kStreamText,
+
23 };
+
24 
+
26 class StreamInfo : public base::RefCountedThreadSafe<StreamInfo> {
+
27  public:
+
28  StreamInfo(StreamType stream_type,
+
29  int track_id,
+
30  uint32_t time_scale,
+
31  uint64_t duration,
+
32  const std::string& codec_string,
+
33  const std::string& language,
+
34  const uint8_t* extra_data,
+
35  size_t extra_data_size,
+
36  bool is_encrypted);
+
37 
+
40  virtual bool IsValidConfig() const = 0;
+
41 
+
43  virtual std::string ToString() const;
+
44 
+
45  StreamType stream_type() const { return stream_type_; }
+
46  uint32_t track_id() const { return track_id_; }
+
47  uint32_t time_scale() const { return time_scale_; }
+
48  uint64_t duration() const { return duration_; }
+
49  const std::string& codec_string() const { return codec_string_; }
+
50  const std::string& language() const { return language_; }
+
51 
+
52  bool is_encrypted() const { return is_encrypted_; }
+
53 
+
54  const std::vector<uint8_t>& extra_data() const { return extra_data_; }
+
55 
+
56  void set_duration(int duration) { duration_ = duration; }
+
57 
+
58  void set_extra_data(const std::vector<uint8_t>& data) { extra_data_ = data; }
+
59 
+
60  void set_codec_string(const std::string& codec_string) {
+
61  codec_string_ = codec_string;
+
62  }
+
63 
+
64  void set_language(const std::string& language) { language_ = language; }
+
65 
+
66  protected:
+
67  friend class base::RefCountedThreadSafe<StreamInfo>;
+
68  virtual ~StreamInfo();
+
69 
+
70  private:
+
71  // Whether the stream is Audio or Video.
+
72  StreamType stream_type_;
+
73  uint32_t track_id_;
+
74  // The actual time is calculated as time / time_scale_ in seconds.
+
75  uint32_t time_scale_;
+
76  // Duration base on time_scale.
+
77  uint64_t duration_;
+
78  std::string codec_string_;
+
79  std::string language_;
+
80  // Whether the stream is potentially encrypted.
+
81  // Note that in a potentially encrypted stream, individual buffers
+
82  // can be encrypted or not encrypted.
+
83  bool is_encrypted_;
+
84  // Optional byte data required for some audio/video decoders such as Vorbis
+
85  // codebooks.
+
86  std::vector<uint8_t> extra_data_;
+
87 
+
88  // Not using DISALLOW_COPY_AND_ASSIGN here intentionally to allow the compiler
+
89  // generated copy constructor and assignment operator. Since the extra data is
+
90  // typically small, the performance impact is minimal.
+
91 };
+
92 
+
93 } // namespace media
+
94 } // namespace edash_packager
+
95 
+
96 #endif // MEDIA_BASE_STREAM_INFO_H_
+
Abstract class holds stream information.
Definition: stream_info.h:26
virtual bool IsValidConfig() const =0
virtual std::string ToString() const
Definition: stream_info.cc:40
diff --git a/docs/d8/db0/structedash__packager_1_1media_1_1H264SPS.html b/docs/d8/db0/structedash__packager_1_1media_1_1H264SPS.html index 7b53d04791..cbaee46c3f 100644 --- a/docs/d8/db0/structedash__packager_1_1media_1_1H264SPS.html +++ b/docs/d8/db0/structedash__packager_1_1media_1_1H264SPS.html @@ -242,7 +242,7 @@ int chroma_array_type< diff --git a/docs/d8/dbb/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord.html b/docs/d8/dbb/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord.html index 25987c6349..938c5db042 100644 --- a/docs/d8/dbb/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord.html +++ b/docs/d8/dbb/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord.html @@ -116,15 +116,15 @@ typedef std::vector< uint8_t > 

Public Member Functions

- -virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE - Read/write the mp4 box from/to BoxBuffer.
-  - -virtual FourCC BoxType () const OVERRIDE -  -virtual uint32_t ComputeSize () OVERRIDE -  + +bool ReadWrite (BoxBuffer *buffer) override + Read/write the mp4 box from/to BoxBuffer.
+  + +FourCC BoxType () const override +  +uint32_t ComputeSize () override +  bool ParseData (BufferReader *reader)   @@ -171,7 +171,7 @@ Additional Inherited Members

Definition at line 168 of file box_definitions.h.

Member Function Documentation

- +
@@ -187,7 +187,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -206,7 +206,7 @@ Additional Inherited Members
diff --git a/docs/d8/dbb/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData-members.html b/docs/d8/dbb/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData-members.html index ab0c4e4d8a..7fa2a1fbf1 100644 --- a/docs/d8/dbb/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData-members.html +++ b/docs/d8/dbb/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d8/dc7/classedash__packager_1_1media_1_1UdpFile.html b/docs/d8/dc7/classedash__packager_1_1media_1_1UdpFile.html index 80f173ac40..7a30d29819 100644 --- a/docs/d8/dc7/classedash__packager_1_1media_1_1UdpFile.html +++ b/docs/d8/dc7/classedash__packager_1_1media_1_1UdpFile.html @@ -114,30 +114,30 @@ Public Member Functions  UdpFile (const char *address_and_port)  
File implementation overrides.
-virtual bool Close () OVERRIDE -  -virtual int64_t Read (void *buffer, uint64_t length) OVERRIDE -  -virtual int64_t Write (const void *buffer, uint64_t length) OVERRIDE -  -virtual int64_t Size () OVERRIDE -  -virtual bool Flush () OVERRIDE -  -virtual bool Seek (uint64_t position) OVERRIDE -  -virtual bool Tell (uint64_t *position) OVERRIDE -  +bool Close () override +  +int64_t Read (void *buffer, uint64_t length) override +  +int64_t Write (const void *buffer, uint64_t length) override +  +int64_t Size () override +  +bool Flush () override +  +bool Seek (uint64_t position) override +  +bool Tell (uint64_t *position) override +  - Public Member Functions inherited from edash_packager::media::File const std::string & file_name () const   - - - + + + @@ -197,7 +197,7 @@ Additional Inherited Members

Member Function Documentation

- +

Protected Member Functions

-virtual bool Open () OVERRIDE
 Internal open. Should not be used directly.
 
+bool Open () override
 Internal open. Should not be used directly.
 
- Protected Member Functions inherited from edash_packager::media::File
 File (const std::string &file_name)
@@ -213,11 +213,11 @@ Additional Inherited Members
-virtual +overridevirtual
-

Flush() and de-allocate resources associated with this file, and delete this File object. THIS IS THE ONE TRUE WAY TO DEALLOCATE THIS OBJECT.

+

Flush() and de-allocate resources associated with this file, and delete this File object. THIS IS THE ONE TRUE WAY TO DEALLOCATE THIS OBJECT.

Returns
true on success. For writable files, returning false MAY INDICATE DATA LOSS.

Implements edash_packager::media::File.

@@ -226,7 +226,7 @@ Additional Inherited Members
- +
@@ -242,7 +242,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -255,7 +255,7 @@ Additional Inherited Members
- +
@@ -282,7 +282,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -302,7 +302,7 @@ Additional Inherited Members
- +
@@ -319,7 +319,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -338,7 +338,7 @@ Additional Inherited Members
- +
@@ -354,7 +354,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -366,7 +366,7 @@ Additional Inherited Members
- +
@@ -383,7 +383,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -402,7 +402,7 @@ Additional Inherited Members
- +
@@ -429,7 +429,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -457,7 +457,7 @@ Additional Inherited Members
diff --git a/docs/d8/dca/classedash__packager_1_1media_1_1AesCbcPkcs5Decryptor-members.html b/docs/d8/dca/classedash__packager_1_1media_1_1AesCbcPkcs5Decryptor-members.html index 70adb44cf0..13d1b7d639 100644 --- a/docs/d8/dca/classedash__packager_1_1media_1_1AesCbcPkcs5Decryptor-members.html +++ b/docs/d8/dca/classedash__packager_1_1media_1_1AesCbcPkcs5Decryptor-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d8/dcc/classedash__packager_1_1media_1_1AesRequestSigner.html b/docs/d8/dcc/classedash__packager_1_1media_1_1AesRequestSigner.html index d8932b4021..ecdf85c2c0 100644 --- a/docs/d8/dcc/classedash__packager_1_1media_1_1AesRequestSigner.html +++ b/docs/d8/dcc/classedash__packager_1_1media_1_1AesRequestSigner.html @@ -111,10 +111,10 @@ Inheritance diagram for edash_packager::media::AesRequestSigner: - - - + + + @@ -188,7 +188,7 @@ Additional Inherited Members diff --git a/docs/d8/dcf/classedash__packager_1_1media_1_1RsaRequestSigner-members.html b/docs/d8/dcf/classedash__packager_1_1media_1_1RsaRequestSigner-members.html index 18c820e9d9..477c789750 100644 --- a/docs/d8/dcf/classedash__packager_1_1media_1_1RsaRequestSigner-members.html +++ b/docs/d8/dcf/classedash__packager_1_1media_1_1RsaRequestSigner-members.html @@ -94,15 +94,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::RsaRequestSigner, including all inherited members.

Public Member Functions

-virtual bool GenerateSignature (const std::string &message, std::string *signature) OVERRIDE
 RequestSigner implementation override.
 
+bool GenerateSignature (const std::string &message, std::string *signature) override
 RequestSigner implementation override.
 
- Public Member Functions inherited from edash_packager::media::RequestSigner
const std::string & signer_name () const
- + - +
CreateSigner(const std::string &signer_name, const std::string &pkcs1_rsa_key)edash_packager::media::RsaRequestSignerstatic
GenerateSignature(const std::string &message, std::string *signature) OVERRIDEedash_packager::media::RsaRequestSignervirtual
GenerateSignature(const std::string &message, std::string *signature) overrideedash_packager::media::RsaRequestSignervirtual
RequestSigner(const std::string &signer_name) (defined in edash_packager::media::RequestSigner)edash_packager::media::RequestSignerexplicitprotected
signer_name() const (defined in edash_packager::media::RequestSigner)edash_packager::media::RequestSignerinline
~RequestSigner() (defined in edash_packager::media::RequestSigner)edash_packager::media::RequestSignervirtual
~RsaRequestSigner() (defined in edash_packager::media::RsaRequestSigner)edash_packager::media::RsaRequestSignervirtual
~RsaRequestSigner() override (defined in edash_packager::media::RsaRequestSigner)edash_packager::media::RsaRequestSigner
diff --git a/docs/d8/de6/webm__crypto__helpers_8h_source.html b/docs/d8/de6/webm__crypto__helpers_8h_source.html new file mode 100644 index 0000000000..2b7f7a402d --- /dev/null +++ b/docs/d8/de6/webm__crypto__helpers_8h_source.html @@ -0,0 +1,132 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_crypto_helpers.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_crypto_helpers.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_WEBM_CRYPTO_HELPERS_H_
+
6 #define MEDIA_FORMATS_WEBM_WEBM_CRYPTO_HELPERS_H_
+
7 
+
8 #include <stdint.h>
+
9 
+
10 #include "packager/base/macros.h"
+
11 #include "packager/base/memory/scoped_ptr.h"
+
12 #include "packager/media/base/decrypt_config.h"
+
13 
+
14 namespace edash_packager {
+
15 namespace media {
+
16 
+
17 // Fills an initialized DecryptConfig, which can be sent to the Decryptor if
+
18 // the stream has potentially encrypted frames. Also sets |data_offset| which
+
19 // indicates where the encrypted data starts. Leaving the IV empty will tell
+
20 // the decryptor that the frame is unencrypted. Returns true if |data| is valid,
+
21 // false otherwise, in which case |decrypt_config| and |data_offset| will not be
+
22 // changed. Current encrypted WebM request for comments specification is here
+
23 // http://wiki.webmproject.org/encryption/webm-encryption-rfc
+
24 bool WebMCreateDecryptConfig(const uint8_t* data,
+
25  int data_size,
+
26  const uint8_t* key_id,
+
27  int key_id_size,
+
28  scoped_ptr<DecryptConfig>* decrypt_config,
+
29  int* data_offset);
+
30 
+
31 } // namespace media
+
32 } // namespace edash_packager
+
33 
+
34 #endif // MEDIA_FORMATS_WEBM_WEBM_CRYPT_HELPERS_H_
+
+ + + + diff --git a/docs/d8/df1/classedash__packager_1_1MpdWriter-members.html b/docs/d8/df1/classedash__packager_1_1MpdWriter-members.html index 57c9349e7f..57f32b7903 100644 --- a/docs/d8/df1/classedash__packager_1_1MpdWriter-members.html +++ b/docs/d8/df1/classedash__packager_1_1MpdWriter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/df3/structedash__packager_1_1xml_1_1ScopedXmlPtr.html b/docs/d8/df3/structedash__packager_1_1xml_1_1ScopedXmlPtr.html index c82a6efa1d..7673d01861 100644 --- a/docs/d8/df3/structedash__packager_1_1xml_1_1ScopedXmlPtr.html +++ b/docs/d8/df3/structedash__packager_1_1xml_1_1ScopedXmlPtr.html @@ -119,7 +119,7 @@ struct edash_packager::xml::ScopedXmlPtr< XmlType > diff --git a/docs/d9/d08/mock__mpd__builder_8h_source.html b/docs/d9/d08/mock__mpd__builder_8h_source.html index 83783da650..05adebc529 100644 --- a/docs/d9/d08/mock__mpd__builder_8h_source.html +++ b/docs/d9/d08/mock__mpd__builder_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MPD_BASE_MOCK_MPD_BUILDER_H_
-
8 #define MPD_BASE_MOCK_MPD_BUILDER_H_
-
9 
+
8 #define MPD_BASE_MOCK_MPD_BUILDER_H_
+
9 
10 #include <gmock/gmock.h>
11 
12 #include "packager/base/compiler_specific.h"
@@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
20  // |type| indicates whether the MPD should be for VOD or live content (kStatic
21  // for VOD profile, or kDynamic for live profile).
22  explicit MockMpdBuilder(MpdType type);
-
23  virtual ~MockMpdBuilder() OVERRIDE;
+
23  ~MockMpdBuilder() override;
24 
25  MOCK_METHOD1(AddAdaptationSet, AdaptationSet*(const std::string& lang));
26  MOCK_METHOD1(ToString, bool(std::string* output));
@@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
30  public:
31  // |adaptation_set_id| is the id for the AdaptationSet.
32  explicit MockAdaptationSet(uint32_t adaptation_set_id);
-
33  virtual ~MockAdaptationSet() OVERRIDE;
+
33  ~MockAdaptationSet() override;
34 
35  MOCK_METHOD1(AddRepresentation, Representation*(const MediaInfo& media_info));
36  MOCK_METHOD1(AddContentProtectionElement,
@@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
51  public:
52  // |representation_id| is the numeric ID for the <Representation>.
53  explicit MockRepresentation(uint32_t representation_id);
-
54  virtual ~MockRepresentation() OVERRIDE;
+
54  ~MockRepresentation() override;
55 
56  MOCK_METHOD1(AddContentProtectionElement,
57  void(const ContentProtectionElement& element));
@@ -177,7 +177,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d15/key__rotation__fragmenter_8cc_source.html b/docs/d9/d15/key__rotation__fragmenter_8cc_source.html index e19c6496a0..fd21a9f59b 100644 --- a/docs/d9/d15/key__rotation__fragmenter_8cc_source.html +++ b/docs/d9/d15/key__rotation__fragmenter_8cc_source.html @@ -130,7 +130,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
41 
42 KeyRotationFragmenter::~KeyRotationFragmenter() {}
43 
- +
45  bool enable_encryption) {
46  bool need_to_refresh_encryptor = !encryptor();
47 
@@ -200,7 +200,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
111  return Status::OK;
112 }
113 
- +
116  DCHECK_EQ(1u, traf()->sample_to_group.entries.size());
117  traf()->sample_to_group.entries[0].sample_count =
@@ -210,13 +210,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
121 } // namespace mp4
122 } // namespace media
123 } // namespace edash_packager
-
virtual Status PrepareFragmentForEncryption(bool enable_encryption) OVERRIDE
KeyRotationFragmenter(MovieFragment *moof, TrackFragment *traf, KeySource *encryption_key_source, KeySource::TrackType track_type, int64_t crypto_period_duration, int64_t clear_time, uint8_t nalu_length_size, MuxerListener *muxer_listener)
virtual Status GetCryptoPeriodKey(uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key)
Definition: key_source.cc:66
+
void FinalizeFragmentForEncryption() override
Finalize current fragment for encryption.
EncryptingFragmenter generates MP4 fragments with sample encrypted.
+
Status PrepareFragmentForEncryption(bool enable_encryption) override
virtual std::string UUID()
Definition: key_source.cc:92
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:29
@@ -224,11 +225,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual std::string SystemName()
Definition: key_source.cc:96
virtual void FinalizeFragmentForEncryption()
Finalize current fragment for encryption.
-
virtual void FinalizeFragmentForEncryption() OVERRIDE
Finalize current fragment for encryption.
diff --git a/docs/d9/d17/classedash__packager_1_1DashIopMpdNotifier-members.html b/docs/d9/d17/classedash__packager_1_1DashIopMpdNotifier-members.html index a332e9cca8..6e1cce1a00 100644 --- a/docs/d9/d17/classedash__packager_1_1DashIopMpdNotifier-members.html +++ b/docs/d9/d17/classedash__packager_1_1DashIopMpdNotifier-members.html @@ -93,23 +93,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::DashIopMpdNotifier, including all inherited members.

- + - - + + - - - - - + + + + +
AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) OVERRIDEedash_packager::DashIopMpdNotifiervirtual
AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) overrideedash_packager::DashIopMpdNotifiervirtual
dash_profile() const edash_packager::MpdNotifierinline
DashIopMpdNotifier(DashProfile dash_profile, const MpdOptions &mpd_options, const std::vector< std::string > &base_urls, const std::string &output_path) (defined in edash_packager::DashIopMpdNotifier)edash_packager::DashIopMpdNotifier
DashIopMpdNotifierTest (defined in edash_packager::DashIopMpdNotifier)edash_packager::DashIopMpdNotifierfriend
Flush() OVERRIDEedash_packager::DashIopMpdNotifiervirtual
Init() OVERRIDEedash_packager::DashIopMpdNotifiervirtual
Flush() overrideedash_packager::DashIopMpdNotifiervirtual
Init() overrideedash_packager::DashIopMpdNotifiervirtual
MpdNotifier(DashProfile dash_profile) (defined in edash_packager::MpdNotifier)edash_packager::MpdNotifierinline
NotifyEncryptionUpdate(uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) OVERRIDEedash_packager::DashIopMpdNotifiervirtual
NotifyNewContainer(const MediaInfo &media_info, uint32_t *id) OVERRIDEedash_packager::DashIopMpdNotifiervirtual
NotifyNewSegment(uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) OVERRIDEedash_packager::DashIopMpdNotifiervirtual
NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) OVERRIDEedash_packager::DashIopMpdNotifiervirtual
~DashIopMpdNotifier() OVERRIDE (defined in edash_packager::DashIopMpdNotifier)edash_packager::DashIopMpdNotifiervirtual
NotifyEncryptionUpdate(uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) overrideedash_packager::DashIopMpdNotifiervirtual
NotifyNewContainer(const MediaInfo &media_info, uint32_t *id) overrideedash_packager::DashIopMpdNotifiervirtual
NotifyNewSegment(uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) overrideedash_packager::DashIopMpdNotifiervirtual
NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) overrideedash_packager::DashIopMpdNotifiervirtual
~DashIopMpdNotifier() override (defined in edash_packager::DashIopMpdNotifier)edash_packager::DashIopMpdNotifier
~MpdNotifier() (defined in edash_packager::MpdNotifier)edash_packager::MpdNotifierinlinevirtual
diff --git a/docs/d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html b/docs/d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html index e0cbe2d4ce..06a8fcd0ae 100644 --- a/docs/d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html +++ b/docs/d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::SyncSample: - - - - - - - + + + + + + + @@ -145,7 +145,7 @@ Additional Inherited Members

Definition at line 311 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -161,7 +161,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -180,7 +180,7 @@ Additional Inherited Members
diff --git a/docs/d9/d2c/classedash__packager_1_1media_1_1ProgressListener.html b/docs/d9/d2c/classedash__packager_1_1media_1_1ProgressListener.html index 2ab48d3ce3..a08945c384 100644 --- a/docs/d9/d2c/classedash__packager_1_1media_1_1ProgressListener.html +++ b/docs/d9/d2c/classedash__packager_1_1media_1_1ProgressListener.html @@ -146,7 +146,7 @@ Public Member Functions diff --git a/docs/d9/d3b/webm__content__encodings_8h_source.html b/docs/d9/d3b/webm__content__encodings_8h_source.html new file mode 100644 index 0000000000..652d8c38f5 --- /dev/null +++ b/docs/d9/d3b/webm__content__encodings_8h_source.html @@ -0,0 +1,188 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_content_encodings.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_content_encodings.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_WEBM_CONTENT_ENCODINGS_H_
+
6 #define MEDIA_FORMATS_WEBM_WEBM_CONTENT_ENCODINGS_H_
+
7 
+
8 #include <stdint.h>
+
9 #include <string>
+
10 
+
11 #include "packager/base/memory/scoped_ptr.h"
+
12 
+
13 namespace edash_packager {
+
14 namespace media {
+
15 
+ +
17  public:
+
18  // The following enum definitions are based on the ContentEncoding element
+
19  // specified in the Matroska spec.
+
20 
+
21  static const int kOrderInvalid = -1;
+
22 
+
23  enum Scope {
+
24  kScopeInvalid = 0,
+
25  kScopeAllFrameContents = 1,
+
26  kScopeTrackPrivateData = 2,
+
27  kScopeNextContentEncodingData = 4,
+
28  kScopeMax = 7,
+
29  };
+
30 
+
31  enum Type {
+
32  kTypeInvalid = -1,
+
33  kTypeCompression = 0,
+
34  kTypeEncryption = 1,
+
35  };
+
36 
+
37  enum EncryptionAlgo {
+
38  kEncAlgoInvalid = -1,
+
39  kEncAlgoNotEncrypted = 0,
+
40  kEncAlgoDes = 1,
+
41  kEncAlgo3des = 2,
+
42  kEncAlgoTwofish = 3,
+
43  kEncAlgoBlowfish = 4,
+
44  kEncAlgoAes = 5,
+
45  };
+
46 
+
47  enum CipherMode {
+
48  kCipherModeInvalid = 0,
+
49  kCipherModeCtr = 1,
+
50  };
+
51 
+ +
53  ~ContentEncoding();
+
54 
+
55  int64_t order() const { return order_; }
+
56  void set_order(int64_t order) { order_ = order; }
+
57 
+
58  Scope scope() const { return scope_; }
+
59  void set_scope(Scope scope) { scope_ = scope; }
+
60 
+
61  Type type() const { return type_; }
+
62  void set_type(Type type) { type_ = type; }
+
63 
+
64  EncryptionAlgo encryption_algo() const { return encryption_algo_; }
+
65  void set_encryption_algo(EncryptionAlgo encryption_algo) {
+
66  encryption_algo_ = encryption_algo;
+
67  }
+
68 
+
69  const std::string& encryption_key_id() const { return encryption_key_id_; }
+
70  void SetEncryptionKeyId(const uint8_t* encryption_key_id, int size);
+
71 
+
72  CipherMode cipher_mode() const { return cipher_mode_; }
+
73  void set_cipher_mode(CipherMode mode) { cipher_mode_ = mode; }
+
74 
+
75  private:
+
76  int64_t order_;
+
77  Scope scope_;
+
78  Type type_;
+
79  EncryptionAlgo encryption_algo_;
+
80  std::string encryption_key_id_;
+
81  CipherMode cipher_mode_;
+
82 
+
83  DISALLOW_COPY_AND_ASSIGN(ContentEncoding);
+
84 };
+
85 
+
86 } // namespace media
+
87 } // namespace edash_packager
+
88 
+
89 #endif // MEDIA_FORMATS_WEBM_WEBM_CONTENT_ENCODINGS_H_
+ +
+ + + + diff --git a/docs/d9/d46/classedash__packager_1_1media_1_1BufferReader.html b/docs/d9/d46/classedash__packager_1_1media_1_1BufferReader.html index 32c4d9d146..7f10e01cc7 100644 --- a/docs/d9/d46/classedash__packager_1_1media_1_1BufferReader.html +++ b/docs/d9/d46/classedash__packager_1_1media_1_1BufferReader.html @@ -273,7 +273,7 @@ bool ReadNBytesInto8s diff --git a/docs/d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html b/docs/d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html index 71ca04bd58..7b5bd26ad2 100644 --- a/docs/d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html +++ b/docs/d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html @@ -108,7 +108,7 @@ Inheritance diagram for edash_packager::media::mp4::TrackFragmentHeader: -
} -

Public Types

enum  TrackFragmentFlagsMasks {
+
enum  TrackFragmentFlagsMasks {
  kBaseDataOffsetPresentMask = 0x000001, kSampleDescriptionIndexPresentMask = 0x000002, kDefaultSampleDurationPresentMask = 0x000008, @@ -120,7 +120,7 @@ Public Types
 
enum  SampleFlagsMasks {
+
enum  SampleFlagsMasks {
  kReservedMask = 0xFC000000, kSampleDependsOnMask = 0x03000000, kSampleIsDependedOnMask = 0x00C00000, @@ -135,15 +135,15 @@ Public Types
- - - - - - - + + + + + + + @@ -185,7 +185,7 @@ Additional Inherited Members

Definition at line 447 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -201,7 +201,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -220,7 +220,7 @@ Additional Inherited Members
diff --git a/docs/d9/d5b/structedash__packager_1_1SegmentInfo-members.html b/docs/d9/d5b/structedash__packager_1_1SegmentInfo-members.html index c1b64e12c4..3d7fb91763 100644 --- a/docs/d9/d5b/structedash__packager_1_1SegmentInfo-members.html +++ b/docs/d9/d5b/structedash__packager_1_1SegmentInfo-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d65/classedash__packager_1_1media_1_1TextTrack-members.html b/docs/d9/d65/classedash__packager_1_1media_1_1TextTrack-members.html index cc94b1ac54..f7d523471d 100644 --- a/docs/d9/d65/classedash__packager_1_1media_1_1TextTrack-members.html +++ b/docs/d9/d65/classedash__packager_1_1media_1_1TextTrack-members.html @@ -94,11 +94,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::TextTrack, including all inherited members.

- +
addWebVTTCue(const base::TimeDelta &start, const base::TimeDelta &end, const std::string &id, const std::string &content, const std::string &settings)=0 (defined in edash_packager::media::TextTrack)edash_packager::media::TextTrackpure virtual
~TextTrack() (defined in edash_packager::media::TextTrack)edash_packager::media::TextTrackinlinevirtual
~TextTrack() override (defined in edash_packager::media::TextTrack)edash_packager::media::TextTrackinline
diff --git a/docs/d9/d76/structedash__packager_1_1media_1_1H264ModificationOfPicNum.html b/docs/d9/d76/structedash__packager_1_1media_1_1H264ModificationOfPicNum.html index 98dc586c3d..64828effc7 100644 --- a/docs/d9/d76/structedash__packager_1_1media_1_1H264ModificationOfPicNum.html +++ b/docs/d9/d76/structedash__packager_1_1media_1_1H264ModificationOfPicNum.html @@ -119,7 +119,7 @@ union { diff --git a/docs/d9/d7b/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData.html b/docs/d9/d7b/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData.html index 454c577090..7d54695ee0 100644 --- a/docs/d9/d7b/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData.html +++ b/docs/d9/d7b/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData.html @@ -132,7 +132,7 @@ int64_t video_sample_durat diff --git a/docs/d9/d86/limits_8h_source.html b/docs/d9/d86/limits_8h_source.html index 93c93aee4e..4312d39194 100644 --- a/docs/d9/d86/limits_8h_source.html +++ b/docs/d9/d86/limits_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // Contains limit definition constants for the media subsystem.
6 
7 #ifndef MEDIA_BASE_LIMITS_H_
-
8 #define MEDIA_BASE_LIMITS_H_
-
9 
+
8 #define MEDIA_BASE_LIMITS_H_
+
9 
10 namespace edash_packager {
11 namespace media {
12 
@@ -141,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d8b/classedash__packager_1_1media_1_1KeySource.html b/docs/d9/d8b/classedash__packager_1_1media_1_1KeySource.html index ca2cbeaf29..21ac474bfd 100644 --- a/docs/d9/d8b/classedash__packager_1_1media_1_1KeySource.html +++ b/docs/d9/d8b/classedash__packager_1_1media_1_1KeySource.html @@ -113,7 +113,7 @@ Inheritance diagram for edash_packager::media::KeySource: -
Returns
OK on success, an error status otherwise.
-

Reimplemented in edash_packager::media::WidevineKeySource.

+

Reimplemented in edash_packager::media::WidevineKeySource.

Definition at line 30 of file key_source.cc.

@@ -302,7 +302,7 @@ Static Protected Member Functions
Returns
OK on success, an error status otherwise.
-

Reimplemented in edash_packager::media::WidevineKeySource.

+

Reimplemented in edash_packager::media::WidevineKeySource.

Definition at line 36 of file key_source.cc.

@@ -338,7 +338,7 @@ Static Protected Member Functions
Returns
OK on success, an error status otherwise.
-

Reimplemented in edash_packager::media::WidevineKeySource.

+

Reimplemented in edash_packager::media::WidevineKeySource.

Definition at line 41 of file key_source.cc.

@@ -392,7 +392,7 @@ Static Protected Member Functions
Returns
OK on success, an error status otherwise.
-

Reimplemented in edash_packager::media::WidevineKeySource.

+

Reimplemented in edash_packager::media::WidevineKeySource.

Definition at line 66 of file key_source.cc.

@@ -439,7 +439,7 @@ Static Protected Member Functions
Returns
OK on success, an error status otherwise.
-

Reimplemented in edash_packager::media::WidevineKeySource.

+

Reimplemented in edash_packager::media::WidevineKeySource.

Definition at line 46 of file key_source.cc.

@@ -486,7 +486,7 @@ Static Protected Member Functions
Returns
OK on success, or an error status otherwise.
-

Reimplemented in edash_packager::media::WidevineKeySource.

+

Reimplemented in edash_packager::media::WidevineKeySource.

Definition at line 53 of file key_source.cc.

@@ -569,7 +569,7 @@ Static Protected Member Functions

Returns the UUID of the key source in human readable form. UUIDs are listed here: http://dashif.org/identifiers/protection/

Returns
UUID of the key source, empty string if not specified.
-

Reimplemented in edash_packager::media::WidevineKeySource.

+

Reimplemented in edash_packager::media::WidevineKeySource.

Definition at line 92 of file key_source.cc.

@@ -582,7 +582,7 @@ Static Protected Member Functions diff --git a/docs/d9/d90/text__track_8h_source.html b/docs/d9/d90/text__track_8h_source.html index d83555ddb2..87b13e3e7e 100644 --- a/docs/d9/d90/text__track_8h_source.html +++ b/docs/d9/d90/text__track_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_BASE_TEXT_TRACK_H_
-
6 #define MEDIA_BASE_TEXT_TRACK_H_
-
7 
+
6 #define MEDIA_BASE_TEXT_TRACK_H_
+
7 
8 #include <string>
9 
10 #include "packager/base/callback.h"
@@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
25 
26 class TextTrack {
27  public:
-
28  virtual ~TextTrack() {}
+
28  ~TextTrack() override {}
29  virtual void addWebVTTCue(const base::TimeDelta& start,
30  const base::TimeDelta& end,
31  const std::string& id,
@@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d91/h264__bit__reader_8h_source.html b/docs/d9/d91/h264__bit__reader_8h_source.html index 64a326ab78..a9b21639c6 100644 --- a/docs/d9/d91/h264__bit__reader_8h_source.html +++ b/docs/d9/d91/h264__bit__reader_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // This file contains an implementation of an H264 Annex-B video stream parser.
6 
7 #ifndef MEDIA_FILTERS_H264_BIT_READER_H_
-
8 #define MEDIA_FILTERS_H264_BIT_READER_H_
-
9 
+
8 #define MEDIA_FILTERS_H264_BIT_READER_H_
+
9 
10 #include <stdint.h>
11 #include <sys/types.h>
12 
@@ -170,7 +170,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d93/media__stream_8h_source.html b/docs/d9/d93/media__stream_8h_source.html index 3ad5a7906e..954fc94f9a 100644 --- a/docs/d9/d93/media__stream_8h_source.html +++ b/docs/d9/d93/media__stream_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_MEDIA_STREAM_H_
-
8 #define MEDIA_BASE_MEDIA_STREAM_H_
-
9 
+
8 #define MEDIA_BASE_MEDIA_STREAM_H_
+
9 
10 #include <deque>
11 
12 #include "packager/base/memory/ref_counted.h"
@@ -170,7 +170,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d95/classedash__packager_1_1media_1_1MediaStream-members.html b/docs/d9/d95/classedash__packager_1_1media_1_1MediaStream-members.html index fbf9a1e01a..bb8598fc21 100644 --- a/docs/d9/d95/classedash__packager_1_1media_1_1MediaStream-members.html +++ b/docs/d9/d95/classedash__packager_1_1media_1_1MediaStream-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

Public Types

enum  TrackType {
+
enum  TrackType {
  TRACK_TYPE_UNKNOWN = 0, TRACK_TYPE_SD = 1, TRACK_TYPE_HD = 2, @@ -266,7 +266,7 @@ Static Protected Member Functions
diff --git a/docs/d9/d99/classedash__packager_1_1media_1_1DecryptConfig-members.html b/docs/d9/d99/classedash__packager_1_1media_1_1DecryptConfig-members.html index 9419005253..b5a81ba4d0 100644 --- a/docs/d9/d99/classedash__packager_1_1media_1_1DecryptConfig-members.html +++ b/docs/d9/d99/classedash__packager_1_1media_1_1DecryptConfig-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d9b/structedash__packager_1_1SegmentInfo.html b/docs/d9/d9b/structedash__packager_1_1SegmentInfo.html index 833b979af0..3e4b0244a1 100644 --- a/docs/d9/d9b/structedash__packager_1_1SegmentInfo.html +++ b/docs/d9/d9b/structedash__packager_1_1SegmentInfo.html @@ -118,7 +118,7 @@ uint64_t repeat diff --git a/docs/d9/da4/stream__descriptor_8h_source.html b/docs/d9/da4/stream__descriptor_8h_source.html index aa18d5ab3c..f307d06c67 100644 --- a/docs/d9/da4/stream__descriptor_8h_source.html +++ b/docs/d9/da4/stream__descriptor_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef APP_STREAM_DESCRIPTOR_H_
-
8 #define APP_STREAM_DESCRIPTOR_H_
-
9 
+
8 #define APP_STREAM_DESCRIPTOR_H_
+
9 
10 #include <stdint.h>
11 
12 #include <set>
@@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/db4/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener.html b/docs/d9/db4/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener.html index 1019c998a3..a8126ef786 100644 --- a/docs/d9/db4/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener.html +++ b/docs/d9/db4/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener.html @@ -111,25 +111,25 @@ Public Member Functions void SetContentProtectionSchemeIdUri (const std::string &scheme_id_uri)  
MuxerListener implementation overrides.
- -virtual void OnEncryptionInfoReady (bool is_initial_encryption_info, const std::string &content_protection_uuid, const std::string &content_protection_name_version, const std::vector< uint8_t > &default_key_id, const std::vector< uint8_t > &pssh) OVERRIDE -  - -virtual void OnMediaStart (const MuxerOptions &muxer_options, const StreamInfo &stream_info, uint32_t time_scale, ContainerType container_type) OVERRIDE -  -virtual void OnSampleDurationReady (uint32_t sample_duration) OVERRIDE -  - -virtual void OnMediaEnd (bool has_init_range, uint64_t init_range_start, uint64_t init_range_end, bool has_index_range, uint64_t index_range_start, uint64_t index_range_end, float duration_seconds, uint64_t file_size) OVERRIDE -  - -virtual void OnNewSegment (uint64_t start_time, uint64_t duration, uint64_t segment_file_size) OVERRIDE -  + +void OnEncryptionInfoReady (bool is_initial_encryption_info, const std::string &content_protection_uuid, const std::string &content_protection_name_version, const std::vector< uint8_t > &default_key_id, const std::vector< uint8_t > &pssh) override +  + +void OnMediaStart (const MuxerOptions &muxer_options, const StreamInfo &stream_info, uint32_t time_scale, ContainerType container_type) override +  +void OnSampleDurationReady (uint32_t sample_duration) override +  + +void OnMediaEnd (bool has_init_range, uint64_t init_range_start, uint64_t init_range_end, bool has_index_range, uint64_t index_range_start, uint64_t index_range_end, float duration_seconds, uint64_t file_size) override +  + +void OnNewSegment (uint64_t start_time, uint64_t duration, uint64_t segment_file_size) override +  -

Definition at line 28 of file vod_media_info_dump_muxer_listener.h.

Member Function Documentation

- +

Additional Inherited Members

- Public Types inherited from edash_packager::media::MuxerListener
enum  ContainerType { kContainerUnknown = 0, +
enum  ContainerType { kContainerUnknown = 0, kContainerMp4, kContainerMpeg2ts, kContainerWebM @@ -140,7 +140,7 @@ Additional Inherited Members
@@ -157,7 +157,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -201,7 +201,7 @@ Additional Inherited Members
diff --git a/docs/d9/db9/content__protection__element_8cc_source.html b/docs/d9/db9/content__protection__element_8cc_source.html index 07ae6dec0c..bb9fd23c36 100644 --- a/docs/d9/db9/content__protection__element_8cc_source.html +++ b/docs/d9/db9/content__protection__element_8cc_source.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/db9/muxer_8cc_source.html b/docs/d9/db9/muxer_8cc_source.html index c171369c80..faa3399b23 100644 --- a/docs/d9/db9/muxer_8cc_source.html +++ b/docs/d9/db9/muxer_8cc_source.html @@ -214,7 +214,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/dbd/webm__stream__parser_8cc_source.html b/docs/d9/dbd/webm__stream__parser_8cc_source.html new file mode 100644 index 0000000000..014d412750 --- /dev/null +++ b/docs/d9/dbd/webm__stream__parser_8cc_source.html @@ -0,0 +1,344 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_stream_parser.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_stream_parser.cc
+
+
+
1 // Copyright 2014 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 #include "packager/media/formats/webm/webm_stream_parser.h"
+
6 
+
7 #include <string>
+
8 
+
9 #include "packager/base/callback.h"
+
10 #include "packager/base/callback_helpers.h"
+
11 #include "packager/base/logging.h"
+
12 #include "packager/media/base/timestamp.h"
+
13 #include "packager/media/formats/webm/webm_cluster_parser.h"
+
14 #include "packager/media/formats/webm/webm_constants.h"
+
15 #include "packager/media/formats/webm/webm_content_encodings.h"
+
16 #include "packager/media/formats/webm/webm_info_parser.h"
+
17 #include "packager/media/formats/webm/webm_tracks_parser.h"
+
18 
+
19 namespace edash_packager {
+
20 namespace media {
+
21 
+
22 WebMStreamParser::WebMStreamParser()
+
23  : state_(kWaitingForInit),
+
24  unknown_segment_size_(false) {
+
25 }
+
26 
+
27 WebMStreamParser::~WebMStreamParser() {
+
28 }
+
29 
+ +
31  const InitCB& init_cb,
+
32  const NewSampleCB& new_sample_cb,
+
33  KeySource* decryption_key_source) {
+
34  DCHECK_EQ(state_, kWaitingForInit);
+
35  DCHECK(init_cb_.is_null());
+
36  DCHECK(!init_cb.is_null());
+
37  DCHECK(!new_sample_cb.is_null());
+
38 
+
39  ChangeState(kParsingHeaders);
+
40  init_cb_ = init_cb;
+
41  new_sample_cb_ = new_sample_cb;
+
42  decryption_key_source_ = decryption_key_source;
+
43  ignore_text_tracks_ = true;
+
44 }
+
45 
+ +
47  DCHECK_NE(state_, kWaitingForInit);
+
48 
+
49  byte_queue_.Reset();
+
50  if (cluster_parser_)
+
51  cluster_parser_->Reset();
+
52  if (state_ == kParsingClusters) {
+
53  ChangeState(kParsingHeaders);
+
54  }
+
55 }
+
56 
+
57 bool WebMStreamParser::Parse(const uint8_t* buf, int size) {
+
58  DCHECK_NE(state_, kWaitingForInit);
+
59 
+
60  if (state_ == kError)
+
61  return false;
+
62 
+
63  byte_queue_.Push(buf, size);
+
64 
+
65  int result = 0;
+
66  int bytes_parsed = 0;
+
67  const uint8_t* cur = NULL;
+
68  int cur_size = 0;
+
69 
+
70  byte_queue_.Peek(&cur, &cur_size);
+
71  while (cur_size > 0) {
+
72  State oldState = state_;
+
73  switch (state_) {
+
74  case kParsingHeaders:
+
75  result = ParseInfoAndTracks(cur, cur_size);
+
76  break;
+
77 
+
78  case kParsingClusters:
+
79  result = ParseCluster(cur, cur_size);
+
80  break;
+
81 
+
82  case kWaitingForInit:
+
83  case kError:
+
84  return false;
+
85  }
+
86 
+
87  if (result < 0) {
+
88  ChangeState(kError);
+
89  return false;
+
90  }
+
91 
+
92  if (state_ == oldState && result == 0)
+
93  break;
+
94 
+
95  DCHECK_GE(result, 0);
+
96  cur += result;
+
97  cur_size -= result;
+
98  bytes_parsed += result;
+
99  }
+
100 
+
101  byte_queue_.Pop(bytes_parsed);
+
102  return true;
+
103 }
+
104 
+
105 void WebMStreamParser::ChangeState(State new_state) {
+
106  DVLOG(1) << "ChangeState() : " << state_ << " -> " << new_state;
+
107  state_ = new_state;
+
108 }
+
109 
+
110 int WebMStreamParser::ParseInfoAndTracks(const uint8_t* data, int size) {
+
111  DVLOG(2) << "ParseInfoAndTracks()";
+
112  DCHECK(data);
+
113  DCHECK_GT(size, 0);
+
114 
+
115  const uint8_t* cur = data;
+
116  int cur_size = size;
+
117  int bytes_parsed = 0;
+
118 
+
119  int id;
+
120  int64_t element_size;
+
121  int result = WebMParseElementHeader(cur, cur_size, &id, &element_size);
+
122 
+
123  if (result <= 0)
+
124  return result;
+
125 
+
126  switch (id) {
+
127  case kWebMIdEBMLHeader:
+
128  case kWebMIdSeekHead:
+
129  case kWebMIdVoid:
+
130  case kWebMIdCRC32:
+
131  case kWebMIdCues:
+
132  case kWebMIdChapters:
+
133  case kWebMIdTags:
+
134  case kWebMIdAttachments:
+
135  // TODO(matthewjheaney): Implement support for chapters.
+
136  if (cur_size < (result + element_size)) {
+
137  // We don't have the whole element yet. Signal we need more data.
+
138  return 0;
+
139  }
+
140  // Skip the element.
+
141  return result + element_size;
+
142  break;
+
143  case kWebMIdCluster:
+
144  if (!cluster_parser_) {
+
145  LOG(ERROR) << "Found Cluster element before Info.";
+
146  return -1;
+
147  }
+
148  ChangeState(kParsingClusters);
+
149  return 0;
+
150  break;
+
151  case kWebMIdSegment:
+
152  // Segment of unknown size indicates live stream.
+
153  if (element_size == kWebMUnknownSize)
+
154  unknown_segment_size_ = true;
+
155  // Just consume the segment header.
+
156  return result;
+
157  break;
+
158  case kWebMIdInfo:
+
159  // We've found the element we are looking for.
+
160  break;
+
161  default: {
+
162  LOG(ERROR) << "Unexpected element ID 0x" << std::hex << id;
+
163  return -1;
+
164  }
+
165  }
+
166 
+
167  WebMInfoParser info_parser;
+
168  result = info_parser.Parse(cur, cur_size);
+
169 
+
170  if (result <= 0)
+
171  return result;
+
172 
+
173  cur += result;
+
174  cur_size -= result;
+
175  bytes_parsed += result;
+
176 
+
177  WebMTracksParser tracks_parser(ignore_text_tracks_);
+
178  result = tracks_parser.Parse(cur, cur_size);
+
179 
+
180  if (result <= 0)
+
181  return result;
+
182 
+
183  bytes_parsed += result;
+
184 
+
185  double timecode_scale_in_us = info_parser.timecode_scale() / 1000.0;
+
186  int64_t duration_in_us = info_parser.duration() * timecode_scale_in_us;
+
187 
+
188  std::vector<scoped_refptr<StreamInfo>> streams;
+
189  scoped_refptr<AudioStreamInfo> audio_stream_info =
+
190  tracks_parser.audio_stream_info();
+
191  streams.push_back(tracks_parser.audio_stream_info());
+
192  streams.back()->set_duration(duration_in_us);
+
193  if (streams.back()->is_encrypted())
+
194  OnEncryptedMediaInitData(tracks_parser.audio_encryption_key_id());
+
195 
+
196  streams.push_back(tracks_parser.video_stream_info());
+
197  streams.back()->set_duration(duration_in_us);
+
198  if (streams.back()->is_encrypted())
+
199  OnEncryptedMediaInitData(tracks_parser.video_encryption_key_id());
+
200 
+
201  init_cb_.Run(streams);
+
202 
+
203  cluster_parser_.reset(new WebMClusterParser(
+
204  info_parser.timecode_scale(), tracks_parser.audio_track_num(),
+
205  tracks_parser.GetAudioDefaultDuration(timecode_scale_in_us),
+
206  tracks_parser.video_track_num(),
+
207  tracks_parser.GetVideoDefaultDuration(timecode_scale_in_us),
+
208  tracks_parser.text_tracks(), tracks_parser.ignored_tracks(),
+
209  tracks_parser.audio_encryption_key_id(),
+
210  tracks_parser.video_encryption_key_id(), audio_stream_info->codec(),
+
211  new_sample_cb_));
+
212 
+
213  return bytes_parsed;
+
214 }
+
215 
+
216 int WebMStreamParser::ParseCluster(const uint8_t* data, int size) {
+
217  if (!cluster_parser_)
+
218  return -1;
+
219 
+
220  int bytes_parsed = cluster_parser_->Parse(data, size);
+
221  if (bytes_parsed < 0)
+
222  return bytes_parsed;
+
223 
+
224  bool cluster_ended = cluster_parser_->cluster_ended();
+
225  if (cluster_ended) {
+
226  ChangeState(kParsingHeaders);
+
227  }
+
228 
+
229  return bytes_parsed;
+
230 }
+
231 
+
232 void WebMStreamParser::OnEncryptedMediaInitData(const std::string& key_id) {
+
233  NOTIMPLEMENTED() << "WebM decryption is not implemented yet.";
+
234 }
+
235 
+
236 } // namespace media
+
237 } // namespace edash_packager
+
void Push(const uint8_t *data, int size)
Append new bytes to the end of the queue.
Definition: byte_queue.cc:29
+ +
bool Parse(const uint8_t *buf, int size) override
+
base::Callback< bool(uint32_t track_id, const scoped_refptr< MediaSample > &media_sample)> NewSampleCB
Definition: media_parser.h:43
+
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:29
+ +
void Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) override
+
void Reset()
Reset the queue to the empty state.
Definition: byte_queue.cc:24
+
void Peek(const uint8_t **data, int *size) const
Definition: byte_queue.cc:63
+
+ + + + diff --git a/docs/d9/dc8/webm__constants_8cc_source.html b/docs/d9/dc8/webm__constants_8cc_source.html new file mode 100644 index 0000000000..7996bef5db --- /dev/null +++ b/docs/d9/dc8/webm__constants_8cc_source.html @@ -0,0 +1,114 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_constants.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_constants.cc
+
+
+
1 // Copyright 2014 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 #include "packager/media/formats/webm/webm_constants.h"
+
6 
+
7 namespace edash_packager {
+
8 namespace media {
+
9 
+
10 const char kWebMCodecSubtitles[] = "D_WEBVTT/SUBTITLES";
+
11 const char kWebMCodecCaptions[] = "D_WEBVTT/CAPTIONS";
+
12 const char kWebMCodecDescriptions[] = "D_WEBVTT/DESCRIPTIONS";
+
13 const char kWebMCodecMetadata[] = "D_WEBVTT/METADATA";
+
14 
+
15 } // namespace media
+
16 } // namespace edash_packager
+
+ + + + diff --git a/docs/d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html b/docs/d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html index 999ad12058..b06cfae1ea 100644 --- a/docs/d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html +++ b/docs/d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::ElementaryStreamDescriptor:< - - - - - - - + + + + + + + @@ -148,7 +148,7 @@ Additional Inherited Members

Definition at line 213 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -164,7 +164,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -183,7 +183,7 @@ Additional Inherited Members
diff --git a/docs/d9/dcc/webm__video__client_8h_source.html b/docs/d9/dcc/webm__video__client_8h_source.html new file mode 100644 index 0000000000..68bc92c601 --- /dev/null +++ b/docs/d9/dcc/webm__video__client_8h_source.html @@ -0,0 +1,163 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_video_client.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_video_client.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_WEBM_VIDEO_CLIENT_H_
+
6 #define MEDIA_FORMATS_WEBM_WEBM_VIDEO_CLIENT_H_
+
7 
+
8 #include <string>
+
9 #include <vector>
+
10 
+
11 #include "packager/base/memory/scoped_ptr.h"
+
12 #include "packager/media/base/video_stream_info.h"
+
13 #include "packager/media/formats/webm/webm_parser.h"
+
14 
+
15 namespace edash_packager {
+
16 namespace media {
+
17 class VideoDecoderConfig;
+
18 
+
19 // Helper class used to parse a Video element inside a TrackEntry element.
+ +
21  public:
+ +
23  ~WebMVideoClient() override;
+
24 
+
25  // Reset this object's state so it can process a new video track element.
+
26  void Reset();
+
27 
+
28  // Create a VideoStreamInfo with the data in |track_num|, |codec_id|,
+
29  // |codec_private|, |is_encrypted| and the fields parsed from the last video
+
30  // track element this object was used to parse.
+
31  // Returns a VideoStreamInfo scoped_refptr if successful.
+
32  // Returns an empty scoped_refptr if there was unexpected values in the
+
33  // provided parameters or video track element fields.
+
34  scoped_refptr<VideoStreamInfo> GetVideoStreamInfo(
+
35  int64_t track_num,
+
36  const std::string& codec_id,
+
37  const std::vector<uint8_t>& codec_private,
+
38  bool is_encrypted);
+
39 
+
40  private:
+
41  // WebMParserClient implementation.
+
42  bool OnUInt(int id, int64_t val) override;
+
43  bool OnBinary(int id, const uint8_t* data, int size) override;
+
44  bool OnFloat(int id, double val) override;
+
45 
+
46  int64_t pixel_width_;
+
47  int64_t pixel_height_;
+
48  int64_t crop_bottom_;
+
49  int64_t crop_top_;
+
50  int64_t crop_left_;
+
51  int64_t crop_right_;
+
52  int64_t display_width_;
+
53  int64_t display_height_;
+
54  int64_t display_unit_;
+
55  int64_t alpha_mode_;
+
56 
+
57  DISALLOW_COPY_AND_ASSIGN(WebMVideoClient);
+
58 };
+
59 
+
60 } // namespace media
+
61 } // namespace edash_packager
+
62 
+
63 #endif // MEDIA_FORMATS_WEBM_WEBM_VIDEO_CLIENT_H_
+ + +
+ + + + diff --git a/docs/d9/de3/muxer__listener__internal_8cc_source.html b/docs/d9/de3/muxer__listener__internal_8cc_source.html index b465f03fe8..a54ea870d0 100644 --- a/docs/d9/de3/muxer__listener__internal_8cc_source.html +++ b/docs/d9/de3/muxer__listener__internal_8cc_source.html @@ -326,7 +326,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/dec/classedash__packager_1_1media_1_1RequestSigner-members.html b/docs/d9/dec/classedash__packager_1_1media_1_1RequestSigner-members.html index ff823db04a..71b0b08671 100644 --- a/docs/d9/dec/classedash__packager_1_1media_1_1RequestSigner-members.html +++ b/docs/d9/dec/classedash__packager_1_1media_1_1RequestSigner-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/ded/aac__audio__specific__config_8cc_source.html b/docs/d9/ded/aac__audio__specific__config_8cc_source.html index c55f993205..6d860dd800 100644 --- a/docs/d9/ded/aac__audio__specific__config_8cc_source.html +++ b/docs/d9/ded/aac__audio__specific__config_8cc_source.html @@ -357,7 +357,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d02/structedash__packager_1_1media_1_1H264WeightingFactors-members.html b/docs/da/d02/structedash__packager_1_1media_1_1H264WeightingFactors-members.html index db8ec11fa4..523a8b8c80 100644 --- a/docs/da/d02/structedash__packager_1_1media_1_1H264WeightingFactors-members.html +++ b/docs/da/d02/structedash__packager_1_1media_1_1H264WeightingFactors-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d02/structedash__packager_1_1media_1_1mp4_1_1SyncSample-members.html b/docs/da/d02/structedash__packager_1_1media_1_1mp4_1_1SyncSample-members.html index eb2e702f1d..daef55d59f 100644 --- a/docs/da/d02/structedash__packager_1_1media_1_1mp4_1_1SyncSample-members.html +++ b/docs/da/d02/structedash__packager_1_1media_1_1mp4_1_1SyncSample-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SyncSample)edash_packager::media::mp4::SyncSamplevirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::SyncSamplevirtual
BoxType() const override (defined in edash_packager::media::mp4::SyncSample)edash_packager::media::mp4::SyncSamplevirtual
ComputeSize() overrideedash_packager::media::mp4::SyncSamplevirtual
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SyncSamplevirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SyncSamplevirtual
sample_number (defined in edash_packager::media::mp4::SyncSample)edash_packager::media::mp4::SyncSample
SyncSample() (defined in edash_packager::media::mp4::SyncSample)edash_packager::media::mp4::SyncSample
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~SyncSample() (defined in edash_packager::media::mp4::SyncSample)edash_packager::media::mp4::SyncSamplevirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~SyncSample() override (defined in edash_packager::media::mp4::SyncSample)edash_packager::media::mp4::SyncSample
diff --git a/docs/da/d04/audio__stream__info_8cc_source.html b/docs/da/d04/audio__stream__info_8cc_source.html index f3cdb171dc..aa925c6ff5 100644 --- a/docs/da/d04/audio__stream__info_8cc_source.html +++ b/docs/da/d04/audio__stream__info_8cc_source.html @@ -168,7 +168,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
79 
80 AudioStreamInfo::~AudioStreamInfo() {}
81 
- +
83  return codec_ != kUnknownAudioCodec && num_channels_ != 0 &&
84  num_channels_ <= limits::kMaxChannels && sample_bits_ > 0 &&
85  sample_bits_ <= limits::kMaxBitsPerSample &&
@@ -176,7 +176,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
87  sampling_frequency_ <= limits::kMaxSampleRate;
88 }
89 
-
90 std::string AudioStreamInfo::ToString() const {
+
90 std::string AudioStreamInfo::ToString() const {
91  return base::StringPrintf(
92  "%s codec: %s\n sample_bits: %d\n num_channels: %d\n "
93  "sampling_frequency: %d\n language: %s\n",
@@ -201,16 +201,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
112 
113 } // namespace media
114 } // namespace edash_packager
-
Abstract class holds stream information.
Definition: stream_info.h:25
+
std::string ToString() const override
+
Abstract class holds stream information.
Definition: stream_info.h:26
AudioStreamInfo(int track_id, uint32_t time_scale, uint64_t duration, AudioCodec codec, const std::string &codec_string, const std::string &language, uint8_t sample_bits, uint8_t num_channels, uint32_t sampling_frequency, const uint8_t *extra_data, size_t extra_data_size, bool is_encrypted)
Construct an initialized audio stream info object.
virtual std::string ToString() const
Definition: stream_info.cc:40
-
virtual std::string ToString() const OVERRIDE
-
virtual bool IsValidConfig() const OVERRIDE
+
static std::string GetCodecString(AudioCodec codec, uint8_t audio_object_type)
diff --git a/docs/da/d15/structedash__packager_1_1media_1_1mp4_1_1HandlerReference-members.html b/docs/da/d15/structedash__packager_1_1media_1_1mp4_1_1HandlerReference-members.html index e275770db4..4d1f75731f 100644 --- a/docs/da/d15/structedash__packager_1_1media_1_1mp4_1_1HandlerReference-members.html +++ b/docs/da/d15/structedash__packager_1_1media_1_1mp4_1_1HandlerReference-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::HandlerReference)edash_packager::media::mp4::HandlerReferencevirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::HandlerReferencevirtual
BoxType() const override (defined in edash_packager::media::mp4::HandlerReference)edash_packager::media::mp4::HandlerReferencevirtual
ComputeSize() overrideedash_packager::media::mp4::HandlerReferencevirtual
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
HandlerReference() (defined in edash_packager::media::mp4::HandlerReference)edash_packager::media::mp4::HandlerReference
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::HandlerReferencevirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::HandlerReferencevirtual
type (defined in edash_packager::media::mp4::HandlerReference)edash_packager::media::mp4::HandlerReference
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~HandlerReference() (defined in edash_packager::media::mp4::HandlerReference)edash_packager::media::mp4::HandlerReferencevirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~HandlerReference() override (defined in edash_packager::media::mp4::HandlerReference)edash_packager::media::mp4::HandlerReference
diff --git a/docs/da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html b/docs/da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html index 000ccd1b79..6e3371be3e 100644 --- a/docs/da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html +++ b/docs/da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::MovieExtendsHeader: - - - - - - - + + + + + + + @@ -145,7 +145,7 @@ Additional Inherited Members

Definition at line 403 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -161,7 +161,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -180,7 +180,7 @@ Additional Inherited Members
diff --git a/docs/da/d1e/classedash__packager_1_1media_1_1StreamInfo-members.html b/docs/da/d1e/classedash__packager_1_1media_1_1StreamInfo-members.html index c6c441c4d6..9354ec00ec 100644 --- a/docs/da/d1e/classedash__packager_1_1media_1_1StreamInfo-members.html +++ b/docs/da/d1e/classedash__packager_1_1media_1_1StreamInfo-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d22/key__rotation__fragmenter_8h_source.html b/docs/da/d22/key__rotation__fragmenter_8h_source.html index 7828ebe450..3cc5b13ff4 100644 --- a/docs/da/d22/key__rotation__fragmenter_8h_source.html +++ b/docs/da/d22/key__rotation__fragmenter_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_KEY_ROTATION_FRAGMENTER_H_
-
8 #define MEDIA_FORMATS_MP4_KEY_ROTATION_FRAGMENTER_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_KEY_ROTATION_FRAGMENTER_H_
+
9 
10 #include "packager/media/base/key_source.h"
11 #include "packager/media/event/muxer_listener.h"
12 #include "packager/media/formats/mp4/encrypting_fragmenter.h"
@@ -116,11 +116,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
43  int64_t clear_time,
44  uint8_t nalu_length_size,
45  MuxerListener* muxer_listener);
-
46  virtual ~KeyRotationFragmenter();
+
46  ~KeyRotationFragmenter() override;
47 
48  protected:
-
51  virtual Status PrepareFragmentForEncryption(bool enable_encryption) OVERRIDE;
-
52  virtual void FinalizeFragmentForEncryption() OVERRIDE;
+
51  Status PrepareFragmentForEncryption(bool enable_encryption) override;
+
52  void FinalizeFragmentForEncryption() override;
54 
55  private:
56  MovieFragment* moof_;
@@ -141,20 +141,20 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
71 } // namespace edash_packager
72 
73 #endif // MEDIA_FORMATS_MP4_KEY_ROTATION_FRAGMENTER_H_
-
virtual Status PrepareFragmentForEncryption(bool enable_encryption) OVERRIDE
KeyRotationFragmenter(MovieFragment *moof, TrackFragment *traf, KeySource *encryption_key_source, KeySource::TrackType track_type, int64_t crypto_period_duration, int64_t clear_time, uint8_t nalu_length_size, MuxerListener *muxer_listener)
+
void FinalizeFragmentForEncryption() override
Finalize current fragment for encryption.
EncryptingFragmenter generates MP4 fragments with sample encrypted.
+
Status PrepareFragmentForEncryption(bool enable_encryption) override
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:29
-
virtual void FinalizeFragmentForEncryption() OVERRIDE
Finalize current fragment for encryption.
diff --git a/docs/da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html b/docs/da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html index c7eec396d7..cc2e1e7829 100644 --- a/docs/da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html +++ b/docs/da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html @@ -137,10 +137,10 @@ uint32_t bytes_per_frameset_sampling_frequency (const uint32_t sampling_frequency)  
StreamInfo implementation overrides.
-virtual bool IsValidConfig () const OVERRIDE -  -virtual std::string ToString () const OVERRIDE -  +bool IsValidConfig () const override +  +std::string ToString () const override +  - Public Member Functions inherited from edash_packager::media::StreamInfo  StreamInfo (StreamType stream_type, int track_id, uint32_t time_scale, uint64_t duration, const std::string &codec_string, const std::string &language, const uint8_t *extra_data, size_t extra_data_size, bool is_encrypted) @@ -235,7 +235,7 @@ Static Public Member Functions - +
@@ -251,7 +251,7 @@ Static Public Member Functions
-virtual +overridevirtual
@@ -263,7 +263,7 @@ Static Public Member Functions
- +
@@ -279,7 +279,7 @@ Static Public Member Functions
-virtual +overridevirtual
@@ -298,7 +298,7 @@ Static Public Member Functions
diff --git a/docs/da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html b/docs/da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html index 9f5e7eff08..9e592418b1 100644 --- a/docs/da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html +++ b/docs/da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::ProtectionSystemSpecificHead - - - - - - - + + + + + + + @@ -151,7 +151,7 @@ Additional Inherited Members

Definition at line 51 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -167,7 +167,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -186,7 +186,7 @@ Additional Inherited Members
diff --git a/docs/da/d37/classedash__packager_1_1media_1_1IoCache-members.html b/docs/da/d37/classedash__packager_1_1media_1_1IoCache-members.html index 55705bad3b..f5210958e3 100644 --- a/docs/da/d37/classedash__packager_1_1media_1_1IoCache-members.html +++ b/docs/da/d37/classedash__packager_1_1media_1_1IoCache-members.html @@ -101,11 +101,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); Read(void *buffer, uint64_t size)edash_packager::media::IoCache WaitUntilEmptyOrClosed()edash_packager::media::IoCache Write(const void *buffer, uint64_t size)edash_packager::media::IoCache - ~IoCache() (defined in edash_packager::media::IoCache)edash_packager::media::IoCachevirtual + ~IoCache() (defined in edash_packager::media::IoCache)edash_packager::media::IoCache diff --git a/docs/da/d38/classedash__packager_1_1MpdNotifier.html b/docs/da/d38/classedash__packager_1_1MpdNotifier.html index c14f0fa8f2..c13c57be9b 100644 --- a/docs/da/d38/classedash__packager_1_1MpdNotifier.html +++ b/docs/da/d38/classedash__packager_1_1MpdNotifier.html @@ -175,7 +175,7 @@ Public Member Functions
Returns
true on success, false otherwise.
-

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

+

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

@@ -227,7 +227,7 @@ Public Member Functions

Call this method to force a flush. Implementations might not write out the MPD to a stream (file, stdout, etc.) when the MPD is updated, this forces a flush.

-

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

+

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

@@ -254,7 +254,7 @@ Public Member Functions

Initializes the notifier. For example, if this notifier uses a network for notification, then this would set up the connection with the remote host.

Returns
true on success, false otherwise.
-

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

+

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

@@ -313,7 +313,7 @@ Public Member Functions
Attention
This might change or get removed once DASH IF IOP specification writes a clear guideline on how to handle key rotation.
-

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

+

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

@@ -358,7 +358,7 @@ Public Member Functions
Returns
true on success, false otherwise.
-

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

+

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

@@ -417,7 +417,7 @@ Public Member Functions
Returns
true on success, false otherwise.
-

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

+

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

@@ -462,7 +462,7 @@ Public Member Functions
Returns
true on success, false otherwise. This may fail if the container specified by container_id does not exist.
-

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

+

Implemented in edash_packager::SimpleMpdNotifier, and edash_packager::DashIopMpdNotifier.

@@ -472,7 +472,7 @@ Public Member Functions diff --git a/docs/da/d40/classedash__packager_1_1media_1_1RsaPrivateKey-members.html b/docs/da/d40/classedash__packager_1_1media_1_1RsaPrivateKey-members.html index abf1c78b17..ef2daa0498 100644 --- a/docs/da/d40/classedash__packager_1_1media_1_1RsaPrivateKey-members.html +++ b/docs/da/d40/classedash__packager_1_1media_1_1RsaPrivateKey-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d47/structedash__packager_1_1media_1_1H264PPS-members.html b/docs/da/d47/structedash__packager_1_1media_1_1H264PPS-members.html index 60f1e3bd39..b5f6de7d34 100644 --- a/docs/da/d47/structedash__packager_1_1media_1_1H264PPS-members.html +++ b/docs/da/d47/structedash__packager_1_1media_1_1H264PPS-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d49/classedash__packager_1_1DashIopMpdNotifier.html b/docs/da/d49/classedash__packager_1_1DashIopMpdNotifier.html index 4eddccf1c0..1a6bf6d743 100644 --- a/docs/da/d49/classedash__packager_1_1DashIopMpdNotifier.html +++ b/docs/da/d49/classedash__packager_1_1DashIopMpdNotifier.html @@ -112,22 +112,22 @@ Public Member Functions  DashIopMpdNotifier (DashProfile dash_profile, const MpdOptions &mpd_options, const std::vector< std::string > &base_urls, const std::string &output_path)  
MpdNotifier implemetation overrides.
-

None of the methods write out the MPD file until Flush() is called.

+

None of the methods write out the MPD file until Flush() is called.

-virtual bool Init () OVERRIDE -  -virtual bool NotifyNewContainer (const MediaInfo &media_info, uint32_t *id) OVERRIDE -  -virtual bool NotifySampleDuration (uint32_t container_id, uint32_t sample_duration) OVERRIDE -  -virtual bool NotifyNewSegment (uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) OVERRIDE -  -virtual bool NotifyEncryptionUpdate (uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) OVERRIDE -  -virtual bool AddContentProtectionElement (uint32_t id, const ContentProtectionElement &content_protection_element) OVERRIDE -  -virtual bool Flush () OVERRIDE -  +bool Init () override +  +bool NotifyNewContainer (const MediaInfo &media_info, uint32_t *id) override +  +bool NotifySampleDuration (uint32_t container_id, uint32_t sample_duration) override +  +bool NotifyNewSegment (uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) override +  +bool NotifyEncryptionUpdate (uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) override +  +bool AddContentProtectionElement (uint32_t id, const ContentProtectionElement &content_protection_element) override +  +bool Flush () override +  - Public Member Functions inherited from edash_packager::MpdNotifier  MpdNotifier (DashProfile dash_profile) @@ -146,7 +146,7 @@ class DashIopMpdNotifierTe

Definition at line 29 of file dash_iop_mpd_notifier.h.

Member Function Documentation

- +
@@ -173,14 +173,14 @@ class 
DashIopMpdNotifierTe
-virtual +overridevirtual

Adds content protection information to the MPD.

Parameters
- +
container_idis the nummeric container ID obtained from calling NotifyNewContainer().
container_idis the nummeric container ID obtained from calling NotifyNewContainer().
content_protection_elementNew ContentProtection element specification.
@@ -193,7 +193,7 @@ class DashIopMpdNotifierTe
- +
@@ -209,7 +209,7 @@ class 
DashIopMpdNotifierTe
-virtual +overridevirtual
@@ -221,7 +221,7 @@ class DashIopMpdNotifierTe
- +
@@ -237,7 +237,7 @@ class 
DashIopMpdNotifierTe
-virtual +overridevirtual
@@ -250,7 +250,7 @@ class DashIopMpdNotifierTe
- +
@@ -289,14 +289,14 @@ class 
DashIopMpdNotifierTe
-virtual +overridevirtual

Notifiers MpdBuilder that there is a new PSSH for the container. This may be called whenever the key has to change, e.g. key rotation.

Parameters
- + @@ -311,7 +311,7 @@ class  +overridevirtual
container_idContainer ID obtained from calling NotifyNewContainer().
container_idContainer ID obtained from calling NotifyNewContainer().
drm_uuidis the UUID of the DRM for encryption.
new_key_idis the new key ID for the key.
new_psshis the new pssh box (including the header).
DashIopMpdNotifierTe - +
@@ -338,15 +338,15 @@ class 
DashIopMpdNotifierTe
-virtual
-

Notifies the MpdBuilder that there is a new container along with media_info. Live may have multiple files (segments) but those should be notified via NotifyNewSegment().

+

Notifies the MpdBuilder that there is a new container along with media_info. Live may have multiple files (segments) but those should be notified via NotifyNewSegment().

Parameters
- +
media_infois the MediaInfo that will be passed to MpdBuilder.
[out]container_idis the numeric ID of the container, possibly for NotifyNewSegment() and AddContentProtectionElement(). Only populated on success.
[out]container_idis the numeric ID of the container, possibly for NotifyNewSegment() and AddContentProtectionElement(). Only populated on success.
@@ -358,7 +358,7 @@ class DashIopMpdNotifierTe
- +
@@ -397,14 +397,14 @@ class 
DashIopMpdNotifierTe
-virtual +overridevirtual

Notifies MpdBuilder that there is a new segment ready. For live, this is usually a new segment, for VOD this is usually a subsegment.

Parameters
- + @@ -419,7 +419,7 @@ class  +overridevirtual
container_idContainer ID obtained from calling NotifyNewContainer().
container_idContainer ID obtained from calling NotifyNewContainer().
start_timeis the start time of the new segment, in units of the stream's time scale.
durationis the duration of the new segment, in units of the stream's time scale.
sizeis the new segment size in bytes.
DashIopMpdNotifierTe - +
@@ -446,14 +446,14 @@ class 
DashIopMpdNotifierTe
-virtual

Change the sample duration of container with container_id.

Parameters
- +
container_idContainer ID obtained from calling NotifyNewContainer().
container_idContainer ID obtained from calling NotifyNewContainer().
sample_durationis the duration of a sample in timescale of the media.
@@ -473,7 +473,7 @@ class DashIopMpdNotifierTe
diff --git a/docs/da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html b/docs/da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html index 341bfbc253..f3a8f0db6f 100644 --- a/docs/da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html +++ b/docs/da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::OriginalFormat:
- - - - - - - + + + + + + + @@ -137,7 +137,7 @@ Additional Inherited Members

Definition at line 73 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -153,7 +153,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -172,7 +172,7 @@ Additional Inherited Members
diff --git a/docs/da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html b/docs/da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html index 7885304d43..ac7bbce43d 100644 --- a/docs/da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html +++ b/docs/da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::CompositionTimeToSample:

Public Member Functions

- -virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE - Read/write the mp4 box from/to BoxBuffer.
-  - -virtual FourCC BoxType () const OVERRIDE -  -virtual uint32_t ComputeSize () OVERRIDE -  + +bool ReadWrite (BoxBuffer *buffer) override + Read/write the mp4 box from/to BoxBuffer.
+  + +FourCC BoxType () const override +  +uint32_t ComputeSize () override +  - Public Member Functions inherited from edash_packager::media::mp4::Box bool Parse (BoxReader *reader)   @@ -145,7 +145,7 @@ Additional Inherited Members

Definition at line 262 of file box_definitions.h.

Member Function Documentation

- +
@@ -161,7 +161,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -180,7 +180,7 @@ Additional Inherited Members
diff --git a/docs/da/d5c/widevine__key__source_8h_source.html b/docs/da/d5c/widevine__key__source_8h_source.html index 54ef7642fe..1fcff34dd8 100644 --- a/docs/da/d5c/widevine__key__source_8h_source.html +++ b/docs/da/d5c/widevine__key__source_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_WIDEVINE_KEY_SOURCE_H_
-
8 #define MEDIA_BASE_WIDEVINE_KEY_SOURCE_H_
-
9 
+
8 #define MEDIA_BASE_WIDEVINE_KEY_SOURCE_H_
+
9 
10 #include <map>
11 
12 #include "packager/base/memory/scoped_ptr.h"
@@ -114,20 +114,20 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
27  public:
29  explicit WidevineKeySource(const std::string& server_url);
30 
-
31  virtual ~WidevineKeySource();
+
31  ~WidevineKeySource() override;
32 
-
35  virtual Status FetchKeys(const std::vector<uint8_t>& content_id,
-
36  const std::string& policy) OVERRIDE;
-
37  virtual Status FetchKeys(const std::vector<uint8_t>& pssh_data) OVERRIDE;
-
38  virtual Status FetchKeys(uint32_t asset_id) OVERRIDE;
+
35  Status FetchKeys(const std::vector<uint8_t>& content_id,
+
36  const std::string& policy) override;
+
37  Status FetchKeys(const std::vector<uint8_t>& pssh_data) override;
+
38  Status FetchKeys(uint32_t asset_id) override;
39 
-
40  virtual Status GetKey(TrackType track_type, EncryptionKey* key) OVERRIDE;
-
41  virtual Status GetKey(const std::vector<uint8_t>& key_id,
-
42  EncryptionKey* key) OVERRIDE;
-
43  virtual Status GetCryptoPeriodKey(uint32_t crypto_period_index,
-
44  TrackType track_type,
-
45  EncryptionKey* key) OVERRIDE;
-
46  virtual std::string UUID() OVERRIDE;
+
40  Status GetKey(TrackType track_type, EncryptionKey* key) override;
+
41  Status GetKey(const std::vector<uint8_t>& key_id,
+
42  EncryptionKey* key) override;
+
43  Status GetCryptoPeriodKey(uint32_t crypto_period_index,
+
44  TrackType track_type,
+
45  EncryptionKey* key) override;
+
46  std::string UUID() override;
48 
51  void set_signer(scoped_ptr<RequestSigner> signer);
52 
@@ -203,21 +203,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
124 #endif // MEDIA_BASE_WIDEVINE_KEY_SOURCE_H_
WidevineKeySource(const std::string &server_url)
-
void set_signer(scoped_ptr< RequestSigner > signer)
-
virtual Status GetCryptoPeriodKey(uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key) OVERRIDE
+
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:29
-
virtual Status FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy) OVERRIDE
+
Status GetKey(TrackType track_type, EncryptionKey *key) override
void set_key_fetcher(scoped_ptr< KeyFetcher > key_fetcher)
+
Status FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy) override
-
virtual Status GetKey(TrackType track_type, EncryptionKey *key) OVERRIDE
+
Status GetCryptoPeriodKey(uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key) override
diff --git a/docs/da/d60/structedash__packager_1_1media_1_1EncryptionKey-members.html b/docs/da/d60/structedash__packager_1_1media_1_1EncryptionKey-members.html index 0a5a3d052a..fbde04eb23 100644 --- a/docs/da/d60/structedash__packager_1_1media_1_1EncryptionKey-members.html +++ b/docs/da/d60/structedash__packager_1_1media_1_1EncryptionKey-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d72/classedash__packager_1_1media_1_1mp2t_1_1EsParser-members.html b/docs/da/d72/classedash__packager_1_1media_1_1mp2t_1_1EsParser-members.html index 7145da8ef6..213b5c1b63 100644 --- a/docs/da/d72/classedash__packager_1_1media_1_1mp2t_1_1EsParser-members.html +++ b/docs/da/d72/classedash__packager_1_1media_1_1mp2t_1_1EsParser-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html b/docs/da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html index e36cf9712c..ff27d0175f 100644 --- a/docs/da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html +++ b/docs/da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html @@ -111,10 +111,10 @@ Public Member Functions  SingleSegmentSegmenter (const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov)  
Segmenter implementation overrides.
-virtual bool GetInitRange (size_t *offset, size_t *size) OVERRIDE -  -virtual bool GetIndexRange (size_t *offset, size_t *size) OVERRIDE -  +bool GetInitRange (size_t *offset, size_t *size) override +  +bool GetIndexRange (size_t *offset, size_t *size) override +  - Public Member Functions inherited from edash_packager::media::mp4::Segmenter  Segmenter (const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov) @@ -174,7 +174,7 @@ void set_progress_targetDefinition at line 28 of file single_segment_segmenter.h.

Member Function Documentation

- +
@@ -201,7 +201,7 @@ void  +overridevirtual
set_progress_target -virtual
@@ -213,7 +213,7 @@ void set_progress_target
- +
@@ -240,7 +240,7 @@ void  +overridevirtual
set_progress_target -virtual
@@ -259,7 +259,7 @@ void set_progress_target diff --git a/docs/da/d7a/fixed__key__encryption__flags_8h_source.html b/docs/da/d7a/fixed__key__encryption__flags_8h_source.html index 5bcfb784eb..1bbc3435e6 100644 --- a/docs/da/d7a/fixed__key__encryption__flags_8h_source.html +++ b/docs/da/d7a/fixed__key__encryption__flags_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Defines command line flags for fixed key encryption.
8 
9 #ifndef APP_FIXED_KEY_ENCRYPTION_FLAGS_H_
-
10 #define APP_FIXED_KEY_ENCRYPTION_FLAGS_H_
-
11 
+
10 #define APP_FIXED_KEY_ENCRYPTION_FLAGS_H_
+
11 
12 #include <gflags/gflags.h>
13 
14 DECLARE_bool(enable_fixed_key_encryption);
@@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/da/d7d/classedash__packager_1_1media_1_1StreamDescriptorCompareFn.html b/docs/da/d7d/classedash__packager_1_1media_1_1StreamDescriptorCompareFn.html index e1b616ddd3..a804410450 100644 --- a/docs/da/d7d/classedash__packager_1_1media_1_1StreamDescriptorCompareFn.html +++ b/docs/da/d7d/classedash__packager_1_1media_1_1StreamDescriptorCompareFn.html @@ -109,7 +109,7 @@ bool operator() (const
diff --git a/docs/da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html b/docs/da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html index 68652bc476..6074f43309 100644 --- a/docs/da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html +++ b/docs/da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html @@ -108,15 +108,15 @@ Inheritance diagram for edash_packager::media::mp4::ChunkLargeOffset: - - - - - - - + + + + + + + @@ -146,7 +146,7 @@ Additional Inherited Members

Definition at line 299 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -162,7 +162,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -170,7 +170,7 @@ Additional Inherited Members

Implements edash_packager::media::mp4::Box.

-

Reimplemented in edash_packager::media::mp4::ChunkOffset.

+

Reimplemented in edash_packager::media::mp4::ChunkOffset.

Definition at line 686 of file box_definitions.cc.

@@ -183,7 +183,7 @@ Additional Inherited Members
diff --git a/docs/da/d88/mp4__muxer_8cc_source.html b/docs/da/d88/mp4__muxer_8cc_source.html index 58e2f8f569..fc242f7595 100644 --- a/docs/da/d88/mp4__muxer_8cc_source.html +++ b/docs/da/d88/mp4__muxer_8cc_source.html @@ -404,7 +404,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d8e/container__names_8cc_source.html b/docs/da/d8e/container__names_8cc_source.html index b471a55400..7ca9ba1c23 100644 --- a/docs/da/d8e/container__names_8cc_source.html +++ b/docs/da/d8e/container__names_8cc_source.html @@ -108,15 +108,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
19  ((static_cast<uint32_t>(static_cast<uint8_t>(a)) << 24) | \
20  (static_cast<uint8_t>(b) << 16) | (static_cast<uint8_t>(c) << 8) | \
21  (static_cast<uint8_t>(d)))
-
22 
+
22 
23 #define RCHECK(x) \
24  do { \
25  if (!(x)) \
26  return false; \
27  } while (0)
-
28 
+
28 
29 #define UTF8_BYTE_ORDER_MARK "\xef\xbb\xbf"
-
30 
+
30 
31 // Helper function to read 2 bytes (16 bits, big endian) from a buffer.
32 static int Read16(const uint8_t* p) {
33  return p[0] << 8 | p[1];
@@ -1763,7 +1763,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html b/docs/da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html index 2cca5d97d9..c721ae2b39 100644 --- a/docs/da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html +++ b/docs/da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::SoundMediaHeader: - - - - - - - + + + + + + + @@ -145,7 +145,7 @@ Additional Inherited Members

Definition at line 352 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -161,7 +161,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -180,7 +180,7 @@ Additional Inherited Members
diff --git a/docs/da/dc3/status_8cc_source.html b/docs/da/dc3/status_8cc_source.html index fae791fee6..f3d8d0661d 100644 --- a/docs/da/dc3/status_8cc_source.html +++ b/docs/da/dc3/status_8cc_source.html @@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dcb/es__descriptor_8h_source.html b/docs/da/dcb/es__descriptor_8h_source.html index 1533680daf..f476740bd9 100644 --- a/docs/da/dcb/es__descriptor_8h_source.html +++ b/docs/da/dcb/es__descriptor_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP4_ES_DESCRIPTOR_H_
-
6 #define MEDIA_FORMATS_MP4_ES_DESCRIPTOR_H_
-
7 
+
6 #define MEDIA_FORMATS_MP4_ES_DESCRIPTOR_H_
+
7 
8 #include <stddef.h>
9 #include <stdint.h>
10 
@@ -172,7 +172,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dd0/webm__info__parser_8h_source.html b/docs/da/dd0/webm__info__parser_8h_source.html new file mode 100644 index 0000000000..b3102f8240 --- /dev/null +++ b/docs/da/dd0/webm__info__parser_8h_source.html @@ -0,0 +1,151 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_info_parser.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_info_parser.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_WEBM_INFO_PARSER_H_
+
6 #define MEDIA_FORMATS_WEBM_WEBM_INFO_PARSER_H_
+
7 
+
8 #include "packager/base/compiler_specific.h"
+
9 #include "packager/base/time/time.h"
+
10 #include "packager/media/formats/webm/webm_parser.h"
+
11 
+
12 namespace edash_packager {
+
13 namespace media {
+
14 
+
15 // Parser for WebM Info element.
+ +
17  public:
+ +
19  ~WebMInfoParser() override;
+
20 
+
21  // Parses a WebM Info element in |buf|.
+
22  //
+
23  // Returns -1 if the parse fails.
+
24  // Returns 0 if more data is needed.
+
25  // Returns the number of bytes parsed on success.
+
26  int Parse(const uint8_t* buf, int size);
+
27 
+
28  int64_t timecode_scale() const { return timecode_scale_; }
+
29  double duration() const { return duration_; }
+
30  base::Time date_utc() const { return date_utc_; }
+
31 
+
32  private:
+
33  // WebMParserClient methods
+
34  WebMParserClient* OnListStart(int id) override;
+
35  bool OnListEnd(int id) override;
+
36  bool OnUInt(int id, int64_t val) override;
+
37  bool OnFloat(int id, double val) override;
+
38  bool OnBinary(int id, const uint8_t* data, int size) override;
+
39  bool OnString(int id, const std::string& str) override;
+
40 
+
41  int64_t timecode_scale_;
+
42  double duration_;
+
43  base::Time date_utc_;
+
44 
+
45  DISALLOW_COPY_AND_ASSIGN(WebMInfoParser);
+
46 };
+
47 
+
48 } // namespace media
+
49 } // namespace edash_packager
+
50 
+
51 #endif // MEDIA_FORMATS_WEBM_WEBM_INFO_PARSER_H_
+ + +
+ + + + diff --git a/docs/da/dd1/fragmenter_8h_source.html b/docs/da/dd1/fragmenter_8h_source.html index 64eb997e72..da8e87aacd 100644 --- a/docs/da/dd1/fragmenter_8h_source.html +++ b/docs/da/dd1/fragmenter_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_FRAGMENTER_H_
-
8 #define MEDIA_FORMATS_MP4_FRAGMENTER_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_FRAGMENTER_H_
+
9 
10 #include <vector>
11 
12 #include "packager/base/memory/ref_counted.h"
@@ -198,7 +198,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/de2/mock__mpd__builder_8cc_source.html b/docs/da/de2/mock__mpd__builder_8cc_source.html index ea65210753..66b7b625cd 100644 --- a/docs/da/de2/mock__mpd__builder_8cc_source.html +++ b/docs/da/de2/mock__mpd__builder_8cc_source.html @@ -123,7 +123,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/de4/classedash__packager_1_1media_1_1AudioTimestampHelper.html b/docs/da/de4/classedash__packager_1_1media_1_1AudioTimestampHelper.html index 4d34d8c1e7..34e3b4de03 100644 --- a/docs/da/de4/classedash__packager_1_1media_1_1AudioTimestampHelper.html +++ b/docs/da/de4/classedash__packager_1_1media_1_1AudioTimestampHelper.html @@ -131,7 +131,7 @@ int64_t GetFramesToTarget< diff --git a/docs/da/dfe/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset.html b/docs/da/dfe/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset.html index 159344aac2..979da9297c 100644 --- a/docs/da/dfe/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset.html +++ b/docs/da/dfe/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset.html @@ -112,7 +112,7 @@ int64_t sample_offset< diff --git a/docs/db/d01/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator.html b/docs/db/d01/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator.html index be0a3c6530..ec71bd4bcb 100644 --- a/docs/db/d01/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator.html +++ b/docs/db/d01/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator.html @@ -177,7 +177,7 @@ Public Member Functions diff --git a/docs/db/d09/namespaceedash__packager.html b/docs/db/d09/namespaceedash__packager.html index 7478c47f2e..ddde519449 100644 --- a/docs/db/d09/namespaceedash__packager.html +++ b/docs/db/d09/namespaceedash__packager.html @@ -131,12 +131,12 @@ Classes - - - @@ -149,7 +149,7 @@ Additional Inherited Members diff --git a/docs/db/d31/track__run__iterator_8cc_source.html b/docs/db/d31/track__run__iterator_8cc_source.html index c325168d10..97b0cb076d 100644 --- a/docs/db/d31/track__run__iterator_8cc_source.html +++ b/docs/db/d31/track__run__iterator_8cc_source.html @@ -699,7 +699,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d44/structedash__packager_1_1media_1_1mp4_1_1DataReference-members.html b/docs/db/d44/structedash__packager_1_1media_1_1mp4_1_1DataReference-members.html index 142b1cbbe4..7a6c84074d 100644 --- a/docs/db/d44/structedash__packager_1_1media_1_1mp4_1_1DataReference-members.html +++ b/docs/db/d44/structedash__packager_1_1media_1_1mp4_1_1DataReference-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

Enumerations

enum  DashProfile { kUnknownProfile, +
enum  DashProfile { kUnknownProfile, kOnDemandProfile, kLiveProfile }
 
enum  ContentType { kContentTypeUnknown, +
enum  ContentType { kContentTypeUnknown, kContentTypeVideo, kContentTypeAudio, kContentTypeText @@ -550,7 +550,7 @@ const char kEncryptedMp4Va diff --git a/docs/db/d11/classedash__packager_1_1media_1_1ContentEncoding-members.html b/docs/db/d11/classedash__packager_1_1media_1_1ContentEncoding-members.html new file mode 100644 index 0000000000..6ab962940c --- /dev/null +++ b/docs/db/d11/classedash__packager_1_1media_1_1ContentEncoding-members.html @@ -0,0 +1,140 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
edash_packager::media::ContentEncoding Member List
+
+
+ +

This is the complete list of members for edash_packager::media::ContentEncoding, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
cipher_mode() const (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncodinginline
CipherMode enum name (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
ContentEncoding() (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
encryption_algo() const (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncodinginline
encryption_key_id() const (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncodinginline
EncryptionAlgo enum name (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kCipherModeCtr enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kCipherModeInvalid enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kEncAlgo3des enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kEncAlgoAes enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kEncAlgoBlowfish enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kEncAlgoDes enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kEncAlgoInvalid enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kEncAlgoNotEncrypted enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kEncAlgoTwofish enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kOrderInvalid (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncodingstatic
kScopeAllFrameContents enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kScopeInvalid enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kScopeMax enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kScopeNextContentEncodingData enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kScopeTrackPrivateData enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kTypeCompression enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kTypeEncryption enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
kTypeInvalid enum value (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
order() const (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncodinginline
scope() const (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncodinginline
Scope enum name (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
set_cipher_mode(CipherMode mode) (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncodinginline
set_encryption_algo(EncryptionAlgo encryption_algo) (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncodinginline
set_order(int64_t order) (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncodinginline
set_scope(Scope scope) (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncodinginline
set_type(Type type) (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncodinginline
SetEncryptionKeyId(const uint8_t *encryption_key_id, int size) (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
type() const (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncodinginline
Type enum name (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
~ContentEncoding() (defined in edash_packager::media::ContentEncoding)edash_packager::media::ContentEncoding
+ + + + diff --git a/docs/db/d15/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html b/docs/db/d15/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html index 0b178d34f3..2c64ee42a6 100644 --- a/docs/db/d15/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html +++ b/docs/db/d15/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::DecodingTimeToSample)edash_packager::media::mp4::DecodingTimeToSamplevirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::DecodingTimeToSamplevirtual
BoxType() const override (defined in edash_packager::media::mp4::DecodingTimeToSample)edash_packager::media::mp4::DecodingTimeToSamplevirtual
ComputeSize() overrideedash_packager::media::mp4::DecodingTimeToSamplevirtual
decoding_time (defined in edash_packager::media::mp4::DecodingTimeToSample)edash_packager::media::mp4::DecodingTimeToSample
DecodingTimeToSample() (defined in edash_packager::media::mp4::DecodingTimeToSample)edash_packager::media::mp4::DecodingTimeToSample
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::DecodingTimeToSamplevirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::DecodingTimeToSamplevirtual
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~DecodingTimeToSample() (defined in edash_packager::media::mp4::DecodingTimeToSample)edash_packager::media::mp4::DecodingTimeToSamplevirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~DecodingTimeToSample() override (defined in edash_packager::media::mp4::DecodingTimeToSample)edash_packager::media::mp4::DecodingTimeToSample
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
diff --git a/docs/db/d23/classedash__packager_1_1media_1_1WebMTracksParser.html b/docs/db/d23/classedash__packager_1_1media_1_1WebMTracksParser.html new file mode 100644 index 0000000000..3da7f352e4 --- /dev/null +++ b/docs/db/d23/classedash__packager_1_1media_1_1WebMTracksParser.html @@ -0,0 +1,175 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::WebMTracksParser Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::WebMTracksParser Class Reference
+
+
+
+Inheritance diagram for edash_packager::media::WebMTracksParser:
+
+
+ + +edash_packager::media::WebMParserClient + +
+ + + + +

+Public Types

+typedef std::map< int,
+TextTrackConfig
TextTracks
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

WebMTracksParser (bool ignore_text_tracks)
 
+int Parse (const uint8_t *buf, int size)
 
+int64_t audio_track_num () const
 
+int64_t video_track_num () const
 
+int64_t GetAudioDefaultDuration (const double timecode_scale_in_us) const
 
+int64_t GetVideoDefaultDuration (const double timecode_scale_in_us) const
 
+const std::set< int64_t > & ignored_tracks () const
 
+const std::string & audio_encryption_key_id () const
 
+scoped_refptr< AudioStreamInfoaudio_stream_info ()
 
+const std::string & video_encryption_key_id () const
 
+scoped_refptr< VideoStreamInfovideo_stream_info ()
 
+const TextTracks & text_tracks () const
 
+ + + + +

+Additional Inherited Members

- Protected Member Functions inherited from edash_packager::media::WebMParserClient
DISALLOW_COPY_AND_ASSIGN (WebMParserClient)
 
+

Detailed Description

+
+

Definition at line 28 of file webm_tracks_parser.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/db/d23/classedash__packager_1_1media_1_1WebMTracksParser.png b/docs/db/d23/classedash__packager_1_1media_1_1WebMTracksParser.png new file mode 100644 index 0000000000..053d78ab1f Binary files /dev/null and b/docs/db/d23/classedash__packager_1_1media_1_1WebMTracksParser.png differ diff --git a/docs/db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html b/docs/db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html index 0c4ab5850e..823c09f676 100644 --- a/docs/db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html +++ b/docs/db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html @@ -412,7 +412,7 @@ bool 
is_keyframe () co diff --git a/docs/db/d2e/classedash__packager_1_1MockMpdBuilder.html b/docs/db/d2e/classedash__packager_1_1MockMpdBuilder.html index bff34a2971..eb5c599d3f 100644 --- a/docs/db/d2e/classedash__packager_1_1MockMpdBuilder.html +++ b/docs/db/d2e/classedash__packager_1_1MockMpdBuilder.html @@ -131,7 +131,7 @@ Public Member Functions

Additional Inherited Members

- Public Types inherited from edash_packager::MpdBuilder
enum  MpdType { kStatic = 0, +
enum  MpdType { kStatic = 0, kDynamic }
 
- - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::DataReference)edash_packager::media::mp4::DataReferencevirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::DataReferencevirtual
BoxType() const override (defined in edash_packager::media::mp4::DataReference)edash_packager::media::mp4::DataReferencevirtual
ComputeSize() overrideedash_packager::media::mp4::DataReferencevirtual
data_entry (defined in edash_packager::media::mp4::DataReference)edash_packager::media::mp4::DataReference
DataReference() (defined in edash_packager::media::mp4::DataReference)edash_packager::media::mp4::DataReference
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::DataReferencevirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::DataReferencevirtual
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~DataReference() (defined in edash_packager::media::mp4::DataReference)edash_packager::media::mp4::DataReferencevirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~DataReference() override (defined in edash_packager::media::mp4::DataReference)edash_packager::media::mp4::DataReference
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
diff --git a/docs/db/d45/mpd__notify__muxer__listener_8h_source.html b/docs/db/d45/mpd__notify__muxer__listener_8h_source.html index 13ad5521d9..9d0da0b827 100644 --- a/docs/db/d45/mpd__notify__muxer__listener_8h_source.html +++ b/docs/db/d45/mpd__notify__muxer__listener_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Implementation of MuxerListener that deals with MpdNotifier.
8 
9 #ifndef MEDIA_EVENT_MPD_NOTIFY_MUXER_LISTENER_H_
-
10 #define MEDIA_EVENT_MPD_NOTIFY_MUXER_LISTENER_H_
-
11 
+
10 #define MEDIA_EVENT_MPD_NOTIFY_MUXER_LISTENER_H_
+
11 
12 #include <list>
13 #include <vector>
14 
@@ -116,68 +116,67 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
28  public:
31  explicit MpdNotifyMuxerListener(MpdNotifier* mpd_notifier);
-
32  virtual ~MpdNotifyMuxerListener();
+
32  ~MpdNotifyMuxerListener() override;
33 
36  void SetContentProtectionSchemeIdUri(const std::string& scheme_id_uri);
37 
-
40  virtual void OnEncryptionInfoReady(
-
41  bool is_initial_encryption_info,
-
42  const std::string& content_protection_uuid,
-
43  const std::string& content_protection_name_version,
-
44  const std::vector<uint8_t>& key_id,
-
45  const std::vector<uint8_t>& pssh) OVERRIDE;
-
46  virtual void OnMediaStart(const MuxerOptions& muxer_options,
-
47  const StreamInfo& stream_info,
-
48  uint32_t time_scale,
-
49  ContainerType container_type) OVERRIDE;
-
50  virtual void OnSampleDurationReady(uint32_t sample_duration) OVERRIDE;
-
51  virtual void OnMediaEnd(bool has_init_range,
-
52  uint64_t init_range_start,
-
53  uint64_t init_range_end,
-
54  bool has_index_range,
-
55  uint64_t index_range_start,
-
56  uint64_t index_range_end,
-
57  float duration_seconds,
-
58  uint64_t file_size) OVERRIDE;
-
59  virtual void OnNewSegment(uint64_t start_time,
-
60  uint64_t duration,
-
61  uint64_t segment_file_size) OVERRIDE;
-
63 
-
64  private:
-
65  // This stores data passed into OnNewSegment() for VOD.
-
66  struct SubsegmentInfo {
-
67  uint64_t start_time;
-
68  uint64_t duration;
-
69  uint64_t segment_file_size;
-
70  };
-
71 
-
72  MpdNotifier* const mpd_notifier_;
-
73  uint32_t notification_id_;
-
74  scoped_ptr<MediaInfo> media_info_;
-
75  std::string scheme_id_uri_;
-
76 
-
77  bool is_encrypted_;
-
78  // Storage for values passed to OnEncryptionInfoReady().
-
79  std::string content_protection_uuid_;
-
80  std::string content_protection_name_version_;
-
81  std::string default_key_id_;
-
82  std::string pssh_;
-
83 
-
84  // Saves all the subsegment information for VOD. This should be used to call
-
85  // MpdNotifier::NotifyNewSegment() after NotifyNewSegment() is called
-
86  // (in OnMediaEnd). This is not used for live because NotifyNewSegment() is
-
87  // called immediately in OnNewSegment().
-
88  std::list<SubsegmentInfo> subsegments_;
-
89 
-
90  DISALLOW_COPY_AND_ASSIGN(MpdNotifyMuxerListener);
-
91 };
-
92 
-
93 } // namespace media
-
94 } // namespace edash_packager
-
95 
-
96 #endif // MEDIA_EVENT_MPD_NOTIFY_MUXER_LISTENER_H_
-
Abstract class holds stream information.
Definition: stream_info.h:25
-
virtual void OnSampleDurationReady(uint32_t sample_duration) OVERRIDE
+
40  void OnEncryptionInfoReady(bool is_initial_encryption_info,
+
41  const std::string& content_protection_uuid,
+
42  const std::string& content_protection_name_version,
+
43  const std::vector<uint8_t>& key_id,
+
44  const std::vector<uint8_t>& pssh) override;
+
45  void OnMediaStart(const MuxerOptions& muxer_options,
+
46  const StreamInfo& stream_info,
+
47  uint32_t time_scale,
+
48  ContainerType container_type) override;
+
49  void OnSampleDurationReady(uint32_t sample_duration) override;
+
50  void OnMediaEnd(bool has_init_range,
+
51  uint64_t init_range_start,
+
52  uint64_t init_range_end,
+
53  bool has_index_range,
+
54  uint64_t index_range_start,
+
55  uint64_t index_range_end,
+
56  float duration_seconds,
+
57  uint64_t file_size) override;
+
58  void OnNewSegment(uint64_t start_time,
+
59  uint64_t duration,
+
60  uint64_t segment_file_size) override;
+
62 
+
63  private:
+
64  // This stores data passed into OnNewSegment() for VOD.
+
65  struct SubsegmentInfo {
+
66  uint64_t start_time;
+
67  uint64_t duration;
+
68  uint64_t segment_file_size;
+
69  };
+
70 
+
71  MpdNotifier* const mpd_notifier_;
+
72  uint32_t notification_id_;
+
73  scoped_ptr<MediaInfo> media_info_;
+
74  std::string scheme_id_uri_;
+
75 
+
76  bool is_encrypted_;
+
77  // Storage for values passed to OnEncryptionInfoReady().
+
78  std::string content_protection_uuid_;
+
79  std::string content_protection_name_version_;
+
80  std::string default_key_id_;
+
81  std::string pssh_;
+
82 
+
83  // Saves all the subsegment information for VOD. This should be used to call
+
84  // MpdNotifier::NotifyNewSegment() after NotifyNewSegment() is called
+
85  // (in OnMediaEnd). This is not used for live because NotifyNewSegment() is
+
86  // called immediately in OnNewSegment().
+
87  std::list<SubsegmentInfo> subsegments_;
+
88 
+
89  DISALLOW_COPY_AND_ASSIGN(MpdNotifyMuxerListener);
+
90 };
+
91 
+
92 } // namespace media
+
93 } // namespace edash_packager
+
94 
+
95 #endif // MEDIA_EVENT_MPD_NOTIFY_MUXER_LISTENER_H_
+
Abstract class holds stream information.
Definition: stream_info.h:26
+
void OnSampleDurationReady(uint32_t sample_duration) override
@@ -187,7 +186,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d49/multi__segment__segmenter_8h_source.html b/docs/db/d49/multi__segment__segmenter_8h_source.html index 8128331e0b..6d53353b37 100644 --- a/docs/db/d49/multi__segment__segmenter_8h_source.html +++ b/docs/db/d49/multi__segment__segmenter_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_MULTI_SEGMENT_SEGMENTER_H_
-
8 #define MEDIA_FORMATS_MP4_MULTI_SEGMENT_SEGMENTER_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_MULTI_SEGMENT_SEGMENTER_H_
+
9 
10 #include "packager/media/formats/mp4/segmenter.h"
11 
12 namespace edash_packager {
@@ -109,16 +109,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
33  MultiSegmentSegmenter(const MuxerOptions& options,
34  scoped_ptr<FileType> ftyp,
35  scoped_ptr<Movie> moov);
-
36  virtual ~MultiSegmentSegmenter();
+
36  ~MultiSegmentSegmenter() override;
37 
-
40  virtual bool GetInitRange(size_t* offset, size_t* size) OVERRIDE;
-
41  virtual bool GetIndexRange(size_t* offset, size_t* size) OVERRIDE;
+
40  bool GetInitRange(size_t* offset, size_t* size) override;
+
41  bool GetIndexRange(size_t* offset, size_t* size) override;
43 
44  private:
45  // Segmenter implementation overrides.
-
46  virtual Status DoInitialize() OVERRIDE;
-
47  virtual Status DoFinalize() OVERRIDE;
-
48  virtual Status DoFinalizeSegment() OVERRIDE;
+
46  Status DoInitialize() override;
+
47  Status DoFinalize() override;
+
48  Status DoFinalizeSegment() override;
49 
50  // Write segment to file.
51  Status WriteSegment();
@@ -135,15 +135,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
62 
63 #endif // MEDIA_FORMATS_MP4_MULTI_SEGMENT_SEGMENTER_H_
+
bool GetIndexRange(size_t *offset, size_t *size) override
-
virtual bool GetInitRange(size_t *offset, size_t *size) OVERRIDE
-
virtual bool GetIndexRange(size_t *offset, size_t *size) OVERRIDE
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
+
bool GetInitRange(size_t *offset, size_t *size) override
diff --git a/docs/db/d4e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi.html b/docs/db/d4e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi.html index 8829f7506b..b5f1859035 100644 --- a/docs/db/d4e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi.html +++ b/docs/db/d4e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp2t::TsSectionPsi: - - - - - - + + + + + + @@ -126,7 +126,7 @@ virtual void  - diff --git a/docs/db/d51/mp2t__media__parser_8h_source.html b/docs/db/d51/mp2t__media__parser_8h_source.html index 26848f471d..d236417495 100644 --- a/docs/db/d51/mp2t__media__parser_8h_source.html +++ b/docs/db/d51/mp2t__media__parser_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP2T_MP2T_MEDIA_PARSER_H_
-
6 #define MEDIA_FORMATS_MP2T_MP2T_MEDIA_PARSER_H_
-
7 
+
6 #define MEDIA_FORMATS_MP2T_MP2T_MEDIA_PARSER_H_
+
7 
8 #include <deque>
9 #include <map>
10 
@@ -119,16 +119,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
30 class Mp2tMediaParser : public MediaParser {
31  public:
-
33  virtual ~Mp2tMediaParser();
+
33  ~Mp2tMediaParser() override;
34 
35  // MediaParser implementation overrides.
-
36  virtual void Init(const InitCB& init_cb,
-
37  const NewSampleCB& new_sample_cb,
-
38  KeySource* decryption_key_source) OVERRIDE;
+
36  void Init(const InitCB& init_cb,
+
37  const NewSampleCB& new_sample_cb,
+
38  KeySource* decryption_key_source) override;
39 
-
40  virtual void Flush() OVERRIDE;
+
40  void Flush() override;
41 
-
42  virtual bool Parse(const uint8_t* buf, int size) OVERRIDE;
+
42  bool Parse(const uint8_t* buf, int size) override;
43 
44  private:
45  typedef std::map<int, PidState*> PidMap;
@@ -145,56 +145,57 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
56 
57  // Callback invoked each time the audio/video decoder configuration is
58  // changed.
-
59  void OnNewStreamInfo(scoped_refptr<StreamInfo>& new_stream_info);
+
59  void OnNewStreamInfo(const scoped_refptr<StreamInfo>& new_stream_info);
60 
61  // Callback invoked by the ES media parser
62  // to emit a new audio/video access unit.
-
63  void OnEmitSample(uint32_t pes_pid, scoped_refptr<MediaSample>& new_sample);
-
64 
-
65  // Invoke the initialization callback if needed.
-
66  bool FinishInitializationIfNeeded();
-
67 
-
68  bool EmitRemainingSamples();
-
69 
-
72  void set_sbr_in_mime_type(bool sbr_in_mimetype) {
-
73  sbr_in_mimetype_ = sbr_in_mimetype; }
-
74 
-
75  // List of callbacks.
-
76  InitCB init_cb_;
-
77  NewSampleCB new_sample_cb_;
-
78 
-
79  bool sbr_in_mimetype_;
-
80 
-
81  // Bytes of the TS media.
-
82  ByteQueue ts_byte_queue_;
-
83 
-
84  // List of PIDs and their states.
-
85  PidMap pids_;
-
86 
-
87  // Whether |init_cb_| has been invoked.
-
88  bool is_initialized_;
-
89 
-
90  DISALLOW_COPY_AND_ASSIGN(Mp2tMediaParser);
-
91 };
-
92 
-
93 } // namespace mp2t
-
94 } // namespace media
-
95 } // namespace edash_packager
-
96 
-
97 #endif
+
63  void OnEmitSample(uint32_t pes_pid,
+
64  const scoped_refptr<MediaSample>& new_sample);
+
65 
+
66  // Invoke the initialization callback if needed.
+
67  bool FinishInitializationIfNeeded();
+
68 
+
69  bool EmitRemainingSamples();
+
70 
+
73  void set_sbr_in_mime_type(bool sbr_in_mimetype) {
+
74  sbr_in_mimetype_ = sbr_in_mimetype; }
+
75 
+
76  // List of callbacks.
+
77  InitCB init_cb_;
+
78  NewSampleCB new_sample_cb_;
+
79 
+
80  bool sbr_in_mimetype_;
+
81 
+
82  // Bytes of the TS media.
+
83  ByteQueue ts_byte_queue_;
+
84 
+
85  // List of PIDs and their states.
+
86  PidMap pids_;
+
87 
+
88  // Whether |init_cb_| has been invoked.
+
89  bool is_initialized_;
+
90 
+
91  DISALLOW_COPY_AND_ASSIGN(Mp2tMediaParser);
+
92 };
+
93 
+
94 } // namespace mp2t
+
95 } // namespace media
+
96 } // namespace edash_packager
+
97 
+
98 #endif
+ - -
virtual void Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) OVERRIDE
+
bool Parse(const uint8_t *buf, int size) override
base::Callback< bool(uint32_t track_id, const scoped_refptr< MediaSample > &media_sample)> NewSampleCB
Definition: media_parser.h:43
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:29
base::Callback< void(const std::vector< scoped_refptr< StreamInfo > > &stream_info)> InitCB
Definition: media_parser.h:34
-
virtual bool Parse(const uint8_t *buf, int size) OVERRIDE
+
void Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) override
diff --git a/docs/db/d56/classedash__packager_1_1SimpleMpdNotifier.html b/docs/db/d56/classedash__packager_1_1SimpleMpdNotifier.html index 6f21e61f5e..2c6a2f0f90 100644 --- a/docs/db/d56/classedash__packager_1_1SimpleMpdNotifier.html +++ b/docs/db/d56/classedash__packager_1_1SimpleMpdNotifier.html @@ -112,20 +112,20 @@ Public Member Functions   - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -144,7 +144,7 @@ class  +overridevirtual

Public Member Functions

-virtual bool Parse (bool payload_unit_start_indicator, const uint8_t *buf, int size) OVERRIDE
 
-virtual void Flush () OVERRIDE
 
-virtual void Reset () OVERRIDE
 
+bool Parse (bool payload_unit_start_indicator, const uint8_t *buf, int size) override
 
+void Flush () override
 
+void Reset () override
 
virtual bool ParsePsiSection (BitReader *bit_reader)=0
 
ResetPsiSecti

Additional Inherited Members

- Public Types inherited from edash_packager::media::mp2t::TsSection
enum  SpecialPid {
+
enum  SpecialPid {
  kPidPat = 0x0, kPidCat = 0x1, kPidTsdt = 0x2, @@ -147,7 +147,7 @@ Additional Inherited Members
SimpleMpdNotifier (DashProfile dash_profile, const MpdOptions &mpd_options, const std::vector< std::string > &base_urls, const std::string &output_path)
 
MpdNotifier implemetation overrides.
virtual bool Init () OVERRIDE
 
virtual bool NotifyNewContainer (const MediaInfo &media_info, uint32_t *id) OVERRIDE
 
virtual bool NotifySampleDuration (uint32_t container_id, uint32_t sample_duration) OVERRIDE
 
virtual bool NotifyNewSegment (uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) OVERRIDE
 
virtual bool NotifyEncryptionUpdate (uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) OVERRIDE
 
virtual bool AddContentProtectionElement (uint32_t id, const ContentProtectionElement &content_protection_element) OVERRIDE
 
virtual bool Flush () OVERRIDE
 
bool Init () override
 
bool NotifyNewContainer (const MediaInfo &media_info, uint32_t *id) override
 
bool NotifySampleDuration (uint32_t container_id, uint32_t sample_duration) override
 
bool NotifyNewSegment (uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) override
 
bool NotifyEncryptionUpdate (uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) override
 
bool AddContentProtectionElement (uint32_t id, const ContentProtectionElement &content_protection_element) override
 
bool Flush () override
 
- Public Member Functions inherited from edash_packager::MpdNotifier
 MpdNotifier (DashProfile dash_profile)
SimpleMpdNotifierTes

Definition at line 31 of file simple_mpd_notifier.h.

Member Function Documentation

- +
@@ -171,14 +171,14 @@ class 
SimpleMpdNotifierTes
-virtual

Adds content protection information to the MPD.

Parameters
- +
container_idis the nummeric container ID obtained from calling NotifyNewContainer().
container_idis the nummeric container ID obtained from calling NotifyNewContainer().
content_protection_elementNew ContentProtection element specification.
@@ -191,7 +191,7 @@ class SimpleMpdNotifierTes
- +
@@ -207,7 +207,7 @@ class 
SimpleMpdNotifierTes
-virtual +overridevirtual
@@ -219,7 +219,7 @@ class SimpleMpdNotifierTes
- +
@@ -235,7 +235,7 @@ class 
SimpleMpdNotifierTes
-virtual +overridevirtual
@@ -248,7 +248,7 @@ class SimpleMpdNotifierTes
- +
@@ -287,14 +287,14 @@ class 
SimpleMpdNotifierTes
-virtual +overridevirtual

Notifiers MpdBuilder that there is a new PSSH for the container. This may be called whenever the key has to change, e.g. key rotation.

Parameters
- + @@ -309,7 +309,7 @@ class  +overridevirtual
container_idContainer ID obtained from calling NotifyNewContainer().
container_idContainer ID obtained from calling NotifyNewContainer().
drm_uuidis the UUID of the DRM for encryption.
new_key_idis the new key ID for the key.
new_psshis the new pssh box (including the header).
SimpleMpdNotifierTes - +
@@ -336,15 +336,15 @@ class 
SimpleMpdNotifierTes
-virtual
-

Notifies the MpdBuilder that there is a new container along with media_info. Live may have multiple files (segments) but those should be notified via NotifyNewSegment().

+

Notifies the MpdBuilder that there is a new container along with media_info. Live may have multiple files (segments) but those should be notified via NotifyNewSegment().

Parameters
- +
media_infois the MediaInfo that will be passed to MpdBuilder.
[out]container_idis the numeric ID of the container, possibly for NotifyNewSegment() and AddContentProtectionElement(). Only populated on success.
[out]container_idis the numeric ID of the container, possibly for NotifyNewSegment() and AddContentProtectionElement(). Only populated on success.
@@ -356,7 +356,7 @@ class SimpleMpdNotifierTes
- +
@@ -395,14 +395,14 @@ class 
SimpleMpdNotifierTes
-virtual +overridevirtual

Notifies MpdBuilder that there is a new segment ready. For live, this is usually a new segment, for VOD this is usually a subsegment.

Parameters
- + @@ -417,7 +417,7 @@ class  +overridevirtual
container_idContainer ID obtained from calling NotifyNewContainer().
container_idContainer ID obtained from calling NotifyNewContainer().
start_timeis the start time of the new segment, in units of the stream's time scale.
durationis the duration of the new segment, in units of the stream's time scale.
sizeis the new segment size in bytes.
SimpleMpdNotifierTes - +
@@ -444,14 +444,14 @@ class 
SimpleMpdNotifierTes
-virtual

Change the sample duration of container with container_id.

Parameters
- +
container_idContainer ID obtained from calling NotifyNewContainer().
container_idContainer ID obtained from calling NotifyNewContainer().
sample_durationis the duration of a sample in timescale of the media.
@@ -471,7 +471,7 @@ class SimpleMpdNotifierTes
diff --git a/docs/db/d60/mpd__options_8h_source.html b/docs/db/d60/mpd__options_8h_source.html index 06e5a88974..8e0600eeae 100644 --- a/docs/db/d60/mpd__options_8h_source.html +++ b/docs/db/d60/mpd__options_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MPD_BASE_MPD_OPTIONS_H_
-
8 #define MPD_BASE_MPD_OPTIONS_H_
-
9 
+
8 #define MPD_BASE_MPD_OPTIONS_H_
+
9 
10 namespace edash_packager {
11 
13 struct MpdOptions {
@@ -119,12 +119,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
31 } // namespace edash_packager
32 
33 #endif // MPD_BASE_MPD_OPTIONS_H_
-
34 
+
34 
Defines Mpd Options.
Definition: mpd_options.h:13
diff --git a/docs/db/d61/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html b/docs/db/d61/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html index 740d5f8a8b..6b1fc1022d 100644 --- a/docs/db/d61/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html +++ b/docs/db/d61/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html @@ -98,8 +98,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); fragment_buffer() (defined in edash_packager::media::mp4::Segmenter)edash_packager::media::mp4::Segmenterinlineprotected ftyp() (defined in edash_packager::media::mp4::Segmenter)edash_packager::media::mp4::Segmenterinlineprotected GetDuration() const edash_packager::media::mp4::Segmenter - GetIndexRange(size_t *offset, size_t *size) OVERRIDEedash_packager::media::mp4::SingleSegmentSegmentervirtual - GetInitRange(size_t *offset, size_t *size) OVERRIDEedash_packager::media::mp4::SingleSegmentSegmentervirtual + GetIndexRange(size_t *offset, size_t *size) overrideedash_packager::media::mp4::SingleSegmentSegmentervirtual + GetInitRange(size_t *offset, size_t *size) overrideedash_packager::media::mp4::SingleSegmentSegmentervirtual GetReferenceTimeScale() const (defined in edash_packager::media::mp4::Segmenter)edash_packager::media::mp4::Segmenter Initialize(const std::vector< MediaStream * > &streams, MuxerListener *muxer_listener, ProgressListener *progress_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds, double crypto_period_duration_in_seconds)edash_packager::media::mp4::Segmenter moov() (defined in edash_packager::media::mp4::Segmenter)edash_packager::media::mp4::Segmenterinlineprotected @@ -114,11 +114,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); SingleSegmentSegmenter(const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov) (defined in edash_packager::media::mp4::SingleSegmentSegmenter)edash_packager::media::mp4::SingleSegmentSegmenter UpdateProgress(uint64_t progress)edash_packager::media::mp4::Segmenterprotected ~Segmenter() (defined in edash_packager::media::mp4::Segmenter)edash_packager::media::mp4::Segmentervirtual - ~SingleSegmentSegmenter() (defined in edash_packager::media::mp4::SingleSegmentSegmenter)edash_packager::media::mp4::SingleSegmentSegmentervirtual + ~SingleSegmentSegmenter() override (defined in edash_packager::media::mp4::SingleSegmentSegmenter)edash_packager::media::mp4::SingleSegmentSegmenter diff --git a/docs/db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html b/docs/db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html index 38f6d4fb05..37860f87eb 100644 --- a/docs/db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html +++ b/docs/db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html @@ -336,7 +336,7 @@ Static Public Member Functions diff --git a/docs/db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html b/docs/db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html index 5601e2a01d..f77f4ab832 100644 --- a/docs/db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html +++ b/docs/db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html @@ -494,7 +494,7 @@ template<typename T > diff --git a/docs/db/d71/http__key__fetcher_8h_source.html b/docs/db/d71/http__key__fetcher_8h_source.html index d300dd93d1..28c510beec 100644 --- a/docs/db/d71/http__key__fetcher_8h_source.html +++ b/docs/db/d71/http__key__fetcher_8h_source.html @@ -95,8 +95,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
6 //
10 
11 #ifndef MEDIA_BASE_HTTP_KEY_FETCHER_H_
-
12 #define MEDIA_BASE_HTTP_KEY_FETCHER_H_
-
13 
+
12 #define MEDIA_BASE_HTTP_KEY_FETCHER_H_
+
13 
14 #include "packager/base/compiler_specific.h"
15 #include "packager/media/base/key_fetcher.h"
16 #include "packager/media/base/status.h"
@@ -108,11 +108,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
27  public:
32  HttpKeyFetcher(uint32_t timeout_in_seconds);
-
33  virtual ~HttpKeyFetcher();
+
33  ~HttpKeyFetcher() override;
34 
-
36  virtual Status FetchKeys(const std::string& url,
-
37  const std::string& request,
-
38  std::string* response) OVERRIDE;
+
36  Status FetchKeys(const std::string& url,
+
37  const std::string& request,
+
38  std::string* response) override;
39 
45  virtual Status Get(const std::string& url, std::string* response);
46 
@@ -145,12 +145,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual Status Get(const std::string &url, std::string *response)
virtual Status Post(const std::string &url, const std::string &data, std::string *response)
-
virtual Status FetchKeys(const std::string &url, const std::string &request, std::string *response) OVERRIDE
+
Status FetchKeys(const std::string &url, const std::string &request, std::string *response) override
diff --git a/docs/db/d79/structedash__packager_1_1media_1_1mp4_1_1EditListEntry-members.html b/docs/db/d79/structedash__packager_1_1media_1_1mp4_1_1EditListEntry-members.html index b7229386b5..a7d5f9f581 100644 --- a/docs/db/d79/structedash__packager_1_1media_1_1mp4_1_1EditListEntry-members.html +++ b/docs/db/d79/structedash__packager_1_1media_1_1mp4_1_1EditListEntry-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d7e/muxer__options_8cc_source.html b/docs/db/d7e/muxer__options_8cc_source.html index 7b8aaa28a8..25fb8ed0e7 100644 --- a/docs/db/d7e/muxer__options_8cc_source.html +++ b/docs/db/d7e/muxer__options_8cc_source.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html b/docs/db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html index 4ac81c0593..faf608857b 100644 --- a/docs/db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html +++ b/docs/db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::CompactSampleSize: - - - - - - - + + + + + + + @@ -148,7 +148,7 @@ Additional Inherited Members

Definition at line 291 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -164,7 +164,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -183,7 +183,7 @@ Additional Inherited Members
diff --git a/docs/db/d8f/mp4__muxer_8h_source.html b/docs/db/d8f/mp4__muxer_8h_source.html index 76e742b5c2..bedc826499 100644 --- a/docs/db/d8f/mp4__muxer_8h_source.html +++ b/docs/db/d8f/mp4__muxer_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_MP4_MUXER_H_
-
8 #define MEDIA_FORMATS_MP4_MP4_MUXER_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_MP4_MUXER_H_
+
9 
10 #include <vector>
11 
12 #include "packager/media/base/muxer.h"
@@ -119,14 +119,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
32 class MP4Muxer : public Muxer {
33  public:
35  explicit MP4Muxer(const MuxerOptions& options);
-
36  virtual ~MP4Muxer();
+
36  ~MP4Muxer() override;
37 
38  private:
39  // Muxer implementation overrides.
-
40  virtual Status Initialize() OVERRIDE;
-
41  virtual Status Finalize() OVERRIDE;
-
42  virtual Status DoAddSample(const MediaStream* stream,
-
43  scoped_refptr<MediaSample> sample) OVERRIDE;
+
40  Status Initialize() override;
+
41  Status Finalize() override;
+
42  Status DoAddSample(const MediaStream* stream,
+
43  scoped_refptr<MediaSample> sample) override;
44 
45  // Generate Audio/Video Track atom.
46  void InitializeTrak(const StreamInfo* info, Track* trak);
@@ -165,7 +165,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
MP4Muxer(const MuxerOptions &options)
Create a MP4Muxer object from MuxerOptions.
Definition: mp4_muxer.cc:43
Holds audio stream information.
-
Abstract class holds stream information.
Definition: stream_info.h:25
+
Abstract class holds stream information.
Definition: stream_info.h:26
Holds video stream information.
@@ -175,7 +175,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d96/wvm__media__parser_8h_source.html b/docs/db/d96/wvm__media__parser_8h_source.html index 3ab9489b95..2680ca0410 100644 --- a/docs/db/d96/wvm__media__parser_8h_source.html +++ b/docs/db/d96/wvm__media__parser_8h_source.html @@ -93,8 +93,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
4 // Media parser for a Widevine Media Format (WVM) file.
5 
6 #ifndef MEDIA_FORMATS_WVM_WVM_MEDIA_PARSER_H_
-
7 #define MEDIA_FORMATS_WVM_WVM_MEDIA_PARSER_H_
-
8 
+
7 #define MEDIA_FORMATS_WVM_WVM_MEDIA_PARSER_H_
+
8 
9 #include <deque>
10 #include <map>
11 #include <string>
@@ -139,16 +139,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
50 class WvmMediaParser : public MediaParser {
51  public:
-
53  virtual ~WvmMediaParser();
+
53  ~WvmMediaParser() override;
54 
55  // MediaParser implementation overrides.
-
56  virtual void Init(const InitCB& init_cb,
-
57  const NewSampleCB& new_sample_cb,
-
58  KeySource* decryption_key_source) OVERRIDE;
+
56  void Init(const InitCB& init_cb,
+
57  const NewSampleCB& new_sample_cb,
+
58  KeySource* decryption_key_source) override;
59 
-
60  virtual void Flush() OVERRIDE;
+
60  void Flush() override;
61 
-
62  virtual bool Parse(const uint8_t* buf, int size) OVERRIDE;
+
62  bool Parse(const uint8_t* buf, int size) override;
63 
64  private:
65  enum Tag {
@@ -352,20 +352,20 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
263 #endif // MEDIA_FORMATS_WVM_WVM_MEDIA_PARSER_H_
-
virtual bool Parse(const uint8_t *buf, int size) OVERRIDE
-
virtual void Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) OVERRIDE
- +
bool Parse(const uint8_t *buf, int size) override
base::Callback< bool(uint32_t track_id, const scoped_refptr< MediaSample > &media_sample)> NewSampleCB
Definition: media_parser.h:43
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:29
base::Callback< void(const std::vector< scoped_refptr< StreamInfo > > &stream_info)> InitCB
Definition: media_parser.h:34
+
void Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) override
+ diff --git a/docs/db/d97/classedash__packager_1_1media_1_1WebMContentEncodingsClient-members.html b/docs/db/d97/classedash__packager_1_1media_1_1WebMContentEncodingsClient-members.html new file mode 100644 index 0000000000..8ade353d7a --- /dev/null +++ b/docs/db/d97/classedash__packager_1_1media_1_1WebMContentEncodingsClient-members.html @@ -0,0 +1,116 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
edash_packager::media::WebMContentEncodingsClient Member List
+
+
+ +

This is the complete list of members for edash_packager::media::WebMContentEncodingsClient, including all inherited members.

+ + + + + + + + + + + + + +
content_encodings() const (defined in edash_packager::media::WebMContentEncodingsClient)edash_packager::media::WebMContentEncodingsClient
DISALLOW_COPY_AND_ASSIGN(WebMParserClient) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
OnBinary(int id, const uint8_t *data, int size) override (defined in edash_packager::media::WebMContentEncodingsClient)edash_packager::media::WebMContentEncodingsClientvirtual
OnFloat(int id, double val) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
OnListEnd(int id) override (defined in edash_packager::media::WebMContentEncodingsClient)edash_packager::media::WebMContentEncodingsClientvirtual
OnListStart(int id) override (defined in edash_packager::media::WebMContentEncodingsClient)edash_packager::media::WebMContentEncodingsClientvirtual
OnString(int id, const std::string &str) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
OnUInt(int id, int64_t val) override (defined in edash_packager::media::WebMContentEncodingsClient)edash_packager::media::WebMContentEncodingsClientvirtual
WebMContentEncodingsClient() (defined in edash_packager::media::WebMContentEncodingsClient)edash_packager::media::WebMContentEncodingsClient
WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
~WebMContentEncodingsClient() override (defined in edash_packager::media::WebMContentEncodingsClient)edash_packager::media::WebMContentEncodingsClient
~WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
+ + + + diff --git a/docs/db/da0/classedash__packager_1_1media_1_1WebMClusterParser.html b/docs/db/da0/classedash__packager_1_1media_1_1WebMClusterParser.html new file mode 100644 index 0000000000..0849cf093a --- /dev/null +++ b/docs/db/da0/classedash__packager_1_1media_1_1WebMClusterParser.html @@ -0,0 +1,195 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::WebMClusterParser Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::WebMClusterParser Class Reference
+
+
+
+Inheritance diagram for edash_packager::media::WebMClusterParser:
+
+
+ + +edash_packager::media::WebMParserClient + +
+ + + + +

+Public Types

enum  { kDefaultAudioBufferDurationInMs = 23, +kDefaultVideoBufferDurationInMs = 63 + }
 
+ + + + + + + + + + + + + + + + +

+Public Member Functions

WebMClusterParser (int64_t timecode_scale, int audio_track_num, int64_t audio_default_duration, int video_track_num, int64_t video_default_duration, const WebMTracksParser::TextTracks &text_tracks, const std::set< int64_t > &ignored_tracks, const std::string &audio_encryption_key_id, const std::string &video_encryption_key_id, const AudioCodec audio_codec, const MediaParser::NewSampleCB &new_sample_cb)
 
+void Reset ()
 
+int Parse (const uint8_t *buf, int size)
 
+int64_t cluster_start_time () const
 
+bool cluster_ended () const
 
- Public Member Functions inherited from edash_packager::media::WebMParserClient
+virtual bool OnFloat (int id, double val)
 
+virtual bool OnString (int id, const std::string &str)
 
+ + + +

+Static Public Attributes

static const uint16_t kOpusFrameDurationsMu []
 
+ + + + +

+Additional Inherited Members

- Protected Member Functions inherited from edash_packager::media::WebMParserClient
DISALLOW_COPY_AND_ASSIGN (WebMParserClient)
 
+

Detailed Description

+
+

Definition at line 22 of file webm_cluster_parser.h.

+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
const uint16_t edash_packager::media::WebMClusterParser::kOpusFrameDurationsMu
+
+static
+
+Initial value:
= {
+
10000, 20000, 40000, 60000, 10000, 20000, 40000, 60000, 10000, 20000, 40000,
+
60000, 10000, 20000, 10000, 20000, 2500, 5000, 10000, 20000, 2500, 5000,
+
10000, 20000, 2500, 5000, 10000, 20000, 2500, 5000, 10000, 20000}
+
+

Definition at line 39 of file webm_cluster_parser.h.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/db/da0/classedash__packager_1_1media_1_1WebMClusterParser.png b/docs/db/da0/classedash__packager_1_1media_1_1WebMClusterParser.png new file mode 100644 index 0000000000..9e0b75343f Binary files /dev/null and b/docs/db/da0/classedash__packager_1_1media_1_1WebMClusterParser.png differ diff --git a/docs/db/da4/classBandwidthEstimator-members.html b/docs/db/da4/classBandwidthEstimator-members.html index 0f25b0c889..ec0e563ae5 100644 --- a/docs/db/da4/classBandwidthEstimator-members.html +++ b/docs/db/da4/classBandwidthEstimator-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html b/docs/db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html index c4bcf26e5a..3a2d97fc32 100644 --- a/docs/db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html +++ b/docs/db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html @@ -115,20 +115,20 @@ Public Member Functions void set_key_fetcher (scoped_ptr< KeyFetcher > key_fetcher)  
KeySource implementation overrides.
-virtual Status FetchKeys (const std::vector< uint8_t > &content_id, const std::string &policy) OVERRIDE -  -virtual Status FetchKeys (const std::vector< uint8_t > &pssh_data) OVERRIDE -  -virtual Status FetchKeys (uint32_t asset_id) OVERRIDE -  -virtual Status GetKey (TrackType track_type, EncryptionKey *key) OVERRIDE -  -virtual Status GetKey (const std::vector< uint8_t > &key_id, EncryptionKey *key) OVERRIDE -  -virtual Status GetCryptoPeriodKey (uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key) OVERRIDE -  -virtual std::string UUID () OVERRIDE -  +Status FetchKeys (const std::vector< uint8_t > &content_id, const std::string &policy) override +  +Status FetchKeys (const std::vector< uint8_t > &pssh_data) override +  +Status FetchKeys (uint32_t asset_id) override +  +Status GetKey (TrackType track_type, EncryptionKey *key) override +  +Status GetKey (const std::vector< uint8_t > &key_id, EncryptionKey *key) override +  +Status GetCryptoPeriodKey (uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key) override +  +std::string UUID () override +  - Public Member Functions inherited from edash_packager::media::KeySource virtual std::string SystemName ()   @@ -142,7 +142,7 @@ Protected Attributes

Additional Inherited Members

- Public Types inherited from edash_packager::media::KeySource -enum  TrackType {
+enum  TrackType {
  TRACK_TYPE_UNKNOWN = 0, TRACK_TYPE_SD = 1, TRACK_TYPE_HD = 2, @@ -206,7 +206,7 @@ static std::string Member Function Documentation - +
@@ -233,7 +233,7 @@ static std::string  +overridevirtual
-virtual
@@ -253,7 +253,7 @@ static std::string  +
@@ -270,7 +270,7 @@ static std::string  +overridevirtual
-virtual
@@ -289,7 +289,7 @@ static std::string  +
@@ -306,7 +306,7 @@ static std::string  +overridevirtual
-virtual
@@ -325,7 +325,7 @@ static std::string  +
@@ -358,7 +358,7 @@ static std::string  +overridevirtual
-virtual
@@ -379,7 +379,7 @@ static std::string  +
@@ -406,7 +406,7 @@ static std::string  +overridevirtual
-virtual
@@ -426,7 +426,7 @@ static std::string  +
@@ -453,7 +453,7 @@ static std::string  +overridevirtual
-virtual
@@ -523,7 +523,7 @@ static std::string  +
@@ -539,7 +539,7 @@ static std::string  +overridevirtual
-virtual
@@ -559,7 +559,7 @@ static std::string  diff --git a/docs/db/da5/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html b/docs/db/da5/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html index 250829f10d..bbb51fd10e 100644 --- a/docs/db/da5/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html +++ b/docs/db/da5/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html b/docs/db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html index 1640585d38..253cd021be 100644 --- a/docs/db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html +++ b/docs/db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html @@ -214,7 +214,7 @@ Protected Member Functions
Returns
OK on success, an error status otherwise.
-

Reimplemented in edash_packager::media::mp4::EncryptingFragmenter.

+

Reimplemented in edash_packager::media::mp4::EncryptingFragmenter.

Definition at line 36 of file fragmenter.cc.

@@ -250,7 +250,7 @@ Protected Member Functions
Returns
OK on success, an error status otherwise.
-

Reimplemented in edash_packager::media::mp4::EncryptingFragmenter.

+

Reimplemented in edash_packager::media::mp4::EncryptingFragmenter.

Definition at line 73 of file fragmenter.cc.

@@ -302,7 +302,7 @@ template<typename T >
diff --git a/docs/db/dc8/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt-members.html b/docs/db/dc8/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt-members.html index d16abad110..24c3a2deaa 100644 --- a/docs/db/dc8/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt-members.html +++ b/docs/db/dc8/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt-members.html @@ -93,27 +93,27 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::mp2t::TsSectionPmt, including all inherited members.

- + - - + + - - + + - - + +
Flush() OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
Flush() override (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
kPidCat enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidMax enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidNullPacket enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidPat enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidTsdt enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
Parse(bool payload_unit_start_indicator, const uint8_t *buf, int size) OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
ParsePsiSection(BitReader *bit_reader) OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPmt)edash_packager::media::mp2t::TsSectionPmtvirtual
Parse(bool payload_unit_start_indicator, const uint8_t *buf, int size) override (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
ParsePsiSection(BitReader *bit_reader) override (defined in edash_packager::media::mp2t::TsSectionPmt)edash_packager::media::mp2t::TsSectionPmtvirtual
RegisterPesCb typedef (defined in edash_packager::media::mp2t::TsSectionPmt)edash_packager::media::mp2t::TsSectionPmt
Reset() OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
ResetPsiSection() OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPmt)edash_packager::media::mp2t::TsSectionPmtvirtual
Reset() override (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
ResetPsiSection() override (defined in edash_packager::media::mp2t::TsSectionPmt)edash_packager::media::mp2t::TsSectionPmtvirtual
SpecialPid enum name (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
TsSectionPmt(const RegisterPesCb &register_pes_cb) (defined in edash_packager::media::mp2t::TsSectionPmt)edash_packager::media::mp2t::TsSectionPmtexplicit
TsSectionPsi() (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsi
~TsSection() (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSectioninlinevirtual
~TsSectionPmt() (defined in edash_packager::media::mp2t::TsSectionPmt)edash_packager::media::mp2t::TsSectionPmtvirtual
~TsSectionPsi() (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
~TsSectionPmt() override (defined in edash_packager::media::mp2t::TsSectionPmt)edash_packager::media::mp2t::TsSectionPmt
~TsSectionPsi() override (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsi
diff --git a/docs/db/dd2/chunk__info__iterator_8h_source.html b/docs/db/dd2/chunk__info__iterator_8h_source.html index 351734a03f..3cef44c584 100644 --- a/docs/db/dd2/chunk__info__iterator_8h_source.html +++ b/docs/db/dd2/chunk__info__iterator_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_CHUNK_INFO_ITERATOR_H_
-
8 #define MEDIA_FORMATS_MP4_CHUNK_INFO_ITERATOR_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_CHUNK_INFO_ITERATOR_H_
+
9 
10 #include <stdint.h>
11 
12 #include <vector>
@@ -161,7 +161,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/db/dd9/sync__sample__iterator_8h_source.html b/docs/db/dd9/sync__sample__iterator_8h_source.html index 9fcc9db344..715fefa820 100644 --- a/docs/db/dd9/sync__sample__iterator_8h_source.html +++ b/docs/db/dd9/sync__sample__iterator_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_SYNC_SAMPLE_ITERATOR_H_
-
8 #define MEDIA_FORMATS_MP4_SYNC_SAMPLE_ITERATOR_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_SYNC_SAMPLE_ITERATOR_H_
+
9 
10 #include <stdint.h>
11 
12 #include <vector>
@@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/db/de4/classedash__packager_1_1AdaptationSet.html b/docs/db/de4/classedash__packager_1_1AdaptationSet.html index e008a9cd8e..e79d8a706b 100644 --- a/docs/db/de4/classedash__packager_1_1AdaptationSet.html +++ b/docs/db/de4/classedash__packager_1_1AdaptationSet.html @@ -110,7 +110,7 @@ Inheritance diagram for edash_packager::AdaptationSet:
-< diff --git a/docs/db/de9/classedash__packager_1_1media_1_1StreamDescriptorCompareFn-members.html b/docs/db/de9/classedash__packager_1_1media_1_1StreamDescriptorCompareFn-members.html index f17fda17a2..3e4e63faaa 100644 --- a/docs/db/de9/classedash__packager_1_1media_1_1StreamDescriptorCompareFn-members.html +++ b/docs/db/de9/classedash__packager_1_1media_1_1StreamDescriptorCompareFn-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

Public Types

enum  Role {
+
enum  Role {
  kRoleCaption, kRoleSubtitle, kRoleMain, @@ -570,7 +570,7 @@ class 
MpdBuilder
diff --git a/docs/db/dec/audio__timestamp__helper_8cc_source.html b/docs/db/dec/audio__timestamp__helper_8cc_source.html index 0a18364952..6f7dd4dfa7 100644 --- a/docs/db/dec/audio__timestamp__helper_8cc_source.html +++ b/docs/db/dec/audio__timestamp__helper_8cc_source.html @@ -165,7 +165,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/db/ded/opus__packet__builder_8cc_source.html b/docs/db/ded/opus__packet__builder_8cc_source.html new file mode 100644 index 0000000000..b5c84a1c04 --- /dev/null +++ b/docs/db/ded/opus__packet__builder_8cc_source.html @@ -0,0 +1,189 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/opus_packet_builder.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
opus_packet_builder.cc
+
+
+
1 // Copyright (c) 2015 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 #include "packager/base/logging.h"
+
6 #include "packager/media/formats/webm/opus_packet_builder.h"
+
7 #include "packager/media/formats/webm/webm_cluster_parser.h"
+
8 
+
9 namespace edash_packager {
+
10 namespace media {
+
11 
+
12 OpusPacket::OpusPacket(uint8_t config, uint8_t frame_count, bool is_VBR) {
+
13  DCHECK_GE(config, 0);
+
14  DCHECK_LT(config, kNumPossibleOpusConfigs);
+
15  DCHECK_GE(frame_count, kMinOpusPacketFrameCount);
+
16  DCHECK_LE(frame_count, kMaxOpusPacketFrameCount);
+
17 
+
18  duration_ms_ = frame_count *
+
19  WebMClusterParser::kOpusFrameDurationsMu[config] /
+
20  static_cast<float>(1000);
+
21 
+
22  uint8_t frame_count_code;
+
23  uint8_t frame_count_byte;
+
24 
+
25  if (frame_count == 1) {
+
26  frame_count_code = 0;
+
27  } else if (frame_count == 2) {
+
28  frame_count_code = is_VBR ? 2 : 1;
+
29  } else {
+
30  frame_count_code = 3;
+
31  frame_count_byte = (is_VBR ? 1 << 7 : 0) | frame_count;
+
32  }
+
33 
+
34  // All opus packets must have TOC byte.
+
35  uint8_t opus_toc_byte = (config << 3) | frame_count_code;
+
36  data_.push_back(opus_toc_byte);
+
37 
+
38  // For code 3 packets, the number of frames is signaled in the "frame
+
39  // count byte".
+
40  if (frame_count_code == 3) {
+
41  data_.push_back(frame_count_byte);
+
42  }
+
43 
+
44  // Packet will only conform to layout specification for the TOC byte
+
45  // and optional frame count bytes appended above. This last byte
+
46  // is purely dummy padding where frame size data or encoded data might
+
47  // otherwise start.
+
48  data_.push_back(static_cast<uint8_t>(0));
+
49 }
+
50 
+
51 OpusPacket::~OpusPacket() {
+
52 }
+
53 
+
54 const uint8_t* OpusPacket::data() const {
+
55  return &(data_[0]);
+
56 }
+
57 
+
58 int OpusPacket::size() const {
+
59  return data_.size();
+
60 }
+
61 
+
62 double OpusPacket::duration_ms() const {
+
63  return duration_ms_;
+
64 }
+
65 
+
66 ScopedVector<OpusPacket> BuildAllOpusPackets() {
+
67  ScopedVector<OpusPacket> opus_packets;
+
68 
+
69  for (int frame_count = kMinOpusPacketFrameCount;
+
70  frame_count <= kMaxOpusPacketFrameCount; frame_count++) {
+
71  for (int opus_config_num = 0; opus_config_num < kNumPossibleOpusConfigs;
+
72  opus_config_num++) {
+
73  bool is_VBR = false;
+
74  opus_packets.push_back(
+
75  new OpusPacket(opus_config_num, frame_count, is_VBR));
+
76 
+
77  if (frame_count >= 2) {
+
78  // Add another packet with VBR flag toggled. For frame counts >= 2,
+
79  // VBR triggers changes to packet framing.
+
80  is_VBR = true;
+
81  opus_packets.push_back(
+
82  new OpusPacket(opus_config_num, frame_count, is_VBR));
+
83  }
+
84  }
+
85  }
+
86 
+
87  return opus_packets.Pass();
+
88 }
+
89 
+
90 } // namespace media
+
91 } // namespace edash_packager
+
+ + + + diff --git a/docs/db/df2/classedash__packager_1_1media_1_1mp2t_1_1EsParser.html b/docs/db/df2/classedash__packager_1_1media_1_1mp2t_1_1EsParser.html index 80a331a40a..3b9d5539b8 100644 --- a/docs/db/df2/classedash__packager_1_1media_1_1mp2t_1_1EsParser.html +++ b/docs/db/df2/classedash__packager_1_1media_1_1mp2t_1_1EsParser.html @@ -107,14 +107,15 @@ Inheritance diagram for edash_packager::media::mp2t::EsParser:
- - - + + - +const scoped_refptr
+< MediaSample > &)>  +

Public Types

-typedef base::Callback< void(scoped_refptr
-< StreamInfo > &)> 
NewStreamInfoCB
 
+
+typedef base::Callback< void(const
+scoped_refptr< StreamInfo > &)> 
NewStreamInfoCB
 
typedef base::Callback< void(uint32_t,
-scoped_refptr< MediaSample > &)> 
EmitSampleCB
 
EmitSampleCB
 
@@ -143,7 +144,7 @@ uint32_t  diff --git a/docs/db/df6/muxer_8h_source.html b/docs/db/df6/muxer_8h_source.html index 470e16adc6..bd07d68eaa 100644 --- a/docs/db/df6/muxer_8h_source.html +++ b/docs/db/df6/muxer_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Defines the muxer interface.
8 
9 #ifndef MEDIA_BASE_MUXER_H_
-
10 #define MEDIA_BASE_MUXER_H_
-
11 
+
10 #define MEDIA_BASE_MUXER_H_
+
11 
12 #include <vector>
13 
14 #include "packager/base/memory/ref_counted.h"
@@ -208,7 +208,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/df7/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi-members.html b/docs/db/df7/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi-members.html index 5dac3a4c02..bbe971cd6d 100644 --- a/docs/db/df7/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi-members.html +++ b/docs/db/df7/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi-members.html @@ -93,24 +93,24 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::mp2t::TsSectionPsi, including all inherited members.

Public Member Functions

pid ()
- + - + - + - +
Flush() OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
Flush() override (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
kPidCat enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidMax enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidNullPacket enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidPat enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidTsdt enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
Parse(bool payload_unit_start_indicator, const uint8_t *buf, int size) OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
Parse(bool payload_unit_start_indicator, const uint8_t *buf, int size) override (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
ParsePsiSection(BitReader *bit_reader)=0 (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsipure virtual
Reset() OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
Reset() override (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
ResetPsiSection()=0 (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsipure virtual
SpecialPid enum name (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
TsSectionPsi() (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsi
~TsSection() (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSectioninlinevirtual
~TsSectionPsi() (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
~TsSectionPsi() override (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsi
diff --git a/docs/db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html b/docs/db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html index 9a8e026f4a..875ad1af3f 100644 --- a/docs/db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html +++ b/docs/db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::VideoMediaHeader: - - - - - - - + + + + + + + @@ -154,7 +154,7 @@ Additional Inherited Members

Definition at line 343 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -170,7 +170,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -189,7 +189,7 @@ Additional Inherited Members
diff --git a/docs/db/dfb/mpd__utils_8cc_source.html b/docs/db/dfb/mpd__utils_8cc_source.html index dfe5338b39..46c99177cc 100644 --- a/docs/db/dfb/mpd__utils_8cc_source.html +++ b/docs/db/dfb/mpd__utils_8cc_source.html @@ -194,7 +194,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
105  }
106 
107  const std::string hex_encoded =
-
108  StringToLowerASCII(base::HexEncode(data.data(), data.size()));
+
108  base::StringToLowerASCII(base::HexEncode(data.data(), data.size()));
109  DCHECK_EQ(hex_encoded.size(), kExpectedUUIDSize * 2);
110  base::StringPiece all(hex_encoded);
111  // Note UUID has 5 parts separated with dashes.
@@ -358,7 +358,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html b/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html index 5761f338a2..8b5d9b9b84 100644 --- a/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html +++ b/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html @@ -174,7 +174,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
85 
86 // Record the sample duration in the media info for VOD so that OnMediaEnd, all
87 // the information is in the media info.
- +
89  uint32_t sample_duration) {
90  if (mpd_notifier_->dash_profile() == kLiveProfile) {
91  mpd_notifier_->NotifySampleDuration(notification_id_, sample_duration);
@@ -254,8 +254,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
165 } // namespace edash_packager
DashProfile dash_profile() const
Definition: mpd_notifier.h:108
virtual bool NotifyNewContainer(const MediaInfo &media_info, uint32_t *container_id)=0
+
void OnSampleDurationReady(uint32_t sample_duration) override
-
virtual void OnSampleDurationReady(uint32_t sample_duration) OVERRIDE
virtual bool NotifySampleDuration(uint32_t container_id, uint32_t sample_duration)=0
@@ -265,7 +265,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dfe/classedash__packager_1_1media_1_1AesCbcPkcs5Decryptor.html b/docs/db/dfe/classedash__packager_1_1media_1_1AesCbcPkcs5Decryptor.html index 7b7aae9041..b5ba4a2106 100644 --- a/docs/db/dfe/classedash__packager_1_1media_1_1AesCbcPkcs5Decryptor.html +++ b/docs/db/dfe/classedash__packager_1_1media_1_1AesCbcPkcs5Decryptor.html @@ -209,7 +209,7 @@ const std::vector< uint8_t > &  diff --git a/docs/dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html b/docs/dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html index 980e32c36e..cf8744a0ce 100644 --- a/docs/dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html +++ b/docs/dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html @@ -286,7 +286,7 @@ Additional Inherited Members diff --git a/docs/dc/d0c/classedash__packager_1_1media_1_1WebMVideoClient.html b/docs/dc/d0c/classedash__packager_1_1media_1_1WebMVideoClient.html new file mode 100644 index 0000000000..098baa62f5 --- /dev/null +++ b/docs/dc/d0c/classedash__packager_1_1media_1_1WebMVideoClient.html @@ -0,0 +1,147 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::WebMVideoClient Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::WebMVideoClient Class Reference
+
+
+
+Inheritance diagram for edash_packager::media::WebMVideoClient:
+
+
+ + +edash_packager::media::WebMParserClient + +
+ + + + + + + + + + + + + +

+Public Member Functions

+void Reset ()
 
+scoped_refptr< VideoStreamInfoGetVideoStreamInfo (int64_t track_num, const std::string &codec_id, const std::vector< uint8_t > &codec_private, bool is_encrypted)
 
- Public Member Functions inherited from edash_packager::media::WebMParserClient
+virtual WebMParserClientOnListStart (int id)
 
+virtual bool OnListEnd (int id)
 
+virtual bool OnString (int id, const std::string &str)
 
+ + + + +

+Additional Inherited Members

- Protected Member Functions inherited from edash_packager::media::WebMParserClient
DISALLOW_COPY_AND_ASSIGN (WebMParserClient)
 
+

Detailed Description

+
+

Definition at line 20 of file webm_video_client.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/dc/d0c/classedash__packager_1_1media_1_1WebMVideoClient.png b/docs/dc/d0c/classedash__packager_1_1media_1_1WebMVideoClient.png new file mode 100644 index 0000000000..a83348f8cd Binary files /dev/null and b/docs/dc/d0c/classedash__packager_1_1media_1_1WebMVideoClient.png differ diff --git a/docs/dc/d0d/structedash__packager_1_1media_1_1mp4_1_1EditListEntry.html b/docs/dc/d0d/structedash__packager_1_1media_1_1mp4_1_1EditListEntry.html index a7f4cf9d84..a1b9eacdfd 100644 --- a/docs/dc/d0d/structedash__packager_1_1media_1_1mp4_1_1EditListEntry.html +++ b/docs/dc/d0d/structedash__packager_1_1media_1_1mp4_1_1EditListEntry.html @@ -118,7 +118,7 @@ int16_t media_rate_fractio diff --git a/docs/dc/d19/box_8h_source.html b/docs/dc/d19/box_8h_source.html index c0146a7044..5201974fdb 100644 --- a/docs/dc/d19/box_8h_source.html +++ b/docs/dc/d19/box_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_BOX_H_
-
8 #define MEDIA_FORMATS_MP4_BOX_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_BOX_H_
+
9 
10 #include <stdint.h>
11 
12 #include "packager/base/compiler_specific.h"
@@ -130,13 +130,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
58 struct FullBox : Box {
59  public:
60  FullBox();
-
61  virtual ~FullBox();
+
61  ~FullBox() override;
62 
63  uint8_t version;
64  uint32_t flags;
65 
66  protected:
-
67  virtual bool ReadWrite(BoxBuffer* buffer) OVERRIDE;
+
67  bool ReadWrite(BoxBuffer* buffer) override;
68 };
69 
70 } // namespace mp4
@@ -147,8 +147,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual bool ReadWrite(BoxBuffer *buffer)
Read/write the mp4 box from/to BoxBuffer.
Definition: box.cc:36
virtual uint32_t ComputeSize()=0
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
Definition: box.cc:50
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
Definition: box.cc:50
bool Parse(BoxReader *reader)
Definition: box.cc:19
void Write(BufferWriter *writer)
Definition: box.cc:25
@@ -158,7 +158,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html b/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html index 75caf109ae..afcf6fc5a2 100644 --- a/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html +++ b/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html @@ -150,11 +150,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
61 
62 DashIopMpdNotifier::~DashIopMpdNotifier() {}
63 
- +
65  return true;
66 }
67 
-
68 bool DashIopMpdNotifier::NotifyNewContainer(const MediaInfo& media_info,
+
68 bool DashIopMpdNotifier::NotifyNewContainer(const MediaInfo& media_info,
69  uint32_t* container_id) {
70  DCHECK(container_id);
71 
@@ -189,7 +189,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
100  return true;
101 }
102 
-
103 bool DashIopMpdNotifier::NotifySampleDuration(uint32_t container_id,
+
103 bool DashIopMpdNotifier::NotifySampleDuration(uint32_t container_id,
104  uint32_t sample_duration) {
105  base::AutoLock auto_lock(lock_);
106  RepresentationMap::iterator it = representation_map_.find(container_id);
@@ -201,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
112  return true;
113 }
114 
-
115 bool DashIopMpdNotifier::NotifyNewSegment(uint32_t container_id,
+
115 bool DashIopMpdNotifier::NotifyNewSegment(uint32_t container_id,
116  uint64_t start_time,
117  uint64_t duration,
118  uint64_t size) {
@@ -215,7 +215,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
126  return true;
127 }
128 
- +
130  uint32_t container_id,
131  const std::string& drm_uuid,
132  const std::vector<uint8_t>& new_key_id,
@@ -234,7 +234,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
145  return true;
146 }
147 
- +
149  uint32_t container_id,
150  const ContentProtectionElement& content_protection_element) {
151  // Intentionally not implemented because if a Representation gets a new
@@ -244,7 +244,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
155  return false;
156 }
157 
- +
159  return WriteMpdToFile(output_path_, mpd_builder_.get());
160 }
161 
@@ -376,28 +376,28 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
287 }
288 
289 } // namespace edash_packager
-
virtual bool NotifyEncryptionUpdate(uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) OVERRIDE
-
virtual bool NotifyNewSegment(uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) OVERRIDE
+
bool AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) override
-
virtual bool NotifyNewContainer(const MediaInfo &media_info, uint32_t *id) OVERRIDE
void AddContentProtectionElements(const MediaInfo &media_info, Representation *parent)
Definition: mpd_utils.cc:253
-
virtual bool NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) OVERRIDE
static void MakePathsRelativeToMpd(const std::string &mpd_path, MediaInfo *media_info)
Definition: mpd_builder.cc:608
-
std::string Uint8VectorToBase64(const std::vector< uint8_t > &input)
Converts uint8 vector into base64 encoded string.
- + +
virtual Representation * AddRepresentation(const MediaInfo &media_info)
Definition: mpd_builder.cc:655
+
bool NotifyNewContainer(const MediaInfo &media_info, uint32_t *id) override
+
bool NotifyEncryptionUpdate(uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh) override
bool WriteMpdToFile(const std::string &output_path, MpdBuilder *mpd_builder)
virtual void UpdateContentProtectionPssh(const std::string &drm_uuid, const std::string &pssh)
Definition: mpd_builder.cc:700
-
virtual bool AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) OVERRIDE
+
bool NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) override
ContentType GetContentType(const MediaInfo &media_info)
+
bool NotifyNewSegment(uint32_t id, uint64_t start_time, uint64_t duration, uint64_t size) override
diff --git a/docs/dc/d23/classedash__packager_1_1MockMpdNotifier-members.html b/docs/dc/d23/classedash__packager_1_1MockMpdNotifier-members.html index 6fb4f1be63..181f09e491 100644 --- a/docs/dc/d23/classedash__packager_1_1MockMpdNotifier-members.html +++ b/docs/dc/d23/classedash__packager_1_1MockMpdNotifier-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d2f/classedash__packager_1_1media_1_1KeySource-members.html b/docs/dc/d2f/classedash__packager_1_1media_1_1KeySource-members.html index 74b9acb0a6..5dbb0eb6d7 100644 --- a/docs/dc/d2f/classedash__packager_1_1media_1_1KeySource-members.html +++ b/docs/dc/d2f/classedash__packager_1_1media_1_1KeySource-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d31/classedash__packager_1_1media_1_1ClusterBuilder-members.html b/docs/dc/d31/classedash__packager_1_1media_1_1ClusterBuilder-members.html new file mode 100644 index 0000000000..53a844c69b --- /dev/null +++ b/docs/dc/d31/classedash__packager_1_1media_1_1ClusterBuilder-members.html @@ -0,0 +1,112 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
edash_packager::media::ClusterBuilder Member List
+
+
+ +

This is the complete list of members for edash_packager::media::ClusterBuilder, including all inherited members.

+ + + + + + + + + +
AddBlockGroup(int track_num, int64_t timecode, int duration, int flags, const uint8_t *data, int size) (defined in edash_packager::media::ClusterBuilder)edash_packager::media::ClusterBuilder
AddBlockGroupWithoutBlockDuration(int track_num, int64_t timecode, int flags, const uint8_t *data, int size) (defined in edash_packager::media::ClusterBuilder)edash_packager::media::ClusterBuilder
AddSimpleBlock(int track_num, int64_t timecode, int flags, const uint8_t *data, int size) (defined in edash_packager::media::ClusterBuilder)edash_packager::media::ClusterBuilder
ClusterBuilder() (defined in edash_packager::media::ClusterBuilder)edash_packager::media::ClusterBuilder
Finish() (defined in edash_packager::media::ClusterBuilder)edash_packager::media::ClusterBuilder
FinishWithUnknownSize() (defined in edash_packager::media::ClusterBuilder)edash_packager::media::ClusterBuilder
SetClusterTimecode(int64_t cluster_timecode) (defined in edash_packager::media::ClusterBuilder)edash_packager::media::ClusterBuilder
~ClusterBuilder() (defined in edash_packager::media::ClusterBuilder)edash_packager::media::ClusterBuilder
+ + + + diff --git a/docs/dc/d35/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html b/docs/dc/d35/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html index f6cfca96d0..406793ae5d 100644 --- a/docs/dc/d35/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html +++ b/docs/dc/d35/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html @@ -93,19 +93,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::mp2t::Mp2tMediaParser, including all inherited members.

- - + + - + - +
Flush() OVERRIDEedash_packager::media::mp2t::Mp2tMediaParservirtual
Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) OVERRIDEedash_packager::media::mp2t::Mp2tMediaParservirtual
Flush() overrideedash_packager::media::mp2t::Mp2tMediaParservirtual
Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) overrideedash_packager::media::mp2t::Mp2tMediaParservirtual
InitCB typedefedash_packager::media::MediaParser
MediaParser() (defined in edash_packager::media::MediaParser)edash_packager::media::MediaParserinline
Mp2tMediaParser() (defined in edash_packager::media::mp2t::Mp2tMediaParser)edash_packager::media::mp2t::Mp2tMediaParser
NewSampleCB typedefedash_packager::media::MediaParser
Parse(const uint8_t *buf, int size) OVERRIDEedash_packager::media::mp2t::Mp2tMediaParservirtual
Parse(const uint8_t *buf, int size) overrideedash_packager::media::mp2t::Mp2tMediaParservirtual
~MediaParser() (defined in edash_packager::media::MediaParser)edash_packager::media::MediaParserinlinevirtual
~Mp2tMediaParser() (defined in edash_packager::media::mp2t::Mp2tMediaParser)edash_packager::media::mp2t::Mp2tMediaParservirtual
~Mp2tMediaParser() override (defined in edash_packager::media::mp2t::Mp2tMediaParser)edash_packager::media::mp2t::Mp2tMediaParser
diff --git a/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html b/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html index e51dd6b233..391ca3f139 100644 --- a/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html +++ b/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html @@ -153,7 +153,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d3c/webm__cluster__parser_8h_source.html b/docs/dc/d3c/webm__cluster__parser_8h_source.html new file mode 100644 index 0000000000..60a0aeac00 --- /dev/null +++ b/docs/dc/d3c/webm__cluster__parser_8h_source.html @@ -0,0 +1,336 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_cluster_parser.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_cluster_parser.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_WEBM_CLUSTER_PARSER_H_
+
6 #define MEDIA_FORMATS_WEBM_WEBM_CLUSTER_PARSER_H_
+
7 
+
8 #include <deque>
+
9 #include <map>
+
10 #include <set>
+
11 #include <string>
+
12 
+
13 #include "packager/base/memory/scoped_ptr.h"
+
14 #include "packager/media/base/media_parser.h"
+
15 #include "packager/media/base/media_sample.h"
+
16 #include "packager/media/formats/webm/webm_parser.h"
+
17 #include "packager/media/formats/webm/webm_tracks_parser.h"
+
18 
+
19 namespace edash_packager {
+
20 namespace media {
+
21 
+ +
23  public:
+
24  // Numbers chosen to estimate the duration of a buffer if none is set and
+
25  // there is not enough information to get a better estimate.
+
26  enum {
+
27  // Common 1k samples @44.1kHz
+
28  kDefaultAudioBufferDurationInMs = 23,
+
29 
+
30  // Chosen to represent 16fps duration, which will prevent MSE stalls in
+
31  // videos with frame-rates as low as 8fps.
+
32  kDefaultVideoBufferDurationInMs = 63
+
33  };
+
34 
+
35  // Opus packets encode the duration and other parameters in the 5 most
+
36  // significant bits of the first byte. The index in this array corresponds
+
37  // to the duration of each frame of the packet in microseconds. See
+
38  // https://tools.ietf.org/html/rfc6716#page-14
+
39  static const uint16_t kOpusFrameDurationsMu[];
+
40 
+
41  private:
+
42  // Helper class that manages per-track state.
+
43  class Track {
+
44  public:
+
45  Track(int track_num,
+
46  bool is_video,
+
47  int64_t default_duration,
+
48  const MediaParser::NewSampleCB& new_sample_cb);
+
49  ~Track();
+
50 
+
51  int track_num() const { return track_num_; }
+
52 
+
53  // If |last_added_buffer_missing_duration_| is set, updates its duration
+
54  // relative to |buffer|'s timestamp, and adds it to |buffers_| and unsets
+
55  // |last_added_buffer_missing_duration_|. Then, if |buffer| is missing
+
56  // duration, saves |buffer| into |last_added_buffer_missing_duration_|, or
+
57  // otherwise adds |buffer| to |buffers_|.
+
58  bool AddBuffer(const scoped_refptr<MediaSample>& buffer);
+
59 
+
60  // If |last_added_buffer_missing_duration_| is set, updates its duration to
+
61  // be non-kNoTimestamp() value of |estimated_next_frame_duration_| or a
+
62  // hard-coded default, then adds it to |buffers_| and unsets
+
63  // |last_added_buffer_missing_duration_|. (This method helps stream parser
+
64  // emit all buffers in a media segment before signaling end of segment.)
+
65  void ApplyDurationEstimateIfNeeded();
+
66 
+
67  // Clears all buffer state, including any possibly held-aside buffer that
+
68  // was missing duration, and all contents of |buffers_|.
+
69  void Reset();
+
70 
+
71  // Helper function used to inspect block data to determine if the
+
72  // block is a keyframe.
+
73  // |data| contains the bytes in the block.
+
74  // |size| indicates the number of bytes in |data|.
+
75  bool IsKeyframe(const uint8_t* data, int size) const;
+
76 
+
77  int64_t default_duration() const { return default_duration_; }
+
78 
+
79  private:
+
80  // Helper that sanity-checks |buffer| duration, updates
+
81  // |estimated_next_frame_duration_|, and adds |buffer| to |buffers_|.
+
82  // Returns false if |buffer| failed sanity check and therefore was not added
+
83  // to |buffers_|. Returns true otherwise.
+
84  bool QueueBuffer(const scoped_refptr<MediaSample>& buffer);
+
85 
+
86  // Helper that calculates the buffer duration to use in
+
87  // ApplyDurationEstimateIfNeeded().
+
88  int64_t GetDurationEstimate();
+
89 
+
90  // Counts the number of estimated durations used in this track. Used to
+
91  // prevent log spam for LOG()s about estimated duration.
+
92  int num_duration_estimates_ = 0;
+
93 
+
94  int track_num_;
+
95  bool is_video_;
+
96 
+
97  // Parsed track buffers, each with duration and in (decode) timestamp order,
+
98  // that have not yet been extracted into |ready_buffers_|. Note that up to
+
99  // one additional buffer missing duration may be tracked by
+
100  // |last_added_buffer_missing_duration_|.
+
101  scoped_refptr<MediaSample> last_added_buffer_missing_duration_;
+
102 
+
103  // If kNoTimestamp(), then |estimated_next_frame_duration_| will be used.
+
104  int64_t default_duration_;
+
105 
+
106  // If kNoTimestamp(), then a default value will be used. This estimate is
+
107  // the maximum (for video), or minimum (for audio) duration seen so far for
+
108  // this track, and is used only if |default_duration_| is kNoTimestamp().
+
109  // TODO(chcunningham): Use maximum for audio too, adding checks to disable
+
110  // splicing when these estimates are observed in SourceBufferStream.
+
111  int64_t estimated_next_frame_duration_;
+
112 
+
113  MediaParser::NewSampleCB new_sample_cb_;
+
114  };
+
115 
+
116  typedef std::map<int, Track> TextTrackMap;
+
117 
+
118  public:
+
119  WebMClusterParser(int64_t timecode_scale,
+
120  int audio_track_num,
+
121  int64_t audio_default_duration,
+
122  int video_track_num,
+
123  int64_t video_default_duration,
+
124  const WebMTracksParser::TextTracks& text_tracks,
+
125  const std::set<int64_t>& ignored_tracks,
+
126  const std::string& audio_encryption_key_id,
+
127  const std::string& video_encryption_key_id,
+
128  const AudioCodec audio_codec,
+
129  const MediaParser::NewSampleCB& new_sample_cb);
+
130  ~WebMClusterParser() override;
+
131 
+
132  // Resets the parser state so it can accept a new cluster.
+
133  void Reset();
+
134 
+
135  // Parses a WebM cluster element in |buf|.
+
136  //
+
137  // Returns -1 if the parse fails.
+
138  // Returns 0 if more data is needed.
+
139  // Returns the number of bytes parsed on success.
+
140  int Parse(const uint8_t* buf, int size);
+
141 
+
142  int64_t cluster_start_time() const { return cluster_start_time_; }
+
143 
+
144  // Returns true if the last Parse() call stopped at the end of a cluster.
+
145  bool cluster_ended() const { return cluster_ended_; }
+
146 
+
147  private:
+
148  // WebMParserClient methods.
+
149  WebMParserClient* OnListStart(int id) override;
+
150  bool OnListEnd(int id) override;
+
151  bool OnUInt(int id, int64_t val) override;
+
152  bool OnBinary(int id, const uint8_t* data, int size) override;
+
153 
+
154  bool ParseBlock(bool is_simple_block,
+
155  const uint8_t* buf,
+
156  int size,
+
157  const uint8_t* additional,
+
158  int additional_size,
+
159  int duration,
+
160  int64_t discard_padding);
+
161  bool OnBlock(bool is_simple_block,
+
162  int track_num,
+
163  int timecode,
+
164  int duration,
+
165  int flags,
+
166  const uint8_t* data,
+
167  int size,
+
168  const uint8_t* additional,
+
169  int additional_size,
+
170  int64_t discard_padding);
+
171 
+
172  // Resets the Track objects associated with each text track.
+
173  void ResetTextTracks();
+
174 
+
175  // Search for the indicated track_num among the text tracks. Returns NULL
+
176  // if that track num is not a text track.
+
177  Track* FindTextTrack(int track_num);
+
178 
+
179  // Attempts to read the duration from the encoded audio data, returning as
+
180  // TimeDelta or kNoTimestamp() if duration cannot be retrieved. This obviously
+
181  // violates layering rules, but is useful for MSE to know duration in cases
+
182  // where it isn't explicitly given and cannot be calculated for Blocks at the
+
183  // end of a Cluster (the next Cluster in playback-order may not be the next
+
184  // Cluster we parse, so we can't simply use the delta of the first Block in
+
185  // the next Cluster). Avoid calling if encrypted; may produce unexpected
+
186  // output. See implementation for supported codecs.
+
187  int64_t TryGetEncodedAudioDuration(const uint8_t* data, int size);
+
188 
+
189  // Reads Opus packet header to determine packet duration. Duration returned
+
190  // as TimeDelta or kNoTimestamp() upon failure to read duration from packet.
+
191  int64_t ReadOpusDuration(const uint8_t* data, int size);
+
192 
+
193  // Tracks the number of LOGs made in process of reading encoded
+
194  // duration. Useful to prevent log spam.
+
195  int num_duration_errors_ = 0;
+
196 
+
197  double timecode_multiplier_; // Multiplier used to convert timecodes into
+
198  // microseconds.
+
199  std::set<int64_t> ignored_tracks_;
+
200  std::string audio_encryption_key_id_;
+
201  std::string video_encryption_key_id_;
+
202  const AudioCodec audio_codec_;
+
203 
+
204  WebMListParser parser_;
+
205 
+
206  int64_t last_block_timecode_ = -1;
+
207  scoped_ptr<uint8_t[]> block_data_;
+
208  int block_data_size_ = -1;
+
209  int64_t block_duration_ = -1;
+
210  int64_t block_add_id_ = -1;
+
211 
+
212  scoped_ptr<uint8_t[]> block_additional_data_;
+
213  // Must be 0 if |block_additional_data_| is null. Must be > 0 if
+
214  // |block_additional_data_| is NOT null.
+
215  int block_additional_data_size_ = 0;
+
216 
+
217  int64_t discard_padding_ = -1;
+
218  bool discard_padding_set_ = false;
+
219 
+
220  int64_t cluster_timecode_ = -1;
+
221  int64_t cluster_start_time_;
+
222  bool cluster_ended_ = false;
+
223 
+
224  Track audio_;
+
225  Track video_;
+
226  TextTrackMap text_track_map_;
+
227 
+
228  DISALLOW_IMPLICIT_CONSTRUCTORS(WebMClusterParser);
+
229 };
+
230 
+
231 } // namespace media
+
232 } // namespace edash_packager
+
233 
+
234 #endif // MEDIA_FORMATS_WEBM_WEBM_CLUSTER_PARSER_H_
+ +
base::Callback< bool(uint32_t track_id, const scoped_refptr< MediaSample > &media_sample)> NewSampleCB
Definition: media_parser.h:43
+ + +
+ + + + diff --git a/docs/dc/d3f/key__source_8h_source.html b/docs/dc/d3f/key__source_8h_source.html index 2ade3a68e1..addb889964 100644 --- a/docs/dc/d3f/key__source_8h_source.html +++ b/docs/dc/d3f/key__source_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_KEY_SOURCE_H_
-
8 #define MEDIA_BASE_KEY_SOURCE_H_
-
9 
+
8 #define MEDIA_BASE_KEY_SOURCE_H_
+
9 
10 #include <vector>
11 
12 #include "packager/base/memory/scoped_ptr.h"
@@ -189,7 +189,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d41/classedash__packager_1_1xml_1_1RepresentationXmlNode-members.html b/docs/dc/d41/classedash__packager_1_1xml_1_1RepresentationXmlNode-members.html index 404213ed26..469b8c4f46 100644 --- a/docs/dc/d41/classedash__packager_1_1xml_1_1RepresentationXmlNode-members.html +++ b/docs/dc/d41/classedash__packager_1_1xml_1_1RepresentationXmlNode-members.html @@ -111,13 +111,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); SetIntegerAttribute(const char *attribute_name, uint64_t number)edash_packager::xml::XmlNode SetStringAttribute(const char *attribute_name, const std::string &attribute)edash_packager::xml::XmlNode XmlNode(const char *name)edash_packager::xml::XmlNodeexplicit - ~RepresentationBaseXmlNode() (defined in edash_packager::xml::RepresentationBaseXmlNode)edash_packager::xml::RepresentationBaseXmlNodevirtual - ~RepresentationXmlNode() (defined in edash_packager::xml::RepresentationXmlNode)edash_packager::xml::RepresentationXmlNodevirtual + ~RepresentationBaseXmlNode() override (defined in edash_packager::xml::RepresentationBaseXmlNode)edash_packager::xml::RepresentationBaseXmlNode + ~RepresentationXmlNode() override (defined in edash_packager::xml::RepresentationXmlNode)edash_packager::xml::RepresentationXmlNode ~XmlNode() (defined in edash_packager::xml::XmlNode)edash_packager::xml::XmlNodevirtual diff --git a/docs/dc/d44/classedash__packager_1_1xml_1_1XmlNode-members.html b/docs/dc/d44/classedash__packager_1_1xml_1_1XmlNode-members.html index 800c6b60f6..54597d735c 100644 --- a/docs/dc/d44/classedash__packager_1_1xml_1_1XmlNode-members.html +++ b/docs/dc/d44/classedash__packager_1_1xml_1_1XmlNode-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d46/classedash__packager_1_1media_1_1Cluster-members.html b/docs/dc/d46/classedash__packager_1_1media_1_1Cluster-members.html new file mode 100644 index 0000000000..4e9db699df --- /dev/null +++ b/docs/dc/d46/classedash__packager_1_1media_1_1Cluster-members.html @@ -0,0 +1,108 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
edash_packager::media::Cluster Member List
+
+
+ +

This is the complete list of members for edash_packager::media::Cluster, including all inherited members.

+ + + + + +
Cluster(scoped_ptr< uint8_t[]> data, int size) (defined in edash_packager::media::Cluster)edash_packager::media::Cluster
data() const (defined in edash_packager::media::Cluster)edash_packager::media::Clusterinline
size() const (defined in edash_packager::media::Cluster)edash_packager::media::Clusterinline
~Cluster() (defined in edash_packager::media::Cluster)edash_packager::media::Cluster
+ + + + diff --git a/docs/dc/d48/classedash__packager_1_1media_1_1MediaParser.html b/docs/dc/d48/classedash__packager_1_1media_1_1MediaParser.html index 3bf4b01000..2055186a5c 100644 --- a/docs/dc/d48/classedash__packager_1_1media_1_1MediaParser.html +++ b/docs/dc/d48/classedash__packager_1_1media_1_1MediaParser.html @@ -102,7 +102,8 @@ Inheritance diagram for edash_packager::media::MediaParser: edash_packager::media::mp2t::Mp2tMediaParser edash_packager::media::mp4::MP4MediaParser -edash_packager::media::wvm::WvmMediaParser +edash_packager::media::WebMStreamParser +edash_packager::media::wvm::WvmMediaParser @@ -197,7 +198,7 @@ Public Member Functions @@ -247,7 +248,7 @@ Public Member Functions -

Implemented in edash_packager::media::wvm::WvmMediaParser, edash_packager::media::mp4::MP4MediaParser, and edash_packager::media::mp2t::Mp2tMediaParser.

+

Implemented in edash_packager::media::wvm::WvmMediaParser, edash_packager::media::mp4::MP4MediaParser, edash_packager::media::mp2t::Mp2tMediaParser, and edash_packager::media::WebMStreamParser.

@@ -285,7 +286,7 @@ Public Member Functions

Should be called when there is new data to parse.

Returns
true if successful.
-

Implemented in edash_packager::media::wvm::WvmMediaParser, edash_packager::media::mp4::MP4MediaParser, and edash_packager::media::mp2t::Mp2tMediaParser.

+

Implemented in edash_packager::media::wvm::WvmMediaParser, edash_packager::media::mp4::MP4MediaParser, edash_packager::media::mp2t::Mp2tMediaParser, and edash_packager::media::WebMStreamParser.

@@ -295,7 +296,7 @@ Public Member Functions diff --git a/docs/dc/d48/classedash__packager_1_1media_1_1MediaParser.png b/docs/dc/d48/classedash__packager_1_1media_1_1MediaParser.png index e36be4b578..d4d3548c40 100644 Binary files a/docs/dc/d48/classedash__packager_1_1media_1_1MediaParser.png and b/docs/dc/d48/classedash__packager_1_1media_1_1MediaParser.png differ diff --git a/docs/dc/d52/decoding__time__iterator_8h_source.html b/docs/dc/d52/decoding__time__iterator_8h_source.html index 1efddfedda..57d377c3cc 100644 --- a/docs/dc/d52/decoding__time__iterator_8h_source.html +++ b/docs/dc/d52/decoding__time__iterator_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_DECODING_TIME_ITERATOR_H_
-
8 #define MEDIA_FORMATS_MP4_DECODING_TIME_ITERATOR_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_DECODING_TIME_ITERATOR_H_
+
9 
10 #include <stdint.h>
11 
12 #include <vector>
@@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d55/structedash__packager_1_1media_1_1H264SEIMessage-members.html b/docs/dc/d55/structedash__packager_1_1media_1_1H264SEIMessage-members.html index 55575ecb3c..fb3cb44941 100644 --- a/docs/dc/d55/structedash__packager_1_1media_1_1H264SEIMessage-members.html +++ b/docs/dc/d55/structedash__packager_1_1media_1_1H264SEIMessage-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/dc/d73/classedash__packager_1_1media_1_1RequestSigner.html b/docs/dc/d73/classedash__packager_1_1media_1_1RequestSigner.html index f23ac06332..6729703e5b 100644 --- a/docs/dc/d73/classedash__packager_1_1media_1_1RequestSigner.html +++ b/docs/dc/d73/classedash__packager_1_1media_1_1RequestSigner.html @@ -169,7 +169,7 @@ Protected Member Functions
Returns
true on success, false otherwise.
-

Implemented in edash_packager::media::RsaRequestSigner, and edash_packager::media::AesRequestSigner.

+

Implemented in edash_packager::media::RsaRequestSigner, and edash_packager::media::AesRequestSigner.

@@ -180,7 +180,7 @@ Protected Member Functions diff --git a/docs/dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html b/docs/dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html index 88b41f6ae1..7db1e622de 100644 --- a/docs/dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html +++ b/docs/dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html @@ -111,10 +111,10 @@ Public Member Functions  MultiSegmentSegmenter (const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov)  
Segmenter implementation overrides.
-virtual bool GetInitRange (size_t *offset, size_t *size) OVERRIDE -  -virtual bool GetIndexRange (size_t *offset, size_t *size) OVERRIDE -  +bool GetInitRange (size_t *offset, size_t *size) override +  +bool GetIndexRange (size_t *offset, size_t *size) override +  - Public Member Functions inherited from edash_packager::media::mp4::Segmenter  Segmenter (const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov) @@ -174,7 +174,7 @@ void set_progress_targetDefinition at line 31 of file multi_segment_segmenter.h.

Member Function Documentation

- +
@@ -201,7 +201,7 @@ void  +overridevirtual
set_progress_target -virtual
@@ -213,7 +213,7 @@ void set_progress_target
- +
@@ -240,7 +240,7 @@ void  +overridevirtual
set_progress_target -virtual
@@ -259,7 +259,7 @@ void set_progress_target diff --git a/docs/dc/d7b/closure__thread_8cc_source.html b/docs/dc/d7b/closure__thread_8cc_source.html index 765a2c4812..fcf384047f 100644 --- a/docs/dc/d7b/closure__thread_8cc_source.html +++ b/docs/dc/d7b/closure__thread_8cc_source.html @@ -103,22 +103,22 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
14  const base::Closure& task)
15  : base::SimpleThread(name_prefix), task_(task) {}
16 
- +
18  if (HasBeenStarted() && !HasBeenJoined())
19  Join();
20 }
21 
-
22 void ClosureThread::Run() { task_.Run(); }
+
22 void ClosureThread::Run() { task_.Run(); }
23 
24 } // namespace media
25 } // namespace edash_packager
ClosureThread(const std::string &name_prefix, const base::Closure &task)
-
virtual void Run() OVERRIDE
SimpleThread implementation overrides.
-
virtual ~ClosureThread()
The destructor calls Join automatically if it is not yet joined.
+
~ClosureThread() override
The destructor calls Join automatically if it is not yet joined.
+
void Run() override
SimpleThread implementation overrides.
diff --git a/docs/dc/d7b/h264__parser_8cc_source.html b/docs/dc/d7b/h264__parser_8cc_source.html index e62900d209..22aa707a84 100644 --- a/docs/dc/d7b/h264__parser_8cc_source.html +++ b/docs/dc/d7b/h264__parser_8cc_source.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
19  return false; \
20  } \
21  } while (0)
-
22 
+
22 
23 bool ExtractResolutionFromDecoderConfig(const uint8_t* avc_decoder_config_data,
24  size_t avc_decoder_config_data_size,
25  uint32_t* coded_width,
@@ -236,7 +236,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
147 }
148 
149 #undef RCHECK
-
150 
+
150 
151 bool H264SliceHeader::IsPSlice() const {
152  return (slice_type % 5 == kPSlice);
153 }
@@ -287,7 +287,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
198  } \
199  *out = _out; \
200  } while (0)
-
201 
+
201 
202 #define READ_BOOL_OR_RETURN(out) \
203  do { \
204  int _out; \
@@ -298,7 +298,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
209  } \
210  *out = _out != 0; \
211  } while (0)
-
212 
+
212 
213 #define READ_UE_OR_RETURN(out) \
214  do { \
215  if (ReadUE(out) != kOk) { \
@@ -306,7 +306,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
217  return kInvalidStream; \
218  } \
219  } while (0)
-
220 
+
220 
221 #define READ_SE_OR_RETURN(out) \
222  do { \
223  if (ReadSE(out) != kOk) { \
@@ -314,7 +314,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
225  return kInvalidStream; \
226  } \
227  } while (0)
-
228 
+
228 
229 #define IN_RANGE_OR_RETURN(val, min, max) \
230  do { \
231  if ((val) < (min) || (val) > (max)) { \
@@ -324,7 +324,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
235  return kInvalidStream; \
236  } \
237  } while (0)
-
238 
+
238 
239 #define TRUE_OR_RETURN(a) \
240  do { \
241  if (!(a)) { \
@@ -332,7 +332,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
243  return kInvalidStream; \
244  } \
245  } while (0)
-
246 
+
246 
247 enum AspectRatioIdc {
248  kExtendedSar = 255,
249 };
@@ -1517,7 +1517,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/dc/d81/classedash__packager_1_1MpdWriter.html b/docs/dc/d81/classedash__packager_1_1MpdWriter.html index b8dd075100..c288c69b9f 100644 --- a/docs/dc/d81/classedash__packager_1_1MpdWriter.html +++ b/docs/dc/d81/classedash__packager_1_1MpdWriter.html @@ -123,7 +123,7 @@ class MpdWriterTest diff --git a/docs/dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html b/docs/dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html index 0f1edd9529..8d23bf44eb 100644 --- a/docs/dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html +++ b/docs/dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html @@ -113,14 +113,14 @@ Public Member Functions - Public Member Functions inherited from edash_packager::media::mp4::EncryptingFragmenter  EncryptingFragmenter (TrackFragment *traf, scoped_ptr< EncryptionKey > encryption_key, int64_t clear_time, uint8_t nalu_length_size)   -virtual Status AddSample (scoped_refptr< MediaSample > sample) OVERRIDE -  -virtual Status InitializeFragment (int64_t first_sample_dts) OVERRIDE -  - -virtual void FinalizeFragment () OVERRIDE - Finalize and optimize the fragment.
-  +Status AddSample (scoped_refptr< MediaSample > sample) override +  +Status InitializeFragment (int64_t first_sample_dts) override +  + +void FinalizeFragment () override + Finalize and optimize the fragment.
- Public Member Functions inherited from edash_packager::media::mp4::Fragmenter  Fragmenter (TrackFragment *traf)   @@ -153,12 +153,12 @@ bool fragment_finalized

Protected Member Functions

Fragmenter implementation overrides.
-virtual Status PrepareFragmentForEncryption (bool enable_encryption) OVERRIDE -  - -virtual void FinalizeFragmentForEncryption () OVERRIDE - Finalize current fragment for encryption.
-  +Status PrepareFragmentForEncryption (bool enable_encryption) override +  + +void FinalizeFragmentForEncryption () override + Finalize current fragment for encryption.
- Protected Member Functions inherited from edash_packager::media::mp4::EncryptingFragmenter Status CreateEncryptor ()   @@ -262,7 +262,7 @@ void set_encryption_key

Member Function Documentation

- +
@@ -279,7 +279,7 @@ void  +overrideprotectedvirtual
set_encryption_key -protectedvirtual
@@ -299,7 +299,7 @@ void set_encryption_key diff --git a/docs/dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html b/docs/dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html index dd82160ab2..ec5708531c 100644 --- a/docs/dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html +++ b/docs/dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html @@ -105,12 +105,12 @@ Inheritance diagram for edash_packager::media::mp2t::Mp2tMediaParser:
- - - - - - + + + + + +

Public Member Functions

virtual void Init (const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) OVERRIDE
 
virtual void Flush () OVERRIDE
 
virtual bool Parse (const uint8_t *buf, int size) OVERRIDE
 
void Init (const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) override
 
void Flush () override
 
bool Parse (const uint8_t *buf, int size) override
 
@@ -128,7 +128,7 @@ track_id, const scoped_refptr

Definition at line 30 of file mp2t_media_parser.h.

Member Function Documentation

- +

Additional Inherited Members

@@ -144,7 +144,7 @@ track_id, const scoped_refptr
-virtual +overridevirtual
@@ -156,7 +156,7 @@ track_id, const scoped_refptr
- +
@@ -189,11 +189,11 @@ track_id, const scoped_refptr
-virtual +overridevirtual
-

Initialize the parser with necessary callbacks. Must be called before any data is passed to Parse().

+

Initialize the parser with necessary callbacks. Must be called before any data is passed to Parse().

Parameters
@@ -208,7 +208,7 @@ track_id, const scoped_refptr
- +
init_cbwill be called once enough data has been parsed to determine the initial stream configurations.
@@ -235,7 +235,7 @@ track_id, const scoped_refptr
-virtual +overridevirtual
@@ -255,7 +255,7 @@ track_id, const scoped_refptr
diff --git a/docs/dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html b/docs/dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html index 92bedf7922..d7f23d64d0 100644 --- a/docs/dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html +++ b/docs/dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::DecodingTimeToSample:
- - - - - - - + + + + + + + @@ -145,7 +145,7 @@ Additional Inherited Members

Definition at line 247 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -161,7 +161,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -180,7 +180,7 @@ Additional Inherited Members
diff --git a/docs/dc/dbf/box__buffer_8h_source.html b/docs/dc/dbf/box__buffer_8h_source.html index 0117a285a4..26d80dc67b 100644 --- a/docs/dc/dbf/box__buffer_8h_source.html +++ b/docs/dc/dbf/box__buffer_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_BOX_BUFFER_H_
-
8 #define MEDIA_FORMATS_MP4_BOX_BUFFER_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_BOX_BUFFER_H_
+
9 
10 #include "packager/base/compiler_specific.h"
11 #include "packager/media/base/buffer_writer.h"
12 #include "packager/media/formats/mp4/box.h"
@@ -275,7 +275,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html b/docs/dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html index 829cfd0f82..bfac483b7e 100644 --- a/docs/dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html +++ b/docs/dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html @@ -313,7 +313,7 @@ static const size_t  diff --git a/docs/dc/dc8/classedash__packager_1_1media_1_1WebMWebVTTParser.html b/docs/dc/dc8/classedash__packager_1_1media_1_1WebMWebVTTParser.html new file mode 100644 index 0000000000..1c010f4a2a --- /dev/null +++ b/docs/dc/dc8/classedash__packager_1_1media_1_1WebMWebVTTParser.html @@ -0,0 +1,118 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::WebMWebVTTParser Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::WebMWebVTTParser Class Reference
+
+
+ + + + +

+Static Public Member Functions

+static void Parse (const uint8_t *payload, int payload_size, std::string *id, std::string *settings, std::string *content)
 
+

Detailed Description

+
+

Definition at line 17 of file webm_webvtt_parser.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/dc/dd4/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html b/docs/dc/dd4/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html index 924df4f83d..b29fd4dd88 100644 --- a/docs/dc/dd4/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html +++ b/docs/dc/dd4/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/dd9/rsa__key_8cc_source.html b/docs/dc/dd9/rsa__key_8cc_source.html index aa720cbab9..bb7129dd4d 100644 --- a/docs/dc/dd9/rsa__key_8cc_source.html +++ b/docs/dc/dd9/rsa__key_8cc_source.html @@ -350,7 +350,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/ddf/classedash__packager_1_1media_1_1WebMInfoParser-members.html b/docs/dc/ddf/classedash__packager_1_1media_1_1WebMInfoParser-members.html new file mode 100644 index 0000000000..cef90ba2e1 --- /dev/null +++ b/docs/dc/ddf/classedash__packager_1_1media_1_1WebMInfoParser-members.html @@ -0,0 +1,113 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
edash_packager::media::WebMInfoParser Member List
+
+
+ +

This is the complete list of members for edash_packager::media::WebMInfoParser, including all inherited members.

+ + + + + + + + + + +
date_utc() const (defined in edash_packager::media::WebMInfoParser)edash_packager::media::WebMInfoParserinline
DISALLOW_COPY_AND_ASSIGN(WebMParserClient) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
duration() const (defined in edash_packager::media::WebMInfoParser)edash_packager::media::WebMInfoParserinline
Parse(const uint8_t *buf, int size) (defined in edash_packager::media::WebMInfoParser)edash_packager::media::WebMInfoParser
timecode_scale() const (defined in edash_packager::media::WebMInfoParser)edash_packager::media::WebMInfoParserinline
WebMInfoParser() (defined in edash_packager::media::WebMInfoParser)edash_packager::media::WebMInfoParser
WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
~WebMInfoParser() override (defined in edash_packager::media::WebMInfoParser)edash_packager::media::WebMInfoParser
~WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
+ + + + diff --git a/docs/dc/ddf/udp__file__posix_8cc_source.html b/docs/dc/ddf/udp__file__posix_8cc_source.html index 9a7dc4fc88..16511c815a 100644 --- a/docs/dc/ddf/udp__file__posix_8cc_source.html +++ b/docs/dc/ddf/udp__file__posix_8cc_source.html @@ -176,7 +176,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
87 
88 UdpFile::~UdpFile() {}
89 
- +
91  if (socket_ != kInvalidSocket) {
92  close(socket_);
93  socket_ = kInvalidSocket;
@@ -185,7 +185,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
96  return true;
97 }
98 
-
99 int64_t UdpFile::Read(void* buffer, uint64_t length) {
+
99 int64_t UdpFile::Read(void* buffer, uint64_t length) {
100  DCHECK(buffer);
101  DCHECK_GE(length, 65535u)
102  << "Buffer may be too small to read entire datagram.";
@@ -201,29 +201,29 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
112  return result;
113 }
114 
-
115 int64_t UdpFile::Write(const void* buffer, uint64_t length) {
+
115 int64_t UdpFile::Write(const void* buffer, uint64_t length) {
116  NOTIMPLEMENTED();
117  return -1;
118 }
119 
-
120 int64_t UdpFile::Size() {
+
120 int64_t UdpFile::Size() {
121  if (socket_ == kInvalidSocket)
122  return -1;
123 
124  return std::numeric_limits<int64_t>::max();
125 }
126 
- +
128  NOTIMPLEMENTED();
129  return false;
130 }
131 
-
132 bool UdpFile::Seek(uint64_t position) {
+
132 bool UdpFile::Seek(uint64_t position) {
133  NOTIMPLEMENTED();
134  return false;
135 }
136 
-
137 bool UdpFile::Tell(uint64_t* position) {
+
137 bool UdpFile::Tell(uint64_t* position) {
138  NOTIMPLEMENTED();
139  return false;
140 }
@@ -252,7 +252,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
163  DISALLOW_COPY_AND_ASSIGN(ScopedSocket);
164 };
165 
- +
167  DCHECK_EQ(kInvalidSocket, socket_);
168 
169  // TODO(tinskip): Support IPv6 addresses.
@@ -309,20 +309,20 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
220 } // namespace media
221 } // namespace edash_packager
UdpFile(const char *address_and_port)
+
bool Tell(uint64_t *position) override
+
bool Seek(uint64_t position) override
+ +
int64_t Write(const void *buffer, uint64_t length) override
Define an abstract file interface.
Definition: file.h:22
+
const std::string & file_name() const
Definition: file.h:89
-
virtual bool Flush() OVERRIDE
-
virtual bool Open() OVERRIDE
Internal open. Should not be used directly.
-
virtual bool Tell(uint64_t *position) OVERRIDE
-
virtual int64_t Write(const void *buffer, uint64_t length) OVERRIDE
-
virtual int64_t Read(void *buffer, uint64_t length) OVERRIDE
-
virtual int64_t Size() OVERRIDE
-
virtual bool Close() OVERRIDE
-
virtual bool Seek(uint64_t position) OVERRIDE
+ +
int64_t Read(void *buffer, uint64_t length) override
+
bool Open() override
Internal open. Should not be used directly.
diff --git a/docs/dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html b/docs/dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html index 3898945330..81723e49fc 100644 --- a/docs/dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html +++ b/docs/dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html @@ -277,7 +277,7 @@ void set_progress_target
Returns
true if there is an index byte range, while setting offset and size; or false if index byte range does not apply.
-

Implemented in edash_packager::media::mp4::MultiSegmentSegmenter, and edash_packager::media::mp4::SingleSegmentSegmenter.

+

Implemented in edash_packager::media::mp4::MultiSegmentSegmenter, and edash_packager::media::mp4::SingleSegmentSegmenter.

@@ -314,7 +314,7 @@ void set_progress_target
Returns
true if there is an initialization range, while setting offset and size; or false if initialization range does not apply.
-

Implemented in edash_packager::media::mp4::MultiSegmentSegmenter, and edash_packager::media::mp4::SingleSegmentSegmenter.

+

Implemented in edash_packager::media::mp4::MultiSegmentSegmenter, and edash_packager::media::mp4::SingleSegmentSegmenter.

@@ -423,7 +423,7 @@ void set_progress_target diff --git a/docs/dc/dec/ts__section__pmt_8cc_source.html b/docs/dc/dec/ts__section__pmt_8cc_source.html index 455d679f5d..839edb2b68 100644 --- a/docs/dc/dec/ts__section__pmt_8cc_source.html +++ b/docs/dc/dec/ts__section__pmt_8cc_source.html @@ -207,7 +207,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/def/structedash__packager_1_1media_1_1mp4_1_1DataInformation-members.html b/docs/dc/def/structedash__packager_1_1media_1_1mp4_1_1DataInformation-members.html index 4d30cb5023..692e833c20 100644 --- a/docs/dc/def/structedash__packager_1_1media_1_1mp4_1_1DataInformation-members.html +++ b/docs/dc/def/structedash__packager_1_1media_1_1mp4_1_1DataInformation-members.html @@ -95,19 +95,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::DataInformation)edash_packager::media::mp4::DataInformationvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::DataInformationvirtual
BoxType() const override (defined in edash_packager::media::mp4::DataInformation)edash_packager::media::mp4::DataInformationvirtual
ComputeSize() overrideedash_packager::media::mp4::DataInformationvirtual
DataInformation() (defined in edash_packager::media::mp4::DataInformation)edash_packager::media::mp4::DataInformation
dref (defined in edash_packager::media::mp4::DataInformation)edash_packager::media::mp4::DataInformation
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::DataInformationvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::DataInformationvirtual
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~DataInformation() (defined in edash_packager::media::mp4::DataInformation)edash_packager::media::mp4::DataInformationvirtual
~DataInformation() override (defined in edash_packager::media::mp4::DataInformation)edash_packager::media::mp4::DataInformation
diff --git a/docs/dc/df1/classedash__packager_1_1media_1_1DecryptorSource.html b/docs/dc/df1/classedash__packager_1_1media_1_1DecryptorSource.html index 95fb447b92..c77634f0cf 100644 --- a/docs/dc/df1/classedash__packager_1_1media_1_1DecryptorSource.html +++ b/docs/dc/df1/classedash__packager_1_1media_1_1DecryptorSource.html @@ -158,7 +158,7 @@ Public Member Functions diff --git a/docs/dc/df8/closure__thread_8h_source.html b/docs/dc/df8/closure__thread_8h_source.html index dfbeb588b9..2e0481bc7e 100644 --- a/docs/dc/df8/closure__thread_8h_source.html +++ b/docs/dc/df8/closure__thread_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_CLOSURE_THREAD_H_
-
8 #define MEDIA_BASE_CLOSURE_THREAD_H_
-
9 
+
8 #define MEDIA_BASE_CLOSURE_THREAD_H_
+
9 
10 #include "packager/base/callback.h"
11 #include "packager/base/threading/simple_thread.h"
12 
@@ -107,10 +107,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
32  explicit ClosureThread(const std::string& name_prefix,
33  const base::Closure& task);
34 
-
36  virtual ~ClosureThread();
+
36  ~ClosureThread() override;
37 
38  protected:
-
40  virtual void Run() OVERRIDE;
+
40  void Run() override;
41 
42  private:
43  const base::Closure task_;
@@ -121,13 +121,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
48 
49 #endif // MEDIA_BASE_CLOSURE_THREAD_H_
ClosureThread(const std::string &name_prefix, const base::Closure &task)
-
virtual void Run() OVERRIDE
SimpleThread implementation overrides.
+
~ClosureThread() override
The destructor calls Join automatically if it is not yet joined.
-
virtual ~ClosureThread()
The destructor calls Join automatically if it is not yet joined.
+
void Run() override
SimpleThread implementation overrides.
diff --git a/docs/dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html b/docs/dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html index bf356b1796..3b058753a9 100644 --- a/docs/dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html +++ b/docs/dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html @@ -112,7 +112,7 @@ Inheritance diagram for edash_packager::media::ThreadedIoFile: - @@ -123,30 +123,30 @@ Public Member Functions   - - - - - - - - - - - - - - + + + + + + + + + + + + + +

Public Types

enum  Mode { kInputMode, +
enum  Mode { kInputMode, kOutputMode }
 
ThreadedIoFile (scoped_ptr< File, FileCloser > internal_file, Mode mode, uint64_t io_cache_size, uint64_t io_block_size)
 
File implementation overrides.
virtual bool Close () OVERRIDE
 
virtual int64_t Read (void *buffer, uint64_t length) OVERRIDE
 
virtual int64_t Write (const void *buffer, uint64_t length) OVERRIDE
 
virtual int64_t Size () OVERRIDE
 
virtual bool Flush () OVERRIDE
 
virtual bool Seek (uint64_t position) OVERRIDE
 
virtual bool Tell (uint64_t *position) OVERRIDE
 
bool Close () override
 
int64_t Read (void *buffer, uint64_t length) override
 
int64_t Write (const void *buffer, uint64_t length) override
 
int64_t Size () override
 
bool Flush () override
 
bool Seek (uint64_t position) override
 
bool Tell (uint64_t *position) override
 
- Public Member Functions inherited from edash_packager::media::File
const std::string & file_name () const
 
- - - + + + @@ -179,7 +179,7 @@ Additional Inherited Members

Definition at line 22 of file threaded_io_file.h.

Member Function Documentation

- +

Protected Member Functions

-virtual bool Open () OVERRIDE
 Internal open. Should not be used directly.
 
+bool Open () override
 Internal open. Should not be used directly.
 
void RunInInputMode ()
 
@@ -195,11 +195,11 @@ Additional Inherited Members
-virtual +overridevirtual
-

Flush() and de-allocate resources associated with this file, and delete this File object. THIS IS THE ONE TRUE WAY TO DEALLOCATE THIS OBJECT.

+

Flush() and de-allocate resources associated with this file, and delete this File object. THIS IS THE ONE TRUE WAY TO DEALLOCATE THIS OBJECT.

Returns
true on success. For writable files, returning false MAY INDICATE DATA LOSS.

Implements edash_packager::media::File.

@@ -208,7 +208,7 @@ Additional Inherited Members
- +
@@ -224,7 +224,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -237,7 +237,7 @@ Additional Inherited Members
- +
@@ -264,7 +264,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -284,7 +284,7 @@ Additional Inherited Members
- +
@@ -301,7 +301,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -320,7 +320,7 @@ Additional Inherited Members
- +
@@ -336,7 +336,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -348,7 +348,7 @@ Additional Inherited Members
- +
@@ -365,7 +365,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -384,7 +384,7 @@ Additional Inherited Members
- +
@@ -411,7 +411,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -438,7 +438,7 @@ Additional Inherited Members
diff --git a/docs/dc/dfc/classedash__packager_1_1media_1_1Muxer-members.html b/docs/dc/dfc/classedash__packager_1_1media_1_1Muxer-members.html index b6e5245647..4bc827558f 100644 --- a/docs/dc/dfc/classedash__packager_1_1media_1_1Muxer-members.html +++ b/docs/dc/dfc/classedash__packager_1_1media_1_1Muxer-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264.html b/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264.html index 2d52e8b208..b0e6b26ec6 100644 --- a/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264.html +++ b/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264.html @@ -109,15 +109,15 @@ Public Member Functions  EsParserH264 (uint32_t pid, const NewStreamInfoCB &new_stream_info_cb, const EmitSampleCB &emit_sample_cb)   - -virtual bool Parse (const uint8_t *buf, int size, int64_t pts, int64_t dts) OVERRIDE -  - -virtual void Flush () OVERRIDE -  - -virtual void Reset () OVERRIDE -  + +bool Parse (const uint8_t *buf, int size, int64_t pts, int64_t dts) override +  + +void Flush () override +  + +void Reset () override +  - Public Member Functions inherited from edash_packager::media::mp2t::EsParser  EsParser (uint32_t pid) @@ -129,14 +129,15 @@ uint32_t pid ()

Additional Inherited Members

- Public Types inherited from edash_packager::media::mp2t::EsParser - -typedef base::Callback< void(scoped_refptr
-< StreamInfo > &)> NewStreamInfoCB -  - + +typedef base::Callback< void(const
+scoped_refptr< StreamInfo > &)> NewStreamInfoCB +  + typedef base::Callback< void(uint32_t,
-scoped_refptr< MediaSample > &)> EmitSampleCB -  +const scoped_refptr
+< MediaSample > &)> EmitSampleCB

Detailed Description

@@ -148,7 +149,7 @@ scoped_refptr< diff --git a/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat.html b/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat.html index 5d79f40069..eda3d99ede 100644 --- a/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat.html +++ b/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat.html @@ -112,7 +112,7 @@ typedef base::Callback< void(int,
int)> RegisterPmtCb   - Public Types inherited from edash_packager::media::mp2t::TsSection -enum  SpecialPid {
+enum  SpecialPid {
  kPidPat = 0x0, kPidCat = 0x1, kPidTsdt = 0x2, @@ -128,22 +128,22 @@ Public Member Functions  TsSectionPat (const RegisterPmtCb &register_pmt_cb)   - -virtual bool ParsePsiSection (BitReader *bit_reader) OVERRIDE -  - -virtual void ResetPsiSection () OVERRIDE -  + +bool ParsePsiSection (BitReader *bit_reader) override +  + +void ResetPsiSection () override +  - Public Member Functions inherited from edash_packager::media::mp2t::TsSectionPsi - -virtual bool Parse (bool payload_unit_start_indicator, const uint8_t *buf, int size) OVERRIDE -  - -virtual void Flush () OVERRIDE -  - -virtual void Reset () OVERRIDE -  + +bool Parse (bool payload_unit_start_indicator, const uint8_t *buf, int size) override +  + +void Flush () override +  + +void Reset () override + 

Detailed Description

@@ -155,7 +155,7 @@ virtual void Reset ()
diff --git a/docs/dd/d11/mpd__builder_8cc_source.html b/docs/dd/d11/mpd__builder_8cc_source.html index c6e3abbab9..57f2645b27 100644 --- a/docs/dd/d11/mpd__builder_8cc_source.html +++ b/docs/dd/d11/mpd__builder_8cc_source.html @@ -442,17 +442,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
353  : representation_id_(representation_id), adaptation_set_(adaptation_set) {
354  DCHECK(adaptation_set_);
355  }
-
356  virtual ~RepresentationStateChangeListenerImpl() OVERRIDE {}
+
356  ~RepresentationStateChangeListenerImpl() override {}
357 
358  // RepresentationStateChangeListener implementation.
-
359  virtual void OnNewSegmentForRepresentation(uint64_t start_time,
-
360  uint64_t duration) OVERRIDE {
+
359  void OnNewSegmentForRepresentation(uint64_t start_time,
+
360  uint64_t duration) override {
361  adaptation_set_->OnNewSegmentForRepresentation(representation_id_,
362  start_time, duration);
363  }
364 
-
365  virtual void OnSetFrameRateForRepresentation(uint32_t frame_duration,
-
366  uint32_t timescale) OVERRIDE {
+
365  void OnSetFrameRateForRepresentation(uint32_t frame_duration,
+
366  uint32_t timescale) override {
367  adaptation_set_->OnSetFrameRateForRepresentation(representation_id_,
368  frame_duration, timescale);
369  }
@@ -1422,7 +1422,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/dd/d12/mpd__writer_8cc_source.html b/docs/dd/d12/mpd__writer_8cc_source.html index 53fad7da13..ce705d2221 100644 --- a/docs/dd/d12/mpd__writer_8cc_source.html +++ b/docs/dd/d12/mpd__writer_8cc_source.html @@ -99,8 +99,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #include <google/protobuf/text_format.h>
11 #include <stdint.h>
12 
-
13 #include "packager/base/file_util.h"
-
14 #include "packager/base/files/file_path.h"
+
13 #include "packager/base/files/file_path.h"
+
14 #include "packager/base/files/file_util.h"
15 #include "packager/media/file/file.h"
16 #include "packager/mpd/base/dash_iop_mpd_notifier.h"
17 #include "packager/mpd/base/mpd_builder.h"
@@ -124,109 +124,107 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
35 class DashIopMpdNotifierFactory : public MpdNotifierFactory {
36  public:
37  DashIopMpdNotifierFactory() {}
-
38  virtual ~DashIopMpdNotifierFactory() OVERRIDE {}
+
38  ~DashIopMpdNotifierFactory() override {}
39 
-
40  virtual scoped_ptr<MpdNotifier> Create(
-
41  DashProfile dash_profile,
-
42  const MpdOptions& mpd_options,
-
43  const std::vector<std::string>& base_urls,
-
44  const std::string& output_path) OVERRIDE {
-
45  return scoped_ptr<MpdNotifier>(new DashIopMpdNotifier(
-
46  dash_profile, mpd_options, base_urls, output_path));
-
47  }
-
48 };
-
49 
-
50 // Factory that creates SimpleMpdNotifier instances.
-
51 class SimpleMpdNotifierFactory : public MpdNotifierFactory {
-
52  public:
-
53  SimpleMpdNotifierFactory() {}
-
54  virtual ~SimpleMpdNotifierFactory() OVERRIDE {}
-
55 
-
56  virtual scoped_ptr<MpdNotifier> Create(
-
57  DashProfile dash_profile,
-
58  const MpdOptions& mpd_options,
-
59  const std::vector<std::string>& base_urls,
-
60  const std::string& output_path) OVERRIDE {
-
61  return scoped_ptr<MpdNotifier>(new SimpleMpdNotifier(
-
62  dash_profile, mpd_options, base_urls, output_path));
-
63  }
-
64 };
+
40  scoped_ptr<MpdNotifier> Create(DashProfile dash_profile,
+
41  const MpdOptions& mpd_options,
+
42  const std::vector<std::string>& base_urls,
+
43  const std::string& output_path) override {
+
44  return scoped_ptr<MpdNotifier>(new DashIopMpdNotifier(
+
45  dash_profile, mpd_options, base_urls, output_path));
+
46  }
+
47 };
+
48 
+
49 // Factory that creates SimpleMpdNotifier instances.
+
50 class SimpleMpdNotifierFactory : public MpdNotifierFactory {
+
51  public:
+
52  SimpleMpdNotifierFactory() {}
+
53  ~SimpleMpdNotifierFactory() override {}
+
54 
+
55  scoped_ptr<MpdNotifier> Create(DashProfile dash_profile,
+
56  const MpdOptions& mpd_options,
+
57  const std::vector<std::string>& base_urls,
+
58  const std::string& output_path) override {
+
59  return scoped_ptr<MpdNotifier>(new SimpleMpdNotifier(
+
60  dash_profile, mpd_options, base_urls, output_path));
+
61  }
+
62 };
+
63 
+
64 } // namespace
65 
-
66 } // namespace
-
67 
-
68 MpdWriter::MpdWriter()
-
69  : notifier_factory_(FLAGS_generate_dash_if_iop_compliant_mpd
-
70  ? static_cast<MpdNotifierFactory*>(
-
71  new DashIopMpdNotifierFactory())
-
72  : static_cast<MpdNotifierFactory*>(
-
73  new SimpleMpdNotifierFactory())) {}
-
74 MpdWriter::~MpdWriter() {}
-
75 
-
76 bool MpdWriter::AddFile(const std::string& media_info_path,
-
77  const std::string& mpd_path) {
-
78  std::string file_content;
-
79  if (!media::File::ReadFileToString(media_info_path.c_str(),
-
80  &file_content)) {
-
81  LOG(ERROR) << "Failed to read " << media_info_path << " to string.";
-
82  return false;
-
83  }
-
84 
-
85  MediaInfo media_info;
-
86  if (!::google::protobuf::TextFormat::ParseFromString(file_content,
-
87  &media_info)) {
-
88  LOG(ERROR) << "Failed to parse " << file_content << " to MediaInfo.";
-
89  return false;
-
90  }
-
91 
-
92  MpdBuilder::MakePathsRelativeToMpd(mpd_path, &media_info);
-
93  media_infos_.push_back(media_info);
-
94  return true;
-
95 }
-
96 
-
97 void MpdWriter::AddBaseUrl(const std::string& base_url) {
-
98  base_urls_.push_back(base_url);
-
99 }
-
100 
-
101 bool MpdWriter::WriteMpdToFile(const char* file_name) {
-
102  CHECK(file_name);
-
103  scoped_ptr<MpdNotifier> notifier = notifier_factory_->Create(
-
104  kOnDemandProfile, MpdOptions(), base_urls_, file_name);
-
105  if (!notifier->Init()) {
-
106  LOG(ERROR) << "failed to initialize MpdNotifier.";
-
107  return false;
-
108  }
-
109 
-
110  for (std::list<MediaInfo>::const_iterator it = media_infos_.begin();
-
111  it != media_infos_.end();
-
112  ++it) {
-
113  uint32_t unused_conatiner_id;
-
114  if (!notifier->NotifyNewContainer(*it, &unused_conatiner_id)) {
-
115  LOG(ERROR) << "Failed to add MediaInfo for media file: "
-
116  << it->media_file_name();
-
117  return false;
-
118  }
-
119  }
-
120 
-
121  if (!notifier->Flush()) {
-
122  LOG(ERROR) << "Failed to flush MPD notifier.";
-
123  return false;
-
124  }
-
125  return true;
-
126 }
-
127 
-
128 void MpdWriter::SetMpdNotifierFactoryForTest(
-
129  scoped_ptr<MpdNotifierFactory> factory) {
-
130  notifier_factory_ = factory.Pass();
-
131 }
-
132 
-
133 } // namespace edash_packager
+
66 MpdWriter::MpdWriter()
+
67  : notifier_factory_(FLAGS_generate_dash_if_iop_compliant_mpd
+
68  ? static_cast<MpdNotifierFactory*>(
+
69  new DashIopMpdNotifierFactory())
+
70  : static_cast<MpdNotifierFactory*>(
+
71  new SimpleMpdNotifierFactory())) {}
+
72 MpdWriter::~MpdWriter() {}
+
73 
+
74 bool MpdWriter::AddFile(const std::string& media_info_path,
+
75  const std::string& mpd_path) {
+
76  std::string file_content;
+
77  if (!media::File::ReadFileToString(media_info_path.c_str(),
+
78  &file_content)) {
+
79  LOG(ERROR) << "Failed to read " << media_info_path << " to string.";
+
80  return false;
+
81  }
+
82 
+
83  MediaInfo media_info;
+
84  if (!::google::protobuf::TextFormat::ParseFromString(file_content,
+
85  &media_info)) {
+
86  LOG(ERROR) << "Failed to parse " << file_content << " to MediaInfo.";
+
87  return false;
+
88  }
+
89 
+
90  MpdBuilder::MakePathsRelativeToMpd(mpd_path, &media_info);
+
91  media_infos_.push_back(media_info);
+
92  return true;
+
93 }
+
94 
+
95 void MpdWriter::AddBaseUrl(const std::string& base_url) {
+
96  base_urls_.push_back(base_url);
+
97 }
+
98 
+
99 bool MpdWriter::WriteMpdToFile(const char* file_name) {
+
100  CHECK(file_name);
+
101  scoped_ptr<MpdNotifier> notifier = notifier_factory_->Create(
+
102  kOnDemandProfile, MpdOptions(), base_urls_, file_name);
+
103  if (!notifier->Init()) {
+
104  LOG(ERROR) << "failed to initialize MpdNotifier.";
+
105  return false;
+
106  }
+
107 
+
108  for (std::list<MediaInfo>::const_iterator it = media_infos_.begin();
+
109  it != media_infos_.end();
+
110  ++it) {
+
111  uint32_t unused_conatiner_id;
+
112  if (!notifier->NotifyNewContainer(*it, &unused_conatiner_id)) {
+
113  LOG(ERROR) << "Failed to add MediaInfo for media file: "
+
114  << it->media_file_name();
+
115  return false;
+
116  }
+
117  }
+
118 
+
119  if (!notifier->Flush()) {
+
120  LOG(ERROR) << "Failed to flush MPD notifier.";
+
121  return false;
+
122  }
+
123  return true;
+
124 }
+
125 
+
126 void MpdWriter::SetMpdNotifierFactoryForTest(
+
127  scoped_ptr<MpdNotifierFactory> factory) {
+
128  notifier_factory_ = factory.Pass();
+
129 }
+
130 
+
131 } // namespace edash_packager
static bool ReadFileToString(const char *file_name, std::string *contents)
Definition: file.cc:160
Define an abstract file interface.
Definition: file.h:22
static void MakePathsRelativeToMpd(const std::string &mpd_path, MediaInfo *media_info)
Definition: mpd_builder.cc:608
diff --git a/docs/dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html b/docs/dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html index 1dabb9be93..cdb6aa3ca7 100644 --- a/docs/dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html +++ b/docs/dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::MovieHeader: - - - - - - - + + + + + + + @@ -163,7 +163,7 @@ Additional Inherited Members

Definition at line 109 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -179,7 +179,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -198,7 +198,7 @@ Additional Inherited Members
diff --git a/docs/dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html b/docs/dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html index 91d4037e78..548bc7a44b 100644 --- a/docs/dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html +++ b/docs/dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html @@ -108,7 +108,7 @@ Inheritance diagram for edash_packager::media::mp4::TrackHeader: - @@ -116,15 +116,15 @@ Public Types

Public Types

enum  TrackHeaderFlags { kTrackEnabled = 0x000001, +
enum  TrackHeaderFlags { kTrackEnabled = 0x000001, kTrackInMovie = 0x000002, kTrackInPreview = 0x000004 }
- - - - - - - + + + + + + + @@ -178,7 +178,7 @@ Additional Inherited Members

Definition at line 121 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -194,7 +194,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -213,7 +213,7 @@ Additional Inherited Members
diff --git a/docs/dd/d18/es__parser__adts_8h_source.html b/docs/dd/d18/es__parser__adts_8h_source.html index f4591cd7fd..8bdd38eb3a 100644 --- a/docs/dd/d18/es__parser__adts_8h_source.html +++ b/docs/dd/d18/es__parser__adts_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP2T_ES_PARSER_ADTS_H_
-
6 #define MEDIA_FORMATS_MP2T_ES_PARSER_ADTS_H_
-
7 
+
6 #define MEDIA_FORMATS_MP2T_ES_PARSER_ADTS_H_
+
7 
8 #include <list>
9 #include <utility>
10 
@@ -117,65 +117,62 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
28  const NewStreamInfoCB& new_stream_info_cb,
29  const EmitSampleCB& emit_sample_cb,
30  bool sbr_in_mimetype);
-
31  virtual ~EsParserAdts();
+
31  ~EsParserAdts() override;
32 
33  // EsParser implementation.
-
34  virtual bool Parse(const uint8_t* buf,
-
35  int size,
-
36  int64_t pts,
-
37  int64_t dts) OVERRIDE;
-
38  virtual void Flush() OVERRIDE;
-
39  virtual void Reset() OVERRIDE;
-
40 
-
41  private:
-
42  // Used to link a PTS with a byte position in the ES stream.
-
43  typedef std::pair<int, int64_t> EsPts;
-
44  typedef std::list<EsPts> EsPtsList;
-
45 
-
46  // Signal any audio configuration change (if any).
-
47  // Return false if the current audio config is not
-
48  // a supported ADTS audio config.
-
49  bool UpdateAudioConfiguration(const uint8_t* adts_frame, size_t frame_size);
+
34  bool Parse(const uint8_t* buf, int size, int64_t pts, int64_t dts) override;
+
35  void Flush() override;
+
36  void Reset() override;
+
37 
+
38  private:
+
39  // Used to link a PTS with a byte position in the ES stream.
+
40  typedef std::pair<int, int64_t> EsPts;
+
41  typedef std::list<EsPts> EsPtsList;
+
42 
+
43  // Signal any audio configuration change (if any).
+
44  // Return false if the current audio config is not
+
45  // a supported ADTS audio config.
+
46  bool UpdateAudioConfiguration(const uint8_t* adts_frame, size_t frame_size);
+
47 
+
48  // Discard some bytes from the ES stream.
+
49  void DiscardEs(int nbytes);
50 
-
51  // Discard some bytes from the ES stream.
-
52  void DiscardEs(int nbytes);
-
53 
-
54  // Callbacks:
-
55  // - to signal a new audio configuration,
-
56  // - to send ES buffers.
-
57  NewStreamInfoCB new_stream_info_cb_;
-
58  EmitSampleCB emit_sample_cb_;
-
59 
-
60  // True when AAC SBR extension is signalled in the mimetype
-
61  // (mp4a.40.5 in the codecs parameter).
-
62  bool sbr_in_mimetype_;
+
51  // Callbacks:
+
52  // - to signal a new audio configuration,
+
53  // - to send ES buffers.
+
54  NewStreamInfoCB new_stream_info_cb_;
+
55  EmitSampleCB emit_sample_cb_;
+
56 
+
57  // True when AAC SBR extension is signalled in the mimetype
+
58  // (mp4a.40.5 in the codecs parameter).
+
59  bool sbr_in_mimetype_;
+
60 
+
61  // Bytes of the ES stream that have not been emitted yet.
+
62  ByteQueue es_byte_queue_;
63 
-
64  // Bytes of the ES stream that have not been emitted yet.
-
65  ByteQueue es_byte_queue_;
+
64  // List of PTS associated with a position in the ES stream.
+
65  EsPtsList pts_list_;
66 
-
67  // List of PTS associated with a position in the ES stream.
-
68  EsPtsList pts_list_;
+
67  // Interpolated PTS for frames that don't have one.
+
68  scoped_ptr<AudioTimestampHelper> audio_timestamp_helper_;
69 
-
70  // Interpolated PTS for frames that don't have one.
-
71  scoped_ptr<AudioTimestampHelper> audio_timestamp_helper_;
-
72 
-
73  scoped_refptr<StreamInfo> last_audio_decoder_config_;
+
70  scoped_refptr<StreamInfo> last_audio_decoder_config_;
+
71 
+
72  DISALLOW_COPY_AND_ASSIGN(EsParserAdts);
+
73 };
74 
-
75  DISALLOW_COPY_AND_ASSIGN(EsParserAdts);
-
76 };
-
77 
-
78 } // namespace mp2t
-
79 } // namespace media
-
80 } // namespace edash_packager
-
81 
-
82 #endif
+
75 } // namespace mp2t
+
76 } // namespace media
+
77 } // namespace edash_packager
+
78 
+
79 #endif
diff --git a/docs/dd/d19/video__stream__info_8cc_source.html b/docs/dd/d19/video__stream__info_8cc_source.html index c67c682a52..c75b8d57ef 100644 --- a/docs/dd/d19/video__stream__info_8cc_source.html +++ b/docs/dd/d19/video__stream__info_8cc_source.html @@ -165,14 +165,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
76 
77 VideoStreamInfo::~VideoStreamInfo() {}
78 
- +
80  return codec_ != kUnknownVideoCodec &&
81  width_ > 0 && width_ <= limits::kMaxDimension &&
82  height_ > 0 && height_ <= limits::kMaxDimension &&
83  (nalu_length_size_ <= 2 || nalu_length_size_ == 4);
84 }
85 
-
86 std::string VideoStreamInfo::ToString() const {
+
86 std::string VideoStreamInfo::ToString() const {
87  return base::StringPrintf(
88  "%s codec: %s\n width: %d\n height: %d\n pixel aspect ratio: %d:%d\n "
89  "trick_play_rate: %d\n nalu_length_size: %d\n",
@@ -193,7 +193,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
104  case kCodecH264: {
105  const uint8_t bytes[] = {profile, compatible_profiles, level};
106  return "avc1." +
-
107  StringToLowerASCII(base::HexEncode(bytes, arraysize(bytes)));
+
107  base::StringToLowerASCII(base::HexEncode(bytes, arraysize(bytes)));
108  }
109  default:
110  NOTIMPLEMENTED() << "Unknown Codec: " << codec;
@@ -203,16 +203,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
114 
115 } // namespace media
116 } // namespace edash_packager
-
virtual bool IsValidConfig() const OVERRIDE
-
virtual std::string ToString() const OVERRIDE
-
Abstract class holds stream information.
Definition: stream_info.h:25
+
std::string ToString() const override
+
Abstract class holds stream information.
Definition: stream_info.h:26
+
virtual std::string ToString() const
Definition: stream_info.cc:40
static std::string GetCodecString(VideoCodec codec, uint8_t profile, uint8_t compatible_profiles, uint8_t level)
VideoStreamInfo(int track_id, uint32_t time_scale, uint64_t duration, VideoCodec codec, const std::string &codec_string, const std::string &language, uint16_t width, uint16_t height, uint32_t pixel_width, uint32_t pixel_height, int16_t trick_play_rate, uint8_t nalu_length_size, const uint8_t *extra_data, size_t extra_data_size, bool is_encrypted)
diff --git a/docs/dd/d1a/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter-members.html b/docs/dd/d1a/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter-members.html index cd7e65c485..5eab111d1d 100644 --- a/docs/dd/d1a/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter-members.html +++ b/docs/dd/d1a/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html b/docs/dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html index 4e8f971a2f..7ad7e4ffe8 100644 --- a/docs/dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html +++ b/docs/dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html @@ -109,17 +109,17 @@ Inheritance diagram for edash_packager::media::ClosureThread: Public Member Functions  ClosureThread (const std::string &name_prefix, const base::Closure &task)   - -virtual ~ClosureThread () - The destructor calls Join automatically if it is not yet joined.
-  +~ClosureThread () override + The destructor calls Join automatically if it is not yet joined.
+  - - - + + +

Protected Member Functions

-virtual void Run () OVERRIDE
 SimpleThread implementation overrides.
 
+void Run () override
 SimpleThread implementation overrides.
 

Detailed Description

Class for creating a thread which invokes a closure. Start() starts the thread and invokes the given closure inside the thread.

@@ -179,7 +179,7 @@ virtual void  diff --git a/docs/dd/d2c/single__segment__segmenter_8h_source.html b/docs/dd/d2c/single__segment__segmenter_8h_source.html index cef6f9df1c..e626bbdcf0 100644 --- a/docs/dd/d2c/single__segment__segmenter_8h_source.html +++ b/docs/dd/d2c/single__segment__segmenter_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_
-
8 #define MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_
+
9 
10 #include "packager/media/file/file_closer.h"
11 #include "packager/media/formats/mp4/segmenter.h"
12 
@@ -108,16 +108,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
30  SingleSegmentSegmenter(const MuxerOptions& options,
31  scoped_ptr<FileType> ftyp,
32  scoped_ptr<Movie> moov);
-
33  virtual ~SingleSegmentSegmenter();
+
33  ~SingleSegmentSegmenter() override;
34 
-
37  virtual bool GetInitRange(size_t* offset, size_t* size) OVERRIDE;
-
38  virtual bool GetIndexRange(size_t* offset, size_t* size) OVERRIDE;
+
37  bool GetInitRange(size_t* offset, size_t* size) override;
+
38  bool GetIndexRange(size_t* offset, size_t* size) override;
40 
41  private:
42  // Segmenter implementation overrides.
-
43  virtual Status DoInitialize() OVERRIDE;
-
44  virtual Status DoFinalize() OVERRIDE;
-
45  virtual Status DoFinalizeSegment() OVERRIDE;
+
43  Status DoInitialize() override;
+
44  Status DoFinalize() override;
+
45  Status DoFinalizeSegment() override;
46 
47  scoped_ptr<SegmentIndex> vod_sidx_;
48  std::string temp_file_name_;
@@ -131,16 +131,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
56 } // namespace edash_packager
57 
58 #endif // MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_
+
bool GetInitRange(size_t *offset, size_t *size) override
-
virtual bool GetInitRange(size_t *offset, size_t *size) OVERRIDE
-
virtual bool GetIndexRange(size_t *offset, size_t *size) OVERRIDE
+
bool GetIndexRange(size_t *offset, size_t *size) override
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
diff --git a/docs/dd/d30/wvm__media__parser_8cc_source.html b/docs/dd/d30/wvm__media__parser_8cc_source.html index 99ae34ce32..bc7ced8ab8 100644 --- a/docs/dd/d30/wvm__media__parser_8cc_source.html +++ b/docs/dd/d30/wvm__media__parser_8cc_source.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
24 #define HAS_HEADER_EXTENSION(x) ((x != 0xBC) && (x != 0xBE) && (x != 0xBF) \
25  && (x != 0xF0) && (x != 0xF2) && (x != 0xF8) \
26  && (x != 0xFF))
-
27 
+
27 
28 namespace {
29 const uint32_t kMpeg2ClockRate = 90000;
30 const uint32_t kPesOptPts = 0x80;
@@ -204,7 +204,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
115 
116 WvmMediaParser::~WvmMediaParser() {}
117 
-
118 void WvmMediaParser::Init(const InitCB& init_cb,
+
118 void WvmMediaParser::Init(const InitCB& init_cb,
119  const NewSampleCB& new_sample_cb,
120  KeySource* decryption_key_source) {
121  DCHECK(!is_initialized_);
@@ -215,7 +215,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
126  new_sample_cb_ = new_sample_cb;
127 }
128 
-
129 bool WvmMediaParser::Parse(const uint8_t* buf, int size) {
+
129 bool WvmMediaParser::Parse(const uint8_t* buf, int size) {
130  uint32_t num_bytes, prev_size;
131  num_bytes = prev_size = 0;
132  uint8_t* read_ptr = (uint8_t*)(&buf[0]);
@@ -605,7 +605,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
516  return true;
517 }
518 
-
519 void WvmMediaParser::Flush() {
+
519 void WvmMediaParser::Flush() {
520  // Flush the last audio and video sample for current program.
521  // Reset the streamID when successfully emitted.
522  if (prev_media_sample_data_.audio_sample != NULL) {
@@ -1266,7 +1266,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d36/classedash__packager_1_1media_1_1MediaSample-members.html b/docs/dd/d36/classedash__packager_1_1media_1_1MediaSample-members.html index 47568faed2..62cf84fb5a 100644 --- a/docs/dd/d36/classedash__packager_1_1media_1_1MediaSample-members.html +++ b/docs/dd/d36/classedash__packager_1_1media_1_1MediaSample-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d41/structedash__packager_1_1media_1_1H264NALU.html b/docs/dd/d41/structedash__packager_1_1media_1_1H264NALU.html index ff6ee6c98b..2000092404 100644 --- a/docs/dd/d41/structedash__packager_1_1media_1_1H264NALU.html +++ b/docs/dd/d41/structedash__packager_1_1media_1_1H264NALU.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - diff --git a/docs/dd/d44/structedash__packager_1_1media_1_1mp4_1_1SegmentReference-members.html b/docs/dd/d44/structedash__packager_1_1media_1_1mp4_1_1SegmentReference-members.html index a5943dd354..f3c84528f6 100644 --- a/docs/dd/d44/structedash__packager_1_1media_1_1mp4_1_1SegmentReference-members.html +++ b/docs/dd/d44/structedash__packager_1_1media_1_1mp4_1_1SegmentReference-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

Public Types

enum  Type {
+
enum  Type {
  kUnspecified = 0, kNonIDRSlice = 1, kIDRSlice = 5, @@ -139,7 +139,7 @@ int 
nal_unit_type
diff --git a/docs/dd/d46/webm__parser_8h_source.html b/docs/dd/d46/webm__parser_8h_source.html new file mode 100644 index 0000000000..311f88e261 --- /dev/null +++ b/docs/dd/d46/webm__parser_8h_source.html @@ -0,0 +1,265 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_parser.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_parser.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_WEBM_PARSER_H_
+
6 #define MEDIA_FORMATS_WEBM_WEBM_PARSER_H_
+
7 
+
8 #include <stdint.h>
+
9 
+
10 #include <string>
+
11 #include <vector>
+
12 
+
13 #include "packager/base/macros.h"
+
14 
+
15 namespace edash_packager {
+
16 namespace media {
+
17 
+
18 // Interface for receiving WebM parser events.
+
19 //
+
20 // Each method is called when an element of the specified type is parsed.
+
21 // The ID of the element that was parsed is given along with the value
+
22 // stored in the element. List elements generate calls at the start and
+
23 // end of the list. Any pointers passed to these methods are only guaranteed
+
24 // to be valid for the life of that call. Each method (except for OnListStart)
+
25 // returns a bool that indicates whether the parsed data is valid. OnListStart
+
26 // returns a pointer to a WebMParserClient object, which should be used to
+
27 // handle elements parsed out of the list being started. If false (or NULL by
+
28 // OnListStart) is returned then the parse is immediately terminated and an
+
29 // error is reported by the parser.
+ +
31  public:
+
32  virtual ~WebMParserClient();
+
33 
+
34  virtual WebMParserClient* OnListStart(int id);
+
35  virtual bool OnListEnd(int id);
+
36  virtual bool OnUInt(int id, int64_t val);
+
37  virtual bool OnFloat(int id, double val);
+
38  virtual bool OnBinary(int id, const uint8_t* data, int size);
+
39  virtual bool OnString(int id, const std::string& str);
+
40 
+
41  protected:
+ +
43 
+
44  DISALLOW_COPY_AND_ASSIGN(WebMParserClient);
+
45 };
+
46 
+
47 struct ListElementInfo;
+
48 
+
49 // Parses a WebM list element and all of its children. This
+
50 // class supports incremental parsing of the list so Parse()
+
51 // can be called multiple times with pieces of the list.
+
52 // IsParsingComplete() will return true once the entire list has
+
53 // been parsed.
+ +
55  public:
+
56  // |id| - Element ID of the list we intend to parse.
+
57  // |client| - Called as different elements in the list are parsed.
+
58  WebMListParser(int id, WebMParserClient* client);
+
59  ~WebMListParser();
+
60 
+
61  // Resets the state of the parser so it can start parsing a new list.
+
62  void Reset();
+
63 
+
64  // Parses list data contained in |buf|.
+
65  //
+
66  // Returns < 0 if the parse fails.
+
67  // Returns 0 if more data is needed.
+
68  // Returning > 0 indicates success & the number of bytes parsed.
+
69  int Parse(const uint8_t* buf, int size);
+
70 
+
71  // Returns true if the entire list has been parsed.
+
72  bool IsParsingComplete() const;
+
73 
+
74  private:
+
75  enum State {
+
76  NEED_LIST_HEADER,
+
77  INSIDE_LIST,
+
78  DONE_PARSING_LIST,
+
79  PARSE_ERROR,
+
80  };
+
81 
+
82  struct ListState {
+
83  int id_;
+
84  int64_t size_;
+
85  int64_t bytes_parsed_;
+
86  const ListElementInfo* element_info_;
+
87  WebMParserClient* client_;
+
88  };
+
89 
+
90  void ChangeState(State new_state);
+
91 
+
92  // Parses a single element in the current list.
+
93  //
+
94  // |header_size| - The size of the element header
+
95  // |id| - The ID of the element being parsed.
+
96  // |element_size| - The size of the element body.
+
97  // |data| - Pointer to the element contents.
+
98  // |size| - Number of bytes in |data|
+
99  // |client| - Client to pass the parsed data to.
+
100  //
+
101  // Returns < 0 if the parse fails.
+
102  // Returns 0 if more data is needed.
+
103  // Returning > 0 indicates success & the number of bytes parsed.
+
104  int ParseListElement(int header_size,
+
105  int id,
+
106  int64_t element_size,
+
107  const uint8_t* data,
+
108  int size);
+
109 
+
110  // Called when starting to parse a new list.
+
111  //
+
112  // |id| - The ID of the new list.
+
113  // |size| - The size of the new list.
+
114  // |client| - The client object to notify that a new list is being parsed.
+
115  //
+
116  // Returns true if this list can be started in the current context. False
+
117  // if starting this list causes some sort of parse error.
+
118  bool OnListStart(int id, int64_t size);
+
119 
+
120  // Called when the end of the current list has been reached. This may also
+
121  // signal the end of the current list's ancestors if the current list happens
+
122  // to be at the end of its parent.
+
123  //
+
124  // Returns true if no errors occurred while ending this list(s).
+
125  bool OnListEnd();
+
126 
+
127  // Checks to see if |id_b| is a sibling or ancestor of |id_a|.
+
128  bool IsSiblingOrAncestor(int id_a, int id_b) const;
+
129 
+
130  State state_;
+
131 
+
132  // Element ID passed to the constructor.
+
133  const int root_id_;
+
134 
+
135  // Element level for |root_id_|. Used to verify that elements appear at
+
136  // the correct level.
+
137  const int root_level_;
+
138 
+
139  // WebMParserClient to handle the root list.
+
140  WebMParserClient* const root_client_;
+
141 
+
142  // Stack of state for all the lists currently being parsed. Lists are
+
143  // added and removed from this stack as they are parsed.
+
144  std::vector<ListState> list_state_stack_;
+
145 
+
146  DISALLOW_COPY_AND_ASSIGN(WebMListParser);
+
147 };
+
148 
+
149 // Parses an element header & returns the ID and element size.
+
150 //
+
151 // Returns < 0 if the parse fails.
+
152 // Returns 0 if more data is needed.
+
153 // Returning > 0 indicates success & the number of bytes parsed.
+
154 // |*id| contains the element ID on success and is undefined otherwise.
+
155 // |*element_size| contains the element size on success and is undefined
+
156 // otherwise.
+
157 int WebMParseElementHeader(const uint8_t* buf,
+
158  int size,
+
159  int* id,
+
160  int64_t* element_size);
+
161 
+
162 } // namespace media
+
163 } // namespace edash_packager
+
164 
+
165 #endif // MEDIA_FORMATS_WEBM_WEBM_PARSER_H_
+ + +
+ + + + diff --git a/docs/dd/d47/classedash__packager_1_1media_1_1WebMInfoParser.html b/docs/dd/d47/classedash__packager_1_1media_1_1WebMInfoParser.html new file mode 100644 index 0000000000..b683e0c4b7 --- /dev/null +++ b/docs/dd/d47/classedash__packager_1_1media_1_1WebMInfoParser.html @@ -0,0 +1,143 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::WebMInfoParser Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::WebMInfoParser Class Reference
+
+
+
+Inheritance diagram for edash_packager::media::WebMInfoParser:
+
+
+ + +edash_packager::media::WebMParserClient + +
+ + + + + + + + + + +

+Public Member Functions

+int Parse (const uint8_t *buf, int size)
 
+int64_t timecode_scale () const
 
+double duration () const
 
+base::Time date_utc () const
 
+ + + + +

+Additional Inherited Members

- Protected Member Functions inherited from edash_packager::media::WebMParserClient
DISALLOW_COPY_AND_ASSIGN (WebMParserClient)
 
+

Detailed Description

+
+

Definition at line 16 of file webm_info_parser.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/dd/d47/classedash__packager_1_1media_1_1WebMInfoParser.png b/docs/dd/d47/classedash__packager_1_1media_1_1WebMInfoParser.png new file mode 100644 index 0000000000..c61146834d Binary files /dev/null and b/docs/dd/d47/classedash__packager_1_1media_1_1WebMInfoParser.png differ diff --git a/docs/dd/d4c/structedash__packager_1_1media_1_1mp4_1_1FullBox-members.html b/docs/dd/d4c/structedash__packager_1_1media_1_1mp4_1_1FullBox-members.html index 6a965b1ccb..3199c214b1 100644 --- a/docs/dd/d4c/structedash__packager_1_1media_1_1mp4_1_1FullBox-members.html +++ b/docs/dd/d4c/structedash__packager_1_1media_1_1mp4_1_1FullBox-members.html @@ -100,15 +100,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox Parse(BoxReader *reader)edash_packager::media::mp4::Box - ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::FullBoxprotectedvirtual + ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::FullBoxprotectedvirtual version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox Write(BufferWriter *writer)edash_packager::media::mp4::Box ~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual - ~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual + ~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox diff --git a/docs/dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html b/docs/dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html index 28ca397e04..15d16ce70e 100644 --- a/docs/dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html +++ b/docs/dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html @@ -522,7 +522,7 @@ bool ReadWriteInt64 (i diff --git a/docs/dd/d54/widevine__encryption__flags_8h_source.html b/docs/dd/d54/widevine__encryption__flags_8h_source.html index a882c9ecbe..869d325c09 100644 --- a/docs/dd/d54/widevine__encryption__flags_8h_source.html +++ b/docs/dd/d54/widevine__encryption__flags_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Defines command line flags for widevine_encryption.
8 
9 #ifndef APP_WIDEVINE_ENCRYPTION_FLAGS_H_
-
10 #define APP_WIDEVINE_ENCRYPTION_FLAGS_H_
-
11 
+
10 #define APP_WIDEVINE_ENCRYPTION_FLAGS_H_
+
11 
12 #include <gflags/gflags.h>
13 
14 DECLARE_bool(enable_widevine_encryption);
@@ -123,7 +123,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d67/h264__byte__to__unit__stream__converter_8cc_source.html b/docs/dd/d67/h264__byte__to__unit__stream__converter_8cc_source.html index fb5060fe20..3bb30fc2a2 100644 --- a/docs/dd/d67/h264__byte__to__unit__stream__converter_8cc_source.html +++ b/docs/dd/d67/h264__byte__to__unit__stream__converter_8cc_source.html @@ -226,7 +226,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html b/docs/dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html index 1b4e083a1f..0b5fcb2d6d 100644 --- a/docs/dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html +++ b/docs/dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html @@ -255,7 +255,7 @@ bool Encrypt (const st diff --git a/docs/dd/d80/media__sample_8h_source.html b/docs/dd/d80/media__sample_8h_source.html index 9b312b56e3..6dd7ea4271 100644 --- a/docs/dd/d80/media__sample_8h_source.html +++ b/docs/dd/d80/media__sample_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_MEDIA_SAMPLE_H_
-
8 #define MEDIA_BASE_MEDIA_SAMPLE_H_
-
9 
+
8 #define MEDIA_BASE_MEDIA_SAMPLE_H_
+
9 
10 #include <deque>
11 #include <string>
12 #include <vector>
@@ -245,7 +245,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d85/classedash__packager_1_1xml_1_1XmlNode.html b/docs/dd/d85/classedash__packager_1_1xml_1_1XmlNode.html index 3b240cc0df..b2a30ab867 100644 --- a/docs/dd/d85/classedash__packager_1_1xml_1_1XmlNode.html +++ b/docs/dd/d85/classedash__packager_1_1xml_1_1XmlNode.html @@ -419,7 +419,7 @@ bool  diff --git a/docs/dd/d85/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html b/docs/dd/d85/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html index d4487948b0..90ac876174 100644 --- a/docs/dd/d85/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html +++ b/docs/dd/d85/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html @@ -95,8 +95,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + @@ -126,12 +126,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::TrackFragmentHeader)edash_packager::media::mp4::TrackFragmentHeadervirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::TrackFragmentHeadervirtual
BoxType() const override (defined in edash_packager::media::mp4::TrackFragmentHeader)edash_packager::media::mp4::TrackFragmentHeadervirtual
ComputeSize() overrideedash_packager::media::mp4::TrackFragmentHeadervirtual
default_sample_duration (defined in edash_packager::media::mp4::TrackFragmentHeader)edash_packager::media::mp4::TrackFragmentHeader
default_sample_flags (defined in edash_packager::media::mp4::TrackFragmentHeader)edash_packager::media::mp4::TrackFragmentHeader
default_sample_size (defined in edash_packager::media::mp4::TrackFragmentHeader)edash_packager::media::mp4::TrackFragmentHeader
kSampleIsDependedOnMask enum value (defined in edash_packager::media::mp4::TrackFragmentHeader)edash_packager::media::mp4::TrackFragmentHeader
kSamplePaddingValueMask enum value (defined in edash_packager::media::mp4::TrackFragmentHeader)edash_packager::media::mp4::TrackFragmentHeader
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::TrackFragmentHeadervirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::TrackFragmentHeadervirtual
sample_description_index (defined in edash_packager::media::mp4::TrackFragmentHeader)edash_packager::media::mp4::TrackFragmentHeader
SampleFlagsMasks enum name (defined in edash_packager::media::mp4::TrackFragmentHeader)edash_packager::media::mp4::TrackFragmentHeader
track_id (defined in edash_packager::media::mp4::TrackFragmentHeader)edash_packager::media::mp4::TrackFragmentHeader
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~TrackFragmentHeader() (defined in edash_packager::media::mp4::TrackFragmentHeader)edash_packager::media::mp4::TrackFragmentHeadervirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~TrackFragmentHeader() override (defined in edash_packager::media::mp4::TrackFragmentHeader)edash_packager::media::mp4::TrackFragmentHeader
diff --git a/docs/dd/d8e/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter-members.html b/docs/dd/d8e/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter-members.html index a380c9d701..bd2745cb32 100644 --- a/docs/dd/d8e/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter-members.html +++ b/docs/dd/d8e/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter-members.html @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::mp4::KeyRotationFragmenter, including all inherited members.

- + @@ -101,27 +101,27 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - + - + - +
AddSample(scoped_refptr< MediaSample > sample) OVERRIDEedash_packager::media::mp4::EncryptingFragmentervirtual
AddSample(scoped_refptr< MediaSample > sample) overrideedash_packager::media::mp4::EncryptingFragmentervirtual
aux_data() (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmenterinline
CreateEncryptor()edash_packager::media::mp4::EncryptingFragmenterprotected
data() (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmenterinline
EncryptingFragmenter(TrackFragment *traf, scoped_ptr< EncryptionKey > encryption_key, int64_t clear_time, uint8_t nalu_length_size)edash_packager::media::mp4::EncryptingFragmenter
encryption_key() (defined in edash_packager::media::mp4::EncryptingFragmenter)edash_packager::media::mp4::EncryptingFragmenterinlineprotected
encryptor() (defined in edash_packager::media::mp4::EncryptingFragmenter)edash_packager::media::mp4::EncryptingFragmenterinlineprotected
FinalizeFragment() OVERRIDEedash_packager::media::mp4::EncryptingFragmentervirtual
FinalizeFragmentForEncryption() OVERRIDEedash_packager::media::mp4::KeyRotationFragmenterprotectedvirtual
FinalizeFragment() overrideedash_packager::media::mp4::EncryptingFragmentervirtual
FinalizeFragmentForEncryption() overrideedash_packager::media::mp4::KeyRotationFragmenterprotectedvirtual
first_sap_time() const (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmenterinline
fragment_duration() const (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmenterinline
fragment_finalized() const (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmenterinline
fragment_initialized() const (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmenterinline
Fragmenter(TrackFragment *traf)edash_packager::media::mp4::Fragmenter
GenerateSegmentReference(SegmentReference *reference)edash_packager::media::mp4::Fragmenter
InitializeFragment(int64_t first_sample_dts) OVERRIDEedash_packager::media::mp4::EncryptingFragmentervirtual
InitializeFragment(int64_t first_sample_dts) overrideedash_packager::media::mp4::EncryptingFragmentervirtual
KeyRotationFragmenter(MovieFragment *moof, TrackFragment *traf, KeySource *encryption_key_source, KeySource::TrackType track_type, int64_t crypto_period_duration, int64_t clear_time, uint8_t nalu_length_size, MuxerListener *muxer_listener)edash_packager::media::mp4::KeyRotationFragmenter
OptimizeSampleEntries(std::vector< T > *entries, T *default_value)edash_packager::media::mp4::Fragmenterprotected
PrepareFragmentForEncryption(bool enable_encryption) OVERRIDEedash_packager::media::mp4::KeyRotationFragmenterprotectedvirtual
PrepareFragmentForEncryption(bool enable_encryption) overrideedash_packager::media::mp4::KeyRotationFragmenterprotectedvirtual
set_encryption_key(scoped_ptr< EncryptionKey > encryption_key) (defined in edash_packager::media::mp4::EncryptingFragmenter)edash_packager::media::mp4::EncryptingFragmenterinlineprotected
traf() (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmenterinlineprotected
~EncryptingFragmenter() (defined in edash_packager::media::mp4::EncryptingFragmenter)edash_packager::media::mp4::EncryptingFragmentervirtual
~EncryptingFragmenter() override (defined in edash_packager::media::mp4::EncryptingFragmenter)edash_packager::media::mp4::EncryptingFragmenter
~Fragmenter() (defined in edash_packager::media::mp4::Fragmenter)edash_packager::media::mp4::Fragmentervirtual
~KeyRotationFragmenter() (defined in edash_packager::media::mp4::KeyRotationFragmenter)edash_packager::media::mp4::KeyRotationFragmentervirtual
~KeyRotationFragmenter() override (defined in edash_packager::media::mp4::KeyRotationFragmenter)edash_packager::media::mp4::KeyRotationFragmenter
diff --git a/docs/dd/d96/classedash__packager_1_1media_1_1AesCbcCtsDecryptor.html b/docs/dd/d96/classedash__packager_1_1media_1_1AesCbcCtsDecryptor.html index 8a35376bf2..629f1ce10f 100644 --- a/docs/dd/d96/classedash__packager_1_1media_1_1AesCbcCtsDecryptor.html +++ b/docs/dd/d96/classedash__packager_1_1media_1_1AesCbcCtsDecryptor.html @@ -252,7 +252,7 @@ const std::vector< uint8_t > &  diff --git a/docs/dd/d98/classedash__packager_1_1media_1_1LocalFile.html b/docs/dd/d98/classedash__packager_1_1media_1_1LocalFile.html index c938dec4de..8c81941b54 100644 --- a/docs/dd/d98/classedash__packager_1_1media_1_1LocalFile.html +++ b/docs/dd/d98/classedash__packager_1_1media_1_1LocalFile.html @@ -115,20 +115,20 @@ Public Member Functions  LocalFile (const char *file_name, const char *mode)  
File implementation overrides.
-virtual bool Close () OVERRIDE -  -virtual int64_t Read (void *buffer, uint64_t length) OVERRIDE -  -virtual int64_t Write (const void *buffer, uint64_t length) OVERRIDE -  -virtual int64_t Size () OVERRIDE -  -virtual bool Flush () OVERRIDE -  -virtual bool Seek (uint64_t position) OVERRIDE -  -virtual bool Tell (uint64_t *position) OVERRIDE -  +bool Close () override +  +int64_t Read (void *buffer, uint64_t length) override +  +int64_t Write (const void *buffer, uint64_t length) override +  +int64_t Size () override +  +bool Flush () override +  +bool Seek (uint64_t position) override +  +bool Tell (uint64_t *position) override +  - Public Member Functions inherited from edash_packager::media::File const std::string & file_name () const   @@ -151,10 +151,10 @@ Static Public Member Functions - - - + + + @@ -203,7 +203,7 @@ virtual bool  +overridevirtual

Protected Member Functions

-virtual bool Open () OVERRIDE
 Internal open. Should not be used directly.
 
+bool Open () override
 Internal open. Should not be used directly.
 
- Protected Member Functions inherited from edash_packager::media::File
 File (const std::string &file_name)

Member Function Documentation

-
+
@@ -219,11 +219,11 @@ virtual bool  +overridevirtual
-virtual
-

Flush() and de-allocate resources associated with this file, and delete this File object. THIS IS THE ONE TRUE WAY TO DEALLOCATE THIS OBJECT.

+

Flush() and de-allocate resources associated with this file, and delete this File object. THIS IS THE ONE TRUE WAY TO DEALLOCATE THIS OBJECT.

Returns
true on success. For writable files, returning false MAY INDICATE DATA LOSS.

Implements edash_packager::media::File.

@@ -266,7 +266,7 @@ virtual bool 
- +
@@ -282,7 +282,7 @@ virtual bool  +overridevirtual
-virtual
@@ -295,7 +295,7 @@ virtual bool 
- +
@@ -322,7 +322,7 @@ virtual bool  +overridevirtual
-virtual
@@ -342,7 +342,7 @@ virtual bool 
- +
@@ -359,7 +359,7 @@ virtual bool  +overridevirtual
-virtual
@@ -378,7 +378,7 @@ virtual bool 
- +
@@ -394,7 +394,7 @@ virtual bool  +overridevirtual
-virtual
@@ -406,7 +406,7 @@ virtual bool 
- +
@@ -423,7 +423,7 @@ virtual bool  +overridevirtual
-virtual
@@ -442,7 +442,7 @@ virtual bool 
- +
@@ -469,7 +469,7 @@ virtual bool  +overridevirtual
-virtual
@@ -496,7 +496,7 @@ virtual bool 
diff --git a/docs/dd/d9a/audio__timestamp__helper_8h_source.html b/docs/dd/d9a/audio__timestamp__helper_8h_source.html index 7633ec8db6..89884d7922 100644 --- a/docs/dd/d9a/audio__timestamp__helper_8h_source.html +++ b/docs/dd/d9a/audio__timestamp__helper_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_BASE_AUDIO_TIMESTAMP_HELPER_H_
-
6 #define MEDIA_BASE_AUDIO_TIMESTAMP_HELPER_H_
-
7 
+
6 #define MEDIA_BASE_AUDIO_TIMESTAMP_HELPER_H_
+
7 
8 #include <stdint.h>
9 
10 #include "packager/base/macros.h"
@@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html b/docs/dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html index da02e2fa5f..d641468ac3 100644 --- a/docs/dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html +++ b/docs/dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::MovieFragment: - - - - - - - + + + + + + + @@ -144,7 +144,7 @@ Additional Inherited Members

Definition at line 544 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -160,7 +160,7 @@ Additional Inherited Members
-virtual
@@ -179,7 +179,7 @@ Additional Inherited Members
diff --git a/docs/dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html b/docs/dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html index 23a2cc0c58..0e78e31bc2 100644 --- a/docs/dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html +++ b/docs/dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::SegmentType: - - - - - - - + + + + + + + @@ -141,7 +141,7 @@ std::vector< FourCC >  +overridevirtual

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
<

Definition at line 47 of file box_definitions.h.

Member Function Documentation

- +
@@ -157,13 +157,13 @@ std::vector< FourCC > 
<
-virtual

Compute the size of this box. The calculated size will be saved in |atom_size| for later consumption.

-

Reimplemented from edash_packager::media::mp4::FileType.

+

Reimplemented from edash_packager::media::mp4::FileType.

Definition at line 98 of file box_definitions.cc.

@@ -176,7 +176,7 @@ std::vector< FourCC > <
diff --git a/docs/dd/da8/classedash__packager_1_1media_1_1RsaRequestSigner.html b/docs/dd/da8/classedash__packager_1_1media_1_1RsaRequestSigner.html index 1547d8dd61..64c919d202 100644 --- a/docs/dd/da8/classedash__packager_1_1media_1_1RsaRequestSigner.html +++ b/docs/dd/da8/classedash__packager_1_1media_1_1RsaRequestSigner.html @@ -111,10 +111,10 @@ Inheritance diagram for edash_packager::media::RsaRequestSigner: - - - + + + @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/dd/daa/vod__media__info__dump__muxer__listener_8h_source.html b/docs/dd/daa/vod__media__info__dump__muxer__listener_8h_source.html index b1e1a77f76..4ff8a4a54a 100644 --- a/docs/dd/daa/vod__media__info__dump__muxer__listener_8h_source.html +++ b/docs/dd/daa/vod__media__info__dump__muxer__listener_8h_source.html @@ -98,8 +98,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 // This is specifically for VOD.
10 
11 #ifndef MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_
-
12 #define MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_
-
13 
+
12 #define MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_
+
13 
14 #include <string>
15 #include <vector>
16 
@@ -117,66 +117,64 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
29  public:
30  VodMediaInfoDumpMuxerListener(const std::string& output_file_name);
- +
32 
35  void SetContentProtectionSchemeIdUri(const std::string& scheme_id_uri);
36 
-
39  virtual void OnEncryptionInfoReady(
-
40  bool is_initial_encryption_info,
-
41  const std::string& content_protection_uuid,
-
42  const std::string& content_protection_name_version,
-
43  const std::vector<uint8_t>& default_key_id,
-
44  const std::vector<uint8_t>& pssh) OVERRIDE;
-
45  virtual void OnMediaStart(
-
46  const MuxerOptions& muxer_options,
-
47  const StreamInfo& stream_info,
-
48  uint32_t time_scale,
-
49  ContainerType container_type) OVERRIDE;
-
50  virtual void OnSampleDurationReady(uint32_t sample_duration) OVERRIDE;
-
51  virtual void OnMediaEnd(bool has_init_range,
-
52  uint64_t init_range_start,
-
53  uint64_t init_range_end,
-
54  bool has_index_range,
-
55  uint64_t index_range_start,
-
56  uint64_t index_range_end,
-
57  float duration_seconds,
-
58  uint64_t file_size) OVERRIDE;
-
59  virtual void OnNewSegment(uint64_t start_time,
-
60  uint64_t duration,
-
61  uint64_t segment_file_size) OVERRIDE;
-
63 
-
64  private:
-
65  // Write |media_info_| to |output_file_name_|.
-
66  bool SerializeMediaInfoToFile();
-
67 
-
68  std::string output_file_name_;
-
69  std::string scheme_id_uri_;
-
70  scoped_ptr<MediaInfo> media_info_;
-
71 
-
72  bool is_encrypted_;
-
73  // Storage for values passed to OnEncryptionInfoReady().
-
74  std::string content_protection_uuid_;
-
75  std::string content_protection_name_version_;
-
76  std::string default_key_id_;
-
77  std::string pssh_;
-
78 
-
79  DISALLOW_COPY_AND_ASSIGN(VodMediaInfoDumpMuxerListener);
-
80 };
-
81 
-
82 } // namespace media
-
83 } // namespace edash_packager
-
84 
-
85 #endif // MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_
-
Abstract class holds stream information.
Definition: stream_info.h:25
+
39  void OnEncryptionInfoReady(bool is_initial_encryption_info,
+
40  const std::string& content_protection_uuid,
+
41  const std::string& content_protection_name_version,
+
42  const std::vector<uint8_t>& default_key_id,
+
43  const std::vector<uint8_t>& pssh) override;
+
44  void OnMediaStart(const MuxerOptions& muxer_options,
+
45  const StreamInfo& stream_info,
+
46  uint32_t time_scale,
+
47  ContainerType container_type) override;
+
48  void OnSampleDurationReady(uint32_t sample_duration) override;
+
49  void OnMediaEnd(bool has_init_range,
+
50  uint64_t init_range_start,
+
51  uint64_t init_range_end,
+
52  bool has_index_range,
+
53  uint64_t index_range_start,
+
54  uint64_t index_range_end,
+
55  float duration_seconds,
+
56  uint64_t file_size) override;
+
57  void OnNewSegment(uint64_t start_time,
+
58  uint64_t duration,
+
59  uint64_t segment_file_size) override;
+
61 
+
62  private:
+
63  // Write |media_info_| to |output_file_name_|.
+
64  bool SerializeMediaInfoToFile();
+
65 
+
66  std::string output_file_name_;
+
67  std::string scheme_id_uri_;
+
68  scoped_ptr<MediaInfo> media_info_;
+
69 
+
70  bool is_encrypted_;
+
71  // Storage for values passed to OnEncryptionInfoReady().
+
72  std::string content_protection_uuid_;
+
73  std::string content_protection_name_version_;
+
74  std::string default_key_id_;
+
75  std::string pssh_;
+
76 
+
77  DISALLOW_COPY_AND_ASSIGN(VodMediaInfoDumpMuxerListener);
+
78 };
+
79 
+
80 } // namespace media
+
81 } // namespace edash_packager
+
82 
+
83 #endif // MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_
+
Abstract class holds stream information.
Definition: stream_info.h:26
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
-
virtual void OnSampleDurationReady(uint32_t sample_duration) OVERRIDE
+ diff --git a/docs/dd/dab/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry.html b/docs/dd/dab/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry.html index 2a0ec57b65..b5f35dfb33 100644 --- a/docs/dd/dab/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry.html +++ b/docs/dd/dab/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

Public Member Functions

-virtual bool GenerateSignature (const std::string &message, std::string *signature) OVERRIDE
 RequestSigner implementation override.
 
+bool GenerateSignature (const std::string &message, std::string *signature) override
 RequestSigner implementation override.
 
- Public Member Functions inherited from edash_packager::media::RequestSigner
const std::string & signer_name () const
- @@ -120,7 +120,7 @@ uint32_t 

Public Types

enum  GroupDescriptionIndexBase { kTrackGroupDescriptionIndexBase = 0, +
enum  GroupDescriptionIndexBase { kTrackGroupDescriptionIndexBase = 0, kTrackFragmentGroupDescriptionIndexBase = 0x10000 }
 
group_description diff --git a/docs/dd/dad/classedash__packager_1_1media_1_1WebMParserClient-members.html b/docs/dd/dad/classedash__packager_1_1media_1_1WebMParserClient-members.html new file mode 100644 index 0000000000..a6dc953454 --- /dev/null +++ b/docs/dd/dad/classedash__packager_1_1media_1_1WebMParserClient-members.html @@ -0,0 +1,113 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
edash_packager::media::WebMParserClient Member List
+
+
+ +

This is the complete list of members for edash_packager::media::WebMParserClient, including all inherited members.

+ + + + + + + + + + +
DISALLOW_COPY_AND_ASSIGN(WebMParserClient) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
OnBinary(int id, const uint8_t *data, int size) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
OnFloat(int id, double val) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
OnListEnd(int id) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
OnListStart(int id) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
OnString(int id, const std::string &str) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
OnUInt(int id, int64_t val) (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientprotected
~WebMParserClient() (defined in edash_packager::media::WebMParserClient)edash_packager::media::WebMParserClientvirtual
+ + + + diff --git a/docs/dd/dbc/buffer__reader_8cc_source.html b/docs/dd/dbc/buffer__reader_8cc_source.html index 802e7e348b..1f152aa4a1 100644 --- a/docs/dd/dbc/buffer__reader_8cc_source.html +++ b/docs/dd/dbc/buffer__reader_8cc_source.html @@ -187,7 +187,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dbd/classedash__packager_1_1media_1_1AesCtrEncryptor-members.html b/docs/dd/dbd/classedash__packager_1_1media_1_1AesCtrEncryptor-members.html index 96d879bfb5..abecc1900d 100644 --- a/docs/dd/dbd/classedash__packager_1_1media_1_1AesCtrEncryptor-members.html +++ b/docs/dd/dbd/classedash__packager_1_1media_1_1AesCtrEncryptor-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html b/docs/dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html index 9ea98693da..b68ea923e4 100644 --- a/docs/dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html +++ b/docs/dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::MediaInformation: - - - - - - - + + + + + + + @@ -146,7 +146,7 @@ Additional Inherited Members

Definition at line 377 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -162,7 +162,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -181,7 +181,7 @@ Additional Inherited Members
diff --git a/docs/dd/dbf/classedash__packager_1_1MpdNotifier-members.html b/docs/dd/dbf/classedash__packager_1_1MpdNotifier-members.html index 7d741992bf..30bf7fa6ee 100644 --- a/docs/dd/dbf/classedash__packager_1_1MpdNotifier-members.html +++ b/docs/dd/dbf/classedash__packager_1_1MpdNotifier-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dbf/webm__webvtt__parser_8h_source.html b/docs/dd/dbf/webm__webvtt__parser_8h_source.html new file mode 100644 index 0000000000..c39a8a43d4 --- /dev/null +++ b/docs/dd/dbf/webm__webvtt__parser_8h_source.html @@ -0,0 +1,152 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_webvtt_parser.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_webvtt_parser.h
+
+
+
1 // Copyright 2014 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_FORMATS_WEBM_WEBM_WEBVTT_PARSER_H_
+
6 #define MEDIA_FORMATS_WEBM_WEBM_WEBVTT_PARSER_H_
+
7 
+
8 #include <stdint.h>
+
9 
+
10 #include <string>
+
11 
+
12 #include "packager/base/macros.h"
+
13 
+
14 namespace edash_packager {
+
15 namespace media {
+
16 
+ +
18  public:
+
19  // Utility function to parse the WebVTT cue from a byte stream.
+
20  static void Parse(const uint8_t* payload,
+
21  int payload_size,
+
22  std::string* id,
+
23  std::string* settings,
+
24  std::string* content);
+
25 
+
26  private:
+
27  // The payload is the embedded WebVTT cue, stored in a WebM block.
+
28  // The parser treats this as a UTF-8 byte stream.
+
29  WebMWebVTTParser(const uint8_t* payload, int payload_size);
+
30 
+
31  // Parse the cue identifier, settings, and content from the stream.
+
32  void Parse(std::string* id, std::string* settings, std::string* content);
+
33  // Remove a byte from the stream, advancing the stream pointer.
+
34  // Returns true if a character was returned; false means "end of stream".
+
35  bool GetByte(uint8_t* byte);
+
36 
+
37  // Backup the stream pointer.
+
38  void UngetByte();
+
39 
+
40  // Parse a line of text from the stream.
+
41  void ParseLine(std::string* line);
+
42 
+
43  // Represents the portion of the stream that has not been consumed yet.
+
44  const uint8_t* ptr_;
+
45  const uint8_t* const ptr_end_;
+
46 
+
47  DISALLOW_COPY_AND_ASSIGN(WebMWebVTTParser);
+
48 };
+
49 
+
50 } // namespace media
+
51 } // namespace edash_packager
+
52 
+
53 #endif // MEDIA_FORMATS_WEBM_WEBM_WEBVTT_PARSER_H_
+ +
+ + + + diff --git a/docs/dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html b/docs/dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html index f2741f5e3d..4c40478a34 100644 --- a/docs/dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html +++ b/docs/dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::ProtectionSchemeInfo: - - - - - - - + + + + + + + @@ -143,7 +143,7 @@ Additional Inherited Members

Definition at line 101 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -159,7 +159,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -178,7 +178,7 @@ Additional Inherited Members
diff --git a/docs/dd/dcb/classedash__packager_1_1MpdNotifierFactory.html b/docs/dd/dcb/classedash__packager_1_1MpdNotifierFactory.html index 455c2dade7..fedfd24032 100644 --- a/docs/dd/dcb/classedash__packager_1_1MpdNotifierFactory.html +++ b/docs/dd/dcb/classedash__packager_1_1MpdNotifierFactory.html @@ -112,7 +112,7 @@ virtual scoped_ptr< diff --git a/docs/dd/dcf/structedash__packager_1_1media_1_1H264PPS.html b/docs/dd/dcf/structedash__packager_1_1media_1_1H264PPS.html index 1f2e9005bc..1f2583a18e 100644 --- a/docs/dd/dcf/structedash__packager_1_1media_1_1H264PPS.html +++ b/docs/dd/dcf/structedash__packager_1_1media_1_1H264PPS.html @@ -167,7 +167,7 @@ int second_chroma_qp_index diff --git a/docs/dd/dd2/buffer__writer_8h_source.html b/docs/dd/dd2/buffer__writer_8h_source.html index 5eae41bf52..1690c8d77a 100644 --- a/docs/dd/dd2/buffer__writer_8h_source.html +++ b/docs/dd/dd2/buffer__writer_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_BUFFER_WRITER_H_
-
8 #define MEDIA_BASE_BUFFER_WRITER_H_
-
9 
+
8 #define MEDIA_BASE_BUFFER_WRITER_H_
+
9 
10 #include <vector>
11 
12 #include "packager/base/stl_util.h"
@@ -159,7 +159,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dd3/buffer__writer_8cc_source.html b/docs/dd/dd3/buffer__writer_8cc_source.html index 11e29d2893..4ff7312485 100644 --- a/docs/dd/dd3/buffer__writer_8cc_source.html +++ b/docs/dd/dd3/buffer__writer_8cc_source.html @@ -186,7 +186,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dd7/classedash__packager_1_1media_1_1OpusPacket-members.html b/docs/dd/dd7/classedash__packager_1_1media_1_1OpusPacket-members.html new file mode 100644 index 0000000000..ee3f30467d --- /dev/null +++ b/docs/dd/dd7/classedash__packager_1_1media_1_1OpusPacket-members.html @@ -0,0 +1,109 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
edash_packager::media::OpusPacket Member List
+
+
+ +

This is the complete list of members for edash_packager::media::OpusPacket, including all inherited members.

+ + + + + + +
data() const (defined in edash_packager::media::OpusPacket)edash_packager::media::OpusPacket
duration_ms() const (defined in edash_packager::media::OpusPacket)edash_packager::media::OpusPacket
OpusPacket(uint8_t config, uint8_t frame_count, bool is_VBR) (defined in edash_packager::media::OpusPacket)edash_packager::media::OpusPacket
size() const (defined in edash_packager::media::OpusPacket)edash_packager::media::OpusPacket
~OpusPacket() (defined in edash_packager::media::OpusPacket)edash_packager::media::OpusPacket
+ + + + diff --git a/docs/dd/de7/xml__node_8h_source.html b/docs/dd/de7/xml__node_8h_source.html index 6f0aa556ba..b5c3b25392 100644 --- a/docs/dd/de7/xml__node_8h_source.html +++ b/docs/dd/de7/xml__node_8h_source.html @@ -97,8 +97,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 // XmlNode in libxml2. There are also MPD XML specific classes as well.
9 
10 #ifndef MPD_BASE_XML_XML_NODE_H_
-
11 #define MPD_BASE_XML_XML_NODE_H_
-
12 
+
11 #define MPD_BASE_XML_XML_NODE_H_
+
12 
13 #include <libxml/tree.h>
14 #include <stdint.h>
15 
@@ -148,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
92 
97  public:
-
98  virtual ~RepresentationBaseXmlNode();
+
98  ~RepresentationBaseXmlNode() override;
99  bool AddContentProtectionElements(
100  const std::list<ContentProtectionElement>& content_protection_elements);
101 
@@ -165,7 +165,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
114  public:
-
116  virtual ~AdaptationSetXmlNode();
+
116  ~AdaptationSetXmlNode() override;
117 
120  void AddRoleElement(const std::string& scheme_id_uri,
121  const std::string& value);
@@ -177,7 +177,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
129  public:
-
131  virtual ~RepresentationXmlNode();
+
131  ~RepresentationXmlNode() override;
132 
137  bool AddVideoInfo(const MediaInfo::VideoInfo& video_info);
138 
@@ -228,7 +228,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dec/structedash__packager_1_1media_1_1OnMediaEndParameters-members.html b/docs/dd/dec/structedash__packager_1_1media_1_1OnMediaEndParameters-members.html index 0ceb4776a0..05a987ca02 100644 --- a/docs/dd/dec/structedash__packager_1_1media_1_1OnMediaEndParameters-members.html +++ b/docs/dd/dec/structedash__packager_1_1media_1_1OnMediaEndParameters-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dee/box__definitions_8cc_source.html b/docs/dd/dee/box__definitions_8cc_source.html index 4fe55ec7a3..91a380d158 100644 --- a/docs/dd/dee/box__definitions_8cc_source.html +++ b/docs/dd/dee/box__definitions_8cc_source.html @@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
65 FileType::~FileType() {}
66 FourCC FileType::BoxType() const { return FOURCC_FTYP; }
67 
- +
69  RCHECK(Box::ReadWrite(buffer) &&
70  buffer->ReadWriteFourCC(&major_brand) &&
71  buffer->ReadWriteUInt32(&minor_version));
@@ -170,7 +170,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
81  return true;
82 }
83 
- +
85  atom_size = kBoxSize + kFourCCSize + sizeof(minor_version) +
86  kFourCCSize * compatible_brands.size();
87  return atom_size;
@@ -180,19 +180,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
91 SegmentType::~SegmentType() {}
92 FourCC SegmentType::BoxType() const { return FOURCC_STYP; }
93 
- -
95  return FileType::ReadWrite(buffer);
+ +
95  return FileType::ReadWrite(buffer);
96 }
97 
- -
99  return FileType::ComputeSize();
+ +
99  return FileType::ComputeSize();
100 }
101 
102 ProtectionSystemSpecificHeader::ProtectionSystemSpecificHeader() {}
103 ProtectionSystemSpecificHeader::~ProtectionSystemSpecificHeader() {}
104 FourCC ProtectionSystemSpecificHeader::BoxType() const { return FOURCC_PSSH; }
105 
- +
107  if (!buffer->Reading() && !raw_box.empty()) {
108  // Write the raw box directly.
109  buffer->writer()->AppendVector(raw_box);
@@ -200,7 +200,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
111  }
112 
113  uint32_t size = data.size();
-
114  RCHECK(FullBox::ReadWrite(buffer) &&
+
114  RCHECK(FullBox::ReadWrite(buffer) &&
115  buffer->ReadWriteVector(&system_id, 16) &&
116  buffer->ReadWriteUInt32(&size) &&
117  buffer->ReadWriteVector(&data, size));
@@ -216,7 +216,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
127  return true;
128 }
129 
- +
131  if (!raw_box.empty()) {
132  atom_size = raw_box.size();
133  } else {
@@ -230,8 +230,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
141 SampleAuxiliaryInformationOffset::~SampleAuxiliaryInformationOffset() {}
142 FourCC SampleAuxiliaryInformationOffset::BoxType() const { return FOURCC_SAIO; }
143 
- -
145  RCHECK(FullBox::ReadWrite(buffer));
+ +
145  RCHECK(FullBox::ReadWrite(buffer));
146  if (flags & 1)
147  RCHECK(buffer->IgnoreBytes(8)); // aux_info_type and parameter.
148 
@@ -245,7 +245,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
156  return true;
157 }
158 
- +
160  // This box is optional. Skip it if it is empty.
161  atom_size = 0;
162  if (offsets.size() != 0) {
@@ -260,8 +260,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
171 SampleAuxiliaryInformationSize::~SampleAuxiliaryInformationSize() {}
172 FourCC SampleAuxiliaryInformationSize::BoxType() const { return FOURCC_SAIZ; }
173 
- -
175  RCHECK(FullBox::ReadWrite(buffer));
+ +
175  RCHECK(FullBox::ReadWrite(buffer));
176  if (flags & 1)
177  RCHECK(buffer->IgnoreBytes(8));
178 
@@ -272,7 +272,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
183  return true;
184 }
185 
- +
187  // This box is optional. Skip it if it is empty.
188  atom_size = 0;
189  if (sample_count != 0) {
@@ -287,11 +287,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
198 OriginalFormat::~OriginalFormat() {}
199 FourCC OriginalFormat::BoxType() const { return FOURCC_FRMA; }
200 
- +
202  return Box::ReadWrite(buffer) && buffer->ReadWriteFourCC(&format);
203 }
204 
- +
206  atom_size = kBoxSize + kFourCCSize;
207  return atom_size;
208 }
@@ -300,14 +300,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
211 SchemeType::~SchemeType() {}
212 FourCC SchemeType::BoxType() const { return FOURCC_SCHM; }
213 
- -
215  RCHECK(FullBox::ReadWrite(buffer) &&
+ +
215  RCHECK(FullBox::ReadWrite(buffer) &&
216  buffer->ReadWriteFourCC(&type) &&
217  buffer->ReadWriteUInt32(&version));
218  return true;
219 }
220 
- +
222  atom_size = kFullBoxSize + kFourCCSize + sizeof(version);
223  return atom_size;
224 }
@@ -317,7 +317,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
228 TrackEncryption::~TrackEncryption() {}
229 FourCC TrackEncryption::BoxType() const { return FOURCC_TENC; }
230 
- +
232  if (!buffer->Reading()) {
233  if (default_kid.size() != kCencKeyIdSize) {
234  LOG(WARNING) << "CENC defines key id length of " << kCencKeyIdSize
@@ -328,7 +328,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
239  }
240 
241  uint8_t flag = is_encrypted ? 1 : 0;
-
242  RCHECK(FullBox::ReadWrite(buffer) &&
+
242  RCHECK(FullBox::ReadWrite(buffer) &&
243  buffer->IgnoreBytes(2) && // reserved.
244  buffer->ReadWriteUInt8(&flag) &&
245  buffer->ReadWriteUInt8(&default_iv_size) &&
@@ -344,7 +344,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
255  return true;
256 }
257 
- +
259  atom_size = kFullBoxSize + sizeof(uint32_t) + kCencKeyIdSize;
260  return atom_size;
261 }
@@ -353,14 +353,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
264 SchemeInfo::~SchemeInfo() {}
265 FourCC SchemeInfo::BoxType() const { return FOURCC_SCHI; }
266 
- +
268  RCHECK(Box::ReadWrite(buffer) && buffer->PrepareChildren() &&
269  buffer->ReadWriteChild(&track_encryption));
270  return true;
271 }
272 
- -
274  atom_size = kBoxSize + track_encryption.ComputeSize();
+ +
274  atom_size = kBoxSize + track_encryption.ComputeSize();
275  return atom_size;
276 }
277 
@@ -368,7 +368,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
279 ProtectionSchemeInfo::~ProtectionSchemeInfo() {}
280 FourCC ProtectionSchemeInfo::BoxType() const { return FOURCC_SINF; }
281 
- +
283  RCHECK(Box::ReadWrite(buffer) &&
284  buffer->PrepareChildren() &&
285  buffer->ReadWriteChild(&format) &&
@@ -382,12 +382,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
293  return true;
294 }
295 
- +
297  // Skip sinf box if it is not initialized.
298  atom_size = 0;
299  if (format.format != FOURCC_NULL) {
-
300  atom_size = kBoxSize + format.ComputeSize() + type.ComputeSize() +
-
301  info.ComputeSize();
+
300  atom_size = kBoxSize + format.ComputeSize() + type.ComputeSize() +
+
301  info.ComputeSize();
302  }
303  return atom_size;
304 }
@@ -403,8 +403,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
314 MovieHeader::~MovieHeader() {}
315 FourCC MovieHeader::BoxType() const { return FOURCC_MVHD; }
316 
- -
318  RCHECK(FullBox::ReadWrite(buffer));
+ +
318  RCHECK(FullBox::ReadWrite(buffer));
319 
320  size_t num_bytes = (version == 1) ? sizeof(uint64_t) : sizeof(uint32_t);
321  RCHECK(buffer->ReadWriteUInt64NBytes(&creation_time, num_bytes) &&
@@ -423,7 +423,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
334  return true;
335 }
336 
- +
338  version = IsFitIn32Bits(creation_time, modification_time, duration) ? 0 : 1;
339  atom_size = kFullBoxSize + sizeof(uint32_t) * (1 + version) * 3 +
340  sizeof(timescale) + sizeof(rate) + sizeof(volume) +
@@ -447,8 +447,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
358 TrackHeader::~TrackHeader() {}
359 FourCC TrackHeader::BoxType() const { return FOURCC_TKHD; }
360 
- -
362  RCHECK(FullBox::ReadWrite(buffer));
+ +
362  RCHECK(FullBox::ReadWrite(buffer));
363 
364  size_t num_bytes = (version == 1) ? sizeof(uint64_t) : sizeof(uint32_t);
365  RCHECK(buffer->ReadWriteUInt64NBytes(&creation_time, num_bytes) &&
@@ -475,7 +475,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
386  return true;
387 }
388 
- +
390  version = IsFitIn32Bits(creation_time, modification_time, duration) ? 0 : 1;
391  atom_size = kFullBoxSize + sizeof(track_id) +
392  sizeof(uint32_t) * (1 + version) * 3 + sizeof(layer) +
@@ -488,13 +488,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
399 SampleDescription::~SampleDescription() {}
400 FourCC SampleDescription::BoxType() const { return FOURCC_STSD; }
401 
- +
403  uint32_t count = 0;
404  if (type == kVideo)
405  count = video_entries.size();
406  else
407  count = audio_entries.size();
-
408  RCHECK(FullBox::ReadWrite(buffer) &&
+
408  RCHECK(FullBox::ReadWrite(buffer) &&
409  buffer->ReadWriteUInt32(&count));
410 
411  if (buffer->Reading()) {
@@ -515,10 +515,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
426  DCHECK_LT(0u, count);
427  if (type == kVideo) {
428  for (uint32_t i = 0; i < count; ++i)
-
429  RCHECK(video_entries[i].ReadWrite(buffer));
+
429  RCHECK(video_entries[i].ReadWrite(buffer));
430  } else if (type == kAudio) {
431  for (uint32_t i = 0; i < count; ++i)
-
432  RCHECK(audio_entries[i].ReadWrite(buffer));
+
432  RCHECK(audio_entries[i].ReadWrite(buffer));
433  } else {
434  NOTIMPLEMENTED();
435  }
@@ -526,14 +526,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
437  return true;
438 }
439 
- +
441  atom_size = kFullBoxSize + sizeof(uint32_t);
442  if (type == kVideo) {
443  for (uint32_t i = 0; i < video_entries.size(); ++i)
-
444  atom_size += video_entries[i].ComputeSize();
+
444  atom_size += video_entries[i].ComputeSize();
445  } else if (type == kAudio) {
446  for (uint32_t i = 0; i < audio_entries.size(); ++i)
-
447  atom_size += audio_entries[i].ComputeSize();
+
447  atom_size += audio_entries[i].ComputeSize();
448  }
449  return atom_size;
450 }
@@ -542,9 +542,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
453 DecodingTimeToSample::~DecodingTimeToSample() {}
454 FourCC DecodingTimeToSample::BoxType() const { return FOURCC_STTS; }
455 
- +
457  uint32_t count = decoding_time.size();
-
458  RCHECK(FullBox::ReadWrite(buffer) &&
+
458  RCHECK(FullBox::ReadWrite(buffer) &&
459  buffer->ReadWriteUInt32(&count));
460 
461  decoding_time.resize(count);
@@ -555,7 +555,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
466  return true;
467 }
468 
- +
470  atom_size = kFullBoxSize + sizeof(uint32_t) +
471  sizeof(DecodingTime) * decoding_time.size();
472  return atom_size;
@@ -565,7 +565,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
476 CompositionTimeToSample::~CompositionTimeToSample() {}
477 FourCC CompositionTimeToSample::BoxType() const { return FOURCC_CTTS; }
478 
- +
480  uint32_t count = composition_offset.size();
481  if (!buffer->Reading()) {
482  // Determine whether version 0 or version 1 should be used.
@@ -580,7 +580,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
491  }
492  }
493 
-
494  RCHECK(FullBox::ReadWrite(buffer) &&
+
494  RCHECK(FullBox::ReadWrite(buffer) &&
495  buffer->ReadWriteUInt32(&count));
496 
497  composition_offset.resize(count);
@@ -600,7 +600,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
511  return true;
512 }
513 
- +
515  // This box is optional. Skip it if it is empty.
516  atom_size = 0;
517  if (!composition_offset.empty()) {
@@ -618,9 +618,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
529 SampleToChunk::~SampleToChunk() {}
530 FourCC SampleToChunk::BoxType() const { return FOURCC_STSC; }
531 
- +
533  uint32_t count = chunk_info.size();
-
534  RCHECK(FullBox::ReadWrite(buffer) &&
+
534  RCHECK(FullBox::ReadWrite(buffer) &&
535  buffer->ReadWriteUInt32(&count));
536 
537  chunk_info.resize(count);
@@ -635,7 +635,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
546  return true;
547 }
548 
- +
550  atom_size =
551  kFullBoxSize + sizeof(uint32_t) + sizeof(ChunkInfo) * chunk_info.size();
552  return atom_size;
@@ -645,8 +645,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
556 SampleSize::~SampleSize() {}
557 FourCC SampleSize::BoxType() const { return FOURCC_STSZ; }
558 
- -
560  RCHECK(FullBox::ReadWrite(buffer) &&
+ +
560  RCHECK(FullBox::ReadWrite(buffer) &&
561  buffer->ReadWriteUInt32(&sample_size) &&
562  buffer->ReadWriteUInt32(&sample_count));
563 
@@ -661,7 +661,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
572  return true;
573 }
574 
- +
576  atom_size = kFullBoxSize + sizeof(sample_size) + sizeof(sample_count) +
577  (sample_size == 0 ? sizeof(uint32_t) * sizes.size() : 0);
578  return atom_size;
@@ -671,9 +671,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
582 CompactSampleSize::~CompactSampleSize() {}
583 FourCC CompactSampleSize::BoxType() const { return FOURCC_STZ2; }
584 
- +
586  uint32_t sample_count = sizes.size();
-
587  RCHECK(FullBox::ReadWrite(buffer) &&
+
587  RCHECK(FullBox::ReadWrite(buffer) &&
588  buffer->IgnoreBytes(3) &&
589  buffer->ReadWriteUInt8(&field_size) &&
590  buffer->ReadWriteUInt32(&sample_count));
@@ -717,7 +717,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
628  return true;
629 }
630 
- +
632  atom_size = kFullBoxSize + sizeof(uint32_t) + sizeof(uint32_t) +
633  (field_size * sizes.size() + 7) / 8;
634  return atom_size;
@@ -727,9 +727,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
638 ChunkOffset::~ChunkOffset() {}
639 FourCC ChunkOffset::BoxType() const { return FOURCC_STCO; }
640 
- +
642  uint32_t count = offsets.size();
-
643  RCHECK(FullBox::ReadWrite(buffer) &&
+
643  RCHECK(FullBox::ReadWrite(buffer) &&
644  buffer->ReadWriteUInt32(&count));
645 
646  offsets.resize(count);
@@ -738,7 +738,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
649  return true;
650 }
651 
- +
653  atom_size =
654  kFullBoxSize + sizeof(uint32_t) + sizeof(uint32_t) * offsets.size();
655  return atom_size;
@@ -748,7 +748,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
659 ChunkLargeOffset::~ChunkLargeOffset() {}
660 FourCC ChunkLargeOffset::BoxType() const { return FOURCC_CO64; }
661 
- +
663  uint32_t count = offsets.size();
664 
665  if (!buffer->Reading()) {
@@ -763,7 +763,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
674  }
675  }
676 
-
677  RCHECK(FullBox::ReadWrite(buffer) &&
+
677  RCHECK(FullBox::ReadWrite(buffer) &&
678  buffer->ReadWriteUInt32(&count));
679 
680  offsets.resize(count);
@@ -772,7 +772,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
683  return true;
684 }
685 
- +
687  uint32_t count = offsets.size();
688  int use_large_offset =
689  (count > 0 && !IsFitIn32Bits(offsets[count - 1])) ? 1 : 0;
@@ -785,9 +785,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
696 SyncSample::~SyncSample() {}
697 FourCC SyncSample::BoxType() const { return FOURCC_STSS; }
698 
- +
700  uint32_t count = sample_number.size();
-
701  RCHECK(FullBox::ReadWrite(buffer) &&
+
701  RCHECK(FullBox::ReadWrite(buffer) &&
702  buffer->ReadWriteUInt32(&count));
703 
704  sample_number.resize(count);
@@ -796,7 +796,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
707  return true;
708 }
709 
- +
711  // Sync sample box is optional. Skip it if it is empty.
712  atom_size = 0;
713  if (!sample_number.empty()) {
@@ -810,7 +810,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
721 SampleTable::~SampleTable() {}
722 FourCC SampleTable::BoxType() const { return FOURCC_STBL; }
723 
- +
725  RCHECK(Box::ReadWrite(buffer) &&
726  buffer->PrepareChildren() &&
727  buffer->ReadWriteChild(&description) &&
@@ -842,19 +842,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
753  chunk_large_offset.offsets.swap(chunk_offset.offsets);
754  }
755  } else {
-
756  RCHECK(sample_size.ReadWrite(buffer) &&
-
757  chunk_large_offset.ReadWrite(buffer));
+
756  RCHECK(sample_size.ReadWrite(buffer) &&
+
757  chunk_large_offset.ReadWrite(buffer));
758  }
759  RCHECK(buffer->TryReadWriteChild(&sync_sample));
760  return true;
761 }
762 
- -
764  atom_size = kBoxSize + description.ComputeSize() +
-
765  decoding_time_to_sample.ComputeSize() +
-
766  composition_time_to_sample.ComputeSize() +
-
767  sample_to_chunk.ComputeSize() + sample_size.ComputeSize() +
-
768  chunk_large_offset.ComputeSize() + sync_sample.ComputeSize();
+ +
764  atom_size = kBoxSize + description.ComputeSize() +
+
765  decoding_time_to_sample.ComputeSize() +
+
766  composition_time_to_sample.ComputeSize() +
+
767  sample_to_chunk.ComputeSize() + sample_size.ComputeSize() +
+
768  chunk_large_offset.ComputeSize() + sync_sample.ComputeSize();
769  return atom_size;
770 }
771 
@@ -862,9 +862,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
773 EditList::~EditList() {}
774 FourCC EditList::BoxType() const { return FOURCC_ELST; }
775 
- +
777  uint32_t count = edits.size();
-
778  RCHECK(FullBox::ReadWrite(buffer) && buffer->ReadWriteUInt32(&count));
+
778  RCHECK(FullBox::ReadWrite(buffer) && buffer->ReadWriteUInt32(&count));
779  edits.resize(count);
780 
781  size_t num_bytes = (version == 1) ? sizeof(uint64_t) : sizeof(uint32_t);
@@ -878,7 +878,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
789  return true;
790 }
791 
- +
793  // EditList box is optional. Skip it if it is empty.
794  atom_size = 0;
795  if (edits.empty())
@@ -901,17 +901,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
812 Edit::~Edit() {}
813 FourCC Edit::BoxType() const { return FOURCC_EDTS; }
814 
-
815 bool Edit::ReadWrite(BoxBuffer* buffer) {
+
815 bool Edit::ReadWrite(BoxBuffer* buffer) {
816  return Box::ReadWrite(buffer) &&
817  buffer->PrepareChildren() &&
818  buffer->ReadWriteChild(&list);
819 }
820 
-
821 uint32_t Edit::ComputeSize() {
+
821 uint32_t Edit::ComputeSize() {
822  // Edit box is optional. Skip it if it is empty.
823  atom_size = 0;
824  if (!list.edits.empty())
-
825  atom_size = kBoxSize + list.ComputeSize();
+
825  atom_size = kBoxSize + list.ComputeSize();
826  return atom_size;
827 }
828 
@@ -919,7 +919,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
830 HandlerReference::~HandlerReference() {}
831 FourCC HandlerReference::BoxType() const { return FOURCC_HDLR; }
832 
- +
834  FourCC hdlr_type = FOURCC_NULL;
835  std::vector<uint8_t> handler_name;
836  if (!buffer->Reading()) {
@@ -936,7 +936,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
847  return false;
848  }
849  }
-
850  RCHECK(FullBox::ReadWrite(buffer) &&
+
850  RCHECK(FullBox::ReadWrite(buffer) &&
851  buffer->IgnoreBytes(4) && // predefined.
852  buffer->ReadWriteFourCC(&hdlr_type));
853  if (buffer->Reading()) {
@@ -955,7 +955,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
866  return true;
867 }
868 
- +
870  atom_size =
871  kFullBoxSize + kFourCCSize + 16 + // 16 bytes Reserved
872  (type == kVideo ? sizeof(kVideoHandlerName) : sizeof(kAudioHandlerName));
@@ -972,7 +972,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
883 AVCDecoderConfigurationRecord::~AVCDecoderConfigurationRecord() {}
884 FourCC AVCDecoderConfigurationRecord::BoxType() const { return FOURCC_AVCC; }
885 
- +
887  RCHECK(Box::ReadWrite(buffer));
888  if (buffer->Reading()) {
889  RCHECK(buffer->ReadWriteVector(&data, buffer->Size() - buffer->Pos()));
@@ -1019,7 +1019,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
930  return true;
931 }
932 
- +
934  atom_size = 0;
935  if (!data.empty())
936  atom_size = kBoxSize + data.size();
@@ -1030,14 +1030,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
941 PixelAspectRatioBox::~PixelAspectRatioBox() {}
942 FourCC PixelAspectRatioBox::BoxType() const { return FOURCC_PASP; }
943 
- +
945  RCHECK(Box::ReadWrite(buffer) &&
946  buffer->ReadWriteUInt32(&h_spacing) &&
947  buffer->ReadWriteUInt32(&v_spacing));
948  return true;
949 }
950 
- +
952  // This box is optional. Skip it if it is not initialized.
953  atom_size = 0;
954  if (h_spacing != 0 || v_spacing != 0) {
@@ -1058,7 +1058,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
969  return FOURCC_NULL;
970 }
971 
- +
973  if (buffer->Reading()) {
974  DCHECK(buffer->reader());
975  format = buffer->reader()->type();
@@ -1107,12 +1107,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1018  return true;
1019 }
1020 
- +
1022  atom_size = kBoxSize + sizeof(data_reference_index) + sizeof(width) +
1023  sizeof(height) + sizeof(kVideoResolution) * 2 +
1024  sizeof(kVideoFrameCount) + sizeof(kVideoDepth) +
-
1025  pixel_aspect.ComputeSize() + sinf.ComputeSize() +
-
1026  avcc.ComputeSize() + 32 + // 32 bytes comparessor_name.
+
1025  pixel_aspect.ComputeSize() + sinf.ComputeSize() +
+
1026  avcc.ComputeSize() + 32 + // 32 bytes comparessor_name.
1027  6 + 4 + 16 + 2; // 6 + 4 bytes reserved, 16 + 2 bytes predefined.
1028  return atom_size;
1029 }
@@ -1121,8 +1121,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1032 ElementaryStreamDescriptor::~ElementaryStreamDescriptor() {}
1033 FourCC ElementaryStreamDescriptor::BoxType() const { return FOURCC_ESDS; }
1034 
- -
1036  RCHECK(FullBox::ReadWrite(buffer));
+ +
1036  RCHECK(FullBox::ReadWrite(buffer));
1037  if (buffer->Reading()) {
1038  std::vector<uint8_t> data;
1039  RCHECK(buffer->ReadWriteVector(&data, buffer->Size() - buffer->Pos()));
@@ -1138,7 +1138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1049  return true;
1050 }
1051 
- +
1053  // This box is optional. Skip it if not initialized.
1054  atom_size = 0;
1055  if (es_descriptor.object_type() != kForbidden)
@@ -1161,7 +1161,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1072  return FOURCC_NULL;
1073 }
1074 
- +
1076  if (buffer->Reading()) {
1077  DCHECK(buffer->reader());
1078  format = buffer->reader()->type();
@@ -1201,10 +1201,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1112  return true;
1113 }
1114 
- +
1116  atom_size = kBoxSize + sizeof(data_reference_index) + sizeof(channelcount) +
-
1117  sizeof(samplesize) + sizeof(samplerate) + sinf.ComputeSize() +
-
1118  esds.ComputeSize() + 6 + 8 + // 6 + 8 bytes reserved.
+
1117  sizeof(samplesize) + sizeof(samplerate) + sinf.ComputeSize() +
+
1118  esds.ComputeSize() + 6 + 8 + // 6 + 8 bytes reserved.
1119  4; // 4 bytes predefined.
1120  return atom_size;
1121 }
@@ -1216,8 +1216,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1127 MediaHeader::~MediaHeader() {}
1128 FourCC MediaHeader::BoxType() const { return FOURCC_MDHD; }
1129 
- -
1131  RCHECK(FullBox::ReadWrite(buffer));
+ +
1131  RCHECK(FullBox::ReadWrite(buffer));
1132 
1133  uint8_t num_bytes = (version == 1) ? sizeof(uint64_t) : sizeof(uint32_t);
1134  RCHECK(buffer->ReadWriteUInt64NBytes(&creation_time, num_bytes) &&
@@ -1255,7 +1255,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1166  return true;
1167 }
1168 
- +
1170  version = IsFitIn32Bits(creation_time, modification_time, duration) ? 0 : 1;
1171  atom_size = kFullBoxSize + sizeof(timescale) +
1172  sizeof(uint32_t) * (1 + version) * 3 + 2 + // 2 bytes language.
@@ -1270,8 +1270,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1181 }
1182 VideoMediaHeader::~VideoMediaHeader() {}
1183 FourCC VideoMediaHeader::BoxType() const { return FOURCC_VMHD; }
- -
1185  RCHECK(FullBox::ReadWrite(buffer) &&
+ +
1185  RCHECK(FullBox::ReadWrite(buffer) &&
1186  buffer->ReadWriteUInt16(&graphicsmode) &&
1187  buffer->ReadWriteUInt16(&opcolor_red) &&
1188  buffer->ReadWriteUInt16(&opcolor_green) &&
@@ -1279,7 +1279,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1190  return true;
1191 }
1192 
- +
1194  atom_size = kFullBoxSize + sizeof(graphicsmode) + sizeof(opcolor_red) +
1195  sizeof(opcolor_green) + sizeof(opcolor_blue);
1196  return atom_size;
@@ -1288,14 +1288,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1199 SoundMediaHeader::SoundMediaHeader() : balance(0) {}
1200 SoundMediaHeader::~SoundMediaHeader() {}
1201 FourCC SoundMediaHeader::BoxType() const { return FOURCC_SMHD; }
- -
1203  RCHECK(FullBox::ReadWrite(buffer) &&
+ +
1203  RCHECK(FullBox::ReadWrite(buffer) &&
1204  buffer->ReadWriteUInt16(&balance) &&
1205  buffer->IgnoreBytes(2)); // reserved.
1206  return true;
1207 }
1208 
- +
1210  atom_size = kFullBoxSize + sizeof(balance) + sizeof(uint16_t);
1211  return atom_size;
1212 }
@@ -1306,8 +1306,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1217 }
1218 DataEntryUrl::~DataEntryUrl() {}
1219 FourCC DataEntryUrl::BoxType() const { return FOURCC_URL; }
- -
1221  RCHECK(FullBox::ReadWrite(buffer));
+ +
1221  RCHECK(FullBox::ReadWrite(buffer));
1222  if (buffer->Reading()) {
1223  RCHECK(buffer->ReadWriteVector(&location, buffer->Size() - buffer->Pos()));
1224  } else {
@@ -1316,7 +1316,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1227  return true;
1228 }
1229 
- +
1231  atom_size = kBoxSize + sizeof(flags) + location.size();
1232  return atom_size;
1233 }
@@ -1327,9 +1327,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1238 }
1239 DataReference::~DataReference() {}
1240 FourCC DataReference::BoxType() const { return FOURCC_DREF; }
- +
1242  uint32_t entry_count = data_entry.size();
-
1243  RCHECK(FullBox::ReadWrite(buffer) &&
+
1243  RCHECK(FullBox::ReadWrite(buffer) &&
1244  buffer->ReadWriteUInt32(&entry_count));
1245  data_entry.resize(entry_count);
1246  RCHECK(buffer->PrepareChildren());
@@ -1338,11 +1338,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1249  return true;
1250 }
1251 
- +
1253  uint32_t count = data_entry.size();
1254  atom_size = kFullBoxSize + sizeof(count);
1255  for (uint32_t i = 0; i < count; ++i)
-
1256  atom_size += data_entry[i].ComputeSize();
+
1256  atom_size += data_entry[i].ComputeSize();
1257  return atom_size;
1258 }
1259 
@@ -1350,14 +1350,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1261 DataInformation::~DataInformation() {}
1262 FourCC DataInformation::BoxType() const { return FOURCC_DINF; }
1263 
- +
1265  return Box::ReadWrite(buffer) &&
1266  buffer->PrepareChildren() &&
1267  buffer->ReadWriteChild(&dref);
1268 }
1269 
- -
1271  atom_size = kBoxSize + dref.ComputeSize();
+ +
1271  atom_size = kBoxSize + dref.ComputeSize();
1272  return atom_size;
1273 }
1274 
@@ -1365,7 +1365,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1276 MediaInformation::~MediaInformation() {}
1277 FourCC MediaInformation::BoxType() const { return FOURCC_MINF; }
1278 
- +
1280  RCHECK(Box::ReadWrite(buffer) &&
1281  buffer->PrepareChildren() &&
1282  buffer->ReadWriteChild(&dinf) &&
@@ -1380,12 +1380,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1291  return true;
1292 }
1293 
- -
1295  atom_size = kBoxSize + dinf.ComputeSize() + sample_table.ComputeSize();
+ +
1295  atom_size = kBoxSize + dinf.ComputeSize() + sample_table.ComputeSize();
1296  if (sample_table.description.type == kVideo)
-
1297  atom_size += vmhd.ComputeSize();
+
1297  atom_size += vmhd.ComputeSize();
1298  else if (sample_table.description.type == kAudio)
-
1299  atom_size += smhd.ComputeSize();
+
1299  atom_size += smhd.ComputeSize();
1300  return atom_size;
1301 }
1302 
@@ -1393,7 +1393,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1304 Media::~Media() {}
1305 FourCC Media::BoxType() const { return FOURCC_MDIA; }
1306 
- +
1308  RCHECK(Box::ReadWrite(buffer) &&
1309  buffer->PrepareChildren() &&
1310  buffer->ReadWriteChild(&header) &&
@@ -1413,9 +1413,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1324  return true;
1325 }
1326 
- -
1328  atom_size = kBoxSize + header.ComputeSize() + handler.ComputeSize() +
-
1329  information.ComputeSize();
+ +
1328  atom_size = kBoxSize + header.ComputeSize() + handler.ComputeSize() +
+
1329  information.ComputeSize();
1330  return atom_size;
1331 }
1332 
@@ -1423,7 +1423,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1334 Track::~Track() {}
1335 FourCC Track::BoxType() const { return FOURCC_TRAK; }
1336 
- +
1338  RCHECK(Box::ReadWrite(buffer) &&
1339  buffer->PrepareChildren() &&
1340  buffer->ReadWriteChild(&header) &&
@@ -1432,9 +1432,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1343  return true;
1344 }
1345 
- -
1347  atom_size = kBoxSize + header.ComputeSize() + media.ComputeSize() +
-
1348  edit.ComputeSize();
+ +
1347  atom_size = kBoxSize + header.ComputeSize() + media.ComputeSize() +
+
1348  edit.ComputeSize();
1349  return atom_size;
1350 }
1351 
@@ -1442,14 +1442,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1353 MovieExtendsHeader::~MovieExtendsHeader() {}
1354 FourCC MovieExtendsHeader::BoxType() const { return FOURCC_MEHD; }
1355 
- -
1357  RCHECK(FullBox::ReadWrite(buffer));
+ +
1357  RCHECK(FullBox::ReadWrite(buffer));
1358  size_t num_bytes = (version == 1) ? sizeof(uint64_t) : sizeof(uint32_t);
1359  RCHECK(buffer->ReadWriteUInt64NBytes(&fragment_duration, num_bytes));
1360  return true;
1361 }
1362 
- +
1364  atom_size = 0;
1365  // This box is optional. Skip it if it is not used.
1366  if (fragment_duration != 0) {
@@ -1468,8 +1468,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1379 TrackExtends::~TrackExtends() {}
1380 FourCC TrackExtends::BoxType() const { return FOURCC_TREX; }
1381 
- -
1383  RCHECK(FullBox::ReadWrite(buffer) &&
+ +
1383  RCHECK(FullBox::ReadWrite(buffer) &&
1384  buffer->ReadWriteUInt32(&track_id) &&
1385  buffer->ReadWriteUInt32(&default_sample_description_index) &&
1386  buffer->ReadWriteUInt32(&default_sample_duration) &&
@@ -1478,7 +1478,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1389  return true;
1390 }
1391 
- +
1393  atom_size = kFullBoxSize + sizeof(track_id) +
1394  sizeof(default_sample_description_index) +
1395  sizeof(default_sample_duration) + sizeof(default_sample_size) +
@@ -1490,7 +1490,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1401 MovieExtends::~MovieExtends() {}
1402 FourCC MovieExtends::BoxType() const { return FOURCC_MVEX; }
1403 
- +
1405  RCHECK(Box::ReadWrite(buffer) &&
1406  buffer->PrepareChildren() &&
1407  buffer->TryReadWriteChild(&header));
@@ -1499,18 +1499,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1410  RCHECK(buffer->reader()->ReadChildren(&tracks));
1411  } else {
1412  for (uint32_t i = 0; i < tracks.size(); ++i)
-
1413  RCHECK(tracks[i].ReadWrite(buffer));
+
1413  RCHECK(tracks[i].ReadWrite(buffer));
1414  }
1415  return true;
1416 }
1417 
- +
1419  // This box is optional. Skip it if it does not contain any track.
1420  atom_size = 0;
1421  if (tracks.size() != 0) {
-
1422  atom_size = kBoxSize + header.ComputeSize();
+
1422  atom_size = kBoxSize + header.ComputeSize();
1423  for (uint32_t i = 0; i < tracks.size(); ++i)
-
1424  atom_size += tracks[i].ComputeSize();
+
1424  atom_size += tracks[i].ComputeSize();
1425  }
1426  return atom_size;
1427 }
@@ -1519,7 +1519,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1430 Movie::~Movie() {}
1431 FourCC Movie::BoxType() const { return FOURCC_MOOV; }
1432 
- +
1434  RCHECK(Box::ReadWrite(buffer) &&
1435  buffer->PrepareChildren() &&
1436  buffer->ReadWriteChild(&header) &&
@@ -1531,19 +1531,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1442  reader->TryReadChildren(&pssh));
1443  } else {
1444  for (uint32_t i = 0; i < tracks.size(); ++i)
-
1445  RCHECK(tracks[i].ReadWrite(buffer));
+
1445  RCHECK(tracks[i].ReadWrite(buffer));
1446  for (uint32_t i = 0; i < pssh.size(); ++i)
-
1447  RCHECK(pssh[i].ReadWrite(buffer));
+
1447  RCHECK(pssh[i].ReadWrite(buffer));
1448  }
1449  return true;
1450 }
1451 
- -
1453  atom_size = kBoxSize + header.ComputeSize() + extends.ComputeSize();
+ +
1453  atom_size = kBoxSize + header.ComputeSize() + extends.ComputeSize();
1454  for (uint32_t i = 0; i < tracks.size(); ++i)
-
1455  atom_size += tracks[i].ComputeSize();
+
1455  atom_size += tracks[i].ComputeSize();
1456  for (uint32_t i = 0; i < pssh.size(); ++i)
-
1457  atom_size += pssh[i].ComputeSize();
+
1457  atom_size += pssh[i].ComputeSize();
1458  return atom_size;
1459 }
1460 
@@ -1551,14 +1551,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1462 TrackFragmentDecodeTime::~TrackFragmentDecodeTime() {}
1463 FourCC TrackFragmentDecodeTime::BoxType() const { return FOURCC_TFDT; }
1464 
- -
1466  RCHECK(FullBox::ReadWrite(buffer));
+ +
1466  RCHECK(FullBox::ReadWrite(buffer));
1467  size_t num_bytes = (version == 1) ? sizeof(uint64_t) : sizeof(uint32_t);
1468  RCHECK(buffer->ReadWriteUInt64NBytes(&decode_time, num_bytes));
1469  return true;
1470 }
1471 
- +
1473  version = IsFitIn32Bits(decode_time) ? 0 : 1;
1474  atom_size = kFullBoxSize + sizeof(uint32_t) * (1 + version);
1475  return atom_size;
@@ -1568,12 +1568,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1479 MovieFragmentHeader::~MovieFragmentHeader() {}
1480 FourCC MovieFragmentHeader::BoxType() const { return FOURCC_MFHD; }
1481 
- -
1483  return FullBox::ReadWrite(buffer) &&
+ +
1483  return FullBox::ReadWrite(buffer) &&
1484  buffer->ReadWriteUInt32(&sequence_number);
1485 }
1486 
- +
1488  atom_size = kFullBoxSize + sizeof(sequence_number);
1489  return atom_size;
1490 }
@@ -1588,8 +1588,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1499 TrackFragmentHeader::~TrackFragmentHeader() {}
1500 FourCC TrackFragmentHeader::BoxType() const { return FOURCC_TFHD; }
1501 
- -
1503  RCHECK(FullBox::ReadWrite(buffer) &&
+ +
1503  RCHECK(FullBox::ReadWrite(buffer) &&
1504  buffer->ReadWriteUInt32(&track_id));
1505 
1506  if (flags & kBaseDataOffsetPresentMask) {
@@ -1626,7 +1626,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1537  return true;
1538 }
1539 
- +
1541  atom_size = kFullBoxSize + sizeof(track_id);
1542  if (flags & kSampleDescriptionIndexPresentMask)
1543  atom_size += sizeof(sample_description_index);
@@ -1643,7 +1643,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1554 TrackFragmentRun::~TrackFragmentRun() {}
1555 FourCC TrackFragmentRun::BoxType() const { return FOURCC_TRUN; }
1556 
- +
1558  if (!buffer->Reading()) {
1559  // Determine whether version 0 or version 1 should be used.
1560  // Use version 0 if possible, use version 1 if there is a negative
@@ -1659,7 +1659,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1570  }
1571  }
1572 
-
1573  RCHECK(FullBox::ReadWrite(buffer) &&
+
1573  RCHECK(FullBox::ReadWrite(buffer) &&
1574  buffer->ReadWriteUInt32(&sample_count));
1575 
1576  bool data_offset_present = (flags & kDataOffsetPresentMask) != 0;
@@ -1746,7 +1746,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1657  return true;
1658 }
1659 
- +
1661  atom_size = kFullBoxSize + sizeof(sample_count);
1662  if (flags & kDataOffsetPresentMask)
1663  atom_size += sizeof(data_offset);
@@ -1764,8 +1764,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1675 SampleToGroup::~SampleToGroup() {}
1676 FourCC SampleToGroup::BoxType() const { return FOURCC_SBGP; }
1677 
- -
1679  RCHECK(FullBox::ReadWrite(buffer) &&
+ +
1679  RCHECK(FullBox::ReadWrite(buffer) &&
1680  buffer->ReadWriteUInt32(&grouping_type));
1681  if (version == 1)
1682  RCHECK(buffer->ReadWriteUInt32(&grouping_type_parameter));
@@ -1786,7 +1786,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1697  return true;
1698 }
1699 
- +
1701  // This box is optional. Skip it if it is not used.
1702  atom_size = 0;
1703  if (!entries.empty()) {
@@ -1806,8 +1806,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1717 SampleGroupDescription::~SampleGroupDescription() {}
1718 FourCC SampleGroupDescription::BoxType() const { return FOURCC_SGPD; }
1719 
- -
1721  RCHECK(FullBox::ReadWrite(buffer) &&
+ +
1721  RCHECK(FullBox::ReadWrite(buffer) &&
1722  buffer->ReadWriteUInt32(&grouping_type));
1723 
1724  if (grouping_type != FOURCC_SEIG) {
@@ -1867,7 +1867,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1778  return true;
1779 }
1780 
- +
1782  // Version 0 is obsoleted, so always generate version 1 box.
1783  version = 1;
1784  // This box is optional. Skip it if it is not used.
@@ -1885,7 +1885,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1796 TrackFragment::~TrackFragment() {}
1797 FourCC TrackFragment::BoxType() const { return FOURCC_TRAF; }
1798 
- +
1800  RCHECK(Box::ReadWrite(buffer) &&
1801  buffer->PrepareChildren() &&
1802  buffer->ReadWriteChild(&header));
@@ -1912,7 +1912,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1823  if (!decode_time_absent)
1824  RCHECK(buffer->ReadWriteChild(&decode_time));
1825  for (uint32_t i = 0; i < runs.size(); ++i)
-
1826  RCHECK(runs[i].ReadWrite(buffer));
+
1826  RCHECK(runs[i].ReadWrite(buffer));
1827  RCHECK(buffer->TryReadWriteChild(&sample_to_group) &&
1828  buffer->TryReadWriteChild(&sample_group_description));
1829  }
@@ -1920,13 +1920,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1831  buffer->TryReadWriteChild(&auxiliary_offset);
1832 }
1833 
- -
1835  atom_size = kBoxSize + header.ComputeSize() + decode_time.ComputeSize() +
-
1836  sample_to_group.ComputeSize() +
-
1837  sample_group_description.ComputeSize() +
-
1838  auxiliary_size.ComputeSize() + auxiliary_offset.ComputeSize();
+ +
1835  atom_size = kBoxSize + header.ComputeSize() + decode_time.ComputeSize() +
+
1836  sample_to_group.ComputeSize() +
+
1837  sample_group_description.ComputeSize() +
+
1838  auxiliary_size.ComputeSize() + auxiliary_offset.ComputeSize();
1839  for (uint32_t i = 0; i < runs.size(); ++i)
-
1840  atom_size += runs[i].ComputeSize();
+
1840  atom_size += runs[i].ComputeSize();
1841  return atom_size;
1842 }
1843 
@@ -1934,7 +1934,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1845 MovieFragment::~MovieFragment() {}
1846 FourCC MovieFragment::BoxType() const { return FOURCC_MOOF; }
1847 
- +
1849  RCHECK(Box::ReadWrite(buffer) &&
1850  buffer->PrepareChildren() &&
1851  buffer->ReadWriteChild(&header));
@@ -1945,19 +1945,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1856  reader->TryReadChildren(&pssh));
1857  } else {
1858  for (uint32_t i = 0; i < tracks.size(); ++i)
-
1859  RCHECK(tracks[i].ReadWrite(buffer));
+
1859  RCHECK(tracks[i].ReadWrite(buffer));
1860  for (uint32_t i = 0; i < pssh.size(); ++i)
-
1861  RCHECK(pssh[i].ReadWrite(buffer));
+
1861  RCHECK(pssh[i].ReadWrite(buffer));
1862  }
1863  return true;
1864 }
1865 
- -
1867  atom_size = kBoxSize + header.ComputeSize();
+ +
1867  atom_size = kBoxSize + header.ComputeSize();
1868  for (uint32_t i = 0; i < tracks.size(); ++i)
-
1869  atom_size += tracks[i].ComputeSize();
+
1869  atom_size += tracks[i].ComputeSize();
1870  for (uint32_t i = 0; i < pssh.size(); ++i)
-
1871  atom_size += pssh[i].ComputeSize();
+
1871  atom_size += pssh[i].ComputeSize();
1872  return atom_size;
1873 }
1874 
@@ -1969,8 +1969,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1880 SegmentIndex::~SegmentIndex() {}
1881 FourCC SegmentIndex::BoxType() const { return FOURCC_SIDX; }
1882 
- -
1884  RCHECK(FullBox::ReadWrite(buffer) &&
+ +
1884  RCHECK(FullBox::ReadWrite(buffer) &&
1885  buffer->ReadWriteUInt32(&reference_id) &&
1886  buffer->ReadWriteUInt32(&timescale));
1887 
@@ -2010,7 +2010,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1921  return true;
1922 }
1923 
- +
1925  version = IsFitIn32Bits(earliest_presentation_time, first_offset) ? 0 : 1;
1926  atom_size = kFullBoxSize + sizeof(reference_id) + sizeof(timescale) +
1927  sizeof(uint32_t) * (1 + version) * 2 + 2 * sizeof(uint16_t) +
@@ -2034,144 +2034,144 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1945 } // namespace mp4
1946 } // namespace media
1947 } // namespace edash_packager
- -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual uint32_t ComputeSize() OVERRIDE
- +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadChildren(std::vector< T > *children) WARN_UNUSED_RESULT
Definition: box_reader.h:133
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
bool ReadChild(Box *child) WARN_UNUSED_RESULT
Definition: box_reader.cc:123
-
virtual uint32_t ComputeSize() OVERRIDE
- + + + + +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
-
virtual uint32_t ComputeSize() OVERRIDE
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual uint32_t ComputeSize() OVERRIDE
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
- -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
- -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual uint32_t ComputeSize() OVERRIDE
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
- +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
+
virtual bool ReadWrite(BoxBuffer *buffer)
Read/write the mp4 box from/to BoxBuffer.
Definition: box.cc:36
bool Read1(uint8_t *v) WARN_UNUSED_RESULT
- + - -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
- +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
- -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
- - -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
Definition: box.cc:50
-
virtual uint32_t ComputeSize() OVERRIDE
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
- + +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
-
bool ChildExist(Box *child) WARN_UNUSED_RESULT
Definition: box_reader.cc:136
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
- -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual uint32_t ComputeSize() OVERRIDE
- - -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ + + +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
bool ReadWriteUInt64NBytes(uint64_t *v, size_t num_bytes)
Definition: box_buffer.h:107
- -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ + -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual uint32_t ComputeSize() OVERRIDE
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
- -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual uint32_t ComputeSize() OVERRIDE
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ + + + + +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
Definition: box.cc:50
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ + -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
- -
virtual uint32_t ComputeSize() OVERRIDE
- -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool IgnoreBytes(size_t num_bytes)
Definition: box_buffer.h:167
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual uint32_t ComputeSize() OVERRIDE
A class to read bit streams.
Definition: bit_reader.h:17
- - -
virtual uint32_t ComputeSize() OVERRIDE
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
- +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ + + +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
-
virtual uint32_t ComputeSize() OVERRIDE
- -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
+ + + -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
-
virtual uint32_t ComputeSize() OVERRIDE
-
virtual uint32_t ComputeSize() OVERRIDE
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
- +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadAllChildren(std::vector< T > *children) WARN_UNUSED_RESULT
Definition: box_reader.h:163
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ +
void Write(BufferWriter *writer)
Definition: box.cc:25
- - + +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ +
bool TryReadChildren(std::vector< T > *children) WARN_UNUSED_RESULT
Definition: box_reader.h:139
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
Class for reading MP4 boxes.
Definition: box_reader.h:24
-
virtual uint32_t ComputeSize() OVERRIDE
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
-
virtual uint32_t ComputeSize() OVERRIDE
- - -
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
+ + + +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
-
virtual uint32_t ComputeSize() OVERRIDE
-
virtual uint32_t ComputeSize() OVERRIDE
-
virtual uint32_t ComputeSize() OVERRIDE
-
virtual uint32_t ComputeSize() OVERRIDE
-
virtual bool ReadWrite(BoxBuffer *buffer) OVERRIDE
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ +
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+
bool ReadWrite(BoxBuffer *buffer) override
Read/write the mp4 box from/to BoxBuffer.
+ diff --git a/docs/dd/def/classedash__packager_1_1media_1_1TextTrackConfig.html b/docs/dd/def/classedash__packager_1_1media_1_1TextTrackConfig.html new file mode 100644 index 0000000000..9f3de14b0a --- /dev/null +++ b/docs/dd/def/classedash__packager_1_1media_1_1TextTrackConfig.html @@ -0,0 +1,133 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::TextTrackConfig Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::TextTrackConfig Class Reference
+
+
+ + + + + + + + + + + + + + +

+Public Member Functions

TextTrackConfig (TextKind kind, const std::string &label, const std::string &language, const std::string &id)
 
+bool Matches (const TextTrackConfig &config) const
 
+TextKind kind () const
 
+const std::string & label () const
 
+const std::string & language () const
 
+const std::string & id () const
 
+

Detailed Description

+
+

Definition at line 22 of file text_track_config.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/dd/dfa/structedash__packager_1_1media_1_1MuxerOptions-members.html b/docs/dd/dfa/structedash__packager_1_1media_1_1MuxerOptions-members.html index 86c81b1e38..6e41fd122b 100644 --- a/docs/dd/dfa/structedash__packager_1_1media_1_1MuxerOptions-members.html +++ b/docs/dd/dfa/structedash__packager_1_1media_1_1MuxerOptions-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d0f/local__file_8h_source.html b/docs/de/d0f/local__file_8h_source.html index a79d442429..575e4301ba 100644 --- a/docs/de/d0f/local__file_8h_source.html +++ b/docs/de/d0f/local__file_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef PACKAGER_FILE_LOCAL_FILE_H_
-
8 #define PACKAGER_FILE_LOCAL_FILE_H_
-
9 
+
8 #define PACKAGER_FILE_LOCAL_FILE_H_
+
9 
10 #include <stdint.h>
11 
12 #include <string>
@@ -110,20 +110,20 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
22  public:
26  LocalFile(const char* file_name, const char* mode);
27 
-
30  virtual bool Close() OVERRIDE;
-
31  virtual int64_t Read(void* buffer, uint64_t length) OVERRIDE;
-
32  virtual int64_t Write(const void* buffer, uint64_t length) OVERRIDE;
-
33  virtual int64_t Size() OVERRIDE;
-
34  virtual bool Flush() OVERRIDE;
-
35  virtual bool Seek(uint64_t position) OVERRIDE;
-
36  virtual bool Tell(uint64_t* position) OVERRIDE;
+
30  bool Close() override;
+
31  int64_t Read(void* buffer, uint64_t length) override;
+
32  int64_t Write(const void* buffer, uint64_t length) override;
+
33  int64_t Size() override;
+
34  bool Flush() override;
+
35  bool Seek(uint64_t position) override;
+
36  bool Tell(uint64_t* position) override;
38 
42  static bool Delete(const char* file_name);
43 
44  protected:
-
45  virtual ~LocalFile();
+
45  ~LocalFile() override;
46 
-
47  virtual bool Open() OVERRIDE;
+
47  bool Open() override;
48 
49  private:
50  std::string file_mode_;
@@ -136,23 +136,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
57 } // namespace edash_packager
58 
59 #endif // PACKAGER_FILE_LOCAL_FILE_H_
-
virtual int64_t Read(void *buffer, uint64_t length) OVERRIDE
Definition: local_file.cc:30
-
virtual bool Tell(uint64_t *position) OVERRIDE
Definition: local_file.cc:68
Define an abstract file interface.
Definition: file.h:22
LocalFile(const char *file_name, const char *mode)
Definition: local_file.cc:17
-
virtual bool Close() OVERRIDE
Definition: local_file.cc:20
-
virtual bool Flush() OVERRIDE
Definition: local_file.cc:59
+
bool Tell(uint64_t *position) override
Definition: local_file.cc:68
const std::string & file_name() const
Definition: file.h:89
-
virtual int64_t Size() OVERRIDE
Definition: local_file.cc:42
-
virtual bool Open() OVERRIDE
Internal open. Should not be used directly.
Definition: local_file.cc:78
+ + +
int64_t Write(const void *buffer, uint64_t length) override
Definition: local_file.cc:36
+
int64_t Read(void *buffer, uint64_t length) override
Definition: local_file.cc:30
+
bool Seek(uint64_t position) override
Definition: local_file.cc:64
static bool Delete(const char *file_name)
Definition: local_file.cc:84
Implement LocalFile which deals with local storage.
Definition: local_file.h:21
-
virtual bool Seek(uint64_t position) OVERRIDE
Definition: local_file.cc:64
-
virtual int64_t Write(const void *buffer, uint64_t length) OVERRIDE
Definition: local_file.cc:36
+
bool Open() override
Internal open. Should not be used directly.
Definition: local_file.cc:78
+ diff --git a/docs/de/d10/cenc_8h_source.html b/docs/de/d10/cenc_8h_source.html index b40e19256b..81de788d1c 100644 --- a/docs/de/d10/cenc_8h_source.html +++ b/docs/de/d10/cenc_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_FORMATS_MP4_CENC_H_
-
6 #define MEDIA_FORMATS_MP4_CENC_H_
-
7 
+
6 #define MEDIA_FORMATS_MP4_CENC_H_
+
7 
8 #include <stdint.h>
9 
10 #include <vector>
@@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d12/container__names_8h_source.html b/docs/de/d12/container__names_8h_source.html index e80ced3371..54e9c82fa4 100644 --- a/docs/de/d12/container__names_8h_source.html +++ b/docs/de/d12/container__names_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_BASE_CONTAINER_NAMES_H_
-
6 #define MEDIA_BASE_CONTAINER_NAMES_H_
-
7 
+
6 #define MEDIA_BASE_CONTAINER_NAMES_H_
+
7 
8 #include <stdint.h>
9 
10 namespace edash_packager {
@@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d15/media__stream_8cc_source.html b/docs/de/d15/media__stream_8cc_source.html index 16649032f0..1c763c4216 100644 --- a/docs/de/d15/media__stream_8cc_source.html +++ b/docs/de/d15/media__stream_8cc_source.html @@ -210,7 +210,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d17/cluster__builder_8cc_source.html b/docs/de/d17/cluster__builder_8cc_source.html new file mode 100644 index 0000000000..b60aee5793 --- /dev/null +++ b/docs/de/d17/cluster__builder_8cc_source.html @@ -0,0 +1,338 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/cluster_builder.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
cluster_builder.cc
+
+
+
1 // Copyright 2014 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 #include "packager/media/formats/webm/cluster_builder.h"
+
6 
+
7 #include "packager/base/logging.h"
+
8 #include "packager/media/formats/webm/webm_constants.h"
+
9 
+
10 namespace edash_packager {
+
11 namespace media {
+
12 
+
13 static const uint8_t kClusterHeader[] = {
+
14  0x1F, 0x43, 0xB6, 0x75, // CLUSTER ID
+
15  0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // cluster(size = 0)
+
16  0xE7, // Timecode ID
+
17  0x88, // timecode(size=8)
+
18  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // timecode value
+
19 };
+
20 
+
21 static const uint8_t kSimpleBlockHeader[] = {
+
22  0xA3, // SimpleBlock ID
+
23  0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // SimpleBlock(size = 0)
+
24 };
+
25 
+
26 static const uint8_t kBlockGroupHeader[] = {
+
27  0xA0, // BlockGroup ID
+
28  0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // BlockGroup(size = 0)
+
29  0x9B, // BlockDuration ID
+
30  0x88, // BlockDuration(size = 8)
+
31  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // duration
+
32  0xA1, // Block ID
+
33  0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Block(size = 0)
+
34 };
+
35 
+
36 static const uint8_t kBlockGroupHeaderWithoutBlockDuration[] = {
+
37  0xA0, // BlockGroup ID
+
38  0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // BlockGroup(size = 0)
+
39  0xA1, // Block ID
+
40  0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Block(size = 0)
+
41 };
+
42 
+
43 enum {
+
44  kClusterSizeOffset = 4,
+
45  kClusterTimecodeOffset = 14,
+
46 
+
47  kSimpleBlockSizeOffset = 1,
+
48 
+
49  kBlockGroupSizeOffset = 1,
+
50  kBlockGroupWithoutBlockDurationBlockSizeOffset = 10,
+
51  kBlockGroupDurationOffset = 11,
+
52  kBlockGroupBlockSizeOffset = 20,
+
53 
+
54  kInitialBufferSize = 32768,
+
55 };
+
56 
+
57 Cluster::Cluster(scoped_ptr<uint8_t[]> data, int size)
+
58  : data_(data.Pass()), size_(size) {}
+
59 Cluster::~Cluster() {}
+
60 
+
61 ClusterBuilder::ClusterBuilder() { Reset(); }
+
62 ClusterBuilder::~ClusterBuilder() {}
+
63 
+
64 void ClusterBuilder::SetClusterTimecode(int64_t cluster_timecode) {
+
65  DCHECK_EQ(cluster_timecode_, -1);
+
66 
+
67  cluster_timecode_ = cluster_timecode;
+
68 
+
69  // Write the timecode into the header.
+
70  uint8_t* buf = buffer_.get() + kClusterTimecodeOffset;
+
71  for (int i = 7; i >= 0; --i) {
+
72  buf[i] = cluster_timecode & 0xff;
+
73  cluster_timecode >>= 8;
+
74  }
+
75 }
+
76 
+
77 void ClusterBuilder::AddSimpleBlock(int track_num,
+
78  int64_t timecode,
+
79  int flags,
+
80  const uint8_t* data,
+
81  int size) {
+
82  int block_size = size + 4;
+
83  int bytes_needed = sizeof(kSimpleBlockHeader) + block_size;
+
84  if (bytes_needed > (buffer_size_ - bytes_used_))
+
85  ExtendBuffer(bytes_needed);
+
86 
+
87  uint8_t* buf = buffer_.get() + bytes_used_;
+
88  int block_offset = bytes_used_;
+
89  memcpy(buf, kSimpleBlockHeader, sizeof(kSimpleBlockHeader));
+
90  UpdateUInt64(block_offset + kSimpleBlockSizeOffset, block_size);
+
91  buf += sizeof(kSimpleBlockHeader);
+
92 
+
93  WriteBlock(buf, track_num, timecode, flags, data, size);
+
94 
+
95  bytes_used_ += bytes_needed;
+
96 }
+
97 
+
98 void ClusterBuilder::AddBlockGroup(int track_num,
+
99  int64_t timecode,
+
100  int duration,
+
101  int flags,
+
102  const uint8_t* data,
+
103  int size) {
+
104  AddBlockGroupInternal(track_num, timecode, true, duration, flags, data, size);
+
105 }
+
106 
+
107 void ClusterBuilder::AddBlockGroupWithoutBlockDuration(int track_num,
+
108  int64_t timecode,
+
109  int flags,
+
110  const uint8_t* data,
+
111  int size) {
+
112  AddBlockGroupInternal(track_num, timecode, false, 0, flags, data, size);
+
113 }
+
114 
+
115 void ClusterBuilder::AddBlockGroupInternal(int track_num,
+
116  int64_t timecode,
+
117  bool include_block_duration,
+
118  int duration,
+
119  int flags,
+
120  const uint8_t* data,
+
121  int size) {
+
122  int block_size = size + 4;
+
123  int bytes_needed = block_size;
+
124  if (include_block_duration) {
+
125  bytes_needed += sizeof(kBlockGroupHeader);
+
126  } else {
+
127  bytes_needed += sizeof(kBlockGroupHeaderWithoutBlockDuration);
+
128  }
+
129 
+
130  int block_group_size = bytes_needed - 9;
+
131 
+
132  if (bytes_needed > (buffer_size_ - bytes_used_))
+
133  ExtendBuffer(bytes_needed);
+
134 
+
135  uint8_t* buf = buffer_.get() + bytes_used_;
+
136  int block_group_offset = bytes_used_;
+
137  if (include_block_duration) {
+
138  memcpy(buf, kBlockGroupHeader, sizeof(kBlockGroupHeader));
+
139  UpdateUInt64(block_group_offset + kBlockGroupDurationOffset, duration);
+
140  UpdateUInt64(block_group_offset + kBlockGroupBlockSizeOffset, block_size);
+
141  buf += sizeof(kBlockGroupHeader);
+
142  } else {
+
143  memcpy(buf, kBlockGroupHeaderWithoutBlockDuration,
+
144  sizeof(kBlockGroupHeaderWithoutBlockDuration));
+
145  UpdateUInt64(
+
146  block_group_offset + kBlockGroupWithoutBlockDurationBlockSizeOffset,
+
147  block_size);
+
148  buf += sizeof(kBlockGroupHeaderWithoutBlockDuration);
+
149  }
+
150 
+
151  UpdateUInt64(block_group_offset + kBlockGroupSizeOffset, block_group_size);
+
152 
+
153  // Make sure the 4 most-significant bits are 0.
+
154  // http://www.matroska.org/technical/specs/index.html#block_structure
+
155  flags &= 0x0f;
+
156 
+
157  WriteBlock(buf, track_num, timecode, flags, data, size);
+
158 
+
159  bytes_used_ += bytes_needed;
+
160 }
+
161 
+
162 void ClusterBuilder::WriteBlock(uint8_t* buf,
+
163  int track_num,
+
164  int64_t timecode,
+
165  int flags,
+
166  const uint8_t* data,
+
167  int size) {
+
168  DCHECK_GE(track_num, 0);
+
169  DCHECK_LE(track_num, 126);
+
170  DCHECK_GE(flags, 0);
+
171  DCHECK_LE(flags, 0xff);
+
172  DCHECK(data);
+
173  DCHECK_GT(size, 0);
+
174  DCHECK_NE(cluster_timecode_, -1);
+
175 
+
176  int64_t timecode_delta = timecode - cluster_timecode_;
+
177  DCHECK_GE(timecode_delta, -32768);
+
178  DCHECK_LE(timecode_delta, 32767);
+
179 
+
180  buf[0] = 0x80 | (track_num & 0x7F);
+
181  buf[1] = (timecode_delta >> 8) & 0xff;
+
182  buf[2] = timecode_delta & 0xff;
+
183  buf[3] = flags & 0xff;
+
184  memcpy(buf + 4, data, size);
+
185 }
+
186 
+
187 scoped_ptr<Cluster> ClusterBuilder::Finish() {
+
188  DCHECK_NE(cluster_timecode_, -1);
+
189 
+
190  UpdateUInt64(kClusterSizeOffset, bytes_used_ - (kClusterSizeOffset + 8));
+
191 
+
192  scoped_ptr<Cluster> ret(new Cluster(buffer_.Pass(), bytes_used_));
+
193  Reset();
+
194  return ret.Pass();
+
195 }
+
196 
+
197 scoped_ptr<Cluster> ClusterBuilder::FinishWithUnknownSize() {
+
198  DCHECK_NE(cluster_timecode_, -1);
+
199 
+
200  UpdateUInt64(kClusterSizeOffset, kWebMUnknownSize);
+
201 
+
202  scoped_ptr<Cluster> ret(new Cluster(buffer_.Pass(), bytes_used_));
+
203  Reset();
+
204  return ret.Pass();
+
205 }
+
206 
+
207 void ClusterBuilder::Reset() {
+
208  buffer_size_ = kInitialBufferSize;
+
209  buffer_.reset(new uint8_t[buffer_size_]);
+
210  memcpy(buffer_.get(), kClusterHeader, sizeof(kClusterHeader));
+
211  bytes_used_ = sizeof(kClusterHeader);
+
212  cluster_timecode_ = -1;
+
213 }
+
214 
+
215 void ClusterBuilder::ExtendBuffer(int bytes_needed) {
+
216  int new_buffer_size = 2 * buffer_size_;
+
217 
+
218  while ((new_buffer_size - bytes_used_) < bytes_needed)
+
219  new_buffer_size *= 2;
+
220 
+
221  scoped_ptr<uint8_t[]> new_buffer(new uint8_t[new_buffer_size]);
+
222 
+
223  memcpy(new_buffer.get(), buffer_.get(), bytes_used_);
+
224  buffer_.reset(new_buffer.release());
+
225  buffer_size_ = new_buffer_size;
+
226 }
+
227 
+
228 void ClusterBuilder::UpdateUInt64(int offset, int64_t value) {
+
229  DCHECK_LE(offset + 7, buffer_size_);
+
230  uint8_t* buf = buffer_.get() + offset;
+
231 
+
232  // Fill the last 7 bytes of size field in big-endian order.
+
233  for (int i = 7; i > 0; i--) {
+
234  buf[i] = value & 0xff;
+
235  value >>= 8;
+
236  }
+
237 }
+
238 
+
239 } // namespace media
+
240 } // namespace edash_packager
+
+ + + + diff --git a/docs/de/d19/classedash__packager_1_1media_1_1File.html b/docs/de/d19/classedash__packager_1_1media_1_1File.html index 1a54b2ee04..de617c1a3b 100644 --- a/docs/de/d19/classedash__packager_1_1media_1_1File.html +++ b/docs/de/d19/classedash__packager_1_1media_1_1File.html @@ -218,7 +218,7 @@ class ThreadedIoFileFlush() and de-allocate resources associated with this file, and delete this File object. THIS IS THE ONE TRUE WAY TO DEALLOCATE THIS OBJECT.

Returns
true on success. For writable files, returning false MAY INDICATE DATA LOSS.
-

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

+

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

@@ -305,7 +305,7 @@ class ThreadedIoFileFlush the file so that recently written data will survive an application crash (but not necessarily an OS crash). For instance, in LocalFile the data is flushed into the OS but not necessarily to disk.

Returns
true on success, false otherwise.
-

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

+

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

@@ -467,7 +467,7 @@ class ThreadedIoFile
Returns
Number of bytes read, or a value < 0 on error. Zero on end-of-file, or if 'length' is zero.
-

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

+

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

@@ -546,7 +546,7 @@ class ThreadedIoFile
Returns
true on success, false otherwise.
-

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

+

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

@@ -572,7 +572,7 @@ class ThreadedIoFile
Returns
Size of the file in bytes. A return value less than zero indicates a problem getting the size.
-

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

+

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

@@ -606,7 +606,7 @@ class ThreadedIoFile
Returns
true on succcess, false otherwise.
-

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

+

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

@@ -651,7 +651,7 @@ class ThreadedIoFile
Returns
Number of bytes written, or a value < 0 on error.
-

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

+

Implemented in edash_packager::media::ThreadedIoFile, edash_packager::media::LocalFile, and edash_packager::media::UdpFile.

@@ -662,7 +662,7 @@ class ThreadedIoFile diff --git a/docs/de/d1f/structedash__packager_1_1media_1_1StreamDescriptor.html b/docs/de/d1f/structedash__packager_1_1media_1_1StreamDescriptor.html index bc69cc258a..e6b9e3424a 100644 --- a/docs/de/d1f/structedash__packager_1_1media_1_1StreamDescriptor.html +++ b/docs/de/d1f/structedash__packager_1_1media_1_1StreamDescriptor.html @@ -128,7 +128,7 @@ std::string language diff --git a/docs/de/d34/offset__byte__queue_8h_source.html b/docs/de/d34/offset__byte__queue_8h_source.html index 90a4ddcd86..4091cd38df 100644 --- a/docs/de/d34/offset__byte__queue_8h_source.html +++ b/docs/de/d34/offset__byte__queue_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_BASE_OFFSET_BYTE_QUEUE_H_
-
6 #define MEDIA_BASE_OFFSET_BYTE_QUEUE_H_
-
7 
+
6 #define MEDIA_BASE_OFFSET_BYTE_QUEUE_H_
+
7 
8 #include <stdint.h>
9 
10 #include "packager/media/base/byte_queue.h"
@@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d3e/buffer__reader_8h_source.html b/docs/de/d3e/buffer__reader_8h_source.html index 751ad0ed49..4d59af9cbb 100644 --- a/docs/de/d3e/buffer__reader_8h_source.html +++ b/docs/de/d3e/buffer__reader_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_BUFFER_READER_H_
-
8 #define MEDIA_BASE_BUFFER_READER_H_
-
9 
+
8 #define MEDIA_BASE_BUFFER_READER_H_
+
9 
10 #include <stdint.h>
11 
12 #include <vector>
@@ -161,7 +161,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html b/docs/de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html index 437876ab78..ad76927317 100644 --- a/docs/de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html +++ b/docs/de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::TrackEncryption: - - - - - - - + + + + + + + @@ -151,7 +151,7 @@ Additional Inherited Members

Definition at line 86 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -167,7 +167,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -186,7 +186,7 @@ Additional Inherited Members
diff --git a/docs/de/d4a/muxer__listener__internal_8h_source.html b/docs/de/d4a/muxer__listener__internal_8h_source.html index ff33e3a8e3..f77fb6e7d2 100644 --- a/docs/de/d4a/muxer__listener__internal_8h_source.html +++ b/docs/de/d4a/muxer__listener__internal_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_EVENT_MUXER_LISTENER_INTERNAL_H_
-
8 #define MEDIA_EVENT_MUXER_LISTENER_INTERNAL_H_
-
9 
+
8 #define MEDIA_EVENT_MUXER_LISTENER_INTERNAL_H_
+
9 
10 #include <stdint.h>
11 
12 #include <string>
@@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d4c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat-members.html b/docs/de/d4c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat-members.html index a8f6372940..32858f22e1 100644 --- a/docs/de/d4c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat-members.html +++ b/docs/de/d4c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat-members.html @@ -93,27 +93,27 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

This is the complete list of members for edash_packager::media::mp2t::TsSectionPat, including all inherited members.

- + - - + + - - + + - - + +
Flush() OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
Flush() override (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
kPidCat enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidMax enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidNullPacket enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidPat enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
kPidTsdt enum value (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
Parse(bool payload_unit_start_indicator, const uint8_t *buf, int size) OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
ParsePsiSection(BitReader *bit_reader) OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPat)edash_packager::media::mp2t::TsSectionPatvirtual
Parse(bool payload_unit_start_indicator, const uint8_t *buf, int size) override (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
ParsePsiSection(BitReader *bit_reader) override (defined in edash_packager::media::mp2t::TsSectionPat)edash_packager::media::mp2t::TsSectionPatvirtual
RegisterPmtCb typedef (defined in edash_packager::media::mp2t::TsSectionPat)edash_packager::media::mp2t::TsSectionPat
Reset() OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
ResetPsiSection() OVERRIDE (defined in edash_packager::media::mp2t::TsSectionPat)edash_packager::media::mp2t::TsSectionPatvirtual
Reset() override (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
ResetPsiSection() override (defined in edash_packager::media::mp2t::TsSectionPat)edash_packager::media::mp2t::TsSectionPatvirtual
SpecialPid enum name (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSection
TsSectionPat(const RegisterPmtCb &register_pmt_cb) (defined in edash_packager::media::mp2t::TsSectionPat)edash_packager::media::mp2t::TsSectionPatexplicit
TsSectionPsi() (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsi
~TsSection() (defined in edash_packager::media::mp2t::TsSection)edash_packager::media::mp2t::TsSectioninlinevirtual
~TsSectionPat() (defined in edash_packager::media::mp2t::TsSectionPat)edash_packager::media::mp2t::TsSectionPatvirtual
~TsSectionPsi() (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsivirtual
~TsSectionPat() override (defined in edash_packager::media::mp2t::TsSectionPat)edash_packager::media::mp2t::TsSectionPat
~TsSectionPsi() override (defined in edash_packager::media::mp2t::TsSectionPsi)edash_packager::media::mp2t::TsSectionPsi
diff --git a/docs/de/d57/structedash__packager_1_1media_1_1MuxerOptions.html b/docs/de/d57/structedash__packager_1_1media_1_1MuxerOptions.html index b558a0eff6..121f008b8a 100644 --- a/docs/de/d57/structedash__packager_1_1media_1_1MuxerOptions.html +++ b/docs/de/d57/structedash__packager_1_1media_1_1MuxerOptions.html @@ -271,7 +271,7 @@ std::string  diff --git a/docs/de/d59/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts.html b/docs/de/d59/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts.html index 5550789477..d046b9f156 100644 --- a/docs/de/d59/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts.html +++ b/docs/de/d59/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts.html @@ -108,15 +108,15 @@ Public Member Functions  EsParserAdts (uint32_t pid, const NewStreamInfoCB &new_stream_info_cb, const EmitSampleCB &emit_sample_cb, bool sbr_in_mimetype)   - -virtual bool Parse (const uint8_t *buf, int size, int64_t pts, int64_t dts) OVERRIDE -  - -virtual void Flush () OVERRIDE -  - -virtual void Reset () OVERRIDE -  + +bool Parse (const uint8_t *buf, int size, int64_t pts, int64_t dts) override +  + +void Flush () override +  + +void Reset () override +  - Public Member Functions inherited from edash_packager::media::mp2t::EsParser  EsParser (uint32_t pid) @@ -128,14 +128,15 @@ uint32_t pid ()

Additional Inherited Members

- Public Types inherited from edash_packager::media::mp2t::EsParser - -typedef base::Callback< void(scoped_refptr
-< StreamInfo > &)> NewStreamInfoCB -  - + +typedef base::Callback< void(const
+scoped_refptr< StreamInfo > &)> NewStreamInfoCB +  + typedef base::Callback< void(uint32_t,
-scoped_refptr< MediaSample > &)> EmitSampleCB -  +const scoped_refptr
+< MediaSample > &)> EmitSampleCB

Detailed Description

@@ -147,7 +148,7 @@ scoped_refptr< diff --git a/docs/de/d5a/structedash__packager_1_1media_1_1mp4_1_1SchemeType-members.html b/docs/de/d5a/structedash__packager_1_1media_1_1mp4_1_1SchemeType-members.html index 56f39c6a59..2395092d27 100644 --- a/docs/de/d5a/structedash__packager_1_1media_1_1mp4_1_1SchemeType-members.html +++ b/docs/de/d5a/structedash__packager_1_1media_1_1mp4_1_1SchemeType-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SchemeType)edash_packager::media::mp4::SchemeTypevirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::SchemeTypevirtual
BoxType() const override (defined in edash_packager::media::mp4::SchemeType)edash_packager::media::mp4::SchemeTypevirtual
ComputeSize() overrideedash_packager::media::mp4::SchemeTypevirtual
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SchemeTypevirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SchemeTypevirtual
SchemeType() (defined in edash_packager::media::mp4::SchemeType)edash_packager::media::mp4::SchemeType
type (defined in edash_packager::media::mp4::SchemeType)edash_packager::media::mp4::SchemeType
version (defined in edash_packager::media::mp4::SchemeType)edash_packager::media::mp4::SchemeType
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~SchemeType() (defined in edash_packager::media::mp4::SchemeType)edash_packager::media::mp4::SchemeTypevirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~SchemeType() override (defined in edash_packager::media::mp4::SchemeType)edash_packager::media::mp4::SchemeType
diff --git a/docs/de/d5b/adts__header_8cc_source.html b/docs/de/d5b/adts__header_8cc_source.html index e1cbf7b343..ee448c934b 100644 --- a/docs/de/d5b/adts__header_8cc_source.html +++ b/docs/de/d5b/adts__header_8cc_source.html @@ -207,7 +207,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d5c/mpd__flags_8h_source.html b/docs/de/d5c/mpd__flags_8h_source.html index 51e0dce592..613ef6bfc3 100644 --- a/docs/de/d5c/mpd__flags_8h_source.html +++ b/docs/de/d5c/mpd__flags_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Defines Mpd flags.
8 
9 #ifndef APP_MPD_FLAGS_H_
-
10 #define APP_MPD_FLAGS_H_
-
11 
+
10 #define APP_MPD_FLAGS_H_
+
11 
12 #include <gflags/gflags.h>
13 
14 DECLARE_bool(output_media_info);
@@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d68/structedash__packager_1_1media_1_1mp4_1_1Track-members.html b/docs/de/d68/structedash__packager_1_1media_1_1mp4_1_1Track-members.html index debea9d391..345c1097b6 100644 --- a/docs/de/d68/structedash__packager_1_1media_1_1mp4_1_1Track-members.html +++ b/docs/de/d68/structedash__packager_1_1media_1_1mp4_1_1Track-members.html @@ -95,21 +95,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::Track)edash_packager::media::mp4::Trackvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::Trackvirtual
BoxType() const override (defined in edash_packager::media::mp4::Track)edash_packager::media::mp4::Trackvirtual
ComputeSize() overrideedash_packager::media::mp4::Trackvirtual
edit (defined in edash_packager::media::mp4::Track)edash_packager::media::mp4::Track
header (defined in edash_packager::media::mp4::Track)edash_packager::media::mp4::Track
media (defined in edash_packager::media::mp4::Track)edash_packager::media::mp4::Track
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::Trackvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::Trackvirtual
Track() (defined in edash_packager::media::mp4::Track)edash_packager::media::mp4::Track
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~Track() (defined in edash_packager::media::mp4::Track)edash_packager::media::mp4::Trackvirtual
~Track() override (defined in edash_packager::media::mp4::Track)edash_packager::media::mp4::Track
diff --git a/docs/de/d6e/language__utils_8h_source.html b/docs/de/d6e/language__utils_8h_source.html index 6861bd1acb..9dc5e0a01e 100644 --- a/docs/de/d6e/language__utils_8h_source.html +++ b/docs/de/d6e/language__utils_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Funtions used by MpdBuilder class to generate an MPD file.
8 
9 #ifndef MPD_BASE_LANGUAGE_UTILS_H_
-
10 #define MPD_BASE_LANGUAGE_UTILS_H_
-
11 
+
10 #define MPD_BASE_LANGUAGE_UTILS_H_
+
11 
12 #include <string>
13 
14 namespace edash_packager {
@@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d70/http__key__fetcher_8cc_source.html b/docs/de/d70/http__key__fetcher_8cc_source.html index ca16e63f22..d58361930a 100644 --- a/docs/de/d70/http__key__fetcher_8cc_source.html +++ b/docs/de/d70/http__key__fetcher_8cc_source.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
75 
76 HttpKeyFetcher::~HttpKeyFetcher() {}
77 
-
78 Status HttpKeyFetcher::FetchKeys(const std::string& url,
+
78 Status HttpKeyFetcher::FetchKeys(const std::string& url,
79  const std::string& request,
80  std::string* response) {
81  return Post(url, request, response);
@@ -232,11 +232,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual Status Get(const std::string &url, std::string *response)
virtual Status Post(const std::string &url, const std::string &data, std::string *response)
-
virtual Status FetchKeys(const std::string &url, const std::string &request, std::string *response) OVERRIDE
+
Status FetchKeys(const std::string &url, const std::string &request, std::string *response) override
diff --git a/docs/de/d77/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html b/docs/de/d77/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html index 22b80ebb5c..ac97717ed7 100644 --- a/docs/de/d77/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html +++ b/docs/de/d77/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html @@ -99,19 +99,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); kContainerUnknown enum value (defined in edash_packager::media::MuxerListener)edash_packager::media::MuxerListener kContainerWebM enum value (defined in edash_packager::media::MuxerListener)edash_packager::media::MuxerListener MuxerListener() (defined in edash_packager::media::MuxerListener)edash_packager::media::MuxerListenerinlineprotected - OnEncryptionInfoReady(bool is_initial_encryption_info, const std::string &content_protection_uuid, const std::string &content_protection_name_version, const std::vector< uint8_t > &default_key_id, const std::vector< uint8_t > &pssh) OVERRIDE (defined in edash_packager::media::VodMediaInfoDumpMuxerListener)edash_packager::media::VodMediaInfoDumpMuxerListenervirtual - OnMediaEnd(bool has_init_range, uint64_t init_range_start, uint64_t init_range_end, bool has_index_range, uint64_t index_range_start, uint64_t index_range_end, float duration_seconds, uint64_t file_size) OVERRIDE (defined in edash_packager::media::VodMediaInfoDumpMuxerListener)edash_packager::media::VodMediaInfoDumpMuxerListenervirtual - OnMediaStart(const MuxerOptions &muxer_options, const StreamInfo &stream_info, uint32_t time_scale, ContainerType container_type) OVERRIDE (defined in edash_packager::media::VodMediaInfoDumpMuxerListener)edash_packager::media::VodMediaInfoDumpMuxerListenervirtual - OnNewSegment(uint64_t start_time, uint64_t duration, uint64_t segment_file_size) OVERRIDE (defined in edash_packager::media::VodMediaInfoDumpMuxerListener)edash_packager::media::VodMediaInfoDumpMuxerListenervirtual - OnSampleDurationReady(uint32_t sample_duration) OVERRIDEedash_packager::media::VodMediaInfoDumpMuxerListenervirtual + OnEncryptionInfoReady(bool is_initial_encryption_info, const std::string &content_protection_uuid, const std::string &content_protection_name_version, const std::vector< uint8_t > &default_key_id, const std::vector< uint8_t > &pssh) override (defined in edash_packager::media::VodMediaInfoDumpMuxerListener)edash_packager::media::VodMediaInfoDumpMuxerListenervirtual + OnMediaEnd(bool has_init_range, uint64_t init_range_start, uint64_t init_range_end, bool has_index_range, uint64_t index_range_start, uint64_t index_range_end, float duration_seconds, uint64_t file_size) override (defined in edash_packager::media::VodMediaInfoDumpMuxerListener)edash_packager::media::VodMediaInfoDumpMuxerListenervirtual + OnMediaStart(const MuxerOptions &muxer_options, const StreamInfo &stream_info, uint32_t time_scale, ContainerType container_type) override (defined in edash_packager::media::VodMediaInfoDumpMuxerListener)edash_packager::media::VodMediaInfoDumpMuxerListenervirtual + OnNewSegment(uint64_t start_time, uint64_t duration, uint64_t segment_file_size) override (defined in edash_packager::media::VodMediaInfoDumpMuxerListener)edash_packager::media::VodMediaInfoDumpMuxerListenervirtual + OnSampleDurationReady(uint32_t sample_duration) overrideedash_packager::media::VodMediaInfoDumpMuxerListenervirtual SetContentProtectionSchemeIdUri(const std::string &scheme_id_uri)edash_packager::media::VodMediaInfoDumpMuxerListener VodMediaInfoDumpMuxerListener(const std::string &output_file_name) (defined in edash_packager::media::VodMediaInfoDumpMuxerListener)edash_packager::media::VodMediaInfoDumpMuxerListener ~MuxerListener() (defined in edash_packager::media::MuxerListener)edash_packager::media::MuxerListenerinlinevirtual - ~VodMediaInfoDumpMuxerListener() (defined in edash_packager::media::VodMediaInfoDumpMuxerListener)edash_packager::media::VodMediaInfoDumpMuxerListenervirtual + ~VodMediaInfoDumpMuxerListener() override (defined in edash_packager::media::VodMediaInfoDumpMuxerListener)edash_packager::media::VodMediaInfoDumpMuxerListener diff --git a/docs/de/d77/webm__content__encodings__client_8cc_source.html b/docs/de/d77/webm__content__encodings__client_8cc_source.html new file mode 100644 index 0000000000..8499d30ae5 --- /dev/null +++ b/docs/de/d77/webm__content__encodings__client_8cc_source.html @@ -0,0 +1,365 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_content_encodings_client.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_content_encodings_client.cc
+
+
+
1 // Copyright 2014 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 #include "packager/media/formats/webm/webm_content_encodings_client.h"
+
6 
+
7 #include "packager/base/logging.h"
+
8 #include "packager/base/stl_util.h"
+
9 #include "packager/media/formats/webm/webm_constants.h"
+
10 
+
11 namespace edash_packager {
+
12 namespace media {
+
13 
+
14 WebMContentEncodingsClient::WebMContentEncodingsClient()
+
15  : content_encryption_encountered_(false), content_encodings_ready_(false) {}
+
16 
+
17 WebMContentEncodingsClient::~WebMContentEncodingsClient() {
+
18  STLDeleteElements(&content_encodings_);
+
19 }
+
20 
+
21 const ContentEncodings& WebMContentEncodingsClient::content_encodings() const {
+
22  DCHECK(content_encodings_ready_);
+
23  return content_encodings_;
+
24 }
+
25 
+
26 WebMParserClient* WebMContentEncodingsClient::OnListStart(int id) {
+
27  if (id == kWebMIdContentEncodings) {
+
28  DCHECK(!cur_content_encoding_.get());
+
29  DCHECK(!content_encryption_encountered_);
+
30  STLDeleteElements(&content_encodings_);
+
31  content_encodings_ready_ = false;
+
32  return this;
+
33  }
+
34 
+
35  if (id == kWebMIdContentEncoding) {
+
36  DCHECK(!cur_content_encoding_.get());
+
37  DCHECK(!content_encryption_encountered_);
+
38  cur_content_encoding_.reset(new ContentEncoding());
+
39  return this;
+
40  }
+
41 
+
42  if (id == kWebMIdContentEncryption) {
+
43  DCHECK(cur_content_encoding_.get());
+
44  if (content_encryption_encountered_) {
+
45  LOG(ERROR) << "Unexpected multiple ContentEncryption.";
+
46  return NULL;
+
47  }
+
48  content_encryption_encountered_ = true;
+
49  return this;
+
50  }
+
51 
+
52  if (id == kWebMIdContentEncAESSettings) {
+
53  DCHECK(cur_content_encoding_.get());
+
54  return this;
+
55  }
+
56 
+
57  // This should not happen if WebMListParser is working properly.
+
58  DCHECK(false);
+
59  return NULL;
+
60 }
+
61 
+
62 // Mandatory occurrence restriction is checked in this function. Multiple
+
63 // occurrence restriction is checked in OnUInt and OnBinary.
+
64 bool WebMContentEncodingsClient::OnListEnd(int id) {
+
65  if (id == kWebMIdContentEncodings) {
+
66  // ContentEncoding element is mandatory. Check this!
+
67  if (content_encodings_.empty()) {
+
68  LOG(ERROR) << "Missing ContentEncoding.";
+
69  return false;
+
70  }
+
71  content_encodings_ready_ = true;
+
72  return true;
+
73  }
+
74 
+
75  if (id == kWebMIdContentEncoding) {
+
76  DCHECK(cur_content_encoding_.get());
+
77 
+
78  //
+
79  // Specify default values to missing mandatory elements.
+
80  //
+
81 
+
82  if (cur_content_encoding_->order() == ContentEncoding::kOrderInvalid) {
+
83  // Default value of encoding order is 0, which should only be used on the
+
84  // first ContentEncoding.
+
85  if (!content_encodings_.empty()) {
+
86  LOG(ERROR) << "Missing ContentEncodingOrder.";
+
87  return false;
+
88  }
+
89  cur_content_encoding_->set_order(0);
+
90  }
+
91 
+
92  if (cur_content_encoding_->scope() == ContentEncoding::kScopeInvalid)
+
93  cur_content_encoding_->set_scope(ContentEncoding::kScopeAllFrameContents);
+
94 
+
95  if (cur_content_encoding_->type() == ContentEncoding::kTypeInvalid)
+
96  cur_content_encoding_->set_type(ContentEncoding::kTypeCompression);
+
97 
+
98  // Check for elements valid in spec but not supported for now.
+
99  if (cur_content_encoding_->type() == ContentEncoding::kTypeCompression) {
+
100  LOG(ERROR) << "ContentCompression not supported.";
+
101  return false;
+
102  }
+
103 
+
104  // Enforce mandatory elements without default values.
+
105  DCHECK(cur_content_encoding_->type() == ContentEncoding::kTypeEncryption);
+
106  if (!content_encryption_encountered_) {
+
107  LOG(ERROR) << "ContentEncodingType is encryption but"
+
108  << " ContentEncryption is missing.";
+
109  return false;
+
110  }
+
111 
+
112  content_encodings_.push_back(cur_content_encoding_.release());
+
113  content_encryption_encountered_ = false;
+
114  return true;
+
115  }
+
116 
+
117  if (id == kWebMIdContentEncryption) {
+
118  DCHECK(cur_content_encoding_.get());
+
119  // Specify default value for elements that are not present.
+
120  if (cur_content_encoding_->encryption_algo() ==
+
121  ContentEncoding::kEncAlgoInvalid) {
+
122  cur_content_encoding_->set_encryption_algo(
+
123  ContentEncoding::kEncAlgoNotEncrypted);
+
124  }
+
125  return true;
+
126  }
+
127 
+
128  if (id == kWebMIdContentEncAESSettings) {
+
129  if (cur_content_encoding_->cipher_mode() ==
+
130  ContentEncoding::kCipherModeInvalid)
+
131  cur_content_encoding_->set_cipher_mode(ContentEncoding::kCipherModeCtr);
+
132  return true;
+
133  }
+
134 
+
135  // This should not happen if WebMListParser is working properly.
+
136  DCHECK(false);
+
137  return false;
+
138 }
+
139 
+
140 // Multiple occurrence restriction and range are checked in this function.
+
141 // Mandatory occurrence restriction is checked in OnListEnd.
+
142 bool WebMContentEncodingsClient::OnUInt(int id, int64_t val) {
+
143  DCHECK(cur_content_encoding_.get());
+
144 
+
145  if (id == kWebMIdContentEncodingOrder) {
+
146  if (cur_content_encoding_->order() != ContentEncoding::kOrderInvalid) {
+
147  LOG(ERROR) << "Unexpected multiple ContentEncodingOrder.";
+
148  return false;
+
149  }
+
150 
+
151  if (val != static_cast<int64_t>(content_encodings_.size())) {
+
152  // According to the spec, encoding order starts with 0 and counts upwards.
+
153  LOG(ERROR) << "Unexpected ContentEncodingOrder.";
+
154  return false;
+
155  }
+
156 
+
157  cur_content_encoding_->set_order(val);
+
158  return true;
+
159  }
+
160 
+
161  if (id == kWebMIdContentEncodingScope) {
+
162  if (cur_content_encoding_->scope() != ContentEncoding::kScopeInvalid) {
+
163  LOG(ERROR) << "Unexpected multiple ContentEncodingScope.";
+
164  return false;
+
165  }
+
166 
+
167  if (val == ContentEncoding::kScopeInvalid ||
+
168  val > ContentEncoding::kScopeMax) {
+
169  LOG(ERROR) << "Unexpected ContentEncodingScope.";
+
170  return false;
+
171  }
+
172 
+
173  if (val & ContentEncoding::kScopeNextContentEncodingData) {
+
174  LOG(ERROR) << "Encoded next ContentEncoding is not "
+
175  "supported.";
+
176  return false;
+
177  }
+
178 
+
179  cur_content_encoding_->set_scope(static_cast<ContentEncoding::Scope>(val));
+
180  return true;
+
181  }
+
182 
+
183  if (id == kWebMIdContentEncodingType) {
+
184  if (cur_content_encoding_->type() != ContentEncoding::kTypeInvalid) {
+
185  LOG(ERROR) << "Unexpected multiple ContentEncodingType.";
+
186  return false;
+
187  }
+
188 
+
189  if (val == ContentEncoding::kTypeCompression) {
+
190  LOG(ERROR) << "ContentCompression not supported.";
+
191  return false;
+
192  }
+
193 
+
194  if (val != ContentEncoding::kTypeEncryption) {
+
195  LOG(ERROR) << "Unexpected ContentEncodingType " << val << ".";
+
196  return false;
+
197  }
+
198 
+
199  cur_content_encoding_->set_type(static_cast<ContentEncoding::Type>(val));
+
200  return true;
+
201  }
+
202 
+
203  if (id == kWebMIdContentEncAlgo) {
+
204  if (cur_content_encoding_->encryption_algo() !=
+
205  ContentEncoding::kEncAlgoInvalid) {
+
206  LOG(ERROR) << "Unexpected multiple ContentEncAlgo.";
+
207  return false;
+
208  }
+
209 
+
210  if (val < ContentEncoding::kEncAlgoNotEncrypted ||
+
211  val > ContentEncoding::kEncAlgoAes) {
+
212  LOG(ERROR) << "Unexpected ContentEncAlgo " << val << ".";
+
213  return false;
+
214  }
+
215 
+
216  cur_content_encoding_->set_encryption_algo(
+
217  static_cast<ContentEncoding::EncryptionAlgo>(val));
+
218  return true;
+
219  }
+
220 
+
221  if (id == kWebMIdAESSettingsCipherMode) {
+
222  if (cur_content_encoding_->cipher_mode() !=
+
223  ContentEncoding::kCipherModeInvalid) {
+
224  LOG(ERROR) << "Unexpected multiple AESSettingsCipherMode.";
+
225  return false;
+
226  }
+
227 
+
228  if (val != ContentEncoding::kCipherModeCtr) {
+
229  LOG(ERROR) << "Unexpected AESSettingsCipherMode " << val << ".";
+
230  return false;
+
231  }
+
232 
+
233  cur_content_encoding_->set_cipher_mode(
+
234  static_cast<ContentEncoding::CipherMode>(val));
+
235  return true;
+
236  }
+
237 
+
238  // This should not happen if WebMListParser is working properly.
+
239  DCHECK(false);
+
240  return false;
+
241 }
+
242 
+
243 // Multiple occurrence restriction is checked in this function. Mandatory
+
244 // restriction is checked in OnListEnd.
+
245 bool WebMContentEncodingsClient::OnBinary(int id,
+
246  const uint8_t* data,
+
247  int size) {
+
248  DCHECK(cur_content_encoding_.get());
+
249  DCHECK(data);
+
250  DCHECK_GT(size, 0);
+
251 
+
252  if (id == kWebMIdContentEncKeyID) {
+
253  if (!cur_content_encoding_->encryption_key_id().empty()) {
+
254  LOG(ERROR) << "Unexpected multiple ContentEncKeyID";
+
255  return false;
+
256  }
+
257  cur_content_encoding_->SetEncryptionKeyId(data, size);
+
258  return true;
+
259  }
+
260 
+
261  // This should not happen if WebMListParser is working properly.
+
262  DCHECK(false);
+
263  return false;
+
264 }
+
265 
+
266 } // namespace media
+
267 } // namespace edash_packager
+
+ + + + diff --git a/docs/de/d7b/mp4__media__parser_8h_source.html b/docs/de/d7b/mp4__media__parser_8h_source.html index 8aa10b35b6..e2321901c8 100644 --- a/docs/de/d7b/mp4__media__parser_8h_source.html +++ b/docs/de/d7b/mp4__media__parser_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_MP4_MEDIA_PARSER_H_
-
8 #define MEDIA_FORMATS_MP4_MP4_MEDIA_PARSER_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_MP4_MEDIA_PARSER_H_
+
9 
10 #include <stdint.h>
11 
12 #include <map>
@@ -125,13 +125,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
36 class MP4MediaParser : public MediaParser {
37  public:
-
39  virtual ~MP4MediaParser();
+
39  ~MP4MediaParser() override;
40 
-
43  virtual void Init(const InitCB& init_cb,
-
44  const NewSampleCB& new_sample_cb,
-
45  KeySource* decryption_key_source) OVERRIDE;
-
46  virtual void Flush() OVERRIDE;
-
47  virtual bool Parse(const uint8_t* buf, int size) OVERRIDE;
+
43  void Init(const InitCB& init_cb,
+
44  const NewSampleCB& new_sample_cb,
+
45  KeySource* decryption_key_source) override;
+
46  void Flush() override;
+
47  bool Parse(const uint8_t* buf, int size) override;
49 
56  bool LoadMoov(const std::string& file_path);
57 
@@ -202,22 +202,22 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
122 
123 #endif // MEDIA_FORMATS_MP4_MP4_MEDIA_PARSER_H_
- +
bool Parse(const uint8_t *buf, int size) override
-
virtual bool Parse(const uint8_t *buf, int size) OVERRIDE
+
bool LoadMoov(const std::string &file_path)
base::Callback< bool(uint32_t track_id, const scoped_refptr< MediaSample > &media_sample)> NewSampleCB
Definition: media_parser.h:43
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:29
base::Callback< void(const std::vector< scoped_refptr< StreamInfo > > &stream_info)> InitCB
Definition: media_parser.h:34
+
void Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) override
-
virtual void Init(const InitCB &init_cb, const NewSampleCB &new_sample_cb, KeySource *decryption_key_source) OVERRIDE
Class for reading MP4 boxes.
Definition: box_reader.h:24
diff --git a/docs/de/d83/box__definitions__comparison_8h_source.html b/docs/de/d83/box__definitions__comparison_8h_source.html index 87d671d2d0..25448ceb05 100644 --- a/docs/de/d83/box__definitions__comparison_8h_source.html +++ b/docs/de/d83/box__definitions__comparison_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Overloads operator== for mp4 boxes, mainly used for testing.
8 
9 #ifndef MEDIA_FORMATS_MP4_BOX_DEFINITIONS_COMPARISON_H_
-
10 #define MEDIA_FORMATS_MP4_BOX_DEFINITIONS_COMPARISON_H_
-
11 
+
10 #define MEDIA_FORMATS_MP4_BOX_DEFINITIONS_COMPARISON_H_
+
11 
12 #include "packager/media/formats/mp4/box_definitions.h"
13 
14 namespace edash_packager {
@@ -457,7 +457,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d87/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo-members.html b/docs/de/d87/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo-members.html index b8580d3a33..7565d1309f 100644 --- a/docs/de/d87/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo-members.html +++ b/docs/de/d87/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d8b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes.html b/docs/de/d8b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes.html index ebd857e5f3..f3548149be 100644 --- a/docs/de/d8b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes.html +++ b/docs/de/d8b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes.html @@ -108,20 +108,20 @@ Public Member Functions  TsSectionPes (scoped_ptr< EsParser > es_parser)   - -virtual bool Parse (bool payload_unit_start_indicator, const uint8_t *buf, int size) OVERRIDE -  - -virtual void Flush () OVERRIDE -  - -virtual void Reset () OVERRIDE -  + +bool Parse (bool payload_unit_start_indicator, const uint8_t *buf, int size) override +  + +void Flush () override +  + +void Reset () override +  - diff --git a/docs/de/d8d/structedash__packager_1_1media_1_1H264SliceHeader.html b/docs/de/d8d/structedash__packager_1_1media_1_1H264SliceHeader.html index 98dbdd8bf7..08ac847414 100644 --- a/docs/de/d8d/structedash__packager_1_1media_1_1H264SliceHeader.html +++ b/docs/de/d8d/structedash__packager_1_1media_1_1H264SliceHeader.html @@ -98,11 +98,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

Additional Inherited Members

- Public Types inherited from edash_packager::media::mp2t::TsSection
enum  SpecialPid {
+
enum  SpecialPid {
  kPidPat = 0x0, kPidCat = 0x1, kPidTsdt = 0x2, @@ -142,7 +142,7 @@ Additional Inherited Members
- -

Public Types

enum  { kRefListSize = 32, +
enum  { kRefListSize = 32, kRefListModSize = kRefListSize }
 
enum  Type {
+
enum  Type {
  kPSlice = 0, kBSlice = 1, kISlice = 2, @@ -276,7 +276,7 @@ int 
slice_beta_offset_div2 diff --git a/docs/de/d93/classedash__packager_1_1media_1_1ByteQueue-members.html b/docs/de/d93/classedash__packager_1_1media_1_1ByteQueue-members.html index f6f02748b0..b25d104647 100644 --- a/docs/de/d93/classedash__packager_1_1media_1_1ByteQueue-members.html +++ b/docs/de/d93/classedash__packager_1_1media_1_1ByteQueue-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/de/d98/classedash__packager_1_1media_1_1WebMAudioClient.html b/docs/de/d98/classedash__packager_1_1media_1_1WebMAudioClient.html new file mode 100644 index 0000000000..0ab2b30ac7 --- /dev/null +++ b/docs/de/d98/classedash__packager_1_1media_1_1WebMAudioClient.html @@ -0,0 +1,150 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::WebMAudioClient Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::WebMAudioClient Class Reference
+
+
+
+Inheritance diagram for edash_packager::media::WebMAudioClient:
+
+
+ + +edash_packager::media::WebMParserClient + +
+ + + + + + + + + + + + + + + +

+Public Member Functions

+void Reset ()
 
+scoped_refptr< AudioStreamInfoGetAudioStreamInfo (int64_t track_num, const std::string &codec_id, const std::vector< uint8_t > &codec_private, const std::string &language, bool is_encrypted)
 
- Public Member Functions inherited from edash_packager::media::WebMParserClient
+virtual WebMParserClientOnListStart (int id)
 
+virtual bool OnListEnd (int id)
 
+virtual bool OnBinary (int id, const uint8_t *data, int size)
 
+virtual bool OnString (int id, const std::string &str)
 
+ + + + +

+Additional Inherited Members

- Protected Member Functions inherited from edash_packager::media::WebMParserClient
DISALLOW_COPY_AND_ASSIGN (WebMParserClient)
 
+

Detailed Description

+
+

Definition at line 20 of file webm_audio_client.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/de/d98/classedash__packager_1_1media_1_1WebMAudioClient.png b/docs/de/d98/classedash__packager_1_1media_1_1WebMAudioClient.png new file mode 100644 index 0000000000..7381da1087 Binary files /dev/null and b/docs/de/d98/classedash__packager_1_1media_1_1WebMAudioClient.png differ diff --git a/docs/de/d9d/classedash__packager_1_1media_1_1TracksBuilder-members.html b/docs/de/d9d/classedash__packager_1_1media_1_1TracksBuilder-members.html new file mode 100644 index 0000000000..6a8ded9182 --- /dev/null +++ b/docs/de/d9d/classedash__packager_1_1media_1_1TracksBuilder-members.html @@ -0,0 +1,111 @@ + + + + + + +DASH Media Packaging SDK: Member List + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
edash_packager::media::TracksBuilder Member List
+
+
+ +

This is the complete list of members for edash_packager::media::TracksBuilder, including all inherited members.

+ + + + + + + + +
AddAudioTrack(int track_num, uint64_t track_uid, const std::string &codec_id, const std::string &name, const std::string &language, int default_duration, int audio_channels, double audio_sampling_frequency) (defined in edash_packager::media::TracksBuilder)edash_packager::media::TracksBuilder
AddTextTrack(int track_num, uint64_t track_uid, const std::string &codec_id, const std::string &name, const std::string &language) (defined in edash_packager::media::TracksBuilder)edash_packager::media::TracksBuilder
AddVideoTrack(int track_num, uint64_t track_uid, const std::string &codec_id, const std::string &name, const std::string &language, int default_duration, int video_pixel_width, int video_pixel_height) (defined in edash_packager::media::TracksBuilder)edash_packager::media::TracksBuilder
Finish() (defined in edash_packager::media::TracksBuilder)edash_packager::media::TracksBuilder
TracksBuilder(bool allow_invalid_values) (defined in edash_packager::media::TracksBuilder)edash_packager::media::TracksBuilderexplicit
TracksBuilder() (defined in edash_packager::media::TracksBuilder)edash_packager::media::TracksBuilder
~TracksBuilder() (defined in edash_packager::media::TracksBuilder)edash_packager::media::TracksBuilder
+ + + + diff --git a/docs/de/d9e/classedash__packager_1_1media_1_1TextTrack.html b/docs/de/d9e/classedash__packager_1_1media_1_1TextTrack.html index b4a0735cfe..413e7fc556 100644 --- a/docs/de/d9e/classedash__packager_1_1media_1_1TextTrack.html +++ b/docs/de/d9e/classedash__packager_1_1media_1_1TextTrack.html @@ -109,7 +109,7 @@ virtual void addWebVTTCue< diff --git a/docs/de/da0/classedash__packager_1_1media_1_1AesCbcCtsDecryptor-members.html b/docs/de/da0/classedash__packager_1_1media_1_1AesCbcCtsDecryptor-members.html index 217476a53c..1af3c5833e 100644 --- a/docs/de/da0/classedash__packager_1_1media_1_1AesCbcCtsDecryptor-members.html +++ b/docs/de/da0/classedash__packager_1_1media_1_1AesCbcCtsDecryptor-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/da5/classedash__packager_1_1media_1_1WebMParserClient.html b/docs/de/da5/classedash__packager_1_1media_1_1WebMParserClient.html new file mode 100644 index 0000000000..471943840a --- /dev/null +++ b/docs/de/da5/classedash__packager_1_1media_1_1WebMParserClient.html @@ -0,0 +1,154 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::WebMParserClient Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::WebMParserClient Class Reference
+
+
+
+Inheritance diagram for edash_packager::media::WebMParserClient:
+
+
+ + +edash_packager::media::WebMAudioClient +edash_packager::media::WebMClusterParser +edash_packager::media::WebMContentEncodingsClient +edash_packager::media::WebMInfoParser +edash_packager::media::WebMTracksParser +edash_packager::media::WebMVideoClient + +
+ + + + + + + + + + + + + + +

+Public Member Functions

+virtual WebMParserClientOnListStart (int id)
 
+virtual bool OnListEnd (int id)
 
+virtual bool OnUInt (int id, int64_t val)
 
+virtual bool OnFloat (int id, double val)
 
+virtual bool OnBinary (int id, const uint8_t *data, int size)
 
+virtual bool OnString (int id, const std::string &str)
 
+ + + +

+Protected Member Functions

DISALLOW_COPY_AND_ASSIGN (WebMParserClient)
 
+

Detailed Description

+
+

Definition at line 30 of file webm_parser.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/de/da5/classedash__packager_1_1media_1_1WebMParserClient.png b/docs/de/da5/classedash__packager_1_1media_1_1WebMParserClient.png new file mode 100644 index 0000000000..f35aad099b Binary files /dev/null and b/docs/de/da5/classedash__packager_1_1media_1_1WebMParserClient.png differ diff --git a/docs/de/da6/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html b/docs/de/da6/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html index 1d6102308b..323653ab4b 100644 --- a/docs/de/da6/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html +++ b/docs/de/da6/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/da7/classedash__packager_1_1media_1_1AudioTimestampHelper-members.html b/docs/de/da7/classedash__packager_1_1media_1_1AudioTimestampHelper-members.html index c808adeb84..8996081d86 100644 --- a/docs/de/da7/classedash__packager_1_1media_1_1AudioTimestampHelper-members.html +++ b/docs/de/da7/classedash__packager_1_1media_1_1AudioTimestampHelper-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dab/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun-members.html b/docs/de/dab/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun-members.html index 9d8a59fcd7..69ba90f4ca 100644 --- a/docs/de/dab/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun-members.html +++ b/docs/de/dab/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun-members.html @@ -95,8 +95,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + @@ -118,12 +118,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::TrackFragmentRun)edash_packager::media::mp4::TrackFragmentRunvirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::TrackFragmentRunvirtual
BoxType() const override (defined in edash_packager::media::mp4::TrackFragmentRun)edash_packager::media::mp4::TrackFragmentRunvirtual
ComputeSize() overrideedash_packager::media::mp4::TrackFragmentRunvirtual
data_offset (defined in edash_packager::media::mp4::TrackFragmentRun)edash_packager::media::mp4::TrackFragmentRun
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
kSampleFlagsPresentMask enum value (defined in edash_packager::media::mp4::TrackFragmentRun)edash_packager::media::mp4::TrackFragmentRun
kSampleSizePresentMask enum value (defined in edash_packager::media::mp4::TrackFragmentRun)edash_packager::media::mp4::TrackFragmentRun
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::TrackFragmentRunvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::TrackFragmentRunvirtual
sample_composition_time_offsets (defined in edash_packager::media::mp4::TrackFragmentRun)edash_packager::media::mp4::TrackFragmentRun
sample_count (defined in edash_packager::media::mp4::TrackFragmentRun)edash_packager::media::mp4::TrackFragmentRun
sample_durations (defined in edash_packager::media::mp4::TrackFragmentRun)edash_packager::media::mp4::TrackFragmentRun
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~TrackFragmentRun() (defined in edash_packager::media::mp4::TrackFragmentRun)edash_packager::media::mp4::TrackFragmentRunvirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~TrackFragmentRun() override (defined in edash_packager::media::mp4::TrackFragmentRun)edash_packager::media::mp4::TrackFragmentRun
diff --git a/docs/de/dad/validate__flag_8cc_source.html b/docs/de/dad/validate__flag_8cc_source.html index 6e9238f0a3..5c4d060d56 100644 --- a/docs/de/dad/validate__flag_8cc_source.html +++ b/docs/de/dad/validate__flag_8cc_source.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/db1/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor.html b/docs/de/db1/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor.html index 2267c2cffe..490e770973 100644 --- a/docs/de/db1/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor.html +++ b/docs/de/db1/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor.html @@ -166,7 +166,7 @@ void set_decoder_specific_ diff --git a/docs/de/db4/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo-members.html b/docs/de/db4/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo-members.html index 0612b2f04d..56f5df54b4 100644 --- a/docs/de/db4/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo-members.html +++ b/docs/de/db4/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo-members.html @@ -95,19 +95,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::SchemeInfo)edash_packager::media::mp4::SchemeInfovirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::SchemeInfovirtual
BoxType() const override (defined in edash_packager::media::mp4::SchemeInfo)edash_packager::media::mp4::SchemeInfovirtual
ComputeSize() overrideedash_packager::media::mp4::SchemeInfovirtual
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::SchemeInfovirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::SchemeInfovirtual
SchemeInfo() (defined in edash_packager::media::mp4::SchemeInfo)edash_packager::media::mp4::SchemeInfo
track_encryption (defined in edash_packager::media::mp4::SchemeInfo)edash_packager::media::mp4::SchemeInfo
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~SchemeInfo() (defined in edash_packager::media::mp4::SchemeInfo)edash_packager::media::mp4::SchemeInfovirtual
~SchemeInfo() override (defined in edash_packager::media::mp4::SchemeInfo)edash_packager::media::mp4::SchemeInfo
diff --git a/docs/de/dc1/demuxer_8h_source.html b/docs/de/dc1/demuxer_8h_source.html index 905632cb28..f2dedccd59 100644 --- a/docs/de/dc1/demuxer_8h_source.html +++ b/docs/de/dc1/demuxer_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_DEMUXER_H_
-
8 #define MEDIA_BASE_DEMUXER_H_
-
9 
+
8 #define MEDIA_BASE_DEMUXER_H_
+
9 
10 #include <vector>
11 
12 #include "packager/base/memory/ref_counted.h"
@@ -171,7 +171,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html b/docs/de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html index 79f723e7ab..af9704daf4 100644 --- a/docs/de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html +++ b/docs/de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::SampleAuxiliaryInformationOf - - - - - - - + + + + + + + @@ -145,7 +145,7 @@ Additional Inherited Members

Definition at line 59 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -161,7 +161,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -180,7 +180,7 @@ Additional Inherited Members
diff --git a/docs/de/dcc/mock__mpd__notifier_8cc_source.html b/docs/de/dcc/mock__mpd__notifier_8cc_source.html index f24d313672..9260f14a9e 100644 --- a/docs/de/dcc/mock__mpd__notifier_8cc_source.html +++ b/docs/de/dcc/mock__mpd__notifier_8cc_source.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dcf/file__closer_8h_source.html b/docs/de/dcf/file__closer_8h_source.html index 3e16a6b35e..fe277b80c3 100644 --- a/docs/de/dcf/file__closer_8h_source.html +++ b/docs/de/dcf/file__closer_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FILE_FILE_CLOSER_H_
-
8 #define MEDIA_FILE_FILE_CLOSER_H_
-
9 
+
8 #define MEDIA_FILE_FILE_CLOSER_H_
+
9 
10 #include "packager/base/logging.h"
11 #include "packager/media/file/file.h"
12 
@@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dd4/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer-members.html b/docs/de/dd4/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer-members.html index 563cdd2674..32e9284492 100644 --- a/docs/de/dd4/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer-members.html +++ b/docs/de/dd4/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer-members.html @@ -111,12 +111,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); SetMuxerListener(scoped_ptr< MuxerListener > muxer_listener)edash_packager::media::Muxer SetProgressListener(scoped_ptr< ProgressListener > progress_listener)edash_packager::media::Muxer streams() const (defined in edash_packager::media::Muxer)edash_packager::media::Muxerinline - ~MP4Muxer() (defined in edash_packager::media::mp4::MP4Muxer)edash_packager::media::mp4::MP4Muxervirtual + ~MP4Muxer() override (defined in edash_packager::media::mp4::MP4Muxer)edash_packager::media::mp4::MP4Muxer ~Muxer() (defined in edash_packager::media::Muxer)edash_packager::media::Muxervirtual diff --git a/docs/de/dd6/content__protection__element_8h_source.html b/docs/de/dd6/content__protection__element_8h_source.html index d382a719e6..1efe4066e7 100644 --- a/docs/de/dd6/content__protection__element_8h_source.html +++ b/docs/de/dd6/content__protection__element_8h_source.html @@ -99,8 +99,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 // http://goo.gl/UrsSlF
11 
12 #ifndef MPD_BASE_CONTENT_PROTECTION_ELEMENT_H_
-
13 #define MPD_BASE_CONTENT_PROTECTION_ELEMENT_H_
-
14 
+
13 #define MPD_BASE_CONTENT_PROTECTION_ELEMENT_H_
+
14 
15 #include <map>
16 #include <string>
17 #include <vector>
@@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dd6/muxer__listener__test__helper_8cc_source.html b/docs/de/dd6/muxer__listener__test__helper_8cc_source.html index 8d4779763c..06bb50a95d 100644 --- a/docs/de/dd6/muxer__listener__test__helper_8cc_source.html +++ b/docs/de/dd6/muxer__listener__test__helper_8cc_source.html @@ -210,7 +210,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html b/docs/de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html index c25b5cd5d9..7d140df0b9 100644 --- a/docs/de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html +++ b/docs/de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::Media: - - - - - - - + + + + + + + @@ -143,7 +143,7 @@ Additional Inherited Members

Definition at line 387 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -159,7 +159,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -178,7 +178,7 @@ Additional Inherited Members
diff --git a/docs/de/de9/classedash__packager_1_1media_1_1LibcryptoThreading.html b/docs/de/de9/classedash__packager_1_1media_1_1LibcryptoThreading.html index ad98e818d7..8f47474d0f 100644 --- a/docs/de/de9/classedash__packager_1_1media_1_1LibcryptoThreading.html +++ b/docs/de/de9/classedash__packager_1_1media_1_1LibcryptoThreading.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dfa/muxer__listener_8h_source.html b/docs/de/dfa/muxer__listener_8h_source.html index 481f50281a..dd9146adee 100644 --- a/docs/de/dfa/muxer__listener_8h_source.html +++ b/docs/de/dfa/muxer__listener_8h_source.html @@ -98,8 +98,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 // TODO(rkuroiwa): Document using doxygen style comments.
10 
11 #ifndef MEDIA_EVENT_MUXER_LISTENER_H_
-
12 #define MEDIA_EVENT_MUXER_LISTENER_H_
-
13 
+
12 #define MEDIA_EVENT_MUXER_LISTENER_H_
+
13 
14 #include <stdint.h>
15 
16 #include <string>
@@ -197,14 +197,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
114 } // namespace edash_packager
115 
116 #endif // MEDIA_EVENT_MUXER_LISTENER_H_
-
Abstract class holds stream information.
Definition: stream_info.h:25
+
Abstract class holds stream information.
Definition: stream_info.h:26
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
virtual void OnSampleDurationReady(uint32_t sample_duration)=0
diff --git a/docs/de/dfb/structedash__packager_1_1media_1_1H264ModificationOfPicNum-members.html b/docs/de/dfb/structedash__packager_1_1media_1_1H264ModificationOfPicNum-members.html index 1e528716ce..7bf45ed936 100644 --- a/docs/de/dfb/structedash__packager_1_1media_1_1H264ModificationOfPicNum-members.html +++ b/docs/de/dfb/structedash__packager_1_1media_1_1H264ModificationOfPicNum-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dfc/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264-members.html b/docs/de/dfc/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264-members.html index 69a8ca09c0..7dc8b8f7a0 100644 --- a/docs/de/dfc/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264-members.html +++ b/docs/de/dfc/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264-members.html @@ -96,17 +96,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); EmitSampleCB typedef (defined in edash_packager::media::mp2t::EsParser)edash_packager::media::mp2t::EsParser EsParser(uint32_t pid) (defined in edash_packager::media::mp2t::EsParser)edash_packager::media::mp2t::EsParserinline EsParserH264(uint32_t pid, const NewStreamInfoCB &new_stream_info_cb, const EmitSampleCB &emit_sample_cb) (defined in edash_packager::media::mp2t::EsParserH264)edash_packager::media::mp2t::EsParserH264 - Flush() OVERRIDE (defined in edash_packager::media::mp2t::EsParserH264)edash_packager::media::mp2t::EsParserH264virtual + Flush() override (defined in edash_packager::media::mp2t::EsParserH264)edash_packager::media::mp2t::EsParserH264virtual NewStreamInfoCB typedef (defined in edash_packager::media::mp2t::EsParser)edash_packager::media::mp2t::EsParser - Parse(const uint8_t *buf, int size, int64_t pts, int64_t dts) OVERRIDE (defined in edash_packager::media::mp2t::EsParserH264)edash_packager::media::mp2t::EsParserH264virtual + Parse(const uint8_t *buf, int size, int64_t pts, int64_t dts) override (defined in edash_packager::media::mp2t::EsParserH264)edash_packager::media::mp2t::EsParserH264virtual pid() (defined in edash_packager::media::mp2t::EsParser)edash_packager::media::mp2t::EsParserinline - Reset() OVERRIDE (defined in edash_packager::media::mp2t::EsParserH264)edash_packager::media::mp2t::EsParserH264virtual + Reset() override (defined in edash_packager::media::mp2t::EsParserH264)edash_packager::media::mp2t::EsParserH264virtual ~EsParser() (defined in edash_packager::media::mp2t::EsParser)edash_packager::media::mp2t::EsParserinlinevirtual - ~EsParserH264() (defined in edash_packager::media::mp2t::EsParserH264)edash_packager::media::mp2t::EsParserH264virtual + ~EsParserH264() override (defined in edash_packager::media::mp2t::EsParserH264)edash_packager::media::mp2t::EsParserH264 diff --git a/docs/de/dfd/stream__info_8cc_source.html b/docs/de/dfd/stream__info_8cc_source.html index b66aec9321..2e49a897cc 100644 --- a/docs/de/dfd/stream__info_8cc_source.html +++ b/docs/de/dfd/stream__info_8cc_source.html @@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d1a/offset__byte__queue_8cc_source.html b/docs/df/d1a/offset__byte__queue_8cc_source.html index 98217a200b..1ca7b39dad 100644 --- a/docs/df/d1a/offset__byte__queue_8cc_source.html +++ b/docs/df/d1a/offset__byte__queue_8cc_source.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d1c/composition__offset__iterator_8h_source.html b/docs/df/d1c/composition__offset__iterator_8h_source.html index 47ec35cc50..3b444bf3fb 100644 --- a/docs/df/d1c/composition__offset__iterator_8h_source.html +++ b/docs/df/d1c/composition__offset__iterator_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_FORMATS_MP4_COMPOSITION_OFFSET_ITERATOR_H_
-
8 #define MEDIA_FORMATS_MP4_COMPOSITION_OFFSET_ITERATOR_H_
-
9 
+
8 #define MEDIA_FORMATS_MP4_COMPOSITION_OFFSET_ITERATOR_H_
+
9 
10 #include <stdint.h>
11 
12 #include <vector>
@@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d1f/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator-members.html b/docs/df/d1f/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator-members.html index d8c1bfd9c7..04f6c9df09 100644 --- a/docs/df/d1f/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator-members.html +++ b/docs/df/d1f/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator-members.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html b/docs/df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html index 1f423219d4..737b873ca7 100644 --- a/docs/df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html +++ b/docs/df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html @@ -108,7 +108,7 @@ Inheritance diagram for edash_packager::media::mp4::TrackFragmentRun: -

Public Types

enum  TrackFragmentFlagsMasks {
+
enum  TrackFragmentFlagsMasks {
  kDataOffsetPresentMask = 0x000001, kFirstSampleFlagsPresentMask = 0x000004, kSampleDurationPresentMask = 0x000100, @@ -122,15 +122,15 @@ Public Types
- - - - - - - + + + + + + + @@ -175,7 +175,7 @@ Additional Inherited Members

Definition at line 477 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -191,7 +191,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -210,7 +210,7 @@ Additional Inherited Members
diff --git a/docs/df/d22/validate__flag_8h_source.html b/docs/df/d22/validate__flag_8h_source.html index c193988e5d..095620f43f 100644 --- a/docs/df/d22/validate__flag_8h_source.html +++ b/docs/df/d22/validate__flag_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Flag validation help functions.
8 
9 #ifndef APP_VALIDATE_FLAG_H_
-
10 #define APP_VALIDATE_FLAG_H_
-
11 
+
10 #define APP_VALIDATE_FLAG_H_
+
11 
12 #include <string>
13 
14 namespace edash_packager {
@@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d30/classedash__packager_1_1media_1_1ContentEncoding.html b/docs/df/d30/classedash__packager_1_1media_1_1ContentEncoding.html new file mode 100644 index 0000000000..f412e5f31e --- /dev/null +++ b/docs/df/d30/classedash__packager_1_1media_1_1ContentEncoding.html @@ -0,0 +1,193 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::ContentEncoding Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::ContentEncoding Class Reference
+
+
+ + + + + + + + + + +

+Public Types

enum  Scope {
+  kScopeInvalid = 0, +kScopeAllFrameContents = 1, +kScopeTrackPrivateData = 2, +kScopeNextContentEncodingData = 4, +
+  kScopeMax = 7 +
+ }
 
enum  Type { kTypeInvalid = -1, +kTypeCompression = 0, +kTypeEncryption = 1 + }
 
enum  EncryptionAlgo {
+  kEncAlgoInvalid = -1, +kEncAlgoNotEncrypted = 0, +kEncAlgoDes = 1, +kEncAlgo3des = 2, +
+  kEncAlgoTwofish = 3, +kEncAlgoBlowfish = 4, +kEncAlgoAes = 5 +
+ }
 
enum  CipherMode { kCipherModeInvalid = 0, +kCipherModeCtr = 1 + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+int64_t order () const
 
+void set_order (int64_t order)
 
+Scope scope () const
 
+void set_scope (Scope scope)
 
+Type type () const
 
+void set_type (Type type)
 
+EncryptionAlgo encryption_algo () const
 
+void set_encryption_algo (EncryptionAlgo encryption_algo)
 
+const std::string & encryption_key_id () const
 
+void SetEncryptionKeyId (const uint8_t *encryption_key_id, int size)
 
+CipherMode cipher_mode () const
 
+void set_cipher_mode (CipherMode mode)
 
+ + + +

+Static Public Attributes

+static const int kOrderInvalid = -1
 
+

Detailed Description

+
+

Definition at line 16 of file webm_content_encodings.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/df/d31/muxer__util_8cc_source.html b/docs/df/d31/muxer__util_8cc_source.html index 42479c3739..ec8e85cd46 100644 --- a/docs/df/d31/muxer__util_8cc_source.html +++ b/docs/df/d31/muxer__util_8cc_source.html @@ -247,7 +247,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d32/audio__stream__info_8h_source.html b/docs/df/d32/audio__stream__info_8h_source.html index 36b9174f3d..9c4d63cd16 100644 --- a/docs/df/d32/audio__stream__info_8h_source.html +++ b/docs/df/d32/audio__stream__info_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MEDIA_BASE_AUDIO_STREAM_INFO_H_
-
8 #define MEDIA_BASE_AUDIO_STREAM_INFO_H_
-
9 
+
8 #define MEDIA_BASE_AUDIO_STREAM_INFO_H_
+
9 
10 #include <vector>
11 
12 #include "packager/media/base/stream_info.h"
@@ -137,8 +137,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
50  size_t extra_data_size,
51  bool is_encrypted);
52 
-
55  virtual bool IsValidConfig() const OVERRIDE;
-
56  virtual std::string ToString() const OVERRIDE;
+
55  bool IsValidConfig() const override;
+
56  std::string ToString() const override;
58 
59  AudioCodec codec() const { return codec_; }
60  uint8_t sample_bits() const { return sample_bits_; }
@@ -158,7 +158,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
76  uint8_t audio_object_type);
77 
78  private:
-
79  virtual ~AudioStreamInfo();
+
79  ~AudioStreamInfo() override;
80 
81  AudioCodec codec_;
82  uint8_t sample_bits_;
@@ -175,15 +175,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
93 
94 #endif // MEDIA_BASE_AUDIO_STREAM_INFO_H_
Holds audio stream information.
-
Abstract class holds stream information.
Definition: stream_info.h:25
+
std::string ToString() const override
+
Abstract class holds stream information.
Definition: stream_info.h:26
AudioStreamInfo(int track_id, uint32_t time_scale, uint64_t duration, AudioCodec codec, const std::string &codec_string, const std::string &language, uint8_t sample_bits, uint8_t num_channels, uint32_t sampling_frequency, const uint8_t *extra_data, size_t extra_data_size, bool is_encrypted)
Construct an initialized audio stream info object.
-
virtual std::string ToString() const OVERRIDE
-
virtual bool IsValidConfig() const OVERRIDE
+
static std::string GetCodecString(AudioCodec codec, uint8_t audio_object_type)
diff --git a/docs/df/d3c/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html b/docs/df/d3c/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html index 469b8591de..f7b74531e5 100644 --- a/docs/df/d3c/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html +++ b/docs/df/d3c/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - - + + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::TrackFragmentDecodeTime)edash_packager::media::mp4::TrackFragmentDecodeTimevirtual
ComputeSize() OVERRIDEedash_packager::media::mp4::TrackFragmentDecodeTimevirtual
BoxType() const override (defined in edash_packager::media::mp4::TrackFragmentDecodeTime)edash_packager::media::mp4::TrackFragmentDecodeTimevirtual
ComputeSize() overrideedash_packager::media::mp4::TrackFragmentDecodeTimevirtual
decode_time (defined in edash_packager::media::mp4::TrackFragmentDecodeTime)edash_packager::media::mp4::TrackFragmentDecodeTime
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::TrackFragmentDecodeTimevirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::TrackFragmentDecodeTimevirtual
TrackFragmentDecodeTime() (defined in edash_packager::media::mp4::TrackFragmentDecodeTime)edash_packager::media::mp4::TrackFragmentDecodeTime
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~TrackFragmentDecodeTime() (defined in edash_packager::media::mp4::TrackFragmentDecodeTime)edash_packager::media::mp4::TrackFragmentDecodeTimevirtual
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
~TrackFragmentDecodeTime() override (defined in edash_packager::media::mp4::TrackFragmentDecodeTime)edash_packager::media::mp4::TrackFragmentDecodeTime
diff --git a/docs/df/d40/classedash__packager_1_1media_1_1Cluster.html b/docs/df/d40/classedash__packager_1_1media_1_1Cluster.html new file mode 100644 index 0000000000..a11691a102 --- /dev/null +++ b/docs/df/d40/classedash__packager_1_1media_1_1Cluster.html @@ -0,0 +1,124 @@ + + + + + + +DASH Media Packaging SDK: edash_packager::media::Cluster Class Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
edash_packager::media::Cluster Class Reference
+
+
+ + + + + + + + +

+Public Member Functions

Cluster (scoped_ptr< uint8_t[]> data, int size)
 
+const uint8_t * data () const
 
+int size () const
 
+

Detailed Description

+
+

Definition at line 14 of file cluster_builder.h.

+

The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/df/d43/classedash__packager_1_1media_1_1mp4_1_1Segmenter-members.html b/docs/df/d43/classedash__packager_1_1media_1_1mp4_1_1Segmenter-members.html index f5d352ef7c..c19ae0bc41 100644 --- a/docs/df/d43/classedash__packager_1_1media_1_1mp4_1_1Segmenter-members.html +++ b/docs/df/d43/classedash__packager_1_1media_1_1mp4_1_1Segmenter-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d5b/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts-members.html b/docs/df/d5b/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts-members.html index 9435dd19cd..61fc7955d9 100644 --- a/docs/df/d5b/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts-members.html +++ b/docs/df/d5b/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts-members.html @@ -96,17 +96,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); EmitSampleCB typedef (defined in edash_packager::media::mp2t::EsParser)edash_packager::media::mp2t::EsParser EsParser(uint32_t pid) (defined in edash_packager::media::mp2t::EsParser)edash_packager::media::mp2t::EsParserinline EsParserAdts(uint32_t pid, const NewStreamInfoCB &new_stream_info_cb, const EmitSampleCB &emit_sample_cb, bool sbr_in_mimetype) (defined in edash_packager::media::mp2t::EsParserAdts)edash_packager::media::mp2t::EsParserAdts - Flush() OVERRIDE (defined in edash_packager::media::mp2t::EsParserAdts)edash_packager::media::mp2t::EsParserAdtsvirtual + Flush() override (defined in edash_packager::media::mp2t::EsParserAdts)edash_packager::media::mp2t::EsParserAdtsvirtual NewStreamInfoCB typedef (defined in edash_packager::media::mp2t::EsParser)edash_packager::media::mp2t::EsParser - Parse(const uint8_t *buf, int size, int64_t pts, int64_t dts) OVERRIDE (defined in edash_packager::media::mp2t::EsParserAdts)edash_packager::media::mp2t::EsParserAdtsvirtual + Parse(const uint8_t *buf, int size, int64_t pts, int64_t dts) override (defined in edash_packager::media::mp2t::EsParserAdts)edash_packager::media::mp2t::EsParserAdtsvirtual pid() (defined in edash_packager::media::mp2t::EsParser)edash_packager::media::mp2t::EsParserinline - Reset() OVERRIDE (defined in edash_packager::media::mp2t::EsParserAdts)edash_packager::media::mp2t::EsParserAdtsvirtual + Reset() override (defined in edash_packager::media::mp2t::EsParserAdts)edash_packager::media::mp2t::EsParserAdtsvirtual ~EsParser() (defined in edash_packager::media::mp2t::EsParser)edash_packager::media::mp2t::EsParserinlinevirtual - ~EsParserAdts() (defined in edash_packager::media::mp2t::EsParserAdts)edash_packager::media::mp2t::EsParserAdtsvirtual + ~EsParserAdts() override (defined in edash_packager::media::mp2t::EsParserAdts)edash_packager::media::mp2t::EsParserAdts diff --git a/docs/df/d5e/classedash__packager_1_1media_1_1mp2t_1_1TsSection-members.html b/docs/df/d5e/classedash__packager_1_1media_1_1mp2t_1_1TsSection-members.html index a9c2ed18fb..8911495a4a 100644 --- a/docs/df/d5e/classedash__packager_1_1media_1_1mp2t_1_1TsSection-members.html +++ b/docs/df/d5e/classedash__packager_1_1media_1_1mp2t_1_1TsSection-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html b/docs/df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html index 67c0111c73..50eda1f937 100644 --- a/docs/df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html +++ b/docs/df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::AudioSampleEntry: - - - - - - - + + + + + + + @@ -155,7 +155,7 @@ Additional Inherited Members

Definition at line 220 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -171,7 +171,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -190,7 +190,7 @@ Additional Inherited Members
diff --git a/docs/df/d67/opus__packet__builder_8h_source.html b/docs/df/d67/opus__packet__builder_8h_source.html new file mode 100644 index 0000000000..002db579a3 --- /dev/null +++ b/docs/df/d67/opus__packet__builder_8h_source.html @@ -0,0 +1,144 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/opus_packet_builder.h Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
opus_packet_builder.h
+
+
+
1 // Copyright (c) 2015 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_FORMATS_WEBM_OPUS_PACKET_BUILDER_H_
+
6 #define MEDIA_FORMATS_WEBM_OPUS_PACKET_BUILDER_H_
+
7 
+
8 #include <vector>
+
9 
+
10 #include "packager/base/memory/scoped_ptr.h"
+
11 #include "packager/base/memory/scoped_vector.h"
+
12 
+
13 namespace edash_packager {
+
14 namespace media {
+
15 
+
16 // From Opus RFC. See https://tools.ietf.org/html/rfc6716#page-14
+
17 enum OpusConstants {
+
18  kNumPossibleOpusConfigs = 32,
+
19  kMinOpusPacketFrameCount = 1,
+
20  kMaxOpusPacketFrameCount = 48
+
21 };
+
22 
+
23 class OpusPacket {
+
24  public:
+
25  OpusPacket(uint8_t config, uint8_t frame_count, bool is_VBR);
+
26  ~OpusPacket();
+
27 
+
28  const uint8_t* data() const;
+
29  int size() const;
+
30  double duration_ms() const;
+
31 
+
32  private:
+
33  std::vector<uint8_t> data_;
+
34  double duration_ms_;
+
35 
+
36  DISALLOW_COPY_AND_ASSIGN(OpusPacket);
+
37 };
+
38 
+
39 // Builds an exhaustive collection of Opus packet configurations.
+
40 ScopedVector<OpusPacket> BuildAllOpusPackets();
+
41 
+
42 } // namespace media
+
43 } // namespace edash_packager
+
44 
+
45 #endif // MEDIA_FORMATS_WEBM_OPUS_PACKET_BUILDER_H_
+ +
+ + + + diff --git a/docs/df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html b/docs/df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html index 4dde53c8fa..90c7d63b84 100644 --- a/docs/df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html +++ b/docs/df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html @@ -106,15 +106,15 @@ Inheritance diagram for edash_packager::media::mp4::VideoSampleEntry: - - - - - - - + + + + + + + @@ -155,7 +155,7 @@ Additional Inherited Members

Definition at line 198 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -171,7 +171,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -190,7 +190,7 @@ Additional Inherited Members
diff --git a/docs/df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html b/docs/df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html index 817b40f1cb..c0aa5963ad 100644 --- a/docs/df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html +++ b/docs/df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::SampleToChunk: - - - - - - - + + + + + + + @@ -145,7 +145,7 @@ Additional Inherited Members

Definition at line 275 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -161,7 +161,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -180,7 +180,7 @@ Additional Inherited Members
diff --git a/docs/df/d7d/webm__info__parser_8cc_source.html b/docs/df/d7d/webm__info__parser_8cc_source.html new file mode 100644 index 0000000000..f7c91e600a --- /dev/null +++ b/docs/df/d7d/webm__info__parser_8cc_source.html @@ -0,0 +1,203 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm/webm_info_parser.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
webm_info_parser.cc
+
+
+
1 // Copyright 2014 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 #include "packager/media/formats/webm/webm_info_parser.h"
+
6 
+
7 #include "packager/base/logging.h"
+
8 #include "packager/media/formats/webm/webm_constants.h"
+
9 
+
10 namespace edash_packager {
+
11 namespace media {
+
12 
+
13 // Default timecode scale if the TimecodeScale element is
+
14 // not specified in the INFO element.
+
15 static const int kWebMDefaultTimecodeScale = 1000000;
+
16 
+
17 WebMInfoParser::WebMInfoParser()
+
18  : timecode_scale_(-1),
+
19  duration_(-1) {
+
20 }
+
21 
+
22 WebMInfoParser::~WebMInfoParser() {}
+
23 
+
24 int WebMInfoParser::Parse(const uint8_t* buf, int size) {
+
25  timecode_scale_ = -1;
+
26  duration_ = -1;
+
27 
+
28  WebMListParser parser(kWebMIdInfo, this);
+
29  int result = parser.Parse(buf, size);
+
30 
+
31  if (result <= 0)
+
32  return result;
+
33 
+
34  // For now we do all or nothing parsing.
+
35  return parser.IsParsingComplete() ? result : 0;
+
36 }
+
37 
+
38 WebMParserClient* WebMInfoParser::OnListStart(int id) { return this; }
+
39 
+
40 bool WebMInfoParser::OnListEnd(int id) {
+
41  if (id == kWebMIdInfo && timecode_scale_ == -1) {
+
42  // Set timecode scale to default value if it isn't present in
+
43  // the Info element.
+
44  timecode_scale_ = kWebMDefaultTimecodeScale;
+
45  }
+
46  return true;
+
47 }
+
48 
+
49 bool WebMInfoParser::OnUInt(int id, int64_t val) {
+
50  if (id != kWebMIdTimecodeScale)
+
51  return true;
+
52 
+
53  if (timecode_scale_ != -1) {
+
54  DVLOG(1) << "Multiple values for id " << std::hex << id << " specified";
+
55  return false;
+
56  }
+
57 
+
58  timecode_scale_ = val;
+
59  return true;
+
60 }
+
61 
+
62 bool WebMInfoParser::OnFloat(int id, double val) {
+
63  if (id != kWebMIdDuration) {
+
64  DVLOG(1) << "Unexpected float for id" << std::hex << id;
+
65  return false;
+
66  }
+
67 
+
68  if (duration_ != -1) {
+
69  DVLOG(1) << "Multiple values for duration.";
+
70  return false;
+
71  }
+
72 
+
73  duration_ = val;
+
74  return true;
+
75 }
+
76 
+
77 bool WebMInfoParser::OnBinary(int id, const uint8_t* data, int size) {
+
78  if (id == kWebMIdDateUTC) {
+
79  if (size != 8)
+
80  return false;
+
81 
+
82  int64_t date_in_nanoseconds = 0;
+
83  for (int i = 0; i < size; ++i)
+
84  date_in_nanoseconds = (date_in_nanoseconds << 8) | data[i];
+
85 
+
86  base::Time::Exploded exploded_epoch;
+
87  exploded_epoch.year = 2001;
+
88  exploded_epoch.month = 1;
+
89  exploded_epoch.day_of_month = 1;
+
90  exploded_epoch.hour = 0;
+
91  exploded_epoch.minute = 0;
+
92  exploded_epoch.second = 0;
+
93  exploded_epoch.millisecond = 0;
+
94  date_utc_ = base::Time::FromUTCExploded(exploded_epoch) +
+
95  base::TimeDelta::FromMicroseconds(date_in_nanoseconds / 1000);
+
96  }
+
97  return true;
+
98 }
+
99 
+
100 bool WebMInfoParser::OnString(int id, const std::string& str) {
+
101  return true;
+
102 }
+
103 
+
104 } // namespace media
+
105 } // namespace edash_packager
+
+ + + + diff --git a/docs/df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html b/docs/df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html index d843e03156..a9a2058281 100644 --- a/docs/df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html +++ b/docs/df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html @@ -107,15 +107,15 @@ Inheritance diagram for edash_packager::media::mp4::MovieFragmentHeader: - - - - - - - + + + + + + + @@ -145,7 +145,7 @@ Additional Inherited Members

Definition at line 441 of file box_definitions.h.

Member Function Documentation

- +

Public Member Functions

-virtual bool ReadWrite (BoxBuffer *buffer) OVERRIDE
 Read/write the mp4 box from/to BoxBuffer.
 
-virtual FourCC BoxType () const OVERRIDE
 
virtual uint32_t ComputeSize () OVERRIDE
 
+bool ReadWrite (BoxBuffer *buffer) override
 Read/write the mp4 box from/to BoxBuffer.
 
+FourCC BoxType () const override
 
uint32_t ComputeSize () override
 
- Public Member Functions inherited from edash_packager::media::mp4::Box
bool Parse (BoxReader *reader)
 
@@ -161,7 +161,7 @@ Additional Inherited Members
-virtual +overridevirtual
@@ -180,7 +180,7 @@ Additional Inherited Members
diff --git a/docs/df/d96/xml__node_8cc_source.html b/docs/df/d96/xml__node_8cc_source.html index 39a797e4bc..f703975bbd 100644 --- a/docs/df/d96/xml__node_8cc_source.html +++ b/docs/df/d96/xml__node_8cc_source.html @@ -469,7 +469,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/da9/classedash__packager_1_1media_1_1mp4_1_1Fragmenter-members.html b/docs/df/da9/classedash__packager_1_1media_1_1mp4_1_1Fragmenter-members.html index dfe505c283..90107cbe9b 100644 --- a/docs/df/da9/classedash__packager_1_1media_1_1mp4_1_1Fragmenter-members.html +++ b/docs/df/da9/classedash__packager_1_1media_1_1mp4_1_1Fragmenter-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dad/decrypt__config_8h_source.html b/docs/df/dad/decrypt__config_8h_source.html index 61b360f20d..eba8cfb484 100644 --- a/docs/df/dad/decrypt__config_8h_source.html +++ b/docs/df/dad/decrypt__config_8h_source.html @@ -92,8 +92,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_BASE_DECRYPT_CONFIG_H_
-
6 #define MEDIA_BASE_DECRYPT_CONFIG_H_
-
7 
+
6 #define MEDIA_BASE_DECRYPT_CONFIG_H_
+
7 
8 #include <stdint.h>
9 
10 #include <string>
@@ -151,7 +151,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/db4/classedash__packager_1_1media_1_1BitReader.html b/docs/df/db4/classedash__packager_1_1media_1_1BitReader.html index 3932543e9c..9f01210c73 100644 --- a/docs/df/db4/classedash__packager_1_1media_1_1BitReader.html +++ b/docs/df/db4/classedash__packager_1_1media_1_1BitReader.html @@ -251,7 +251,7 @@ template<typename T > diff --git a/docs/df/dbc/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html b/docs/df/dbc/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html index 35b0536e51..164efe87c6 100644 --- a/docs/df/dbc/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html +++ b/docs/df/dbc/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html @@ -95,23 +95,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - + - + - - + +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::ChunkLargeOffset)edash_packager::media::mp4::ChunkLargeOffsetvirtual
BoxType() const override (defined in edash_packager::media::mp4::ChunkLargeOffset)edash_packager::media::mp4::ChunkLargeOffsetvirtual
ChunkLargeOffset() (defined in edash_packager::media::mp4::ChunkLargeOffset)edash_packager::media::mp4::ChunkLargeOffset
ComputeSize() OVERRIDEedash_packager::media::mp4::ChunkLargeOffsetvirtual
ComputeSize() overrideedash_packager::media::mp4::ChunkLargeOffsetvirtual
flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
offsets (defined in edash_packager::media::mp4::ChunkLargeOffset)edash_packager::media::mp4::ChunkLargeOffset
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::ChunkLargeOffsetvirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::ChunkLargeOffsetvirtual
version (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~ChunkLargeOffset() (defined in edash_packager::media::mp4::ChunkLargeOffset)edash_packager::media::mp4::ChunkLargeOffsetvirtual
~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual
~ChunkLargeOffset() override (defined in edash_packager::media::mp4::ChunkLargeOffset)edash_packager::media::mp4::ChunkLargeOffset
~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox
diff --git a/docs/df/dd1/structedash__packager_1_1media_1_1mp4_1_1FileType-members.html b/docs/df/dd1/structedash__packager_1_1media_1_1mp4_1_1FileType-members.html index 4ce4b3a8ed..792274367e 100644 --- a/docs/df/dd1/structedash__packager_1_1media_1_1mp4_1_1FileType-members.html +++ b/docs/df/dd1/structedash__packager_1_1media_1_1mp4_1_1FileType-members.html @@ -95,21 +95,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); - + - + - + - +
atom_sizeedash_packager::media::mp4::Boxprotected
Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box
BoxType() const OVERRIDE (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileTypevirtual
BoxType() const override (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileTypevirtual
compatible_brands (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileType
ComputeSize() OVERRIDEedash_packager::media::mp4::FileTypevirtual
ComputeSize() overrideedash_packager::media::mp4::FileTypevirtual
FileType() (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileType
major_brand (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileType
minor_version (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileType
Parse(BoxReader *reader)edash_packager::media::mp4::Box
ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::FileTypevirtual
ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::FileTypevirtual
Write(BufferWriter *writer)edash_packager::media::mp4::Box
~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual
~FileType() (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileTypevirtual
~FileType() override (defined in edash_packager::media::mp4::FileType)edash_packager::media::mp4::FileType
diff --git a/docs/df/dd2/classedash__packager_1_1MockMpdBuilder-members.html b/docs/df/dd2/classedash__packager_1_1MockMpdBuilder-members.html index 95eb182253..2630c8d4c8 100644 --- a/docs/df/dd2/classedash__packager_1_1MockMpdBuilder-members.html +++ b/docs/df/dd2/classedash__packager_1_1MockMpdBuilder-members.html @@ -106,12 +106,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); ToString(std::string *output)edash_packager::MpdBuildervirtual type() const edash_packager::MpdBuilderinline WriteMpdToFile(media::File *output_file)edash_packager::MpdBuilder - ~MockMpdBuilder() OVERRIDE (defined in edash_packager::MockMpdBuilder)edash_packager::MockMpdBuildervirtual + ~MockMpdBuilder() override (defined in edash_packager::MockMpdBuilder)edash_packager::MockMpdBuilder ~MpdBuilder() (defined in edash_packager::MpdBuilder)edash_packager::MpdBuildervirtual diff --git a/docs/df/dd2/mpd__utils_8h_source.html b/docs/df/dd2/mpd__utils_8h_source.html index f6c8bf6c72..155657c14f 100644 --- a/docs/df/dd2/mpd__utils_8h_source.html +++ b/docs/df/dd2/mpd__utils_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 // Funtions used by MpdBuilder class to generate an MPD file.
8 
9 #ifndef MPD_BASE_MPD_UTILS_H_
-
10 #define MPD_BASE_MPD_UTILS_H_
-
11 
+
10 #define MPD_BASE_MPD_UTILS_H_
+
11 
12 #include <libxml/tree.h>
13 
14 #include <list>
@@ -165,7 +165,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dde/classedash__packager_1_1media_1_1BufferWriter.html b/docs/df/dde/classedash__packager_1_1media_1_1BufferWriter.html index 6ab558d489..eaa2963483 100644 --- a/docs/df/dde/classedash__packager_1_1media_1_1BufferWriter.html +++ b/docs/df/dde/classedash__packager_1_1media_1_1BufferWriter.html @@ -301,7 +301,7 @@ void AppendInt (int64_ diff --git a/docs/df/dde/ts__section__psi_8cc_source.html b/docs/df/dde/ts__section__psi_8cc_source.html index 8f967075ca..4ba0b60045 100644 --- a/docs/df/dde/ts__section__psi_8cc_source.html +++ b/docs/df/dde/ts__section__psi_8cc_source.html @@ -228,7 +228,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/de3/structedash__packager_1_1media_1_1mp4_1_1TrackHeader-members.html b/docs/df/de3/structedash__packager_1_1media_1_1mp4_1_1TrackHeader-members.html index 47a7b59f36..0d6f4ea6ee 100644 --- a/docs/df/de3/structedash__packager_1_1media_1_1mp4_1_1TrackHeader-members.html +++ b/docs/df/de3/structedash__packager_1_1media_1_1mp4_1_1TrackHeader-members.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); alternate_group (defined in edash_packager::media::mp4::TrackHeader)edash_packager::media::mp4::TrackHeader atom_sizeedash_packager::media::mp4::Boxprotected Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Box - BoxType() const OVERRIDE (defined in edash_packager::media::mp4::TrackHeader)edash_packager::media::mp4::TrackHeadervirtual - ComputeSize() OVERRIDEedash_packager::media::mp4::TrackHeadervirtual + BoxType() const override (defined in edash_packager::media::mp4::TrackHeader)edash_packager::media::mp4::TrackHeadervirtual + ComputeSize() overrideedash_packager::media::mp4::TrackHeadervirtual creation_time (defined in edash_packager::media::mp4::TrackHeader)edash_packager::media::mp4::TrackHeader duration (defined in edash_packager::media::mp4::TrackHeader)edash_packager::media::mp4::TrackHeader flags (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); layer (defined in edash_packager::media::mp4::TrackHeader)edash_packager::media::mp4::TrackHeader modification_time (defined in edash_packager::media::mp4::TrackHeader)edash_packager::media::mp4::TrackHeader Parse(BoxReader *reader)edash_packager::media::mp4::Box - ReadWrite(BoxBuffer *buffer) OVERRIDEedash_packager::media::mp4::TrackHeadervirtual + ReadWrite(BoxBuffer *buffer) overrideedash_packager::media::mp4::TrackHeadervirtual track_id (defined in edash_packager::media::mp4::TrackHeader)edash_packager::media::mp4::TrackHeader TrackHeader() (defined in edash_packager::media::mp4::TrackHeader)edash_packager::media::mp4::TrackHeader TrackHeaderFlags enum name (defined in edash_packager::media::mp4::TrackHeader)edash_packager::media::mp4::TrackHeader @@ -118,12 +118,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); width (defined in edash_packager::media::mp4::TrackHeader)edash_packager::media::mp4::TrackHeader Write(BufferWriter *writer)edash_packager::media::mp4::Box ~Box() (defined in edash_packager::media::mp4::Box)edash_packager::media::mp4::Boxvirtual - ~FullBox() (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBoxvirtual - ~TrackHeader() (defined in edash_packager::media::mp4::TrackHeader)edash_packager::media::mp4::TrackHeadervirtual + ~FullBox() override (defined in edash_packager::media::mp4::FullBox)edash_packager::media::mp4::FullBox + ~TrackHeader() override (defined in edash_packager::media::mp4::TrackHeader)edash_packager::media::mp4::TrackHeader diff --git a/docs/df/de3/text__track__config_8cc_source.html b/docs/df/de3/text__track__config_8cc_source.html new file mode 100644 index 0000000000..bbf8bb1576 --- /dev/null +++ b/docs/df/de3/text__track__config_8cc_source.html @@ -0,0 +1,130 @@ + + + + + + +DASH Media Packaging SDK: media/base/text_track_config.cc Source File + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
text_track_config.cc
+
+
+
1 // Copyright 2013 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 #include "packager/media/base/text_track_config.h"
+
6 
+
7 namespace edash_packager {
+
8 namespace media {
+
9 
+
10 TextTrackConfig::TextTrackConfig()
+
11  : kind_(kTextNone) {
+
12 }
+
13 
+
14 TextTrackConfig::TextTrackConfig(TextKind kind,
+
15  const std::string& label,
+
16  const std::string& language,
+
17  const std::string& id)
+
18  : kind_(kind),
+
19  label_(label),
+
20  language_(language),
+
21  id_(id) {
+
22 }
+
23 
+
24 bool TextTrackConfig::Matches(const TextTrackConfig& config) const {
+
25  return config.kind() == kind_ &&
+
26  config.label() == label_ &&
+
27  config.language() == language_ &&
+
28  config.id() == id_;
+
29 }
+
30 
+
31 } // namespace media
+
32 } // namespace edash_packager
+
+ + + + diff --git a/docs/df/de7/classedash__packager_1_1media_1_1MuxerListener.html b/docs/df/de7/classedash__packager_1_1media_1_1MuxerListener.html index 6d78a0fe8e..25bc5beca3 100644 --- a/docs/df/de7/classedash__packager_1_1media_1_1MuxerListener.html +++ b/docs/df/de7/classedash__packager_1_1media_1_1MuxerListener.html @@ -109,7 +109,7 @@ Inheritance diagram for edash_packager::media::MuxerListener: -

Public Types

enum  ContainerType { kContainerUnknown = 0, +
enum  ContainerType { kContainerUnknown = 0, kContainerMp4, kContainerMpeg2ts, kContainerWebM @@ -167,7 +167,7 @@ virtual void OnNewSegment< -

Implemented in edash_packager::media::MpdNotifyMuxerListener, and edash_packager::media::VodMediaInfoDumpMuxerListener.

+

Implemented in edash_packager::media::MpdNotifyMuxerListener, and edash_packager::media::VodMediaInfoDumpMuxerListener.

@@ -177,7 +177,7 @@ virtual void 
OnNewSegment< diff --git a/docs/df/de9/segment__info_8h_source.html b/docs/df/de9/segment__info_8h_source.html index 1d485d7aed..5da2c2639b 100644 --- a/docs/df/de9/segment__info_8h_source.html +++ b/docs/df/de9/segment__info_8h_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef MPD_BASE_SEGMENT_INFO_H_
-
8 #define MPD_BASE_SEGMENT_INFO_H_
-
9 
+
8 #define MPD_BASE_SEGMENT_INFO_H_
+
9 
10 namespace edash_packager {
14 struct SegmentInfo {
15  uint64_t start_time;
@@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dec/classedash__packager_1_1media_1_1MuxerListener-members.html b/docs/df/dec/classedash__packager_1_1media_1_1MuxerListener-members.html index 56a3015b41..5b215e4dfd 100644 --- a/docs/df/dec/classedash__packager_1_1media_1_1MuxerListener-members.html +++ b/docs/df/dec/classedash__packager_1_1media_1_1MuxerListener-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/df/dfa/classedash__packager_1_1media_1_1RsaPublicKey-members.html b/docs/df/dfa/classedash__packager_1_1media_1_1RsaPublicKey-members.html index 5257745b33..97f9bc69c8 100644 --- a/docs/df/dfa/classedash__packager_1_1media_1_1RsaPublicKey-members.html +++ b/docs/df/dfa/classedash__packager_1_1media_1_1RsaPublicKey-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dir_2618cd273dea54f184e42d7a562af818.html b/docs/dir_2618cd273dea54f184e42d7a562af818.html index 7e82639fa2..b831ff1cca 100644 --- a/docs/dir_2618cd273dea54f184e42d7a562af818.html +++ b/docs/dir_2618cd273dea54f184e42d7a562af818.html @@ -140,7 +140,7 @@ Files diff --git a/docs/dir_279fd47bebb21302c25cfb685e84c359.html b/docs/dir_279fd47bebb21302c25cfb685e84c359.html index 972d57958f..e22b37415b 100644 --- a/docs/dir_279fd47bebb21302c25cfb685e84c359.html +++ b/docs/dir_279fd47bebb21302c25cfb685e84c359.html @@ -113,7 +113,7 @@ Files diff --git a/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html b/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html index c371e7eb92..7ea36da618 100644 --- a/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html +++ b/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html @@ -99,7 +99,7 @@ Directories diff --git a/docs/dir_3e9291fd7a18fdecc763294cb2628910.html b/docs/dir_3e9291fd7a18fdecc763294cb2628910.html index ea5146edba..fd37fc12ae 100644 --- a/docs/dir_3e9291fd7a18fdecc763294cb2628910.html +++ b/docs/dir_3e9291fd7a18fdecc763294cb2628910.html @@ -173,7 +173,7 @@ Files diff --git a/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html b/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html index cdd3d2bd24..bb13afbb7b 100644 --- a/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html +++ b/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_5039d854a18988ed1f1dbebc120ffbf7.html b/docs/dir_5039d854a18988ed1f1dbebc120ffbf7.html new file mode 100644 index 0000000000..beaf78f94a --- /dev/null +++ b/docs/dir_5039d854a18988ed1f1dbebc120ffbf7.html @@ -0,0 +1,157 @@ + + + + + + +DASH Media Packaging SDK: media/formats/webm Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
DASH Media Packaging SDK +
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
webm Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  cluster_builder.cc [code]
 
file  cluster_builder.h [code]
 
file  opus_packet_builder.cc [code]
 
file  opus_packet_builder.h [code]
 
file  tracks_builder.cc [code]
 
file  tracks_builder.h [code]
 
file  webm_audio_client.cc [code]
 
file  webm_audio_client.h [code]
 
file  webm_cluster_parser.cc [code]
 
file  webm_cluster_parser.h [code]
 
file  webm_constants.cc [code]
 
file  webm_constants.h [code]
 
file  webm_content_encodings.cc [code]
 
file  webm_content_encodings.h [code]
 
file  webm_content_encodings_client.cc [code]
 
file  webm_content_encodings_client.h [code]
 
file  webm_crypto_helpers.cc [code]
 
file  webm_crypto_helpers.h [code]
 
file  webm_info_parser.cc [code]
 
file  webm_info_parser.h [code]
 
file  webm_parser.cc [code]
 
file  webm_parser.h [code]
 
file  webm_stream_parser.cc [code]
 
file  webm_stream_parser.h [code]
 
file  webm_tracks_parser.cc [code]
 
file  webm_tracks_parser.h [code]
 
file  webm_video_client.cc [code]
 
file  webm_video_client.h [code]
 
file  webm_webvtt_parser.cc [code]
 
file  webm_webvtt_parser.h [code]
 
+
+ + + + diff --git a/docs/dir_5eb2e460866db0ed29e32d64402e5c22.html b/docs/dir_5eb2e460866db0ed29e32d64402e5c22.html index 7cd8160e46..d51182d0d5 100644 --- a/docs/dir_5eb2e460866db0ed29e32d64402e5c22.html +++ b/docs/dir_5eb2e460866db0ed29e32d64402e5c22.html @@ -97,11 +97,13 @@ Files   file  h264_parser.h [code]   +file  webvtt_util.h [code] diff --git a/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html b/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html index 2b36f236f3..9fe18484be 100644 --- a/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html +++ b/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html @@ -91,13 +91,15 @@ Directories   directory  mpeg   +directory  webm +  directory  wvm   diff --git a/docs/dir_679a6f4e9fa092b388fc986148018f2a.html b/docs/dir_679a6f4e9fa092b388fc986148018f2a.html index d90872fc09..ed5283b46c 100644 --- a/docs/dir_679a6f4e9fa092b388fc986148018f2a.html +++ b/docs/dir_679a6f4e9fa092b388fc986148018f2a.html @@ -95,7 +95,7 @@ Files diff --git a/docs/dir_7f5e01ba7faf319a30cabd201b6ef121.html b/docs/dir_7f5e01ba7faf319a30cabd201b6ef121.html index 710da2866f..402eb6e0df 100644 --- a/docs/dir_7f5e01ba7faf319a30cabd201b6ef121.html +++ b/docs/dir_7f5e01ba7faf319a30cabd201b6ef121.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_89dd766eb2df7d7257dbe806a34404af.html b/docs/dir_89dd766eb2df7d7257dbe806a34404af.html index 505fb966bf..114f1d3032 100644 --- a/docs/dir_89dd766eb2df7d7257dbe806a34404af.html +++ b/docs/dir_89dd766eb2df7d7257dbe806a34404af.html @@ -93,7 +93,7 @@ Directories diff --git a/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html b/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html index e4ea61affb..ddbe1ee01b 100644 --- a/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html +++ b/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html @@ -109,7 +109,7 @@ Files diff --git a/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html b/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html index 28c1602d0c..59575ad80c 100644 --- a/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html +++ b/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html @@ -195,6 +195,10 @@ Files   file  text_track.h [code]   +file  text_track_config.cc [code] +  +file  text_track_config.h [code] +  file  timestamp.h [code]   file  video_stream_info.cc [code] @@ -209,7 +213,7 @@ Files diff --git a/docs/dir_d422163b96683743ed3963d4aac17747.html b/docs/dir_d422163b96683743ed3963d4aac17747.html index aae401a05a..7ae7435c05 100644 --- a/docs/dir_d422163b96683743ed3963d4aac17747.html +++ b/docs/dir_d422163b96683743ed3963d4aac17747.html @@ -127,7 +127,7 @@ Files diff --git a/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html b/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html index 1c5e3d8afa..4bd3490b0e 100644 --- a/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html +++ b/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_f7dcbe7025bbacfc4b9a7dff6ad41d72.html b/docs/dir_f7dcbe7025bbacfc4b9a7dff6ad41d72.html index 9eb27db7f8..dd78237b2e 100644 --- a/docs/dir_f7dcbe7025bbacfc4b9a7dff6ad41d72.html +++ b/docs/dir_f7dcbe7025bbacfc4b9a7dff6ad41d72.html @@ -131,7 +131,7 @@ Files diff --git a/docs/doxygen.css b/docs/doxygen.css index be34fe54ee..f0f36f89f5 100644 --- a/docs/doxygen.css +++ b/docs/doxygen.css @@ -670,12 +670,12 @@ span.mlabel { /* @end */ -/* these are for tree view inside a (index) page */ +/* these are for tree view when not used as main index */ div.directory { margin: 10px 0px; - border-top: 1px solid #9CAFD4; - border-bottom: 1px solid #9CAFD4; + border-top: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; width: 100%; } @@ -734,80 +734,6 @@ div.directory { color: #3D578C; } -.arrow { - color: #9CAFD4; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - cursor: pointer; - font-size: 80%; - display: inline-block; - width: 16px; - height: 22px; -} - -.icon { - font-family: Arial, Helvetica; - font-weight: bold; - font-size: 12px; - height: 14px; - width: 16px; - display: inline-block; - background-color: #728DC1; - color: white; - text-align: center; - border-radius: 4px; - margin-left: 2px; - margin-right: 2px; -} - -.icona { - width: 24px; - height: 22px; - display: inline-block; -} - -.iconfopen { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('ftv2folderopen.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.iconfclosed { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('ftv2folderclosed.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.icondoc { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('ftv2doc.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -table.directory { - font: 400 14px Roboto,sans-serif; -} - -/* @end */ - div.dynheader { margin-top: 8px; -webkit-touch-callout: none; diff --git a/docs/dynsections.js b/docs/dynsections.js index 1e6bf07f9f..2f15470d72 100644 --- a/docs/dynsections.js +++ b/docs/dynsections.js @@ -24,20 +24,19 @@ function updateStripes() $('table.directory tr'). removeClass('even').filter(':visible:even').addClass('even'); } - function toggleLevel(level) { - $('table.directory tr').each(function() { + $('table.directory tr').each(function(){ var l = this.id.split('_').length-1; var i = $('#img'+this.id.substring(3)); var a = $('#arr'+this.id.substring(3)); if (l
Here is a list of all documented files with brief descriptions:
[detail level 1234]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  app
 fixed_key_encryption_flags.cc
 fixed_key_encryption_flags.h
 libcrypto_threading.cc
 libcrypto_threading.h
 mpd_flags.cc
 mpd_flags.h
 mpd_generator.cc
 mpd_generator_flags.h
 muxer_flags.cc
 muxer_flags.h
 packager_main.cc
 packager_util.cc
 packager_util.h
 stream_descriptor.cc
 stream_descriptor.h
 validate_flag.cc
 validate_flag.h
 widevine_encryption_flags.cc
 widevine_encryption_flags.h
  media
  base
  event
  file
  filters
  formats
  mpd
  base
  util
o-app
|o*fixed_key_encryption_flags.cc
|o*fixed_key_encryption_flags.h
|o*libcrypto_threading.cc
|o*libcrypto_threading.h
|o*mpd_flags.cc
|o*mpd_flags.h
|o*mpd_generator.cc
|o*mpd_generator_flags.h
|o*muxer_flags.cc
|o*muxer_flags.h
|o*packager_main.cc
|o*packager_util.cc
|o*packager_util.h
|o*stream_descriptor.cc
|o*stream_descriptor.h
|o*validate_flag.cc
|o*validate_flag.h
|o*widevine_encryption_flags.cc
|\*widevine_encryption_flags.h
o-media
|o+base
|o+event
|o+file
|o+filters
|\+formats
\-mpd
 o+base
 \+util
diff --git a/docs/ftv2cl.png b/docs/ftv2cl.png new file mode 100644 index 0000000000..132f6577bf Binary files /dev/null and b/docs/ftv2cl.png differ diff --git a/docs/ftv2mo.png b/docs/ftv2mo.png new file mode 100644 index 0000000000..4bfb80f76e Binary files /dev/null and b/docs/ftv2mo.png differ diff --git a/docs/ftv2ns.png b/docs/ftv2ns.png new file mode 100644 index 0000000000..72e3d71c28 Binary files /dev/null and b/docs/ftv2ns.png differ diff --git a/docs/functions.html b/docs/functions.html index fae7817277..889e06eb5c 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -137,10 +137,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • AddContentProtectionElement() : edash_packager::AdaptationSet -, edash_packager::DashIopMpdNotifier +, edash_packager::DashIopMpdNotifier , edash_packager::MpdNotifier , edash_packager::Representation -, edash_packager::SimpleMpdNotifier +, edash_packager::SimpleMpdNotifier
  • AddElements() : edash_packager::xml::XmlNode @@ -161,7 +161,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : edash_packager::xml::AdaptationSetXmlNode
  • AddSample() -: edash_packager::media::mp4::EncryptingFragmenter +: edash_packager::media::mp4::EncryptingFragmenter , edash_packager::media::mp4::Fragmenter , edash_packager::media::mp4::Segmenter
  • @@ -212,7 +212,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_b.html b/docs/functions_b.html index 525e48da31..a66aeffdd1 100644 --- a/docs/functions_b.html +++ b/docs/functions_b.html @@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_c.html b/docs/functions_c.html index 2746261211..d0ab072acc 100644 --- a/docs/functions_c.html +++ b/docs/functions_c.html @@ -140,9 +140,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Close() : edash_packager::media::File , edash_packager::media::IoCache -, edash_packager::media::LocalFile -, edash_packager::media::ThreadedIoFile -, edash_packager::media::UdpFile +, edash_packager::media::LocalFile +, edash_packager::media::ThreadedIoFile +, edash_packager::media::UdpFile
  • ClosureThread() : edash_packager::media::ClosureThread @@ -151,59 +151,59 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : edash_packager::media::mp4::CompositionOffsetIterator
  • ComputeSize() -: edash_packager::media::mp4::AudioSampleEntry -, edash_packager::media::mp4::AVCDecoderConfigurationRecord +: edash_packager::media::mp4::AudioSampleEntry +, edash_packager::media::mp4::AVCDecoderConfigurationRecord , edash_packager::media::mp4::Box -, edash_packager::media::mp4::ChunkLargeOffset -, edash_packager::media::mp4::ChunkOffset -, edash_packager::media::mp4::CompactSampleSize -, edash_packager::media::mp4::CompositionTimeToSample -, edash_packager::media::mp4::DataEntryUrl -, edash_packager::media::mp4::DataInformation -, edash_packager::media::mp4::DataReference -, edash_packager::media::mp4::DecodingTimeToSample -, edash_packager::media::mp4::Edit -, edash_packager::media::mp4::EditList -, edash_packager::media::mp4::ElementaryStreamDescriptor -, edash_packager::media::mp4::FileType -, edash_packager::media::mp4::HandlerReference -, edash_packager::media::mp4::Media -, edash_packager::media::mp4::MediaHeader -, edash_packager::media::mp4::MediaInformation -, edash_packager::media::mp4::Movie -, edash_packager::media::mp4::MovieExtends -, edash_packager::media::mp4::MovieExtendsHeader -, edash_packager::media::mp4::MovieFragment -, edash_packager::media::mp4::MovieFragmentHeader -, edash_packager::media::mp4::MovieHeader -, edash_packager::media::mp4::OriginalFormat -, edash_packager::media::mp4::PixelAspectRatioBox -, edash_packager::media::mp4::ProtectionSchemeInfo -, edash_packager::media::mp4::ProtectionSystemSpecificHeader -, edash_packager::media::mp4::SampleAuxiliaryInformationOffset -, edash_packager::media::mp4::SampleAuxiliaryInformationSize -, edash_packager::media::mp4::SampleDescription -, edash_packager::media::mp4::SampleGroupDescription -, edash_packager::media::mp4::SampleSize -, edash_packager::media::mp4::SampleTable -, edash_packager::media::mp4::SampleToChunk -, edash_packager::media::mp4::SampleToGroup -, edash_packager::media::mp4::SchemeInfo -, edash_packager::media::mp4::SchemeType -, edash_packager::media::mp4::SegmentIndex -, edash_packager::media::mp4::SegmentType -, edash_packager::media::mp4::SoundMediaHeader -, edash_packager::media::mp4::SyncSample -, edash_packager::media::mp4::Track -, edash_packager::media::mp4::TrackEncryption -, edash_packager::media::mp4::TrackExtends -, edash_packager::media::mp4::TrackFragment -, edash_packager::media::mp4::TrackFragmentDecodeTime -, edash_packager::media::mp4::TrackFragmentHeader -, edash_packager::media::mp4::TrackFragmentRun -, edash_packager::media::mp4::TrackHeader -, edash_packager::media::mp4::VideoMediaHeader -, edash_packager::media::mp4::VideoSampleEntry +, edash_packager::media::mp4::ChunkLargeOffset +, edash_packager::media::mp4::ChunkOffset +, edash_packager::media::mp4::CompactSampleSize +, edash_packager::media::mp4::CompositionTimeToSample +, edash_packager::media::mp4::DataEntryUrl +, edash_packager::media::mp4::DataInformation +, edash_packager::media::mp4::DataReference +, edash_packager::media::mp4::DecodingTimeToSample +, edash_packager::media::mp4::Edit +, edash_packager::media::mp4::EditList +, edash_packager::media::mp4::ElementaryStreamDescriptor +, edash_packager::media::mp4::FileType +, edash_packager::media::mp4::HandlerReference +, edash_packager::media::mp4::Media +, edash_packager::media::mp4::MediaHeader +, edash_packager::media::mp4::MediaInformation +, edash_packager::media::mp4::Movie +, edash_packager::media::mp4::MovieExtends +, edash_packager::media::mp4::MovieExtendsHeader +, edash_packager::media::mp4::MovieFragment +, edash_packager::media::mp4::MovieFragmentHeader +, edash_packager::media::mp4::MovieHeader +, edash_packager::media::mp4::OriginalFormat +, edash_packager::media::mp4::PixelAspectRatioBox +, edash_packager::media::mp4::ProtectionSchemeInfo +, edash_packager::media::mp4::ProtectionSystemSpecificHeader +, edash_packager::media::mp4::SampleAuxiliaryInformationOffset +, edash_packager::media::mp4::SampleAuxiliaryInformationSize +, edash_packager::media::mp4::SampleDescription +, edash_packager::media::mp4::SampleGroupDescription +, edash_packager::media::mp4::SampleSize +, edash_packager::media::mp4::SampleTable +, edash_packager::media::mp4::SampleToChunk +, edash_packager::media::mp4::SampleToGroup +, edash_packager::media::mp4::SchemeInfo +, edash_packager::media::mp4::SchemeType +, edash_packager::media::mp4::SegmentIndex +, edash_packager::media::mp4::SegmentType +, edash_packager::media::mp4::SoundMediaHeader +, edash_packager::media::mp4::SyncSample +, edash_packager::media::mp4::Track +, edash_packager::media::mp4::TrackEncryption +, edash_packager::media::mp4::TrackExtends +, edash_packager::media::mp4::TrackFragment +, edash_packager::media::mp4::TrackFragmentDecodeTime +, edash_packager::media::mp4::TrackFragmentHeader +, edash_packager::media::mp4::TrackFragmentRun +, edash_packager::media::mp4::TrackHeader +, edash_packager::media::mp4::VideoMediaHeader +, edash_packager::media::mp4::VideoSampleEntry
  • Connect() : edash_packager::media::MediaStream @@ -247,7 +247,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_d.html b/docs/functions_d.html index 547f5e1c1a..240c5619c0 100644 --- a/docs/functions_d.html +++ b/docs/functions_d.html @@ -148,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_e.html b/docs/functions_e.html index 6a088df478..e71d4fc16d 100644 --- a/docs/functions_e.html +++ b/docs/functions_e.html @@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_f.html b/docs/functions_f.html index dfcd28aace..e15af27143 100644 --- a/docs/functions_f.html +++ b/docs/functions_f.html @@ -121,10 +121,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - f -

    • FetchKeys() -: edash_packager::media::HttpKeyFetcher +: edash_packager::media::HttpKeyFetcher , edash_packager::media::KeyFetcher , edash_packager::media::KeySource -, edash_packager::media::WidevineKeySource +, edash_packager::media::WidevineKeySource
    • file_name() : edash_packager::media::File @@ -133,25 +133,26 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : edash_packager::media::mp4::Segmenter
    • FinalizeFragment() -: edash_packager::media::mp4::EncryptingFragmenter +: edash_packager::media::mp4::EncryptingFragmenter , edash_packager::media::mp4::Fragmenter
    • FinalizeFragmentForEncryption() : edash_packager::media::mp4::EncryptingFragmenter -, edash_packager::media::mp4::KeyRotationFragmenter +, edash_packager::media::mp4::KeyRotationFragmenter
    • Flush() -: edash_packager::DashIopMpdNotifier +: edash_packager::DashIopMpdNotifier , edash_packager::media::File -, edash_packager::media::LocalFile +, edash_packager::media::LocalFile , edash_packager::media::MediaParser -, edash_packager::media::mp2t::Mp2tMediaParser -, edash_packager::media::mp4::MP4MediaParser -, edash_packager::media::ThreadedIoFile -, edash_packager::media::UdpFile -, edash_packager::media::wvm::WvmMediaParser +, edash_packager::media::mp2t::Mp2tMediaParser +, edash_packager::media::mp4::MP4MediaParser +, edash_packager::media::ThreadedIoFile +, edash_packager::media::UdpFile +, edash_packager::media::WebMStreamParser +, edash_packager::media::wvm::WvmMediaParser , edash_packager::MpdNotifier -, edash_packager::SimpleMpdNotifier +, edash_packager::SimpleMpdNotifier
    • ForceSetSegmentAlignment() : edash_packager::AdaptationSet @@ -172,7 +173,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func.html b/docs/functions_func.html index 5807536248..41a7b38f11 100644 --- a/docs/functions_func.html +++ b/docs/functions_func.html @@ -137,10 +137,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    • AddContentProtectionElement() : edash_packager::AdaptationSet -, edash_packager::DashIopMpdNotifier +, edash_packager::DashIopMpdNotifier , edash_packager::MpdNotifier , edash_packager::Representation -, edash_packager::SimpleMpdNotifier +, edash_packager::SimpleMpdNotifier
    • AddElements() : edash_packager::xml::XmlNode @@ -161,7 +161,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : edash_packager::xml::AdaptationSetXmlNode
    • AddSample() -: edash_packager::media::mp4::EncryptingFragmenter +: edash_packager::media::mp4::EncryptingFragmenter , edash_packager::media::mp4::Fragmenter , edash_packager::media::mp4::Segmenter
    • @@ -209,7 +209,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_b.html b/docs/functions_func_b.html index 171ca2694d..2e2e51ca4a 100644 --- a/docs/functions_func_b.html +++ b/docs/functions_func_b.html @@ -151,7 +151,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_c.html b/docs/functions_func_c.html index f802e0159f..543be7e76d 100644 --- a/docs/functions_func_c.html +++ b/docs/functions_func_c.html @@ -140,9 +140,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    • Close() : edash_packager::media::File , edash_packager::media::IoCache -, edash_packager::media::LocalFile -, edash_packager::media::ThreadedIoFile -, edash_packager::media::UdpFile +, edash_packager::media::LocalFile +, edash_packager::media::ThreadedIoFile +, edash_packager::media::UdpFile
    • ClosureThread() : edash_packager::media::ClosureThread @@ -151,59 +151,59 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : edash_packager::media::mp4::CompositionOffsetIterator
    • ComputeSize() -: edash_packager::media::mp4::AudioSampleEntry -, edash_packager::media::mp4::AVCDecoderConfigurationRecord +: edash_packager::media::mp4::AudioSampleEntry +, edash_packager::media::mp4::AVCDecoderConfigurationRecord , edash_packager::media::mp4::Box -, edash_packager::media::mp4::ChunkLargeOffset -, edash_packager::media::mp4::ChunkOffset -, edash_packager::media::mp4::CompactSampleSize -, edash_packager::media::mp4::CompositionTimeToSample -, edash_packager::media::mp4::DataEntryUrl -, edash_packager::media::mp4::DataInformation -, edash_packager::media::mp4::DataReference -, edash_packager::media::mp4::DecodingTimeToSample -, edash_packager::media::mp4::Edit -, edash_packager::media::mp4::EditList -, edash_packager::media::mp4::ElementaryStreamDescriptor -, edash_packager::media::mp4::FileType -, edash_packager::media::mp4::HandlerReference -, edash_packager::media::mp4::Media -, edash_packager::media::mp4::MediaHeader -, edash_packager::media::mp4::MediaInformation -, edash_packager::media::mp4::Movie -, edash_packager::media::mp4::MovieExtends -, edash_packager::media::mp4::MovieExtendsHeader -, edash_packager::media::mp4::MovieFragment -, edash_packager::media::mp4::MovieFragmentHeader -, edash_packager::media::mp4::MovieHeader -, edash_packager::media::mp4::OriginalFormat -, edash_packager::media::mp4::PixelAspectRatioBox -, edash_packager::media::mp4::ProtectionSchemeInfo -, edash_packager::media::mp4::ProtectionSystemSpecificHeader -, edash_packager::media::mp4::SampleAuxiliaryInformationOffset -, edash_packager::media::mp4::SampleAuxiliaryInformationSize -, edash_packager::media::mp4::SampleDescription -, edash_packager::media::mp4::SampleGroupDescription -, edash_packager::media::mp4::SampleSize -, edash_packager::media::mp4::SampleTable -, edash_packager::media::mp4::SampleToChunk -, edash_packager::media::mp4::SampleToGroup -, edash_packager::media::mp4::SchemeInfo -, edash_packager::media::mp4::SchemeType -, edash_packager::media::mp4::SegmentIndex -, edash_packager::media::mp4::SegmentType -, edash_packager::media::mp4::SoundMediaHeader -, edash_packager::media::mp4::SyncSample -, edash_packager::media::mp4::Track -, edash_packager::media::mp4::TrackEncryption -, edash_packager::media::mp4::TrackExtends -, edash_packager::media::mp4::TrackFragment -, edash_packager::media::mp4::TrackFragmentDecodeTime -, edash_packager::media::mp4::TrackFragmentHeader -, edash_packager::media::mp4::TrackFragmentRun -, edash_packager::media::mp4::TrackHeader -, edash_packager::media::mp4::VideoMediaHeader -, edash_packager::media::mp4::VideoSampleEntry +, edash_packager::media::mp4::ChunkLargeOffset +, edash_packager::media::mp4::ChunkOffset +, edash_packager::media::mp4::CompactSampleSize +, edash_packager::media::mp4::CompositionTimeToSample +, edash_packager::media::mp4::DataEntryUrl +, edash_packager::media::mp4::DataInformation +, edash_packager::media::mp4::DataReference +, edash_packager::media::mp4::DecodingTimeToSample +, edash_packager::media::mp4::Edit +, edash_packager::media::mp4::EditList +, edash_packager::media::mp4::ElementaryStreamDescriptor +, edash_packager::media::mp4::FileType +, edash_packager::media::mp4::HandlerReference +, edash_packager::media::mp4::Media +, edash_packager::media::mp4::MediaHeader +, edash_packager::media::mp4::MediaInformation +, edash_packager::media::mp4::Movie +, edash_packager::media::mp4::MovieExtends +, edash_packager::media::mp4::MovieExtendsHeader +, edash_packager::media::mp4::MovieFragment +, edash_packager::media::mp4::MovieFragmentHeader +, edash_packager::media::mp4::MovieHeader +, edash_packager::media::mp4::OriginalFormat +, edash_packager::media::mp4::PixelAspectRatioBox +, edash_packager::media::mp4::ProtectionSchemeInfo +, edash_packager::media::mp4::ProtectionSystemSpecificHeader +, edash_packager::media::mp4::SampleAuxiliaryInformationOffset +, edash_packager::media::mp4::SampleAuxiliaryInformationSize +, edash_packager::media::mp4::SampleDescription +, edash_packager::media::mp4::SampleGroupDescription +, edash_packager::media::mp4::SampleSize +, edash_packager::media::mp4::SampleTable +, edash_packager::media::mp4::SampleToChunk +, edash_packager::media::mp4::SampleToGroup +, edash_packager::media::mp4::SchemeInfo +, edash_packager::media::mp4::SchemeType +, edash_packager::media::mp4::SegmentIndex +, edash_packager::media::mp4::SegmentType +, edash_packager::media::mp4::SoundMediaHeader +, edash_packager::media::mp4::SyncSample +, edash_packager::media::mp4::Track +, edash_packager::media::mp4::TrackEncryption +, edash_packager::media::mp4::TrackExtends +, edash_packager::media::mp4::TrackFragment +, edash_packager::media::mp4::TrackFragmentDecodeTime +, edash_packager::media::mp4::TrackFragmentHeader +, edash_packager::media::mp4::TrackFragmentRun +, edash_packager::media::mp4::TrackHeader +, edash_packager::media::mp4::VideoMediaHeader +, edash_packager::media::mp4::VideoSampleEntry
    • Connect() : edash_packager::media::MediaStream @@ -247,7 +247,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_d.html b/docs/functions_func_d.html index f1a73be870..c0fad9b544 100644 --- a/docs/functions_func_d.html +++ b/docs/functions_func_d.html @@ -148,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_e.html b/docs/functions_func_e.html index 835443ef56..1fc1984980 100644 --- a/docs/functions_func_e.html +++ b/docs/functions_func_e.html @@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_f.html b/docs/functions_func_f.html index 2d032d12e2..647450ea34 100644 --- a/docs/functions_func_f.html +++ b/docs/functions_func_f.html @@ -121,10 +121,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

      - f -

      • FetchKeys() -: edash_packager::media::HttpKeyFetcher +: edash_packager::media::HttpKeyFetcher , edash_packager::media::KeyFetcher , edash_packager::media::KeySource -, edash_packager::media::WidevineKeySource +, edash_packager::media::WidevineKeySource
      • file_name() : edash_packager::media::File @@ -133,25 +133,26 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : edash_packager::media::mp4::Segmenter
      • FinalizeFragment() -: edash_packager::media::mp4::EncryptingFragmenter +: edash_packager::media::mp4::EncryptingFragmenter , edash_packager::media::mp4::Fragmenter
      • FinalizeFragmentForEncryption() : edash_packager::media::mp4::EncryptingFragmenter -, edash_packager::media::mp4::KeyRotationFragmenter +, edash_packager::media::mp4::KeyRotationFragmenter
      • Flush() -: edash_packager::DashIopMpdNotifier +: edash_packager::DashIopMpdNotifier , edash_packager::media::File -, edash_packager::media::LocalFile +, edash_packager::media::LocalFile , edash_packager::media::MediaParser -, edash_packager::media::mp2t::Mp2tMediaParser -, edash_packager::media::mp4::MP4MediaParser -, edash_packager::media::ThreadedIoFile -, edash_packager::media::UdpFile -, edash_packager::media::wvm::WvmMediaParser +, edash_packager::media::mp2t::Mp2tMediaParser +, edash_packager::media::mp4::MP4MediaParser +, edash_packager::media::ThreadedIoFile +, edash_packager::media::UdpFile +, edash_packager::media::WebMStreamParser +, edash_packager::media::wvm::WvmMediaParser , edash_packager::MpdNotifier -, edash_packager::SimpleMpdNotifier +, edash_packager::SimpleMpdNotifier
      • ForceSetSegmentAlignment() : edash_packager::AdaptationSet @@ -166,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_g.html b/docs/functions_func_g.html index 24dd20a170..44b8546951 100644 --- a/docs/functions_func_g.html +++ b/docs/functions_func_g.html @@ -124,10 +124,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : edash_packager::media::mp4::Fragmenter
      • GenerateSignature() -: edash_packager::media::AesRequestSigner +: edash_packager::media::AesRequestSigner , edash_packager::media::RequestSigner , edash_packager::media::RsaPrivateKey -, edash_packager::media::RsaRequestSigner +, edash_packager::media::RsaRequestSigner
      • Get() : edash_packager::media::HttpKeyFetcher @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      • GetCryptoPeriodKey() : edash_packager::media::KeySource -, edash_packager::media::WidevineKeySource +, edash_packager::media::WidevineKeySource
      • GetDecryptConfig() : edash_packager::media::mp4::TrackRunIterator @@ -162,18 +162,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : edash_packager::media::File
      • GetIndexRange() -: edash_packager::media::mp4::MultiSegmentSegmenter +: edash_packager::media::mp4::MultiSegmentSegmenter , edash_packager::media::mp4::Segmenter -, edash_packager::media::mp4::SingleSegmentSegmenter +, edash_packager::media::mp4::SingleSegmentSegmenter
      • GetInitRange() -: edash_packager::media::mp4::MultiSegmentSegmenter +: edash_packager::media::mp4::MultiSegmentSegmenter , edash_packager::media::mp4::Segmenter -, edash_packager::media::mp4::SingleSegmentSegmenter +, edash_packager::media::mp4::SingleSegmentSegmenter
      • GetKey() : edash_packager::media::KeySource -, edash_packager::media::WidevineKeySource +, edash_packager::media::WidevineKeySource
      • GetMaxClearOffset() : edash_packager::media::mp4::TrackRunIterator @@ -208,7 +208,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_h.html b/docs/functions_func_h.html index fe401ae2b5..2ff9dac9f9 100644 --- a/docs/functions_func_h.html +++ b/docs/functions_func_h.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_i.html b/docs/functions_func_i.html index 4c2a37e472..c957b888f5 100644 --- a/docs/functions_func_i.html +++ b/docs/functions_func_i.html @@ -127,22 +127,23 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : edash_packager::media::mp4::BoxBuffer
      • Init() -: edash_packager::DashIopMpdNotifier +: edash_packager::DashIopMpdNotifier , edash_packager::media::MediaParser -, edash_packager::media::mp2t::Mp2tMediaParser -, edash_packager::media::mp4::MP4MediaParser +, edash_packager::media::mp2t::Mp2tMediaParser +, edash_packager::media::mp4::MP4MediaParser , edash_packager::media::mp4::TrackRunIterator -, edash_packager::media::wvm::WvmMediaParser +, edash_packager::media::WebMStreamParser +, edash_packager::media::wvm::WvmMediaParser , edash_packager::MpdNotifier , edash_packager::Representation -, edash_packager::SimpleMpdNotifier +, edash_packager::SimpleMpdNotifier
      • Initialize() : edash_packager::media::Demuxer , edash_packager::media::mp4::Segmenter
      • InitializeFragment() -: edash_packager::media::mp4::EncryptingFragmenter +: edash_packager::media::mp4::EncryptingFragmenter , edash_packager::media::mp4::Fragmenter
      • InitializeWithIv() @@ -165,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : edash_packager::media::mp4::TrackRunIterator
      • IsSyncSample() -: edash_packager::media::mp4::SyncSampleIterator +: edash_packager::media::mp4::SyncSampleIterator
      • IsValid() : edash_packager::media::mp4::ChunkInfoIterator @@ -173,9 +174,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , edash_packager::media::mp4::DecodingTimeIterator
      • IsValidConfig() -: edash_packager::media::AudioStreamInfo +: edash_packager::media::AudioStreamInfo , edash_packager::media::StreamInfo -, edash_packager::media::VideoStreamInfo +, edash_packager::media::VideoStreamInfo
      • IsValidTopLevelBox() : edash_packager::media::mp4::BoxReader @@ -184,7 +185,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_k.html b/docs/functions_func_k.html index b0c2ba83df..5be81df7da 100644 --- a/docs/functions_func_k.html +++ b/docs/functions_func_k.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_l.html b/docs/functions_func_l.html index a061626868..74b7fbf818 100644 --- a/docs/functions_func_l.html +++ b/docs/functions_func_l.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_m.html b/docs/functions_func_m.html index 33922860c5..74d4550e91 100644 --- a/docs/functions_func_m.html +++ b/docs/functions_func_m.html @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_n.html b/docs/functions_func_n.html index 085f57bc7e..ae00adb71b 100644 --- a/docs/functions_func_n.html +++ b/docs/functions_func_n.html @@ -121,24 +121,24 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

        - n -

        diff --git a/docs/functions_func_v.html b/docs/functions_func_v.html index 96431e2369..91bea27257 100644 --- a/docs/functions_func_v.html +++ b/docs/functions_func_v.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_w.html b/docs/functions_func_w.html index 5c8f321f8f..1b8471cc13 100644 --- a/docs/functions_func_w.html +++ b/docs/functions_func_w.html @@ -129,10 +129,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      • Write() : edash_packager::media::File , edash_packager::media::IoCache -, edash_packager::media::LocalFile +, edash_packager::media::LocalFile , edash_packager::media::mp4::Box -, edash_packager::media::ThreadedIoFile -, edash_packager::media::UdpFile +, edash_packager::media::ThreadedIoFile +, edash_packager::media::UdpFile
      • WriteMpdToFile() : edash_packager::MpdBuilder @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_x.html b/docs/functions_func_x.html index 57252cbcfb..eca7c972f8 100644 --- a/docs/functions_func_x.html +++ b/docs/functions_func_x.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_~.html b/docs/functions_func_~.html index b30ee9b1bc..9778a288ef 100644 --- a/docs/functions_func_~.html +++ b/docs/functions_func_~.html @@ -121,7 +121,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

        - ~ -

        diff --git a/docs/functions_v.html b/docs/functions_v.html index be3e68dfaf..5e62ca5fbd 100644 --- a/docs/functions_v.html +++ b/docs/functions_v.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_vars.html b/docs/functions_vars.html index 82a779e325..377f05aeee 100644 --- a/docs/functions_vars.html +++ b/docs/functions_vars.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_w.html b/docs/functions_w.html index 3788569415..859d89c2b2 100644 --- a/docs/functions_w.html +++ b/docs/functions_w.html @@ -129,10 +129,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      • Write() : edash_packager::media::File , edash_packager::media::IoCache -, edash_packager::media::LocalFile +, edash_packager::media::LocalFile , edash_packager::media::mp4::Box -, edash_packager::media::ThreadedIoFile -, edash_packager::media::UdpFile +, edash_packager::media::ThreadedIoFile +, edash_packager::media::UdpFile
      • WriteMpdToFile() : edash_packager::MpdBuilder @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_x.html b/docs/functions_x.html index 0f0586da3a..f2ca2bbe5d 100644 --- a/docs/functions_x.html +++ b/docs/functions_x.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_~.html b/docs/functions_~.html index 91f3b475d8..6dc665ebbd 100644 --- a/docs/functions_~.html +++ b/docs/functions_~.html @@ -121,7 +121,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

        - ~ -

        • ~ClosureThread() -: edash_packager::media::ClosureThread +: edash_packager::media::ClosureThread
        • ~File() : edash_packager::media::File @@ -130,7 +130,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/hierarchy.html b/docs/hierarchy.html index 80f99ac9f3..d19223f40f 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -88,197 +88,213 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
          This inheritance list is sorted roughly, but not completely, alphabetically:
          [detail level 1234]
          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
           Cedash_packager::media::mp4::AACAudioSpecificConfig
           Cedash_packager::AdaptationSet
           Cedash_packager::media::mp2t::AdtsHeader
           Cedash_packager::media::AesCbcCtsDecryptor
           Cedash_packager::media::AesCbcCtsEncryptor
           Cedash_packager::media::AesCbcPkcs5Decryptor
           Cedash_packager::media::AesCbcPkcs5Encryptor
           Cedash_packager::media::AesCtrEncryptor
           Cedash_packager::media::AudioTimestampHelper
           CBandwidthEstimator
           Cedash_packager::media::BitReaderA class to read bit streams
           Cedash_packager::media::mp4::Box
           Cedash_packager::media::mp4::BoxBuffer
           Cedash_packager::media::BufferReader
           Cedash_packager::media::BufferWriter
           Cedash_packager::media::ByteQueue
           Cedash_packager::media::mp4::CencSampleEncryptionInfoEntry
           Cedash_packager::media::mp4::ChunkInfo
           Cedash_packager::media::mp4::ChunkInfoIterator
           Cedash_packager::media::mp4::CompositionOffset
           Cedash_packager::media::mp4::CompositionOffsetIterator
           Cedash_packager::ContentProtectionElement
           Cedash_packager::media::mp4::DecodingTime
           Cedash_packager::media::mp4::DecodingTimeIterator
           Cedash_packager::media::DecryptConfig
           Cedash_packager::media::DecryptorSourceDecryptorSource is responsible for decryption key acquisition
           Cedash_packager::media::Demuxer
           Cedash_packager::media::wvm::DemuxStreamIdMediaSample
           Cedash_packager::media::mp4::EditListEntry
           Cedash_packager::Element
           Cedash_packager::media::EncryptionKey
           Cedash_packager::media::mp4::ESDescriptor
           Cedash_packager::media::mp2t::EsParser
           Cedash_packager::media::FileDefine an abstract file interface
           Cedash_packager::media::FileCloser
           Cedash_packager::media::mp4::Fragmenter
           Cedash_packager::media::mp4::FrameCENCInfo
           Cedash_packager::media::H264BitReader
           Cedash_packager::media::H264ByteToUnitStreamConverter
           Cedash_packager::media::H264DecRefPicMarking
           Cedash_packager::media::H264ModificationOfPicNum
           Cedash_packager::media::H264NALU
           Cedash_packager::media::H264Parser
           Cedash_packager::media::H264PPS
           Cedash_packager::media::H264SEIMessage
           Cedash_packager::media::H264SEIRecoveryPoint
           Cedash_packager::media::H264SliceHeader
           Cedash_packager::media::H264SPS
           Cedash_packager::media::H264WeightingFactors
           Cedash_packager::media::IoCacheDeclaration of class which implements a thread-safe circular buffer
           Cedash_packager::media::KeyFetcherBase class for fetching keys from the license service
           Cedash_packager::media::KeySourceKeySource is responsible for encryption key acquisition
           Cedash_packager::media::LibcryptoThreadingConvenience class which initializes and terminates libcrypto threading
           Cedash_packager::media::mp4::MediaData
           Cedash_packager::media::MediaParser
           Cedash_packager::media::MediaStream
           Cedash_packager::MpdBuilderThis class generates DASH MPDs (Media Presentation Descriptions)
           Cedash_packager::MpdNotifier
           Cedash_packager::MpdNotifierFactory
           Cedash_packager::MpdOptionsDefines Mpd Options
           Cedash_packager::MpdWriter
           Cedash_packager::media::Muxer
           Cedash_packager::media::MuxerListener
           Cedash_packager::media::MuxerOptionsThis structure contains the list of configuration options for Muxer
           Cedash_packager::media::OffsetByteQueue
           Cedash_packager::media::OnMediaEndParameters
           Cedash_packager::media::wvm::PrevSampleData
           Cedash_packager::media::ProducerConsumerQueue< T >
           Cedash_packager::media::ProgressListenerThis class listens to progress updates events
           CRefCountedThreadSafe
           Cedash_packager::Representation
           Cedash_packager::RepresentationStateChangeListener
           Cedash_packager::media::RequestSignerAbstract class used for signature generation
           Cedash_packager::media::RsaPrivateKeyRsa private key, used for message signing and decryption
           Cedash_packager::media::RsaPublicKeyRsa public key, used for signature verification and encryption
           Cedash_packager::media::mp4::SampleToGroupEntry
           Cedash_packager::xml::ScopedXmlPtr< XmlType >Scoped_ptr for libxml2 resources
           Cedash_packager::xml::ScopedXmlPtr< xmlNode >
           Cedash_packager::media::mp4::Segmenter
           Cedash_packager::SegmentInfo
           Cedash_packager::media::mp4::SegmentReference
           CSimpleThread
           Cedash_packager::media::Status
           Cedash_packager::media::StreamDescriptor
           Cedash_packager::media::StreamDescriptorCompareFn
           Cedash_packager::media::SubsampleEntry
           Cedash_packager::media::mp4::SyncSampleIterator
           Cedash_packager::media::TextTrack
           Cedash_packager::media::mp4::TrackRunIterator
           Cedash_packager::media::mp2t::TsPacket
           Cedash_packager::media::mp2t::TsSection
           Cedash_packager::media::VideoStreamInfoParameters
           Cedash_packager::xml::XmlDeleter
           Cedash_packager::xml::XmlNode
          oCedash_packager::media::mp4::AACAudioSpecificConfig
          oCedash_packager::AdaptationSet
          oCedash_packager::media::mp2t::AdtsHeader
          oCedash_packager::media::AesCbcCtsDecryptor
          oCedash_packager::media::AesCbcCtsEncryptor
          oCedash_packager::media::AesCbcPkcs5Decryptor
          oCedash_packager::media::AesCbcPkcs5Encryptor
          oCedash_packager::media::AesCtrEncryptor
          oCedash_packager::media::AudioTimestampHelper
          oCBandwidthEstimator
          oCedash_packager::media::BitReaderA class to read bit streams
          oCedash_packager::media::mp4::Box
          oCedash_packager::media::mp4::BoxBuffer
          oCedash_packager::media::BufferReader
          oCedash_packager::media::BufferWriter
          oCedash_packager::media::ByteQueue
          oCedash_packager::media::mp4::CencSampleEncryptionInfoEntry
          oCedash_packager::media::mp4::ChunkInfo
          oCedash_packager::media::mp4::ChunkInfoIterator
          oCedash_packager::media::Cluster
          oCedash_packager::media::ClusterBuilder
          oCedash_packager::media::mp4::CompositionOffset
          oCedash_packager::media::mp4::CompositionOffsetIterator
          oCedash_packager::media::ContentEncoding
          oCedash_packager::ContentProtectionElement
          oCedash_packager::media::mp4::DecodingTime
          oCedash_packager::media::mp4::DecodingTimeIterator
          oCedash_packager::media::DecryptConfig
          oCedash_packager::media::DecryptorSourceDecryptorSource is responsible for decryption key acquisition
          oCedash_packager::media::Demuxer
          oCedash_packager::media::wvm::DemuxStreamIdMediaSample
          oCedash_packager::media::mp4::EditListEntry
          oCedash_packager::Element
          oCedash_packager::media::EncryptionKey
          oCedash_packager::media::mp4::ESDescriptor
          oCedash_packager::media::mp2t::EsParser
          oCedash_packager::media::FileDefine an abstract file interface
          oCedash_packager::media::FileCloser
          oCedash_packager::media::mp4::Fragmenter
          oCedash_packager::media::mp4::FrameCENCInfo
          oCedash_packager::media::H264BitReader
          oCedash_packager::media::H264ByteToUnitStreamConverter
          oCedash_packager::media::H264DecRefPicMarking
          oCedash_packager::media::H264ModificationOfPicNum
          oCedash_packager::media::H264NALU
          oCedash_packager::media::H264Parser
          oCedash_packager::media::H264PPS
          oCedash_packager::media::H264SEIMessage
          oCedash_packager::media::H264SEIRecoveryPoint
          oCedash_packager::media::H264SliceHeader
          oCedash_packager::media::H264SPS
          oCedash_packager::media::H264WeightingFactors
          oCedash_packager::media::IoCacheDeclaration of class which implements a thread-safe circular buffer
          oCedash_packager::media::KeyFetcherBase class for fetching keys from the license service
          oCedash_packager::media::KeySourceKeySource is responsible for encryption key acquisition
          oCedash_packager::media::LibcryptoThreadingConvenience class which initializes and terminates libcrypto threading
          oCedash_packager::media::mp4::MediaData
          oCedash_packager::media::MediaParser
          oCedash_packager::media::MediaStream
          oCedash_packager::MpdBuilderThis class generates DASH MPDs (Media Presentation Descriptions)
          oCedash_packager::MpdNotifier
          oCedash_packager::MpdNotifierFactory
          oCedash_packager::MpdOptionsDefines Mpd Options
          oCedash_packager::MpdWriter
          oCedash_packager::media::Muxer
          oCedash_packager::media::MuxerListener
          oCedash_packager::media::MuxerOptionsThis structure contains the list of configuration options for Muxer
          oCedash_packager::media::OffsetByteQueue
          oCedash_packager::media::OnMediaEndParameters
          oCedash_packager::media::OpusPacket
          oCedash_packager::media::wvm::PrevSampleData
          oCedash_packager::media::ProducerConsumerQueue< T >
          oCedash_packager::media::ProgressListenerThis class listens to progress updates events
          oCRefCountedThreadSafe
          oCedash_packager::Representation
          oCedash_packager::RepresentationStateChangeListener
          oCedash_packager::media::RequestSignerAbstract class used for signature generation
          oCedash_packager::media::RsaPrivateKeyRsa private key, used for message signing and decryption
          oCedash_packager::media::RsaPublicKeyRsa public key, used for signature verification and encryption
          oCedash_packager::media::mp4::SampleToGroupEntry
          oCedash_packager::xml::ScopedXmlPtr< XmlType >Scoped_ptr for libxml2 resources
          oCedash_packager::xml::ScopedXmlPtr< xmlNode >
          oCedash_packager::media::mp4::Segmenter
          oCedash_packager::SegmentInfo
          oCedash_packager::media::mp4::SegmentReference
          oCSimpleThread
          oCedash_packager::media::Status
          oCedash_packager::media::StreamDescriptor
          oCedash_packager::media::StreamDescriptorCompareFn
          oCedash_packager::media::SubsampleEntry
          oCedash_packager::media::mp4::SyncSampleIterator
          oCedash_packager::media::TextTrack
          oCedash_packager::media::TextTrackConfig
          oCedash_packager::media::mp4::TrackRunIterator
          oCedash_packager::media::TracksBuilder
          oCedash_packager::media::mp2t::TsPacket
          oCedash_packager::media::mp2t::TsSection
          oCedash_packager::media::VideoStreamInfoParameters
          oCedash_packager::media::WebMListParser
          oCedash_packager::media::WebMParserClient
          oCedash_packager::media::WebMWebVTTParser
          oCedash_packager::xml::XmlDeleter
          \Cedash_packager::xml::XmlNode
          diff --git a/docs/index.html b/docs/index.html index d37925ae12..da165976ca 100644 --- a/docs/index.html +++ b/docs/index.html @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/namespacemembers.html b/docs/namespacemembers.html index d8fac4b229..035eea44c6 100644 --- a/docs/namespacemembers.html +++ b/docs/namespacemembers.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/namespacemembers_func.html b/docs/namespacemembers_func.html index 332e9aa6d1..42b932d922 100644 --- a/docs/namespacemembers_func.html +++ b/docs/namespacemembers_func.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/namespaces.html b/docs/namespaces.html index 0ddcb8c6f2..27fe5265e0 100644 --- a/docs/namespaces.html +++ b/docs/namespaces.html @@ -86,13 +86,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
          Here is a list of all documented namespaces with brief descriptions:
          diff --git a/docs/search/all_0.js b/docs/search/all_0.js index 3417657c00..ad79eea105 100644 --- a/docs/search/all_0.js +++ b/docs/search/all_0.js @@ -8,7 +8,7 @@ var searchData= ['addaudioinfo',['AddAudioInfo',['../dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html#a1a3d8d8831e19ae010841704c07238c6',1,'edash_packager::xml::RepresentationXmlNode']]], ['addbaseurl',['AddBaseUrl',['../d3/dfa/classedash__packager_1_1MpdBuilder.html#a5318f500aa6a5b3db7b7925c08d78d91',1,'edash_packager::MpdBuilder']]], ['addchild',['AddChild',['../dd/d85/classedash__packager_1_1xml_1_1XmlNode.html#ab823db3ce661b4a967574f1534fc5b95',1,'edash_packager::xml::XmlNode']]], - ['addcontentprotectionelement',['AddContentProtectionElement',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#aea9b720de64f38256aeb3cce3ef67ae5',1,'edash_packager::DashIopMpdNotifier::AddContentProtectionElement()'],['../db/de4/classedash__packager_1_1AdaptationSet.html#a419e5b2dc27fef47fb0fcaa17ea09314',1,'edash_packager::AdaptationSet::AddContentProtectionElement()'],['../d7/d15/classedash__packager_1_1Representation.html#a8cb3729f52457e7df08cd05b8f19090e',1,'edash_packager::Representation::AddContentProtectionElement()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a56969f6d7c09e0aa131ba01d5c880773',1,'edash_packager::MpdNotifier::AddContentProtectionElement()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a0fd697605b3ff2ffdb8c892af2fc2e0d',1,'edash_packager::SimpleMpdNotifier::AddContentProtectionElement()']]], + ['addcontentprotectionelement',['AddContentProtectionElement',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#aef43fd9875d24547d2434d142aeb9805',1,'edash_packager::DashIopMpdNotifier::AddContentProtectionElement()'],['../db/de4/classedash__packager_1_1AdaptationSet.html#a419e5b2dc27fef47fb0fcaa17ea09314',1,'edash_packager::AdaptationSet::AddContentProtectionElement()'],['../d7/d15/classedash__packager_1_1Representation.html#a8cb3729f52457e7df08cd05b8f19090e',1,'edash_packager::Representation::AddContentProtectionElement()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a56969f6d7c09e0aa131ba01d5c880773',1,'edash_packager::MpdNotifier::AddContentProtectionElement()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#af67678f19e1ecb3c01de200bdc3f1256',1,'edash_packager::SimpleMpdNotifier::AddContentProtectionElement()']]], ['addcontentprotectionelements',['AddContentProtectionElements',['../db/d09/namespaceedash__packager.html#a6f62cefcc7cf1a95f19bbea3b310fbab',1,'edash_packager::AddContentProtectionElements(const MediaInfo &media_info, Representation *parent)'],['../db/d09/namespaceedash__packager.html#a63896c3ea3c207506f18095624f2ed84',1,'edash_packager::AddContentProtectionElements(const MediaInfo &media_info, AdaptationSet *parent)']]], ['addelements',['AddElements',['../dd/d85/classedash__packager_1_1xml_1_1XmlNode.html#a9d6fa2317a063fb69cfa00c0d5ff3ec7',1,'edash_packager::xml::XmlNode']]], ['addliveonlyinfo',['AddLiveOnlyInfo',['../dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html#aef4b41002294b95cba4ed9b2fbb536d6',1,'edash_packager::xml::RepresentationXmlNode']]], @@ -16,7 +16,7 @@ var searchData= ['addrepresentation',['AddRepresentation',['../db/de4/classedash__packager_1_1AdaptationSet.html#a9a15647b565f9898a5a0e1d3176ff935',1,'edash_packager::AdaptationSet']]], ['addrole',['AddRole',['../db/de4/classedash__packager_1_1AdaptationSet.html#a3bfc3e2de3eaafc61a4dc2e23c698956',1,'edash_packager::AdaptationSet']]], ['addroleelement',['AddRoleElement',['../d6/d37/classedash__packager_1_1xml_1_1AdaptationSetXmlNode.html#a40c48f2ed2ac0f550bf019d7e650be94',1,'edash_packager::xml::AdaptationSetXmlNode']]], - ['addsample',['AddSample',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a825b7ca051f38ad14f4c6c6241ae443a',1,'edash_packager::media::mp4::EncryptingFragmenter::AddSample()'],['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#a81d8b1f324bdd2bc9cc2e5a469243926',1,'edash_packager::media::mp4::Fragmenter::AddSample()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#a5c21059ee9a533caec81491bdb751c57',1,'edash_packager::media::mp4::Segmenter::AddSample()']]], + ['addsample',['AddSample',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#ae8fd13a579fee2167167bcdbb9637dcc',1,'edash_packager::media::mp4::EncryptingFragmenter::AddSample()'],['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#a81d8b1f324bdd2bc9cc2e5a469243926',1,'edash_packager::media::mp4::Fragmenter::AddSample()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#a5c21059ee9a533caec81491bdb751c57',1,'edash_packager::media::mp4::Segmenter::AddSample()']]], ['addstream',['AddStream',['../d4/d1d/classedash__packager_1_1media_1_1Muxer.html#a77c7a214383f64f822d479d226750bf5',1,'edash_packager::media::Muxer']]], ['addvideoinfo',['AddVideoInfo',['../dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html#a2b00f576154e002f067849129cff4c4a',1,'edash_packager::xml::RepresentationXmlNode']]], ['addvodonlyinfo',['AddVODOnlyInfo',['../dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html#a2afa0f4b92900936e2eb97a218d119a2',1,'edash_packager::xml::RepresentationXmlNode']]], diff --git a/docs/search/all_10.js b/docs/search/all_10.js index e5741bc331..73969407c9 100644 --- a/docs/search/all_10.js +++ b/docs/search/all_10.js @@ -20,7 +20,7 @@ var searchData= ['schemetype',['SchemeType',['../d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html',1,'edash_packager::media::mp4']]], ['scopedxmlptr',['ScopedXmlPtr',['../d8/df3/structedash__packager_1_1xml_1_1ScopedXmlPtr.html',1,'edash_packager::xml']]], ['scopedxmlptr_3c_20xmlnode_20_3e',['ScopedXmlPtr< xmlNode >',['../d8/df3/structedash__packager_1_1xml_1_1ScopedXmlPtr.html',1,'edash_packager::xml']]], - ['seek',['Seek',['../de/d19/classedash__packager_1_1media_1_1File.html#a28da55565be854b866bf223aa4232042',1,'edash_packager::media::File::Seek()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a824c0538b239159c611d8e9eddc59e2d',1,'edash_packager::media::LocalFile::Seek()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a8779e872a7e9f3f7a060b40e0b1b3049',1,'edash_packager::media::ThreadedIoFile::Seek()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#ae4420b53b065a3f11e73f4ae77567087',1,'edash_packager::media::UdpFile::Seek()']]], + ['seek',['Seek',['../de/d19/classedash__packager_1_1media_1_1File.html#a28da55565be854b866bf223aa4232042',1,'edash_packager::media::File::Seek()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a31ed97a6c4a45bb9d80f55dc444aba35',1,'edash_packager::media::LocalFile::Seek()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a46346ba1ff6a626aedb6f14475bde10d',1,'edash_packager::media::ThreadedIoFile::Seek()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a02cd760eab677a8c59af522830c7b1a4',1,'edash_packager::media::UdpFile::Seek()']]], ['segment_5fduration',['segment_duration',['../de/d57/structedash__packager_1_1media_1_1MuxerOptions.html#ad6f281dfd832bd073f5fb5fc46342f9f',1,'edash_packager::media::MuxerOptions']]], ['segment_5fsap_5faligned',['segment_sap_aligned',['../de/d57/structedash__packager_1_1media_1_1MuxerOptions.html#af0403298bf08392bb3009061cd8de2b0',1,'edash_packager::media::MuxerOptions']]], ['segment_5ftemplate',['segment_template',['../de/d57/structedash__packager_1_1media_1_1MuxerOptions.html#a1303b2f8efb19af4728513ba2eeea2d1',1,'edash_packager::media::MuxerOptions']]], @@ -49,7 +49,7 @@ var searchData= ['simplempdnotifier',['SimpleMpdNotifier',['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html',1,'edash_packager']]], ['single_5fsegment',['single_segment',['../de/d57/structedash__packager_1_1media_1_1MuxerOptions.html#a7542af69b834f3a72e5c5b25f4f0f474',1,'edash_packager::media::MuxerOptions']]], ['singlesegmentsegmenter',['SingleSegmentSegmenter',['../da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html',1,'edash_packager::media::mp4']]], - ['size',['Size',['../d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html#aa502e5cfc6159ded7abb3672cdab8cd5',1,'edash_packager::media::ProducerConsumerQueue::Size()'],['../de/d19/classedash__packager_1_1media_1_1File.html#a1bb2a295cb69b3e51b9cc14969848632',1,'edash_packager::media::File::Size()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a8be2c9f77a073682d8ebc6808a2bfa94',1,'edash_packager::media::LocalFile::Size()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a9724a923f813e99f223d52ddf8e65556',1,'edash_packager::media::ThreadedIoFile::Size()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#acd47dd4e3169ee396b721d0c0e00b7dd',1,'edash_packager::media::UdpFile::Size()'],['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#aef7267aa7963866d3dcef4f051f84674',1,'edash_packager::media::mp4::BoxBuffer::Size()']]], + ['size',['Size',['../d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html#aa502e5cfc6159ded7abb3672cdab8cd5',1,'edash_packager::media::ProducerConsumerQueue::Size()'],['../de/d19/classedash__packager_1_1media_1_1File.html#a1bb2a295cb69b3e51b9cc14969848632',1,'edash_packager::media::File::Size()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a8984949196dc5230a8ece08c738a9fd3',1,'edash_packager::media::LocalFile::Size()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#af61d3986b87d43e3b5ffd86c86094478',1,'edash_packager::media::ThreadedIoFile::Size()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a8d62376715aee117aa7a225b54be0945',1,'edash_packager::media::UdpFile::Size()'],['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#aef7267aa7963866d3dcef4f051f84674',1,'edash_packager::media::mp4::BoxBuffer::Size()']]], ['skipbits',['SkipBits',['../df/db4/classedash__packager_1_1media_1_1BitReader.html#acacb97d71aaae01796b90d27e7cdca0a',1,'edash_packager::media::BitReader']]], ['skipbytes',['SkipBytes',['../d9/d46/classedash__packager_1_1media_1_1BufferReader.html#a2b7075e5a47a823b9f66c0ba702f26bf',1,'edash_packager::media::BufferReader']]], ['soundmediaheader',['SoundMediaHeader',['../da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html',1,'edash_packager::media::mp4']]], diff --git a/docs/search/all_11.js b/docs/search/all_11.js index e375f19782..ee0bb45ac5 100644 --- a/docs/search/all_11.js +++ b/docs/search/all_11.js @@ -2,11 +2,12 @@ var searchData= [ ['tail',['tail',['../d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html#add7aef56ce4f162c047ad7fcf64cf603',1,'edash_packager::media::OffsetByteQueue']]], ['tailpos',['TailPos',['../d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html#a860bb54f9c53a25c27b1510b0e21eac9',1,'edash_packager::media::ProducerConsumerQueue']]], - ['tell',['Tell',['../de/d19/classedash__packager_1_1media_1_1File.html#a19409dd7d63022f34aee85640460428e',1,'edash_packager::media::File::Tell()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#abc713b14716779b3320b69c528fbaaa8',1,'edash_packager::media::LocalFile::Tell()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a8f460efd19e204bcb04c1feb808ac0cc',1,'edash_packager::media::ThreadedIoFile::Tell()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#aeef553c179ac9a645ff766ac03ce71d6',1,'edash_packager::media::UdpFile::Tell()']]], + ['tell',['Tell',['../de/d19/classedash__packager_1_1media_1_1File.html#a19409dd7d63022f34aee85640460428e',1,'edash_packager::media::File::Tell()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a4151ac1c3198e4037292040bb7f2504b',1,'edash_packager::media::LocalFile::Tell()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#acef8a84a1ec55e42588fec8bc8e0b698',1,'edash_packager::media::ThreadedIoFile::Tell()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a32a91da87bda023b44aa7e86c2207c07',1,'edash_packager::media::UdpFile::Tell()']]], ['temp_5fdir',['temp_dir',['../de/d57/structedash__packager_1_1media_1_1MuxerOptions.html#a014464b78ba37f978da8290db2f2414e',1,'edash_packager::media::MuxerOptions']]], ['texttrack',['TextTrack',['../de/d9e/classedash__packager_1_1media_1_1TextTrack.html',1,'edash_packager::media']]], + ['texttrackconfig',['TextTrackConfig',['../dd/def/classedash__packager_1_1media_1_1TextTrackConfig.html',1,'edash_packager::media']]], ['threadediofile',['ThreadedIoFile',['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html',1,'edash_packager::media']]], - ['tostring',['ToString',['../da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html#af7d609b21b4ef1a537ceea7511133e1a',1,'edash_packager::media::AudioStreamInfo::ToString()'],['../d8/d6c/classedash__packager_1_1media_1_1MediaSample.html#ad68efaffb542c373364794d1c17e3b8c',1,'edash_packager::media::MediaSample::ToString()'],['../d2/dfd/classedash__packager_1_1media_1_1MediaStream.html#af731dd749053f9650ee8dd2800338750',1,'edash_packager::media::MediaStream::ToString()'],['../d2/d90/classedash__packager_1_1media_1_1Status.html#a590cad3d305a36c1cf05e6770b728187',1,'edash_packager::media::Status::ToString()'],['../d6/d06/classedash__packager_1_1media_1_1StreamInfo.html#ac09810e16cf5cee2f87987bfcc70fece',1,'edash_packager::media::StreamInfo::ToString()'],['../d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html#a6301e6683e6c457e1155d0b1f6dd3baf',1,'edash_packager::media::VideoStreamInfo::ToString()'],['../d3/dfa/classedash__packager_1_1MpdBuilder.html#a1c0fd80514f6f1d90f70bb9e96e744a1',1,'edash_packager::MpdBuilder::ToString()']]], + ['tostring',['ToString',['../da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html#a614479ac0820d6491845aa1a4bb85ba4',1,'edash_packager::media::AudioStreamInfo::ToString()'],['../d8/d6c/classedash__packager_1_1media_1_1MediaSample.html#ad68efaffb542c373364794d1c17e3b8c',1,'edash_packager::media::MediaSample::ToString()'],['../d2/dfd/classedash__packager_1_1media_1_1MediaStream.html#af731dd749053f9650ee8dd2800338750',1,'edash_packager::media::MediaStream::ToString()'],['../d2/d90/classedash__packager_1_1media_1_1Status.html#a590cad3d305a36c1cf05e6770b728187',1,'edash_packager::media::Status::ToString()'],['../d6/d06/classedash__packager_1_1media_1_1StreamInfo.html#ac09810e16cf5cee2f87987bfcc70fece',1,'edash_packager::media::StreamInfo::ToString()'],['../d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html#a08fb4a4fdd658266dc860ab9c5cf7ace',1,'edash_packager::media::VideoStreamInfo::ToString()'],['../d3/dfa/classedash__packager_1_1MpdBuilder.html#a1c0fd80514f6f1d90f70bb9e96e744a1',1,'edash_packager::MpdBuilder::ToString()']]], ['track',['Track',['../d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html',1,'edash_packager::media::mp4']]], ['trackencryption',['TrackEncryption',['../de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html',1,'edash_packager::media::mp4']]], ['trackextends',['TrackExtends',['../d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html',1,'edash_packager::media::mp4']]], @@ -15,8 +16,9 @@ var searchData= ['trackfragmentheader',['TrackFragmentHeader',['../d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html',1,'edash_packager::media::mp4']]], ['trackfragmentrun',['TrackFragmentRun',['../df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html',1,'edash_packager::media::mp4']]], ['trackheader',['TrackHeader',['../dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html',1,'edash_packager::media::mp4']]], - ['trackruniterator',['TrackRunIterator',['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html',1,'edash_packager::media::mp4']]], ['trackruniterator',['TrackRunIterator',['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#a2cfa01eaed61581122199666536c4bed',1,'edash_packager::media::mp4::TrackRunIterator']]], + ['trackruniterator',['TrackRunIterator',['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html',1,'edash_packager::media::mp4']]], + ['tracksbuilder',['TracksBuilder',['../d0/de6/classedash__packager_1_1media_1_1TracksBuilder.html',1,'edash_packager::media']]], ['tracktypetostring',['TrackTypeToString',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a8bab239dd17b01ed607c483c536d1321',1,'edash_packager::media::KeySource']]], ['trim',['Trim',['../d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html#af2a41afe5b213be301b7b9f7ca555fae',1,'edash_packager::media::OffsetByteQueue']]], ['tryreadchild',['TryReadChild',['../db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html#ae697ff0b40b4aa9feecb45d303f8f6bc',1,'edash_packager::media::mp4::BoxReader']]], diff --git a/docs/search/all_12.js b/docs/search/all_12.js index f2e40de27c..089937580d 100644 --- a/docs/search/all_12.js +++ b/docs/search/all_12.js @@ -7,5 +7,5 @@ var searchData= ['updatecontentprotectionpssh',['UpdateContentProtectionPssh',['../db/de4/classedash__packager_1_1AdaptationSet.html#a6630f9954b604bee7f90c11778336fdc',1,'edash_packager::AdaptationSet::UpdateContentProtectionPssh()'],['../d7/d15/classedash__packager_1_1Representation.html#a7fc0e59f273082ccf654025486af79ae',1,'edash_packager::Representation::UpdateContentProtectionPssh()']]], ['updateiv',['UpdateIv',['../dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html#a8310ce3e9ef83a899173bbd1e6ac5583',1,'edash_packager::media::AesCtrEncryptor']]], ['updateprogress',['UpdateProgress',['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#a287d51571c92704274550d9f1d246cf9',1,'edash_packager::media::mp4::Segmenter']]], - ['uuid',['UUID',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#afbb7d084395a1426eb0143ae8357b2fc',1,'edash_packager::media::KeySource::UUID()'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#aa917c7570c4010734451bb63d7dc061d',1,'edash_packager::media::WidevineKeySource::UUID()']]] + ['uuid',['UUID',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#afbb7d084395a1426eb0143ae8357b2fc',1,'edash_packager::media::KeySource::UUID()'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a7e87401178d0b2841a9c550fb8aea9d1',1,'edash_packager::media::WidevineKeySource::UUID()']]] ]; diff --git a/docs/search/all_14.js b/docs/search/all_14.js index d97dbea64c..86585b81c6 100644 --- a/docs/search/all_14.js +++ b/docs/search/all_14.js @@ -1,9 +1,19 @@ var searchData= [ ['waituntilemptyorclosed',['WaitUntilEmptyOrClosed',['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#ace4946f4ecb34f84c4750d276404a3e5',1,'edash_packager::media::IoCache']]], + ['webmaudioclient',['WebMAudioClient',['../de/d98/classedash__packager_1_1media_1_1WebMAudioClient.html',1,'edash_packager::media']]], + ['webmclusterparser',['WebMClusterParser',['../db/da0/classedash__packager_1_1media_1_1WebMClusterParser.html',1,'edash_packager::media']]], + ['webmcontentencodingsclient',['WebMContentEncodingsClient',['../d8/d78/classedash__packager_1_1media_1_1WebMContentEncodingsClient.html',1,'edash_packager::media']]], + ['webminfoparser',['WebMInfoParser',['../dd/d47/classedash__packager_1_1media_1_1WebMInfoParser.html',1,'edash_packager::media']]], + ['webmlistparser',['WebMListParser',['../d6/dd6/classedash__packager_1_1media_1_1WebMListParser.html',1,'edash_packager::media']]], + ['webmparserclient',['WebMParserClient',['../de/da5/classedash__packager_1_1media_1_1WebMParserClient.html',1,'edash_packager::media']]], + ['webmstreamparser',['WebMStreamParser',['../d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.html',1,'edash_packager::media']]], + ['webmtracksparser',['WebMTracksParser',['../db/d23/classedash__packager_1_1media_1_1WebMTracksParser.html',1,'edash_packager::media']]], + ['webmvideoclient',['WebMVideoClient',['../dc/d0c/classedash__packager_1_1media_1_1WebMVideoClient.html',1,'edash_packager::media']]], + ['webmwebvttparser',['WebMWebVTTParser',['../dc/dc8/classedash__packager_1_1media_1_1WebMWebVTTParser.html',1,'edash_packager::media']]], ['widevinekeysource',['WidevineKeySource',['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a78ebb07ba8a23086ec81839b16472857',1,'edash_packager::media::WidevineKeySource']]], ['widevinekeysource',['WidevineKeySource',['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html',1,'edash_packager::media']]], - ['write',['Write',['../de/d19/classedash__packager_1_1media_1_1File.html#ad82196743ff131dd81e8f806735eb818',1,'edash_packager::media::File::Write()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#a4b7ee97ec07a6b2702ae4b58c9df4413',1,'edash_packager::media::IoCache::Write()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a5987e35339fed1cdd1b68f787d1721b2',1,'edash_packager::media::LocalFile::Write()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a20b995241942ec2926b875692b42c13a',1,'edash_packager::media::ThreadedIoFile::Write()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#ae2900433ff9a02756a6b3f8e776a3cdb',1,'edash_packager::media::UdpFile::Write()'],['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#aa7a756828b5514fcd3eaf16d86c413c0',1,'edash_packager::media::mp4::Box::Write()']]], + ['write',['Write',['../de/d19/classedash__packager_1_1media_1_1File.html#ad82196743ff131dd81e8f806735eb818',1,'edash_packager::media::File::Write()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#a4b7ee97ec07a6b2702ae4b58c9df4413',1,'edash_packager::media::IoCache::Write()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a3a1ae071948947e9885b8afd4e5eebb4',1,'edash_packager::media::LocalFile::Write()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a7dc883b5751c9027adabfbb0b9edd876',1,'edash_packager::media::ThreadedIoFile::Write()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#adc71ee86f3926b7869e088f1f0bae0a4',1,'edash_packager::media::UdpFile::Write()'],['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#aa7a756828b5514fcd3eaf16d86c413c0',1,'edash_packager::media::mp4::Box::Write()']]], ['writempdtofile',['WriteMpdToFile',['../d3/dfa/classedash__packager_1_1MpdBuilder.html#a9efa414ddfaf48561f3085daada49ebc',1,'edash_packager::MpdBuilder::WriteMpdToFile()'],['../db/d09/namespaceedash__packager.html#a2ecf0fb529eaf5ab21310d309bb9f9e9',1,'edash_packager::WriteMpdToFile()']]], ['writer',['writer',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#ac1c1d4d768f8f656f6ac2b5f4873b0a1',1,'edash_packager::media::mp4::BoxBuffer']]], ['writetofile',['WriteToFile',['../df/dde/classedash__packager_1_1media_1_1BufferWriter.html#aa83fe945386e5a75d3c377904fdddce2',1,'edash_packager::media::BufferWriter']]], diff --git a/docs/search/all_16.js b/docs/search/all_16.js index 4bcb0d5122..fcde8c9fc2 100644 --- a/docs/search/all_16.js +++ b/docs/search/all_16.js @@ -1,5 +1,5 @@ var searchData= [ - ['_7eclosurethread',['~ClosureThread',['../dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html#ad39d7f6d00720f04b86f580118da68a5',1,'edash_packager::media::ClosureThread']]], + ['_7eclosurethread',['~ClosureThread',['../dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html#ac7a559c2312121cd383321076ca72c4b',1,'edash_packager::media::ClosureThread']]], ['_7efile',['~File',['../de/d19/classedash__packager_1_1media_1_1File.html#ad1a8b1df388b90def135647a0136b0f7',1,'edash_packager::media::File']]] ]; diff --git a/docs/search/all_2.js b/docs/search/all_2.js index 5fa21ab6ca..019342b7f3 100644 --- a/docs/search/all_2.js +++ b/docs/search/all_2.js @@ -5,22 +5,25 @@ var searchData= ['cencsampleencryptioninfoentry',['CencSampleEncryptionInfoEntry',['../d7/d55/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html',1,'edash_packager::media::mp4']]], ['childexist',['ChildExist',['../db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html#a5bc71875b0e8fe70cba17e2fe6f974fa',1,'edash_packager::media::mp4::BoxReader']]], ['chunkinfo',['ChunkInfo',['../d8/d21/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo.html',1,'edash_packager::media::mp4']]], - ['chunkinfoiterator',['ChunkInfoIterator',['../d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html',1,'edash_packager::media::mp4']]], ['chunkinfoiterator',['ChunkInfoIterator',['../d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html#a3461373a1fe3eaf1d58e1af93f5ca5aa',1,'edash_packager::media::mp4::ChunkInfoIterator']]], + ['chunkinfoiterator',['ChunkInfoIterator',['../d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html',1,'edash_packager::media::mp4']]], ['chunklargeoffset',['ChunkLargeOffset',['../da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html',1,'edash_packager::media::mp4']]], ['chunkoffset',['ChunkOffset',['../d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html',1,'edash_packager::media::mp4']]], ['clear',['Clear',['../d2/d90/classedash__packager_1_1media_1_1Status.html#a0fbada5284f16152c63ebcdd30c36736',1,'edash_packager::media::Status::Clear()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#ae8ed4943296a88e5d5356347e63c6a42',1,'edash_packager::media::IoCache::Clear()']]], - ['close',['Close',['../de/d19/classedash__packager_1_1media_1_1File.html#a42290da768cd34316d2f4c5fc3976b38',1,'edash_packager::media::File::Close()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#a4588dbf505a08da8423b525ce24fee92',1,'edash_packager::media::IoCache::Close()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a83fe4f07fe74b3a25c91a96f1f343a29',1,'edash_packager::media::LocalFile::Close()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#aa3fba6bc5c73a04dd7ca7911c79d1be9',1,'edash_packager::media::ThreadedIoFile::Close()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a316e2180c12a1712bbe9473a4597fa2c',1,'edash_packager::media::UdpFile::Close()']]], + ['close',['Close',['../de/d19/classedash__packager_1_1media_1_1File.html#a42290da768cd34316d2f4c5fc3976b38',1,'edash_packager::media::File::Close()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#a4588dbf505a08da8423b525ce24fee92',1,'edash_packager::media::IoCache::Close()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#ad8bcb9e07851a62c6440458ef2c31e4f',1,'edash_packager::media::LocalFile::Close()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a72f8485ab641d5e3b5df89a6959c1209',1,'edash_packager::media::ThreadedIoFile::Close()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a10c51a75395ecb97f89124e296a349d9',1,'edash_packager::media::UdpFile::Close()']]], ['closurethread',['ClosureThread',['../dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html#a8cbb44ca1f4abd7028ba4602af82de0d',1,'edash_packager::media::ClosureThread']]], ['closurethread',['ClosureThread',['../dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html',1,'edash_packager::media']]], + ['cluster',['Cluster',['../df/d40/classedash__packager_1_1media_1_1Cluster.html',1,'edash_packager::media']]], + ['clusterbuilder',['ClusterBuilder',['../d3/d69/classedash__packager_1_1media_1_1ClusterBuilder.html',1,'edash_packager::media']]], ['compactsamplesize',['CompactSampleSize',['../db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html',1,'edash_packager::media::mp4']]], ['compositionoffset',['CompositionOffset',['../da/dfe/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset.html',1,'edash_packager::media::mp4']]], - ['compositionoffsetiterator',['CompositionOffsetIterator',['../d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html',1,'edash_packager::media::mp4']]], ['compositionoffsetiterator',['CompositionOffsetIterator',['../d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html#ac81770b820bc9b942c8ed9b8a12969b6',1,'edash_packager::media::mp4::CompositionOffsetIterator']]], + ['compositionoffsetiterator',['CompositionOffsetIterator',['../d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html',1,'edash_packager::media::mp4']]], ['compositiontimetosample',['CompositionTimeToSample',['../da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html',1,'edash_packager::media::mp4']]], - ['computesize',['ComputeSize',['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#a308081198b1fa9f9e4653ad976014a16',1,'edash_packager::media::mp4::Box::ComputeSize()'],['../d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html#a70b376bfa3ed7be210497ffa2b456f8c',1,'edash_packager::media::mp4::FileType::ComputeSize()'],['../dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html#af9d01112f531869d030e3361ad758459',1,'edash_packager::media::mp4::SegmentType::ComputeSize()'],['../da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html#acb4b95a6f8281435b68ca2eeefb43497',1,'edash_packager::media::mp4::ProtectionSystemSpecificHeader::ComputeSize()'],['../de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html#a01dc0714530b06b10812e24c5098da95',1,'edash_packager::media::mp4::SampleAuxiliaryInformationOffset::ComputeSize()'],['../d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html#a19a37f76e205541befe3776acc61e786',1,'edash_packager::media::mp4::SampleAuxiliaryInformationSize::ComputeSize()'],['../da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html#a4a705bd9a9bbf57c14845c0a5fb8e404',1,'edash_packager::media::mp4::OriginalFormat::ComputeSize()'],['../d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html#a740144f46b76edcda51ed35043c6e271',1,'edash_packager::media::mp4::SchemeType::ComputeSize()'],['../de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html#aef0a237100a4fc719d2b660f245757b6',1,'edash_packager::media::mp4::TrackEncryption::ComputeSize()'],['../d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html#ae1a7f03cce40a6736ab4af8724c4a224',1,'edash_packager::media::mp4::SchemeInfo::ComputeSize()'],['../dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html#accd13d00375bb7e0e1c36e5c477c9430',1,'edash_packager::media::mp4::ProtectionSchemeInfo::ComputeSize()'],['../dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html#a4f0ceec9e870861a5da85312a063fc1d',1,'edash_packager::media::mp4::MovieHeader::ComputeSize()'],['../dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html#a26d1a0d13cd86332ca4ee47990b1fcad',1,'edash_packager::media::mp4::TrackHeader::ComputeSize()'],['../d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html#a96d1e66ddf00c1c4c746df8bac36ffc6',1,'edash_packager::media::mp4::EditList::ComputeSize()'],['../d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html#aea0ad2214b092cb715eb1fec60e55d83',1,'edash_packager::media::mp4::Edit::ComputeSize()'],['../d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html#aa419538295fb5a48293407c0e2946de7',1,'edash_packager::media::mp4::HandlerReference::ComputeSize()'],['../d8/dbb/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord.html#a9c8d24e4a1a7463bfa7dc0dcf7f5c221',1,'edash_packager::media::mp4::AVCDecoderConfigurationRecord::ComputeSize()'],['../d1/dc8/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox.html#acb770d7a721bf6134cd8430b17796f07',1,'edash_packager::media::mp4::PixelAspectRatioBox::ComputeSize()'],['../df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html#aa48cbdc2f85dd231ebff8545f1510246',1,'edash_packager::media::mp4::VideoSampleEntry::ComputeSize()'],['../d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html#a2b9986a0b19fdf4d68f89b28e450cb51',1,'edash_packager::media::mp4::ElementaryStreamDescriptor::ComputeSize()'],['../df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html#a4bbef873e7c8603e63e176197c794ce2',1,'edash_packager::media::mp4::AudioSampleEntry::ComputeSize()'],['../d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html#a4b90f5dd8bcde92a8b52def46a91a966',1,'edash_packager::media::mp4::SampleDescription::ComputeSize()'],['../dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html#a3affc991338288a7387a9aa760d18a8d',1,'edash_packager::media::mp4::DecodingTimeToSample::ComputeSize()'],['../da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html#ae896fdf2beefff0fc5634a70c5c8c823',1,'edash_packager::media::mp4::CompositionTimeToSample::ComputeSize()'],['../df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html#ae68342dbf4090359270712277782174f',1,'edash_packager::media::mp4::SampleToChunk::ComputeSize()'],['../d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html#aa70e74855b1f9376ca919224f756752d',1,'edash_packager::media::mp4::SampleSize::ComputeSize()'],['../db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html#ad5c6ba5fb139808dc02c94736d5458e9',1,'edash_packager::media::mp4::CompactSampleSize::ComputeSize()'],['../da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html#a991b5de79d547de62009b8d0f667ef2e',1,'edash_packager::media::mp4::ChunkLargeOffset::ComputeSize()'],['../d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html#a11c731fb14147399cc0b41c6df86f420',1,'edash_packager::media::mp4::ChunkOffset::ComputeSize()'],['../d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html#add9214f52fa7a772fd90b6cfb46d126e',1,'edash_packager::media::mp4::SyncSample::ComputeSize()'],['../d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html#a9de5d55994064b02da1e15f67f463b8c',1,'edash_packager::media::mp4::SampleTable::ComputeSize()'],['../d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html#a205d8ac5b69bf0c30d96f83612ea7ef5',1,'edash_packager::media::mp4::MediaHeader::ComputeSize()'],['../db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html#a487564c539ae330d105c11d91893e729',1,'edash_packager::media::mp4::VideoMediaHeader::ComputeSize()'],['../da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html#a911d881fd4ddcbd08220636c976131cb',1,'edash_packager::media::mp4::SoundMediaHeader::ComputeSize()'],['../d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html#ab31cbd4b92e85f4818e3c2851273b2b3',1,'edash_packager::media::mp4::DataEntryUrl::ComputeSize()'],['../d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html#ae9d7c3108d067a1877ab78701f6e094f',1,'edash_packager::media::mp4::DataReference::ComputeSize()'],['../d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html#aec8cefe3ee77026442606de05ad9fab2',1,'edash_packager::media::mp4::DataInformation::ComputeSize()'],['../dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html#a778f430be294714dbb1ce046c91a9d90',1,'edash_packager::media::mp4::MediaInformation::ComputeSize()'],['../de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html#abcc1078c48042de9a22c45cf43c57a24',1,'edash_packager::media::mp4::Media::ComputeSize()'],['../d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html#a9e63316b33f60fbbd427151ccc4cf362',1,'edash_packager::media::mp4::Track::ComputeSize()'],['../da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html#a05e1f3bbddd01beeac2fc74c91e7a7b9',1,'edash_packager::media::mp4::MovieExtendsHeader::ComputeSize()'],['../d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html#a901f92e643e717bff9f15d2d60f82263',1,'edash_packager::media::mp4::TrackExtends::ComputeSize()'],['../d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html#a46d5b4563b2bc9ab0bec8c01dfaf8d9e',1,'edash_packager::media::mp4::MovieExtends::ComputeSize()'],['../d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html#ac20ee937a3b3f729c297cee8ca248631',1,'edash_packager::media::mp4::Movie::ComputeSize()'],['../d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html#ae12a6c2e4911ce32ef7329a57c73d6f4',1,'edash_packager::media::mp4::TrackFragmentDecodeTime::ComputeSize()'],['../df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html#abfb490674198f191115062cc323301d9',1,'edash_packager::media::mp4::MovieFragmentHeader::ComputeSize()'],['../d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html#ab37fe3a3aa8e4cbb44d5ef74b017a61b',1,'edash_packager::media::mp4::TrackFragmentHeader::ComputeSize()'],['../df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html#a1990d61f437d6c00b34d24879093dba7',1,'edash_packager::media::mp4::TrackFragmentRun::ComputeSize()'],['../d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html#a299f9846b41dbda38a661a272fb9f193',1,'edash_packager::media::mp4::SampleToGroup::ComputeSize()'],['../d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html#a87cea8f911a5b4aa5878c1a4745e15c8',1,'edash_packager::media::mp4::SampleGroupDescription::ComputeSize()'],['../d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html#aef01b7dd73fe290b1b30d9865ed25384',1,'edash_packager::media::mp4::TrackFragment::ComputeSize()'],['../dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html#abff1d6806ec6a0c1a2c1b28dc9967246',1,'edash_packager::media::mp4::MovieFragment::ComputeSize()'],['../d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html#aeafe332bcb895a90db770f509dac1001',1,'edash_packager::media::mp4::SegmentIndex::ComputeSize()']]], + ['computesize',['ComputeSize',['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#a308081198b1fa9f9e4653ad976014a16',1,'edash_packager::media::mp4::Box::ComputeSize()'],['../d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html#a9a35918ae9926d5a8de62de3fe3e4633',1,'edash_packager::media::mp4::FileType::ComputeSize()'],['../dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html#a1435881b64475f2b25c03892848fb5db',1,'edash_packager::media::mp4::SegmentType::ComputeSize()'],['../da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html#a63ef4d49a7b8b243b5638a6d7c103f1f',1,'edash_packager::media::mp4::ProtectionSystemSpecificHeader::ComputeSize()'],['../de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html#acee5016b00abd31077e9418ba11d0fa7',1,'edash_packager::media::mp4::SampleAuxiliaryInformationOffset::ComputeSize()'],['../d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html#aa44629c6bd902b46777156e665cad07f',1,'edash_packager::media::mp4::SampleAuxiliaryInformationSize::ComputeSize()'],['../da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html#a87b7c52641305ce4d798dd668d6756ec',1,'edash_packager::media::mp4::OriginalFormat::ComputeSize()'],['../d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html#a71f44ff9cca6d198949660fb249360d7',1,'edash_packager::media::mp4::SchemeType::ComputeSize()'],['../de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html#a65a57b19166e5a991fbdf2c4f4dfb8b2',1,'edash_packager::media::mp4::TrackEncryption::ComputeSize()'],['../d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html#a91c8e944c00f39f177ba760bec0a8f4a',1,'edash_packager::media::mp4::SchemeInfo::ComputeSize()'],['../dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html#a96bcc9da38534b1e435a64b54088ddf0',1,'edash_packager::media::mp4::ProtectionSchemeInfo::ComputeSize()'],['../dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html#a98f0e4357b76371c138d1f4668341dfc',1,'edash_packager::media::mp4::MovieHeader::ComputeSize()'],['../dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html#a6511792049c0cbf8885bec4fbb7061f9',1,'edash_packager::media::mp4::TrackHeader::ComputeSize()'],['../d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html#a11a352da04af26680d0cf5177d61fd5e',1,'edash_packager::media::mp4::EditList::ComputeSize()'],['../d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html#a14c1a549b11f692b5f0633b7125c3ae3',1,'edash_packager::media::mp4::Edit::ComputeSize()'],['../d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html#a3d9b29d66fee15035ac5ca69e0adeaf5',1,'edash_packager::media::mp4::HandlerReference::ComputeSize()'],['../d8/dbb/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord.html#a96c8bca868ad19729efe44a50de9c1c2',1,'edash_packager::media::mp4::AVCDecoderConfigurationRecord::ComputeSize()'],['../d1/dc8/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox.html#a37421c72cfd99b5e1dfdee818a6650f7',1,'edash_packager::media::mp4::PixelAspectRatioBox::ComputeSize()'],['../df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html#aa977e4caab29d9efb12577d8bfbba818',1,'edash_packager::media::mp4::VideoSampleEntry::ComputeSize()'],['../d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html#a08e90c754d415f9fa851f14a82849627',1,'edash_packager::media::mp4::ElementaryStreamDescriptor::ComputeSize()'],['../df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html#af74d9b19c4c9bf649bda8791d6fa5f58',1,'edash_packager::media::mp4::AudioSampleEntry::ComputeSize()'],['../d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html#ac5c6abc8d36c7bb2136f18ac5d1b5368',1,'edash_packager::media::mp4::SampleDescription::ComputeSize()'],['../dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html#aa3f3c842b8664389c26b23f9ab4e31cb',1,'edash_packager::media::mp4::DecodingTimeToSample::ComputeSize()'],['../da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html#a57ac0c7400d16cee449e3bf8b73a53dd',1,'edash_packager::media::mp4::CompositionTimeToSample::ComputeSize()'],['../df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html#a0093bc7fe20955fc6b5e91103b84be60',1,'edash_packager::media::mp4::SampleToChunk::ComputeSize()'],['../d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html#af7d69581466475192e91709c97d21ecc',1,'edash_packager::media::mp4::SampleSize::ComputeSize()'],['../db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html#a61b9d0cf0b2e5c64fc278cadfcb2dd6d',1,'edash_packager::media::mp4::CompactSampleSize::ComputeSize()'],['../da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html#ab6f87ec8a31c76f2e35edf45608fd543',1,'edash_packager::media::mp4::ChunkLargeOffset::ComputeSize()'],['../d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html#a6d29fc7ed591d451602a6715da412bd5',1,'edash_packager::media::mp4::ChunkOffset::ComputeSize()'],['../d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html#a8cb53a889fcd586d30d151f605488962',1,'edash_packager::media::mp4::SyncSample::ComputeSize()'],['../d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html#a970de7eb21b0d9d6c6d5ec712e820c9e',1,'edash_packager::media::mp4::SampleTable::ComputeSize()'],['../d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html#ac7a87233d07c7e1463dff2c61a699d0b',1,'edash_packager::media::mp4::MediaHeader::ComputeSize()'],['../db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html#a4d5984fc09138282e29813f8afc84d05',1,'edash_packager::media::mp4::VideoMediaHeader::ComputeSize()'],['../da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html#a8aa6cd627929310db049a0a331bd246f',1,'edash_packager::media::mp4::SoundMediaHeader::ComputeSize()'],['../d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html#ae1d458e8604d271671f127b12976e96c',1,'edash_packager::media::mp4::DataEntryUrl::ComputeSize()'],['../d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html#a3001840c8f3bb6f07ff5d8fd61eacaa0',1,'edash_packager::media::mp4::DataReference::ComputeSize()'],['../d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html#a3828a5e79dc7f81cedec545d2a4a6907',1,'edash_packager::media::mp4::DataInformation::ComputeSize()'],['../dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html#abc1485f9e36b4d05dcb04d5545f61523',1,'edash_packager::media::mp4::MediaInformation::ComputeSize()'],['../de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html#a8638a1068c3449829c2e98f1bf81fa8c',1,'edash_packager::media::mp4::Media::ComputeSize()'],['../d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html#a35ce8375ed40c9d319c69926b63811d1',1,'edash_packager::media::mp4::Track::ComputeSize()'],['../da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html#aab2d0643fe0ca1f2db0f562c424d3f17',1,'edash_packager::media::mp4::MovieExtendsHeader::ComputeSize()'],['../d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html#a9c158ad0fae3cc804dfb01182ec9bb40',1,'edash_packager::media::mp4::TrackExtends::ComputeSize()'],['../d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html#a2411f9aa36ae1d44f615423255a82ea2',1,'edash_packager::media::mp4::MovieExtends::ComputeSize()'],['../d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html#aa985dd14863b1bb4803e4a3a44052c32',1,'edash_packager::media::mp4::Movie::ComputeSize()'],['../d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html#a79cef3eb30362f998f85e5dca409527c',1,'edash_packager::media::mp4::TrackFragmentDecodeTime::ComputeSize()'],['../df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html#a02661d289aaa12e286adcf68d4f6a779',1,'edash_packager::media::mp4::MovieFragmentHeader::ComputeSize()'],['../d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html#a96ec9c8087e0d5b333520705b50b1f21',1,'edash_packager::media::mp4::TrackFragmentHeader::ComputeSize()'],['../df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html#a9f821047d359bb22e77c72d347b2bbba',1,'edash_packager::media::mp4::TrackFragmentRun::ComputeSize()'],['../d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html#a6598e25c4bcff437b1584e8e3dd0173e',1,'edash_packager::media::mp4::SampleToGroup::ComputeSize()'],['../d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html#a434cabc0e6b47158863ff522d345270b',1,'edash_packager::media::mp4::SampleGroupDescription::ComputeSize()'],['../d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html#a937dc821489803e4ee759eebb98f7cfb',1,'edash_packager::media::mp4::TrackFragment::ComputeSize()'],['../dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html#a9e43e423495777bd8020f85f0d87b1ad',1,'edash_packager::media::mp4::MovieFragment::ComputeSize()'],['../d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html#a4ae43d06df7765c5384e6234e2b41b9c',1,'edash_packager::media::mp4::SegmentIndex::ComputeSize()']]], ['connect',['Connect',['../d2/dfd/classedash__packager_1_1media_1_1MediaStream.html#a05b7188c263dc71b00635415bbdfd37f',1,'edash_packager::media::MediaStream']]], ['container_5fname',['container_name',['../d5/dce/classedash__packager_1_1media_1_1Demuxer.html#a650a6cfceda9dcd9c05feefbe0773057',1,'edash_packager::media::Demuxer']]], + ['contentencoding',['ContentEncoding',['../df/d30/classedash__packager_1_1media_1_1ContentEncoding.html',1,'edash_packager::media']]], ['contentprotectionelement',['ContentProtectionElement',['../d0/d96/structedash__packager_1_1ContentProtectionElement.html',1,'edash_packager']]], ['convertbytestreamtonalunitstream',['ConvertByteStreamToNalUnitStream',['../d5/d30/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter.html#a63d265a1448b3a3534ba7c9c6c5c4178',1,'edash_packager::media::H264ByteToUnitStreamConverter']]], ['converttoadts',['ConvertToADTS',['../dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html#a4413882e6649fc144d6ab2c1e9643a93',1,'edash_packager::media::mp4::AACAudioSpecificConfig']]], diff --git a/docs/search/all_5.js b/docs/search/all_5.js index 441ebe40f6..d51881f2df 100644 --- a/docs/search/all_5.js +++ b/docs/search/all_5.js @@ -1,14 +1,14 @@ var searchData= [ - ['fetchkeys',['FetchKeys',['../d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html#a4fc91ba68a7ae4bd63c1b36ed859afda',1,'edash_packager::media::HttpKeyFetcher::FetchKeys()'],['../d4/d43/classedash__packager_1_1media_1_1KeyFetcher.html#ae633bbf42ceb4c4c149a2409517047e5',1,'edash_packager::media::KeyFetcher::FetchKeys()'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a4020839c22a550bf71d891bf55087e0b',1,'edash_packager::media::KeySource::FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy)'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#aff319f4d17ed480243469eb8af5fa915',1,'edash_packager::media::KeySource::FetchKeys(const std::vector< uint8_t > &pssh_data)'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a68de1e9682273c2dc9b8db04718d426c',1,'edash_packager::media::KeySource::FetchKeys(uint32_t asset_id)'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#ae1c98fdfcd87e43dd66649eaf7803777',1,'edash_packager::media::WidevineKeySource::FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy) OVERRIDE'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#aad9a049ef0b09f7f8144cd7109ae0172',1,'edash_packager::media::WidevineKeySource::FetchKeys(const std::vector< uint8_t > &pssh_data) OVERRIDE'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a51db56855b151c5e52466e226d6350dd',1,'edash_packager::media::WidevineKeySource::FetchKeys(uint32_t asset_id) OVERRIDE']]], + ['fetchkeys',['FetchKeys',['../d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html#ab3d7adf67bd5898b760ac949454362c6',1,'edash_packager::media::HttpKeyFetcher::FetchKeys()'],['../d4/d43/classedash__packager_1_1media_1_1KeyFetcher.html#ae633bbf42ceb4c4c149a2409517047e5',1,'edash_packager::media::KeyFetcher::FetchKeys()'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a4020839c22a550bf71d891bf55087e0b',1,'edash_packager::media::KeySource::FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy)'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#aff319f4d17ed480243469eb8af5fa915',1,'edash_packager::media::KeySource::FetchKeys(const std::vector< uint8_t > &pssh_data)'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a68de1e9682273c2dc9b8db04718d426c',1,'edash_packager::media::KeySource::FetchKeys(uint32_t asset_id)'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a59b0688cd8c8ad9a3100f3bce8cb340c',1,'edash_packager::media::WidevineKeySource::FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy) override'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#af2984003ec87712623024c22075e9359',1,'edash_packager::media::WidevineKeySource::FetchKeys(const std::vector< uint8_t > &pssh_data) override'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#abc2c55f49f2c93a76dee393938869f24',1,'edash_packager::media::WidevineKeySource::FetchKeys(uint32_t asset_id) override']]], ['file',['File',['../de/d19/classedash__packager_1_1media_1_1File.html',1,'edash_packager::media']]], ['file_5fname',['file_name',['../de/d19/classedash__packager_1_1media_1_1File.html#ad736ca7bb8da1cec749f51275a87872c',1,'edash_packager::media::File']]], ['filecloser',['FileCloser',['../d0/ddc/structedash__packager_1_1media_1_1FileCloser.html',1,'edash_packager::media']]], ['filetype',['FileType',['../d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html',1,'edash_packager::media::mp4']]], ['finalize',['Finalize',['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#ad1136a3e7c2e796267fbd3879d108c2a',1,'edash_packager::media::mp4::Segmenter']]], - ['finalizefragment',['FinalizeFragment',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a55fb4db47cb106c39a411f8890619d91',1,'edash_packager::media::mp4::EncryptingFragmenter::FinalizeFragment()'],['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#a5f346308fec8fa24cf47cf7ffd21d741',1,'edash_packager::media::mp4::Fragmenter::FinalizeFragment()']]], - ['finalizefragmentforencryption',['FinalizeFragmentForEncryption',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a0184deccbe7e99ea7a685cf0de2f9156',1,'edash_packager::media::mp4::EncryptingFragmenter::FinalizeFragmentForEncryption()'],['../dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html#ac3e6524b5456598717425c868785c320',1,'edash_packager::media::mp4::KeyRotationFragmenter::FinalizeFragmentForEncryption()']]], - ['flush',['Flush',['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#ad9906a71035190a798a9aa8aed0a92b8',1,'edash_packager::media::MediaParser::Flush()'],['../de/d19/classedash__packager_1_1media_1_1File.html#ace9275a79c572614ee5d068a04c76392',1,'edash_packager::media::File::Flush()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a45443ac38c05ca205cbb1d49a9ed6e7a',1,'edash_packager::media::LocalFile::Flush()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a41687c598757658a4e81a9aa2542c4d7',1,'edash_packager::media::ThreadedIoFile::Flush()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a0d0b73919bc1f30a0b697dc39e6e9413',1,'edash_packager::media::UdpFile::Flush()'],['../dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#a3b4fdfa2e74ea2817c44a23feb714758',1,'edash_packager::media::mp2t::Mp2tMediaParser::Flush()'],['../d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html#a22f451f9ca693732e0c57e0a46b6a0c6',1,'edash_packager::media::mp4::MP4MediaParser::Flush()'],['../d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html#a812b6a9ecaf18d4cd5da3b0c4adca5b6',1,'edash_packager::media::wvm::WvmMediaParser::Flush()'],['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a952baa36fc361001a1101c39850a160c',1,'edash_packager::DashIopMpdNotifier::Flush()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#aaeba5920a9df8db366f8cf86d64e855c',1,'edash_packager::MpdNotifier::Flush()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a39ebf425f66423a336eeca00fbf0be5e',1,'edash_packager::SimpleMpdNotifier::Flush()']]], + ['finalizefragment',['FinalizeFragment',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a7917221a0f5093ad6770926ee0ae0ce2',1,'edash_packager::media::mp4::EncryptingFragmenter::FinalizeFragment()'],['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#a5f346308fec8fa24cf47cf7ffd21d741',1,'edash_packager::media::mp4::Fragmenter::FinalizeFragment()']]], + ['finalizefragmentforencryption',['FinalizeFragmentForEncryption',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a0184deccbe7e99ea7a685cf0de2f9156',1,'edash_packager::media::mp4::EncryptingFragmenter::FinalizeFragmentForEncryption()'],['../dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html#a9a89e103f4bcb483d882e5dc62060cdc',1,'edash_packager::media::mp4::KeyRotationFragmenter::FinalizeFragmentForEncryption()']]], + ['flush',['Flush',['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#ad9906a71035190a798a9aa8aed0a92b8',1,'edash_packager::media::MediaParser::Flush()'],['../de/d19/classedash__packager_1_1media_1_1File.html#ace9275a79c572614ee5d068a04c76392',1,'edash_packager::media::File::Flush()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a4ab0f69a137a370d49005a1c9f13259d',1,'edash_packager::media::LocalFile::Flush()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a7d65b07dd7545b7c6d759884b736ad2d',1,'edash_packager::media::ThreadedIoFile::Flush()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#acde300494ef44cdbefac7dbf27b6707f',1,'edash_packager::media::UdpFile::Flush()'],['../dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#a351806157b3a17e69bf7d06c8259459c',1,'edash_packager::media::mp2t::Mp2tMediaParser::Flush()'],['../d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html#a042ad7caecf9ff854029a9b72a9b35b4',1,'edash_packager::media::mp4::MP4MediaParser::Flush()'],['../d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.html#ab0d151b74a2d567dbd400289028ff1f1',1,'edash_packager::media::WebMStreamParser::Flush()'],['../d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html#ae9e96b9a9d63c3bc4e8365b0538e89eb',1,'edash_packager::media::wvm::WvmMediaParser::Flush()'],['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a74080da948602a4deb88046e56eda79e',1,'edash_packager::DashIopMpdNotifier::Flush()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#aaeba5920a9df8db366f8cf86d64e855c',1,'edash_packager::MpdNotifier::Flush()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a701f3e8f0260ce8300fb9e4b31558a8d',1,'edash_packager::SimpleMpdNotifier::Flush()']]], ['forcesetsegmentalignment',['ForceSetSegmentAlignment',['../db/de4/classedash__packager_1_1AdaptationSet.html#a949526c833122b9a1ca40b9990224990',1,'edash_packager::AdaptationSet']]], ['fragment_5fduration',['fragment_duration',['../de/d57/structedash__packager_1_1media_1_1MuxerOptions.html#a1754599c00fdf4c474d3072abf71c1de',1,'edash_packager::media::MuxerOptions']]], ['fragment_5fsap_5faligned',['fragment_sap_aligned',['../de/d57/structedash__packager_1_1media_1_1MuxerOptions.html#ab70f1d41f9556fa793ec638762d1c584',1,'edash_packager::media::MuxerOptions']]], diff --git a/docs/search/all_6.js b/docs/search/all_6.js index 11a5441fe9..c35bdb2f16 100644 --- a/docs/search/all_6.js +++ b/docs/search/all_6.js @@ -1,7 +1,7 @@ var searchData= [ ['generatesegmentreference',['GenerateSegmentReference',['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#a04350ab4d9b2b403d8b150512786b7ec',1,'edash_packager::media::mp4::Fragmenter']]], - ['generatesignature',['GenerateSignature',['../dc/d73/classedash__packager_1_1media_1_1RequestSigner.html#a76278a2339751c4e69876e63cc088ef6',1,'edash_packager::media::RequestSigner::GenerateSignature()'],['../d8/dcc/classedash__packager_1_1media_1_1AesRequestSigner.html#a51991363bcf03d2413021eedb604cec0',1,'edash_packager::media::AesRequestSigner::GenerateSignature()'],['../dd/da8/classedash__packager_1_1media_1_1RsaRequestSigner.html#accde8727716a5ae84cb422efa1d65d0a',1,'edash_packager::media::RsaRequestSigner::GenerateSignature()'],['../d5/d62/classedash__packager_1_1media_1_1RsaPrivateKey.html#ab402109f8456af90f3cc34cee76184d9',1,'edash_packager::media::RsaPrivateKey::GenerateSignature()']]], + ['generatesignature',['GenerateSignature',['../dc/d73/classedash__packager_1_1media_1_1RequestSigner.html#a76278a2339751c4e69876e63cc088ef6',1,'edash_packager::media::RequestSigner::GenerateSignature()'],['../d8/dcc/classedash__packager_1_1media_1_1AesRequestSigner.html#abd7ef59b6d38ee2baa7c095fde6d9d69',1,'edash_packager::media::AesRequestSigner::GenerateSignature()'],['../dd/da8/classedash__packager_1_1media_1_1RsaRequestSigner.html#abeb03b173b601577b16cd18a1cf70738',1,'edash_packager::media::RsaRequestSigner::GenerateSignature()'],['../d5/d62/classedash__packager_1_1media_1_1RsaPrivateKey.html#ab402109f8456af90f3cc34cee76184d9',1,'edash_packager::media::RsaPrivateKey::GenerateSignature()']]], ['get',['Get',['../d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html#a20da7a424dfe7ec7bf198b118a08aacb',1,'edash_packager::media::HttpKeyFetcher']]], ['getadtsframesize',['GetAdtsFrameSize',['../db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html#aacce540b215432703697c6a1172c3011',1,'edash_packager::media::mp2t::AdtsHeader']]], ['getadtsheadersize',['GetAdtsHeaderSize',['../db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html#a87affdf0dc61bedb13bafd76c3d5b484',1,'edash_packager::media::mp2t::AdtsHeader']]], @@ -9,13 +9,13 @@ var searchData= ['getavcdecoderconfigurationrecord',['GetAVCDecoderConfigurationRecord',['../d5/d30/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter.html#a0f4d8f75700dc0674eb6eb9c7d6dd393',1,'edash_packager::media::H264ByteToUnitStreamConverter']]], ['getcodecstring',['GetCodecString',['../da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html#aa62e486f463c867b8e2f41ebb4ecea34',1,'edash_packager::media::AudioStreamInfo::GetCodecString()'],['../d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html#a801612f825520fae9c3c3ce1de138128',1,'edash_packager::media::VideoStreamInfo::GetCodecString()']]], ['getcontenttype',['GetContentType',['../db/d09/namespaceedash__packager.html#a7f479c5670e5c9f721772e0bd316bff9',1,'edash_packager']]], - ['getcryptoperiodkey',['GetCryptoPeriodKey',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a349381b866a37df15a931980636621ac',1,'edash_packager::media::KeySource::GetCryptoPeriodKey()'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a92e7ca7acadd1beed5b301dc092d5d75',1,'edash_packager::media::WidevineKeySource::GetCryptoPeriodKey()']]], + ['getcryptoperiodkey',['GetCryptoPeriodKey',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a349381b866a37df15a931980636621ac',1,'edash_packager::media::KeySource::GetCryptoPeriodKey()'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a35023c0b18a2db012027d4cf22c7bf1b',1,'edash_packager::media::WidevineKeySource::GetCryptoPeriodKey()']]], ['getdecryptconfig',['GetDecryptConfig',['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#ae62fc9fe719f4432d4043ea2f43963c6',1,'edash_packager::media::mp4::TrackRunIterator']]], ['getduration',['GetDuration',['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#a0e5e570d5f82c796ba015ca06c7a676c',1,'edash_packager::media::mp4::Segmenter']]], ['getfilesize',['GetFileSize',['../de/d19/classedash__packager_1_1media_1_1File.html#a239a76adb5ff5c5340c58f96d7034ec6',1,'edash_packager::media::File']]], - ['getindexrange',['GetIndexRange',['../dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html#ac536e13f4e0940566ac1fe53fb7f4dc6',1,'edash_packager::media::mp4::MultiSegmentSegmenter::GetIndexRange()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#acbb0ad06a2e0effee437c9037970c5b2',1,'edash_packager::media::mp4::Segmenter::GetIndexRange()'],['../da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html#a4c5ed066a3f37ac24211a8a793d18840',1,'edash_packager::media::mp4::SingleSegmentSegmenter::GetIndexRange()']]], - ['getinitrange',['GetInitRange',['../dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html#aa8a22b2a7e271abed76c25b531a919fd',1,'edash_packager::media::mp4::MultiSegmentSegmenter::GetInitRange()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#ae2b35481b5fd2a0bbbcfb970bbaddf12',1,'edash_packager::media::mp4::Segmenter::GetInitRange()'],['../da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html#ac66a1ec675201ed886a4470ebc02bbaa',1,'edash_packager::media::mp4::SingleSegmentSegmenter::GetInitRange()']]], - ['getkey',['GetKey',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a49ccfe7a61c36ac9818482a7892915d3',1,'edash_packager::media::KeySource::GetKey(TrackType track_type, EncryptionKey *key)'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a2d44267b238a221bb8a7d2bc1bf68ea2',1,'edash_packager::media::KeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key)'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#aa0bb08bc936e7ba6b554214246c71a90',1,'edash_packager::media::WidevineKeySource::GetKey(TrackType track_type, EncryptionKey *key) OVERRIDE'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a57be27cf9214278ae5f911b9fbe7078d',1,'edash_packager::media::WidevineKeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key) OVERRIDE']]], + ['getindexrange',['GetIndexRange',['../dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html#a789a8b0449e433076dfc0c2344d32280',1,'edash_packager::media::mp4::MultiSegmentSegmenter::GetIndexRange()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#acbb0ad06a2e0effee437c9037970c5b2',1,'edash_packager::media::mp4::Segmenter::GetIndexRange()'],['../da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html#a2e799317de70044cdd95e5406e1e2510',1,'edash_packager::media::mp4::SingleSegmentSegmenter::GetIndexRange()']]], + ['getinitrange',['GetInitRange',['../dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html#a88be93ad6cce209ceaf086ab98009516',1,'edash_packager::media::mp4::MultiSegmentSegmenter::GetInitRange()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#ae2b35481b5fd2a0bbbcfb970bbaddf12',1,'edash_packager::media::mp4::Segmenter::GetInitRange()'],['../da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html#aab8ffe19fcdd8688e9685264ad10fa60',1,'edash_packager::media::mp4::SingleSegmentSegmenter::GetInitRange()']]], + ['getkey',['GetKey',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a49ccfe7a61c36ac9818482a7892915d3',1,'edash_packager::media::KeySource::GetKey(TrackType track_type, EncryptionKey *key)'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a2d44267b238a221bb8a7d2bc1bf68ea2',1,'edash_packager::media::KeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key)'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#ac1e7cae9bd5f008f20ca1d1603588441',1,'edash_packager::media::WidevineKeySource::GetKey(TrackType track_type, EncryptionKey *key) override'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a7b65c5c7b65d7e304956c86f5c058c1a',1,'edash_packager::media::WidevineKeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key) override']]], ['getmaxclearoffset',['GetMaxClearOffset',['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#a0927d4e877f453b00e3eb08230510a6c',1,'edash_packager::media::mp4::TrackRunIterator']]], ['getnumchannels',['GetNumChannels',['../db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html#aceebc7b088f459286fb3c338fa0b5407',1,'edash_packager::media::mp2t::AdtsHeader::GetNumChannels()'],['../dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html#abc1eea761852eb3d714a2f867f54db76',1,'edash_packager::media::mp4::AACAudioSpecificConfig::GetNumChannels()']]], ['getobjecttype',['GetObjectType',['../db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html#acadaa27044a3976e210c3dae65bff1a6',1,'edash_packager::media::mp2t::AdtsHeader']]], diff --git a/docs/search/all_8.js b/docs/search/all_8.js index 3bfde53b45..fa85a1ab71 100644 --- a/docs/search/all_8.js +++ b/docs/search/all_8.js @@ -2,10 +2,10 @@ var searchData= [ ['id',['id',['../d7/d15/classedash__packager_1_1Representation.html#a0a59920aa8a31f1fb2b30a2ee8cc4e95',1,'edash_packager::Representation']]], ['ignorebytes',['IgnoreBytes',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#a7efa53df1ef135edd31d1e1818b9a884',1,'edash_packager::media::mp4::BoxBuffer']]], - ['init',['Init',['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#a7ac1ee5db298922f094920cd564bfb16',1,'edash_packager::media::MediaParser::Init()'],['../dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#a14a6993c335f89e8245f1af47fb9e55a',1,'edash_packager::media::mp2t::Mp2tMediaParser::Init()'],['../d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html#abe7532e2795f7b08e9663c0c2ba4d5f3',1,'edash_packager::media::mp4::MP4MediaParser::Init()'],['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#a6fd0f1d72f9a31a1c0d26c3b1ae25250',1,'edash_packager::media::mp4::TrackRunIterator::Init()'],['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#a354985cb4f5eed26e91dbb343a6343a0',1,'edash_packager::media::mp4::TrackRunIterator::Init(const MovieFragment &moof)'],['../d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html#a68d3bba403b0741c7948def9325d5ad1',1,'edash_packager::media::wvm::WvmMediaParser::Init()'],['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#ad126fe89d3bb63124c48630d39c034f3',1,'edash_packager::DashIopMpdNotifier::Init()'],['../d7/d15/classedash__packager_1_1Representation.html#aac7ad6e54e88b4d31196d54ad5fb4a9d',1,'edash_packager::Representation::Init()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#ae7067d35133b0573a2919fb69195328e',1,'edash_packager::MpdNotifier::Init()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a08979abd3c71bb40fa37d24989d84d19',1,'edash_packager::SimpleMpdNotifier::Init()']]], + ['init',['Init',['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#a7ac1ee5db298922f094920cd564bfb16',1,'edash_packager::media::MediaParser::Init()'],['../dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#abfcd1be5f00d8091feb044e7199966f5',1,'edash_packager::media::mp2t::Mp2tMediaParser::Init()'],['../d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html#a4ef745c8846adc9e932059a4e91f67c2',1,'edash_packager::media::mp4::MP4MediaParser::Init()'],['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#a6fd0f1d72f9a31a1c0d26c3b1ae25250',1,'edash_packager::media::mp4::TrackRunIterator::Init()'],['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#a354985cb4f5eed26e91dbb343a6343a0',1,'edash_packager::media::mp4::TrackRunIterator::Init(const MovieFragment &moof)'],['../d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.html#ae46318cf5b0e9d1c88ad5978c090f3df',1,'edash_packager::media::WebMStreamParser::Init()'],['../d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html#aef36e6f7cc6bdb2c6b287ae07ef9a55a',1,'edash_packager::media::wvm::WvmMediaParser::Init()'],['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#ace93090275f0ef9b33cf62648f854690',1,'edash_packager::DashIopMpdNotifier::Init()'],['../d7/d15/classedash__packager_1_1Representation.html#aac7ad6e54e88b4d31196d54ad5fb4a9d',1,'edash_packager::Representation::Init()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#ae7067d35133b0573a2919fb69195328e',1,'edash_packager::MpdNotifier::Init()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a8c0efff460547138724769b768ae6341',1,'edash_packager::SimpleMpdNotifier::Init()']]], ['initcb',['InitCB',['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#af5c74c8723a5306faddcdfdcadb4ab4a',1,'edash_packager::media::MediaParser']]], ['initialize',['Initialize',['../d5/dce/classedash__packager_1_1media_1_1Demuxer.html#a5b156dbf1d1c86f4d18e137b3f7bc7c9',1,'edash_packager::media::Demuxer::Initialize()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#ae977765092cab9a566b4a5a3e9184370',1,'edash_packager::media::mp4::Segmenter::Initialize()']]], - ['initializefragment',['InitializeFragment',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#ac7623c16e5a71727e85ac2857a2c025b',1,'edash_packager::media::mp4::EncryptingFragmenter::InitializeFragment()'],['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#ab55cbcb40b4c1308d70052a4b8ccd6af',1,'edash_packager::media::mp4::Fragmenter::InitializeFragment()']]], + ['initializefragment',['InitializeFragment',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a3159dcc8d0f02da113715a97d096afef',1,'edash_packager::media::mp4::EncryptingFragmenter::InitializeFragment()'],['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#ab55cbcb40b4c1308d70052a4b8ccd6af',1,'edash_packager::media::mp4::Fragmenter::InitializeFragment()']]], ['initializewithiv',['InitializeWithIv',['../dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html#a7e755a2bc06f35c8b3de9a7ab8b538cd',1,'edash_packager::media::AesCtrEncryptor::InitializeWithIv()'],['../d6/dc4/classedash__packager_1_1media_1_1AesCbcPkcs5Encryptor.html#a6a960fa0d83359156cfd6e10167a69e2',1,'edash_packager::media::AesCbcPkcs5Encryptor::InitializeWithIv()'],['../db/dfe/classedash__packager_1_1media_1_1AesCbcPkcs5Decryptor.html#aaa17492b546264e815971e9f6925a460',1,'edash_packager::media::AesCbcPkcs5Decryptor::InitializeWithIv()'],['../d6/da2/classedash__packager_1_1media_1_1AesCbcCtsEncryptor.html#a5f48de14959ae35fdd9e2e95ab0274b4',1,'edash_packager::media::AesCbcCtsEncryptor::InitializeWithIv()'],['../dd/d96/classedash__packager_1_1media_1_1AesCbcCtsDecryptor.html#a4ae122dc7410cccec81eabbffa7601da',1,'edash_packager::media::AesCbcCtsDecryptor::InitializeWithIv()']]], ['initializewithrandomiv',['InitializeWithRandomIv',['../dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html#a3d1c0717e1310823bd6827299b6050ef',1,'edash_packager::media::AesCtrEncryptor']]], ['iocache',['IoCache',['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html',1,'edash_packager::media']]], @@ -14,6 +14,6 @@ var searchData= ['issamplevalid',['IsSampleValid',['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#aac5201a3e14e410c805f5f9b58e88c22',1,'edash_packager::media::mp4::TrackRunIterator']]], ['issyncsample',['IsSyncSample',['../db/d01/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator.html#a19c0a90ae6ce549a8826569103bdee1c',1,'edash_packager::media::mp4::SyncSampleIterator::IsSyncSample() const '],['../db/d01/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator.html#a87c6402aa414c9e5f87634d33a9fad6c',1,'edash_packager::media::mp4::SyncSampleIterator::IsSyncSample(uint32_t sample) const ']]], ['isvalid',['IsValid',['../d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html#a83f8702a396ae63c94e79ae7d32cdcbf',1,'edash_packager::media::mp4::ChunkInfoIterator::IsValid()'],['../d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html#adf687bc7500b4c97f0ae170ea2254c09',1,'edash_packager::media::mp4::CompositionOffsetIterator::IsValid()'],['../d4/d90/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator.html#a182b0464b4681a63ac3453b4b5b1aa28',1,'edash_packager::media::mp4::DecodingTimeIterator::IsValid()']]], - ['isvalidconfig',['IsValidConfig',['../da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html#a836ab95546bab0becf5b3ada7cbf59c5',1,'edash_packager::media::AudioStreamInfo::IsValidConfig()'],['../d6/d06/classedash__packager_1_1media_1_1StreamInfo.html#ac2a38c803b8baf748ed66b4cf681518f',1,'edash_packager::media::StreamInfo::IsValidConfig()'],['../d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html#a8565954ad442f347e58996c61ee2dfb9',1,'edash_packager::media::VideoStreamInfo::IsValidConfig()']]], + ['isvalidconfig',['IsValidConfig',['../da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html#a98bbb5085d1dee09bd79b72d1efe590c',1,'edash_packager::media::AudioStreamInfo::IsValidConfig()'],['../d6/d06/classedash__packager_1_1media_1_1StreamInfo.html#ac2a38c803b8baf748ed66b4cf681518f',1,'edash_packager::media::StreamInfo::IsValidConfig()'],['../d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html#a128154cbdecb54f2b1bb64a52ae60b24',1,'edash_packager::media::VideoStreamInfo::IsValidConfig()']]], ['isvalidtoplevelbox',['IsValidTopLevelBox',['../db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html#a8505220e522a9b74a1f40adf3a84d29f',1,'edash_packager::media::mp4::BoxReader']]] ]; diff --git a/docs/search/all_c.js b/docs/search/all_c.js index bff2517f81..ec92313fec 100644 --- a/docs/search/all_c.js +++ b/docs/search/all_c.js @@ -1,10 +1,10 @@ var searchData= [ ['newsamplecb',['NewSampleCB',['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#a1628c19a91f1b8ae123f7350936bfe32',1,'edash_packager::media::MediaParser']]], - ['notifyencryptionupdate',['NotifyEncryptionUpdate',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a611739a432dd2e85a2b689face08909c',1,'edash_packager::DashIopMpdNotifier::NotifyEncryptionUpdate()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a8eb441286be0f2cb96c4348ff88619c5',1,'edash_packager::MpdNotifier::NotifyEncryptionUpdate()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a4b7fa0a53ac352a037247476129a8217',1,'edash_packager::SimpleMpdNotifier::NotifyEncryptionUpdate()']]], - ['notifynewcontainer',['NotifyNewContainer',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a8c4fefd4a54ba8167e3445890a236076',1,'edash_packager::DashIopMpdNotifier::NotifyNewContainer()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a09e6df8ea9ea8c260199449448d1ea62',1,'edash_packager::MpdNotifier::NotifyNewContainer()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a3097c09073328b112c75eb0dab4a1c31',1,'edash_packager::SimpleMpdNotifier::NotifyNewContainer()']]], - ['notifynewsegment',['NotifyNewSegment',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#afba7a73655f0ad8ae1be714ff8178c2c',1,'edash_packager::DashIopMpdNotifier::NotifyNewSegment()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a7bb9cce525d5a4f1076b8d58a7bd07ab',1,'edash_packager::MpdNotifier::NotifyNewSegment()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a010adc825af58e2c2448505a261ad26c',1,'edash_packager::SimpleMpdNotifier::NotifyNewSegment()']]], - ['notifysampleduration',['NotifySampleDuration',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#aefce631c77b946576ecb9c8d6b95f06e',1,'edash_packager::DashIopMpdNotifier::NotifySampleDuration()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#ab4d97816ead500dc7cafac015f1f4979',1,'edash_packager::MpdNotifier::NotifySampleDuration()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a47dab0bc8d51b0e86369288b2b1ce967',1,'edash_packager::SimpleMpdNotifier::NotifySampleDuration()']]], + ['notifyencryptionupdate',['NotifyEncryptionUpdate',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a034390af4e3bde792a4479fead594085',1,'edash_packager::DashIopMpdNotifier::NotifyEncryptionUpdate()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a8eb441286be0f2cb96c4348ff88619c5',1,'edash_packager::MpdNotifier::NotifyEncryptionUpdate()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#adeb683f92d76d64c15ca7805b0de8db1',1,'edash_packager::SimpleMpdNotifier::NotifyEncryptionUpdate()']]], + ['notifynewcontainer',['NotifyNewContainer',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a567d501580023d78299923993b8b2532',1,'edash_packager::DashIopMpdNotifier::NotifyNewContainer()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a09e6df8ea9ea8c260199449448d1ea62',1,'edash_packager::MpdNotifier::NotifyNewContainer()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a9de39430a54e3be7ff50476830728ce4',1,'edash_packager::SimpleMpdNotifier::NotifyNewContainer()']]], + ['notifynewsegment',['NotifyNewSegment',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a61b590c4c9d5b61d3ec0a1335c7daaa5',1,'edash_packager::DashIopMpdNotifier::NotifyNewSegment()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a7bb9cce525d5a4f1076b8d58a7bd07ab',1,'edash_packager::MpdNotifier::NotifyNewSegment()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a847d0d659521910de341de8de8cadf75',1,'edash_packager::SimpleMpdNotifier::NotifyNewSegment()']]], + ['notifysampleduration',['NotifySampleDuration',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#ad4b7f7e7106ca200eebfdd2bf4a09a84',1,'edash_packager::DashIopMpdNotifier::NotifySampleDuration()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#ab4d97816ead500dc7cafac015f1f4979',1,'edash_packager::MpdNotifier::NotifySampleDuration()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a8931d4291590051f328171fc7ca69025',1,'edash_packager::SimpleMpdNotifier::NotifySampleDuration()']]], ['num_5fchannels',['num_channels',['../dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html#a0394e15d7eb62d5a2366e78900b93b40',1,'edash_packager::media::mp4::AACAudioSpecificConfig']]], ['num_5fsubsegments_5fper_5fsidx',['num_subsegments_per_sidx',['../de/d57/structedash__packager_1_1media_1_1MuxerOptions.html#a93714f081569ea56ed626eb057c1761f',1,'edash_packager::media::MuxerOptions']]], ['numsamples',['NumSamples',['../d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html#a3c087f45de97888c3c537cec1ab6b940',1,'edash_packager::media::mp4::ChunkInfoIterator::NumSamples()'],['../d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html#a10f25f383ea2b2404dc3cd6f8d87dc71',1,'edash_packager::media::mp4::CompositionOffsetIterator::NumSamples()'],['../d4/d90/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator.html#af989a372d83019e0a65e8c850e122e47',1,'edash_packager::media::mp4::DecodingTimeIterator::NumSamples()']]] diff --git a/docs/search/all_d.js b/docs/search/all_d.js index 6fcbedd981..92b8c38d5e 100644 --- a/docs/search/all_d.js +++ b/docs/search/all_d.js @@ -5,11 +5,12 @@ var searchData= ['onneedkey',['OnNeedKey',['../dc/df1/classedash__packager_1_1media_1_1DecryptorSource.html#a635b0367a1903f3a0afb1ca931f1274a',1,'edash_packager::media::DecryptorSource']]], ['onnewsegmentforrepresentation',['OnNewSegmentForRepresentation',['../db/de4/classedash__packager_1_1AdaptationSet.html#aed9c81cd32d8bbb8ed71d5ab3f16efac',1,'edash_packager::AdaptationSet::OnNewSegmentForRepresentation()'],['../d2/dfa/classedash__packager_1_1RepresentationStateChangeListener.html#a555f268d74e4c70afd067ffe2e6ca64e',1,'edash_packager::RepresentationStateChangeListener::OnNewSegmentForRepresentation()']]], ['onprogress',['OnProgress',['../d9/d2c/classedash__packager_1_1media_1_1ProgressListener.html#a2e30994077f8798d56f61ee20fd9a776',1,'edash_packager::media::ProgressListener']]], - ['onsampledurationready',['OnSampleDurationReady',['../d3/d0e/classedash__packager_1_1media_1_1MpdNotifyMuxerListener.html#af65a2b4d9599f110ff70134286403c02',1,'edash_packager::media::MpdNotifyMuxerListener::OnSampleDurationReady()'],['../df/de7/classedash__packager_1_1media_1_1MuxerListener.html#a5626ff553138db438c561db2ca0d05f2',1,'edash_packager::media::MuxerListener::OnSampleDurationReady()'],['../d9/db4/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener.html#a122af3cd678be6f82766ecdfd5b95467',1,'edash_packager::media::VodMediaInfoDumpMuxerListener::OnSampleDurationReady()']]], + ['onsampledurationready',['OnSampleDurationReady',['../d3/d0e/classedash__packager_1_1media_1_1MpdNotifyMuxerListener.html#a0d5eb925ea47fb5656c05becb980d17d',1,'edash_packager::media::MpdNotifyMuxerListener::OnSampleDurationReady()'],['../df/de7/classedash__packager_1_1media_1_1MuxerListener.html#a5626ff553138db438c561db2ca0d05f2',1,'edash_packager::media::MuxerListener::OnSampleDurationReady()'],['../d9/db4/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener.html#a2229a8631ae24fc7f253f5a0b1fb6bab',1,'edash_packager::media::VodMediaInfoDumpMuxerListener::OnSampleDurationReady()']]], ['onsetframerateforrepresentation',['OnSetFrameRateForRepresentation',['../db/de4/classedash__packager_1_1AdaptationSet.html#ad9adf17a02fabfd4aa8d91a2d65d52ad',1,'edash_packager::AdaptationSet::OnSetFrameRateForRepresentation()'],['../d2/dfa/classedash__packager_1_1RepresentationStateChangeListener.html#aec87eac5d1aefe55dd8c0483ac4354a5',1,'edash_packager::RepresentationStateChangeListener::OnSetFrameRateForRepresentation()']]], - ['open',['Open',['../de/d19/classedash__packager_1_1media_1_1File.html#a4dfd6f4d8f67d2ee1caff4f4e1717c70',1,'edash_packager::media::File::Open(const char *file_name, const char *mode)'],['../de/d19/classedash__packager_1_1media_1_1File.html#a0933ccd7df76fcf8fbcfe12c15dbf6c5',1,'edash_packager::media::File::Open()=0'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a18709894b20567c0e3db67ba58b08db1',1,'edash_packager::media::LocalFile::Open()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a32617fd715b893d2b3a799418ef8b45e',1,'edash_packager::media::ThreadedIoFile::Open()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a436506c1512d2488435180a445af11d0',1,'edash_packager::media::UdpFile::Open()']]], + ['open',['Open',['../de/d19/classedash__packager_1_1media_1_1File.html#a4dfd6f4d8f67d2ee1caff4f4e1717c70',1,'edash_packager::media::File::Open(const char *file_name, const char *mode)'],['../de/d19/classedash__packager_1_1media_1_1File.html#a0933ccd7df76fcf8fbcfe12c15dbf6c5',1,'edash_packager::media::File::Open()=0'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a74829bb7ba2e219ab2d3137917c55271',1,'edash_packager::media::LocalFile::Open()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a5ad6384c116d61739667daa2a7a5613a',1,'edash_packager::media::ThreadedIoFile::Open()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#af759eb9caafd6220ede8c2584a706af0',1,'edash_packager::media::UdpFile::Open()']]], ['openwithnobuffering',['OpenWithNoBuffering',['../de/d19/classedash__packager_1_1media_1_1File.html#a47194a7cd303640c2a8b689d18ef9701',1,'edash_packager::media::File']]], ['optimizesampleentries',['OptimizeSampleEntries',['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#ae51bbd5482783890e9843fd3ca61f2bb',1,'edash_packager::media::mp4::Fragmenter']]], + ['opuspacket',['OpusPacket',['../d5/dc8/classedash__packager_1_1media_1_1OpusPacket.html',1,'edash_packager::media']]], ['originalformat',['OriginalFormat',['../da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html',1,'edash_packager::media::mp4']]], ['output_5ffile_5fname',['output_file_name',['../de/d57/structedash__packager_1_1media_1_1MuxerOptions.html#addd401a47b287f3c18cbdc4bfa1a6963',1,'edash_packager::media::MuxerOptions']]] ]; diff --git a/docs/search/all_e.js b/docs/search/all_e.js index bdcdaa5294..d2d041a002 100644 --- a/docs/search/all_e.js +++ b/docs/search/all_e.js @@ -1,6 +1,6 @@ var searchData= [ - ['parse',['Parse',['../d5/dce/classedash__packager_1_1media_1_1Demuxer.html#adb6c35974c24809c715380a99ac7cc78',1,'edash_packager::media::Demuxer::Parse()'],['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#a6bc31ca2303d340a11a63a6f4bbb8b0a',1,'edash_packager::media::MediaParser::Parse()'],['../db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html#a12f7811f1539361980a13517f948f9fb',1,'edash_packager::media::mp2t::AdtsHeader::Parse()'],['../dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#a416aaeb6231a46548871a419795d1ffc',1,'edash_packager::media::mp2t::Mp2tMediaParser::Parse()'],['../dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html#a90a58afc9e6b20b9a6909d54f94dafc9',1,'edash_packager::media::mp4::AACAudioSpecificConfig::Parse()'],['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#a7b62a3983faafbea54a32486df60ed96',1,'edash_packager::media::mp4::Box::Parse()'],['../d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html#a6680c3e6aebbecf7a8f9462f0ff703bf',1,'edash_packager::media::mp4::MP4MediaParser::Parse()'],['../d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html#add788399fd476ba8289958bc8ed4ad0e',1,'edash_packager::media::wvm::WvmMediaParser::Parse()']]], + ['parse',['Parse',['../d5/dce/classedash__packager_1_1media_1_1Demuxer.html#adb6c35974c24809c715380a99ac7cc78',1,'edash_packager::media::Demuxer::Parse()'],['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#a6bc31ca2303d340a11a63a6f4bbb8b0a',1,'edash_packager::media::MediaParser::Parse()'],['../db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html#a12f7811f1539361980a13517f948f9fb',1,'edash_packager::media::mp2t::AdtsHeader::Parse()'],['../dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#a8e01eb8219dfd9a649ee5a153f9bbabb',1,'edash_packager::media::mp2t::Mp2tMediaParser::Parse()'],['../dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html#a90a58afc9e6b20b9a6909d54f94dafc9',1,'edash_packager::media::mp4::AACAudioSpecificConfig::Parse()'],['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#a7b62a3983faafbea54a32486df60ed96',1,'edash_packager::media::mp4::Box::Parse()'],['../d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html#ade36e7fd4daf8c6a98c16b6a94bafd28',1,'edash_packager::media::mp4::MP4MediaParser::Parse()'],['../d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.html#a6854bdb8bafe8e4962b7f4b4cb797b71',1,'edash_packager::media::WebMStreamParser::Parse()'],['../d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html#af2a6c8b62df30b6515eee30389b271d7',1,'edash_packager::media::wvm::WvmMediaParser::Parse()']]], ['passscopedptr',['PassScopedPtr',['../dd/d85/classedash__packager_1_1xml_1_1XmlNode.html#a07d40d8fe27a2d1c3470f16ef0df3864',1,'edash_packager::xml::XmlNode']]], ['peek',['Peek',['../d8/d2e/classedash__packager_1_1media_1_1ByteQueue.html#a8253df160751462f3b75290a7c525e56',1,'edash_packager::media::ByteQueue::Peek()'],['../d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html#acf87e686e78d6cb962f39bb2acca7180',1,'edash_packager::media::ProducerConsumerQueue::Peek()']]], ['peekat',['PeekAt',['../d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html#a32b06f514ebfd5aef820a9b91228a854',1,'edash_packager::media::OffsetByteQueue']]], @@ -11,7 +11,7 @@ var searchData= ['pos',['Pos',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#a0b34f56b01acc899ae44ab9f4cb0b783',1,'edash_packager::media::mp4::BoxBuffer']]], ['post',['Post',['../d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html#a651b1c5ef001dc365488829266908691',1,'edash_packager::media::HttpKeyFetcher']]], ['preparechildren',['PrepareChildren',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#a2e46c4812ac9c48288a8461c230a375b',1,'edash_packager::media::mp4::BoxBuffer']]], - ['preparefragmentforencryption',['PrepareFragmentForEncryption',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a3e66313de4ecb51f23fe438758e0153b',1,'edash_packager::media::mp4::EncryptingFragmenter::PrepareFragmentForEncryption()'],['../dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html#a27f17363745efa98d860fb703fd24486',1,'edash_packager::media::mp4::KeyRotationFragmenter::PrepareFragmentForEncryption()']]], + ['preparefragmentforencryption',['PrepareFragmentForEncryption',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a3e66313de4ecb51f23fe438758e0153b',1,'edash_packager::media::mp4::EncryptingFragmenter::PrepareFragmentForEncryption()'],['../dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html#a8c526a2a3f0555be9030f87ef1015bd8',1,'edash_packager::media::mp4::KeyRotationFragmenter::PrepareFragmentForEncryption()']]], ['prevsampledata',['PrevSampleData',['../d9/d7b/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData.html',1,'edash_packager::media::wvm']]], ['printerror',['PrintError',['../db/d09/namespaceedash__packager.html#a64d35a221086349dfbd1acefee2aaef1',1,'edash_packager']]], ['producerconsumerqueue',['ProducerConsumerQueue',['../d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html#a7e0fa49f53accb47b4fbf15c9495d0d1',1,'edash_packager::media::ProducerConsumerQueue::ProducerConsumerQueue(size_t capacity)'],['../d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html#aabee571894649365e0982a410703a364',1,'edash_packager::media::ProducerConsumerQueue::ProducerConsumerQueue(size_t capacity, size_t starting_pos)']]], diff --git a/docs/search/all_f.js b/docs/search/all_f.js index ce8e884ee1..a163ab407a 100644 --- a/docs/search/all_f.js +++ b/docs/search/all_f.js @@ -1,6 +1,6 @@ var searchData= [ - ['read',['Read',['../de/d19/classedash__packager_1_1media_1_1File.html#a663547ead01b035117429c0bc757aab7',1,'edash_packager::media::File::Read()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#a462bd5ddce8041eaa109271fd0d155a9',1,'edash_packager::media::IoCache::Read()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a488cdd1b73eb609b1e5f9b4e16409f86',1,'edash_packager::media::LocalFile::Read()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#afb7375d719f2a34b7d8f0678241e6065',1,'edash_packager::media::ThreadedIoFile::Read()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a2adf69616970042401262643f43a9199',1,'edash_packager::media::UdpFile::Read()']]], + ['read',['Read',['../de/d19/classedash__packager_1_1media_1_1File.html#a663547ead01b035117429c0bc757aab7',1,'edash_packager::media::File::Read()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#a462bd5ddce8041eaa109271fd0d155a9',1,'edash_packager::media::IoCache::Read()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#ab974c5c7fd38d9fe184bf055173fd8cf',1,'edash_packager::media::LocalFile::Read()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a5075259d07b1b004d8b7985527fa6e63',1,'edash_packager::media::ThreadedIoFile::Read()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#aefea0adecf58c67cfde19e095ef027c3',1,'edash_packager::media::UdpFile::Read()']]], ['read1',['Read1',['../d9/d46/classedash__packager_1_1media_1_1BufferReader.html#a0375f4997e9c934783f51203c4d1434f',1,'edash_packager::media::BufferReader']]], ['readallchildren',['ReadAllChildren',['../db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html#abe53f02532597d3bd76dc46820aa0615',1,'edash_packager::media::mp4::BoxReader']]], ['readbits',['ReadBits',['../df/db4/classedash__packager_1_1media_1_1BitReader.html#a9a66cdd1013eb535e7e1eec60a91bf8c',1,'edash_packager::media::BitReader']]], @@ -11,7 +11,7 @@ var searchData= ['reading',['Reading',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#a36c0d8448dab759db37f9581ea602807',1,'edash_packager::media::mp4::BoxBuffer']]], ['readnbytesinto8',['ReadNBytesInto8',['../d9/d46/classedash__packager_1_1media_1_1BufferReader.html#ac21a2b3a9ed6b2ad20247b6f653d8a02',1,'edash_packager::media::BufferReader']]], ['readtoplevelbox',['ReadTopLevelBox',['../db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html#a029ef2fe387071143c42f50ffd1a16b5',1,'edash_packager::media::mp4::BoxReader']]], - ['readwrite',['ReadWrite',['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#ab588f893676e2c817088fc01caa7b135',1,'edash_packager::media::mp4::Box::ReadWrite()'],['../d6/d8f/structedash__packager_1_1media_1_1mp4_1_1FullBox.html#a95b3377915124537010b42719d33d41f',1,'edash_packager::media::mp4::FullBox::ReadWrite()'],['../d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html#aee4b59f0c2c79982f286f37d04d317f4',1,'edash_packager::media::mp4::FileType::ReadWrite()'],['../dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html#a0cbee70b4915e0a69237bf4f75c06841',1,'edash_packager::media::mp4::SegmentType::ReadWrite()'],['../da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html#a8717c7108b80278d9d1b0a6997d370c8',1,'edash_packager::media::mp4::ProtectionSystemSpecificHeader::ReadWrite()'],['../de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html#aacc3f25a60441cbeefb5719948b8dde6',1,'edash_packager::media::mp4::SampleAuxiliaryInformationOffset::ReadWrite()'],['../d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html#ad535f362d898f88e3bcb290d316e9d88',1,'edash_packager::media::mp4::SampleAuxiliaryInformationSize::ReadWrite()'],['../da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html#ae0c112698de3e06efc084df0b242caef',1,'edash_packager::media::mp4::OriginalFormat::ReadWrite()'],['../d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html#a31b8ef9b3bc870a124a687f8dff84232',1,'edash_packager::media::mp4::SchemeType::ReadWrite()'],['../de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html#a4ae5adc789a5899f89c0e029fd0068af',1,'edash_packager::media::mp4::TrackEncryption::ReadWrite()'],['../d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html#a0e69e1336e39d07b1825212b14f6faf6',1,'edash_packager::media::mp4::SchemeInfo::ReadWrite()'],['../dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html#a2b4ea22e86bf3f8048c38ba7b0ecf4e0',1,'edash_packager::media::mp4::ProtectionSchemeInfo::ReadWrite()'],['../dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html#a468f653814e6dfced50a740e27041ef1',1,'edash_packager::media::mp4::MovieHeader::ReadWrite()'],['../dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html#a1762a314e7634841f0f845463c8e2039',1,'edash_packager::media::mp4::TrackHeader::ReadWrite()'],['../d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html#ad16d9c64a405a56ce74c1ae0bd983bed',1,'edash_packager::media::mp4::EditList::ReadWrite()'],['../d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html#a789e9be1fdec8ac913a5083ce7881e13',1,'edash_packager::media::mp4::Edit::ReadWrite()'],['../d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html#aed599037539c27a4c6b762c7df8af667',1,'edash_packager::media::mp4::HandlerReference::ReadWrite()'],['../d8/dbb/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord.html#a9e70f2e6c23bb86fa5fe387d45877268',1,'edash_packager::media::mp4::AVCDecoderConfigurationRecord::ReadWrite()'],['../d1/dc8/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox.html#aee984d288c1c2ab2217726309dff45f4',1,'edash_packager::media::mp4::PixelAspectRatioBox::ReadWrite()'],['../df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html#af7c0db7c32de77af9441c33adcdf7dc8',1,'edash_packager::media::mp4::VideoSampleEntry::ReadWrite()'],['../d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html#a52365fdcab0226980dbca4f252155c11',1,'edash_packager::media::mp4::ElementaryStreamDescriptor::ReadWrite()'],['../df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html#a25e6faaa3aac8ca177ce719ac86a1230',1,'edash_packager::media::mp4::AudioSampleEntry::ReadWrite()'],['../d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html#af78ad2228bedef0f33dd2a3fe390c264',1,'edash_packager::media::mp4::SampleDescription::ReadWrite()'],['../dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html#a182286af9333024dfcd2180c5f9de83f',1,'edash_packager::media::mp4::DecodingTimeToSample::ReadWrite()'],['../da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html#a768b070dcbc3e0ac4c40580f9a269ba7',1,'edash_packager::media::mp4::CompositionTimeToSample::ReadWrite()'],['../df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html#a214d13dad0b592bad63c5c82c26fc5a8',1,'edash_packager::media::mp4::SampleToChunk::ReadWrite()'],['../d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html#a6f6a998d4365581a882d6aa8dd985353',1,'edash_packager::media::mp4::SampleSize::ReadWrite()'],['../db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html#ac6c287b0bbb46232d99065677c61c03f',1,'edash_packager::media::mp4::CompactSampleSize::ReadWrite()'],['../da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html#a3d7da255698a09c8b91d207968b29826',1,'edash_packager::media::mp4::ChunkLargeOffset::ReadWrite()'],['../d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html#a6fad7db4e1e37ea4e7580a24cba95f52',1,'edash_packager::media::mp4::ChunkOffset::ReadWrite()'],['../d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html#a354762cd47fc84fb71e12bbca3eae4cf',1,'edash_packager::media::mp4::SyncSample::ReadWrite()'],['../d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html#af9e1e01aa6c5df02049947f860918fd4',1,'edash_packager::media::mp4::SampleTable::ReadWrite()'],['../d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html#a2394c8a563f790c5d59c0f411483d373',1,'edash_packager::media::mp4::MediaHeader::ReadWrite()'],['../db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html#afccc426ca48ad8d102121164fbd8043a',1,'edash_packager::media::mp4::VideoMediaHeader::ReadWrite()'],['../da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html#aa072240b04b63d3873c26b6cc7290d22',1,'edash_packager::media::mp4::SoundMediaHeader::ReadWrite()'],['../d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html#aa712c1ad4a552f0f8ecd60fd55762e8e',1,'edash_packager::media::mp4::DataEntryUrl::ReadWrite()'],['../d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html#a196ac67de4711af24e952a51261fe096',1,'edash_packager::media::mp4::DataReference::ReadWrite()'],['../d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html#a74378acb05745fdbf8ca7ffdab288cf5',1,'edash_packager::media::mp4::DataInformation::ReadWrite()'],['../dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html#a03433ebd451315154b8ade741c4b9f5d',1,'edash_packager::media::mp4::MediaInformation::ReadWrite()'],['../de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html#af6eb9d251004ac9dc8e719a13991430e',1,'edash_packager::media::mp4::Media::ReadWrite()'],['../d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html#aecbdcf1304f4e05d4bfe94f033fb4997',1,'edash_packager::media::mp4::Track::ReadWrite()'],['../da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html#ab48d5f505d0370a5588a8bfb84dd3c2b',1,'edash_packager::media::mp4::MovieExtendsHeader::ReadWrite()'],['../d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html#a7134a0c406deaf51c639d2314667bdb0',1,'edash_packager::media::mp4::TrackExtends::ReadWrite()'],['../d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html#a0f4cf9ffc7038d41a80286f78dac0e0e',1,'edash_packager::media::mp4::MovieExtends::ReadWrite()'],['../d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html#ad386903689eca40d9dcb6d3f4990288a',1,'edash_packager::media::mp4::Movie::ReadWrite()'],['../d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html#a561a7efedb5a44d431d297be675587a4',1,'edash_packager::media::mp4::TrackFragmentDecodeTime::ReadWrite()'],['../df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html#ac94a4cb68ff87666c7836eb720581a33',1,'edash_packager::media::mp4::MovieFragmentHeader::ReadWrite()'],['../d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html#ac679f1815001fbde1ea447e2c2cdf414',1,'edash_packager::media::mp4::TrackFragmentHeader::ReadWrite()'],['../df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html#acd6288a45825fd9da7e688624405b9db',1,'edash_packager::media::mp4::TrackFragmentRun::ReadWrite()'],['../d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html#a9f52feee1777e711c82f35afd1f8c234',1,'edash_packager::media::mp4::SampleToGroup::ReadWrite()'],['../d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html#afa87507593131c8ebf9413b65259ceb4',1,'edash_packager::media::mp4::SampleGroupDescription::ReadWrite()'],['../d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html#ad712f20ca37aefb6f92d524d305b8d4d',1,'edash_packager::media::mp4::TrackFragment::ReadWrite()'],['../dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html#a03ad067670d4de600019c03c54f1f337',1,'edash_packager::media::mp4::MovieFragment::ReadWrite()'],['../d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html#ae3ce71370a51d6190c9874536239b2cc',1,'edash_packager::media::mp4::SegmentIndex::ReadWrite()']]], + ['readwrite',['ReadWrite',['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#ab588f893676e2c817088fc01caa7b135',1,'edash_packager::media::mp4::Box::ReadWrite()'],['../d6/d8f/structedash__packager_1_1media_1_1mp4_1_1FullBox.html#a870af62c176dfafa79cde0b1a8a55698',1,'edash_packager::media::mp4::FullBox::ReadWrite()'],['../d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html#ac9414d32800e3fe74fa0a1178b9f2532',1,'edash_packager::media::mp4::FileType::ReadWrite()'],['../dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html#addccc32717d0e19e0c83b4896e5b75fa',1,'edash_packager::media::mp4::SegmentType::ReadWrite()'],['../da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html#af42f34f32cf72bad931a087ccd091497',1,'edash_packager::media::mp4::ProtectionSystemSpecificHeader::ReadWrite()'],['../de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html#aa0d478659013bf328a47d5b6fa85e27a',1,'edash_packager::media::mp4::SampleAuxiliaryInformationOffset::ReadWrite()'],['../d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html#aa87db40b90258eea4a9ac59a05bfa65c',1,'edash_packager::media::mp4::SampleAuxiliaryInformationSize::ReadWrite()'],['../da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html#ae70a5a4d8284294ef28e4e09ca99b328',1,'edash_packager::media::mp4::OriginalFormat::ReadWrite()'],['../d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html#a7a75cb5cb201ed7d4ac5cc3780d89938',1,'edash_packager::media::mp4::SchemeType::ReadWrite()'],['../de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html#a4d7e035c720876033e0ff6c7b54d3273',1,'edash_packager::media::mp4::TrackEncryption::ReadWrite()'],['../d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html#ac4463f938d941146acfa6bcdc20976c8',1,'edash_packager::media::mp4::SchemeInfo::ReadWrite()'],['../dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html#a05b923f36c96656b25217238c46cd2ee',1,'edash_packager::media::mp4::ProtectionSchemeInfo::ReadWrite()'],['../dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html#aaa8c99dfb5bcac4d65bceb01bd88e404',1,'edash_packager::media::mp4::MovieHeader::ReadWrite()'],['../dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html#a9ff4b7d42ee01f44bd2dff1c3f26f3c7',1,'edash_packager::media::mp4::TrackHeader::ReadWrite()'],['../d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html#af5ff80a49ff57612f9748e8a960315b5',1,'edash_packager::media::mp4::EditList::ReadWrite()'],['../d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html#a282283cf1f9eee501012641d3520361c',1,'edash_packager::media::mp4::Edit::ReadWrite()'],['../d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html#a3df705ca0d139d1051dfa05a2b6b7060',1,'edash_packager::media::mp4::HandlerReference::ReadWrite()'],['../d8/dbb/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord.html#aed49d9bb85e483820a4af22026ea6f56',1,'edash_packager::media::mp4::AVCDecoderConfigurationRecord::ReadWrite()'],['../d1/dc8/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox.html#ae6435b6d7f4d95a0101419d9b35fd8ff',1,'edash_packager::media::mp4::PixelAspectRatioBox::ReadWrite()'],['../df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html#a4e3cc061fa25de9d0126968b30962b9a',1,'edash_packager::media::mp4::VideoSampleEntry::ReadWrite()'],['../d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html#a3328cf76da4cf3a35a52338fe1064ead',1,'edash_packager::media::mp4::ElementaryStreamDescriptor::ReadWrite()'],['../df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html#a3b6d0c1419aa46306ead177fb8a0bacb',1,'edash_packager::media::mp4::AudioSampleEntry::ReadWrite()'],['../d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html#a1805369e3cdb005269fcc9f81303889b',1,'edash_packager::media::mp4::SampleDescription::ReadWrite()'],['../dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html#ac05749eb5644fcea4731a2761007e05d',1,'edash_packager::media::mp4::DecodingTimeToSample::ReadWrite()'],['../da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html#ae992e9996ed76398d2fb76b6716d47cc',1,'edash_packager::media::mp4::CompositionTimeToSample::ReadWrite()'],['../df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html#a67744906db3ad6d773db7e954aa55c90',1,'edash_packager::media::mp4::SampleToChunk::ReadWrite()'],['../d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html#ad10adc057b18128f5e1527ba3f271f5e',1,'edash_packager::media::mp4::SampleSize::ReadWrite()'],['../db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html#a3b0f171ecea6b68c68c16d59f8129260',1,'edash_packager::media::mp4::CompactSampleSize::ReadWrite()'],['../da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html#a49cdc81322f269456db0630abf48db1f',1,'edash_packager::media::mp4::ChunkLargeOffset::ReadWrite()'],['../d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html#a51122c167851400733dfc4c17eff1a4f',1,'edash_packager::media::mp4::ChunkOffset::ReadWrite()'],['../d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html#a0548b203ea15ae58c5416af74cf8c76d',1,'edash_packager::media::mp4::SyncSample::ReadWrite()'],['../d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html#ae3658b62d13fede295a7434f97273bf7',1,'edash_packager::media::mp4::SampleTable::ReadWrite()'],['../d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html#ac3a355d63d3921d8d58f2acdc321c32f',1,'edash_packager::media::mp4::MediaHeader::ReadWrite()'],['../db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html#a8c75844c8ecfb2da00f3f675e01b9675',1,'edash_packager::media::mp4::VideoMediaHeader::ReadWrite()'],['../da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html#a4f702c6ad638a7b0a56c288c3a19dd3d',1,'edash_packager::media::mp4::SoundMediaHeader::ReadWrite()'],['../d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html#a2daa4a272f30c554c2f55227f3baf086',1,'edash_packager::media::mp4::DataEntryUrl::ReadWrite()'],['../d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html#a74329b886d82a4382ade0d2d41d95457',1,'edash_packager::media::mp4::DataReference::ReadWrite()'],['../d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html#a5b20674cf809b0bd5c0ac7d3b8343c5c',1,'edash_packager::media::mp4::DataInformation::ReadWrite()'],['../dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html#a44fbb80add6d32ae3a0ca61b64428876',1,'edash_packager::media::mp4::MediaInformation::ReadWrite()'],['../de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html#a4370961884525da5e235e958f51f713e',1,'edash_packager::media::mp4::Media::ReadWrite()'],['../d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html#a47698bfb1f20e09824372c8f8391e10d',1,'edash_packager::media::mp4::Track::ReadWrite()'],['../da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html#afcf95727aaffc74b5f08565c6f4170cd',1,'edash_packager::media::mp4::MovieExtendsHeader::ReadWrite()'],['../d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html#af22666271f9314e56ff5ba909207523f',1,'edash_packager::media::mp4::TrackExtends::ReadWrite()'],['../d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html#addcb0fba685eee2c0dda799c30271f15',1,'edash_packager::media::mp4::MovieExtends::ReadWrite()'],['../d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html#ac77f65ee07e867c0c3db96f4154f22da',1,'edash_packager::media::mp4::Movie::ReadWrite()'],['../d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html#a96e4f7eaaba4f304c4baab7d1d45b15c',1,'edash_packager::media::mp4::TrackFragmentDecodeTime::ReadWrite()'],['../df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html#ab9ddce932c6d665f2927fc907d21ed68',1,'edash_packager::media::mp4::MovieFragmentHeader::ReadWrite()'],['../d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html#a87e7355bfa43933caa651dbd0e23811c',1,'edash_packager::media::mp4::TrackFragmentHeader::ReadWrite()'],['../df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html#a1a6b76ea2a90ce578fe0092f0ef40edb',1,'edash_packager::media::mp4::TrackFragmentRun::ReadWrite()'],['../d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html#a6855cfe79a965e95ab5be78afb745096',1,'edash_packager::media::mp4::SampleToGroup::ReadWrite()'],['../d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html#a6989deb24d851e40e92fab89dbd23159',1,'edash_packager::media::mp4::SampleGroupDescription::ReadWrite()'],['../d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html#abef97532bd33a34f6f96bd58d183120f',1,'edash_packager::media::mp4::TrackFragment::ReadWrite()'],['../dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html#a761c6e64c7055cc1f78fdfd47161b77e',1,'edash_packager::media::mp4::MovieFragment::ReadWrite()'],['../d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html#ae2c53c4a16d81090565d29f6301080fd',1,'edash_packager::media::mp4::SegmentIndex::ReadWrite()']]], ['readwritechild',['ReadWriteChild',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#ae2f4c04bd204e593491db3e24715efd2',1,'edash_packager::media::mp4::BoxBuffer']]], ['readwriteuint64nbytes',['ReadWriteUInt64NBytes',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#a726ab4970a19fa671137e88098e3cd48',1,'edash_packager::media::mp4::BoxBuffer']]], ['release',['Release',['../dd/d85/classedash__packager_1_1xml_1_1XmlNode.html#a0942bc721718b70b49fc9e91a6934513',1,'edash_packager::xml::XmlNode']]], @@ -25,5 +25,5 @@ var searchData= ['rsaprivatekey',['RsaPrivateKey',['../d5/d62/classedash__packager_1_1media_1_1RsaPrivateKey.html',1,'edash_packager::media']]], ['rsapublickey',['RsaPublicKey',['../d1/d86/classedash__packager_1_1media_1_1RsaPublicKey.html',1,'edash_packager::media']]], ['rsarequestsigner',['RsaRequestSigner',['../dd/da8/classedash__packager_1_1media_1_1RsaRequestSigner.html',1,'edash_packager::media']]], - ['run',['Run',['../dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html#a016f08770c94f2e92f66f299ee4a5b04',1,'edash_packager::media::ClosureThread::Run()'],['../d5/dce/classedash__packager_1_1media_1_1Demuxer.html#a7caa5e4ce5b80de4dbae7d967ff71f72',1,'edash_packager::media::Demuxer::Run()'],['../d4/d1d/classedash__packager_1_1media_1_1Muxer.html#aa2ef293cdb921d97bb39d038f29da8c4',1,'edash_packager::media::Muxer::Run()']]] + ['run',['Run',['../dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html#a87d65aa9a1279edaaad6a50c402b2aad',1,'edash_packager::media::ClosureThread::Run()'],['../d5/dce/classedash__packager_1_1media_1_1Demuxer.html#a7caa5e4ce5b80de4dbae7d967ff71f72',1,'edash_packager::media::Demuxer::Run()'],['../d4/d1d/classedash__packager_1_1media_1_1Muxer.html#aa2ef293cdb921d97bb39d038f29da8c4',1,'edash_packager::media::Muxer::Run()']]] ]; diff --git a/docs/search/classes_12.js b/docs/search/classes_12.js index edef242769..9dc2dbad8d 100644 --- a/docs/search/classes_12.js +++ b/docs/search/classes_12.js @@ -1,5 +1,15 @@ var searchData= [ + ['webmaudioclient',['WebMAudioClient',['../de/d98/classedash__packager_1_1media_1_1WebMAudioClient.html',1,'edash_packager::media']]], + ['webmclusterparser',['WebMClusterParser',['../db/da0/classedash__packager_1_1media_1_1WebMClusterParser.html',1,'edash_packager::media']]], + ['webmcontentencodingsclient',['WebMContentEncodingsClient',['../d8/d78/classedash__packager_1_1media_1_1WebMContentEncodingsClient.html',1,'edash_packager::media']]], + ['webminfoparser',['WebMInfoParser',['../dd/d47/classedash__packager_1_1media_1_1WebMInfoParser.html',1,'edash_packager::media']]], + ['webmlistparser',['WebMListParser',['../d6/dd6/classedash__packager_1_1media_1_1WebMListParser.html',1,'edash_packager::media']]], + ['webmparserclient',['WebMParserClient',['../de/da5/classedash__packager_1_1media_1_1WebMParserClient.html',1,'edash_packager::media']]], + ['webmstreamparser',['WebMStreamParser',['../d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.html',1,'edash_packager::media']]], + ['webmtracksparser',['WebMTracksParser',['../db/d23/classedash__packager_1_1media_1_1WebMTracksParser.html',1,'edash_packager::media']]], + ['webmvideoclient',['WebMVideoClient',['../dc/d0c/classedash__packager_1_1media_1_1WebMVideoClient.html',1,'edash_packager::media']]], + ['webmwebvttparser',['WebMWebVTTParser',['../dc/dc8/classedash__packager_1_1media_1_1WebMWebVTTParser.html',1,'edash_packager::media']]], ['widevinekeysource',['WidevineKeySource',['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html',1,'edash_packager::media']]], ['wvmmediaparser',['WvmMediaParser',['../d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html',1,'edash_packager::media::wvm']]] ]; diff --git a/docs/search/classes_2.js b/docs/search/classes_2.js index 16c466d8c4..be6546367c 100644 --- a/docs/search/classes_2.js +++ b/docs/search/classes_2.js @@ -6,9 +6,12 @@ var searchData= ['chunklargeoffset',['ChunkLargeOffset',['../da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html',1,'edash_packager::media::mp4']]], ['chunkoffset',['ChunkOffset',['../d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html',1,'edash_packager::media::mp4']]], ['closurethread',['ClosureThread',['../dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html',1,'edash_packager::media']]], + ['cluster',['Cluster',['../df/d40/classedash__packager_1_1media_1_1Cluster.html',1,'edash_packager::media']]], + ['clusterbuilder',['ClusterBuilder',['../d3/d69/classedash__packager_1_1media_1_1ClusterBuilder.html',1,'edash_packager::media']]], ['compactsamplesize',['CompactSampleSize',['../db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html',1,'edash_packager::media::mp4']]], ['compositionoffset',['CompositionOffset',['../da/dfe/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset.html',1,'edash_packager::media::mp4']]], ['compositionoffsetiterator',['CompositionOffsetIterator',['../d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html',1,'edash_packager::media::mp4']]], ['compositiontimetosample',['CompositionTimeToSample',['../da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html',1,'edash_packager::media::mp4']]], + ['contentencoding',['ContentEncoding',['../df/d30/classedash__packager_1_1media_1_1ContentEncoding.html',1,'edash_packager::media']]], ['contentprotectionelement',['ContentProtectionElement',['../d0/d96/structedash__packager_1_1ContentProtectionElement.html',1,'edash_packager']]] ]; diff --git a/docs/search/classes_b.js b/docs/search/classes_b.js index 9e47016939..00e2b48e32 100644 --- a/docs/search/classes_b.js +++ b/docs/search/classes_b.js @@ -2,5 +2,6 @@ var searchData= [ ['offsetbytequeue',['OffsetByteQueue',['../d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html',1,'edash_packager::media']]], ['onmediaendparameters',['OnMediaEndParameters',['../d3/de7/structedash__packager_1_1media_1_1OnMediaEndParameters.html',1,'edash_packager::media']]], + ['opuspacket',['OpusPacket',['../d5/dc8/classedash__packager_1_1media_1_1OpusPacket.html',1,'edash_packager::media']]], ['originalformat',['OriginalFormat',['../da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html',1,'edash_packager::media::mp4']]] ]; diff --git a/docs/search/classes_f.js b/docs/search/classes_f.js index 0bf41a9524..dc23fc241b 100644 --- a/docs/search/classes_f.js +++ b/docs/search/classes_f.js @@ -1,6 +1,7 @@ var searchData= [ ['texttrack',['TextTrack',['../de/d9e/classedash__packager_1_1media_1_1TextTrack.html',1,'edash_packager::media']]], + ['texttrackconfig',['TextTrackConfig',['../dd/def/classedash__packager_1_1media_1_1TextTrackConfig.html',1,'edash_packager::media']]], ['threadediofile',['ThreadedIoFile',['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html',1,'edash_packager::media']]], ['track',['Track',['../d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html',1,'edash_packager::media::mp4']]], ['trackencryption',['TrackEncryption',['../de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html',1,'edash_packager::media::mp4']]], @@ -11,6 +12,7 @@ var searchData= ['trackfragmentrun',['TrackFragmentRun',['../df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html',1,'edash_packager::media::mp4']]], ['trackheader',['TrackHeader',['../dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html',1,'edash_packager::media::mp4']]], ['trackruniterator',['TrackRunIterator',['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html',1,'edash_packager::media::mp4']]], + ['tracksbuilder',['TracksBuilder',['../d0/de6/classedash__packager_1_1media_1_1TracksBuilder.html',1,'edash_packager::media']]], ['tspacket',['TsPacket',['../d1/d4b/classedash__packager_1_1media_1_1mp2t_1_1TsPacket.html',1,'edash_packager::media::mp2t']]], ['tssection',['TsSection',['../d8/d8e/classedash__packager_1_1media_1_1mp2t_1_1TsSection.html',1,'edash_packager::media::mp2t']]], ['tssectionpat',['TsSectionPat',['../dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat.html',1,'edash_packager::media::mp2t']]], diff --git a/docs/search/functions_0.js b/docs/search/functions_0.js index bcb2bbb4a2..0c86ce3e76 100644 --- a/docs/search/functions_0.js +++ b/docs/search/functions_0.js @@ -5,7 +5,7 @@ var searchData= ['addaudioinfo',['AddAudioInfo',['../dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html#a1a3d8d8831e19ae010841704c07238c6',1,'edash_packager::xml::RepresentationXmlNode']]], ['addbaseurl',['AddBaseUrl',['../d3/dfa/classedash__packager_1_1MpdBuilder.html#a5318f500aa6a5b3db7b7925c08d78d91',1,'edash_packager::MpdBuilder']]], ['addchild',['AddChild',['../dd/d85/classedash__packager_1_1xml_1_1XmlNode.html#ab823db3ce661b4a967574f1534fc5b95',1,'edash_packager::xml::XmlNode']]], - ['addcontentprotectionelement',['AddContentProtectionElement',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#aea9b720de64f38256aeb3cce3ef67ae5',1,'edash_packager::DashIopMpdNotifier::AddContentProtectionElement()'],['../db/de4/classedash__packager_1_1AdaptationSet.html#a419e5b2dc27fef47fb0fcaa17ea09314',1,'edash_packager::AdaptationSet::AddContentProtectionElement()'],['../d7/d15/classedash__packager_1_1Representation.html#a8cb3729f52457e7df08cd05b8f19090e',1,'edash_packager::Representation::AddContentProtectionElement()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a56969f6d7c09e0aa131ba01d5c880773',1,'edash_packager::MpdNotifier::AddContentProtectionElement()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a0fd697605b3ff2ffdb8c892af2fc2e0d',1,'edash_packager::SimpleMpdNotifier::AddContentProtectionElement()']]], + ['addcontentprotectionelement',['AddContentProtectionElement',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#aef43fd9875d24547d2434d142aeb9805',1,'edash_packager::DashIopMpdNotifier::AddContentProtectionElement()'],['../db/de4/classedash__packager_1_1AdaptationSet.html#a419e5b2dc27fef47fb0fcaa17ea09314',1,'edash_packager::AdaptationSet::AddContentProtectionElement()'],['../d7/d15/classedash__packager_1_1Representation.html#a8cb3729f52457e7df08cd05b8f19090e',1,'edash_packager::Representation::AddContentProtectionElement()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a56969f6d7c09e0aa131ba01d5c880773',1,'edash_packager::MpdNotifier::AddContentProtectionElement()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#af67678f19e1ecb3c01de200bdc3f1256',1,'edash_packager::SimpleMpdNotifier::AddContentProtectionElement()']]], ['addcontentprotectionelements',['AddContentProtectionElements',['../db/d09/namespaceedash__packager.html#a6f62cefcc7cf1a95f19bbea3b310fbab',1,'edash_packager::AddContentProtectionElements(const MediaInfo &media_info, Representation *parent)'],['../db/d09/namespaceedash__packager.html#a63896c3ea3c207506f18095624f2ed84',1,'edash_packager::AddContentProtectionElements(const MediaInfo &media_info, AdaptationSet *parent)']]], ['addelements',['AddElements',['../dd/d85/classedash__packager_1_1xml_1_1XmlNode.html#a9d6fa2317a063fb69cfa00c0d5ff3ec7',1,'edash_packager::xml::XmlNode']]], ['addliveonlyinfo',['AddLiveOnlyInfo',['../dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html#aef4b41002294b95cba4ed9b2fbb536d6',1,'edash_packager::xml::RepresentationXmlNode']]], @@ -13,7 +13,7 @@ var searchData= ['addrepresentation',['AddRepresentation',['../db/de4/classedash__packager_1_1AdaptationSet.html#a9a15647b565f9898a5a0e1d3176ff935',1,'edash_packager::AdaptationSet']]], ['addrole',['AddRole',['../db/de4/classedash__packager_1_1AdaptationSet.html#a3bfc3e2de3eaafc61a4dc2e23c698956',1,'edash_packager::AdaptationSet']]], ['addroleelement',['AddRoleElement',['../d6/d37/classedash__packager_1_1xml_1_1AdaptationSetXmlNode.html#a40c48f2ed2ac0f550bf019d7e650be94',1,'edash_packager::xml::AdaptationSetXmlNode']]], - ['addsample',['AddSample',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a825b7ca051f38ad14f4c6c6241ae443a',1,'edash_packager::media::mp4::EncryptingFragmenter::AddSample()'],['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#a81d8b1f324bdd2bc9cc2e5a469243926',1,'edash_packager::media::mp4::Fragmenter::AddSample()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#a5c21059ee9a533caec81491bdb751c57',1,'edash_packager::media::mp4::Segmenter::AddSample()']]], + ['addsample',['AddSample',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#ae8fd13a579fee2167167bcdbb9637dcc',1,'edash_packager::media::mp4::EncryptingFragmenter::AddSample()'],['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#a81d8b1f324bdd2bc9cc2e5a469243926',1,'edash_packager::media::mp4::Fragmenter::AddSample()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#a5c21059ee9a533caec81491bdb751c57',1,'edash_packager::media::mp4::Segmenter::AddSample()']]], ['addstream',['AddStream',['../d4/d1d/classedash__packager_1_1media_1_1Muxer.html#a77c7a214383f64f822d479d226750bf5',1,'edash_packager::media::Muxer']]], ['addvideoinfo',['AddVideoInfo',['../dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html#a2b00f576154e002f067849129cff4c4a',1,'edash_packager::xml::RepresentationXmlNode']]], ['addvodonlyinfo',['AddVODOnlyInfo',['../dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html#a2afa0f4b92900936e2eb97a218d119a2',1,'edash_packager::xml::RepresentationXmlNode']]], diff --git a/docs/search/functions_10.js b/docs/search/functions_10.js index 75b2d33fc4..690530bff3 100644 --- a/docs/search/functions_10.js +++ b/docs/search/functions_10.js @@ -7,7 +7,7 @@ var searchData= ['sampleoffset',['SampleOffset',['../d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html#afa796801fb0e716b82cb7d708d1db871',1,'edash_packager::media::mp4::CompositionOffsetIterator']]], ['samples_5fper_5fchunk',['samples_per_chunk',['../d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html#a57bb736f64a9ab08b1f1957bedf621b6',1,'edash_packager::media::mp4::ChunkInfoIterator']]], ['scanchildren',['ScanChildren',['../db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html#a6c660acb6864f70ee1125c3f4c809e02',1,'edash_packager::media::mp4::BoxReader']]], - ['seek',['Seek',['../de/d19/classedash__packager_1_1media_1_1File.html#a28da55565be854b866bf223aa4232042',1,'edash_packager::media::File::Seek()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a824c0538b239159c611d8e9eddc59e2d',1,'edash_packager::media::LocalFile::Seek()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a8779e872a7e9f3f7a060b40e0b1b3049',1,'edash_packager::media::ThreadedIoFile::Seek()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#ae4420b53b065a3f11e73f4ae77567087',1,'edash_packager::media::UdpFile::Seek()']]], + ['seek',['Seek',['../de/d19/classedash__packager_1_1media_1_1File.html#a28da55565be854b866bf223aa4232042',1,'edash_packager::media::File::Seek()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a31ed97a6c4a45bb9d80f55dc444aba35',1,'edash_packager::media::LocalFile::Seek()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a46346ba1ff6a626aedb6f14475bde10d',1,'edash_packager::media::ThreadedIoFile::Seek()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a02cd760eab677a8c59af522830c7b1a4',1,'edash_packager::media::UdpFile::Seek()']]], ['set_5fclock',['set_clock',['../d4/d1d/classedash__packager_1_1media_1_1Muxer.html#ae22512b48793cb5c91186bc698966bfa',1,'edash_packager::media::Muxer']]], ['set_5fkey_5ffetcher',['set_key_fetcher',['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#ab483fd321e0f8681c232ac4fbaacb00c',1,'edash_packager::media::WidevineKeySource']]], ['set_5fsigner',['set_signer',['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a60554ce4bf32572d8be08d2bc4c63a9b',1,'edash_packager::media::WidevineKeySource']]], @@ -25,7 +25,7 @@ var searchData= ['setprogresslistener',['SetProgressListener',['../d4/d1d/classedash__packager_1_1media_1_1Muxer.html#a04959bfe66cdb16053326938df9d445a',1,'edash_packager::media::Muxer']]], ['setsampleduration',['SetSampleDuration',['../d7/d15/classedash__packager_1_1Representation.html#a4a81a2db7ec245892334ad927621909c',1,'edash_packager::Representation']]], ['setstringattribute',['SetStringAttribute',['../dd/d85/classedash__packager_1_1xml_1_1XmlNode.html#a13806def844e3fd8e8cc0e690f292aab',1,'edash_packager::xml::XmlNode']]], - ['size',['Size',['../d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html#aa502e5cfc6159ded7abb3672cdab8cd5',1,'edash_packager::media::ProducerConsumerQueue::Size()'],['../de/d19/classedash__packager_1_1media_1_1File.html#a1bb2a295cb69b3e51b9cc14969848632',1,'edash_packager::media::File::Size()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a8be2c9f77a073682d8ebc6808a2bfa94',1,'edash_packager::media::LocalFile::Size()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a9724a923f813e99f223d52ddf8e65556',1,'edash_packager::media::ThreadedIoFile::Size()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#acd47dd4e3169ee396b721d0c0e00b7dd',1,'edash_packager::media::UdpFile::Size()'],['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#aef7267aa7963866d3dcef4f051f84674',1,'edash_packager::media::mp4::BoxBuffer::Size()']]], + ['size',['Size',['../d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html#aa502e5cfc6159ded7abb3672cdab8cd5',1,'edash_packager::media::ProducerConsumerQueue::Size()'],['../de/d19/classedash__packager_1_1media_1_1File.html#a1bb2a295cb69b3e51b9cc14969848632',1,'edash_packager::media::File::Size()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a8984949196dc5230a8ece08c738a9fd3',1,'edash_packager::media::LocalFile::Size()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#af61d3986b87d43e3b5ffd86c86094478',1,'edash_packager::media::ThreadedIoFile::Size()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a8d62376715aee117aa7a225b54be0945',1,'edash_packager::media::UdpFile::Size()'],['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#aef7267aa7963866d3dcef4f051f84674',1,'edash_packager::media::mp4::BoxBuffer::Size()']]], ['skipbits',['SkipBits',['../df/db4/classedash__packager_1_1media_1_1BitReader.html#acacb97d71aaae01796b90d27e7cdca0a',1,'edash_packager::media::BitReader']]], ['skipbytes',['SkipBytes',['../d9/d46/classedash__packager_1_1media_1_1BufferReader.html#a2b7075e5a47a823b9f66c0ba702f26bf',1,'edash_packager::media::BufferReader']]], ['start',['Start',['../d2/dfd/classedash__packager_1_1media_1_1MediaStream.html#aaf43ae1836aadcc912298c30bc71838a',1,'edash_packager::media::MediaStream']]], diff --git a/docs/search/functions_11.js b/docs/search/functions_11.js index b7f896c767..c893c6e2bd 100644 --- a/docs/search/functions_11.js +++ b/docs/search/functions_11.js @@ -2,8 +2,8 @@ var searchData= [ ['tail',['tail',['../d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html#add7aef56ce4f162c047ad7fcf64cf603',1,'edash_packager::media::OffsetByteQueue']]], ['tailpos',['TailPos',['../d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html#a860bb54f9c53a25c27b1510b0e21eac9',1,'edash_packager::media::ProducerConsumerQueue']]], - ['tell',['Tell',['../de/d19/classedash__packager_1_1media_1_1File.html#a19409dd7d63022f34aee85640460428e',1,'edash_packager::media::File::Tell()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#abc713b14716779b3320b69c528fbaaa8',1,'edash_packager::media::LocalFile::Tell()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a8f460efd19e204bcb04c1feb808ac0cc',1,'edash_packager::media::ThreadedIoFile::Tell()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#aeef553c179ac9a645ff766ac03ce71d6',1,'edash_packager::media::UdpFile::Tell()']]], - ['tostring',['ToString',['../da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html#af7d609b21b4ef1a537ceea7511133e1a',1,'edash_packager::media::AudioStreamInfo::ToString()'],['../d8/d6c/classedash__packager_1_1media_1_1MediaSample.html#ad68efaffb542c373364794d1c17e3b8c',1,'edash_packager::media::MediaSample::ToString()'],['../d2/dfd/classedash__packager_1_1media_1_1MediaStream.html#af731dd749053f9650ee8dd2800338750',1,'edash_packager::media::MediaStream::ToString()'],['../d2/d90/classedash__packager_1_1media_1_1Status.html#a590cad3d305a36c1cf05e6770b728187',1,'edash_packager::media::Status::ToString()'],['../d6/d06/classedash__packager_1_1media_1_1StreamInfo.html#ac09810e16cf5cee2f87987bfcc70fece',1,'edash_packager::media::StreamInfo::ToString()'],['../d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html#a6301e6683e6c457e1155d0b1f6dd3baf',1,'edash_packager::media::VideoStreamInfo::ToString()'],['../d3/dfa/classedash__packager_1_1MpdBuilder.html#a1c0fd80514f6f1d90f70bb9e96e744a1',1,'edash_packager::MpdBuilder::ToString()']]], + ['tell',['Tell',['../de/d19/classedash__packager_1_1media_1_1File.html#a19409dd7d63022f34aee85640460428e',1,'edash_packager::media::File::Tell()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a4151ac1c3198e4037292040bb7f2504b',1,'edash_packager::media::LocalFile::Tell()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#acef8a84a1ec55e42588fec8bc8e0b698',1,'edash_packager::media::ThreadedIoFile::Tell()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a32a91da87bda023b44aa7e86c2207c07',1,'edash_packager::media::UdpFile::Tell()']]], + ['tostring',['ToString',['../da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html#a614479ac0820d6491845aa1a4bb85ba4',1,'edash_packager::media::AudioStreamInfo::ToString()'],['../d8/d6c/classedash__packager_1_1media_1_1MediaSample.html#ad68efaffb542c373364794d1c17e3b8c',1,'edash_packager::media::MediaSample::ToString()'],['../d2/dfd/classedash__packager_1_1media_1_1MediaStream.html#af731dd749053f9650ee8dd2800338750',1,'edash_packager::media::MediaStream::ToString()'],['../d2/d90/classedash__packager_1_1media_1_1Status.html#a590cad3d305a36c1cf05e6770b728187',1,'edash_packager::media::Status::ToString()'],['../d6/d06/classedash__packager_1_1media_1_1StreamInfo.html#ac09810e16cf5cee2f87987bfcc70fece',1,'edash_packager::media::StreamInfo::ToString()'],['../d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html#a08fb4a4fdd658266dc860ab9c5cf7ace',1,'edash_packager::media::VideoStreamInfo::ToString()'],['../d3/dfa/classedash__packager_1_1MpdBuilder.html#a1c0fd80514f6f1d90f70bb9e96e744a1',1,'edash_packager::MpdBuilder::ToString()']]], ['trackruniterator',['TrackRunIterator',['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#a2cfa01eaed61581122199666536c4bed',1,'edash_packager::media::mp4::TrackRunIterator']]], ['tracktypetostring',['TrackTypeToString',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a8bab239dd17b01ed607c483c536d1321',1,'edash_packager::media::KeySource']]], ['trim',['Trim',['../d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html#af2a41afe5b213be301b7b9f7ca555fae',1,'edash_packager::media::OffsetByteQueue']]], diff --git a/docs/search/functions_12.js b/docs/search/functions_12.js index 06b16ad6f4..a6e5dff8fe 100644 --- a/docs/search/functions_12.js +++ b/docs/search/functions_12.js @@ -6,5 +6,5 @@ var searchData= ['updatecontentprotectionpssh',['UpdateContentProtectionPssh',['../db/de4/classedash__packager_1_1AdaptationSet.html#a6630f9954b604bee7f90c11778336fdc',1,'edash_packager::AdaptationSet::UpdateContentProtectionPssh()'],['../d7/d15/classedash__packager_1_1Representation.html#a7fc0e59f273082ccf654025486af79ae',1,'edash_packager::Representation::UpdateContentProtectionPssh()']]], ['updateiv',['UpdateIv',['../dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html#a8310ce3e9ef83a899173bbd1e6ac5583',1,'edash_packager::media::AesCtrEncryptor']]], ['updateprogress',['UpdateProgress',['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#a287d51571c92704274550d9f1d246cf9',1,'edash_packager::media::mp4::Segmenter']]], - ['uuid',['UUID',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#afbb7d084395a1426eb0143ae8357b2fc',1,'edash_packager::media::KeySource::UUID()'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#aa917c7570c4010734451bb63d7dc061d',1,'edash_packager::media::WidevineKeySource::UUID()']]] + ['uuid',['UUID',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#afbb7d084395a1426eb0143ae8357b2fc',1,'edash_packager::media::KeySource::UUID()'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a7e87401178d0b2841a9c550fb8aea9d1',1,'edash_packager::media::WidevineKeySource::UUID()']]] ]; diff --git a/docs/search/functions_14.js b/docs/search/functions_14.js index fd0fe30cc4..994377a210 100644 --- a/docs/search/functions_14.js +++ b/docs/search/functions_14.js @@ -2,7 +2,7 @@ var searchData= [ ['waituntilemptyorclosed',['WaitUntilEmptyOrClosed',['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#ace4946f4ecb34f84c4750d276404a3e5',1,'edash_packager::media::IoCache']]], ['widevinekeysource',['WidevineKeySource',['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a78ebb07ba8a23086ec81839b16472857',1,'edash_packager::media::WidevineKeySource']]], - ['write',['Write',['../de/d19/classedash__packager_1_1media_1_1File.html#ad82196743ff131dd81e8f806735eb818',1,'edash_packager::media::File::Write()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#a4b7ee97ec07a6b2702ae4b58c9df4413',1,'edash_packager::media::IoCache::Write()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a5987e35339fed1cdd1b68f787d1721b2',1,'edash_packager::media::LocalFile::Write()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a20b995241942ec2926b875692b42c13a',1,'edash_packager::media::ThreadedIoFile::Write()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#ae2900433ff9a02756a6b3f8e776a3cdb',1,'edash_packager::media::UdpFile::Write()'],['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#aa7a756828b5514fcd3eaf16d86c413c0',1,'edash_packager::media::mp4::Box::Write()']]], + ['write',['Write',['../de/d19/classedash__packager_1_1media_1_1File.html#ad82196743ff131dd81e8f806735eb818',1,'edash_packager::media::File::Write()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#a4b7ee97ec07a6b2702ae4b58c9df4413',1,'edash_packager::media::IoCache::Write()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a3a1ae071948947e9885b8afd4e5eebb4',1,'edash_packager::media::LocalFile::Write()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a7dc883b5751c9027adabfbb0b9edd876',1,'edash_packager::media::ThreadedIoFile::Write()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#adc71ee86f3926b7869e088f1f0bae0a4',1,'edash_packager::media::UdpFile::Write()'],['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#aa7a756828b5514fcd3eaf16d86c413c0',1,'edash_packager::media::mp4::Box::Write()']]], ['writempdtofile',['WriteMpdToFile',['../d3/dfa/classedash__packager_1_1MpdBuilder.html#a9efa414ddfaf48561f3085daada49ebc',1,'edash_packager::MpdBuilder::WriteMpdToFile()'],['../db/d09/namespaceedash__packager.html#a2ecf0fb529eaf5ab21310d309bb9f9e9',1,'edash_packager::WriteMpdToFile()']]], ['writer',['writer',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#ac1c1d4d768f8f656f6ac2b5f4873b0a1',1,'edash_packager::media::mp4::BoxBuffer']]], ['writetofile',['WriteToFile',['../df/dde/classedash__packager_1_1media_1_1BufferWriter.html#aa83fe945386e5a75d3c377904fdddce2',1,'edash_packager::media::BufferWriter']]] diff --git a/docs/search/functions_16.js b/docs/search/functions_16.js index 4bcb0d5122..fcde8c9fc2 100644 --- a/docs/search/functions_16.js +++ b/docs/search/functions_16.js @@ -1,5 +1,5 @@ var searchData= [ - ['_7eclosurethread',['~ClosureThread',['../dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html#ad39d7f6d00720f04b86f580118da68a5',1,'edash_packager::media::ClosureThread']]], + ['_7eclosurethread',['~ClosureThread',['../dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html#ac7a559c2312121cd383321076ca72c4b',1,'edash_packager::media::ClosureThread']]], ['_7efile',['~File',['../de/d19/classedash__packager_1_1media_1_1File.html#ad1a8b1df388b90def135647a0136b0f7',1,'edash_packager::media::File']]] ]; diff --git a/docs/search/functions_2.js b/docs/search/functions_2.js index 4059702389..a304b86735 100644 --- a/docs/search/functions_2.js +++ b/docs/search/functions_2.js @@ -5,10 +5,10 @@ var searchData= ['childexist',['ChildExist',['../db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html#a5bc71875b0e8fe70cba17e2fe6f974fa',1,'edash_packager::media::mp4::BoxReader']]], ['chunkinfoiterator',['ChunkInfoIterator',['../d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html#a3461373a1fe3eaf1d58e1af93f5ca5aa',1,'edash_packager::media::mp4::ChunkInfoIterator']]], ['clear',['Clear',['../d2/d90/classedash__packager_1_1media_1_1Status.html#a0fbada5284f16152c63ebcdd30c36736',1,'edash_packager::media::Status::Clear()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#ae8ed4943296a88e5d5356347e63c6a42',1,'edash_packager::media::IoCache::Clear()']]], - ['close',['Close',['../de/d19/classedash__packager_1_1media_1_1File.html#a42290da768cd34316d2f4c5fc3976b38',1,'edash_packager::media::File::Close()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#a4588dbf505a08da8423b525ce24fee92',1,'edash_packager::media::IoCache::Close()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a83fe4f07fe74b3a25c91a96f1f343a29',1,'edash_packager::media::LocalFile::Close()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#aa3fba6bc5c73a04dd7ca7911c79d1be9',1,'edash_packager::media::ThreadedIoFile::Close()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a316e2180c12a1712bbe9473a4597fa2c',1,'edash_packager::media::UdpFile::Close()']]], + ['close',['Close',['../de/d19/classedash__packager_1_1media_1_1File.html#a42290da768cd34316d2f4c5fc3976b38',1,'edash_packager::media::File::Close()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#a4588dbf505a08da8423b525ce24fee92',1,'edash_packager::media::IoCache::Close()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#ad8bcb9e07851a62c6440458ef2c31e4f',1,'edash_packager::media::LocalFile::Close()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a72f8485ab641d5e3b5df89a6959c1209',1,'edash_packager::media::ThreadedIoFile::Close()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a10c51a75395ecb97f89124e296a349d9',1,'edash_packager::media::UdpFile::Close()']]], ['closurethread',['ClosureThread',['../dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html#a8cbb44ca1f4abd7028ba4602af82de0d',1,'edash_packager::media::ClosureThread']]], ['compositionoffsetiterator',['CompositionOffsetIterator',['../d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html#ac81770b820bc9b942c8ed9b8a12969b6',1,'edash_packager::media::mp4::CompositionOffsetIterator']]], - ['computesize',['ComputeSize',['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#a308081198b1fa9f9e4653ad976014a16',1,'edash_packager::media::mp4::Box::ComputeSize()'],['../d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html#a70b376bfa3ed7be210497ffa2b456f8c',1,'edash_packager::media::mp4::FileType::ComputeSize()'],['../dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html#af9d01112f531869d030e3361ad758459',1,'edash_packager::media::mp4::SegmentType::ComputeSize()'],['../da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html#acb4b95a6f8281435b68ca2eeefb43497',1,'edash_packager::media::mp4::ProtectionSystemSpecificHeader::ComputeSize()'],['../de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html#a01dc0714530b06b10812e24c5098da95',1,'edash_packager::media::mp4::SampleAuxiliaryInformationOffset::ComputeSize()'],['../d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html#a19a37f76e205541befe3776acc61e786',1,'edash_packager::media::mp4::SampleAuxiliaryInformationSize::ComputeSize()'],['../da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html#a4a705bd9a9bbf57c14845c0a5fb8e404',1,'edash_packager::media::mp4::OriginalFormat::ComputeSize()'],['../d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html#a740144f46b76edcda51ed35043c6e271',1,'edash_packager::media::mp4::SchemeType::ComputeSize()'],['../de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html#aef0a237100a4fc719d2b660f245757b6',1,'edash_packager::media::mp4::TrackEncryption::ComputeSize()'],['../d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html#ae1a7f03cce40a6736ab4af8724c4a224',1,'edash_packager::media::mp4::SchemeInfo::ComputeSize()'],['../dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html#accd13d00375bb7e0e1c36e5c477c9430',1,'edash_packager::media::mp4::ProtectionSchemeInfo::ComputeSize()'],['../dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html#a4f0ceec9e870861a5da85312a063fc1d',1,'edash_packager::media::mp4::MovieHeader::ComputeSize()'],['../dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html#a26d1a0d13cd86332ca4ee47990b1fcad',1,'edash_packager::media::mp4::TrackHeader::ComputeSize()'],['../d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html#a96d1e66ddf00c1c4c746df8bac36ffc6',1,'edash_packager::media::mp4::EditList::ComputeSize()'],['../d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html#aea0ad2214b092cb715eb1fec60e55d83',1,'edash_packager::media::mp4::Edit::ComputeSize()'],['../d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html#aa419538295fb5a48293407c0e2946de7',1,'edash_packager::media::mp4::HandlerReference::ComputeSize()'],['../d8/dbb/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord.html#a9c8d24e4a1a7463bfa7dc0dcf7f5c221',1,'edash_packager::media::mp4::AVCDecoderConfigurationRecord::ComputeSize()'],['../d1/dc8/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox.html#acb770d7a721bf6134cd8430b17796f07',1,'edash_packager::media::mp4::PixelAspectRatioBox::ComputeSize()'],['../df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html#aa48cbdc2f85dd231ebff8545f1510246',1,'edash_packager::media::mp4::VideoSampleEntry::ComputeSize()'],['../d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html#a2b9986a0b19fdf4d68f89b28e450cb51',1,'edash_packager::media::mp4::ElementaryStreamDescriptor::ComputeSize()'],['../df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html#a4bbef873e7c8603e63e176197c794ce2',1,'edash_packager::media::mp4::AudioSampleEntry::ComputeSize()'],['../d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html#a4b90f5dd8bcde92a8b52def46a91a966',1,'edash_packager::media::mp4::SampleDescription::ComputeSize()'],['../dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html#a3affc991338288a7387a9aa760d18a8d',1,'edash_packager::media::mp4::DecodingTimeToSample::ComputeSize()'],['../da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html#ae896fdf2beefff0fc5634a70c5c8c823',1,'edash_packager::media::mp4::CompositionTimeToSample::ComputeSize()'],['../df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html#ae68342dbf4090359270712277782174f',1,'edash_packager::media::mp4::SampleToChunk::ComputeSize()'],['../d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html#aa70e74855b1f9376ca919224f756752d',1,'edash_packager::media::mp4::SampleSize::ComputeSize()'],['../db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html#ad5c6ba5fb139808dc02c94736d5458e9',1,'edash_packager::media::mp4::CompactSampleSize::ComputeSize()'],['../da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html#a991b5de79d547de62009b8d0f667ef2e',1,'edash_packager::media::mp4::ChunkLargeOffset::ComputeSize()'],['../d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html#a11c731fb14147399cc0b41c6df86f420',1,'edash_packager::media::mp4::ChunkOffset::ComputeSize()'],['../d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html#add9214f52fa7a772fd90b6cfb46d126e',1,'edash_packager::media::mp4::SyncSample::ComputeSize()'],['../d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html#a9de5d55994064b02da1e15f67f463b8c',1,'edash_packager::media::mp4::SampleTable::ComputeSize()'],['../d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html#a205d8ac5b69bf0c30d96f83612ea7ef5',1,'edash_packager::media::mp4::MediaHeader::ComputeSize()'],['../db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html#a487564c539ae330d105c11d91893e729',1,'edash_packager::media::mp4::VideoMediaHeader::ComputeSize()'],['../da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html#a911d881fd4ddcbd08220636c976131cb',1,'edash_packager::media::mp4::SoundMediaHeader::ComputeSize()'],['../d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html#ab31cbd4b92e85f4818e3c2851273b2b3',1,'edash_packager::media::mp4::DataEntryUrl::ComputeSize()'],['../d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html#ae9d7c3108d067a1877ab78701f6e094f',1,'edash_packager::media::mp4::DataReference::ComputeSize()'],['../d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html#aec8cefe3ee77026442606de05ad9fab2',1,'edash_packager::media::mp4::DataInformation::ComputeSize()'],['../dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html#a778f430be294714dbb1ce046c91a9d90',1,'edash_packager::media::mp4::MediaInformation::ComputeSize()'],['../de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html#abcc1078c48042de9a22c45cf43c57a24',1,'edash_packager::media::mp4::Media::ComputeSize()'],['../d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html#a9e63316b33f60fbbd427151ccc4cf362',1,'edash_packager::media::mp4::Track::ComputeSize()'],['../da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html#a05e1f3bbddd01beeac2fc74c91e7a7b9',1,'edash_packager::media::mp4::MovieExtendsHeader::ComputeSize()'],['../d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html#a901f92e643e717bff9f15d2d60f82263',1,'edash_packager::media::mp4::TrackExtends::ComputeSize()'],['../d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html#a46d5b4563b2bc9ab0bec8c01dfaf8d9e',1,'edash_packager::media::mp4::MovieExtends::ComputeSize()'],['../d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html#ac20ee937a3b3f729c297cee8ca248631',1,'edash_packager::media::mp4::Movie::ComputeSize()'],['../d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html#ae12a6c2e4911ce32ef7329a57c73d6f4',1,'edash_packager::media::mp4::TrackFragmentDecodeTime::ComputeSize()'],['../df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html#abfb490674198f191115062cc323301d9',1,'edash_packager::media::mp4::MovieFragmentHeader::ComputeSize()'],['../d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html#ab37fe3a3aa8e4cbb44d5ef74b017a61b',1,'edash_packager::media::mp4::TrackFragmentHeader::ComputeSize()'],['../df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html#a1990d61f437d6c00b34d24879093dba7',1,'edash_packager::media::mp4::TrackFragmentRun::ComputeSize()'],['../d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html#a299f9846b41dbda38a661a272fb9f193',1,'edash_packager::media::mp4::SampleToGroup::ComputeSize()'],['../d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html#a87cea8f911a5b4aa5878c1a4745e15c8',1,'edash_packager::media::mp4::SampleGroupDescription::ComputeSize()'],['../d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html#aef01b7dd73fe290b1b30d9865ed25384',1,'edash_packager::media::mp4::TrackFragment::ComputeSize()'],['../dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html#abff1d6806ec6a0c1a2c1b28dc9967246',1,'edash_packager::media::mp4::MovieFragment::ComputeSize()'],['../d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html#aeafe332bcb895a90db770f509dac1001',1,'edash_packager::media::mp4::SegmentIndex::ComputeSize()']]], + ['computesize',['ComputeSize',['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#a308081198b1fa9f9e4653ad976014a16',1,'edash_packager::media::mp4::Box::ComputeSize()'],['../d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html#a9a35918ae9926d5a8de62de3fe3e4633',1,'edash_packager::media::mp4::FileType::ComputeSize()'],['../dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html#a1435881b64475f2b25c03892848fb5db',1,'edash_packager::media::mp4::SegmentType::ComputeSize()'],['../da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html#a63ef4d49a7b8b243b5638a6d7c103f1f',1,'edash_packager::media::mp4::ProtectionSystemSpecificHeader::ComputeSize()'],['../de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html#acee5016b00abd31077e9418ba11d0fa7',1,'edash_packager::media::mp4::SampleAuxiliaryInformationOffset::ComputeSize()'],['../d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html#aa44629c6bd902b46777156e665cad07f',1,'edash_packager::media::mp4::SampleAuxiliaryInformationSize::ComputeSize()'],['../da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html#a87b7c52641305ce4d798dd668d6756ec',1,'edash_packager::media::mp4::OriginalFormat::ComputeSize()'],['../d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html#a71f44ff9cca6d198949660fb249360d7',1,'edash_packager::media::mp4::SchemeType::ComputeSize()'],['../de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html#a65a57b19166e5a991fbdf2c4f4dfb8b2',1,'edash_packager::media::mp4::TrackEncryption::ComputeSize()'],['../d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html#a91c8e944c00f39f177ba760bec0a8f4a',1,'edash_packager::media::mp4::SchemeInfo::ComputeSize()'],['../dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html#a96bcc9da38534b1e435a64b54088ddf0',1,'edash_packager::media::mp4::ProtectionSchemeInfo::ComputeSize()'],['../dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html#a98f0e4357b76371c138d1f4668341dfc',1,'edash_packager::media::mp4::MovieHeader::ComputeSize()'],['../dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html#a6511792049c0cbf8885bec4fbb7061f9',1,'edash_packager::media::mp4::TrackHeader::ComputeSize()'],['../d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html#a11a352da04af26680d0cf5177d61fd5e',1,'edash_packager::media::mp4::EditList::ComputeSize()'],['../d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html#a14c1a549b11f692b5f0633b7125c3ae3',1,'edash_packager::media::mp4::Edit::ComputeSize()'],['../d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html#a3d9b29d66fee15035ac5ca69e0adeaf5',1,'edash_packager::media::mp4::HandlerReference::ComputeSize()'],['../d8/dbb/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord.html#a96c8bca868ad19729efe44a50de9c1c2',1,'edash_packager::media::mp4::AVCDecoderConfigurationRecord::ComputeSize()'],['../d1/dc8/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox.html#a37421c72cfd99b5e1dfdee818a6650f7',1,'edash_packager::media::mp4::PixelAspectRatioBox::ComputeSize()'],['../df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html#aa977e4caab29d9efb12577d8bfbba818',1,'edash_packager::media::mp4::VideoSampleEntry::ComputeSize()'],['../d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html#a08e90c754d415f9fa851f14a82849627',1,'edash_packager::media::mp4::ElementaryStreamDescriptor::ComputeSize()'],['../df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html#af74d9b19c4c9bf649bda8791d6fa5f58',1,'edash_packager::media::mp4::AudioSampleEntry::ComputeSize()'],['../d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html#ac5c6abc8d36c7bb2136f18ac5d1b5368',1,'edash_packager::media::mp4::SampleDescription::ComputeSize()'],['../dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html#aa3f3c842b8664389c26b23f9ab4e31cb',1,'edash_packager::media::mp4::DecodingTimeToSample::ComputeSize()'],['../da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html#a57ac0c7400d16cee449e3bf8b73a53dd',1,'edash_packager::media::mp4::CompositionTimeToSample::ComputeSize()'],['../df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html#a0093bc7fe20955fc6b5e91103b84be60',1,'edash_packager::media::mp4::SampleToChunk::ComputeSize()'],['../d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html#af7d69581466475192e91709c97d21ecc',1,'edash_packager::media::mp4::SampleSize::ComputeSize()'],['../db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html#a61b9d0cf0b2e5c64fc278cadfcb2dd6d',1,'edash_packager::media::mp4::CompactSampleSize::ComputeSize()'],['../da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html#ab6f87ec8a31c76f2e35edf45608fd543',1,'edash_packager::media::mp4::ChunkLargeOffset::ComputeSize()'],['../d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html#a6d29fc7ed591d451602a6715da412bd5',1,'edash_packager::media::mp4::ChunkOffset::ComputeSize()'],['../d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html#a8cb53a889fcd586d30d151f605488962',1,'edash_packager::media::mp4::SyncSample::ComputeSize()'],['../d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html#a970de7eb21b0d9d6c6d5ec712e820c9e',1,'edash_packager::media::mp4::SampleTable::ComputeSize()'],['../d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html#ac7a87233d07c7e1463dff2c61a699d0b',1,'edash_packager::media::mp4::MediaHeader::ComputeSize()'],['../db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html#a4d5984fc09138282e29813f8afc84d05',1,'edash_packager::media::mp4::VideoMediaHeader::ComputeSize()'],['../da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html#a8aa6cd627929310db049a0a331bd246f',1,'edash_packager::media::mp4::SoundMediaHeader::ComputeSize()'],['../d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html#ae1d458e8604d271671f127b12976e96c',1,'edash_packager::media::mp4::DataEntryUrl::ComputeSize()'],['../d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html#a3001840c8f3bb6f07ff5d8fd61eacaa0',1,'edash_packager::media::mp4::DataReference::ComputeSize()'],['../d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html#a3828a5e79dc7f81cedec545d2a4a6907',1,'edash_packager::media::mp4::DataInformation::ComputeSize()'],['../dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html#abc1485f9e36b4d05dcb04d5545f61523',1,'edash_packager::media::mp4::MediaInformation::ComputeSize()'],['../de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html#a8638a1068c3449829c2e98f1bf81fa8c',1,'edash_packager::media::mp4::Media::ComputeSize()'],['../d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html#a35ce8375ed40c9d319c69926b63811d1',1,'edash_packager::media::mp4::Track::ComputeSize()'],['../da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html#aab2d0643fe0ca1f2db0f562c424d3f17',1,'edash_packager::media::mp4::MovieExtendsHeader::ComputeSize()'],['../d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html#a9c158ad0fae3cc804dfb01182ec9bb40',1,'edash_packager::media::mp4::TrackExtends::ComputeSize()'],['../d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html#a2411f9aa36ae1d44f615423255a82ea2',1,'edash_packager::media::mp4::MovieExtends::ComputeSize()'],['../d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html#aa985dd14863b1bb4803e4a3a44052c32',1,'edash_packager::media::mp4::Movie::ComputeSize()'],['../d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html#a79cef3eb30362f998f85e5dca409527c',1,'edash_packager::media::mp4::TrackFragmentDecodeTime::ComputeSize()'],['../df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html#a02661d289aaa12e286adcf68d4f6a779',1,'edash_packager::media::mp4::MovieFragmentHeader::ComputeSize()'],['../d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html#a96ec9c8087e0d5b333520705b50b1f21',1,'edash_packager::media::mp4::TrackFragmentHeader::ComputeSize()'],['../df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html#a9f821047d359bb22e77c72d347b2bbba',1,'edash_packager::media::mp4::TrackFragmentRun::ComputeSize()'],['../d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html#a6598e25c4bcff437b1584e8e3dd0173e',1,'edash_packager::media::mp4::SampleToGroup::ComputeSize()'],['../d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html#a434cabc0e6b47158863ff522d345270b',1,'edash_packager::media::mp4::SampleGroupDescription::ComputeSize()'],['../d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html#a937dc821489803e4ee759eebb98f7cfb',1,'edash_packager::media::mp4::TrackFragment::ComputeSize()'],['../dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html#a9e43e423495777bd8020f85f0d87b1ad',1,'edash_packager::media::mp4::MovieFragment::ComputeSize()'],['../d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html#a4ae43d06df7765c5384e6234e2b41b9c',1,'edash_packager::media::mp4::SegmentIndex::ComputeSize()']]], ['connect',['Connect',['../d2/dfd/classedash__packager_1_1media_1_1MediaStream.html#a05b7188c263dc71b00635415bbdfd37f',1,'edash_packager::media::MediaStream']]], ['container_5fname',['container_name',['../d5/dce/classedash__packager_1_1media_1_1Demuxer.html#a650a6cfceda9dcd9c05feefbe0773057',1,'edash_packager::media::Demuxer']]], ['convertbytestreamtonalunitstream',['ConvertByteStreamToNalUnitStream',['../d5/d30/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter.html#a63d265a1448b3a3534ba7c9c6c5c4178',1,'edash_packager::media::H264ByteToUnitStreamConverter']]], diff --git a/docs/search/functions_5.js b/docs/search/functions_5.js index 8f1c3762af..c86bcca90f 100644 --- a/docs/search/functions_5.js +++ b/docs/search/functions_5.js @@ -1,11 +1,11 @@ var searchData= [ - ['fetchkeys',['FetchKeys',['../d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html#a4fc91ba68a7ae4bd63c1b36ed859afda',1,'edash_packager::media::HttpKeyFetcher::FetchKeys()'],['../d4/d43/classedash__packager_1_1media_1_1KeyFetcher.html#ae633bbf42ceb4c4c149a2409517047e5',1,'edash_packager::media::KeyFetcher::FetchKeys()'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a4020839c22a550bf71d891bf55087e0b',1,'edash_packager::media::KeySource::FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy)'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#aff319f4d17ed480243469eb8af5fa915',1,'edash_packager::media::KeySource::FetchKeys(const std::vector< uint8_t > &pssh_data)'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a68de1e9682273c2dc9b8db04718d426c',1,'edash_packager::media::KeySource::FetchKeys(uint32_t asset_id)'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#ae1c98fdfcd87e43dd66649eaf7803777',1,'edash_packager::media::WidevineKeySource::FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy) OVERRIDE'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#aad9a049ef0b09f7f8144cd7109ae0172',1,'edash_packager::media::WidevineKeySource::FetchKeys(const std::vector< uint8_t > &pssh_data) OVERRIDE'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a51db56855b151c5e52466e226d6350dd',1,'edash_packager::media::WidevineKeySource::FetchKeys(uint32_t asset_id) OVERRIDE']]], + ['fetchkeys',['FetchKeys',['../d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html#ab3d7adf67bd5898b760ac949454362c6',1,'edash_packager::media::HttpKeyFetcher::FetchKeys()'],['../d4/d43/classedash__packager_1_1media_1_1KeyFetcher.html#ae633bbf42ceb4c4c149a2409517047e5',1,'edash_packager::media::KeyFetcher::FetchKeys()'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a4020839c22a550bf71d891bf55087e0b',1,'edash_packager::media::KeySource::FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy)'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#aff319f4d17ed480243469eb8af5fa915',1,'edash_packager::media::KeySource::FetchKeys(const std::vector< uint8_t > &pssh_data)'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a68de1e9682273c2dc9b8db04718d426c',1,'edash_packager::media::KeySource::FetchKeys(uint32_t asset_id)'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a59b0688cd8c8ad9a3100f3bce8cb340c',1,'edash_packager::media::WidevineKeySource::FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy) override'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#af2984003ec87712623024c22075e9359',1,'edash_packager::media::WidevineKeySource::FetchKeys(const std::vector< uint8_t > &pssh_data) override'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#abc2c55f49f2c93a76dee393938869f24',1,'edash_packager::media::WidevineKeySource::FetchKeys(uint32_t asset_id) override']]], ['file_5fname',['file_name',['../de/d19/classedash__packager_1_1media_1_1File.html#ad736ca7bb8da1cec749f51275a87872c',1,'edash_packager::media::File']]], ['finalize',['Finalize',['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#ad1136a3e7c2e796267fbd3879d108c2a',1,'edash_packager::media::mp4::Segmenter']]], - ['finalizefragment',['FinalizeFragment',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a55fb4db47cb106c39a411f8890619d91',1,'edash_packager::media::mp4::EncryptingFragmenter::FinalizeFragment()'],['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#a5f346308fec8fa24cf47cf7ffd21d741',1,'edash_packager::media::mp4::Fragmenter::FinalizeFragment()']]], - ['finalizefragmentforencryption',['FinalizeFragmentForEncryption',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a0184deccbe7e99ea7a685cf0de2f9156',1,'edash_packager::media::mp4::EncryptingFragmenter::FinalizeFragmentForEncryption()'],['../dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html#ac3e6524b5456598717425c868785c320',1,'edash_packager::media::mp4::KeyRotationFragmenter::FinalizeFragmentForEncryption()']]], - ['flush',['Flush',['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#ad9906a71035190a798a9aa8aed0a92b8',1,'edash_packager::media::MediaParser::Flush()'],['../de/d19/classedash__packager_1_1media_1_1File.html#ace9275a79c572614ee5d068a04c76392',1,'edash_packager::media::File::Flush()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a45443ac38c05ca205cbb1d49a9ed6e7a',1,'edash_packager::media::LocalFile::Flush()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a41687c598757658a4e81a9aa2542c4d7',1,'edash_packager::media::ThreadedIoFile::Flush()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a0d0b73919bc1f30a0b697dc39e6e9413',1,'edash_packager::media::UdpFile::Flush()'],['../dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#a3b4fdfa2e74ea2817c44a23feb714758',1,'edash_packager::media::mp2t::Mp2tMediaParser::Flush()'],['../d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html#a22f451f9ca693732e0c57e0a46b6a0c6',1,'edash_packager::media::mp4::MP4MediaParser::Flush()'],['../d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html#a812b6a9ecaf18d4cd5da3b0c4adca5b6',1,'edash_packager::media::wvm::WvmMediaParser::Flush()'],['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a952baa36fc361001a1101c39850a160c',1,'edash_packager::DashIopMpdNotifier::Flush()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#aaeba5920a9df8db366f8cf86d64e855c',1,'edash_packager::MpdNotifier::Flush()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a39ebf425f66423a336eeca00fbf0be5e',1,'edash_packager::SimpleMpdNotifier::Flush()']]], + ['finalizefragment',['FinalizeFragment',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a7917221a0f5093ad6770926ee0ae0ce2',1,'edash_packager::media::mp4::EncryptingFragmenter::FinalizeFragment()'],['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#a5f346308fec8fa24cf47cf7ffd21d741',1,'edash_packager::media::mp4::Fragmenter::FinalizeFragment()']]], + ['finalizefragmentforencryption',['FinalizeFragmentForEncryption',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a0184deccbe7e99ea7a685cf0de2f9156',1,'edash_packager::media::mp4::EncryptingFragmenter::FinalizeFragmentForEncryption()'],['../dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html#a9a89e103f4bcb483d882e5dc62060cdc',1,'edash_packager::media::mp4::KeyRotationFragmenter::FinalizeFragmentForEncryption()']]], + ['flush',['Flush',['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#ad9906a71035190a798a9aa8aed0a92b8',1,'edash_packager::media::MediaParser::Flush()'],['../de/d19/classedash__packager_1_1media_1_1File.html#ace9275a79c572614ee5d068a04c76392',1,'edash_packager::media::File::Flush()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a4ab0f69a137a370d49005a1c9f13259d',1,'edash_packager::media::LocalFile::Flush()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a7d65b07dd7545b7c6d759884b736ad2d',1,'edash_packager::media::ThreadedIoFile::Flush()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#acde300494ef44cdbefac7dbf27b6707f',1,'edash_packager::media::UdpFile::Flush()'],['../dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#a351806157b3a17e69bf7d06c8259459c',1,'edash_packager::media::mp2t::Mp2tMediaParser::Flush()'],['../d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html#a042ad7caecf9ff854029a9b72a9b35b4',1,'edash_packager::media::mp4::MP4MediaParser::Flush()'],['../d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.html#ab0d151b74a2d567dbd400289028ff1f1',1,'edash_packager::media::WebMStreamParser::Flush()'],['../d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html#ae9e96b9a9d63c3bc4e8365b0538e89eb',1,'edash_packager::media::wvm::WvmMediaParser::Flush()'],['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a74080da948602a4deb88046e56eda79e',1,'edash_packager::DashIopMpdNotifier::Flush()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#aaeba5920a9df8db366f8cf86d64e855c',1,'edash_packager::MpdNotifier::Flush()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a701f3e8f0260ce8300fb9e4b31558a8d',1,'edash_packager::SimpleMpdNotifier::Flush()']]], ['forcesetsegmentalignment',['ForceSetSegmentAlignment',['../db/de4/classedash__packager_1_1AdaptationSet.html#a949526c833122b9a1ca40b9990224990',1,'edash_packager::AdaptationSet']]], ['fragmenter',['Fragmenter',['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#ae285aba21b3099fe0d5b9e5236583bc8',1,'edash_packager::media::mp4::Fragmenter']]], ['frequency',['frequency',['../dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html#a67fdc1b4f5787341e27d07c814a01a08',1,'edash_packager::media::mp4::AACAudioSpecificConfig']]] diff --git a/docs/search/functions_6.js b/docs/search/functions_6.js index 11a5441fe9..c35bdb2f16 100644 --- a/docs/search/functions_6.js +++ b/docs/search/functions_6.js @@ -1,7 +1,7 @@ var searchData= [ ['generatesegmentreference',['GenerateSegmentReference',['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#a04350ab4d9b2b403d8b150512786b7ec',1,'edash_packager::media::mp4::Fragmenter']]], - ['generatesignature',['GenerateSignature',['../dc/d73/classedash__packager_1_1media_1_1RequestSigner.html#a76278a2339751c4e69876e63cc088ef6',1,'edash_packager::media::RequestSigner::GenerateSignature()'],['../d8/dcc/classedash__packager_1_1media_1_1AesRequestSigner.html#a51991363bcf03d2413021eedb604cec0',1,'edash_packager::media::AesRequestSigner::GenerateSignature()'],['../dd/da8/classedash__packager_1_1media_1_1RsaRequestSigner.html#accde8727716a5ae84cb422efa1d65d0a',1,'edash_packager::media::RsaRequestSigner::GenerateSignature()'],['../d5/d62/classedash__packager_1_1media_1_1RsaPrivateKey.html#ab402109f8456af90f3cc34cee76184d9',1,'edash_packager::media::RsaPrivateKey::GenerateSignature()']]], + ['generatesignature',['GenerateSignature',['../dc/d73/classedash__packager_1_1media_1_1RequestSigner.html#a76278a2339751c4e69876e63cc088ef6',1,'edash_packager::media::RequestSigner::GenerateSignature()'],['../d8/dcc/classedash__packager_1_1media_1_1AesRequestSigner.html#abd7ef59b6d38ee2baa7c095fde6d9d69',1,'edash_packager::media::AesRequestSigner::GenerateSignature()'],['../dd/da8/classedash__packager_1_1media_1_1RsaRequestSigner.html#abeb03b173b601577b16cd18a1cf70738',1,'edash_packager::media::RsaRequestSigner::GenerateSignature()'],['../d5/d62/classedash__packager_1_1media_1_1RsaPrivateKey.html#ab402109f8456af90f3cc34cee76184d9',1,'edash_packager::media::RsaPrivateKey::GenerateSignature()']]], ['get',['Get',['../d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html#a20da7a424dfe7ec7bf198b118a08aacb',1,'edash_packager::media::HttpKeyFetcher']]], ['getadtsframesize',['GetAdtsFrameSize',['../db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html#aacce540b215432703697c6a1172c3011',1,'edash_packager::media::mp2t::AdtsHeader']]], ['getadtsheadersize',['GetAdtsHeaderSize',['../db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html#a87affdf0dc61bedb13bafd76c3d5b484',1,'edash_packager::media::mp2t::AdtsHeader']]], @@ -9,13 +9,13 @@ var searchData= ['getavcdecoderconfigurationrecord',['GetAVCDecoderConfigurationRecord',['../d5/d30/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter.html#a0f4d8f75700dc0674eb6eb9c7d6dd393',1,'edash_packager::media::H264ByteToUnitStreamConverter']]], ['getcodecstring',['GetCodecString',['../da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html#aa62e486f463c867b8e2f41ebb4ecea34',1,'edash_packager::media::AudioStreamInfo::GetCodecString()'],['../d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html#a801612f825520fae9c3c3ce1de138128',1,'edash_packager::media::VideoStreamInfo::GetCodecString()']]], ['getcontenttype',['GetContentType',['../db/d09/namespaceedash__packager.html#a7f479c5670e5c9f721772e0bd316bff9',1,'edash_packager']]], - ['getcryptoperiodkey',['GetCryptoPeriodKey',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a349381b866a37df15a931980636621ac',1,'edash_packager::media::KeySource::GetCryptoPeriodKey()'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a92e7ca7acadd1beed5b301dc092d5d75',1,'edash_packager::media::WidevineKeySource::GetCryptoPeriodKey()']]], + ['getcryptoperiodkey',['GetCryptoPeriodKey',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a349381b866a37df15a931980636621ac',1,'edash_packager::media::KeySource::GetCryptoPeriodKey()'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a35023c0b18a2db012027d4cf22c7bf1b',1,'edash_packager::media::WidevineKeySource::GetCryptoPeriodKey()']]], ['getdecryptconfig',['GetDecryptConfig',['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#ae62fc9fe719f4432d4043ea2f43963c6',1,'edash_packager::media::mp4::TrackRunIterator']]], ['getduration',['GetDuration',['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#a0e5e570d5f82c796ba015ca06c7a676c',1,'edash_packager::media::mp4::Segmenter']]], ['getfilesize',['GetFileSize',['../de/d19/classedash__packager_1_1media_1_1File.html#a239a76adb5ff5c5340c58f96d7034ec6',1,'edash_packager::media::File']]], - ['getindexrange',['GetIndexRange',['../dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html#ac536e13f4e0940566ac1fe53fb7f4dc6',1,'edash_packager::media::mp4::MultiSegmentSegmenter::GetIndexRange()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#acbb0ad06a2e0effee437c9037970c5b2',1,'edash_packager::media::mp4::Segmenter::GetIndexRange()'],['../da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html#a4c5ed066a3f37ac24211a8a793d18840',1,'edash_packager::media::mp4::SingleSegmentSegmenter::GetIndexRange()']]], - ['getinitrange',['GetInitRange',['../dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html#aa8a22b2a7e271abed76c25b531a919fd',1,'edash_packager::media::mp4::MultiSegmentSegmenter::GetInitRange()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#ae2b35481b5fd2a0bbbcfb970bbaddf12',1,'edash_packager::media::mp4::Segmenter::GetInitRange()'],['../da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html#ac66a1ec675201ed886a4470ebc02bbaa',1,'edash_packager::media::mp4::SingleSegmentSegmenter::GetInitRange()']]], - ['getkey',['GetKey',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a49ccfe7a61c36ac9818482a7892915d3',1,'edash_packager::media::KeySource::GetKey(TrackType track_type, EncryptionKey *key)'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a2d44267b238a221bb8a7d2bc1bf68ea2',1,'edash_packager::media::KeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key)'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#aa0bb08bc936e7ba6b554214246c71a90',1,'edash_packager::media::WidevineKeySource::GetKey(TrackType track_type, EncryptionKey *key) OVERRIDE'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a57be27cf9214278ae5f911b9fbe7078d',1,'edash_packager::media::WidevineKeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key) OVERRIDE']]], + ['getindexrange',['GetIndexRange',['../dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html#a789a8b0449e433076dfc0c2344d32280',1,'edash_packager::media::mp4::MultiSegmentSegmenter::GetIndexRange()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#acbb0ad06a2e0effee437c9037970c5b2',1,'edash_packager::media::mp4::Segmenter::GetIndexRange()'],['../da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html#a2e799317de70044cdd95e5406e1e2510',1,'edash_packager::media::mp4::SingleSegmentSegmenter::GetIndexRange()']]], + ['getinitrange',['GetInitRange',['../dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html#a88be93ad6cce209ceaf086ab98009516',1,'edash_packager::media::mp4::MultiSegmentSegmenter::GetInitRange()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#ae2b35481b5fd2a0bbbcfb970bbaddf12',1,'edash_packager::media::mp4::Segmenter::GetInitRange()'],['../da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html#aab8ffe19fcdd8688e9685264ad10fa60',1,'edash_packager::media::mp4::SingleSegmentSegmenter::GetInitRange()']]], + ['getkey',['GetKey',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a49ccfe7a61c36ac9818482a7892915d3',1,'edash_packager::media::KeySource::GetKey(TrackType track_type, EncryptionKey *key)'],['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#a2d44267b238a221bb8a7d2bc1bf68ea2',1,'edash_packager::media::KeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key)'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#ac1e7cae9bd5f008f20ca1d1603588441',1,'edash_packager::media::WidevineKeySource::GetKey(TrackType track_type, EncryptionKey *key) override'],['../db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html#a7b65c5c7b65d7e304956c86f5c058c1a',1,'edash_packager::media::WidevineKeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key) override']]], ['getmaxclearoffset',['GetMaxClearOffset',['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#a0927d4e877f453b00e3eb08230510a6c',1,'edash_packager::media::mp4::TrackRunIterator']]], ['getnumchannels',['GetNumChannels',['../db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html#aceebc7b088f459286fb3c338fa0b5407',1,'edash_packager::media::mp2t::AdtsHeader::GetNumChannels()'],['../dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html#abc1eea761852eb3d714a2f867f54db76',1,'edash_packager::media::mp4::AACAudioSpecificConfig::GetNumChannels()']]], ['getobjecttype',['GetObjectType',['../db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html#acadaa27044a3976e210c3dae65bff1a6',1,'edash_packager::media::mp2t::AdtsHeader']]], diff --git a/docs/search/functions_8.js b/docs/search/functions_8.js index 57646da524..f05ca3b44c 100644 --- a/docs/search/functions_8.js +++ b/docs/search/functions_8.js @@ -2,9 +2,9 @@ var searchData= [ ['id',['id',['../d7/d15/classedash__packager_1_1Representation.html#a0a59920aa8a31f1fb2b30a2ee8cc4e95',1,'edash_packager::Representation']]], ['ignorebytes',['IgnoreBytes',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#a7efa53df1ef135edd31d1e1818b9a884',1,'edash_packager::media::mp4::BoxBuffer']]], - ['init',['Init',['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#a7ac1ee5db298922f094920cd564bfb16',1,'edash_packager::media::MediaParser::Init()'],['../dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#a14a6993c335f89e8245f1af47fb9e55a',1,'edash_packager::media::mp2t::Mp2tMediaParser::Init()'],['../d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html#abe7532e2795f7b08e9663c0c2ba4d5f3',1,'edash_packager::media::mp4::MP4MediaParser::Init()'],['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#a6fd0f1d72f9a31a1c0d26c3b1ae25250',1,'edash_packager::media::mp4::TrackRunIterator::Init()'],['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#a354985cb4f5eed26e91dbb343a6343a0',1,'edash_packager::media::mp4::TrackRunIterator::Init(const MovieFragment &moof)'],['../d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html#a68d3bba403b0741c7948def9325d5ad1',1,'edash_packager::media::wvm::WvmMediaParser::Init()'],['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#ad126fe89d3bb63124c48630d39c034f3',1,'edash_packager::DashIopMpdNotifier::Init()'],['../d7/d15/classedash__packager_1_1Representation.html#aac7ad6e54e88b4d31196d54ad5fb4a9d',1,'edash_packager::Representation::Init()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#ae7067d35133b0573a2919fb69195328e',1,'edash_packager::MpdNotifier::Init()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a08979abd3c71bb40fa37d24989d84d19',1,'edash_packager::SimpleMpdNotifier::Init()']]], + ['init',['Init',['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#a7ac1ee5db298922f094920cd564bfb16',1,'edash_packager::media::MediaParser::Init()'],['../dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#abfcd1be5f00d8091feb044e7199966f5',1,'edash_packager::media::mp2t::Mp2tMediaParser::Init()'],['../d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html#a4ef745c8846adc9e932059a4e91f67c2',1,'edash_packager::media::mp4::MP4MediaParser::Init()'],['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#a6fd0f1d72f9a31a1c0d26c3b1ae25250',1,'edash_packager::media::mp4::TrackRunIterator::Init()'],['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#a354985cb4f5eed26e91dbb343a6343a0',1,'edash_packager::media::mp4::TrackRunIterator::Init(const MovieFragment &moof)'],['../d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.html#ae46318cf5b0e9d1c88ad5978c090f3df',1,'edash_packager::media::WebMStreamParser::Init()'],['../d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html#aef36e6f7cc6bdb2c6b287ae07ef9a55a',1,'edash_packager::media::wvm::WvmMediaParser::Init()'],['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#ace93090275f0ef9b33cf62648f854690',1,'edash_packager::DashIopMpdNotifier::Init()'],['../d7/d15/classedash__packager_1_1Representation.html#aac7ad6e54e88b4d31196d54ad5fb4a9d',1,'edash_packager::Representation::Init()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#ae7067d35133b0573a2919fb69195328e',1,'edash_packager::MpdNotifier::Init()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a8c0efff460547138724769b768ae6341',1,'edash_packager::SimpleMpdNotifier::Init()']]], ['initialize',['Initialize',['../d5/dce/classedash__packager_1_1media_1_1Demuxer.html#a5b156dbf1d1c86f4d18e137b3f7bc7c9',1,'edash_packager::media::Demuxer::Initialize()'],['../dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html#ae977765092cab9a566b4a5a3e9184370',1,'edash_packager::media::mp4::Segmenter::Initialize()']]], - ['initializefragment',['InitializeFragment',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#ac7623c16e5a71727e85ac2857a2c025b',1,'edash_packager::media::mp4::EncryptingFragmenter::InitializeFragment()'],['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#ab55cbcb40b4c1308d70052a4b8ccd6af',1,'edash_packager::media::mp4::Fragmenter::InitializeFragment()']]], + ['initializefragment',['InitializeFragment',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a3159dcc8d0f02da113715a97d096afef',1,'edash_packager::media::mp4::EncryptingFragmenter::InitializeFragment()'],['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#ab55cbcb40b4c1308d70052a4b8ccd6af',1,'edash_packager::media::mp4::Fragmenter::InitializeFragment()']]], ['initializewithiv',['InitializeWithIv',['../dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html#a7e755a2bc06f35c8b3de9a7ab8b538cd',1,'edash_packager::media::AesCtrEncryptor::InitializeWithIv()'],['../d6/dc4/classedash__packager_1_1media_1_1AesCbcPkcs5Encryptor.html#a6a960fa0d83359156cfd6e10167a69e2',1,'edash_packager::media::AesCbcPkcs5Encryptor::InitializeWithIv()'],['../db/dfe/classedash__packager_1_1media_1_1AesCbcPkcs5Decryptor.html#aaa17492b546264e815971e9f6925a460',1,'edash_packager::media::AesCbcPkcs5Decryptor::InitializeWithIv()'],['../d6/da2/classedash__packager_1_1media_1_1AesCbcCtsEncryptor.html#a5f48de14959ae35fdd9e2e95ab0274b4',1,'edash_packager::media::AesCbcCtsEncryptor::InitializeWithIv()'],['../dd/d96/classedash__packager_1_1media_1_1AesCbcCtsDecryptor.html#a4ae122dc7410cccec81eabbffa7601da',1,'edash_packager::media::AesCbcCtsDecryptor::InitializeWithIv()']]], ['initializewithrandomiv',['InitializeWithRandomIv',['../dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html#a3d1c0717e1310823bd6827299b6050ef',1,'edash_packager::media::AesCtrEncryptor']]], ['isaac',['IsAAC',['../de/db1/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor.html#a94db515fdafb0e007981d3c314b7b717',1,'edash_packager::media::mp4::ESDescriptor']]], @@ -12,6 +12,6 @@ var searchData= ['issamplevalid',['IsSampleValid',['../db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html#aac5201a3e14e410c805f5f9b58e88c22',1,'edash_packager::media::mp4::TrackRunIterator']]], ['issyncsample',['IsSyncSample',['../db/d01/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator.html#a19c0a90ae6ce549a8826569103bdee1c',1,'edash_packager::media::mp4::SyncSampleIterator::IsSyncSample() const '],['../db/d01/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator.html#a87c6402aa414c9e5f87634d33a9fad6c',1,'edash_packager::media::mp4::SyncSampleIterator::IsSyncSample(uint32_t sample) const ']]], ['isvalid',['IsValid',['../d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html#a83f8702a396ae63c94e79ae7d32cdcbf',1,'edash_packager::media::mp4::ChunkInfoIterator::IsValid()'],['../d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html#adf687bc7500b4c97f0ae170ea2254c09',1,'edash_packager::media::mp4::CompositionOffsetIterator::IsValid()'],['../d4/d90/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator.html#a182b0464b4681a63ac3453b4b5b1aa28',1,'edash_packager::media::mp4::DecodingTimeIterator::IsValid()']]], - ['isvalidconfig',['IsValidConfig',['../da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html#a836ab95546bab0becf5b3ada7cbf59c5',1,'edash_packager::media::AudioStreamInfo::IsValidConfig()'],['../d6/d06/classedash__packager_1_1media_1_1StreamInfo.html#ac2a38c803b8baf748ed66b4cf681518f',1,'edash_packager::media::StreamInfo::IsValidConfig()'],['../d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html#a8565954ad442f347e58996c61ee2dfb9',1,'edash_packager::media::VideoStreamInfo::IsValidConfig()']]], + ['isvalidconfig',['IsValidConfig',['../da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html#a98bbb5085d1dee09bd79b72d1efe590c',1,'edash_packager::media::AudioStreamInfo::IsValidConfig()'],['../d6/d06/classedash__packager_1_1media_1_1StreamInfo.html#ac2a38c803b8baf748ed66b4cf681518f',1,'edash_packager::media::StreamInfo::IsValidConfig()'],['../d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html#a128154cbdecb54f2b1bb64a52ae60b24',1,'edash_packager::media::VideoStreamInfo::IsValidConfig()']]], ['isvalidtoplevelbox',['IsValidTopLevelBox',['../db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html#a8505220e522a9b74a1f40adf3a84d29f',1,'edash_packager::media::mp4::BoxReader']]] ]; diff --git a/docs/search/functions_c.js b/docs/search/functions_c.js index 625c8f48bc..d0f2513278 100644 --- a/docs/search/functions_c.js +++ b/docs/search/functions_c.js @@ -1,9 +1,9 @@ var searchData= [ - ['notifyencryptionupdate',['NotifyEncryptionUpdate',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a611739a432dd2e85a2b689face08909c',1,'edash_packager::DashIopMpdNotifier::NotifyEncryptionUpdate()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a8eb441286be0f2cb96c4348ff88619c5',1,'edash_packager::MpdNotifier::NotifyEncryptionUpdate()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a4b7fa0a53ac352a037247476129a8217',1,'edash_packager::SimpleMpdNotifier::NotifyEncryptionUpdate()']]], - ['notifynewcontainer',['NotifyNewContainer',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a8c4fefd4a54ba8167e3445890a236076',1,'edash_packager::DashIopMpdNotifier::NotifyNewContainer()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a09e6df8ea9ea8c260199449448d1ea62',1,'edash_packager::MpdNotifier::NotifyNewContainer()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a3097c09073328b112c75eb0dab4a1c31',1,'edash_packager::SimpleMpdNotifier::NotifyNewContainer()']]], - ['notifynewsegment',['NotifyNewSegment',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#afba7a73655f0ad8ae1be714ff8178c2c',1,'edash_packager::DashIopMpdNotifier::NotifyNewSegment()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a7bb9cce525d5a4f1076b8d58a7bd07ab',1,'edash_packager::MpdNotifier::NotifyNewSegment()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a010adc825af58e2c2448505a261ad26c',1,'edash_packager::SimpleMpdNotifier::NotifyNewSegment()']]], - ['notifysampleduration',['NotifySampleDuration',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#aefce631c77b946576ecb9c8d6b95f06e',1,'edash_packager::DashIopMpdNotifier::NotifySampleDuration()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#ab4d97816ead500dc7cafac015f1f4979',1,'edash_packager::MpdNotifier::NotifySampleDuration()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a47dab0bc8d51b0e86369288b2b1ce967',1,'edash_packager::SimpleMpdNotifier::NotifySampleDuration()']]], + ['notifyencryptionupdate',['NotifyEncryptionUpdate',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a034390af4e3bde792a4479fead594085',1,'edash_packager::DashIopMpdNotifier::NotifyEncryptionUpdate()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a8eb441286be0f2cb96c4348ff88619c5',1,'edash_packager::MpdNotifier::NotifyEncryptionUpdate()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#adeb683f92d76d64c15ca7805b0de8db1',1,'edash_packager::SimpleMpdNotifier::NotifyEncryptionUpdate()']]], + ['notifynewcontainer',['NotifyNewContainer',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a567d501580023d78299923993b8b2532',1,'edash_packager::DashIopMpdNotifier::NotifyNewContainer()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a09e6df8ea9ea8c260199449448d1ea62',1,'edash_packager::MpdNotifier::NotifyNewContainer()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a9de39430a54e3be7ff50476830728ce4',1,'edash_packager::SimpleMpdNotifier::NotifyNewContainer()']]], + ['notifynewsegment',['NotifyNewSegment',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#a61b590c4c9d5b61d3ec0a1335c7daaa5',1,'edash_packager::DashIopMpdNotifier::NotifyNewSegment()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#a7bb9cce525d5a4f1076b8d58a7bd07ab',1,'edash_packager::MpdNotifier::NotifyNewSegment()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a847d0d659521910de341de8de8cadf75',1,'edash_packager::SimpleMpdNotifier::NotifyNewSegment()']]], + ['notifysampleduration',['NotifySampleDuration',['../da/d49/classedash__packager_1_1DashIopMpdNotifier.html#ad4b7f7e7106ca200eebfdd2bf4a09a84',1,'edash_packager::DashIopMpdNotifier::NotifySampleDuration()'],['../da/d38/classedash__packager_1_1MpdNotifier.html#ab4d97816ead500dc7cafac015f1f4979',1,'edash_packager::MpdNotifier::NotifySampleDuration()'],['../db/d56/classedash__packager_1_1SimpleMpdNotifier.html#a8931d4291590051f328171fc7ca69025',1,'edash_packager::SimpleMpdNotifier::NotifySampleDuration()']]], ['num_5fchannels',['num_channels',['../dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html#a0394e15d7eb62d5a2366e78900b93b40',1,'edash_packager::media::mp4::AACAudioSpecificConfig']]], ['numsamples',['NumSamples',['../d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html#a3c087f45de97888c3c537cec1ab6b940',1,'edash_packager::media::mp4::ChunkInfoIterator::NumSamples()'],['../d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html#a10f25f383ea2b2404dc3cd6f8d87dc71',1,'edash_packager::media::mp4::CompositionOffsetIterator::NumSamples()'],['../d4/d90/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator.html#af989a372d83019e0a65e8c850e122e47',1,'edash_packager::media::mp4::DecodingTimeIterator::NumSamples()']]] ]; diff --git a/docs/search/functions_d.js b/docs/search/functions_d.js index 80a6b55889..d2702b0b5a 100644 --- a/docs/search/functions_d.js +++ b/docs/search/functions_d.js @@ -3,9 +3,9 @@ var searchData= ['onneedkey',['OnNeedKey',['../dc/df1/classedash__packager_1_1media_1_1DecryptorSource.html#a635b0367a1903f3a0afb1ca931f1274a',1,'edash_packager::media::DecryptorSource']]], ['onnewsegmentforrepresentation',['OnNewSegmentForRepresentation',['../db/de4/classedash__packager_1_1AdaptationSet.html#aed9c81cd32d8bbb8ed71d5ab3f16efac',1,'edash_packager::AdaptationSet::OnNewSegmentForRepresentation()'],['../d2/dfa/classedash__packager_1_1RepresentationStateChangeListener.html#a555f268d74e4c70afd067ffe2e6ca64e',1,'edash_packager::RepresentationStateChangeListener::OnNewSegmentForRepresentation()']]], ['onprogress',['OnProgress',['../d9/d2c/classedash__packager_1_1media_1_1ProgressListener.html#a2e30994077f8798d56f61ee20fd9a776',1,'edash_packager::media::ProgressListener']]], - ['onsampledurationready',['OnSampleDurationReady',['../d3/d0e/classedash__packager_1_1media_1_1MpdNotifyMuxerListener.html#af65a2b4d9599f110ff70134286403c02',1,'edash_packager::media::MpdNotifyMuxerListener::OnSampleDurationReady()'],['../df/de7/classedash__packager_1_1media_1_1MuxerListener.html#a5626ff553138db438c561db2ca0d05f2',1,'edash_packager::media::MuxerListener::OnSampleDurationReady()'],['../d9/db4/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener.html#a122af3cd678be6f82766ecdfd5b95467',1,'edash_packager::media::VodMediaInfoDumpMuxerListener::OnSampleDurationReady()']]], + ['onsampledurationready',['OnSampleDurationReady',['../d3/d0e/classedash__packager_1_1media_1_1MpdNotifyMuxerListener.html#a0d5eb925ea47fb5656c05becb980d17d',1,'edash_packager::media::MpdNotifyMuxerListener::OnSampleDurationReady()'],['../df/de7/classedash__packager_1_1media_1_1MuxerListener.html#a5626ff553138db438c561db2ca0d05f2',1,'edash_packager::media::MuxerListener::OnSampleDurationReady()'],['../d9/db4/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener.html#a2229a8631ae24fc7f253f5a0b1fb6bab',1,'edash_packager::media::VodMediaInfoDumpMuxerListener::OnSampleDurationReady()']]], ['onsetframerateforrepresentation',['OnSetFrameRateForRepresentation',['../db/de4/classedash__packager_1_1AdaptationSet.html#ad9adf17a02fabfd4aa8d91a2d65d52ad',1,'edash_packager::AdaptationSet::OnSetFrameRateForRepresentation()'],['../d2/dfa/classedash__packager_1_1RepresentationStateChangeListener.html#aec87eac5d1aefe55dd8c0483ac4354a5',1,'edash_packager::RepresentationStateChangeListener::OnSetFrameRateForRepresentation()']]], - ['open',['Open',['../de/d19/classedash__packager_1_1media_1_1File.html#a4dfd6f4d8f67d2ee1caff4f4e1717c70',1,'edash_packager::media::File::Open(const char *file_name, const char *mode)'],['../de/d19/classedash__packager_1_1media_1_1File.html#a0933ccd7df76fcf8fbcfe12c15dbf6c5',1,'edash_packager::media::File::Open()=0'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a18709894b20567c0e3db67ba58b08db1',1,'edash_packager::media::LocalFile::Open()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a32617fd715b893d2b3a799418ef8b45e',1,'edash_packager::media::ThreadedIoFile::Open()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a436506c1512d2488435180a445af11d0',1,'edash_packager::media::UdpFile::Open()']]], + ['open',['Open',['../de/d19/classedash__packager_1_1media_1_1File.html#a4dfd6f4d8f67d2ee1caff4f4e1717c70',1,'edash_packager::media::File::Open(const char *file_name, const char *mode)'],['../de/d19/classedash__packager_1_1media_1_1File.html#a0933ccd7df76fcf8fbcfe12c15dbf6c5',1,'edash_packager::media::File::Open()=0'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a74829bb7ba2e219ab2d3137917c55271',1,'edash_packager::media::LocalFile::Open()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a5ad6384c116d61739667daa2a7a5613a',1,'edash_packager::media::ThreadedIoFile::Open()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#af759eb9caafd6220ede8c2584a706af0',1,'edash_packager::media::UdpFile::Open()']]], ['openwithnobuffering',['OpenWithNoBuffering',['../de/d19/classedash__packager_1_1media_1_1File.html#a47194a7cd303640c2a8b689d18ef9701',1,'edash_packager::media::File']]], ['optimizesampleentries',['OptimizeSampleEntries',['../db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html#ae51bbd5482783890e9843fd3ca61f2bb',1,'edash_packager::media::mp4::Fragmenter']]] ]; diff --git a/docs/search/functions_e.js b/docs/search/functions_e.js index c477e1abb3..57d5577d60 100644 --- a/docs/search/functions_e.js +++ b/docs/search/functions_e.js @@ -1,6 +1,6 @@ var searchData= [ - ['parse',['Parse',['../d5/dce/classedash__packager_1_1media_1_1Demuxer.html#adb6c35974c24809c715380a99ac7cc78',1,'edash_packager::media::Demuxer::Parse()'],['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#a6bc31ca2303d340a11a63a6f4bbb8b0a',1,'edash_packager::media::MediaParser::Parse()'],['../db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html#a12f7811f1539361980a13517f948f9fb',1,'edash_packager::media::mp2t::AdtsHeader::Parse()'],['../dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#a416aaeb6231a46548871a419795d1ffc',1,'edash_packager::media::mp2t::Mp2tMediaParser::Parse()'],['../dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html#a90a58afc9e6b20b9a6909d54f94dafc9',1,'edash_packager::media::mp4::AACAudioSpecificConfig::Parse()'],['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#a7b62a3983faafbea54a32486df60ed96',1,'edash_packager::media::mp4::Box::Parse()'],['../d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html#a6680c3e6aebbecf7a8f9462f0ff703bf',1,'edash_packager::media::mp4::MP4MediaParser::Parse()'],['../d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html#add788399fd476ba8289958bc8ed4ad0e',1,'edash_packager::media::wvm::WvmMediaParser::Parse()']]], + ['parse',['Parse',['../d5/dce/classedash__packager_1_1media_1_1Demuxer.html#adb6c35974c24809c715380a99ac7cc78',1,'edash_packager::media::Demuxer::Parse()'],['../dc/d48/classedash__packager_1_1media_1_1MediaParser.html#a6bc31ca2303d340a11a63a6f4bbb8b0a',1,'edash_packager::media::MediaParser::Parse()'],['../db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html#a12f7811f1539361980a13517f948f9fb',1,'edash_packager::media::mp2t::AdtsHeader::Parse()'],['../dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#a8e01eb8219dfd9a649ee5a153f9bbabb',1,'edash_packager::media::mp2t::Mp2tMediaParser::Parse()'],['../dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html#a90a58afc9e6b20b9a6909d54f94dafc9',1,'edash_packager::media::mp4::AACAudioSpecificConfig::Parse()'],['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#a7b62a3983faafbea54a32486df60ed96',1,'edash_packager::media::mp4::Box::Parse()'],['../d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html#ade36e7fd4daf8c6a98c16b6a94bafd28',1,'edash_packager::media::mp4::MP4MediaParser::Parse()'],['../d4/d20/classedash__packager_1_1media_1_1WebMStreamParser.html#a6854bdb8bafe8e4962b7f4b4cb797b71',1,'edash_packager::media::WebMStreamParser::Parse()'],['../d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html#af2a6c8b62df30b6515eee30389b271d7',1,'edash_packager::media::wvm::WvmMediaParser::Parse()']]], ['passscopedptr',['PassScopedPtr',['../dd/d85/classedash__packager_1_1xml_1_1XmlNode.html#a07d40d8fe27a2d1c3470f16ef0df3864',1,'edash_packager::xml::XmlNode']]], ['peek',['Peek',['../d8/d2e/classedash__packager_1_1media_1_1ByteQueue.html#a8253df160751462f3b75290a7c525e56',1,'edash_packager::media::ByteQueue::Peek()'],['../d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html#acf87e686e78d6cb962f39bb2acca7180',1,'edash_packager::media::ProducerConsumerQueue::Peek()']]], ['peekat',['PeekAt',['../d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html#a32b06f514ebfd5aef820a9b91228a854',1,'edash_packager::media::OffsetByteQueue']]], @@ -10,7 +10,7 @@ var searchData= ['pos',['Pos',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#a0b34f56b01acc899ae44ab9f4cb0b783',1,'edash_packager::media::mp4::BoxBuffer']]], ['post',['Post',['../d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html#a651b1c5ef001dc365488829266908691',1,'edash_packager::media::HttpKeyFetcher']]], ['preparechildren',['PrepareChildren',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#a2e46c4812ac9c48288a8461c230a375b',1,'edash_packager::media::mp4::BoxBuffer']]], - ['preparefragmentforencryption',['PrepareFragmentForEncryption',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a3e66313de4ecb51f23fe438758e0153b',1,'edash_packager::media::mp4::EncryptingFragmenter::PrepareFragmentForEncryption()'],['../dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html#a27f17363745efa98d860fb703fd24486',1,'edash_packager::media::mp4::KeyRotationFragmenter::PrepareFragmentForEncryption()']]], + ['preparefragmentforencryption',['PrepareFragmentForEncryption',['../d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a3e66313de4ecb51f23fe438758e0153b',1,'edash_packager::media::mp4::EncryptingFragmenter::PrepareFragmentForEncryption()'],['../dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html#a8c526a2a3f0555be9030f87ef1015bd8',1,'edash_packager::media::mp4::KeyRotationFragmenter::PrepareFragmentForEncryption()']]], ['printerror',['PrintError',['../db/d09/namespaceedash__packager.html#a64d35a221086349dfbd1acefee2aaef1',1,'edash_packager']]], ['producerconsumerqueue',['ProducerConsumerQueue',['../d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html#a7e0fa49f53accb47b4fbf15c9495d0d1',1,'edash_packager::media::ProducerConsumerQueue::ProducerConsumerQueue(size_t capacity)'],['../d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html#aabee571894649365e0982a410703a364',1,'edash_packager::media::ProducerConsumerQueue::ProducerConsumerQueue(size_t capacity, size_t starting_pos)']]], ['psshboxfrompsshdata',['PsshBoxFromPsshData',['../d9/d8b/classedash__packager_1_1media_1_1KeySource.html#ab5478505cfdb660fa6c680819f17f239',1,'edash_packager::media::KeySource']]], diff --git a/docs/search/functions_f.js b/docs/search/functions_f.js index 652e8e7203..85a943bfbd 100644 --- a/docs/search/functions_f.js +++ b/docs/search/functions_f.js @@ -1,6 +1,6 @@ var searchData= [ - ['read',['Read',['../de/d19/classedash__packager_1_1media_1_1File.html#a663547ead01b035117429c0bc757aab7',1,'edash_packager::media::File::Read()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#a462bd5ddce8041eaa109271fd0d155a9',1,'edash_packager::media::IoCache::Read()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#a488cdd1b73eb609b1e5f9b4e16409f86',1,'edash_packager::media::LocalFile::Read()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#afb7375d719f2a34b7d8f0678241e6065',1,'edash_packager::media::ThreadedIoFile::Read()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#a2adf69616970042401262643f43a9199',1,'edash_packager::media::UdpFile::Read()']]], + ['read',['Read',['../de/d19/classedash__packager_1_1media_1_1File.html#a663547ead01b035117429c0bc757aab7',1,'edash_packager::media::File::Read()'],['../d3/d6b/classedash__packager_1_1media_1_1IoCache.html#a462bd5ddce8041eaa109271fd0d155a9',1,'edash_packager::media::IoCache::Read()'],['../dd/d98/classedash__packager_1_1media_1_1LocalFile.html#ab974c5c7fd38d9fe184bf055173fd8cf',1,'edash_packager::media::LocalFile::Read()'],['../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html#a5075259d07b1b004d8b7985527fa6e63',1,'edash_packager::media::ThreadedIoFile::Read()'],['../d8/dc7/classedash__packager_1_1media_1_1UdpFile.html#aefea0adecf58c67cfde19e095ef027c3',1,'edash_packager::media::UdpFile::Read()']]], ['read1',['Read1',['../d9/d46/classedash__packager_1_1media_1_1BufferReader.html#a0375f4997e9c934783f51203c4d1434f',1,'edash_packager::media::BufferReader']]], ['readallchildren',['ReadAllChildren',['../db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html#abe53f02532597d3bd76dc46820aa0615',1,'edash_packager::media::mp4::BoxReader']]], ['readbits',['ReadBits',['../df/db4/classedash__packager_1_1media_1_1BitReader.html#a9a66cdd1013eb535e7e1eec60a91bf8c',1,'edash_packager::media::BitReader']]], @@ -11,11 +11,11 @@ var searchData= ['reading',['Reading',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#a36c0d8448dab759db37f9581ea602807',1,'edash_packager::media::mp4::BoxBuffer']]], ['readnbytesinto8',['ReadNBytesInto8',['../d9/d46/classedash__packager_1_1media_1_1BufferReader.html#ac21a2b3a9ed6b2ad20247b6f653d8a02',1,'edash_packager::media::BufferReader']]], ['readtoplevelbox',['ReadTopLevelBox',['../db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html#a029ef2fe387071143c42f50ffd1a16b5',1,'edash_packager::media::mp4::BoxReader']]], - ['readwrite',['ReadWrite',['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#ab588f893676e2c817088fc01caa7b135',1,'edash_packager::media::mp4::Box::ReadWrite()'],['../d6/d8f/structedash__packager_1_1media_1_1mp4_1_1FullBox.html#a95b3377915124537010b42719d33d41f',1,'edash_packager::media::mp4::FullBox::ReadWrite()'],['../d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html#aee4b59f0c2c79982f286f37d04d317f4',1,'edash_packager::media::mp4::FileType::ReadWrite()'],['../dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html#a0cbee70b4915e0a69237bf4f75c06841',1,'edash_packager::media::mp4::SegmentType::ReadWrite()'],['../da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html#a8717c7108b80278d9d1b0a6997d370c8',1,'edash_packager::media::mp4::ProtectionSystemSpecificHeader::ReadWrite()'],['../de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html#aacc3f25a60441cbeefb5719948b8dde6',1,'edash_packager::media::mp4::SampleAuxiliaryInformationOffset::ReadWrite()'],['../d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html#ad535f362d898f88e3bcb290d316e9d88',1,'edash_packager::media::mp4::SampleAuxiliaryInformationSize::ReadWrite()'],['../da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html#ae0c112698de3e06efc084df0b242caef',1,'edash_packager::media::mp4::OriginalFormat::ReadWrite()'],['../d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html#a31b8ef9b3bc870a124a687f8dff84232',1,'edash_packager::media::mp4::SchemeType::ReadWrite()'],['../de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html#a4ae5adc789a5899f89c0e029fd0068af',1,'edash_packager::media::mp4::TrackEncryption::ReadWrite()'],['../d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html#a0e69e1336e39d07b1825212b14f6faf6',1,'edash_packager::media::mp4::SchemeInfo::ReadWrite()'],['../dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html#a2b4ea22e86bf3f8048c38ba7b0ecf4e0',1,'edash_packager::media::mp4::ProtectionSchemeInfo::ReadWrite()'],['../dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html#a468f653814e6dfced50a740e27041ef1',1,'edash_packager::media::mp4::MovieHeader::ReadWrite()'],['../dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html#a1762a314e7634841f0f845463c8e2039',1,'edash_packager::media::mp4::TrackHeader::ReadWrite()'],['../d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html#ad16d9c64a405a56ce74c1ae0bd983bed',1,'edash_packager::media::mp4::EditList::ReadWrite()'],['../d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html#a789e9be1fdec8ac913a5083ce7881e13',1,'edash_packager::media::mp4::Edit::ReadWrite()'],['../d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html#aed599037539c27a4c6b762c7df8af667',1,'edash_packager::media::mp4::HandlerReference::ReadWrite()'],['../d8/dbb/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord.html#a9e70f2e6c23bb86fa5fe387d45877268',1,'edash_packager::media::mp4::AVCDecoderConfigurationRecord::ReadWrite()'],['../d1/dc8/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox.html#aee984d288c1c2ab2217726309dff45f4',1,'edash_packager::media::mp4::PixelAspectRatioBox::ReadWrite()'],['../df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html#af7c0db7c32de77af9441c33adcdf7dc8',1,'edash_packager::media::mp4::VideoSampleEntry::ReadWrite()'],['../d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html#a52365fdcab0226980dbca4f252155c11',1,'edash_packager::media::mp4::ElementaryStreamDescriptor::ReadWrite()'],['../df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html#a25e6faaa3aac8ca177ce719ac86a1230',1,'edash_packager::media::mp4::AudioSampleEntry::ReadWrite()'],['../d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html#af78ad2228bedef0f33dd2a3fe390c264',1,'edash_packager::media::mp4::SampleDescription::ReadWrite()'],['../dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html#a182286af9333024dfcd2180c5f9de83f',1,'edash_packager::media::mp4::DecodingTimeToSample::ReadWrite()'],['../da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html#a768b070dcbc3e0ac4c40580f9a269ba7',1,'edash_packager::media::mp4::CompositionTimeToSample::ReadWrite()'],['../df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html#a214d13dad0b592bad63c5c82c26fc5a8',1,'edash_packager::media::mp4::SampleToChunk::ReadWrite()'],['../d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html#a6f6a998d4365581a882d6aa8dd985353',1,'edash_packager::media::mp4::SampleSize::ReadWrite()'],['../db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html#ac6c287b0bbb46232d99065677c61c03f',1,'edash_packager::media::mp4::CompactSampleSize::ReadWrite()'],['../da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html#a3d7da255698a09c8b91d207968b29826',1,'edash_packager::media::mp4::ChunkLargeOffset::ReadWrite()'],['../d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html#a6fad7db4e1e37ea4e7580a24cba95f52',1,'edash_packager::media::mp4::ChunkOffset::ReadWrite()'],['../d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html#a354762cd47fc84fb71e12bbca3eae4cf',1,'edash_packager::media::mp4::SyncSample::ReadWrite()'],['../d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html#af9e1e01aa6c5df02049947f860918fd4',1,'edash_packager::media::mp4::SampleTable::ReadWrite()'],['../d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html#a2394c8a563f790c5d59c0f411483d373',1,'edash_packager::media::mp4::MediaHeader::ReadWrite()'],['../db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html#afccc426ca48ad8d102121164fbd8043a',1,'edash_packager::media::mp4::VideoMediaHeader::ReadWrite()'],['../da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html#aa072240b04b63d3873c26b6cc7290d22',1,'edash_packager::media::mp4::SoundMediaHeader::ReadWrite()'],['../d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html#aa712c1ad4a552f0f8ecd60fd55762e8e',1,'edash_packager::media::mp4::DataEntryUrl::ReadWrite()'],['../d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html#a196ac67de4711af24e952a51261fe096',1,'edash_packager::media::mp4::DataReference::ReadWrite()'],['../d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html#a74378acb05745fdbf8ca7ffdab288cf5',1,'edash_packager::media::mp4::DataInformation::ReadWrite()'],['../dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html#a03433ebd451315154b8ade741c4b9f5d',1,'edash_packager::media::mp4::MediaInformation::ReadWrite()'],['../de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html#af6eb9d251004ac9dc8e719a13991430e',1,'edash_packager::media::mp4::Media::ReadWrite()'],['../d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html#aecbdcf1304f4e05d4bfe94f033fb4997',1,'edash_packager::media::mp4::Track::ReadWrite()'],['../da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html#ab48d5f505d0370a5588a8bfb84dd3c2b',1,'edash_packager::media::mp4::MovieExtendsHeader::ReadWrite()'],['../d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html#a7134a0c406deaf51c639d2314667bdb0',1,'edash_packager::media::mp4::TrackExtends::ReadWrite()'],['../d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html#a0f4cf9ffc7038d41a80286f78dac0e0e',1,'edash_packager::media::mp4::MovieExtends::ReadWrite()'],['../d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html#ad386903689eca40d9dcb6d3f4990288a',1,'edash_packager::media::mp4::Movie::ReadWrite()'],['../d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html#a561a7efedb5a44d431d297be675587a4',1,'edash_packager::media::mp4::TrackFragmentDecodeTime::ReadWrite()'],['../df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html#ac94a4cb68ff87666c7836eb720581a33',1,'edash_packager::media::mp4::MovieFragmentHeader::ReadWrite()'],['../d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html#ac679f1815001fbde1ea447e2c2cdf414',1,'edash_packager::media::mp4::TrackFragmentHeader::ReadWrite()'],['../df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html#acd6288a45825fd9da7e688624405b9db',1,'edash_packager::media::mp4::TrackFragmentRun::ReadWrite()'],['../d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html#a9f52feee1777e711c82f35afd1f8c234',1,'edash_packager::media::mp4::SampleToGroup::ReadWrite()'],['../d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html#afa87507593131c8ebf9413b65259ceb4',1,'edash_packager::media::mp4::SampleGroupDescription::ReadWrite()'],['../d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html#ad712f20ca37aefb6f92d524d305b8d4d',1,'edash_packager::media::mp4::TrackFragment::ReadWrite()'],['../dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html#a03ad067670d4de600019c03c54f1f337',1,'edash_packager::media::mp4::MovieFragment::ReadWrite()'],['../d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html#ae3ce71370a51d6190c9874536239b2cc',1,'edash_packager::media::mp4::SegmentIndex::ReadWrite()']]], + ['readwrite',['ReadWrite',['../d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html#ab588f893676e2c817088fc01caa7b135',1,'edash_packager::media::mp4::Box::ReadWrite()'],['../d6/d8f/structedash__packager_1_1media_1_1mp4_1_1FullBox.html#a870af62c176dfafa79cde0b1a8a55698',1,'edash_packager::media::mp4::FullBox::ReadWrite()'],['../d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html#ac9414d32800e3fe74fa0a1178b9f2532',1,'edash_packager::media::mp4::FileType::ReadWrite()'],['../dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html#addccc32717d0e19e0c83b4896e5b75fa',1,'edash_packager::media::mp4::SegmentType::ReadWrite()'],['../da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html#af42f34f32cf72bad931a087ccd091497',1,'edash_packager::media::mp4::ProtectionSystemSpecificHeader::ReadWrite()'],['../de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html#aa0d478659013bf328a47d5b6fa85e27a',1,'edash_packager::media::mp4::SampleAuxiliaryInformationOffset::ReadWrite()'],['../d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html#aa87db40b90258eea4a9ac59a05bfa65c',1,'edash_packager::media::mp4::SampleAuxiliaryInformationSize::ReadWrite()'],['../da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html#ae70a5a4d8284294ef28e4e09ca99b328',1,'edash_packager::media::mp4::OriginalFormat::ReadWrite()'],['../d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html#a7a75cb5cb201ed7d4ac5cc3780d89938',1,'edash_packager::media::mp4::SchemeType::ReadWrite()'],['../de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html#a4d7e035c720876033e0ff6c7b54d3273',1,'edash_packager::media::mp4::TrackEncryption::ReadWrite()'],['../d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html#ac4463f938d941146acfa6bcdc20976c8',1,'edash_packager::media::mp4::SchemeInfo::ReadWrite()'],['../dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html#a05b923f36c96656b25217238c46cd2ee',1,'edash_packager::media::mp4::ProtectionSchemeInfo::ReadWrite()'],['../dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html#aaa8c99dfb5bcac4d65bceb01bd88e404',1,'edash_packager::media::mp4::MovieHeader::ReadWrite()'],['../dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html#a9ff4b7d42ee01f44bd2dff1c3f26f3c7',1,'edash_packager::media::mp4::TrackHeader::ReadWrite()'],['../d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html#af5ff80a49ff57612f9748e8a960315b5',1,'edash_packager::media::mp4::EditList::ReadWrite()'],['../d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html#a282283cf1f9eee501012641d3520361c',1,'edash_packager::media::mp4::Edit::ReadWrite()'],['../d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html#a3df705ca0d139d1051dfa05a2b6b7060',1,'edash_packager::media::mp4::HandlerReference::ReadWrite()'],['../d8/dbb/structedash__packager_1_1media_1_1mp4_1_1AVCDecoderConfigurationRecord.html#aed49d9bb85e483820a4af22026ea6f56',1,'edash_packager::media::mp4::AVCDecoderConfigurationRecord::ReadWrite()'],['../d1/dc8/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatioBox.html#ae6435b6d7f4d95a0101419d9b35fd8ff',1,'edash_packager::media::mp4::PixelAspectRatioBox::ReadWrite()'],['../df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html#a4e3cc061fa25de9d0126968b30962b9a',1,'edash_packager::media::mp4::VideoSampleEntry::ReadWrite()'],['../d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html#a3328cf76da4cf3a35a52338fe1064ead',1,'edash_packager::media::mp4::ElementaryStreamDescriptor::ReadWrite()'],['../df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html#a3b6d0c1419aa46306ead177fb8a0bacb',1,'edash_packager::media::mp4::AudioSampleEntry::ReadWrite()'],['../d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html#a1805369e3cdb005269fcc9f81303889b',1,'edash_packager::media::mp4::SampleDescription::ReadWrite()'],['../dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html#ac05749eb5644fcea4731a2761007e05d',1,'edash_packager::media::mp4::DecodingTimeToSample::ReadWrite()'],['../da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html#ae992e9996ed76398d2fb76b6716d47cc',1,'edash_packager::media::mp4::CompositionTimeToSample::ReadWrite()'],['../df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html#a67744906db3ad6d773db7e954aa55c90',1,'edash_packager::media::mp4::SampleToChunk::ReadWrite()'],['../d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html#ad10adc057b18128f5e1527ba3f271f5e',1,'edash_packager::media::mp4::SampleSize::ReadWrite()'],['../db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html#a3b0f171ecea6b68c68c16d59f8129260',1,'edash_packager::media::mp4::CompactSampleSize::ReadWrite()'],['../da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html#a49cdc81322f269456db0630abf48db1f',1,'edash_packager::media::mp4::ChunkLargeOffset::ReadWrite()'],['../d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html#a51122c167851400733dfc4c17eff1a4f',1,'edash_packager::media::mp4::ChunkOffset::ReadWrite()'],['../d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html#a0548b203ea15ae58c5416af74cf8c76d',1,'edash_packager::media::mp4::SyncSample::ReadWrite()'],['../d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html#ae3658b62d13fede295a7434f97273bf7',1,'edash_packager::media::mp4::SampleTable::ReadWrite()'],['../d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html#ac3a355d63d3921d8d58f2acdc321c32f',1,'edash_packager::media::mp4::MediaHeader::ReadWrite()'],['../db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html#a8c75844c8ecfb2da00f3f675e01b9675',1,'edash_packager::media::mp4::VideoMediaHeader::ReadWrite()'],['../da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html#a4f702c6ad638a7b0a56c288c3a19dd3d',1,'edash_packager::media::mp4::SoundMediaHeader::ReadWrite()'],['../d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html#a2daa4a272f30c554c2f55227f3baf086',1,'edash_packager::media::mp4::DataEntryUrl::ReadWrite()'],['../d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html#a74329b886d82a4382ade0d2d41d95457',1,'edash_packager::media::mp4::DataReference::ReadWrite()'],['../d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html#a5b20674cf809b0bd5c0ac7d3b8343c5c',1,'edash_packager::media::mp4::DataInformation::ReadWrite()'],['../dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html#a44fbb80add6d32ae3a0ca61b64428876',1,'edash_packager::media::mp4::MediaInformation::ReadWrite()'],['../de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html#a4370961884525da5e235e958f51f713e',1,'edash_packager::media::mp4::Media::ReadWrite()'],['../d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html#a47698bfb1f20e09824372c8f8391e10d',1,'edash_packager::media::mp4::Track::ReadWrite()'],['../da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html#afcf95727aaffc74b5f08565c6f4170cd',1,'edash_packager::media::mp4::MovieExtendsHeader::ReadWrite()'],['../d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html#af22666271f9314e56ff5ba909207523f',1,'edash_packager::media::mp4::TrackExtends::ReadWrite()'],['../d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html#addcb0fba685eee2c0dda799c30271f15',1,'edash_packager::media::mp4::MovieExtends::ReadWrite()'],['../d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html#ac77f65ee07e867c0c3db96f4154f22da',1,'edash_packager::media::mp4::Movie::ReadWrite()'],['../d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html#a96e4f7eaaba4f304c4baab7d1d45b15c',1,'edash_packager::media::mp4::TrackFragmentDecodeTime::ReadWrite()'],['../df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html#ab9ddce932c6d665f2927fc907d21ed68',1,'edash_packager::media::mp4::MovieFragmentHeader::ReadWrite()'],['../d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html#a87e7355bfa43933caa651dbd0e23811c',1,'edash_packager::media::mp4::TrackFragmentHeader::ReadWrite()'],['../df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html#a1a6b76ea2a90ce578fe0092f0ef40edb',1,'edash_packager::media::mp4::TrackFragmentRun::ReadWrite()'],['../d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html#a6855cfe79a965e95ab5be78afb745096',1,'edash_packager::media::mp4::SampleToGroup::ReadWrite()'],['../d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html#a6989deb24d851e40e92fab89dbd23159',1,'edash_packager::media::mp4::SampleGroupDescription::ReadWrite()'],['../d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html#abef97532bd33a34f6f96bd58d183120f',1,'edash_packager::media::mp4::TrackFragment::ReadWrite()'],['../dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html#a761c6e64c7055cc1f78fdfd47161b77e',1,'edash_packager::media::mp4::MovieFragment::ReadWrite()'],['../d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html#ae2c53c4a16d81090565d29f6301080fd',1,'edash_packager::media::mp4::SegmentIndex::ReadWrite()']]], ['readwritechild',['ReadWriteChild',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#ae2f4c04bd204e593491db3e24715efd2',1,'edash_packager::media::mp4::BoxBuffer']]], ['readwriteuint64nbytes',['ReadWriteUInt64NBytes',['../dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html#a726ab4970a19fa671137e88098e3cd48',1,'edash_packager::media::mp4::BoxBuffer']]], ['release',['Release',['../dd/d85/classedash__packager_1_1xml_1_1XmlNode.html#a0942bc721718b70b49fc9e91a6934513',1,'edash_packager::xml::XmlNode']]], ['representation',['Representation',['../d7/d15/classedash__packager_1_1Representation.html#a4fc4d0fd6f240f1c79fac0b68b9d9f0d',1,'edash_packager::Representation']]], ['reset',['Reset',['../d8/d2e/classedash__packager_1_1media_1_1ByteQueue.html#a452485879d303d5c8654e1b184bc1235',1,'edash_packager::media::ByteQueue']]], - ['run',['Run',['../dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html#a016f08770c94f2e92f66f299ee4a5b04',1,'edash_packager::media::ClosureThread::Run()'],['../d5/dce/classedash__packager_1_1media_1_1Demuxer.html#a7caa5e4ce5b80de4dbae7d967ff71f72',1,'edash_packager::media::Demuxer::Run()'],['../d4/d1d/classedash__packager_1_1media_1_1Muxer.html#aa2ef293cdb921d97bb39d038f29da8c4',1,'edash_packager::media::Muxer::Run()']]] + ['run',['Run',['../dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html#a87d65aa9a1279edaaad6a50c402b2aad',1,'edash_packager::media::ClosureThread::Run()'],['../d5/dce/classedash__packager_1_1media_1_1Demuxer.html#a7caa5e4ce5b80de4dbae7d967ff71f72',1,'edash_packager::media::Demuxer::Run()'],['../d4/d1d/classedash__packager_1_1media_1_1Muxer.html#aa2ef293cdb921d97bb39d038f29da8c4',1,'edash_packager::media::Muxer::Run()']]] ];