diff --git a/docs/annotated.html b/docs/annotated.html index 5403f15a34..337a16bc47 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -325,36 +325,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); ||oCOnMediaEndParameters ||oCProgressListenerThis class listens to progress updates events ||oCVodMediaInfoDumpMuxerListener -||oCFileDefine an abstract file interface -||oCFileCloser -||oCIoCacheDeclaration of class which implements a thread-safe circular buffer -||oCLocalFileImplement LocalFile which deals with local storage -||oCMemoryFile -||oCThreadedIoFileDeclaration of class which implements a thread-safe circular buffer -||oCUdpFileImplements UdpFile, which receives UDP unicast and multicast streams -||oCUdpOptionsOptions parsed from UDP url string of the form: udp://ip:port[?options] -||oCCluster -||oCClusterBuilder -||oCMkvWriterAn implementation of IMkvWriter using our File type -||oCSeekHead -||oCSegmentTestBase -|||\CClusterParser -||oCTracksBuilder -||oCWebMAudioClientHelper class used to parse an Audio element inside a TrackEntry element -||oCWebMClusterParser -||oCContentEncoding -||oCWebMContentEncodingsClientParser for WebM ContentEncodings element -||oCWebMInfoParserParser for WebM Info element -||oCWebMMediaParser -||oCWebMParserClient -||oCWebMListParser -||oCWebMTracksParserParser for WebM Tracks element -||oCWebMVideoClientHelper class used to parse a Video element inside a TrackEntry element -||oCWebMWebVTTParser -||oCCue -||oCWebVttMediaParser -||oCWebVttSampleConverter -||\CTrickPlayHandler +||oCCluster +||oCClusterBuilder +||oCMkvWriterAn implementation of IMkvWriter using our File type +||oCSeekHead +||oCSegmentTestBase +|||\CClusterParser +||oCTracksBuilder +||oCWebMAudioClientHelper class used to parse an Audio element inside a TrackEntry element +||oCWebMClusterParser +||oCContentEncoding +||oCWebMContentEncodingsClientParser for WebM ContentEncodings element +||oCWebMInfoParserParser for WebM Info element +||oCWebMMediaParser +||oCWebMParserClient +||oCWebMListParser +||oCWebMTracksParserParser for WebM Tracks element +||oCWebMVideoClientHelper class used to parse a Video element inside a TrackEntry element +||oCWebMWebVTTParser +||oCCue +||oCWebVttMediaParser +||oCWebVttSampleConverter +||\CTrickPlayHandler |oNxml ||oCXmlDeleter ||oCXmlNode @@ -384,7 +376,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/classes.html b/docs/classes.html index 9b3aa96b59..b8714f6e39 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -86,102 +86,100 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Class Index
-
A | B | C | D | E | F | H | I | K | L | M | N | O | P | R | S | T | U | V | W | X
+
A | B | C | D | E | F | H | I | K | L | M | N | O | P | R | S | T | V | W | X
- - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - + + + - - - - - - + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - + + + + + - - - + + +
  A  
-
DecodingTimeToSample (shaka::media::mp4)   
  K  
-
PixelAspectRatio (shaka::media::mp4)   TrackFragment (shaka::media::mp4)   
DecryptConfig (shaka::media)   PlayReadyKeySource (shaka::media)   TrackFragmentDecodeTime (shaka::media::mp4)   
AACAudioSpecificConfig (shaka::media)   DecryptorSource (shaka::media)   KeyFetcher (shaka::media)   PrevSampleData (shaka::media::wvm)   TrackFragmentHeader (shaka::media::mp4)   
AacProgramMapTableWriter (shaka::media::mp2t)   Demuxer (shaka::media)   KeySource (shaka::media)   PrivFrame (shaka::media::mp4)   TrackFragmentRun (shaka::media::mp4)   
AC3Specific (shaka::media::mp4)   DemuxStreamIdMediaSample (shaka::media::wvm)   
  L  
-
ProducerConsumerQueue (shaka::media)   TrackHeader (shaka::media::mp4)   
AdaptationSet (shaka)   DTSSpecific (shaka::media::mp4)   ProgramMapTableWriter (shaka::media::mp2t)   TrackRunIterator (shaka::media::mp4)   
AdaptationSetXmlNode (shaka::xml)   
  E  
-
Language (shaka::media::mp4)   ProgressListener (shaka::media)   TracksBuilder (shaka::media)   
AdtsHeader (shaka::media::mp2t)   LibcryptoThreading (shaka::media)   ProtectionSchemeInfo (shaka::media::mp4)   TrickPlayHandler (shaka::media)   
AesCbcDecryptor (shaka::media)   EC3Specific (shaka::media::mp4)   LocalFile (shaka::media)   ProtectionSystemSpecificHeader (shaka::media::mp4)   TsMuxer (shaka::media::mp2t)   
AesCbcEncryptor (shaka::media)   Edit (shaka::media::mp4)   H265SliceHeader::LongTermPicsInfo (shaka::media)   ProtectionSystemSpecificInfo (shaka::media)   TsPacket (shaka::media::mp2t)   
AesCryptor (shaka::media)   EditList (shaka::media::mp4)   
  M  
-
  R  
-
TsSection (shaka::media::mp2t)   
AesCtrEncryptor (shaka::media)   EditListEntry (shaka::media::mp4)   TsSectionPat (shaka::media::mp2t)   
AesEncryptor (shaka::media)   Element (shaka)   Media (shaka::media::mp4)   Range (shaka::media)   TsSectionPes (shaka::media::mp2t)   
AesPatternCryptor (shaka::media)   ElementaryStreamDescriptor (shaka::media::mp4)   MediaData (shaka::media::mp4)   Representation (shaka)   TsSectionPmt (shaka::media::mp2t)   
AesRequestSigner (shaka::media)   EncryptionConfig (shaka::media)   MediaEvent (shaka::media)   RepresentationBaseXmlNode (shaka::xml)   TsSectionPsi (shaka::media::mp2t)   
AudioRollRecoveryEntry (shaka::media::mp4)   EncryptionHandler (shaka::media)   MediaHandler (shaka::media)   RepresentationStateChangeListener (shaka)   TsSegmenter (shaka::media::mp2t)   
AudioSampleEntry (shaka::media::mp4)   EncryptionKey (shaka::media)   MediaHandlerTestBase (shaka::media)   RepresentationXmlNode (shaka::xml)   TsWriter (shaka::media::mp2t)   
AudioStreamInfo (shaka::media)   EncryptionOptions (shaka::media)   MediaHeader (shaka::media::mp4)   RequestSigner (shaka::media)   TwoPassSingleSegmentSegmenter (shaka::media::webm)   
AudioTimestampHelper (shaka::media)   ESDescriptor (shaka::media)   MediaInformation (shaka::media::mp4)   RsaPrivateKey (shaka::media)   
  U  
+
DecodingTime (shaka::media::mp4)   
  K  
+
PixelAspectRatio (shaka::media::mp4)   TrackExtends (shaka::media::mp4)   
DecodingTimeIterator (shaka::media::mp4)   PlayReadyKeySource (shaka::media)   TrackFragment (shaka::media::mp4)   
AACAudioSpecificConfig (shaka::media)   DecodingTimeToSample (shaka::media::mp4)   KeyFetcher (shaka::media)   PrevSampleData (shaka::media::wvm)   TrackFragmentDecodeTime (shaka::media::mp4)   
AacProgramMapTableWriter (shaka::media::mp2t)   DecryptConfig (shaka::media)   KeySource (shaka::media)   PrivFrame (shaka::media::mp4)   TrackFragmentHeader (shaka::media::mp4)   
AC3Specific (shaka::media::mp4)   DecryptorSource (shaka::media)   
  L  
+
ProducerConsumerQueue (shaka::media)   TrackFragmentRun (shaka::media::mp4)   
AdaptationSet (shaka)   Demuxer (shaka::media)   ProgramMapTableWriter (shaka::media::mp2t)   TrackHeader (shaka::media::mp4)   
AdaptationSetXmlNode (shaka::xml)   DemuxStreamIdMediaSample (shaka::media::wvm)   Language (shaka::media::mp4)   ProgressListener (shaka::media)   TrackRunIterator (shaka::media::mp4)   
AdtsHeader (shaka::media::mp2t)   DTSSpecific (shaka::media::mp4)   LibcryptoThreading (shaka::media)   ProtectionSchemeInfo (shaka::media::mp4)   TracksBuilder (shaka::media)   
AesCbcDecryptor (shaka::media)   
  E  
+
H265SliceHeader::LongTermPicsInfo (shaka::media)   ProtectionSystemSpecificHeader (shaka::media::mp4)   TrickPlayHandler (shaka::media)   
AesCbcEncryptor (shaka::media)   
  M  
+
ProtectionSystemSpecificInfo (shaka::media)   TsMuxer (shaka::media::mp2t)   
AesCryptor (shaka::media)   EC3Specific (shaka::media::mp4)   
  R  
+
TsPacket (shaka::media::mp2t)   
AesCtrEncryptor (shaka::media)   Edit (shaka::media::mp4)   Media (shaka::media::mp4)   TsSection (shaka::media::mp2t)   
AesEncryptor (shaka::media)   EditList (shaka::media::mp4)   MediaData (shaka::media::mp4)   Range (shaka::media)   TsSectionPat (shaka::media::mp2t)   
AesPatternCryptor (shaka::media)   EditListEntry (shaka::media::mp4)   MediaEvent (shaka::media)   Representation (shaka)   TsSectionPes (shaka::media::mp2t)   
AesRequestSigner (shaka::media)   Element (shaka)   MediaHandler (shaka::media)   RepresentationBaseXmlNode (shaka::xml)   TsSectionPmt (shaka::media::mp2t)   
AudioRollRecoveryEntry (shaka::media::mp4)   ElementaryStreamDescriptor (shaka::media::mp4)   MediaHandlerTestBase (shaka::media)   RepresentationStateChangeListener (shaka)   TsSectionPsi (shaka::media::mp2t)   
AudioSampleEntry (shaka::media::mp4)   EncryptionConfig (shaka::media)   MediaHeader (shaka::media::mp4)   RepresentationXmlNode (shaka::xml)   TsSegmenter (shaka::media::mp2t)   
AudioStreamInfo (shaka::media)   EncryptionHandler (shaka::media)   MediaInformation (shaka::media::mp4)   RequestSigner (shaka::media)   TsWriter (shaka::media::mp2t)   
AudioTimestampHelper (shaka::media)   EncryptionKey (shaka::media)   MediaParser (shaka::media)   RsaPrivateKey (shaka::media)   TwoPassSingleSegmentSegmenter (shaka::media::webm)   
AVCDecoderConfigurationRecord (shaka::media)   EncryptionOptions (shaka::media)   MuxerListener::MediaRanges (shaka::media)   RsaPublicKey (shaka::media)   
  V  
AVCDecoderConfigurationRecord (shaka::media)   EsParser (shaka::media::mp2t)   MediaParser (shaka::media)   RsaPublicKey (shaka::media)   
  B  
-
EsParserAdts (shaka::media::mp2t)   MuxerListener::MediaRanges (shaka::media)   RsaRequestSigner (shaka::media)   UdpFile (shaka::media)   
EsParserH264 (shaka::media::mp2t)   MediaSample (shaka::media)   
  S  
-
UdpOptions (shaka::media)   
BandwidthEstimator   EsParserH265 (shaka::media::mp2t)   MemoryFile (shaka::media)   
  V  
-
BitReader (shaka::media)   EsParserH26x (shaka::media::mp2t)   Metadata (shaka::media::mp4)   SampleAuxiliaryInformationOffset (shaka::media::mp4)   
Box (shaka::media::mp4)   
  F  
-
MkvWriter (shaka::media)   SampleAuxiliaryInformationSize (shaka::media::mp4)   VideoMediaHeader (shaka::media::mp4)   
BoxBuffer (shaka::media::mp4)   MockAdaptationSet (shaka)   SampleDescription (shaka::media::mp4)   VideoSampleEntry (shaka::media::mp4)   
BoxReader (shaka::media::mp4)   FakeMediaHandler (shaka::media)   MockMpdBuilder (shaka)   SampleEncryption (shaka::media::mp4)   VideoSliceHeaderParser (shaka::media)   
BufferReader (shaka::media)   File (shaka::media)   MockMpdNotifier (shaka)   SampleEncryptionEntry (shaka::media::mp4)   EsParserH26x::VideoSliceInfo (shaka::media::mp2t)   
BufferWriter (shaka::media)   FileCloser (shaka::media)   MockMuxerListener (shaka::media)   SampleGroupDescription (shaka::media::mp4)   VideoStreamInfo (shaka::media)   
ByteQueue (shaka::media)   FileType (shaka::media::mp4)   MockRepresentation (shaka)   SampleSize (shaka::media::mp4)   VideoStreamInfoParameters (shaka::media)   
ESDescriptor (shaka::media)   MediaSample (shaka::media)   RsaRequestSigner (shaka::media)   
EsParser (shaka::media::mp2t)   Metadata (shaka::media::mp4)   
  S  
+
VideoMediaHeader (shaka::media::mp4)   
BandwidthEstimator   EsParserAdts (shaka::media::mp2t)   MkvWriter (shaka::media)   VideoSampleEntry (shaka::media::mp4)   
BitReader (shaka::media)   EsParserH264 (shaka::media::mp2t)   MockAdaptationSet (shaka)   SampleAuxiliaryInformationOffset (shaka::media::mp4)   VideoSliceHeaderParser (shaka::media)   
Box (shaka::media::mp4)   EsParserH265 (shaka::media::mp2t)   MockMpdBuilder (shaka)   SampleAuxiliaryInformationSize (shaka::media::mp4)   EsParserH26x::VideoSliceInfo (shaka::media::mp2t)   
BoxBuffer (shaka::media::mp4)   EsParserH26x (shaka::media::mp2t)   MockMpdNotifier (shaka)   SampleDescription (shaka::media::mp4)   VideoStreamInfo (shaka::media)   
BoxReader (shaka::media::mp4)   
  F  
+
MockMuxerListener (shaka::media)   SampleEncryption (shaka::media::mp4)   VideoStreamInfoParameters (shaka::media)   
BufferReader (shaka::media)   MockRepresentation (shaka)   SampleEncryptionEntry (shaka::media::mp4)   VodMediaInfoDumpMuxerListener (shaka::media)   
BufferWriter (shaka::media)   FakeMediaHandler (shaka::media)   Movie (shaka::media::mp4)   SampleGroupDescription (shaka::media::mp4)   VP8Parser (shaka::media)   
ByteQueue (shaka::media)   FileType (shaka::media::mp4)   MovieExtends (shaka::media::mp4)   SampleSize (shaka::media::mp4)   VP9Parser (shaka::media)   
  C  
-
FixedKeySource (shaka::media)   Movie (shaka::media::mp4)   SampleTable (shaka::media::mp4)   VodMediaInfoDumpMuxerListener (shaka::media)   
Fragmenter (shaka::media::mp4)   MovieExtends (shaka::media::mp4)   SampleToChunk (shaka::media::mp4)   VP8Parser (shaka::media)   
CencSampleEncryptionInfoEntry (shaka::media::mp4)   FullBox (shaka::media::mp4)   MovieExtendsHeader (shaka::media::mp4)   SampleToGroup (shaka::media::mp4)   VP9Parser (shaka::media)   
FixedKeySource (shaka::media)   MovieExtendsHeader (shaka::media::mp4)   SampleTable (shaka::media::mp4)   VPCodecConfigurationRecord (shaka::media)   
Fragmenter (shaka::media::mp4)   MovieFragment (shaka::media::mp4)   SampleToChunk (shaka::media::mp4)   VPxFrameInfo (shaka::media)   
CencSampleEncryptionInfoEntry (shaka::media::mp4)   FullBox (shaka::media::mp4)   MovieFragmentHeader (shaka::media::mp4)   SampleToGroup (shaka::media::mp4)   VPxParser (shaka::media)   
ChunkInfo (shaka::media::mp4)   
  H  
-
MovieFragment (shaka::media::mp4)   SampleToGroupEntry (shaka::media::mp4)   VPCodecConfigurationRecord (shaka::media)   
ChunkInfoIterator (shaka::media::mp4)   MovieFragmentHeader (shaka::media::mp4)   SchemeInfo (shaka::media::mp4)   VPxFrameInfo (shaka::media)   
ChunkingHandler (shaka::media)   H264ByteToUnitStreamConverter (shaka::media)   MovieHeader (shaka::media::mp4)   SchemeType (shaka::media::mp4)   VPxParser (shaka::media)   
ChunkingOptions (shaka::media)   H264DecRefPicMarking (shaka::media)   Mp2tMediaParser (shaka::media::mp2t)   SeekHead (shaka::media)   VTTAdditionalTextBox (shaka::media::mp4)   
ChunkLargeOffset (shaka::media::mp4)   H264ModificationOfPicNum (shaka::media)   MP4MediaParser (shaka::media::mp4)   Segmenter (shaka::media::mp4)   VTTCueBox (shaka::media::mp4)   
ChunkOffset (shaka::media::mp4)   H264Parser (shaka::media)   MP4Muxer (shaka::media::mp4)   Segmenter (shaka::media::webm)   VTTEmptyCueBox (shaka::media::mp4)   
ClosureThread (shaka::media)   H264Pps (shaka::media)   MpdBuilder (shaka)   SegmentIndex (shaka::media::mp4)   
  W  
+
MovieHeader (shaka::media::mp4)   SampleToGroupEntry (shaka::media::mp4)   VTTAdditionalTextBox (shaka::media::mp4)   
ChunkInfoIterator (shaka::media::mp4)   Mp2tMediaParser (shaka::media::mp2t)   SchemeInfo (shaka::media::mp4)   VTTCueBox (shaka::media::mp4)   
ChunkingHandler (shaka::media)   H264ByteToUnitStreamConverter (shaka::media)   MP4MediaParser (shaka::media::mp4)   SchemeType (shaka::media::mp4)   VTTEmptyCueBox (shaka::media::mp4)   
ChunkingOptions (shaka::media)   H264DecRefPicMarking (shaka::media)   MP4Muxer (shaka::media::mp4)   SeekHead (shaka::media)   
  W  
Cluster (shaka::media)   H264ProgramMapTableWriter (shaka::media::mp2t)   MpdNotifier (shaka)   SegmentInfo (shaka::media)   
ClusterBuilder (shaka::media)   H264SEIMessage (shaka::media)   MpdNotifierFactory (shaka)   SegmentInfo (shaka)   WebMAudioClient (shaka::media)   
SegmentTestBase::ClusterParser (shaka::media)   H264SEIRecoveryPoint (shaka::media)   MpdNotifyMuxerListener (shaka::media)   SegmentReference (shaka::media::mp4)   WebMClusterParser (shaka::media)   
CodecConfiguration (shaka::media::mp4)   H264SliceHeader (shaka::media)   MpdOptions (shaka)   SegmentTestBase (shaka::media)   WebMContentEncodingsClient (shaka::media)   
CompactSampleSize (shaka::media::mp4)   H264Sps (shaka::media)   MpdWriter (shaka)   SegmentType (shaka::media::mp4)   WebMInfoParser (shaka::media)   
CompositionOffset (shaka::media::mp4)   H264VideoSliceHeaderParser (shaka::media)   MultiSegmentSegmenter (shaka::media::mp4)   SimpleMpdNotifier (shaka)   WebMListParser (shaka::media)   
CompositionOffsetIterator (shaka::media::mp4)   H264WeightingFactors (shaka::media)   MultiSegmentSegmenter (shaka::media::webm)   SingleSegmentSegmenter (shaka::media::mp4)   WebMMediaParser (shaka::media)   
CompositionTimeToSample (shaka::media::mp4)   H265ByteToUnitStreamConverter (shaka::media)   Muxer (shaka::media)   SingleSegmentSegmenter (shaka::media::webm)   WebMMuxer (shaka::media::webm)   
ContentEncoding (shaka::media)   H265Parser (shaka::media)   MuxerListener (shaka::media)   SoundMediaHeader (shaka::media::mp4)   WebMParserClient (shaka::media)   
ContentProtectionElement (shaka)   H265Pps (shaka::media)   MuxerOptions (shaka::media)   StreamData (shaka::media)   WebMTracksParser (shaka::media)   
ContinuityCounter (shaka::media::mp2t)   H265ReferencePictureListModifications (shaka::media)   
  N  
-
StreamInfo (shaka::media)   WebMVideoClient (shaka::media)   
Cue (shaka::media)   H265ReferencePictureSet (shaka::media)   SubsampleEntry (shaka::media)   WebMWebVTTParser (shaka::media)   
CueIDBox (shaka::media::mp4)   H265SliceHeader (shaka::media)   Nalu (shaka::media)   SubtitleMediaHeader (shaka::media::mp4)   WebVTTConfigurationBox (shaka::media::mp4)   
CuePayloadBox (shaka::media::mp4)   H265Sps (shaka::media)   NalUnitToByteStreamConverter (shaka::media)   SyncSample (shaka::media::mp4)   WebVttMediaParser (shaka::media)   
CueSettingsBox (shaka::media::mp4)   H265VideoSliceHeaderParser (shaka::media)   NaluReader (shaka::media)   SyncSampleIterator (shaka::media::mp4)   WebVttSampleConverter (shaka::media)   
CueSourceIDBox (shaka::media::mp4)   H265VuiParameters (shaka::media)   
  O  
-
  T  
-
WebVTTSourceLabelBox (shaka::media::mp4)   
CueTimeBox (shaka::media::mp4)   H26xBitReader (shaka::media)   WidevineKeySource (shaka::media)   
ChunkLargeOffset (shaka::media::mp4)   H264ModificationOfPicNum (shaka::media)   MpdBuilder (shaka)   Segmenter (shaka::media::mp4)   
ChunkOffset (shaka::media::mp4)   H264Parser (shaka::media)   MpdNotifier (shaka)   Segmenter (shaka::media::webm)   WebMAudioClient (shaka::media)   
ClosureThread (shaka::media)   H264Pps (shaka::media)   MpdNotifierFactory (shaka)   SegmentIndex (shaka::media::mp4)   WebMClusterParser (shaka::media)   
Cluster (shaka::media)   H264ProgramMapTableWriter (shaka::media::mp2t)   MpdNotifyMuxerListener (shaka::media)   SegmentInfo (shaka::media)   WebMContentEncodingsClient (shaka::media)   
ClusterBuilder (shaka::media)   H264SEIMessage (shaka::media)   MpdOptions (shaka)   SegmentInfo (shaka)   WebMInfoParser (shaka::media)   
SegmentTestBase::ClusterParser (shaka::media)   H264SEIRecoveryPoint (shaka::media)   MpdWriter (shaka)   SegmentReference (shaka::media::mp4)   WebMListParser (shaka::media)   
CodecConfiguration (shaka::media::mp4)   H264SliceHeader (shaka::media)   MultiSegmentSegmenter (shaka::media::mp4)   SegmentTestBase (shaka::media)   WebMMediaParser (shaka::media)   
CompactSampleSize (shaka::media::mp4)   H264Sps (shaka::media)   MultiSegmentSegmenter (shaka::media::webm)   SegmentType (shaka::media::mp4)   WebMMuxer (shaka::media::webm)   
CompositionOffset (shaka::media::mp4)   H264VideoSliceHeaderParser (shaka::media)   Muxer (shaka::media)   SimpleMpdNotifier (shaka)   WebMParserClient (shaka::media)   
CompositionOffsetIterator (shaka::media::mp4)   H264WeightingFactors (shaka::media)   MuxerListener (shaka::media)   SingleSegmentSegmenter (shaka::media::mp4)   WebMTracksParser (shaka::media)   
CompositionTimeToSample (shaka::media::mp4)   H265ByteToUnitStreamConverter (shaka::media)   MuxerOptions (shaka::media)   SingleSegmentSegmenter (shaka::media::webm)   WebMVideoClient (shaka::media)   
ContentEncoding (shaka::media)   H265Parser (shaka::media)   
  N  
+
SoundMediaHeader (shaka::media::mp4)   WebMWebVTTParser (shaka::media)   
ContentProtectionElement (shaka)   H265Pps (shaka::media)   StreamData (shaka::media)   WebVTTConfigurationBox (shaka::media::mp4)   
ContinuityCounter (shaka::media::mp2t)   H265ReferencePictureListModifications (shaka::media)   Nalu (shaka::media)   StreamInfo (shaka::media)   WebVttMediaParser (shaka::media)   
Cue (shaka::media)   H265ReferencePictureSet (shaka::media)   NalUnitToByteStreamConverter (shaka::media)   SubsampleEntry (shaka::media)   WebVttSampleConverter (shaka::media)   
CueIDBox (shaka::media::mp4)   H265SliceHeader (shaka::media)   NaluReader (shaka::media)   SubtitleMediaHeader (shaka::media::mp4)   WebVTTSourceLabelBox (shaka::media::mp4)   
CuePayloadBox (shaka::media::mp4)   H265Sps (shaka::media)   
  O  
+
SyncSample (shaka::media::mp4)   WidevineKeySource (shaka::media)   
CueSettingsBox (shaka::media::mp4)   H265VideoSliceHeaderParser (shaka::media)   SyncSampleIterator (shaka::media::mp4)   WvmMediaParser (shaka::media::wvm)   
CueSourceIDBox (shaka::media::mp4)   H265VuiParameters (shaka::media)   OffsetByteQueue (shaka::media)   
  T  
+
  X  
+
CueTimeBox (shaka::media::mp4)   H26xBitReader (shaka::media)   OnMediaEndParameters (shaka::media)   
  D  
-
H26xByteToUnitStreamConverter (shaka::media)   OffsetByteQueue (shaka::media)   TextSample (shaka::media)   WvmMediaParser (shaka::media::wvm)   
HandlerReference (shaka::media::mp4)   OnMediaEndParameters (shaka::media)   TextSampleEntry (shaka::media::mp4)   
  X  
-
DashIopMpdNotifier (shaka)   HEVCDecoderConfigurationRecord (shaka::media)   OpusSpecific (shaka::media::mp4)   TextStreamInfo (shaka::media)   
DataEntryUrl (shaka::media::mp4)   HlsNotifyMuxerListener (shaka::media)   OriginalFormat (shaka::media::mp4)   TextTrack (shaka::media)   XmlDeleter (shaka::xml)   
DataInformation (shaka::media::mp4)   HttpKeyFetcher (shaka::media)   
  P  
-
TextTrackConfig (shaka::media)   XmlNode (shaka::xml)   
H26xByteToUnitStreamConverter (shaka::media)   OpusSpecific (shaka::media::mp4)   TextSample (shaka::media)   XmlDeleter (shaka::xml)   
HandlerReference (shaka::media::mp4)   OriginalFormat (shaka::media::mp4)   TextSampleEntry (shaka::media::mp4)   XmlNode (shaka::xml)   
DashIopMpdNotifier (shaka)   HEVCDecoderConfigurationRecord (shaka::media)   
  P  
+
TextStreamInfo (shaka::media)   
DataEntryUrl (shaka::media::mp4)   HlsNotifyMuxerListener (shaka::media)   TextTrack (shaka::media)   
DataInformation (shaka::media::mp4)   HttpKeyFetcher (shaka::media)   PeriodInfo (shaka::media)   TextTrackConfig (shaka::media)   
DataReference (shaka::media::mp4)   
  I  
-
ThreadedIoFile (shaka::media)   
DecoderConfigurationRecord (shaka::media)   PeriodInfo (shaka::media)   Track (shaka::media::mp4)   
DecodingTime (shaka::media::mp4)   ID3v2 (shaka::media::mp4)   PesPacket (shaka::media::mp2t)   TrackEncryption (shaka::media::mp4)   
DecodingTimeIterator (shaka::media::mp4)   IoCache (shaka::media)   PesPacketGenerator (shaka::media::mp2t)   TrackExtends (shaka::media::mp4)   
PesPacket (shaka::media::mp2t)   Track (shaka::media::mp4)   
DecoderConfigurationRecord (shaka::media)   PesPacketGenerator (shaka::media::mp2t)   TrackEncryption (shaka::media::mp4)   
ID3v2 (shaka::media::mp4)   
-
A | B | C | D | E | F | H | I | K | L | M | N | O | P | R | S | T | U | V | W | X
+
A | B | C | D | E | F | H | I | K | L | M | N | O | P | R | S | T | V | W | X
diff --git a/docs/d0/d00/structshaka_1_1media_1_1mp4_1_1HandlerReference-members.html b/docs/d0/d00/structshaka_1_1media_1_1mp4_1_1HandlerReference-members.html index e1facf8be5..e3fdba6490 100644 --- a/docs/d0/d00/structshaka_1_1media_1_1mp4_1_1HandlerReference-members.html +++ b/docs/d0/d00/structshaka_1_1media_1_1mp4_1_1HandlerReference-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d04/classshaka_1_1media_1_1RsaRequestSigner-members.html b/docs/d0/d04/classshaka_1_1media_1_1RsaRequestSigner-members.html index 46721d4996..4d45bf0d5d 100644 --- a/docs/d0/d04/classshaka_1_1media_1_1RsaRequestSigner-members.html +++ b/docs/d0/d04/classshaka_1_1media_1_1RsaRequestSigner-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d06/mpd__flags_8cc_source.html b/docs/d0/d06/mpd__flags_8cc_source.html index 910f6955ad..fbba3a811a 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/classshaka_1_1media_1_1HttpKeyFetcher-members.html b/docs/d0/d0e/classshaka_1_1media_1_1HttpKeyFetcher-members.html index dcbbda76b1..fdecd3fa2e 100644 --- a/docs/d0/d0e/classshaka_1_1media_1_1HttpKeyFetcher-members.html +++ b/docs/d0/d0e/classshaka_1_1media_1_1HttpKeyFetcher-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d0e/hevc__decoder__configuration__record_8h_source.html b/docs/d0/d0e/hevc__decoder__configuration__record_8h_source.html index 13a2b06591..aac145a1df 100644 --- a/docs/d0/d0e/hevc__decoder__configuration__record_8h_source.html +++ b/docs/d0/d0e/hevc__decoder__configuration__record_8h_source.html @@ -139,7 +139,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 b602581343..602da97ea5 100644 --- a/docs/d0/d0e/muxer__options_8h_source.html +++ b/docs/d0/d0e/muxer__options_8h_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d0f/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt-members.html b/docs/d0/d0f/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt-members.html index 4e7ad6bf20..5764c5808c 100644 --- a/docs/d0/d0f/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt-members.html +++ b/docs/d0/d0f/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d11/structshaka_1_1media_1_1VPxFrameInfo.html b/docs/d0/d11/structshaka_1_1media_1_1VPxFrameInfo.html index d93a17b21e..e1dab93226 100644 --- a/docs/d0/d11/structshaka_1_1media_1_1VPxFrameInfo.html +++ b/docs/d0/d11/structshaka_1_1media_1_1VPxFrameInfo.html @@ -121,7 +121,7 @@ uint32_t height diff --git a/docs/d0/d17/structshaka_1_1media_1_1StreamData-members.html b/docs/d0/d17/structshaka_1_1media_1_1StreamData-members.html index 4ed7dcedcf..a6be8705a3 100644 --- a/docs/d0/d17/structshaka_1_1media_1_1StreamData-members.html +++ b/docs/d0/d17/structshaka_1_1media_1_1StreamData-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d1a/text__sample_8h_source.html b/docs/d0/d1a/text__sample_8h_source.html index cd54e38d33..5bb9ae29dd 100644 --- a/docs/d0/d1a/text__sample_8h_source.html +++ b/docs/d0/d1a/text__sample_8h_source.html @@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d1e/classshaka_1_1media_1_1H265ByteToUnitStreamConverter-members.html b/docs/d0/d1e/classshaka_1_1media_1_1H265ByteToUnitStreamConverter-members.html index 08e1844ff1..f60803b325 100644 --- a/docs/d0/d1e/classshaka_1_1media_1_1H265ByteToUnitStreamConverter-members.html +++ b/docs/d0/d1e/classshaka_1_1media_1_1H265ByteToUnitStreamConverter-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d1f/structshaka_1_1media_1_1mp4_1_1VTTCueBox-members.html b/docs/d0/d1f/structshaka_1_1media_1_1mp4_1_1VTTCueBox-members.html index faa3321606..6fb7b7e920 100644 --- a/docs/d0/d1f/structshaka_1_1media_1_1mp4_1_1VTTCueBox-members.html +++ b/docs/d0/d1f/structshaka_1_1media_1_1mp4_1_1VTTCueBox-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d26/classshaka_1_1media_1_1mp2t_1_1TsSectionPat.html b/docs/d0/d26/classshaka_1_1media_1_1mp2t_1_1TsSectionPat.html index b3b8c1ffec..930329e808 100644 --- a/docs/d0/d26/classshaka_1_1media_1_1mp2t_1_1TsSectionPat.html +++ b/docs/d0/d26/classshaka_1_1media_1_1mp2t_1_1TsSectionPat.html @@ -155,7 +155,7 @@ void Reset () override diff --git a/docs/d0/d27/structshaka_1_1media_1_1MuxerOptions.html b/docs/d0/d27/structshaka_1_1media_1_1MuxerOptions.html index 2475d34c30..56b1417953 100644 --- a/docs/d0/d27/structshaka_1_1media_1_1MuxerOptions.html +++ b/docs/d0/d27/structshaka_1_1media_1_1MuxerOptions.html @@ -206,7 +206,7 @@ bool mp4_include_pssh_in_s diff --git a/docs/d0/d30/mock__mpd__notifier_8h_source.html b/docs/d0/d30/mock__mpd__notifier_8h_source.html index 1be840e148..78a31bfbc1 100644 --- a/docs/d0/d30/mock__mpd__notifier_8h_source.html +++ b/docs/d0/d30/mock__mpd__notifier_8h_source.html @@ -149,7 +149,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 d37a0e82fe..6467880b78 100644 --- a/docs/d0/d32/mp2t__common_8h_source.html +++ b/docs/d0/d32/mp2t__common_8h_source.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d33/classshaka_1_1MockRepresentation.html b/docs/d0/d33/classshaka_1_1MockRepresentation.html index 6c5b606012..4b8833caee 100644 --- a/docs/d0/d33/classshaka_1_1MockRepresentation.html +++ b/docs/d0/d33/classshaka_1_1MockRepresentation.html @@ -160,7 +160,7 @@ Additional Inherited Members diff --git a/docs/d0/d35/es__descriptor_8cc_source.html b/docs/d0/d35/es__descriptor_8cc_source.html index 3ed60efc79..5a428a58e2 100644 --- a/docs/d0/d35/es__descriptor_8cc_source.html +++ b/docs/d0/d35/es__descriptor_8cc_source.html @@ -285,7 +285,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d3a/hls__notify__muxer__listener_8cc_source.html b/docs/d0/d3a/hls__notify__muxer__listener_8cc_source.html index f81da87679..9f9a6f73ea 100644 --- a/docs/d0/d3a/hls__notify__muxer__listener_8cc_source.html +++ b/docs/d0/d3a/hls__notify__muxer__listener_8cc_source.html @@ -302,7 +302,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d3a/webm__constants_8h_source.html b/docs/d0/d3a/webm__constants_8h_source.html index db3f86171e..14b2db2226 100644 --- a/docs/d0/d3a/webm__constants_8h_source.html +++ b/docs/d0/d3a/webm__constants_8h_source.html @@ -333,7 +333,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d3c/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html b/docs/d0/d3c/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html index 06f090bb96..4c4422a912 100644 --- a/docs/d0/d3c/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html +++ b/docs/d0/d3c/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d0/d42/aes__cryptor_8h_source.html b/docs/d0/d42/aes__cryptor_8h_source.html index 3b5a5219db..829b6c6879 100644 --- a/docs/d0/d42/aes__cryptor_8h_source.html +++ b/docs/d0/d42/aes__cryptor_8h_source.html @@ -215,7 +215,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d42/widevine__encryption__flags_8cc_source.html b/docs/d0/d42/widevine__encryption__flags_8cc_source.html index dc10cfdf1a..160c112bf8 100644 --- a/docs/d0/d42/widevine__encryption__flags_8cc_source.html +++ b/docs/d0/d42/widevine__encryption__flags_8cc_source.html @@ -273,7 +273,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 8932fbd9b2..b58a227db5 100644 --- a/docs/d0/d46/fourccs_8h_source.html +++ b/docs/d0/d46/fourccs_8h_source.html @@ -257,7 +257,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d48/structshaka_1_1media_1_1SegmentInfo-members.html b/docs/d0/d48/structshaka_1_1media_1_1SegmentInfo-members.html index bd8a1a7d9a..e323eb5782 100644 --- a/docs/d0/d48/structshaka_1_1media_1_1SegmentInfo-members.html +++ b/docs/d0/d48/structshaka_1_1media_1_1SegmentInfo-members.html @@ -101,7 +101,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 151411da5e..577558fdcf 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 @@ -98,11 +98,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 #include <google/protobuf/text_format.h>
10 
11 #include "packager/base/logging.h"
-
12 #include "packager/media/base/muxer_options.h"
-
13 #include "packager/media/base/stream_info.h"
+
12 #include "packager/file/file.h"
+
13 #include "packager/media/base/muxer_options.h"
14 #include "packager/media/base/protection_system_specific_info.h"
-
15 #include "packager/media/event/muxer_listener_internal.h"
-
16 #include "packager/media/file/file.h"
+
15 #include "packager/media/base/stream_info.h"
+
16 #include "packager/media/event/muxer_listener_internal.h"
17 #include "packager/mpd/base/media_info.pb.h"
18 
19 namespace shaka {
@@ -189,17 +189,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
100  return false;
101  }
102 
-
103  media::File* file = File::Open(output_file_path.c_str(), "w");
+
103  File* file = File::Open(output_file_path.c_str(), "w");
104  if (!file) {
105  LOG(ERROR) << "Failed to open " << output_file_path;
106  return false;
107  }
-
108  if (file->Write(output_string.data(), output_string.size()) <= 0) {
+
108  if (file->Write(output_string.data(), output_string.size()) <= 0) {
109  LOG(ERROR) << "Failed to write MediaInfo to file.";
-
110  file->Close();
+
110  file->Close();
111  return false;
112  }
-
113  if (!file->Close()) {
+
113  if (!file->Close()) {
114  LOG(ERROR) << "Failed to close " << output_file_path;
115  return false;
116  }
@@ -208,14 +208,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
119 
120 } // namespace media
121 } // namespace shaka
-
virtual bool Open()=0
Internal open. Should not be used directly.
Abstract class holds stream information.
Definition: stream_info.h:57
void OnMediaEnd(const MediaRanges &media_ranges, float duration_seconds, uint64_t file_size) override
void OnSampleDurationReady(uint32_t sample_duration) override
-
virtual bool Close()=0
-
virtual int64_t Write(const void *buffer, uint64_t length)=0
void OnNewSegment(const std::string &file_name, uint64_t start_time, uint64_t duration, uint64_t segment_file_size) override
-
Define an abstract file interface.
Definition: file.h:24
void OnEncryptionStart() override
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
void OnMediaStart(const MuxerOptions &muxer_options, const StreamInfo &stream_info, uint32_t time_scale, ContainerType container_type) override
@@ -226,7 +222,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d4b/structshaka_1_1media_1_1mp4_1_1MediaInformation-members.html b/docs/d0/d4b/structshaka_1_1media_1_1mp4_1_1MediaInformation-members.html index 5e066dba2b..233753253b 100644 --- a/docs/d0/d4b/structshaka_1_1media_1_1mp4_1_1MediaInformation-members.html +++ b/docs/d0/d4b/structshaka_1_1media_1_1mp4_1_1MediaInformation-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d4c/structshaka_1_1media_1_1StreamData.html b/docs/d0/d4c/structshaka_1_1media_1_1StreamData.html index 1c20278fe3..1297a28e67 100644 --- a/docs/d0/d4c/structshaka_1_1media_1_1StreamData.html +++ b/docs/d0/d4c/structshaka_1_1media_1_1StreamData.html @@ -130,7 +130,7 @@ std::shared_ptr< diff --git a/docs/d0/d4d/classshaka_1_1media_1_1AudioTimestampHelper.html b/docs/d0/d4d/classshaka_1_1media_1_1AudioTimestampHelper.html index d2eb6ce5ae..2a4a5fd1d3 100644 --- a/docs/d0/d4d/classshaka_1_1media_1_1AudioTimestampHelper.html +++ b/docs/d0/d4d/classshaka_1_1media_1_1AudioTimestampHelper.html @@ -131,7 +131,7 @@ int64_t GetFramesToTarget< diff --git a/docs/d0/d4e/libcrypto__threading_8cc_source.html b/docs/d0/d4e/libcrypto__threading_8cc_source.html index 99ab6653ff..fe6fb888bc 100644 --- a/docs/d0/d4e/libcrypto__threading_8cc_source.html +++ b/docs/d0/d4e/libcrypto__threading_8cc_source.html @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d53/classshaka_1_1media_1_1mp2t_1_1TsMuxer-members.html b/docs/d0/d53/classshaka_1_1media_1_1mp2t_1_1TsMuxer-members.html index 9d420e6cae..24e1e41a1c 100644 --- a/docs/d0/d53/classshaka_1_1media_1_1mp2t_1_1TsMuxer-members.html +++ b/docs/d0/d53/classshaka_1_1media_1_1mp2t_1_1TsMuxer-members.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d5b/classshaka_1_1media_1_1MpdNotifyMuxerListener-members.html b/docs/d0/d5b/classshaka_1_1media_1_1MpdNotifyMuxerListener-members.html index c821cb11ea..ca749bce7f 100644 --- a/docs/d0/d5b/classshaka_1_1media_1_1MpdNotifyMuxerListener-members.html +++ b/docs/d0/d5b/classshaka_1_1media_1_1MpdNotifyMuxerListener-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html b/docs/d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html deleted file mode 100644 index d446e7d983..0000000000 --- a/docs/d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html +++ /dev/null @@ -1,448 +0,0 @@ - - - - - - -DASH Media Packaging SDK: shaka::media::ThreadedIoFile Class Reference - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
- -
-
shaka::media::ThreadedIoFile Class Reference
-
-
- -

Declaration of class which implements a thread-safe circular buffer. - More...

- -

#include <threaded_io_file.h>

-
-Inheritance diagram for shaka::media::ThreadedIoFile:
-
-
- - -shaka::media::File - -
- - - - -

-Public Types

enum  Mode { kInputMode, -kOutputMode - }
 
- - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

ThreadedIoFile (std::unique_ptr< File, FileCloser > internal_file, Mode mode, uint64_t io_cache_size, uint64_t io_block_size)
 
File implementation overrides.
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 shaka::media::File
const std::string & file_name () const
 
- - - - - - - - - -

-Protected Member Functions

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

-Additional Inherited Members

- Static Public Member Functions inherited from shaka::media::File
static FileOpen (const char *file_name, const char *mode)
 
static FileOpenWithNoBuffering (const char *file_name, const char *mode)
 
static bool Delete (const char *file_name)
 
static int64_t GetFileSize (const char *file_name)
 
static bool ReadFileToString (const char *file_name, std::string *contents)
 
static bool WriteFileAtomically (const char *file_name, const std::string &contents)
 
static bool Copy (const char *from_file_name, const char *to_file_name)
 
static int64_t CopyFile (File *source, File *destination)
 
static int64_t CopyFile (File *source, File *destination, int64_t max_copy)
 
-

Detailed Description

-

Declaration of class which implements a thread-safe circular buffer.

- -

Definition at line 21 of file threaded_io_file.h.

-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - -
bool shaka::media::ThreadedIoFile::Close ()
-
-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.

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

Implements shaka::media::File.

- -

Definition at line 58 of file threaded_io_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - -
bool shaka::media::ThreadedIoFile::Flush ()
-
-overridevirtual
-
-

Flush 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.
- -

Implements shaka::media::File.

- -

Definition at line 110 of file threaded_io_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int64_t shaka::media::ThreadedIoFile::Read (void * buffer,
uint64_t length 
)
-
-overridevirtual
-
-

Read data and return it in buffer.

-
Parameters
- - - -
[out]bufferpoints to a block of memory with a size of at least length bytes.
lengthindicates number of bytes to be read.
-
-
-
Returns
Number of bytes read, or a value < 0 on error. Zero on end-of-file, or if 'length' is zero.
- -

Implements shaka::media::File.

- -

Definition at line 72 of file threaded_io_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - -
bool shaka::media::ThreadedIoFile::Seek (uint64_t position)
-
-overridevirtual
-
-

Seek to the specifield position in the file.

-
Parameters
- - -
positionis the position to seek to.
-
-
-
Returns
true on success, false otherwise.
- -

Implements shaka::media::File.

- -

Definition at line 120 of file threaded_io_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - -
int64_t shaka::media::ThreadedIoFile::Size ()
-
-overridevirtual
-
-
Returns
Size of the file in bytes. A return value less than zero indicates a problem getting the size.
- -

Implements shaka::media::File.

- -

Definition at line 104 of file threaded_io_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - -
bool shaka::media::ThreadedIoFile::Tell (uint64_t * position)
-
-overridevirtual
-
-

Get the current file position.

-
Parameters
- - -
positionis a pointer to contain the current file position upon successful return.
-
-
-
Returns
true on succcess, false otherwise.
- -

Implements shaka::media::File.

- -

Definition at line 149 of file threaded_io_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int64_t shaka::media::ThreadedIoFile::Write (const void * buffer,
uint64_t length 
)
-
-overridevirtual
-
-

Write block of data.

-
Parameters
- - - -
bufferpoints to a block of memory with at least length bytes.
lengthindicates number of bytes to write.
-
-
-
Returns
Number of bytes written, or a value < 0 on error.
- -

Implements shaka::media::File.

- -

Definition at line 89 of file threaded_io_file.cc.

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff --git a/docs/d0/d66/classshaka_1_1media_1_1ThreadedIoFile.png b/docs/d0/d66/classshaka_1_1media_1_1ThreadedIoFile.png deleted file mode 100644 index e6d0baff53..0000000000 Binary files a/docs/d0/d66/classshaka_1_1media_1_1ThreadedIoFile.png and /dev/null differ diff --git a/docs/d0/d73/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry.html b/docs/d0/d73/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry.html index 1780899817..c17bfd1465 100644 --- a/docs/d0/d73/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry.html +++ b/docs/d0/d73/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry.html @@ -197,7 +197,7 @@ Additional Inherited Members diff --git a/docs/d0/d7c/structshaka_1_1media_1_1mp4_1_1SampleToGroup.html b/docs/d0/d7c/structshaka_1_1media_1_1mp4_1_1SampleToGroup.html index 0e9f22c7ff..22f619abe3 100644 --- a/docs/d0/d7c/structshaka_1_1media_1_1mp4_1_1SampleToGroup.html +++ b/docs/d0/d7c/structshaka_1_1media_1_1mp4_1_1SampleToGroup.html @@ -188,7 +188,7 @@ Additional Inherited Members diff --git a/docs/d0/d7d/decryptor__source_8h_source.html b/docs/d0/d7d/decryptor__source_8h_source.html index b7694e79d7..4400e29acc 100644 --- a/docs/d0/d7d/decryptor__source_8h_source.html +++ b/docs/d0/d7d/decryptor__source_8h_source.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d80/classshaka_1_1media_1_1AesCbcEncryptor-members.html b/docs/d0/d80/classshaka_1_1media_1_1AesCbcEncryptor-members.html index 86d5cc3fa1..5be989b651 100644 --- a/docs/d0/d80/classshaka_1_1media_1_1AesCbcEncryptor-members.html +++ b/docs/d0/d80/classshaka_1_1media_1_1AesCbcEncryptor-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d9a/structshaka_1_1media_1_1mp4_1_1Movie.html b/docs/d0/d9a/structshaka_1_1media_1_1mp4_1_1Movie.html index b2523d43a9..9eccbe0005 100644 --- a/docs/d0/d9a/structshaka_1_1media_1_1mp4_1_1Movie.html +++ b/docs/d0/d9a/structshaka_1_1media_1_1mp4_1_1Movie.html @@ -186,7 +186,7 @@ Additional Inherited Members diff --git a/docs/d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html b/docs/d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html index 41e3913cec..f505e5e7d6 100644 --- a/docs/d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html +++ b/docs/d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html @@ -344,7 +344,7 @@ static const size_t  diff --git a/docs/d0/da2/classshaka_1_1media_1_1RequestSigner-members.html b/docs/d0/da2/classshaka_1_1media_1_1RequestSigner-members.html index 0d3a87130d..76a7039354 100644 --- a/docs/d0/da2/classshaka_1_1media_1_1RequestSigner-members.html +++ b/docs/d0/da2/classshaka_1_1media_1_1RequestSigner-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/da2/structshaka_1_1xml_1_1XmlDeleter-members.html b/docs/d0/da2/structshaka_1_1xml_1_1XmlDeleter-members.html index 7f08ce0e8f..c90aba0219 100644 --- a/docs/d0/da2/structshaka_1_1xml_1_1XmlDeleter-members.html +++ b/docs/d0/da2/structshaka_1_1xml_1_1XmlDeleter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/da6/stream__descriptor_8cc_source.html b/docs/d0/da6/stream__descriptor_8cc_source.html index feba200815..d47a7a9019 100644 --- a/docs/d0/da6/stream__descriptor_8cc_source.html +++ b/docs/d0/da6/stream__descriptor_8cc_source.html @@ -265,7 +265,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html b/docs/d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html index 166107f0c2..6fb23d7027 100644 --- a/docs/d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html +++ b/docs/d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html @@ -264,7 +264,7 @@ void set_progress_target diff --git a/docs/d0/dac/classshaka_1_1media_1_1EncryptionHandler-members.html b/docs/d0/dac/classshaka_1_1media_1_1EncryptionHandler-members.html index d3fccda7f9..ee06cd8867 100644 --- a/docs/d0/dac/classshaka_1_1media_1_1EncryptionHandler-members.html +++ b/docs/d0/dac/classshaka_1_1media_1_1EncryptionHandler-members.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dac/classshaka_1_1media_1_1FixedKeySource.html b/docs/d0/dac/classshaka_1_1media_1_1FixedKeySource.html index cb12d87902..a2734c57e2 100644 --- a/docs/d0/dac/classshaka_1_1media_1_1FixedKeySource.html +++ b/docs/d0/dac/classshaka_1_1media_1_1FixedKeySource.html @@ -391,7 +391,7 @@ Static Public Member Functions diff --git a/docs/d0/dae/file__util_8h_source.html b/docs/d0/dae/file__util_8h_source.html deleted file mode 100644 index 88173d07bf..0000000000 --- a/docs/d0/dae/file__util_8h_source.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/file_util.h Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
file_util.h
-
-
-
1 // Copyright 2016 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #include <string>
-
8 
-
9 namespace shaka {
-
10 
-
16 bool TempFilePath(const std::string& temp_dir, std::string* temp_file_path);
-
17 
-
18 } // namespace shaka
-
bool TempFilePath(const std::string &temp_dir, std::string *temp_file_path)
Definition: file_util.cc:27
-
- - - - diff --git a/docs/d0/dbd/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter-members.html b/docs/d0/dbd/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter-members.html index 76b1997fad..264b996fdf 100644 --- a/docs/d0/dbd/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter-members.html +++ b/docs/d0/dbd/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter-members.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dc0/structshaka_1_1media_1_1SegmentInfo.html b/docs/d0/dc0/structshaka_1_1media_1_1SegmentInfo.html index 5cdfd64751..56fa6e5d08 100644 --- a/docs/d0/dc0/structshaka_1_1media_1_1SegmentInfo.html +++ b/docs/d0/dc0/structshaka_1_1media_1_1SegmentInfo.html @@ -121,7 +121,7 @@ std::shared_ptr< diff --git a/docs/d0/dc1/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox-members.html b/docs/d0/dc1/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox-members.html index 16ddca5e47..1233ead6f7 100644 --- a/docs/d0/dc1/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox-members.html +++ b/docs/d0/dc1/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dc8/classshaka_1_1xml_1_1AdaptationSetXmlNode-members.html b/docs/d0/dc8/classshaka_1_1xml_1_1AdaptationSetXmlNode-members.html index 59def39ed1..213354c506 100644 --- a/docs/d0/dc8/classshaka_1_1xml_1_1AdaptationSetXmlNode-members.html +++ b/docs/d0/dc8/classshaka_1_1xml_1_1AdaptationSetXmlNode-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dce/classshaka_1_1media_1_1RsaPrivateKey.html b/docs/d0/dce/classshaka_1_1media_1_1RsaPrivateKey.html index b417e7d210..b381d6ba3c 100644 --- a/docs/d0/dce/classshaka_1_1media_1_1RsaPrivateKey.html +++ b/docs/d0/dce/classshaka_1_1media_1_1RsaPrivateKey.html @@ -224,7 +224,7 @@ Static Public Member Functions diff --git a/docs/d0/dd0/structshaka_1_1media_1_1mp4_1_1CueSettingsBox.html b/docs/d0/dd0/structshaka_1_1media_1_1mp4_1_1CueSettingsBox.html index dcf71ec1c0..2c058a5bcb 100644 --- a/docs/d0/dd0/structshaka_1_1media_1_1mp4_1_1CueSettingsBox.html +++ b/docs/d0/dd0/structshaka_1_1media_1_1mp4_1_1CueSettingsBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d0/dd4/classshaka_1_1media_1_1ProtectionSystemSpecificInfo.html b/docs/d0/dd4/classshaka_1_1media_1_1ProtectionSystemSpecificInfo.html index db2fc8a527..1018ee02d3 100644 --- a/docs/d0/dd4/classshaka_1_1media_1_1ProtectionSystemSpecificInfo.html +++ b/docs/d0/dd4/classshaka_1_1media_1_1ProtectionSystemSpecificInfo.html @@ -222,7 +222,7 @@ Static Public Member Functions diff --git a/docs/d0/dd6/webm__crypto__helpers_8cc_source.html b/docs/d0/dd6/webm__crypto__helpers_8cc_source.html index fdd668e021..b571158e52 100644 --- a/docs/d0/dd6/webm__crypto__helpers_8cc_source.html +++ b/docs/d0/dd6/webm__crypto__helpers_8cc_source.html @@ -205,7 +205,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dd8/classshaka_1_1media_1_1AesCtrEncryptor.html b/docs/d0/dd8/classshaka_1_1media_1_1AesCtrEncryptor.html index 827592365c..b39372df69 100644 --- a/docs/d0/dd8/classshaka_1_1media_1_1AesCtrEncryptor.html +++ b/docs/d0/dd8/classshaka_1_1media_1_1AesCtrEncryptor.html @@ -165,7 +165,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/d0/dee/segmenter__test__base_8h_source.html b/docs/d0/dee/segmenter__test__base_8h_source.html index 0bc29fb803..a3621f8d49 100644 --- a/docs/d0/dee/segmenter__test__base_8h_source.html +++ b/docs/d0/dee/segmenter__test__base_8h_source.html @@ -98,13 +98,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 
10 #include <gtest/gtest.h>
11 
-
12 #include "packager/media/base/media_sample.h"
-
13 #include "packager/media/base/muxer_options.h"
-
14 #include "packager/media/base/stream_info.h"
-
15 #include "packager/media/base/video_stream_info.h"
-
16 #include "packager/media/file/file_closer.h"
-
17 #include "packager/media/file/file_test_util.h"
-
18 #include "packager/media/file/memory_file.h"
+
12 #include "packager/file/file_closer.h"
+
13 #include "packager/file/file_test_util.h"
+
14 #include "packager/file/memory_file.h"
+
15 #include "packager/media/base/media_sample.h"
+
16 #include "packager/media/base/muxer_options.h"
+
17 #include "packager/media/base/stream_info.h"
+
18 #include "packager/media/base/video_stream_info.h"
19 #include "packager/media/formats/webm/mkv_writer.h"
20 #include "packager/media/formats/webm/segmenter.h"
21 #include "packager/media/formats/webm/webm_parser.h"
@@ -213,7 +213,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/df3/packager__util_8cc_source.html b/docs/d0/df3/packager__util_8cc_source.html index da95e363fb..57ab2df36b 100644 --- a/docs/d0/df3/packager__util_8cc_source.html +++ b/docs/d0/df3/packager__util_8cc_source.html @@ -98,15 +98,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 #include "packager/base/logging.h"
10 #include "packager/base/strings/string_number_conversions.h"
11 #include "packager/base/strings/string_split.h"
-
12 #include "packager/media/base/fixed_key_source.h"
-
13 #include "packager/media/base/media_handler.h"
-
14 #include "packager/media/base/muxer_options.h"
-
15 #include "packager/media/base/playready_key_source.h"
-
16 #include "packager/media/base/request_signer.h"
-
17 #include "packager/media/base/widevine_key_source.h"
-
18 #include "packager/media/chunking/chunking_handler.h"
-
19 #include "packager/media/crypto/encryption_handler.h"
-
20 #include "packager/media/file/file.h"
+
12 #include "packager/file/file.h"
+
13 #include "packager/media/base/fixed_key_source.h"
+
14 #include "packager/media/base/media_handler.h"
+
15 #include "packager/media/base/muxer_options.h"
+
16 #include "packager/media/base/playready_key_source.h"
+
17 #include "packager/media/base/request_signer.h"
+
18 #include "packager/media/base/widevine_key_source.h"
+
19 #include "packager/media/chunking/chunking_handler.h"
+
20 #include "packager/media/crypto/encryption_handler.h"
21 #include "packager/mpd/base/mpd_options.h"
22 #include "packager/packager.h"
23 #include "packager/status.h"
@@ -351,7 +351,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dfc/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry-members.html b/docs/d0/dfc/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry-members.html index 66ff5e7d04..66fdcf6b57 100644 --- a/docs/d0/dfc/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry-members.html +++ b/docs/d0/dfc/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry-members.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d03/structshaka_1_1media_1_1MuxerListener_1_1MediaRanges.html b/docs/d1/d03/structshaka_1_1media_1_1MuxerListener_1_1MediaRanges.html index 9dc44b28f0..754c9e0d17 100644 --- a/docs/d1/d03/structshaka_1_1media_1_1MuxerListener_1_1MediaRanges.html +++ b/docs/d1/d03/structshaka_1_1media_1_1MuxerListener_1_1MediaRanges.html @@ -135,7 +135,7 @@ base::Optional< diff --git a/docs/d1/d0a/classshaka_1_1media_1_1MkvWriter.html b/docs/d1/d0a/classshaka_1_1media_1_1MkvWriter.html index 99253caafb..452f11fc1e 100644 --- a/docs/d1/d0a/classshaka_1_1media_1_1MkvWriter.html +++ b/docs/d1/d0a/classshaka_1_1media_1_1MkvWriter.html @@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-

An implementation of IMkvWriter using our File type. +

An implementation of IMkvWriter using our File type. More...

#include <mkv_writer.h>

@@ -125,16 +125,16 @@ Status   void ElementStartNotify (mkvmuxer::uint64 element_id, mkvmuxer::int64 position) override   -int64_t WriteFromFile (File *source) +int64_t WriteFromFile (File *source)   -int64_t WriteFromFile (File *source, int64_t max_copy) +int64_t WriteFromFile (File *source, int64_t max_copy)   -Filefile () +File * file ()  

Detailed Description

-

An implementation of IMkvWriter using our File type.

+

An implementation of IMkvWriter using our File type.

Definition at line 21 of file mkv_writer.h.

Member Function Documentation

@@ -248,7 +248,7 @@ Status  -

Set the current File position.

+

Set the current File position.

Returns
0 on success.

Definition at line 75 of file mkv_writer.cc.

@@ -326,7 +326,7 @@ Status int64_t shaka::media::MkvWriter::WriteFromFile ( - File *  + File *  source) @@ -346,7 +346,7 @@ Status int64_t shaka::media::MkvWriter::WriteFromFile ( - File *  + File *  source, @@ -376,7 +376,7 @@ Status  diff --git a/docs/d1/d0a/structshaka_1_1media_1_1H264Sps.html b/docs/d1/d0a/structshaka_1_1media_1_1H264Sps.html index 58e7cf96ac..dc0bfa0a29 100644 --- a/docs/d1/d0a/structshaka_1_1media_1_1H264Sps.html +++ b/docs/d1/d0a/structshaka_1_1media_1_1H264Sps.html @@ -242,7 +242,7 @@ int chroma_array_type<
diff --git a/docs/d1/d0b/hevc__decoder__configuration__record_8cc_source.html b/docs/d1/d0b/hevc__decoder__configuration__record_8cc_source.html index f83bb478a6..664cd43d21 100644 --- a/docs/d1/d0b/hevc__decoder__configuration__record_8cc_source.html +++ b/docs/d1/d0b/hevc__decoder__configuration__record_8cc_source.html @@ -245,7 +245,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d1/d12/classshaka_1_1media_1_1mp2t_1_1EsParserH264-members.html b/docs/d1/d12/classshaka_1_1media_1_1mp2t_1_1EsParserH264-members.html index 59c4e43e16..0070a06196 100644 --- a/docs/d1/d12/classshaka_1_1media_1_1mp2t_1_1EsParserH264-members.html +++ b/docs/d1/d12/classshaka_1_1media_1_1mp2t_1_1EsParserH264-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d12/range_8h_source.html b/docs/d1/d12/range_8h_source.html index 1e2f2c5af9..56fac3b7a3 100644 --- a/docs/d1/d12/range_8h_source.html +++ b/docs/d1/d12/range_8h_source.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d1c/two__pass__single__segment__segmenter_8cc_source.html b/docs/d1/d1c/two__pass__single__segment__segmenter_8cc_source.html index dff434a031..9394a3ac23 100644 --- a/docs/d1/d1c/two__pass__single__segment__segmenter_8cc_source.html +++ b/docs/d1/d1c/two__pass__single__segment__segmenter_8cc_source.html @@ -97,10 +97,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 
9 #include <algorithm>
10 
-
11 #include "packager/media/base/media_sample.h"
-
12 #include "packager/media/base/muxer_options.h"
-
13 #include "packager/media/base/stream_info.h"
-
14 #include "packager/media/file/file_util.h"
+
11 #include "packager/file/file_util.h"
+
12 #include "packager/media/base/media_sample.h"
+
13 #include "packager/media/base/muxer_options.h"
+
14 #include "packager/media/base/stream_info.h"
15 #include "packager/third_party/libwebm/src/mkvmuxer.hpp"
16 #include "packager/third_party/libwebm/src/mkvmuxerutil.hpp"
17 #include "packager/third_party/libwebm/src/webmids.hpp"
@@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
73  // of time as to make it.
74  set_progress_target(info()->duration() * 2);
75 
-
76  if (!TempFilePath(options().temp_dir, &temp_file_name_))
+
76  if (!TempFilePath(options().temp_dir, &temp_file_name_))
77  return Status(error::FILE_FAILURE, "Unable to create temporary file.");
78  std::unique_ptr<MkvWriter> temp(new MkvWriter);
79  Status status = temp->Open(temp_file_name_);
@@ -203,7 +203,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
114  // Close the temp file and open it for reading.
115  set_writer(std::unique_ptr<MkvWriter>());
116  std::unique_ptr<File, FileCloser> temp_reader(
-
117  File::Open(temp_file_name_.c_str(), "r"));
+
117  File::Open(temp_file_name_.c_str(), "r"));
118  if (!temp_reader)
119  return Status(error::FILE_FAILURE, "Error opening temp file.");
120 
@@ -219,7 +219,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
130 
131  // Close and delete the temp file.
132  temp_reader.reset();
-
133  if (!File::Delete(temp_file_name_.c_str())) {
+
133  if (!File::Delete(temp_file_name_.c_str())) {
134  LOG(WARNING) << "Unable to delete temporary file " << temp_file_name_;
135  }
136 
@@ -276,13 +276,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
187 } // namespace webm
188 } // namespace media
189 } // namespace shaka
-
virtual bool Open()=0
Internal open. Should not be used directly.
-
bool TempFilePath(const std::string &temp_dir, std::string *temp_file_path)
Definition: file_util.cc:27
-
static bool Delete(const char *file_name)
Definition: file.cc:181
diff --git a/docs/d1/d1d/muxer__flags_8cc_source.html b/docs/d1/d1d/muxer__flags_8cc_source.html index 918578495f..93bc673c4f 100644 --- a/docs/d1/d1d/muxer__flags_8cc_source.html +++ b/docs/d1/d1d/muxer__flags_8cc_source.html @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d1f/classshaka_1_1media_1_1KeySource.html b/docs/d1/d1f/classshaka_1_1media_1_1KeySource.html index f870c6c22b..d58ec9b3e0 100644 --- a/docs/d1/d1f/classshaka_1_1media_1_1KeySource.html +++ b/docs/d1/d1f/classshaka_1_1media_1_1KeySource.html @@ -320,7 +320,7 @@ Public Member Functions diff --git a/docs/d1/d20/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator.html b/docs/d1/d20/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator.html index 2106e80caf..8d81466606 100644 --- a/docs/d1/d20/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator.html +++ b/docs/d1/d20/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator.html @@ -235,7 +235,7 @@ Public Member Functions diff --git a/docs/d1/d25/classshaka_1_1media_1_1MediaHandlerTestBase-members.html b/docs/d1/d25/classshaka_1_1media_1_1MediaHandlerTestBase-members.html index 60bec280c2..10916f7c3b 100644 --- a/docs/d1/d25/classshaka_1_1media_1_1MediaHandlerTestBase-members.html +++ b/docs/d1/d25/classshaka_1_1media_1_1MediaHandlerTestBase-members.html @@ -107,7 +107,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 d86db2cc37..a8ff46670a 100644 --- a/docs/d1/d27/key__fetcher_8h_source.html +++ b/docs/d1/d27/key__fetcher_8h_source.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d28/classshaka_1_1media_1_1mp2t_1_1AdtsHeader-members.html b/docs/d1/d28/classshaka_1_1media_1_1mp2t_1_1AdtsHeader-members.html index a1d9ec6503..b6da5a4683 100644 --- a/docs/d1/d28/classshaka_1_1media_1_1mp2t_1_1AdtsHeader-members.html +++ b/docs/d1/d28/classshaka_1_1media_1_1mp2t_1_1AdtsHeader-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d2a/decryptor__source_8cc_source.html b/docs/d1/d2a/decryptor__source_8cc_source.html index b45388012d..a56412795c 100644 --- a/docs/d1/d2a/decryptor__source_8cc_source.html +++ b/docs/d1/d2a/decryptor__source_8cc_source.html @@ -206,7 +206,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d2b/file__util_8cc_source.html b/docs/d1/d2b/file__util_8cc_source.html deleted file mode 100644 index fb992bb921..0000000000 --- a/docs/d1/d2b/file__util_8cc_source.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/file_util.cc Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
file_util.cc
-
-
-
1 // Copyright 2016 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #include "packager/media/file/file_util.h"
-
8 
-
9 #include <inttypes.h>
-
10 
-
11 #include "packager/base/files/file_path.h"
-
12 #include "packager/base/files/file_util.h"
-
13 #include "packager/base/strings/stringprintf.h"
-
14 #include "packager/base/threading/platform_thread.h"
-
15 #include "packager/base/time/time.h"
-
16 
-
17 namespace shaka {
-
18 namespace {
-
19 // Create a temp file name using process/thread id and current time.
-
20 std::string TempFileName() {
-
21  const int32_t tid = static_cast<int32_t>(base::PlatformThread::CurrentId());
-
22  const int64_t current_time = base::Time::Now().ToInternalValue();
-
23  return base::StringPrintf("packager-tempfile-%x-%" PRIx64, tid, current_time);
-
24 }
-
25 } // namespace
-
26 
-
27 bool TempFilePath(const std::string& temp_dir, std::string* temp_file_path) {
-
28  if (temp_dir.empty()) {
-
29  base::FilePath file_path;
-
30  if (!base::CreateTemporaryFile(&file_path)) {
-
31  LOG(ERROR) << "Failed to create temporary file.";
-
32  return false;
-
33  }
-
34  *temp_file_path = file_path.AsUTF8Unsafe();
-
35  } else {
-
36  *temp_file_path =
-
37  base::FilePath::FromUTF8Unsafe(temp_dir)
-
38  .Append(base::FilePath::FromUTF8Unsafe(TempFileName()))
-
39  .AsUTF8Unsafe();
-
40  }
-
41  return true;
-
42 }
-
43 
-
44 } // namespace shaka
-
bool TempFilePath(const std::string &temp_dir, std::string *temp_file_path)
Definition: file_util.cc:27
-
- - - - diff --git a/docs/d1/d2c/structshaka_1_1media_1_1mp4_1_1DataReference-members.html b/docs/d1/d2c/structshaka_1_1media_1_1mp4_1_1DataReference-members.html index dd9591ebb8..6ab2ced36b 100644 --- a/docs/d1/d2c/structshaka_1_1media_1_1mp4_1_1DataReference-members.html +++ b/docs/d1/d2c/structshaka_1_1media_1_1mp4_1_1DataReference-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html b/docs/d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html index 818d237715..41235d24da 100644 --- a/docs/d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html +++ b/docs/d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html @@ -385,7 +385,7 @@ class BoxBuffer diff --git a/docs/d1/d2f/webvtt__media__parser_8cc_source.html b/docs/d1/d2f/webvtt__media__parser_8cc_source.html index d95e8a316f..d3d0b791e4 100644 --- a/docs/d1/d2f/webvtt__media__parser_8cc_source.html +++ b/docs/d1/d2f/webvtt__media__parser_8cc_source.html @@ -408,7 +408,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d30/classshaka_1_1media_1_1mp2t_1_1TsSectionPes.html b/docs/d1/d30/classshaka_1_1media_1_1mp2t_1_1TsSectionPes.html index d90953c2a3..c5b07dffad 100644 --- a/docs/d1/d30/classshaka_1_1media_1_1mp2t_1_1TsSectionPes.html +++ b/docs/d1/d30/classshaka_1_1media_1_1mp2t_1_1TsSectionPes.html @@ -142,7 +142,7 @@ Additional Inherited Members diff --git a/docs/d1/d31/classshaka_1_1xml_1_1XmlNode.html b/docs/d1/d31/classshaka_1_1xml_1_1XmlNode.html index 7b8b02e42f..016a73afad 100644 --- a/docs/d1/d31/classshaka_1_1xml_1_1XmlNode.html +++ b/docs/d1/d31/classshaka_1_1xml_1_1XmlNode.html @@ -419,7 +419,7 @@ bool  diff --git a/docs/d1/d34/structshaka_1_1media_1_1SubsampleEntry.html b/docs/d1/d34/structshaka_1_1media_1_1SubsampleEntry.html index c52566fb38..dc1e5d61cf 100644 --- a/docs/d1/d34/structshaka_1_1media_1_1SubsampleEntry.html +++ b/docs/d1/d34/structshaka_1_1media_1_1SubsampleEntry.html @@ -122,7 +122,7 @@ uint32_t cipher_bytes< diff --git a/docs/d1/d36/classshaka_1_1media_1_1FakeMediaHandler.html b/docs/d1/d36/classshaka_1_1media_1_1FakeMediaHandler.html index 3ee42e0106..8bfb0cf902 100644 --- a/docs/d1/d36/classshaka_1_1media_1_1FakeMediaHandler.html +++ b/docs/d1/d36/classshaka_1_1media_1_1FakeMediaHandler.html @@ -269,7 +269,7 @@ std::vector< std::unique_ptr
diff --git a/docs/d1/d37/es__parser__h264_8h_source.html b/docs/d1/d37/es__parser__h264_8h_source.html index b6c242ee95..f633a4986d 100644 --- a/docs/d1/d37/es__parser__h264_8h_source.html +++ b/docs/d1/d37/es__parser__h264_8h_source.html @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d3b/mpd__generator__flags_8h_source.html b/docs/d1/d3b/mpd__generator__flags_8h_source.html index 7490844de7..bf15edf81e 100644 --- a/docs/d1/d3b/mpd__generator__flags_8h_source.html +++ b/docs/d1/d3b/mpd__generator__flags_8h_source.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d3e/structshaka_1_1media_1_1mp4_1_1MovieExtends.html b/docs/d1/d3e/structshaka_1_1media_1_1mp4_1_1MovieExtends.html index 9a13da3f1f..f4bdf49bec 100644 --- a/docs/d1/d3e/structshaka_1_1media_1_1mp4_1_1MovieExtends.html +++ b/docs/d1/d3e/structshaka_1_1media_1_1mp4_1_1MovieExtends.html @@ -176,7 +176,7 @@ Additional Inherited Members diff --git a/docs/d1/d40/classshaka_1_1MpdWriter-members.html b/docs/d1/d40/classshaka_1_1MpdWriter-members.html index 995c2cda7d..75a657da30 100644 --- a/docs/d1/d40/classshaka_1_1MpdWriter-members.html +++ b/docs/d1/d40/classshaka_1_1MpdWriter-members.html @@ -102,7 +102,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 f33ea0dd91..fcec703213 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 index c9c816b37e..e1e6e129d9 100644 --- a/docs/d1/d48/text__track__config_8h_source.html +++ b/docs/d1/d48/text__track__config_8h_source.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d4f/classshaka_1_1media_1_1OffsetByteQueue-members.html b/docs/d1/d4f/classshaka_1_1media_1_1OffsetByteQueue-members.html index d734f37e1f..0a8974488d 100644 --- a/docs/d1/d4f/classshaka_1_1media_1_1OffsetByteQueue-members.html +++ b/docs/d1/d4f/classshaka_1_1media_1_1OffsetByteQueue-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d5a/structshaka_1_1media_1_1EncryptionKey-members.html b/docs/d1/d5a/structshaka_1_1media_1_1EncryptionKey-members.html index ae75408a3e..4edf2bb7b7 100644 --- a/docs/d1/d5a/structshaka_1_1media_1_1EncryptionKey-members.html +++ b/docs/d1/d5a/structshaka_1_1media_1_1EncryptionKey-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d6e/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader.html b/docs/d1/d6e/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader.html index e9aac5bd64..f352131a75 100644 --- a/docs/d1/d6e/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader.html +++ b/docs/d1/d6e/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader.html @@ -222,7 +222,7 @@ Additional Inherited Members diff --git a/docs/d1/d70/vp8__parser_8cc_source.html b/docs/d1/d70/vp8__parser_8cc_source.html index 7bef4f0a28..c35f834da4 100644 --- a/docs/d1/d70/vp8__parser_8cc_source.html +++ b/docs/d1/d70/vp8__parser_8cc_source.html @@ -289,7 +289,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d72/language__utils_8cc_source.html b/docs/d1/d72/language__utils_8cc_source.html index 7ccb344bd8..556d12ef45 100644 --- a/docs/d1/d72/language__utils_8cc_source.html +++ b/docs/d1/d72/language__utils_8cc_source.html @@ -231,7 +231,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d74/mp2t__media__parser_8cc_source.html b/docs/d1/d74/mp2t__media__parser_8cc_source.html index 6c42bf7265..fca317c4d8 100644 --- a/docs/d1/d74/mp2t__media__parser_8cc_source.html +++ b/docs/d1/d74/mp2t__media__parser_8cc_source.html @@ -535,7 +535,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html b/docs/d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html index 8bbb1145f4..defe8b22c0 100644 --- a/docs/d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html +++ b/docs/d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html @@ -152,7 +152,7 @@ int64_t  diff --git a/docs/d1/d7d/webm__video__client_8cc_source.html b/docs/d1/d7d/webm__video__client_8cc_source.html index 00f038e50f..2fb1d4966d 100644 --- a/docs/d1/d7d/webm__video__client_8cc_source.html +++ b/docs/d1/d7d/webm__video__client_8cc_source.html @@ -334,7 +334,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d81/structshaka_1_1media_1_1H265ReferencePictureSet-members.html b/docs/d1/d81/structshaka_1_1media_1_1H265ReferencePictureSet-members.html index 2d673fd8e1..a20ab117b5 100644 --- a/docs/d1/d81/structshaka_1_1media_1_1H265ReferencePictureSet-members.html +++ b/docs/d1/d81/structshaka_1_1media_1_1H265ReferencePictureSet-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d82/adts__constants_8h_source.html b/docs/d1/d82/adts__constants_8h_source.html index 42e1923a09..3f6478b0b0 100644 --- a/docs/d1/d82/adts__constants_8h_source.html +++ b/docs/d1/d82/adts__constants_8h_source.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d82/classshaka_1_1media_1_1WebMParserClient-members.html b/docs/d1/d82/classshaka_1_1media_1_1WebMParserClient-members.html index c7c96ebd34..8c521f4413 100644 --- a/docs/d1/d82/classshaka_1_1media_1_1WebMParserClient-members.html +++ b/docs/d1/d82/classshaka_1_1media_1_1WebMParserClient-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d8e/webm__audio__client_8cc_source.html b/docs/d1/d8e/webm__audio__client_8cc_source.html index 37f3ca5b2f..e1a483ae3a 100644 --- a/docs/d1/d8e/webm__audio__client_8cc_source.html +++ b/docs/d1/d8e/webm__audio__client_8cc_source.html @@ -213,7 +213,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d8f/retired__flags_8h_source.html b/docs/d1/d8f/retired__flags_8h_source.html index f84a72c186..452c2ff636 100644 --- a/docs/d1/d8f/retired__flags_8h_source.html +++ b/docs/d1/d8f/retired__flags_8h_source.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d91/classshaka_1_1media_1_1H26xBitReader-members.html b/docs/d1/d91/classshaka_1_1media_1_1H26xBitReader-members.html index 7d5a2da0e6..a362ef31a7 100644 --- a/docs/d1/d91/classshaka_1_1media_1_1H26xBitReader-members.html +++ b/docs/d1/d91/classshaka_1_1media_1_1H26xBitReader-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d9d/classshaka_1_1media_1_1ByteQueue-members.html b/docs/d1/d9d/classshaka_1_1media_1_1ByteQueue-members.html index 392ba1703f..5d16dd00de 100644 --- a/docs/d1/d9d/classshaka_1_1media_1_1ByteQueue-members.html +++ b/docs/d1/d9d/classshaka_1_1media_1_1ByteQueue-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d9d/tracks__builder_8h_source.html b/docs/d1/d9d/tracks__builder_8h_source.html index 8e62534aa7..809a9997f5 100644 --- a/docs/d1/d9d/tracks__builder_8h_source.html +++ b/docs/d1/d9d/tracks__builder_8h_source.html @@ -210,7 +210,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d9e/structshaka_1_1media_1_1mp4_1_1CodecConfiguration-members.html b/docs/d1/d9e/structshaka_1_1media_1_1mp4_1_1CodecConfiguration-members.html index 8b09c83542..0b47ef56ce 100644 --- a/docs/d1/d9e/structshaka_1_1media_1_1mp4_1_1CodecConfiguration-members.html +++ b/docs/d1/d9e/structshaka_1_1media_1_1mp4_1_1CodecConfiguration-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html b/docs/d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html index 26e93fa357..ea226072f6 100644 --- a/docs/d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html +++ b/docs/d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html @@ -589,7 +589,7 @@ bool ReadWriteInt64 (i diff --git a/docs/d1/da1/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html b/docs/d1/da1/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html index 0d31b243dc..20d43784a2 100644 --- a/docs/d1/da1/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html +++ b/docs/d1/da1/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html @@ -116,7 +116,7 @@ std::shared_ptr< diff --git a/docs/d1/da2/classshaka_1_1media_1_1NalUnitToByteStreamConverter-members.html b/docs/d1/da2/classshaka_1_1media_1_1NalUnitToByteStreamConverter-members.html index 1903b30298..8cba68d3b9 100644 --- a/docs/d1/da2/classshaka_1_1media_1_1NalUnitToByteStreamConverter-members.html +++ b/docs/d1/da2/classshaka_1_1media_1_1NalUnitToByteStreamConverter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html b/docs/d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html index e55c3b7933..6540846483 100644 --- a/docs/d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html +++ b/docs/d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html @@ -359,7 +359,7 @@ uint8_t chroma_location diff --git a/docs/d1/dad/classshaka_1_1media_1_1Demuxer-members.html b/docs/d1/dad/classshaka_1_1media_1_1Demuxer-members.html index 277c2eb7db..e5c520e6d6 100644 --- a/docs/d1/dad/classshaka_1_1media_1_1Demuxer-members.html +++ b/docs/d1/dad/classshaka_1_1media_1_1Demuxer-members.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/db0/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader.html b/docs/d1/db0/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader.html index 3baaca3579..b4c2e6c30a 100644 --- a/docs/d1/db0/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader.html +++ b/docs/d1/db0/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader.html @@ -191,7 +191,7 @@ Additional Inherited Members diff --git a/docs/d1/db2/decoder__configuration__record_8h_source.html b/docs/d1/db2/decoder__configuration__record_8h_source.html index d1c4fb6919..f53cb3807c 100644 --- a/docs/d1/db2/decoder__configuration__record_8h_source.html +++ b/docs/d1/db2/decoder__configuration__record_8h_source.html @@ -166,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dbe/classshaka_1_1media_1_1PlayReadyKeySource-members.html b/docs/d1/dbe/classshaka_1_1media_1_1PlayReadyKeySource-members.html index 0e74e8819d..046c7bab52 100644 --- a/docs/d1/dbe/classshaka_1_1media_1_1PlayReadyKeySource-members.html +++ b/docs/d1/dbe/classshaka_1_1media_1_1PlayReadyKeySource-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dc2/h26x__bit__reader_8h_source.html b/docs/d1/dc2/h26x__bit__reader_8h_source.html index bc3696fec9..03efa5caea 100644 --- a/docs/d1/dc2/h26x__bit__reader_8h_source.html +++ b/docs/d1/dc2/h26x__bit__reader_8h_source.html @@ -192,7 +192,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dd5/classshaka_1_1media_1_1Cluster.html b/docs/d1/dd5/classshaka_1_1media_1_1Cluster.html index 5a7c92497b..1487587c73 100644 --- a/docs/d1/dd5/classshaka_1_1media_1_1Cluster.html +++ b/docs/d1/dd5/classshaka_1_1media_1_1Cluster.html @@ -116,7 +116,7 @@ int size () const diff --git a/docs/d1/dd6/structshaka_1_1media_1_1mp4_1_1DataInformation-members.html b/docs/d1/dd6/structshaka_1_1media_1_1mp4_1_1DataInformation-members.html index d02f1729f8..74a14b9a10 100644 --- a/docs/d1/dd6/structshaka_1_1media_1_1mp4_1_1DataInformation-members.html +++ b/docs/d1/dd6/structshaka_1_1media_1_1mp4_1_1DataInformation-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dda/structshaka_1_1media_1_1EncryptionConfig-members.html b/docs/d1/dda/structshaka_1_1media_1_1EncryptionConfig-members.html index 447c5cedf5..e15cc09c0c 100644 --- a/docs/d1/dda/structshaka_1_1media_1_1EncryptionConfig-members.html +++ b/docs/d1/dda/structshaka_1_1media_1_1EncryptionConfig-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/de2/classshaka_1_1media_1_1VideoStreamInfo-members.html b/docs/d1/de2/classshaka_1_1media_1_1VideoStreamInfo-members.html index af71124f5e..d638850f13 100644 --- a/docs/d1/de2/classshaka_1_1media_1_1VideoStreamInfo-members.html +++ b/docs/d1/de2/classshaka_1_1media_1_1VideoStreamInfo-members.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/de2/composition__offset__iterator_8cc_source.html b/docs/d1/de2/composition__offset__iterator_8cc_source.html index 6d3acb306c..d5802fc290 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/de4/classshaka_1_1media_1_1KeyFetcher-members.html b/docs/d1/de4/classshaka_1_1media_1_1KeyFetcher-members.html index eb355b40cc..c15bc0537d 100644 --- a/docs/d1/de4/classshaka_1_1media_1_1KeyFetcher-members.html +++ b/docs/d1/de4/classshaka_1_1media_1_1KeyFetcher-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html b/docs/d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html index 53689c61b9..b314e10ebf 100644 --- a/docs/d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html +++ b/docs/d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html @@ -201,7 +201,7 @@ Additional Inherited Members diff --git a/docs/d1/de7/structshaka_1_1media_1_1H265ReferencePictureListModifications-members.html b/docs/d1/de7/structshaka_1_1media_1_1H265ReferencePictureListModifications-members.html index ec88889d82..fc3ebcf0ed 100644 --- a/docs/d1/de7/structshaka_1_1media_1_1H265ReferencePictureListModifications-members.html +++ b/docs/d1/de7/structshaka_1_1media_1_1H265ReferencePictureListModifications-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/de9/classshaka_1_1media_1_1ProgressListener-members.html b/docs/d1/de9/classshaka_1_1media_1_1ProgressListener-members.html index f8982ce2f0..3c56c2622a 100644 --- a/docs/d1/de9/classshaka_1_1media_1_1ProgressListener-members.html +++ b/docs/d1/de9/classshaka_1_1media_1_1ProgressListener-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html b/docs/d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html index 693ee6abee..9f4d5cd0e2 100644 --- a/docs/d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html +++ b/docs/d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html @@ -468,7 +468,7 @@ template<typename T > diff --git a/docs/d1/dee/structshaka_1_1media_1_1mp4_1_1SampleTable.html b/docs/d1/dee/structshaka_1_1media_1_1mp4_1_1SampleTable.html index acb63a1421..90570094af 100644 --- a/docs/d1/dee/structshaka_1_1media_1_1mp4_1_1SampleTable.html +++ b/docs/d1/dee/structshaka_1_1media_1_1mp4_1_1SampleTable.html @@ -198,7 +198,7 @@ Additional Inherited Members diff --git a/docs/d1/df0/aes__encryptor_8h_source.html b/docs/d1/df0/aes__encryptor_8h_source.html index 10444a3104..a2eceed8d6 100644 --- a/docs/d1/df0/aes__encryptor_8h_source.html +++ b/docs/d1/df0/aes__encryptor_8h_source.html @@ -194,7 +194,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/df3/structshaka_1_1MpdOptions.html b/docs/d1/df3/structshaka_1_1MpdOptions.html index a1c1953a8e..03fd822fce 100644 --- a/docs/d1/df3/structshaka_1_1MpdOptions.html +++ b/docs/d1/df3/structshaka_1_1MpdOptions.html @@ -133,7 +133,7 @@ std::string default_langua diff --git a/docs/d1/df5/nalu__reader_8cc_source.html b/docs/d1/df5/nalu__reader_8cc_source.html index b89693873e..99e2a8419a 100644 --- a/docs/d1/df5/nalu__reader_8cc_source.html +++ b/docs/d1/df5/nalu__reader_8cc_source.html @@ -574,7 +574,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/df9/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader-members.html b/docs/d1/df9/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader-members.html index c4f92db414..26004b8e84 100644 --- a/docs/d1/df9/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader-members.html +++ b/docs/d1/df9/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader-members.html @@ -116,7 +116,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 ea2d20d32b..bab99b6f73 100644 --- a/docs/d2/d02/timestamp_8h_source.html +++ b/docs/d2/d02/timestamp_8h_source.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d0b/classshaka_1_1media_1_1SeekHead-members.html b/docs/d2/d0b/classshaka_1_1media_1_1SeekHead-members.html index 6f5b0a3ed7..08e40e65bb 100644 --- a/docs/d2/d0b/classshaka_1_1media_1_1SeekHead-members.html +++ b/docs/d2/d0b/classshaka_1_1media_1_1SeekHead-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d0f/classshaka_1_1MpdBuilder-members.html b/docs/d2/d0f/classshaka_1_1MpdBuilder-members.html index a71cfbdc8f..0cfab4517e 100644 --- a/docs/d2/d0f/classshaka_1_1MpdBuilder-members.html +++ b/docs/d2/d0f/classshaka_1_1MpdBuilder-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d0f/structshaka_1_1media_1_1wvm_1_1PrevSampleData.html b/docs/d2/d0f/structshaka_1_1media_1_1wvm_1_1PrevSampleData.html index 30a03bef94..0db660adbf 100644 --- a/docs/d2/d0f/structshaka_1_1media_1_1wvm_1_1PrevSampleData.html +++ b/docs/d2/d0f/structshaka_1_1media_1_1wvm_1_1PrevSampleData.html @@ -132,7 +132,7 @@ int64_t video_sample_durat diff --git a/docs/d2/d11/classshaka_1_1media_1_1MuxerListener-members.html b/docs/d2/d11/classshaka_1_1media_1_1MuxerListener-members.html index 7ea260bdbc..1bd36f3c10 100644 --- a/docs/d2/d11/classshaka_1_1media_1_1MuxerListener-members.html +++ b/docs/d2/d11/classshaka_1_1media_1_1MuxerListener-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d17/ts__section__pat_8cc_source.html b/docs/d2/d17/ts__section__pat_8cc_source.html index f958ad2b0d..da6d8ac08a 100644 --- a/docs/d2/d17/ts__section__pat_8cc_source.html +++ b/docs/d2/d17/ts__section__pat_8cc_source.html @@ -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 deleted file mode 100644 index d6b1f7e6a1..0000000000 --- a/docs/d2/d23/threaded__io__file_8cc_source.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/threaded_io_file.cc Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
threaded_io_file.cc
-
-
-
1 // Copyright 2015 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #include "packager/media/file/threaded_io_file.h"
-
8 
-
9 #include "packager/base/bind.h"
-
10 #include "packager/base/bind_helpers.h"
-
11 #include "packager/base/location.h"
-
12 #include "packager/base/threading/worker_pool.h"
-
13 
-
14 namespace shaka {
-
15 namespace media {
-
16 
-
17 using base::subtle::NoBarrier_Load;
-
18 using base::subtle::NoBarrier_Store;
-
19 
-
20 ThreadedIoFile::ThreadedIoFile(std::unique_ptr<File, FileCloser> internal_file,
-
21  Mode mode,
-
22  uint64_t io_cache_size,
-
23  uint64_t io_block_size)
-
24  : File(internal_file->file_name()),
-
25  internal_file_(std::move(internal_file)),
-
26  mode_(mode),
-
27  cache_(io_cache_size),
-
28  io_buffer_(io_block_size),
-
29  position_(0),
-
30  size_(0),
-
31  eof_(false),
-
32  flushing_(false),
-
33  flush_complete_event_(base::WaitableEvent::ResetPolicy::AUTOMATIC,
-
34  base::WaitableEvent::InitialState::NOT_SIGNALED),
-
35  internal_file_error_(0),
-
36  task_exit_event_(base::WaitableEvent::ResetPolicy::AUTOMATIC,
-
37  base::WaitableEvent::InitialState::NOT_SIGNALED) {
-
38  DCHECK(internal_file_);
-
39 }
-
40 
-
41 ThreadedIoFile::~ThreadedIoFile() {}
-
42 
- -
44  DCHECK(internal_file_);
-
45 
-
46  if (!internal_file_->Open())
-
47  return false;
-
48 
-
49  position_ = 0;
-
50  size_ = internal_file_->Size();
-
51 
-
52  base::WorkerPool::PostTask(FROM_HERE, base::Bind(&ThreadedIoFile::TaskHandler,
-
53  base::Unretained(this)),
-
54  true /* task_is_slow */);
-
55  return true;
-
56 }
-
57 
- -
59  DCHECK(internal_file_);
-
60 
-
61  if (mode_ == kOutputMode)
-
62  Flush();
-
63 
-
64  cache_.Close();
-
65  task_exit_event_.Wait();
-
66 
-
67  bool result = internal_file_.release()->Close();
-
68  delete this;
-
69  return result;
-
70 }
-
71 
-
72 int64_t ThreadedIoFile::Read(void* buffer, uint64_t length) {
-
73  DCHECK(internal_file_);
-
74  DCHECK_EQ(kInputMode, mode_);
-
75 
-
76  if (NoBarrier_Load(&eof_) && !cache_.BytesCached())
-
77  return 0;
-
78 
-
79  if (NoBarrier_Load(&internal_file_error_))
-
80  return NoBarrier_Load(&internal_file_error_);
-
81 
-
82 
-
83  uint64_t bytes_read = cache_.Read(buffer, length);
-
84  position_ += bytes_read;
-
85 
-
86  return bytes_read;
-
87 }
-
88 
-
89 int64_t ThreadedIoFile::Write(const void* buffer, uint64_t length) {
-
90  DCHECK(internal_file_);
-
91  DCHECK_EQ(kOutputMode, mode_);
-
92 
-
93  if (NoBarrier_Load(&internal_file_error_))
-
94  return NoBarrier_Load(&internal_file_error_);
-
95 
-
96  uint64_t bytes_written = cache_.Write(buffer, length);
-
97  position_ += bytes_written;
-
98  if (position_ > size_)
-
99  size_ = position_;
-
100 
-
101  return bytes_written;
-
102 }
-
103 
- -
105  DCHECK(internal_file_);
-
106 
-
107  return size_;
-
108 }
-
109 
- -
111  DCHECK(internal_file_);
-
112  DCHECK_EQ(kOutputMode, mode_);
-
113 
-
114  flushing_ = true;
-
115  cache_.Close();
-
116  flush_complete_event_.Wait();
-
117  return internal_file_->Flush();
-
118 }
-
119 
-
120 bool ThreadedIoFile::Seek(uint64_t position) {
-
121  if (mode_ == kOutputMode) {
-
122  // Writing. Just flush the cache and seek.
-
123  if (!Flush()) return false;
-
124  if (!internal_file_->Seek(position)) return false;
-
125  } else {
-
126  // Reading. Close cache, wait for thread task to exit, seek, and re-post
-
127  // the task.
-
128  cache_.Close();
-
129  task_exit_event_.Wait();
-
130  bool result = internal_file_->Seek(position);
-
131  if (!result) {
-
132  // Seek failed. Seek to logical position instead.
-
133  if (!internal_file_->Seek(position_) && (position != position_)) {
-
134  LOG(WARNING) << "Seek failed. ThreadedIoFile left in invalid state.";
-
135  }
-
136  }
-
137  cache_.Reopen();
-
138  eof_ = false;
-
139  base::WorkerPool::PostTask(
-
140  FROM_HERE,
-
141  base::Bind(&ThreadedIoFile::TaskHandler, base::Unretained(this)),
-
142  true /* task_is_slow */);
-
143  if (!result) return false;
-
144  }
-
145  position_ = position;
-
146  return true;
-
147 }
-
148 
-
149 bool ThreadedIoFile::Tell(uint64_t* position) {
-
150  DCHECK(position);
-
151 
-
152  *position = position_;
-
153  return true;
-
154 }
-
155 
-
156 void ThreadedIoFile::TaskHandler() {
-
157  if (mode_ == kInputMode)
-
158  RunInInputMode();
-
159  else
-
160  RunInOutputMode();
-
161  task_exit_event_.Signal();
-
162 }
-
163 
-
164 void ThreadedIoFile::RunInInputMode() {
-
165  DCHECK(internal_file_);
-
166  DCHECK_EQ(kInputMode, mode_);
-
167 
-
168  while (true) {
-
169  int64_t read_result = internal_file_->Read(&io_buffer_[0],
-
170  io_buffer_.size());
-
171  if (read_result <= 0) {
-
172  NoBarrier_Store(&eof_, read_result == 0);
-
173  NoBarrier_Store(&internal_file_error_, read_result);
-
174  cache_.Close();
-
175  return;
-
176  }
-
177  if (cache_.Write(&io_buffer_[0], read_result) == 0) {
-
178  return;
-
179  }
-
180  }
-
181 }
-
182 
-
183 void ThreadedIoFile::RunInOutputMode() {
-
184  DCHECK(internal_file_);
-
185  DCHECK_EQ(kOutputMode, mode_);
-
186 
-
187  while (true) {
-
188  uint64_t write_bytes = cache_.Read(&io_buffer_[0], io_buffer_.size());
-
189  if (write_bytes == 0) {
-
190  if (flushing_) {
-
191  cache_.Reopen();
-
192  flushing_ = false;
-
193  flush_complete_event_.Signal();
-
194  } else {
-
195  return;
-
196  }
-
197  } else {
-
198  uint64_t bytes_written(0);
-
199  while (bytes_written < write_bytes) {
-
200  int64_t write_result = internal_file_->Write(
-
201  &io_buffer_[bytes_written], write_bytes - bytes_written);
-
202  if (write_result < 0) {
-
203  NoBarrier_Store(&internal_file_error_, write_result);
-
204  cache_.Close();
-
205  return;
-
206  }
-
207  bytes_written += write_result;
-
208  }
-
209  }
-
210  }
-
211 }
-
212 
-
213 } // namespace media
-
214 } // namespace shaka
-
bool Tell(uint64_t *position) override
-
bool Seek(uint64_t position) override
- - -
int64_t Write(const void *buffer, uint64_t length) override
-
void Reopen()
Reopens the cache. Any data still in the cache will be lost.
Definition: io_cache.cc:118
-
uint64_t Read(void *buffer, uint64_t size)
Definition: io_cache.cc:40
-
bool Open() override
Internal open. Should not be used directly.
- -
uint64_t BytesCached()
Definition: io_cache.cc:127
- -
uint64_t Write(const void *buffer, uint64_t size)
Definition: io_cache.cc:68
-
int64_t Read(void *buffer, uint64_t length) override
-
- - - - diff --git a/docs/d2/d24/packager__util_8h_source.html b/docs/d2/d24/packager__util_8h_source.html index f34d98ab0d..b220dd02ea 100644 --- a/docs/d2/d24/packager__util_8h_source.html +++ b/docs/d2/d24/packager__util_8h_source.html @@ -148,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d30/tracks__builder_8cc_source.html b/docs/d2/d30/tracks__builder_8cc_source.html index e7c8a7c05a..31a16989eb 100644 --- a/docs/d2/d30/tracks__builder_8cc_source.html +++ b/docs/d2/d30/tracks__builder_8cc_source.html @@ -486,7 +486,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d33/video__slice__header__parser_8h_source.html b/docs/d2/d33/video__slice__header__parser_8h_source.html index 12e7be5f19..5f4fa11dbd 100644 --- a/docs/d2/d33/video__slice__header__parser_8h_source.html +++ b/docs/d2/d33/video__slice__header__parser_8h_source.html @@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d35/classshaka_1_1media_1_1WidevineKeySource-members.html b/docs/d2/d35/classshaka_1_1media_1_1WidevineKeySource-members.html index b96edd2ea7..d0063335c7 100644 --- a/docs/d2/d35/classshaka_1_1media_1_1WidevineKeySource-members.html +++ b/docs/d2/d35/classshaka_1_1media_1_1WidevineKeySource-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d3c/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html b/docs/d2/d3c/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html index 63d26f672a..4171866a4b 100644 --- a/docs/d2/d3c/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html +++ b/docs/d2/d3c/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d45/program__map__table__writer_8cc_source.html b/docs/d2/d45/program__map__table__writer_8cc_source.html index c579b43e58..8f6816cab0 100644 --- a/docs/d2/d45/program__map__table__writer_8cc_source.html +++ b/docs/d2/d45/program__map__table__writer_8cc_source.html @@ -487,15 +487,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
398 } // namespace shaka
bool ClearSegmentPmt(BufferWriter *writer) override
Writes TS packets with PMT for clear segments.
bool EncryptedSegmentPmt(BufferWriter *writer) override
Writes TS packets with PMT for encrypted segments.
- -
const uint8_t * Buffer() const
Definition: buffer_writer.h:59
+ +
const uint8_t * Buffer() const
Definition: buffer_writer.h:60
bool ClearSegmentPmt(BufferWriter *writer) override
Writes TS packets with PMT for clear segments.
bool EncryptedSegmentPmt(BufferWriter *writer) override
Writes TS packets with PMT for encrypted segments.
diff --git a/docs/d2/d4c/nal__unit__to__byte__stream__converter_8cc_source.html b/docs/d2/d4c/nal__unit__to__byte__stream__converter_8cc_source.html index f490fe26b1..ed940451be 100644 --- a/docs/d2/d4c/nal__unit__to__byte__stream__converter_8cc_source.html +++ b/docs/d2/d4c/nal__unit__to__byte__stream__converter_8cc_source.html @@ -474,7 +474,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual bool Initialize(const uint8_t *decoder_configuration_data, size_t decoder_configuration_data_size)
int type() const
Definition: nalu_reader.h:113
uint64_t header_size() const
The size of the header, e.g. 1 for H.264.
Definition: nalu_reader.h:100
- +
bool Parse(const std::vector< uint8_t > &data)
Result Advance(Nalu *nalu)
Definition: nalu_reader.cc:239
@@ -486,7 +486,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 deleted file mode 100644 index a8d1a39c0b..0000000000 --- a/docs/d2/d4d/file_8h_source.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/file.h Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
file.h
-
-
-
1 // Copyright 2014 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #ifndef PACKAGER_FILE_FILE_H_
-
8 #define PACKAGER_FILE_FILE_H_
-
9 
-
10 #include <stdint.h>
-
11 
-
12 #include <string>
-
13 
-
14 #include "packager/base/macros.h"
-
15 
-
16 namespace shaka {
-
17 namespace media {
-
18 
-
19 extern const char* kLocalFilePrefix;
-
20 extern const char* kMemoryFilePrefix;
-
21 const int64_t kWholeFile = -1;
-
22 
-
24 class File {
-
25  public:
-
32  static File* Open(const char* file_name, const char* mode);
-
33 
-
40  static File* OpenWithNoBuffering(const char* file_name, const char* mode);
-
41 
-
45  static bool Delete(const char* file_name);
-
46 
-
52  virtual bool Close() = 0;
-
53 
-
60  virtual int64_t Read(void* buffer, uint64_t length) = 0;
-
61 
-
66  virtual int64_t Write(const void* buffer, uint64_t length) = 0;
-
67 
-
70  virtual int64_t Size() = 0;
-
71 
-
77  virtual bool Flush() = 0;
-
78 
-
82  virtual bool Seek(uint64_t position) = 0;
-
83 
-
88  virtual bool Tell(uint64_t* position) = 0;
-
89 
-
91  const std::string& file_name() const { return file_name_; }
-
92 
-
93  // ************************************************************
-
94  // * Static Methods: File-on-the-filesystem status
-
95  // ************************************************************
-
96 
-
99  static int64_t GetFileSize(const char* file_name);
-
100 
-
105  static bool ReadFileToString(const char* file_name, std::string* contents);
-
106 
-
111  static bool WriteFileAtomically(const char* file_name,
-
112  const std::string& contents);
-
113 
-
120  static bool Copy(const char* from_file_name, const char* to_file_name);
-
121 
-
126  static int64_t CopyFile(File* source, File* destination);
-
127 
-
133  static int64_t CopyFile(File* source, File* destination, int64_t max_copy);
-
134 
-
135  protected:
-
136  explicit File(const std::string& file_name) : file_name_(file_name) {}
-
139  virtual ~File() {}
-
140 
-
142  virtual bool Open() = 0;
-
143 
-
144  private:
-
145  friend class ThreadedIoFile;
-
146 
-
147  // This is a file factory method, it creates a proper file, e.g.
-
148  // LocalFile, MemFile based on prefix.
-
149  static File* Create(const char* file_name, const char* mode);
-
150 
-
151  static File* CreateInternalFile(const char* file_name, const char* mode);
-
152 
-
153  std::string file_name_;
-
154  DISALLOW_COPY_AND_ASSIGN(File);
-
155 };
-
156 
-
157 } // namespace media
-
158 } // namespace shaka
-
159 
-
160 #endif // PACKAGER_FILE_FILE_H_
-
virtual bool Open()=0
Internal open. Should not be used directly.
-
static File * OpenWithNoBuffering(const char *file_name, const char *mode)
Definition: file.cc:170
-
static bool Copy(const char *from_file_name, const char *to_file_name)
Definition: file.cc:253
-
virtual int64_t Size()=0
-
virtual ~File()
Definition: file.h:139
-
virtual bool Close()=0
-
virtual int64_t Write(const void *buffer, uint64_t length)=0
-
Define an abstract file interface.
Definition: file.h:24
-
virtual int64_t Read(void *buffer, uint64_t length)=0
-
static int64_t CopyFile(File *source, File *destination)
Definition: file.cc:282
-
virtual bool Tell(uint64_t *position)=0
-
static bool WriteFileAtomically(const char *file_name, const std::string &contents)
Definition: file.cc:217
-
const std::string & file_name() const
Definition: file.h:91
-
static int64_t GetFileSize(const char *file_name)
Definition: file.cc:190
-
static bool ReadFileToString(const char *file_name, std::string *contents)
Definition: file.cc:199
-
virtual bool Flush()=0
-
virtual bool Seek(uint64_t position)=0
-
Declaration of class which implements a thread-safe circular buffer.
-
static bool Delete(const char *file_name)
Definition: file.cc:181
-
- - - - diff --git a/docs/d2/d4f/structshaka_1_1Element-members.html b/docs/d2/d4f/structshaka_1_1Element-members.html index 47fe00184f..885f3ab49c 100644 --- a/docs/d2/d4f/structshaka_1_1Element-members.html +++ b/docs/d2/d4f/structshaka_1_1Element-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d51/classshaka_1_1MockMpdNotifier-members.html b/docs/d2/d51/classshaka_1_1MockMpdNotifier-members.html index 695ca88f8b..27f98868c4 100644 --- a/docs/d2/d51/classshaka_1_1MockMpdNotifier-members.html +++ b/docs/d2/d51/classshaka_1_1MockMpdNotifier-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d59/structshaka_1_1media_1_1H264SliceHeader.html b/docs/d2/d59/structshaka_1_1media_1_1H264SliceHeader.html index 097d2a8a16..ad648f6aa9 100644 --- a/docs/d2/d59/structshaka_1_1media_1_1H264SliceHeader.html +++ b/docs/d2/d59/structshaka_1_1media_1_1H264SliceHeader.html @@ -264,7 +264,7 @@ int slice_beta_offset_div2 diff --git a/docs/d2/d5b/classshaka_1_1media_1_1KeySource-members.html b/docs/d2/d5b/classshaka_1_1media_1_1KeySource-members.html index 2f9e2573c4..f59f32533c 100644 --- a/docs/d2/d5b/classshaka_1_1media_1_1KeySource-members.html +++ b/docs/d2/d5b/classshaka_1_1media_1_1KeySource-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d5c/classshaka_1_1SimpleMpdNotifier-members.html b/docs/d2/d5c/classshaka_1_1SimpleMpdNotifier-members.html index fcc2942cd8..684bfd9e10 100644 --- a/docs/d2/d5c/classshaka_1_1SimpleMpdNotifier-members.html +++ b/docs/d2/d5c/classshaka_1_1SimpleMpdNotifier-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d61/structshaka_1_1media_1_1H264ModificationOfPicNum-members.html b/docs/d2/d61/structshaka_1_1media_1_1H264ModificationOfPicNum-members.html index 9f4891ed8c..69d6cb373c 100644 --- a/docs/d2/d61/structshaka_1_1media_1_1H264ModificationOfPicNum-members.html +++ b/docs/d2/d61/structshaka_1_1media_1_1H264ModificationOfPicNum-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d62/simple__mpd__notifier_8h_source.html b/docs/d2/d62/simple__mpd__notifier_8h_source.html index 518adb896a..6303a0e054 100644 --- a/docs/d2/d62/simple__mpd__notifier_8h_source.html +++ b/docs/d2/d62/simple__mpd__notifier_8h_source.html @@ -170,7 +170,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
86 
87 #endif // MPD_BASE_SIMPLE_MPD_NOTIFIER_H_
-
This class generates DASH MPDs (Media Presentation Descriptions).
Definition: mpd_builder.h:57
+
This class generates DASH MPDs (Media Presentation Descriptions).
Definition: mpd_builder.h:54
bool AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) override
@@ -184,7 +184,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d62/structshaka_1_1media_1_1mp4_1_1Movie-members.html b/docs/d2/d62/structshaka_1_1media_1_1mp4_1_1Movie-members.html index f63dbf0a97..0ed66aa291 100644 --- a/docs/d2/d62/structshaka_1_1media_1_1mp4_1_1Movie-members.html +++ b/docs/d2/d62/structshaka_1_1media_1_1mp4_1_1Movie-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d6a/classshaka_1_1media_1_1AesCryptor-members.html b/docs/d2/d6a/classshaka_1_1media_1_1AesCryptor-members.html index abf0919a90..b86b14a287 100644 --- a/docs/d2/d6a/classshaka_1_1media_1_1AesCryptor-members.html +++ b/docs/d2/d6a/classshaka_1_1media_1_1AesCryptor-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d6f/classBandwidthEstimator.html b/docs/d2/d6f/classBandwidthEstimator.html index 6078d9bfec..3bc07c36d2 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/d70/structshaka_1_1media_1_1mp4_1_1SchemeInfo.html b/docs/d2/d70/structshaka_1_1media_1_1mp4_1_1SchemeInfo.html index 0619982b25..8850648b3b 100644 --- a/docs/d2/d70/structshaka_1_1media_1_1mp4_1_1SchemeInfo.html +++ b/docs/d2/d70/structshaka_1_1media_1_1mp4_1_1SchemeInfo.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d2/d7b/classshaka_1_1DashIopMpdNotifier-members.html b/docs/d2/d7b/classshaka_1_1DashIopMpdNotifier-members.html index a960c00dbd..6606e4c5a6 100644 --- a/docs/d2/d7b/classshaka_1_1DashIopMpdNotifier-members.html +++ b/docs/d2/d7b/classshaka_1_1DashIopMpdNotifier-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d7b/simple__mpd__notifier_8cc_source.html b/docs/d2/d7b/simple__mpd__notifier_8cc_source.html index 70e2956556..845381ebc3 100644 --- a/docs/d2/d7b/simple__mpd__notifier_8cc_source.html +++ b/docs/d2/d7b/simple__mpd__notifier_8cc_source.html @@ -217,8 +217,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
128 
129 } // namespace shaka
- -
uint32_t id() const
Definition: mpd_builder.h:486
+ +
uint32_t id() const
Definition: mpd_builder.h:483
bool AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) override
void AddContentProtectionElements(const MediaInfo &media_info, Representation *parent)
Definition: mpd_utils.cc:356
@@ -228,14 +228,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
bool NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) 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
static void MakePathsRelativeToMpd(const std::string &mpd_path, MediaInfo *media_info)
Definition: mpd_builder.cc:620
- +
ContentType GetContentType(const MediaInfo &media_info)
bool WriteMpdToFile(const std::string &output_path, MpdBuilder *mpd_builder)
bool NotifyNewContainer(const MediaInfo &media_info, uint32_t *id) override
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 512697688c..542c4bc2cc 100644 --- a/docs/d2/d7e/aac__audio__specific__config_8h_source.html +++ b/docs/d2/d7e/aac__audio__specific__config_8h_source.html @@ -215,7 +215,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d7f/structshaka_1_1media_1_1mp4_1_1CuePayloadBox.html b/docs/d2/d7f/structshaka_1_1media_1_1mp4_1_1CuePayloadBox.html index d541c47c6e..7ae8afd19d 100644 --- a/docs/d2/d7f/structshaka_1_1media_1_1mp4_1_1CuePayloadBox.html +++ b/docs/d2/d7f/structshaka_1_1media_1_1mp4_1_1CuePayloadBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d2/d8a/hls__notify__muxer__listener_8h_source.html b/docs/d2/d8a/hls__notify__muxer__listener_8h_source.html index a61b598a87..bb9063384d 100644 --- a/docs/d2/d8a/hls__notify__muxer__listener_8h_source.html +++ b/docs/d2/d8a/hls__notify__muxer__listener_8h_source.html @@ -180,7 +180,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d91/structshaka_1_1media_1_1mp4_1_1CuePayloadBox-members.html b/docs/d2/d91/structshaka_1_1media_1_1mp4_1_1CuePayloadBox-members.html index 00c3f6864a..72ce5c7422 100644 --- a/docs/d2/d91/structshaka_1_1media_1_1mp4_1_1CuePayloadBox-members.html +++ b/docs/d2/d91/structshaka_1_1media_1_1mp4_1_1CuePayloadBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d92/box__reader_8h_source.html b/docs/d2/d92/box__reader_8h_source.html index 17a388861a..de38ac2bdc 100644 --- a/docs/d2/d92/box__reader_8h_source.html +++ b/docs/d2/d92/box__reader_8h_source.html @@ -246,7 +246,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html b/docs/d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html index dfc1351010..8f761cc553 100644 --- a/docs/d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html +++ b/docs/d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html @@ -387,7 +387,7 @@ const std::vector< uint8_t > &  diff --git a/docs/d2/da0/classshaka_1_1media_1_1TrickPlayHandler-members.html b/docs/d2/da0/classshaka_1_1media_1_1TrickPlayHandler-members.html index b14c1cba6d..e0c414326e 100644 --- a/docs/d2/da0/classshaka_1_1media_1_1TrickPlayHandler-members.html +++ b/docs/d2/da0/classshaka_1_1media_1_1TrickPlayHandler-members.html @@ -124,7 +124,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 deleted file mode 100644 index 73fc3fc1fb..0000000000 --- a/docs/d2/da6/threaded__io__file_8h_source.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/threaded_io_file.h Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
threaded_io_file.h
-
-
-
1 // Copyright 2015 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
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 
-
10 #include <memory>
-
11 #include "packager/base/atomicops.h"
-
12 #include "packager/base/synchronization/waitable_event.h"
-
13 #include "packager/media/file/file.h"
-
14 #include "packager/media/file/file_closer.h"
-
15 #include "packager/media/file/io_cache.h"
-
16 
-
17 namespace shaka {
-
18 namespace media {
-
19 
-
21 class ThreadedIoFile : public File {
-
22  public:
-
23  enum Mode {
-
24  kInputMode,
-
25  kOutputMode
-
26  };
-
27 
-
28  ThreadedIoFile(std::unique_ptr<File, FileCloser> internal_file,
-
29  Mode mode,
-
30  uint64_t io_cache_size,
-
31  uint64_t io_block_size);
-
32 
-
35  bool Close() override;
-
36  int64_t Read(void* buffer, uint64_t length) override;
-
37  int64_t Write(const void* buffer, uint64_t length) override;
-
38  int64_t Size() override;
-
39  bool Flush() override;
-
40  bool Seek(uint64_t position) override;
-
41  bool Tell(uint64_t* position) override;
-
43 
-
44  protected:
-
45  ~ThreadedIoFile() override;
-
46 
-
47  bool Open() override;
-
48 
-
49  private:
-
50  // Internal task handler implementation. Will dispatch to either
-
51  // |RunInInputMode| or |RunInOutputMode| depending on |mode_|.
-
52  void TaskHandler();
-
53  void RunInInputMode();
-
54  void RunInOutputMode();
-
55 
-
56  std::unique_ptr<File, FileCloser> internal_file_;
-
57  const Mode mode_;
-
58  IoCache cache_;
-
59  std::vector<uint8_t> io_buffer_;
-
60  uint64_t position_;
-
61  uint64_t size_;
-
62  base::subtle::Atomic32 eof_;
-
63  bool flushing_;
-
64  base::WaitableEvent flush_complete_event_;
-
65  base::subtle::Atomic32 internal_file_error_;
-
66  // Signalled when thread task exits.
-
67  base::WaitableEvent task_exit_event_;
-
68 
-
69  DISALLOW_COPY_AND_ASSIGN(ThreadedIoFile);
-
70 };
-
71 
-
72 } // namespace media
-
73 } // namespace shaka
-
74 
-
75 #endif // PACKAGER_FILE_THREADED_IO_FILE_H
-
bool Tell(uint64_t *position) override
-
bool Seek(uint64_t position) override
- -
Define an abstract file interface.
Definition: file.h:24
-
int64_t Write(const 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.
Definition: io_cache.h:20
-
int64_t Read(void *buffer, uint64_t length) override
-
Declaration of class which implements a thread-safe circular buffer.
-
- - - - diff --git a/docs/d2/da8/mp4_2segmenter_8cc_source.html b/docs/d2/da8/mp4_2segmenter_8cc_source.html index ea34aff791..201a7c0ea2 100644 --- a/docs/d2/da8/mp4_2segmenter_8cc_source.html +++ b/docs/d2/da8/mp4_2segmenter_8cc_source.html @@ -405,7 +405,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/da9/classshaka_1_1media_1_1BufferWriter-members.html b/docs/d2/da9/classshaka_1_1media_1_1BufferWriter-members.html index b1cf60f85b..77e683b001 100644 --- a/docs/d2/da9/classshaka_1_1media_1_1BufferWriter-members.html +++ b/docs/d2/da9/classshaka_1_1media_1_1BufferWriter-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dae/classshaka_1_1MockAdaptationSet-members.html b/docs/d2/dae/classshaka_1_1MockAdaptationSet-members.html index 0d01037014..85caeb2cad 100644 --- a/docs/d2/dae/classshaka_1_1MockAdaptationSet-members.html +++ b/docs/d2/dae/classshaka_1_1MockAdaptationSet-members.html @@ -126,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dae/webm__muxer_8cc_source.html b/docs/d2/dae/webm__muxer_8cc_source.html index bf10cac134..8e8ca0acf9 100644 --- a/docs/d2/dae/webm__muxer_8cc_source.html +++ b/docs/d2/dae/webm__muxer_8cc_source.html @@ -213,7 +213,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
124  const float duration_seconds = segmenter_->GetDurationInSeconds();
125 
126  const int64_t file_size =
-
127  File::GetFileSize(options().output_file_name.c_str());
+
127  File::GetFileSize(options().output_file_name.c_str());
128  if (file_size <= 0) {
129  LOG(ERROR) << "Invalid file size: " << file_size;
130  return;
@@ -227,7 +227,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
138 } // namespace shaka
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
-
static int64_t GetFileSize(const char *file_name)
Definition: file.cc:190
virtual void OnMediaStart(const MuxerOptions &muxer_options, const StreamInfo &stream_info, uint32_t time_scale, ContainerType container_type)=0
WebMMuxer(const MuxerOptions &options)
Create a WebMMuxer object from MuxerOptions.
Definition: webm_muxer.cc:21
@@ -235,7 +234,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/db1/structshaka_1_1media_1_1mp4_1_1SampleToGroup-members.html b/docs/d2/db1/structshaka_1_1media_1_1mp4_1_1SampleToGroup-members.html index eab090a77d..a4c6dc6342 100644 --- a/docs/d2/db1/structshaka_1_1media_1_1mp4_1_1SampleToGroup-members.html +++ b/docs/d2/db1/structshaka_1_1media_1_1mp4_1_1SampleToGroup-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/db6/structshaka_1_1media_1_1mp4_1_1FileType-members.html b/docs/d2/db6/structshaka_1_1media_1_1mp4_1_1FileType-members.html index ffa48ffb7f..6569850f6f 100644 --- a/docs/d2/db6/structshaka_1_1media_1_1mp4_1_1FileType-members.html +++ b/docs/d2/db6/structshaka_1_1media_1_1mp4_1_1FileType-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/db8/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox-members.html b/docs/d2/db8/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox-members.html index 6aea671fff..f4b1df21a7 100644 --- a/docs/d2/db8/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox-members.html +++ b/docs/d2/db8/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dba/classshaka_1_1media_1_1SegmentTestBase.html b/docs/d2/dba/classshaka_1_1media_1_1SegmentTestBase.html index e98ed97662..b2040dbef9 100644 --- a/docs/d2/dba/classshaka_1_1media_1_1SegmentTestBase.html +++ b/docs/d2/dba/classshaka_1_1media_1_1SegmentTestBase.html @@ -183,7 +183,7 @@ bool single_segment_ diff --git a/docs/d2/dc3/structshaka_1_1media_1_1mp4_1_1Track-members.html b/docs/d2/dc3/structshaka_1_1media_1_1mp4_1_1Track-members.html index 4b8bde9e5a..e1eabb6a83 100644 --- a/docs/d2/dc3/structshaka_1_1media_1_1mp4_1_1Track-members.html +++ b/docs/d2/dc3/structshaka_1_1media_1_1mp4_1_1Track-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dc7/media__handler__test__base_8cc_source.html b/docs/d2/dc7/media__handler__test__base_8cc_source.html index 74d8c4446d..efaf86c14f 100644 --- a/docs/d2/dc7/media__handler__test__base_8cc_source.html +++ b/docs/d2/dc7/media__handler__test__base_8cc_source.html @@ -271,7 +271,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dc7/structshaka_1_1MpdOptions-members.html b/docs/d2/dc7/structshaka_1_1MpdOptions-members.html index aae57de629..d69b05b375 100644 --- a/docs/d2/dc7/structshaka_1_1MpdOptions-members.html +++ b/docs/d2/dc7/structshaka_1_1MpdOptions-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dcd/program__map__table__writer_8h_source.html b/docs/d2/dcd/program__map__table__writer_8h_source.html index 19a69a0644..949599c85e 100644 --- a/docs/d2/dcd/program__map__table__writer_8h_source.html +++ b/docs/d2/dcd/program__map__table__writer_8h_source.html @@ -179,7 +179,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
bool ClearSegmentPmt(BufferWriter *writer) override
Writes TS packets with PMT for clear segments.
bool EncryptedSegmentPmt(BufferWriter *writer) override
Writes TS packets with PMT for encrypted segments.
- +
virtual bool EncryptedSegmentPmt(BufferWriter *writer)=0
Writes TS packets with PMT for encrypted segments.
@@ -190,7 +190,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dcd/structshaka_1_1media_1_1mp4_1_1EditList-members.html b/docs/d2/dcd/structshaka_1_1media_1_1mp4_1_1EditList-members.html index fe79fd2fd1..9dc174db51 100644 --- a/docs/d2/dcd/structshaka_1_1media_1_1mp4_1_1EditList-members.html +++ b/docs/d2/dcd/structshaka_1_1media_1_1mp4_1_1EditList-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dce/structshaka_1_1media_1_1ChunkingOptions-members.html b/docs/d2/dce/structshaka_1_1media_1_1ChunkingOptions-members.html index 6b594816f1..d4ab515dac 100644 --- a/docs/d2/dce/structshaka_1_1media_1_1ChunkingOptions-members.html +++ b/docs/d2/dce/structshaka_1_1media_1_1ChunkingOptions-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html b/docs/d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html index f9f1a5032a..3b5684293e 100644 --- a/docs/d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html +++ b/docs/d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html @@ -283,7 +283,7 @@ uint64_t segment_payload_p diff --git a/docs/d2/dd6/mkv__writer_8h_source.html b/docs/d2/dd6/mkv__writer_8h_source.html index f7d9770e82..0680b1c753 100644 --- a/docs/d2/dd6/mkv__writer_8h_source.html +++ b/docs/d2/dd6/mkv__writer_8h_source.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #include <memory>
11 #include <string>
12 
-
13 #include "packager/media/file/file_closer.h"
+
13 #include "packager/file/file_closer.h"
14 #include "packager/status.h"
15 #include "packager/third_party/libwebm/src/mkvmuxer.hpp"
16 
@@ -121,10 +121,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
50  void ElementStartNotify(mkvmuxer::uint64 element_id,
51  mkvmuxer::int64 position) override;
52 
-
55  int64_t WriteFromFile(File* source);
-
59  int64_t WriteFromFile(File* source, int64_t max_copy);
+
55  int64_t WriteFromFile(File* source);
+
59  int64_t WriteFromFile(File* source, int64_t max_copy);
60 
-
61  File* file() { return file_.get(); }
+
61  File* file() { return file_.get(); }
62 
63  private:
64  std::unique_ptr<File, FileCloser> file_;
@@ -139,7 +139,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
73 } // namespace shaka
74 
75 #endif // MEDIA_FORMATS_WEBM_MKV_WRITER_H_
-
Define an abstract file interface.
Definition: file.h:24
int64_t WriteFromFile(File *source)
Definition: mkv_writer.cc:56
void ElementStartNotify(mkvmuxer::uint64 element_id, mkvmuxer::int64 position) override
Definition: mkv_writer.cc:90
mkvmuxer::int64 Position() const override
Definition: mkv_writer.cc:71
@@ -151,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dd8/classshaka_1_1media_1_1ChunkingHandler-members.html b/docs/d2/dd8/classshaka_1_1media_1_1ChunkingHandler-members.html index 7035ad9cdc..5aaaae1fac 100644 --- a/docs/d2/dd8/classshaka_1_1media_1_1ChunkingHandler-members.html +++ b/docs/d2/dd8/classshaka_1_1media_1_1ChunkingHandler-members.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html b/docs/d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html index af2b1ff643..97d575ee42 100644 --- a/docs/d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html +++ b/docs/d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html @@ -257,7 +257,7 @@ std::shared_ptr< diff --git a/docs/d2/de1/webvtt__timestamp_8h_source.html b/docs/d2/de1/webvtt__timestamp_8h_source.html index 73e6c264b1..93ea71e1c1 100644 --- a/docs/d2/de1/webvtt__timestamp_8h_source.html +++ b/docs/d2/de1/webvtt__timestamp_8h_source.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/de3/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt.html b/docs/d2/de3/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt.html index eb8460be72..bab627e93d 100644 --- a/docs/d2/de3/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt.html +++ b/docs/d2/de3/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt.html @@ -155,7 +155,7 @@ void Reset () override diff --git a/docs/d2/de6/packager__main_8cc_source.html b/docs/d2/de6/packager__main_8cc_source.html index 1f4d28d721..b4beee18bd 100644 --- a/docs/d2/de6/packager__main_8cc_source.html +++ b/docs/d2/de6/packager__main_8cc_source.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
23 #include "packager/base/strings/string_number_conversions.h"
24 #include "packager/base/strings/string_split.h"
25 #include "packager/base/strings/stringprintf.h"
-
26 #include "packager/media/file/file.h"
+
26 #include "packager/file/file.h"
27 #include "packager/packager.h"
28 
29 #if defined(OS_WIN)
@@ -197,8 +197,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
108  signer->aes.iv = FLAGS_aes_signing_iv_bytes;
109  } else if (!FLAGS_rsa_signing_key_path.empty()) {
110  signer->signing_key_type = WidevineSigner::SigningKeyType::kRsa;
-
111  if (!media::File::ReadFileToString(FLAGS_rsa_signing_key_path.c_str(),
-
112  &signer->rsa.key)) {
+
111  if (!File::ReadFileToString(FLAGS_rsa_signing_key_path.c_str(),
+
112  &signer->rsa.key)) {
113  LOG(ERROR) << "Failed to read from '" << FLAGS_rsa_signing_key_path
114  << "'.";
115  return false;
@@ -455,13 +455,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
366 #endif // defined(OS_WIN)
base::Optional< StreamDescriptor > ParseStreamDescriptor(const std::string &descriptor_string)
bool ValidateWidevineCryptoFlags()
-
static bool ReadFileToString(const char *file_name, std::string *contents)
Definition: file.cc:199
bool ValidateFixedCryptoFlags()
diff --git a/docs/d2/de7/classshaka_1_1media_1_1TextStreamInfo-members.html b/docs/d2/de7/classshaka_1_1media_1_1TextStreamInfo-members.html index 6d304caf66..2a8b3224c1 100644 --- a/docs/d2/de7/classshaka_1_1media_1_1TextStreamInfo-members.html +++ b/docs/d2/de7/classshaka_1_1media_1_1TextStreamInfo-members.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/de7/structshaka_1_1media_1_1mp4_1_1Edit-members.html b/docs/d2/de7/structshaka_1_1media_1_1mp4_1_1Edit-members.html index 21b66cd68b..0b868d21af 100644 --- a/docs/d2/de7/structshaka_1_1media_1_1mp4_1_1Edit-members.html +++ b/docs/d2/de7/structshaka_1_1media_1_1mp4_1_1Edit-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/de9/media__handler_8cc_source.html b/docs/d2/de9/media__handler_8cc_source.html index 4c151ed4f0..57ad06d418 100644 --- a/docs/d2/de9/media__handler_8cc_source.html +++ b/docs/d2/de9/media__handler_8cc_source.html @@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/de9/mock__muxer__listener_8h_source.html b/docs/d2/de9/mock__muxer__listener_8h_source.html index 36aa976e04..07c79f489b 100644 --- a/docs/d2/de9/mock__muxer__listener_8h_source.html +++ b/docs/d2/de9/mock__muxer__listener_8h_source.html @@ -172,7 +172,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 7ac4dc0cd5..367be97490 100644 --- a/docs/d2/deb/es__parser_8h_source.html +++ b/docs/d2/deb/es__parser_8h_source.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dee/classshaka_1_1media_1_1mp2t_1_1TsSectionPes-members.html b/docs/d2/dee/classshaka_1_1media_1_1mp2t_1_1TsSectionPes-members.html index 5870383a6c..a74608efce 100644 --- a/docs/d2/dee/classshaka_1_1media_1_1mp2t_1_1TsSectionPes-members.html +++ b/docs/d2/dee/classshaka_1_1media_1_1mp2t_1_1TsSectionPes-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dee/pes__packet__generator_8cc_source.html b/docs/d2/dee/pes__packet__generator_8cc_source.html index 16a1f77cdc..6950fe162c 100644 --- a/docs/d2/dee/pes__packet__generator_8cc_source.html +++ b/docs/d2/dee/pes__packet__generator_8cc_source.html @@ -232,7 +232,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/df8/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser.html b/docs/d2/df8/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser.html index 857557da22..0e35a3318d 100644 --- a/docs/d2/df8/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser.html +++ b/docs/d2/df8/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser.html @@ -131,7 +131,7 @@ size_t cluster_count ( diff --git a/docs/d2/dfc/classshaka_1_1media_1_1MkvWriter-members.html b/docs/d2/dfc/classshaka_1_1media_1_1MkvWriter-members.html index b2f8e2b14c..4dedb8e8e6 100644 --- a/docs/d2/dfc/classshaka_1_1media_1_1MkvWriter-members.html +++ b/docs/d2/dfc/classshaka_1_1media_1_1MkvWriter-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dfd/adts__header_8h_source.html b/docs/d2/dfd/adts__header_8h_source.html index 82e1da52e1..cead992913 100644 --- a/docs/d2/dfd/adts__header_8h_source.html +++ b/docs/d2/dfd/adts__header_8h_source.html @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d07/classshaka_1_1media_1_1mp4_1_1BoxReader-members.html b/docs/d3/d07/classshaka_1_1media_1_1mp4_1_1BoxReader-members.html index fa32300a3b..75b7153501 100644 --- a/docs/d3/d07/classshaka_1_1media_1_1mp4_1_1BoxReader-members.html +++ b/docs/d3/d07/classshaka_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/d09/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator-members.html b/docs/d3/d09/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator-members.html index d18ec2817b..31b5d9315a 100644 --- a/docs/d3/d09/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator-members.html +++ b/docs/d3/d09/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d0a/classshaka_1_1media_1_1MediaParser.html b/docs/d3/d0a/classshaka_1_1media_1_1MediaParser.html index 081a3d41d7..2109b664c0 100644 --- a/docs/d3/d0a/classshaka_1_1media_1_1MediaParser.html +++ b/docs/d3/d0a/classshaka_1_1media_1_1MediaParser.html @@ -299,7 +299,7 @@ Public Member Functions diff --git a/docs/d3/d0c/classshaka_1_1media_1_1mp2t_1_1AdtsHeader.html b/docs/d3/d0c/classshaka_1_1media_1_1mp2t_1_1AdtsHeader.html index b2def6c585..3b265b644e 100644 --- a/docs/d3/d0c/classshaka_1_1media_1_1mp2t_1_1AdtsHeader.html +++ b/docs/d3/d0c/classshaka_1_1media_1_1mp2t_1_1AdtsHeader.html @@ -336,7 +336,7 @@ Static Public Member Functions diff --git a/docs/d3/d12/classshaka_1_1media_1_1LibcryptoThreading-members.html b/docs/d3/d12/classshaka_1_1media_1_1LibcryptoThreading-members.html index 7e1686d92b..49e3319758 100644 --- a/docs/d3/d12/classshaka_1_1media_1_1LibcryptoThreading-members.html +++ b/docs/d3/d12/classshaka_1_1media_1_1LibcryptoThreading-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d18/classshaka_1_1media_1_1mp2t_1_1TsSectionPat-members.html b/docs/d3/d18/classshaka_1_1media_1_1mp2t_1_1TsSectionPat-members.html index 68ab8624f5..ed5dbcc773 100644 --- a/docs/d3/d18/classshaka_1_1media_1_1mp2t_1_1TsSectionPat-members.html +++ b/docs/d3/d18/classshaka_1_1media_1_1mp2t_1_1TsSectionPat-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d19/io__cache_8h_source.html b/docs/d3/d19/io__cache_8h_source.html deleted file mode 100644 index e4b9eafe9e..0000000000 --- a/docs/d3/d19/io__cache_8h_source.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/io_cache.h Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
io_cache.h
-
-
-
1 // Copyright 2015 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
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 
-
10 #include <stdint.h>
-
11 #include <vector>
-
12 #include "packager/base/macros.h"
-
13 #include "packager/base/synchronization/lock.h"
-
14 #include "packager/base/synchronization/waitable_event.h"
-
15 
-
16 namespace shaka {
-
17 namespace media {
-
18 
-
20 class IoCache {
-
21  public:
-
22  explicit IoCache(uint64_t cache_size);
-
23  ~IoCache();
-
24 
-
31  uint64_t Read(void* buffer, uint64_t size);
-
32 
-
40  uint64_t Write(const void* buffer, uint64_t size);
-
41 
-
43  void Clear();
-
44 
-
47  void Close();
-
48 
-
50  bool closed() { return closed_; }
-
51 
-
53  void Reopen();
-
54 
-
57  uint64_t BytesCached();
-
58 
-
61  uint64_t BytesFree();
-
62 
- -
65 
-
66  private:
-
67  uint64_t BytesCachedInternal();
-
68  uint64_t BytesFreeInternal();
-
69 
-
70  const uint64_t cache_size_;
-
71  base::Lock lock_;
-
72  base::WaitableEvent read_event_;
-
73  base::WaitableEvent write_event_;
-
74  std::vector<uint8_t> circular_buffer_;
-
75  const uint8_t* end_ptr_;
-
76  uint8_t* r_ptr_;
-
77  uint8_t* w_ptr_;
-
78  bool closed_;
-
79 
-
80  DISALLOW_COPY_AND_ASSIGN(IoCache);
-
81 };
-
82 
-
83 } // namespace media
-
84 } // namespace shaka
-
85 
-
86 #endif // PACKAGER_FILE_IO_CACHE_H
- -
void Clear()
Empties the cache.
Definition: io_cache.cc:104
- -
void WaitUntilEmptyOrClosed()
Waits until the cache is empty or has been closed.
Definition: io_cache.cc:147
-
uint64_t BytesFree()
Definition: io_cache.cc:132
-
void Reopen()
Reopens the cache. Any data still in the cache will be lost.
Definition: io_cache.cc:118
-
uint64_t Read(void *buffer, uint64_t size)
Definition: io_cache.cc:40
-
uint64_t BytesCached()
Definition: io_cache.cc:127
-
uint64_t Write(const void *buffer, uint64_t size)
Definition: io_cache.cc:68
-
Declaration of class which implements a thread-safe circular buffer.
Definition: io_cache.h:20
-
- - - - diff --git a/docs/d3/d35/video__slice__header__parser_8cc_source.html b/docs/d3/d35/video__slice__header__parser_8cc_source.html index d8e6b16e5d..fe1f1afca0 100644 --- a/docs/d3/d35/video__slice__header__parser_8cc_source.html +++ b/docs/d3/d35/video__slice__header__parser_8cc_source.html @@ -200,7 +200,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d47/structshaka_1_1media_1_1mp4_1_1PrivFrame.html b/docs/d3/d47/structshaka_1_1media_1_1mp4_1_1PrivFrame.html index e3f2a25ff3..4f3db3b390 100644 --- a/docs/d3/d47/structshaka_1_1media_1_1mp4_1_1PrivFrame.html +++ b/docs/d3/d47/structshaka_1_1media_1_1mp4_1_1PrivFrame.html @@ -129,7 +129,7 @@ std::string value diff --git a/docs/d3/d51/classshaka_1_1media_1_1LibcryptoThreading.html b/docs/d3/d51/classshaka_1_1media_1_1LibcryptoThreading.html index a442117e99..056d04d486 100644 --- a/docs/d3/d51/classshaka_1_1media_1_1LibcryptoThreading.html +++ b/docs/d3/d51/classshaka_1_1media_1_1LibcryptoThreading.html @@ -108,7 +108,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 0a8c61ea23..53b0ceb926 100644 --- a/docs/d3/d56/decrypt__config_8cc_source.html +++ b/docs/d3/d56/decrypt__config_8cc_source.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d61/classshaka_1_1media_1_1File.html b/docs/d3/d61/classshaka_1_1media_1_1File.html deleted file mode 100644 index cdbe2b838a..0000000000 --- a/docs/d3/d61/classshaka_1_1media_1_1File.html +++ /dev/null @@ -1,866 +0,0 @@ - - - - - - -DASH Media Packaging SDK: shaka::media::File Class Reference - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
- -
- -

Define an abstract file interface. - More...

- -

#include <file.h>

-
-Inheritance diagram for shaka::media::File:
-
-
- - -shaka::media::LocalFile -shaka::media::MemoryFile -shaka::media::ThreadedIoFile -shaka::media::UdpFile - -
- - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual bool Close ()=0
 
virtual int64_t Read (void *buffer, uint64_t length)=0
 
virtual int64_t Write (const void *buffer, uint64_t length)=0
 
virtual int64_t Size ()=0
 
virtual bool Flush ()=0
 
virtual bool Seek (uint64_t position)=0
 
virtual bool Tell (uint64_t *position)=0
 
const std::string & file_name () const
 
- - - - - - - - - - - - - - - - - - - -

-Static Public Member Functions

static FileOpen (const char *file_name, const char *mode)
 
static FileOpenWithNoBuffering (const char *file_name, const char *mode)
 
static bool Delete (const char *file_name)
 
static int64_t GetFileSize (const char *file_name)
 
static bool ReadFileToString (const char *file_name, std::string *contents)
 
static bool WriteFileAtomically (const char *file_name, const std::string &contents)
 
static bool Copy (const char *from_file_name, const char *to_file_name)
 
static int64_t CopyFile (File *source, File *destination)
 
static int64_t CopyFile (File *source, File *destination, int64_t max_copy)
 
- - - - - - - - -

-Protected Member Functions

File (const std::string &file_name)
 
virtual ~File ()
 
-virtual bool Open ()=0
 Internal open. Should not be used directly.
 
- - - -

-Friends

-class ThreadedIoFile
 
-

Detailed Description

-

Define an abstract file interface.

- -

Definition at line 24 of file file.h.

-

Constructor & Destructor Documentation

- -
-
- - - - - -
- - - - - - - -
virtual shaka::media::File::~File ()
-
-inlineprotectedvirtual
-
-

Do not call the destructor directly (with the "delete" keyword) nor use std::unique_ptr; instead use Close().

- -

Definition at line 139 of file file.h.

- -
-
-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - -
virtual bool shaka::media::File::Close ()
-
-pure 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.

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

Implemented in shaka::media::ThreadedIoFile, shaka::media::UdpFile, shaka::media::LocalFile, and shaka::media::MemoryFile.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool shaka::media::File::Copy (const char * from_file_name,
const char * to_file_name 
)
-
-static
-
-

Copies files. This is not good for copying huge files. Although not recommended, it is safe to have source file and destination file name be the same.

-
Parameters
- - - -
from_file_nameis the source file name.
to_file_nameis the destination file name.
-
-
-
Returns
true on success, false otherwise.
- -

Definition at line 253 of file file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int64_t shaka::media::File::CopyFile (Filesource,
Filedestination 
)
-
-static
-
-

Copies the contents from source to destination.

-
Parameters
- - - -
sourceThe file to copy from.
destinationThe file to copy to.
-
-
-
Returns
Number of bytes written, or a value < 0 on error.
- -

Definition at line 282 of file file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
int64_t shaka::media::File::CopyFile (Filesource,
Filedestination,
int64_t max_copy 
)
-
-static
-
-

Copies the contents from source to destination.

-
Parameters
- - - - -
sourceThe file to copy from.
destinationThe file to copy to.
max_copyThe maximum number of bytes to copy; < 0 to copy to EOF.
-
-
-
Returns
Number of bytes written, or a value < 0 on error.
- -

Definition at line 286 of file file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - -
bool shaka::media::File::Delete (const char * file_name)
-
-static
-
-

Delete the specified file.

-
Parameters
- - -
file_namecontains the path of the file to be deleted.
-
-
-
Returns
true if successful, false otherwise.
- -

Definition at line 181 of file file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - -
const std::string& shaka::media::File::file_name () const
-
-inline
-
-
Returns
The file name.
- -

Definition at line 91 of file file.h.

- -
-
- -
-
- - - - - -
- - - - - - - -
virtual bool shaka::media::File::Flush ()
-
-pure virtual
-
-

Flush 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 shaka::media::ThreadedIoFile, shaka::media::UdpFile, shaka::media::LocalFile, and shaka::media::MemoryFile.

- -
-
- -
-
- - - - - -
- - - - - - - - -
int64_t shaka::media::File::GetFileSize (const char * file_name)
-
-static
-
-
Returns
The size of a file in bytes on success, a value < 0 otherwise. The file will be opened and closed in the process.
- -

Definition at line 190 of file file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
File * shaka::media::File::Open (const char * file_name,
const char * mode 
)
-
-static
-
-

Open the specified file. This is a file factory method, it opens a proper file automatically based on prefix, e.g. "file://" for LocalFile.

-
Parameters
- - - -
file_namecontains the name of the file to be accessed.
modecontains file access mode. Implementation dependent.
-
-
-
Returns
A File pointer on success, false otherwise.
- -

Definition at line 159 of file file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
File * shaka::media::File::OpenWithNoBuffering (const char * file_name,
const char * mode 
)
-
-static
-
-

Open the specified file in direct-access mode (no buffering). This is a file factory method, it opens a proper file automatically based on prefix, e.g. "file://" for LocalFile.

-
Parameters
- - - -
file_namecontains the name of the file to be accessed.
modecontains file access mode. Implementation dependent.
-
-
-
Returns
A File pointer on success, false otherwise.
- -

Definition at line 170 of file file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual int64_t shaka::media::File::Read (void * buffer,
uint64_t length 
)
-
-pure virtual
-
-

Read data and return it in buffer.

-
Parameters
- - - -
[out]bufferpoints to a block of memory with a size of at least length bytes.
lengthindicates number of bytes to be read.
-
-
-
Returns
Number of bytes read, or a value < 0 on error. Zero on end-of-file, or if 'length' is zero.
- -

Implemented in shaka::media::ThreadedIoFile, shaka::media::UdpFile, shaka::media::LocalFile, and shaka::media::MemoryFile.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool shaka::media::File::ReadFileToString (const char * file_name,
std::string * contents 
)
-
-static
-
-

Read the file into string.

-
Parameters
- - - -
file_nameis the file to be read. It should be a valid file.
contents[out]points to the output string. Should not be NULL.
-
-
-
Returns
true on success, false otherwise.
- -

Definition at line 199 of file file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - -
virtual bool shaka::media::File::Seek (uint64_t position)
-
-pure virtual
-
-

Seek to the specifield position in the file.

-
Parameters
- - -
positionis the position to seek to.
-
-
-
Returns
true on success, false otherwise.
- -

Implemented in shaka::media::ThreadedIoFile, shaka::media::UdpFile, shaka::media::LocalFile, and shaka::media::MemoryFile.

- -
-
- -
-
- - - - - -
- - - - - - - -
virtual int64_t shaka::media::File::Size ()
-
-pure virtual
-
-
Returns
Size of the file in bytes. A return value less than zero indicates a problem getting the size.
- -

Implemented in shaka::media::ThreadedIoFile, shaka::media::UdpFile, shaka::media::LocalFile, and shaka::media::MemoryFile.

- -
-
- -
-
- - - - - -
- - - - - - - - -
virtual bool shaka::media::File::Tell (uint64_t * position)
-
-pure virtual
-
-

Get the current file position.

-
Parameters
- - -
positionis a pointer to contain the current file position upon successful return.
-
-
-
Returns
true on succcess, false otherwise.
- -

Implemented in shaka::media::ThreadedIoFile, shaka::media::UdpFile, shaka::media::LocalFile, and shaka::media::MemoryFile.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual int64_t shaka::media::File::Write (const void * buffer,
uint64_t length 
)
-
-pure virtual
-
-

Write block of data.

-
Parameters
- - - -
bufferpoints to a block of memory with at least length bytes.
lengthindicates number of bytes to write.
-
-
-
Returns
Number of bytes written, or a value < 0 on error.
- -

Implemented in shaka::media::ThreadedIoFile, shaka::media::UdpFile, shaka::media::LocalFile, and shaka::media::MemoryFile.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool shaka::media::File::WriteFileAtomically (const char * file_name,
const std::string & contents 
)
-
-static
-
-

Save contents to file_name in an atomic manner.

-
Parameters
- - - -
file_nameis the destination file name.
contentsis the data to be saved.
-
-
-
Returns
true on success, false otherwise.
- -

Definition at line 217 of file file.cc.

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff --git a/docs/d3/d61/classshaka_1_1media_1_1File.png b/docs/d3/d61/classshaka_1_1media_1_1File.png deleted file mode 100644 index 2a5e13f1b7..0000000000 Binary files a/docs/d3/d61/classshaka_1_1media_1_1File.png and /dev/null differ diff --git a/docs/d3/d62/continuity__counter_8h_source.html b/docs/d3/d62/continuity__counter_8h_source.html index f1dc278490..15a079dd17 100644 --- a/docs/d3/d62/continuity__counter_8h_source.html +++ b/docs/d3/d62/continuity__counter_8h_source.html @@ -124,7 +124,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 32d201e3d6..7829ed594a 100644 --- a/docs/d3/d62/rcheck_8h_source.html +++ b/docs/d3/d62/rcheck_8h_source.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d66/structshaka_1_1media_1_1mp4_1_1DataEntryUrl-members.html b/docs/d3/d66/structshaka_1_1media_1_1mp4_1_1DataEntryUrl-members.html index b941665871..b5ab440fb3 100644 --- a/docs/d3/d66/structshaka_1_1media_1_1mp4_1_1DataEntryUrl-members.html +++ b/docs/d3/d66/structshaka_1_1media_1_1mp4_1_1DataEntryUrl-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d67/classshaka_1_1media_1_1WebMVideoClient.html b/docs/d3/d67/classshaka_1_1media_1_1WebMVideoClient.html index 21a819fd98..4a8f23e667 100644 --- a/docs/d3/d67/classshaka_1_1media_1_1WebMVideoClient.html +++ b/docs/d3/d67/classshaka_1_1media_1_1WebMVideoClient.html @@ -199,7 +199,7 @@ An empty pointer if there was unexpected values in the provided parameters or vi diff --git a/docs/d3/d6b/fixed__key__source_8cc_source.html b/docs/d3/d6b/fixed__key__source_8cc_source.html index acbdc059a1..72ace71780 100644 --- a/docs/d3/d6b/fixed__key__source_8cc_source.html +++ b/docs/d3/d6b/fixed__key__source_8cc_source.html @@ -224,7 +224,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d71/classshaka_1_1media_1_1mp2t_1_1TsMuxer.html b/docs/d3/d71/classshaka_1_1media_1_1mp2t_1_1TsMuxer.html index 1ff07de024..195c753125 100644 --- a/docs/d3/d71/classshaka_1_1media_1_1mp2t_1_1TsMuxer.html +++ b/docs/d3/d71/classshaka_1_1media_1_1mp2t_1_1TsMuxer.html @@ -231,7 +231,7 @@ std::pair< std::shared_ptr
diff --git a/docs/d3/d72/fixed__key__source_8h_source.html b/docs/d3/d72/fixed__key__source_8h_source.html index 2a81b36f08..640eb1a56b 100644 --- a/docs/d3/d72/fixed__key__source_8h_source.html +++ b/docs/d3/d72/fixed__key__source_8h_source.html @@ -157,7 +157,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html b/docs/d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html index 1e44c16a7f..92f591e408 100644 --- a/docs/d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html +++ b/docs/d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html @@ -235,7 +235,7 @@ std::pair< std::shared_ptr
diff --git a/docs/d3/d75/classshaka_1_1media_1_1AesEncryptor.html b/docs/d3/d75/classshaka_1_1media_1_1AesEncryptor.html index ac3e886167..fe78e5142b 100644 --- a/docs/d3/d75/classshaka_1_1media_1_1AesEncryptor.html +++ b/docs/d3/d75/classshaka_1_1media_1_1AesEncryptor.html @@ -236,7 +236,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/d3/d75/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html b/docs/d3/d75/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html index 038ba18438..690cce2931 100644 --- a/docs/d3/d75/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html +++ b/docs/d3/d75/classshaka_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/d76/muxer__flags_8h_source.html b/docs/d3/d76/muxer__flags_8h_source.html index 7aa74f411f..868a107566 100644 --- a/docs/d3/d76/muxer__flags_8h_source.html +++ b/docs/d3/d76/muxer__flags_8h_source.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d77/structshaka_1_1media_1_1mp4_1_1TextSampleEntry-members.html b/docs/d3/d77/structshaka_1_1media_1_1mp4_1_1TextSampleEntry-members.html index 68aaa042d0..13319b34b2 100644 --- a/docs/d3/d77/structshaka_1_1media_1_1mp4_1_1TextSampleEntry-members.html +++ b/docs/d3/d77/structshaka_1_1media_1_1mp4_1_1TextSampleEntry-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d7b/classshaka_1_1media_1_1RsaPublicKey-members.html b/docs/d3/d7b/classshaka_1_1media_1_1RsaPublicKey-members.html index ae65919782..87499e86ee 100644 --- a/docs/d3/d7b/classshaka_1_1media_1_1RsaPublicKey-members.html +++ b/docs/d3/d7b/classshaka_1_1media_1_1RsaPublicKey-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d7c/classshaka_1_1media_1_1WebMAudioClient.html b/docs/d3/d7c/classshaka_1_1media_1_1WebMAudioClient.html index d800098181..957a748661 100644 --- a/docs/d3/d7c/classshaka_1_1media_1_1WebMAudioClient.html +++ b/docs/d3/d7c/classshaka_1_1media_1_1WebMAudioClient.html @@ -223,7 +223,7 @@ An empty pointer if there was unexpected values in the provided parameters or au diff --git a/docs/d3/d80/muxer__util_8h_source.html b/docs/d3/d80/muxer__util_8h_source.html index 78ea89ae91..070c13bd59 100644 --- a/docs/d3/d80/muxer__util_8h_source.html +++ b/docs/d3/d80/muxer__util_8h_source.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d87/structshaka_1_1media_1_1mp4_1_1SampleToChunk.html b/docs/d3/d87/structshaka_1_1media_1_1mp4_1_1SampleToChunk.html index 8a390b6979..27759e2b2d 100644 --- a/docs/d3/d87/structshaka_1_1media_1_1mp4_1_1SampleToChunk.html +++ b/docs/d3/d87/structshaka_1_1media_1_1mp4_1_1SampleToChunk.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d3/d87/trick__play__handler_8cc_source.html b/docs/d3/d87/trick__play__handler_8cc_source.html index f91bfcc79d..406562738c 100644 --- a/docs/d3/d87/trick__play__handler_8cc_source.html +++ b/docs/d3/d87/trick__play__handler_8cc_source.html @@ -322,7 +322,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d8b/structshaka_1_1media_1_1FileCloser.html b/docs/d3/d8b/structshaka_1_1media_1_1FileCloser.html deleted file mode 100644 index d82ff4c390..0000000000 --- a/docs/d3/d8b/structshaka_1_1media_1_1FileCloser.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - -DASH Media Packaging SDK: shaka::media::FileCloser Struct Reference - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
- -
-
shaka::media::FileCloser Struct Reference
-
-
- -

#include <file_closer.h>

- - - - -

-Public Member Functions

-void operator() (File *file) const
 
-

Detailed Description

-

Used by std::unique_ptr to automatically close the file when it goes out of scope.

- -

Definition at line 18 of file file_closer.h.

-

The documentation for this struct was generated from the following file: -
- - - - diff --git a/docs/d3/d8d/webm__audio__client_8h_source.html b/docs/d3/d8d/webm__audio__client_8h_source.html index ef11b88c76..de215de2dc 100644 --- a/docs/d3/d8d/webm__audio__client_8h_source.html +++ b/docs/d3/d8d/webm__audio__client_8h_source.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d90/ec3__audio__util_8cc_source.html b/docs/d3/d90/ec3__audio__util_8cc_source.html index 8603e76281..f537d6011c 100644 --- a/docs/d3/d90/ec3__audio__util_8cc_source.html +++ b/docs/d3/d90/ec3__audio__util_8cc_source.html @@ -245,7 +245,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d91/classshaka_1_1media_1_1H264Parser.html b/docs/d3/d91/classshaka_1_1media_1_1H264Parser.html index 6bf497e43c..5fc6769c52 100644 --- a/docs/d3/d91/classshaka_1_1media_1_1H264Parser.html +++ b/docs/d3/d91/classshaka_1_1media_1_1H264Parser.html @@ -135,7 +135,7 @@ Result ParseSEI (const diff --git a/docs/d3/d93/media__handler_8h_source.html b/docs/d3/d93/media__handler_8h_source.html index 50e53770ca..993a3c3769 100644 --- a/docs/d3/d93/media__handler_8h_source.html +++ b/docs/d3/d93/media__handler_8h_source.html @@ -283,7 +283,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d9c/encryption__handler_8cc_source.html b/docs/d3/d9c/encryption__handler_8cc_source.html index b2832acd8e..4263bac453 100644 --- a/docs/d3/d9c/encryption__handler_8cc_source.html +++ b/docs/d3/d9c/encryption__handler_8cc_source.html @@ -619,7 +619,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/da0/ec3__audio__util_8h_source.html b/docs/d3/da0/ec3__audio__util_8h_source.html index 57a40aea47..af57567e6c 100644 --- a/docs/d3/da0/ec3__audio__util_8h_source.html +++ b/docs/d3/da0/ec3__audio__util_8h_source.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html b/docs/d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html index b278ec85ab..3e483d1963 100644 --- a/docs/d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html +++ b/docs/d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html @@ -302,7 +302,7 @@ uint64_t segment_payload_p diff --git a/docs/d3/da2/structshaka_1_1media_1_1mp4_1_1SchemeType.html b/docs/d3/da2/structshaka_1_1media_1_1mp4_1_1SchemeType.html index 8bcebc4773..310d3bf8d5 100644 --- a/docs/d3/da2/structshaka_1_1media_1_1mp4_1_1SchemeType.html +++ b/docs/d3/da2/structshaka_1_1media_1_1mp4_1_1SchemeType.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/d3/dad/structshaka_1_1media_1_1mp4_1_1ID3v2.html b/docs/d3/dad/structshaka_1_1media_1_1mp4_1_1ID3v2.html index f0ceea52aa..5674607599 100644 --- a/docs/d3/dad/structshaka_1_1media_1_1mp4_1_1ID3v2.html +++ b/docs/d3/dad/structshaka_1_1media_1_1mp4_1_1ID3v2.html @@ -189,7 +189,7 @@ Additional Inherited Members diff --git a/docs/d3/db3/structshaka_1_1media_1_1EncryptionOptions-members.html b/docs/d3/db3/structshaka_1_1media_1_1EncryptionOptions-members.html index 83d531cd86..0e241efcb4 100644 --- a/docs/d3/db3/structshaka_1_1media_1_1EncryptionOptions-members.html +++ b/docs/d3/db3/structshaka_1_1media_1_1EncryptionOptions-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/db4/classshaka_1_1media_1_1WebMWebVTTParser-members.html b/docs/d3/db4/classshaka_1_1media_1_1WebMWebVTTParser-members.html index db8940e7bc..568917ba6e 100644 --- a/docs/d3/db4/classshaka_1_1media_1_1WebMWebVTTParser-members.html +++ b/docs/d3/db4/classshaka_1_1media_1_1WebMWebVTTParser-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/db5/structshaka_1_1media_1_1mp4_1_1Track.html b/docs/d3/db5/structshaka_1_1media_1_1mp4_1_1Track.html index 3392149ec5..91e259c601 100644 --- a/docs/d3/db5/structshaka_1_1media_1_1mp4_1_1Track.html +++ b/docs/d3/db5/structshaka_1_1media_1_1mp4_1_1Track.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d3/db6/webm__parser_8cc_source.html b/docs/d3/db6/webm__parser_8cc_source.html index 2457807fc2..faf0e50806 100644 --- a/docs/d3/db6/webm__parser_8cc_source.html +++ b/docs/d3/db6/webm__parser_8cc_source.html @@ -1088,7 +1088,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/dbc/seek__head_8cc_source.html b/docs/d3/dbc/seek__head_8cc_source.html index 03cd2a5216..1c9d97d949 100644 --- a/docs/d3/dbc/seek__head_8cc_source.html +++ b/docs/d3/dbc/seek__head_8cc_source.html @@ -206,7 +206,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/dbe/demuxer_8cc_source.html b/docs/d3/dbe/demuxer_8cc_source.html index e666eb82c8..a2eabacfab 100644 --- a/docs/d3/dbe/demuxer_8cc_source.html +++ b/docs/d3/dbe/demuxer_8cc_source.html @@ -100,11 +100,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
11 #include "packager/base/bind.h"
12 #include "packager/base/logging.h"
13 #include "packager/base/strings/string_number_conversions.h"
-
14 #include "packager/media/base/decryptor_source.h"
-
15 #include "packager/media/base/key_source.h"
-
16 #include "packager/media/base/media_sample.h"
-
17 #include "packager/media/base/stream_info.h"
-
18 #include "packager/media/file/file.h"
+
14 #include "packager/file/file.h"
+
15 #include "packager/media/base/decryptor_source.h"
+
16 #include "packager/media/base/key_source.h"
+
17 #include "packager/media/base/media_sample.h"
+
18 #include "packager/media/base/stream_info.h"
19 #include "packager/media/formats/mp2t/mp2t_media_parser.h"
20 #include "packager/media/formats/mp4/mp4_media_parser.h"
21 #include "packager/media/formats/webm/webm_media_parser.h"
@@ -166,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
77 
78 Demuxer::~Demuxer() {
79  if (media_file_)
-
80  media_file_->Close();
+
80  media_file_->Close();
81 }
82 
83 void Demuxer::SetKeySource(std::unique_ptr<KeySource> key_source) {
@@ -248,7 +248,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
159 
160  LOG(INFO) << "Initialize Demuxer for file '" << file_name_ << "'.";
161 
-
162  media_file_ = File::Open(file_name_.c_str(), "r");
+
162  media_file_ = File::Open(file_name_.c_str(), "r");
163  if (!media_file_) {
164  return Status(error::FILE_FAILURE,
165  "Cannot open file for reading " + file_name_);
@@ -258,7 +258,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
169  int64_t bytes_read = 0;
170  while (static_cast<size_t>(bytes_read) < kInitBufSize) {
171  int64_t read_result =
-
172  media_file_->Read(buffer_.get() + bytes_read, kInitBufSize);
+
172  media_file_->Read(buffer_.get() + bytes_read, kInitBufSize);
173  if (read_result < 0)
174  return Status(error::FILE_FAILURE, "Cannot read file " + file_name_);
175  if (read_result == 0)
@@ -411,7 +411,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
322  DCHECK(parser_);
323  DCHECK(buffer_);
324 
-
325  int64_t bytes_read = media_file_->Read(buffer_.get(), kBufSize);
+
325  int64_t bytes_read = media_file_->Read(buffer_.get(), kBufSize);
326  if (bytes_read == 0) {
327  if (!parser_->Flush())
328  return Status(error::PARSER_FAILURE, "Failed to flush.");
@@ -428,23 +428,20 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
339 
340 } // namespace media
341 } // namespace shaka
-
virtual bool Open()=0
Internal open. Should not be used directly.
Status DispatchMediaSample(size_t stream_index, std::shared_ptr< MediaSample > media_sample)
Dispatch the media sample to downstream handlers.
Status SetHandler(const std::string &stream_label, std::shared_ptr< MediaHandler > handler)
Definition: demuxer.cc:132
-
virtual bool Close()=0
void SetLanguageOverride(const std::string &stream_label, const std::string &language_override)
Definition: demuxer.cc:142
Status DispatchStreamInfo(size_t stream_index, std::shared_ptr< StreamInfo > stream_info)
Dispatch the stream info to downstream handlers.
void SetKeySource(std::unique_ptr< KeySource > key_source)
Definition: demuxer.cc:83
-
virtual int64_t Read(void *buffer, uint64_t length)=0
Status FlushDownstream(size_t output_stream_index)
Flush the downstream connected at the specified output stream index.
Demuxer(const std::string &file_name)
Definition: demuxer.cc:75
Status SetHandler(size_t output_stream_index, std::shared_ptr< MediaHandler > handler)
Connect downstream handler at the specified output stream index.
diff --git a/docs/d3/dbe/structshaka_1_1media_1_1mp4_1_1EditList.html b/docs/d3/dbe/structshaka_1_1media_1_1mp4_1_1EditList.html index 6278a4f6d0..0f927bf041 100644 --- a/docs/d3/dbe/structshaka_1_1media_1_1mp4_1_1EditList.html +++ b/docs/d3/dbe/structshaka_1_1media_1_1mp4_1_1EditList.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html b/docs/d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html index a10ec4e0fa..4b18333afc 100644 --- a/docs/d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html +++ b/docs/d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html @@ -257,7 +257,7 @@ std::shared_ptr< diff --git a/docs/d3/dd0/classshaka_1_1MpdNotifier.html b/docs/d3/dd0/classshaka_1_1MpdNotifier.html index a6e89deea6..2aedeee1ad 100644 --- a/docs/d3/dd0/classshaka_1_1MpdNotifier.html +++ b/docs/d3/dd0/classshaka_1_1MpdNotifier.html @@ -500,7 +500,7 @@ Public Member Functions diff --git a/docs/d3/dd0/structshaka_1_1media_1_1mp4_1_1SegmentType.html b/docs/d3/dd0/structshaka_1_1media_1_1mp4_1_1SegmentType.html index 29e903c1dc..356f914c30 100644 --- a/docs/d3/dd0/structshaka_1_1media_1_1mp4_1_1SegmentType.html +++ b/docs/d3/dd0/structshaka_1_1media_1_1mp4_1_1SegmentType.html @@ -177,7 +177,7 @@ std::vector< FourCC > < diff --git a/docs/d3/de4/seek__head_8h_source.html b/docs/d3/de4/seek__head_8h_source.html index fac9a249eb..51cee839fe 100644 --- a/docs/d3/de4/seek__head_8h_source.html +++ b/docs/d3/de4/seek__head_8h_source.html @@ -153,7 +153,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/de9/classshaka_1_1media_1_1mp4_1_1BoxBuffer-members.html b/docs/d3/de9/classshaka_1_1media_1_1mp4_1_1BoxBuffer-members.html index 196565cb1d..508208bbce 100644 --- a/docs/d3/de9/classshaka_1_1media_1_1mp4_1_1BoxBuffer-members.html +++ b/docs/d3/de9/classshaka_1_1media_1_1mp4_1_1BoxBuffer-members.html @@ -121,7 +121,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/de9/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription-members.html b/docs/d3/de9/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription-members.html index e81341d60c..d2a1ad7ecf 100644 --- a/docs/d3/de9/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription-members.html +++ b/docs/d3/de9/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/df1/box__reader_8cc_source.html b/docs/d3/df1/box__reader_8cc_source.html index 9990f9f0c5..e903adacdc 100644 --- a/docs/d3/df1/box__reader_8cc_source.html +++ b/docs/d3/df1/box__reader_8cc_source.html @@ -259,7 +259,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html b/docs/d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html index e02bd50157..d477804cf8 100644 --- a/docs/d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html +++ b/docs/d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html @@ -297,7 +297,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html b/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html index c8adb7b5e2..763f076148 100644 --- a/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html +++ b/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html @@ -99,11 +99,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 
11 #include "packager/base/strings/string_number_conversions.h"
12 #include "packager/base/strings/string_util.h"
-
13 #include "packager/media/base/buffer_writer.h"
-
14 #include "packager/media/base/muxer_options.h"
-
15 #include "packager/media/base/muxer_util.h"
-
16 #include "packager/media/event/muxer_listener.h"
-
17 #include "packager/media/file/file.h"
+
13 #include "packager/file/file.h"
+
14 #include "packager/media/base/buffer_writer.h"
+
15 #include "packager/media/base/muxer_options.h"
+
16 #include "packager/media/base/muxer_util.h"
+
17 #include "packager/media/event/muxer_listener.h"
18 #include "packager/media/formats/mp4/box_definitions.h"
19 
20 namespace shaka {
@@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
57  DCHECK(ftyp());
58  DCHECK(moov());
59  // Generate the output file with init segment.
-
60  File* file = File::Open(options().output_file_name.c_str(), "w");
+
60  File* file = File::Open(options().output_file_name.c_str(), "w");
61  if (file == NULL) {
62  return Status(error::FILE_FAILURE,
63  "Cannot open file for write " + options().output_file_name);
@@ -155,7 +155,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
66  ftyp()->Write(buffer.get());
67  moov()->Write(buffer.get());
68  Status status = buffer->WriteToFile(file);
-
69  if (!file->Close()) {
+
69  if (!file->Close()) {
70  LOG(WARNING) << "Failed to close the file properly: "
71  << options().output_file_name;
72  }
@@ -239,7 +239,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
150  if (options().segment_template.empty()) {
151  // Append the segment to output file if segment template is not specified.
152  file_name = options().output_file_name.c_str();
-
153  file = File::Open(file_name.c_str(), "a");
+
153  file = File::Open(file_name.c_str(), "a");
154  if (file == NULL) {
155  return Status(
156  error::FILE_FAILURE,
@@ -249,7 +249,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
160  file_name = GetSegmentName(options().segment_template,
161  sidx()->earliest_presentation_time,
162  num_segments_++, options().bandwidth);
-
163  file = File::Open(file_name.c_str(), "w");
+
163  file = File::Open(file_name.c_str(), "w");
164  if (file == NULL) {
165  return Status(error::FILE_FAILURE,
166  "Cannot open file for write " + file_name);
@@ -295,12 +295,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
206 } // namespace media
207 } // namespace shaka
virtual void OnNewSegment(const std::string &segment_name, uint64_t start_time, uint64_t duration, uint64_t segment_file_size)=0
-
virtual bool Open()=0
Internal open. Should not be used directly.
void UpdateProgress(uint64_t progress)
Update segmentation progress using ProgressListener.
Definition: segmenter.cc:225
void SetComplete()
Set progress to 100%.
Definition: segmenter.cc:241
virtual void OnSampleDurationReady(uint32_t sample_duration)=0
-
virtual bool Close()=0
-
Define an abstract file interface.
Definition: file.h:24
uint32_t sample_duration() const
Definition: segmenter.h:100
bool GetInitRange(size_t *offset, size_t *size) override
bool GetIndexRange(size_t *offset, size_t *size) override
@@ -309,7 +306,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d08/classshaka_1_1media_1_1mp4_1_1MP4MediaParser-members.html b/docs/d4/d08/classshaka_1_1media_1_1mp4_1_1MP4MediaParser-members.html index 55cb0e6067..24c69180f3 100644 --- a/docs/d4/d08/classshaka_1_1media_1_1mp4_1_1MP4MediaParser-members.html +++ b/docs/d4/d08/classshaka_1_1media_1_1mp4_1_1MP4MediaParser-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d0b/classshaka_1_1media_1_1TextTrack.html b/docs/d4/d0b/classshaka_1_1media_1_1TextTrack.html index 251a631cf8..7130f1f070 100644 --- a/docs/d4/d0b/classshaka_1_1media_1_1TextTrack.html +++ b/docs/d4/d0b/classshaka_1_1media_1_1TextTrack.html @@ -109,7 +109,7 @@ virtual void addWebVTTCue< diff --git a/docs/d4/d14/classshaka_1_1media_1_1WebVttMediaParser-members.html b/docs/d4/d14/classshaka_1_1media_1_1WebVttMediaParser-members.html index 0d9a713cff..d4079bf705 100644 --- a/docs/d4/d14/classshaka_1_1media_1_1WebVttMediaParser-members.html +++ b/docs/d4/d14/classshaka_1_1media_1_1WebVttMediaParser-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d15/gflags__hex__bytes_8cc_source.html b/docs/d4/d15/gflags__hex__bytes_8cc_source.html index 407a2f0939..3c89dde1aa 100644 --- a/docs/d4/d15/gflags__hex__bytes_8cc_source.html +++ b/docs/d4/d15/gflags__hex__bytes_8cc_source.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d18/structshaka_1_1media_1_1mp4_1_1EditListEntry.html b/docs/d4/d18/structshaka_1_1media_1_1mp4_1_1EditListEntry.html index 0e78bcf69f..fd5822d1e9 100644 --- a/docs/d4/d18/structshaka_1_1media_1_1mp4_1_1EditListEntry.html +++ b/docs/d4/d18/structshaka_1_1media_1_1mp4_1_1EditListEntry.html @@ -118,7 +118,7 @@ int16_t media_rate_fractio diff --git a/docs/d4/d20/classshaka_1_1media_1_1AesCbcEncryptor.html b/docs/d4/d20/classshaka_1_1media_1_1AesCbcEncryptor.html index 3025575d56..2c174c28dd 100644 --- a/docs/d4/d20/classshaka_1_1media_1_1AesCbcEncryptor.html +++ b/docs/d4/d20/classshaka_1_1media_1_1AesCbcEncryptor.html @@ -235,7 +235,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/d4/d20/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html b/docs/d4/d20/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html index 99b5e56378..5905076a03 100644 --- a/docs/d4/d20/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html +++ b/docs/d4/d20/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d2c/structshaka_1_1media_1_1mp4_1_1ID3v2-members.html b/docs/d4/d2c/structshaka_1_1media_1_1mp4_1_1ID3v2-members.html index 42a244179f..d2c3296863 100644 --- a/docs/d4/d2c/structshaka_1_1media_1_1mp4_1_1ID3v2-members.html +++ b/docs/d4/d2c/structshaka_1_1media_1_1mp4_1_1ID3v2-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d33/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html b/docs/d4/d33/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html index c9796f5a5a..666205d67b 100644 --- a/docs/d4/d33/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html +++ b/docs/d4/d33/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d4/d37/io__cache_8cc_source.html b/docs/d4/d37/io__cache_8cc_source.html deleted file mode 100644 index b886c5476a..0000000000 --- a/docs/d4/d37/io__cache_8cc_source.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/io_cache.cc Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
io_cache.cc
-
-
-
1 // Copyright 2015 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #include "packager/media/file/io_cache.h"
-
8 
-
9 #include <string.h>
-
10 
-
11 #include <algorithm>
-
12 
-
13 #include "packager/base/logging.h"
-
14 
-
15 namespace shaka {
-
16 
-
17 using base::AutoLock;
-
18 using base::AutoUnlock;
-
19 
-
20 namespace media {
-
21 
-
22 IoCache::IoCache(uint64_t cache_size)
-
23  : cache_size_(cache_size),
-
24  read_event_(base::WaitableEvent::ResetPolicy::AUTOMATIC,
-
25  base::WaitableEvent::InitialState::NOT_SIGNALED),
-
26  write_event_(base::WaitableEvent::ResetPolicy::AUTOMATIC,
-
27  base::WaitableEvent::InitialState::NOT_SIGNALED),
-
28  // Make the buffer one byte larger than the cache so that when the
-
29  // condition r_ptr == w_ptr is unambiguous (buffer empty).
-
30  circular_buffer_(cache_size + 1),
-
31  end_ptr_(&circular_buffer_[0] + cache_size + 1),
-
32  r_ptr_(circular_buffer_.data()),
-
33  w_ptr_(circular_buffer_.data()),
-
34  closed_(false) {}
-
35 
-
36 IoCache::~IoCache() {
-
37  Close();
-
38 }
-
39 
-
40 uint64_t IoCache::Read(void* buffer, uint64_t size) {
-
41  DCHECK(buffer);
-
42 
-
43  AutoLock lock(lock_);
-
44  while (!closed_ && (BytesCachedInternal() == 0)) {
-
45  AutoUnlock unlock(lock_);
-
46  write_event_.Wait();
-
47  }
-
48 
-
49  size = std::min(size, BytesCachedInternal());
-
50  uint64_t first_chunk_size(std::min(size, static_cast<uint64_t>(
-
51  end_ptr_ - r_ptr_)));
-
52  memcpy(buffer, r_ptr_, first_chunk_size);
-
53  r_ptr_ += first_chunk_size;
-
54  DCHECK_GE(end_ptr_, r_ptr_);
-
55  if (r_ptr_ == end_ptr_)
-
56  r_ptr_ = &circular_buffer_[0];
-
57  uint64_t second_chunk_size(size - first_chunk_size);
-
58  if (second_chunk_size) {
-
59  memcpy(static_cast<uint8_t*>(buffer) + first_chunk_size, r_ptr_,
-
60  second_chunk_size);
-
61  r_ptr_ += second_chunk_size;
-
62  DCHECK_GT(end_ptr_, r_ptr_);
-
63  }
-
64  read_event_.Signal();
-
65  return size;
-
66 }
-
67 
-
68 uint64_t IoCache::Write(const void* buffer, uint64_t size) {
-
69  DCHECK(buffer);
-
70 
-
71  const uint8_t* r_ptr(static_cast<const uint8_t*>(buffer));
-
72  uint64_t bytes_left(size);
-
73  while (bytes_left) {
-
74  AutoLock lock(lock_);
-
75  while (!closed_ && (BytesFreeInternal() == 0)) {
-
76  AutoUnlock unlock(lock_);
-
77  read_event_.Wait();
-
78  }
-
79  if (closed_)
-
80  return 0;
-
81 
-
82  uint64_t write_size(std::min(bytes_left, BytesFreeInternal()));
-
83  uint64_t first_chunk_size(std::min(write_size, static_cast<uint64_t>(
-
84  end_ptr_ - w_ptr_)));
-
85  memcpy(w_ptr_, r_ptr, first_chunk_size);
-
86  w_ptr_ += first_chunk_size;
-
87  DCHECK_GE(end_ptr_, w_ptr_);
-
88  if (w_ptr_ == end_ptr_)
-
89  w_ptr_ = &circular_buffer_[0];
-
90  r_ptr += first_chunk_size;
-
91  uint64_t second_chunk_size(write_size - first_chunk_size);
-
92  if (second_chunk_size) {
-
93  memcpy(w_ptr_, r_ptr, second_chunk_size);
-
94  w_ptr_ += second_chunk_size;
-
95  DCHECK_GT(end_ptr_, w_ptr_);
-
96  r_ptr += second_chunk_size;
-
97  }
-
98  bytes_left -= write_size;
-
99  write_event_.Signal();
-
100  }
-
101  return size;
-
102 }
-
103 
-
104 void IoCache::Clear() {
-
105  AutoLock lock(lock_);
-
106  r_ptr_ = w_ptr_ = circular_buffer_.data();
-
107  // Let any writers know that there is room in the cache.
-
108  read_event_.Signal();
-
109 }
-
110 
-
111 void IoCache::Close() {
-
112  AutoLock lock(lock_);
-
113  closed_ = true;
-
114  read_event_.Signal();
-
115  write_event_.Signal();
-
116 }
-
117 
-
118 void IoCache::Reopen() {
-
119  AutoLock lock(lock_);
-
120  CHECK(closed_);
-
121  r_ptr_ = w_ptr_ = circular_buffer_.data();
-
122  closed_ = false;
-
123  read_event_.Reset();
-
124  write_event_.Reset();
-
125 }
-
126 
-
127 uint64_t IoCache::BytesCached() {
-
128  AutoLock lock(lock_);
-
129  return BytesCachedInternal();
-
130 }
-
131 
-
132 uint64_t IoCache::BytesFree() {
-
133  AutoLock lock(lock_);
-
134  return BytesFreeInternal();
-
135 }
-
136 
-
137 uint64_t IoCache::BytesCachedInternal() {
-
138  return (r_ptr_ <= w_ptr_)
-
139  ? w_ptr_ - r_ptr_
-
140  : (end_ptr_ - r_ptr_) + (w_ptr_ - circular_buffer_.data());
-
141 }
-
142 
-
143 uint64_t IoCache::BytesFreeInternal() {
-
144  return cache_size_ - BytesCachedInternal();
-
145 }
-
146 
-
147 void IoCache::WaitUntilEmptyOrClosed() {
-
148  AutoLock lock(lock_);
-
149  while (!closed_ && BytesCachedInternal()) {
-
150  AutoUnlock unlock(lock_);
-
151  read_event_.Wait();
-
152  }
-
153 }
-
154 
-
155 } // namespace media
-
156 } // namespace shaka
-
- - - - diff --git a/docs/d4/d3a/structshaka_1_1media_1_1H264Sps-members.html b/docs/d4/d3a/structshaka_1_1media_1_1H264Sps-members.html index e6faf085fc..9277516c01 100644 --- a/docs/d4/d3a/structshaka_1_1media_1_1H264Sps-members.html +++ b/docs/d4/d3a/structshaka_1_1media_1_1H264Sps-members.html @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d43/classshaka_1_1media_1_1ChunkingHandler.html b/docs/d4/d43/classshaka_1_1media_1_1ChunkingHandler.html index a947228e7b..6594db67b2 100644 --- a/docs/d4/d43/classshaka_1_1media_1_1ChunkingHandler.html +++ b/docs/d4/d43/classshaka_1_1media_1_1ChunkingHandler.html @@ -273,7 +273,7 @@ class ChunkingHandlerTest< diff --git a/docs/d4/d4a/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html b/docs/d4/d4a/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html index dafe26db86..ccd34c025f 100644 --- a/docs/d4/d4a/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html +++ b/docs/d4/d4a/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d4c/structshaka_1_1media_1_1H264WeightingFactors.html b/docs/d4/d4c/structshaka_1_1media_1_1H264WeightingFactors.html index dd3f1bfe34..1e0e8c487e 100644 --- a/docs/d4/d4c/structshaka_1_1media_1_1H264WeightingFactors.html +++ b/docs/d4/d4c/structshaka_1_1media_1_1H264WeightingFactors.html @@ -124,7 +124,7 @@ int chroma_offset [32] diff --git a/docs/d4/d58/classshaka_1_1media_1_1Nalu-members.html b/docs/d4/d58/classshaka_1_1media_1_1Nalu-members.html index 445c4dc56a..8853d69a09 100644 --- a/docs/d4/d58/classshaka_1_1media_1_1Nalu-members.html +++ b/docs/d4/d58/classshaka_1_1media_1_1Nalu-members.html @@ -159,7 +159,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d59/classshaka_1_1media_1_1WebMWebVTTParser.html b/docs/d4/d59/classshaka_1_1media_1_1WebMWebVTTParser.html index cc3b27b0a3..b34514d10f 100644 --- a/docs/d4/d59/classshaka_1_1media_1_1WebMWebVTTParser.html +++ b/docs/d4/d59/classshaka_1_1media_1_1WebMWebVTTParser.html @@ -111,7 +111,7 @@ static void  diff --git a/docs/d4/d5c/classshaka_1_1media_1_1DecryptConfig-members.html b/docs/d4/d5c/classshaka_1_1media_1_1DecryptConfig-members.html index affe85d2f7..ec1c44dae7 100644 --- a/docs/d4/d5c/classshaka_1_1media_1_1DecryptConfig-members.html +++ b/docs/d4/d5c/classshaka_1_1media_1_1DecryptConfig-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d5d/classshaka_1_1media_1_1UdpFile-members.html b/docs/d4/d5d/classshaka_1_1media_1_1UdpFile-members.html deleted file mode 100644 index 90c693c8db..0000000000 --- a/docs/d4/d5d/classshaka_1_1media_1_1UdpFile-members.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -DASH Media Packaging SDK: Member List - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
shaka::media::UdpFile Member List
-
-
- -

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

- - - - - - - - - - - - - - - - - - - - - - - -
Close() overrideshaka::media::UdpFilevirtual
Copy(const char *from_file_name, const char *to_file_name)shaka::media::Filestatic
CopyFile(File *source, File *destination)shaka::media::Filestatic
CopyFile(File *source, File *destination, int64_t max_copy)shaka::media::Filestatic
Delete(const char *file_name)shaka::media::Filestatic
File(const std::string &file_name) (defined in shaka::media::File)shaka::media::Fileinlineexplicitprotected
file_name() const shaka::media::Fileinline
Flush() overrideshaka::media::UdpFilevirtual
GetFileSize(const char *file_name)shaka::media::Filestatic
Open() overrideshaka::media::UdpFileprotectedvirtual
shaka::media::File::Open(const char *file_name, const char *mode)shaka::media::Filestatic
OpenWithNoBuffering(const char *file_name, const char *mode)shaka::media::Filestatic
Read(void *buffer, uint64_t length) overrideshaka::media::UdpFilevirtual
ReadFileToString(const char *file_name, std::string *contents)shaka::media::Filestatic
Seek(uint64_t position) overrideshaka::media::UdpFilevirtual
Size() overrideshaka::media::UdpFilevirtual
Tell(uint64_t *position) overrideshaka::media::UdpFilevirtual
UdpFile(const char *address_and_port)shaka::media::UdpFileexplicit
Write(const void *buffer, uint64_t length) overrideshaka::media::UdpFilevirtual
WriteFileAtomically(const char *file_name, const std::string &contents)shaka::media::Filestatic
~File()shaka::media::Fileinlineprotectedvirtual
~UdpFile() override (defined in shaka::media::UdpFile)shaka::media::UdpFileprotected
- - - - diff --git a/docs/d4/d70/classshaka_1_1DashIopMpdNotifier.html b/docs/d4/d70/classshaka_1_1DashIopMpdNotifier.html index 01dfde87c4..66b4d4e36a 100644 --- a/docs/d4/d70/classshaka_1_1DashIopMpdNotifier.html +++ b/docs/d4/d70/classshaka_1_1DashIopMpdNotifier.html @@ -475,7 +475,7 @@ class DashIopMpdNotifierTe diff --git a/docs/d4/d70/structshaka_1_1SegmentInfo-members.html b/docs/d4/d70/structshaka_1_1SegmentInfo-members.html index ea42ee02d8..cbe4d25a78 100644 --- a/docs/d4/d70/structshaka_1_1SegmentInfo-members.html +++ b/docs/d4/d70/structshaka_1_1SegmentInfo-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d83/cue_8cc_source.html b/docs/d4/d83/cue_8cc_source.html index ee10ae9efa..65a9ae67bd 100644 --- a/docs/d4/d83/cue_8cc_source.html +++ b/docs/d4/d83/cue_8cc_source.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d87/nalu__reader_8h_source.html b/docs/d4/d87/nalu__reader_8h_source.html index 84cbf17d52..2f92c52ce2 100644 --- a/docs/d4/d87/nalu__reader_8h_source.html +++ b/docs/d4/d87/nalu__reader_8h_source.html @@ -320,7 +320,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d87/text__sample_8cc_source.html b/docs/d4/d87/text__sample_8cc_source.html index fe360f324a..fe472708c7 100644 --- a/docs/d4/d87/text__sample_8cc_source.html +++ b/docs/d4/d87/text__sample_8cc_source.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d8a/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord.html b/docs/d4/d8a/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord.html index ec2e7da936..988c2dd777 100644 --- a/docs/d4/d8a/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord.html +++ b/docs/d4/d8a/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord.html @@ -171,7 +171,7 @@ void  diff --git a/docs/d4/d8d/structshaka_1_1media_1_1mp4_1_1EC3Specific.html b/docs/d4/d8d/structshaka_1_1media_1_1mp4_1_1EC3Specific.html index 71253ea501..0075f2d335 100644 --- a/docs/d4/d8d/structshaka_1_1media_1_1mp4_1_1EC3Specific.html +++ b/docs/d4/d8d/structshaka_1_1media_1_1mp4_1_1EC3Specific.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d4/d8e/classshaka_1_1media_1_1UdpOptions.html b/docs/d4/d8e/classshaka_1_1media_1_1UdpOptions.html deleted file mode 100644 index 2b2abdb36e..0000000000 --- a/docs/d4/d8e/classshaka_1_1media_1_1UdpOptions.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - -DASH Media Packaging SDK: shaka::media::UdpOptions Class Reference - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
- -
-
shaka::media::UdpOptions Class Reference
-
-
- -

Options parsed from UDP url string of the form: udp://ip:port[?options]. - More...

- -

#include <udp_options.h>

- - - - - - - - - - - - -

-Public Member Functions

-const std::string & address () const
 
-uint16_t port () const
 
-bool reuse () const
 
-const std::string & interface_address () const
 
-unsigned timeout_us () const
 
- - - -

-Static Public Member Functions

static std::unique_ptr
-< UdpOptions
ParseFromString (base::StringPiece udp_url)
 
-

Detailed Description

-

Options parsed from UDP url string of the form: udp://ip:port[?options].

- -

Definition at line 16 of file udp_options.h.

-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - - -
std::unique_ptr< UdpOptions > shaka::media::UdpOptions::ParseFromString (base::StringPiece udp_url)
-
-static
-
-

Parse from UDP url.

-
Parameters
- - -
udp_urlis the url of the form udp://ip:port[?options]
-
-
-
Returns
a UdpOptions object on success, nullptr otherwise.
- -

Definition at line 73 of file udp_options.cc.

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff --git a/docs/d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html b/docs/d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html index e257ef9f0f..bf95d19bac 100644 --- a/docs/d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html +++ b/docs/d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html @@ -402,7 +402,7 @@ void  diff --git a/docs/d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html b/docs/d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html index 263d74e703..280e969c44 100644 --- a/docs/d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html +++ b/docs/d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html @@ -458,7 +458,7 @@ Static Public Member Functions diff --git a/docs/d4/da7/segmenter__test__base_8cc_source.html b/docs/d4/da7/segmenter__test__base_8cc_source.html index 2c9f1fa801..cc324221dc 100644 --- a/docs/d4/da7/segmenter__test__base_8cc_source.html +++ b/docs/d4/da7/segmenter__test__base_8cc_source.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
6 
7 #include "packager/media/formats/webm/segmenter_test_base.h"
8 
-
9 #include "packager/media/file/memory_file.h"
+
9 #include "packager/file/memory_file.h"
10 #include "packager/media/formats/webm/webm_constants.h"
11 #include "packager/version/version.h"
12 
@@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
45 }
46 
47 void SegmentTestBase::TearDown() {
- +
48  MemoryFile::DeleteAll();
49 }
50 
51 std::shared_ptr<MediaSample> SegmentTestBase::CreateSample(
@@ -190,7 +190,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
101  const std::string& file_name) {
102  frame_timecodes_.clear();
103  std::string file_contents;
-
104  ASSERT_TRUE(File::ReadFileToString(file_name.c_str(), &file_contents));
+
104  ASSERT_TRUE(File::ReadFileToString(file_name.c_str(), &file_contents));
105 
106  const uint8_t* data = reinterpret_cast<const uint8_t*>(file_contents.c_str());
107  const size_t size = file_contents.size();
@@ -210,7 +210,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
121  const std::string& file_name) {
122  frame_timecodes_.clear();
123  std::string file_contents;
-
124  ASSERT_TRUE(File::ReadFileToString(file_name.c_str(), &file_contents));
+
124  ASSERT_TRUE(File::ReadFileToString(file_name.c_str(), &file_contents));
125 
126  const uint8_t* data = reinterpret_cast<const uint8_t*>(file_contents.c_str());
127  const size_t size = file_contents.size();
@@ -295,13 +295,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
206 
207 } // namespace media
208 } // namespace shaka
-
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
std::string OutputFileName() const
Gets the file name of the current output file.
VideoStreamInfo * CreateVideoStreamInfo(uint32_t time_scale) const
Creates a video stream info object for testing.
std::shared_ptr< MediaSample > CreateSample(KeyFrameFlag key_frame_flag, uint64_t duration, SideDataFlag side_data_flag)
Creates a new media sample.
-
static bool ReadFileToString(const char *file_name, std::string *contents)
Definition: file.cc:199
std::string temp_dir
Specify temporary directory for intermediate files.
Definition: muxer_options.h:48
MuxerOptions CreateMuxerOptions() const
Creates a Muxer options object for testing.
static std::shared_ptr< MediaSample > CopyFrom(const uint8_t *data, size_t size, bool is_key_frame)
Definition: media_sample.cc:45
@@ -309,7 +307,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dad/structshaka_1_1media_1_1mp4_1_1SampleEncryption.html b/docs/d4/dad/structshaka_1_1media_1_1mp4_1_1SampleEncryption.html index 116a13bffe..8c46517f78 100644 --- a/docs/d4/dad/structshaka_1_1media_1_1mp4_1_1SampleEncryption.html +++ b/docs/d4/dad/structshaka_1_1media_1_1mp4_1_1SampleEncryption.html @@ -250,7 +250,7 @@ Additional Inherited Members diff --git a/docs/d4/db1/structshaka_1_1media_1_1mp4_1_1CompactSampleSize-members.html b/docs/d4/db1/structshaka_1_1media_1_1mp4_1_1CompactSampleSize-members.html index 1a0e7d1bdc..7a28d5805c 100644 --- a/docs/d4/db1/structshaka_1_1media_1_1mp4_1_1CompactSampleSize-members.html +++ b/docs/d4/db1/structshaka_1_1media_1_1mp4_1_1CompactSampleSize-members.html @@ -114,7 +114,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 index 661fd58a3b..5a9107c3c4 100644 --- a/docs/d4/db2/cluster__builder_8h_source.html +++ b/docs/d4/db2/cluster__builder_8h_source.html @@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/db4/classshaka_1_1MpdNotifierFactory.html b/docs/d4/db4/classshaka_1_1MpdNotifierFactory.html index 8033054ab4..60560ccb15 100644 --- a/docs/d4/db4/classshaka_1_1MpdNotifierFactory.html +++ b/docs/d4/db4/classshaka_1_1MpdNotifierFactory.html @@ -113,7 +113,7 @@ virtual std::unique_ptr
diff --git a/docs/d4/db9/structshaka_1_1media_1_1mp4_1_1MediaHeader.html b/docs/d4/db9/structshaka_1_1media_1_1mp4_1_1MediaHeader.html index 129cb2aabf..f906453f6f 100644 --- a/docs/d4/db9/structshaka_1_1media_1_1mp4_1_1MediaHeader.html +++ b/docs/d4/db9/structshaka_1_1media_1_1mp4_1_1MediaHeader.html @@ -194,7 +194,7 @@ Additional Inherited Members diff --git a/docs/d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html b/docs/d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html index 79693b6299..48e918054e 100644 --- a/docs/d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html +++ b/docs/d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html @@ -140,7 +140,7 @@ static const uint8_t kElem diff --git a/docs/d4/dd3/bit__reader_8h_source.html b/docs/d4/dd3/bit__reader_8h_source.html index f51be582f8..4619591426 100644 --- a/docs/d4/dd3/bit__reader_8h_source.html +++ b/docs/d4/dd3/bit__reader_8h_source.html @@ -186,7 +186,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dd4/structshaka_1_1media_1_1mp4_1_1FullBox-members.html b/docs/d4/dd4/structshaka_1_1media_1_1mp4_1_1FullBox-members.html index 1917aec6cf..970b13a13f 100644 --- a/docs/d4/dd4/structshaka_1_1media_1_1mp4_1_1FullBox-members.html +++ b/docs/d4/dd4/structshaka_1_1media_1_1mp4_1_1FullBox-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/ddb/classshaka_1_1media_1_1MemoryFile-members.html b/docs/d4/ddb/classshaka_1_1media_1_1MemoryFile-members.html deleted file mode 100644 index 4dcda7cee4..0000000000 --- a/docs/d4/ddb/classshaka_1_1media_1_1MemoryFile-members.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -DASH Media Packaging SDK: Member List - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
shaka::media::MemoryFile Member List
-
-
- -

This is the complete list of members for shaka::media::MemoryFile, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - -
Close() overrideshaka::media::MemoryFilevirtual
Copy(const char *from_file_name, const char *to_file_name)shaka::media::Filestatic
CopyFile(File *source, File *destination)shaka::media::Filestatic
CopyFile(File *source, File *destination, int64_t max_copy)shaka::media::Filestatic
Delete(const std::string &file_name)shaka::media::MemoryFilestatic
shaka::media::File::Delete(const char *file_name)shaka::media::Filestatic
DeleteAll()shaka::media::MemoryFilestatic
File(const std::string &file_name) (defined in shaka::media::File)shaka::media::Fileinlineexplicitprotected
file_name() const shaka::media::Fileinline
Flush() overrideshaka::media::MemoryFilevirtual
GetFileSize(const char *file_name)shaka::media::Filestatic
MemoryFile(const std::string &file_name, const std::string &mode) (defined in shaka::media::MemoryFile)shaka::media::MemoryFile
Open() overrideshaka::media::MemoryFileprotectedvirtual
shaka::media::File::Open(const char *file_name, const char *mode)shaka::media::Filestatic
OpenWithNoBuffering(const char *file_name, const char *mode)shaka::media::Filestatic
Read(void *buffer, uint64_t length) overrideshaka::media::MemoryFilevirtual
ReadFileToString(const char *file_name, std::string *contents)shaka::media::Filestatic
Seek(uint64_t position) overrideshaka::media::MemoryFilevirtual
Size() overrideshaka::media::MemoryFilevirtual
Tell(uint64_t *position) overrideshaka::media::MemoryFilevirtual
Write(const void *buffer, uint64_t length) overrideshaka::media::MemoryFilevirtual
WriteFileAtomically(const char *file_name, const std::string &contents)shaka::media::Filestatic
~File()shaka::media::Fileinlineprotectedvirtual
~MemoryFile() override (defined in shaka::media::MemoryFile)shaka::media::MemoryFileprotected
- - - - diff --git a/docs/d4/dde/webvtt__util_8h_source.html b/docs/d4/dde/webvtt__util_8h_source.html index 8a77293a90..6536988e03 100644 --- a/docs/d4/dde/webvtt__util_8h_source.html +++ b/docs/d4/dde/webvtt__util_8h_source.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/de3/structshaka_1_1media_1_1mp4_1_1DataReference.html b/docs/d4/de3/structshaka_1_1media_1_1mp4_1_1DataReference.html index 68045c6902..871e337786 100644 --- a/docs/d4/de3/structshaka_1_1media_1_1mp4_1_1DataReference.html +++ b/docs/d4/de3/structshaka_1_1media_1_1mp4_1_1DataReference.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d4/de6/classshaka_1_1media_1_1ProgressListener.html b/docs/d4/de6/classshaka_1_1media_1_1ProgressListener.html index 8d0c951d75..f3d36beb60 100644 --- a/docs/d4/de6/classshaka_1_1media_1_1ProgressListener.html +++ b/docs/d4/de6/classshaka_1_1media_1_1ProgressListener.html @@ -146,7 +146,7 @@ Public Member Functions diff --git a/docs/d4/de7/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html b/docs/d4/de7/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html index 476cf1dc88..1ffa390dea 100644 --- a/docs/d4/de7/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html +++ b/docs/d4/de7/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dec/hls__flags_8h_source.html b/docs/d4/dec/hls__flags_8h_source.html index be5d03e8ad..6f1c519c8e 100644 --- a/docs/d4/dec/hls__flags_8h_source.html +++ b/docs/d4/dec/hls__flags_8h_source.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/df5/request__signer_8cc_source.html b/docs/d4/df5/request__signer_8cc_source.html index 4af86d54f5..cba247805b 100644 --- a/docs/d4/df5/request__signer_8cc_source.html +++ b/docs/d4/df5/request__signer_8cc_source.html @@ -168,7 +168,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/df5/webvtt__sample__converter_8cc_source.html b/docs/d4/df5/webvtt__sample__converter_8cc_source.html index 4766c54764..22d8855759 100644 --- a/docs/d4/df5/webvtt__sample__converter_8cc_source.html +++ b/docs/d4/df5/webvtt__sample__converter_8cc_source.html @@ -416,7 +416,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/df9/structshaka_1_1media_1_1mp4_1_1SegmentIndex.html b/docs/d4/df9/structshaka_1_1media_1_1mp4_1_1SegmentIndex.html index 512b4afa0c..66d46f416e 100644 --- a/docs/d4/df9/structshaka_1_1media_1_1mp4_1_1SegmentIndex.html +++ b/docs/d4/df9/structshaka_1_1media_1_1mp4_1_1SegmentIndex.html @@ -194,7 +194,7 @@ Additional Inherited Members diff --git a/docs/d4/dfa/structshaka_1_1media_1_1mp4_1_1AC3Specific.html b/docs/d4/dfa/structshaka_1_1media_1_1mp4_1_1AC3Specific.html index 9a27acf10a..2415713c3b 100644 --- a/docs/d4/dfa/structshaka_1_1media_1_1mp4_1_1AC3Specific.html +++ b/docs/d4/dfa/structshaka_1_1media_1_1mp4_1_1AC3Specific.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d4/dfd/structshaka_1_1media_1_1H265Sps.html b/docs/d4/dfd/structshaka_1_1media_1_1H265Sps.html index b2280e01b4..e82497d7bd 100644 --- a/docs/d4/dfd/structshaka_1_1media_1_1H265Sps.html +++ b/docs/d4/dfd/structshaka_1_1media_1_1H265Sps.html @@ -256,7 +256,7 @@ bool vui_parameters_presen diff --git a/docs/d4/dff/webm__media__parser_8cc_source.html b/docs/d4/dff/webm__media__parser_8cc_source.html index d5faf20e20..28d6f11b7d 100644 --- a/docs/d4/dff/webm__media__parser_8cc_source.html +++ b/docs/d4/dff/webm__media__parser_8cc_source.html @@ -367,7 +367,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d03/structshaka_1_1media_1_1mp4_1_1FileType.html b/docs/d5/d03/structshaka_1_1media_1_1mp4_1_1FileType.html index 4d702e05eb..3732836dfb 100644 --- a/docs/d5/d03/structshaka_1_1media_1_1mp4_1_1FileType.html +++ b/docs/d5/d03/structshaka_1_1media_1_1mp4_1_1FileType.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d5/d05/structshaka_1_1media_1_1mp4_1_1OriginalFormat.html b/docs/d5/d05/structshaka_1_1media_1_1mp4_1_1OriginalFormat.html index 92447079ba..918c98d7a2 100644 --- a/docs/d5/d05/structshaka_1_1media_1_1mp4_1_1OriginalFormat.html +++ b/docs/d5/d05/structshaka_1_1media_1_1mp4_1_1OriginalFormat.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d5/d09/structshaka_1_1media_1_1mp4_1_1CueIDBox.html b/docs/d5/d09/structshaka_1_1media_1_1mp4_1_1CueIDBox.html index 1dc090d6c6..c45c65df64 100644 --- a/docs/d5/d09/structshaka_1_1media_1_1mp4_1_1CueIDBox.html +++ b/docs/d5/d09/structshaka_1_1media_1_1mp4_1_1CueIDBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d5/d11/classshaka_1_1media_1_1WebMInfoParser-members.html b/docs/d5/d11/classshaka_1_1media_1_1WebMInfoParser-members.html index 1450f01a1e..34917c38d5 100644 --- a/docs/d5/d11/classshaka_1_1media_1_1WebMInfoParser-members.html +++ b/docs/d5/d11/classshaka_1_1media_1_1WebMInfoParser-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d11/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html b/docs/d5/d11/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html index d95c447f6a..d027b7d0c7 100644 --- a/docs/d5/d11/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html +++ b/docs/d5/d11/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/d5/d13/classshaka_1_1media_1_1ESDescriptor.html b/docs/d5/d13/classshaka_1_1media_1_1ESDescriptor.html index 4e6ebc66e6..6ce9c4accb 100644 --- a/docs/d5/d13/classshaka_1_1media_1_1ESDescriptor.html +++ b/docs/d5/d13/classshaka_1_1media_1_1ESDescriptor.html @@ -181,7 +181,7 @@ bool IsDTS () const diff --git a/docs/d5/d15/producer__consumer__queue_8h_source.html b/docs/d5/d15/producer__consumer__queue_8h_source.html index 0b59b13479..66ada06bb6 100644 --- a/docs/d5/d15/producer__consumer__queue_8h_source.html +++ b/docs/d5/d15/producer__consumer__queue_8h_source.html @@ -373,7 +373,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 7a5d2c1fe3..3fdeb2066f 100644 --- a/docs/d5/d1a/ts__section_8h_source.html +++ b/docs/d5/d1a/ts__section_8h_source.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d26/classshaka_1_1media_1_1mp4_1_1TrackRunIterator-members.html b/docs/d5/d26/classshaka_1_1media_1_1mp4_1_1TrackRunIterator-members.html index f5b84e4924..f787a28888 100644 --- a/docs/d5/d26/classshaka_1_1media_1_1mp4_1_1TrackRunIterator-members.html +++ b/docs/d5/d26/classshaka_1_1media_1_1mp4_1_1TrackRunIterator-members.html @@ -122,7 +122,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 f5aa5d1b0c..494a39ed65 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/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html b/docs/d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html index 6454121d36..2a8881148e 100644 --- a/docs/d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html +++ b/docs/d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html @@ -501,7 +501,7 @@ template<class T > diff --git a/docs/d5/d3b/structshaka_1_1media_1_1mp4_1_1Media-members.html b/docs/d5/d3b/structshaka_1_1media_1_1mp4_1_1Media-members.html index 0bff59700c..0edd1c5651 100644 --- a/docs/d5/d3b/structshaka_1_1media_1_1mp4_1_1Media-members.html +++ b/docs/d5/d3b/structshaka_1_1media_1_1mp4_1_1Media-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d40/webm_2single__segment__segmenter_8h_source.html b/docs/d5/d40/webm_2single__segment__segmenter_8h_source.html index 692f5e6edb..dc8e4e2cba 100644 --- a/docs/d5/d40/webm_2single__segment__segmenter_8h_source.html +++ b/docs/d5/d40/webm_2single__segment__segmenter_8h_source.html @@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d4b/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi-members.html b/docs/d5/d4b/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi-members.html index e23050460b..92577af4f1 100644 --- a/docs/d5/d4b/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi-members.html +++ b/docs/d5/d4b/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi-members.html @@ -110,7 +110,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 fbb47ade53..0d1f0f61ff 100644 --- a/docs/d5/d4d/box_8cc_source.html +++ b/docs/d5/d4d/box_8cc_source.html @@ -189,13 +189,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual bool ReadWriteHeaderInternal(BoxBuffer *buffer)
Definition: box.cc:61
- +
virtual uint32_t HeaderSize() const
Definition: box.cc:55
Class for reading MP4 boxes.
Definition: box_reader.h:25
diff --git a/docs/d5/d52/ts__section__pes_8h_source.html b/docs/d5/d52/ts__section__pes_8h_source.html index b987d4a258..a40b5c7212 100644 --- a/docs/d5/d52/ts__section__pes_8h_source.html +++ b/docs/d5/d52/ts__section__pes_8h_source.html @@ -160,7 +160,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d53/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html b/docs/d5/d53/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html index da43c5aa36..b5ef8d6458 100644 --- a/docs/d5/d53/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html +++ b/docs/d5/d53/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d57/classshaka_1_1RepresentationStateChangeListener-members.html b/docs/d5/d57/classshaka_1_1RepresentationStateChangeListener-members.html index 0c916be714..594f1d5d87 100644 --- a/docs/d5/d57/classshaka_1_1RepresentationStateChangeListener-members.html +++ b/docs/d5/d57/classshaka_1_1RepresentationStateChangeListener-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d59/classshaka_1_1MockRepresentation-members.html b/docs/d5/d59/classshaka_1_1MockRepresentation-members.html index 21847ad11e..b7ba331f40 100644 --- a/docs/d5/d59/classshaka_1_1MockRepresentation-members.html +++ b/docs/d5/d59/classshaka_1_1MockRepresentation-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d5a/webvtt__timestamp_8cc_source.html b/docs/d5/d5a/webvtt__timestamp_8cc_source.html index 96f5e0d48b..0d744c54a8 100644 --- a/docs/d5/d5a/webvtt__timestamp_8cc_source.html +++ b/docs/d5/d5a/webvtt__timestamp_8cc_source.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d5c/continuity__counter_8cc_source.html b/docs/d5/d5c/continuity__counter_8cc_source.html index 94c45e3152..a300ea0f87 100644 --- a/docs/d5/d5c/continuity__counter_8cc_source.html +++ b/docs/d5/d5c/continuity__counter_8cc_source.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d63/classshaka_1_1media_1_1mp2t_1_1EsParserH265.html b/docs/d5/d63/classshaka_1_1media_1_1mp2t_1_1EsParserH265.html index b9a2fd3961..4f56d74a6c 100644 --- a/docs/d5/d63/classshaka_1_1media_1_1mp2t_1_1EsParserH265.html +++ b/docs/d5/d63/classshaka_1_1media_1_1mp2t_1_1EsParserH265.html @@ -161,7 +161,7 @@ const
diff --git a/docs/d5/d63/network__util_8cc_source.html b/docs/d5/d63/network__util_8cc_source.html index 542a6d3e4a..d92e373593 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/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html b/docs/d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html index 9ed2139d5c..10a692058b 100644 --- a/docs/d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html +++ b/docs/d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html @@ -298,7 +298,7 @@ class NalUnitToByteStreamC diff --git a/docs/d5/d6f/vlog__flags_8cc_source.html b/docs/d5/d6f/vlog__flags_8cc_source.html index b39cfff977..190678d05c 100644 --- a/docs/d5/d6f/vlog__flags_8cc_source.html +++ b/docs/d5/d6f/vlog__flags_8cc_source.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d72/avc__decoder__configuration__record_8cc_source.html b/docs/d5/d72/avc__decoder__configuration__record_8cc_source.html index 62d3c6b366..258c8ab7db 100644 --- a/docs/d5/d72/avc__decoder__configuration__record_8cc_source.html +++ b/docs/d5/d72/avc__decoder__configuration__record_8cc_source.html @@ -205,7 +205,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d7b/box__definitions_8h_source.html b/docs/d5/d7b/box__definitions_8h_source.html index 34146dc21b..b0a36356af 100644 --- a/docs/d5/d7b/box__definitions_8h_source.html +++ b/docs/d5/d7b/box__definitions_8h_source.html @@ -1000,7 +1000,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d86/structshaka_1_1media_1_1mp4_1_1MediaInformation.html b/docs/d5/d86/structshaka_1_1media_1_1mp4_1_1MediaInformation.html index 17cc8b8169..760b3215ab 100644 --- a/docs/d5/d86/structshaka_1_1media_1_1mp4_1_1MediaInformation.html +++ b/docs/d5/d86/structshaka_1_1media_1_1mp4_1_1MediaInformation.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/d5/d89/widevine__key__source_8cc_source.html b/docs/d5/d89/widevine__key__source_8cc_source.html index a1dd5832cb..212bd5efed 100644 --- a/docs/d5/d89/widevine__key__source_8cc_source.html +++ b/docs/d5/d89/widevine__key__source_8cc_source.html @@ -723,7 +723,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d8c/structshaka_1_1media_1_1mp4_1_1CompositionOffset.html b/docs/d5/d8c/structshaka_1_1media_1_1mp4_1_1CompositionOffset.html index 169fcc1e47..59f577882d 100644 --- a/docs/d5/d8c/structshaka_1_1media_1_1mp4_1_1CompositionOffset.html +++ b/docs/d5/d8c/structshaka_1_1media_1_1mp4_1_1CompositionOffset.html @@ -112,7 +112,7 @@ int64_t sample_offset< diff --git a/docs/d5/d8f/webm__cluster__parser_8cc_source.html b/docs/d5/d8f/webm__cluster__parser_8cc_source.html index e7578337d7..9ada3f0ee4 100644 --- a/docs/d5/d8f/webm__cluster__parser_8cc_source.html +++ b/docs/d5/d8f/webm__cluster__parser_8cc_source.html @@ -730,7 +730,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d91/es__parser__adts_8cc_source.html b/docs/d5/d91/es__parser__adts_8cc_source.html index 49ccb65644..3d4cd13e4c 100644 --- a/docs/d5/d91/es__parser__adts_8cc_source.html +++ b/docs/d5/d91/es__parser__adts_8cc_source.html @@ -364,7 +364,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d95/structshaka_1_1media_1_1mp4_1_1EditListEntry-members.html b/docs/d5/d95/structshaka_1_1media_1_1mp4_1_1EditListEntry-members.html index 31bf9ecf92..b9fabdad18 100644 --- a/docs/d5/d95/structshaka_1_1media_1_1mp4_1_1EditListEntry-members.html +++ b/docs/d5/d95/structshaka_1_1media_1_1mp4_1_1EditListEntry-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d98/encryptor_8cc_source.html b/docs/d5/d98/encryptor_8cc_source.html index 658d697a2b..05a3cd6ea6 100644 --- a/docs/d5/d98/encryptor_8cc_source.html +++ b/docs/d5/d98/encryptor_8cc_source.html @@ -206,7 +206,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d9b/vp__codec__configuration__record_8h_source.html b/docs/d5/d9b/vp__codec__configuration__record_8h_source.html index 8114f82967..7b94a39e07 100644 --- a/docs/d5/d9b/vp__codec__configuration__record_8h_source.html +++ b/docs/d5/d9b/vp__codec__configuration__record_8h_source.html @@ -317,7 +317,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d9d/structshaka_1_1media_1_1H265ReferencePictureListModifications.html b/docs/d5/d9d/structshaka_1_1media_1_1H265ReferencePictureListModifications.html index 85d07a56c9..017c250733 100644 --- a/docs/d5/d9d/structshaka_1_1media_1_1H265ReferencePictureListModifications.html +++ b/docs/d5/d9d/structshaka_1_1media_1_1H265ReferencePictureListModifications.html @@ -119,7 +119,7 @@ std::vector< int > l diff --git a/docs/d5/da4/aes__encryptor_8cc_source.html b/docs/d5/da4/aes__encryptor_8cc_source.html index 44c2040a64..ea8948d2f5 100644 --- a/docs/d5/da4/aes__encryptor_8cc_source.html +++ b/docs/d5/da4/aes__encryptor_8cc_source.html @@ -297,7 +297,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dad/structshaka_1_1media_1_1H265ReferencePictureSet.html b/docs/d5/dad/structshaka_1_1media_1_1H265ReferencePictureSet.html index 470dc122c5..d67275c3ae 100644 --- a/docs/d5/dad/structshaka_1_1media_1_1H265ReferencePictureSet.html +++ b/docs/d5/dad/structshaka_1_1media_1_1H265ReferencePictureSet.html @@ -127,7 +127,7 @@ int num_delta_pocs diff --git a/docs/d5/db1/classshaka_1_1media_1_1StreamInfo.html b/docs/d5/db1/classshaka_1_1media_1_1StreamInfo.html index f361b1a6df..418823bab2 100644 --- a/docs/d5/db1/classshaka_1_1media_1_1StreamInfo.html +++ b/docs/d5/db1/classshaka_1_1media_1_1StreamInfo.html @@ -243,7 +243,7 @@ void set_encryption_config diff --git a/docs/d5/db9/classshaka_1_1media_1_1mp2t_1_1EsParserH264.html b/docs/d5/db9/classshaka_1_1media_1_1mp2t_1_1EsParserH264.html index 6e1dee3db8..5d35c0938b 100644 --- a/docs/d5/db9/classshaka_1_1media_1_1mp2t_1_1EsParserH264.html +++ b/docs/d5/db9/classshaka_1_1media_1_1mp2t_1_1EsParserH264.html @@ -161,7 +161,7 @@ const
diff --git a/docs/d5/dba/ts__packet_8cc_source.html b/docs/d5/dba/ts__packet_8cc_source.html index 0eadccd879..335258fa42 100644 --- a/docs/d5/dba/ts__packet_8cc_source.html +++ b/docs/d5/dba/ts__packet_8cc_source.html @@ -307,7 +307,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 index 0343cae32f..40c80460d8 100644 --- a/docs/d5/dc1/webm__webvtt__parser_8cc_source.html +++ b/docs/d5/dc1/webm__webvtt__parser_8cc_source.html @@ -171,7 +171,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dc8/structshaka_1_1media_1_1mp4_1_1TrackFragment-members.html b/docs/d5/dc8/structshaka_1_1media_1_1mp4_1_1TrackFragment-members.html index 10f33c5a77..dec0995ef4 100644 --- a/docs/d5/dc8/structshaka_1_1media_1_1mp4_1_1TrackFragment-members.html +++ b/docs/d5/dc8/structshaka_1_1media_1_1mp4_1_1TrackFragment-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dca/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html b/docs/d5/dca/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html index 3c97833cea..532e5061c0 100644 --- a/docs/d5/dca/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html +++ b/docs/d5/dca/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d5/dcf/rsa__key_8h_source.html b/docs/d5/dcf/rsa__key_8h_source.html index 7e53a581ae..c4f4ef2906 100644 --- a/docs/d5/dcf/rsa__key_8h_source.html +++ b/docs/d5/dcf/rsa__key_8h_source.html @@ -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 91e6a648a0..ab61644e9a 100644 --- a/docs/d5/dda/ts__section__psi_8h_source.html +++ b/docs/d5/dda/ts__section__psi_8h_source.html @@ -151,7 +151,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/de0/bit__reader_8cc_source.html b/docs/d5/de0/bit__reader_8cc_source.html index 648584a119..b6e0cf772c 100644 --- a/docs/d5/de0/bit__reader_8cc_source.html +++ b/docs/d5/de0/bit__reader_8cc_source.html @@ -197,7 +197,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html b/docs/d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html index cc88bcd172..5f9d948f9a 100644 --- a/docs/d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html +++ b/docs/d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html @@ -271,7 +271,7 @@ class PesPacketGeneratorTe diff --git a/docs/d5/dec/classshaka_1_1media_1_1WebMParserClient.html b/docs/d5/dec/classshaka_1_1media_1_1WebMParserClient.html index 3d63429a0f..c44c884d6a 100644 --- a/docs/d5/dec/classshaka_1_1media_1_1WebMParserClient.html +++ b/docs/d5/dec/classshaka_1_1media_1_1WebMParserClient.html @@ -151,7 +151,7 @@ Protected Member Functions diff --git a/docs/d5/dec/decoder__configuration__record_8cc_source.html b/docs/d5/dec/decoder__configuration__record_8cc_source.html index bb1653000b..cbac68cca7 100644 --- a/docs/d5/dec/decoder__configuration__record_8cc_source.html +++ b/docs/d5/dec/decoder__configuration__record_8cc_source.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dec/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox-members.html b/docs/d5/dec/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox-members.html index bd0697bb95..3906a993ae 100644 --- a/docs/d5/dec/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox-members.html +++ b/docs/d5/dec/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/def/ts__section__pmt_8h_source.html b/docs/d5/def/ts__section__pmt_8h_source.html index a03d8da10e..6225921666 100644 --- a/docs/d5/def/ts__section__pmt_8h_source.html +++ b/docs/d5/def/ts__section__pmt_8h_source.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dfa/classshaka_1_1media_1_1HlsNotifyMuxerListener.html b/docs/d5/dfa/classshaka_1_1media_1_1HlsNotifyMuxerListener.html index 7f41739542..0e0a9792d9 100644 --- a/docs/d5/dfa/classshaka_1_1media_1_1HlsNotifyMuxerListener.html +++ b/docs/d5/dfa/classshaka_1_1media_1_1HlsNotifyMuxerListener.html @@ -500,7 +500,7 @@ Additional Inherited Members diff --git a/docs/d5/dfa/classshaka_1_1media_1_1MediaParser-members.html b/docs/d5/dfa/classshaka_1_1media_1_1MediaParser-members.html index 09c8ba7ccd..70e0876ae0 100644 --- a/docs/d5/dfa/classshaka_1_1media_1_1MediaParser-members.html +++ b/docs/d5/dfa/classshaka_1_1media_1_1MediaParser-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 deleted file mode 100644 index 5c7909de28..0000000000 --- a/docs/d5/dfc/file_8cc_source.html +++ /dev/null @@ -1,436 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/file.cc Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
file.cc
-
-
-
1 // Copyright 2014 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #include "packager/media/file/file.h"
-
8 
-
9 #include <gflags/gflags.h>
-
10 #include <algorithm>
-
11 #include <memory>
-
12 #include "packager/base/files/important_file_writer.h"
-
13 #include "packager/base/logging.h"
-
14 #include "packager/base/strings/string_piece.h"
-
15 #include "packager/media/file/local_file.h"
-
16 #include "packager/media/file/memory_file.h"
-
17 #include "packager/media/file/threaded_io_file.h"
-
18 #include "packager/media/file/udp_file.h"
-
19 
-
20 DEFINE_uint64(io_cache_size,
-
21  32ULL << 20,
-
22  "Size of the threaded I/O cache, in bytes. Specify 0 to disable "
-
23  "threaded I/O.");
-
24 DEFINE_uint64(io_block_size,
-
25  2ULL << 20,
-
26  "Size of the block size used for threaded I/O, in bytes.");
-
27 
-
28 // Needed for Windows weirdness which somewhere defines CopyFile as CopyFileW.
-
29 #ifdef CopyFile
-
30 #undef CopyFile
-
31 #endif // CopyFile
-
32 
-
33 namespace shaka {
-
34 namespace media {
-
35 
-
36 const char* kLocalFilePrefix = "file://";
-
37 const char* kUdpFilePrefix = "udp://";
-
38 const char* kMemoryFilePrefix = "memory://";
-
39 
-
40 namespace {
-
41 
-
42 typedef File* (*FileFactoryFunction)(const char* file_name, const char* mode);
-
43 typedef bool (*FileDeleteFunction)(const char* file_name);
-
44 typedef bool (*FileAtomicWriteFunction)(const char* file_name,
-
45  const std::string& contents);
-
46 
-
47 struct FileTypeInfo {
-
48  const char* type;
-
49  size_t type_length;
-
50  const FileFactoryFunction factory_function;
-
51  const FileDeleteFunction delete_function;
-
52  const FileAtomicWriteFunction atomic_write_function;
-
53 };
-
54 
-
55 File* CreateLocalFile(const char* file_name, const char* mode) {
-
56  return new LocalFile(file_name, mode);
-
57 }
-
58 
-
59 bool DeleteLocalFile(const char* file_name) {
-
60  return LocalFile::Delete(file_name);
-
61 }
-
62 
-
63 bool WriteLocalFileAtomically(const char* file_name,
-
64  const std::string& contents) {
-
65  return base::ImportantFileWriter::WriteFileAtomically(
-
66  base::FilePath::FromUTF8Unsafe(file_name), contents);
-
67 }
-
68 
-
69 File* CreateUdpFile(const char* file_name, const char* mode) {
-
70  if (strcmp(mode, "r")) {
-
71  NOTIMPLEMENTED() << "UdpFile only supports read (receive) mode.";
-
72  return NULL;
-
73  }
-
74  return new UdpFile(file_name);
-
75 }
-
76 
-
77 File* CreateMemoryFile(const char* file_name, const char* mode) {
-
78  return new MemoryFile(file_name, mode);
-
79 }
-
80 
-
81 bool DeleteMemoryFile(const char* file_name) {
-
82  MemoryFile::Delete(file_name);
-
83  return true;
-
84 }
-
85 
-
86 static const FileTypeInfo kFileTypeInfo[] = {
-
87  {
-
88  kLocalFilePrefix,
-
89  strlen(kLocalFilePrefix),
-
90  &CreateLocalFile,
-
91  &DeleteLocalFile,
-
92  &WriteLocalFileAtomically,
-
93  },
-
94  {
-
95  kUdpFilePrefix,
-
96  strlen(kUdpFilePrefix),
-
97  &CreateUdpFile,
-
98  nullptr,
-
99  nullptr
-
100  },
-
101  {
-
102  kMemoryFilePrefix,
-
103  strlen(kMemoryFilePrefix),
-
104  &CreateMemoryFile,
-
105  &DeleteMemoryFile,
-
106  nullptr
-
107  },
-
108 };
-
109 
-
110 const FileTypeInfo* GetFileTypeInfo(base::StringPiece file_name,
-
111  base::StringPiece* real_file_name) {
-
112  for (const FileTypeInfo& file_type : kFileTypeInfo) {
-
113  if (strncmp(file_type.type, file_name.data(), file_type.type_length) == 0) {
-
114  *real_file_name = file_name.substr(file_type.type_length);
-
115  return &file_type;
-
116  }
-
117  }
-
118  // Otherwise we default to the first file type, which is LocalFile.
-
119  *real_file_name = file_name;
-
120  return &kFileTypeInfo[0];
-
121 }
-
122 
-
123 } // namespace
-
124 
-
125 File* File::Create(const char* file_name, const char* mode) {
-
126  std::unique_ptr<File, FileCloser> internal_file(
-
127  CreateInternalFile(file_name, mode));
-
128 
-
129  if (!strncmp(file_name, kMemoryFilePrefix, strlen(kMemoryFilePrefix))) {
-
130  // Disable caching for memory files.
-
131  return internal_file.release();
-
132  }
-
133 
-
134  if (FLAGS_io_cache_size) {
-
135  // Enable threaded I/O for "r", "w", and "a" modes only.
-
136  if (!strcmp(mode, "r")) {
-
137  return new ThreadedIoFile(std::move(internal_file),
-
138  ThreadedIoFile::kInputMode, FLAGS_io_cache_size,
-
139  FLAGS_io_block_size);
-
140  } else if (!strcmp(mode, "w") || !strcmp(mode, "a")) {
-
141  return new ThreadedIoFile(std::move(internal_file),
-
142  ThreadedIoFile::kOutputMode,
-
143  FLAGS_io_cache_size, FLAGS_io_block_size);
-
144  }
-
145  }
-
146 
-
147  // Threaded I/O is disabled.
-
148  DLOG(WARNING) << "Threaded I/O is disabled. Performance may be decreased.";
-
149  return internal_file.release();
-
150 }
-
151 
-
152 File* File::CreateInternalFile(const char* file_name, const char* mode) {
-
153  base::StringPiece real_file_name;
-
154  const FileTypeInfo* file_type = GetFileTypeInfo(file_name, &real_file_name);
-
155  DCHECK(file_type);
-
156  return file_type->factory_function(real_file_name.data(), mode);
-
157 }
-
158 
-
159 File* File::Open(const char* file_name, const char* mode) {
-
160  File* file = File::Create(file_name, mode);
-
161  if (!file)
-
162  return NULL;
-
163  if (!file->Open()) {
-
164  delete file;
-
165  return NULL;
-
166  }
-
167  return file;
-
168 }
-
169 
-
170 File* File::OpenWithNoBuffering(const char* file_name, const char* mode) {
-
171  File* file = File::CreateInternalFile(file_name, mode);
-
172  if (!file)
-
173  return NULL;
-
174  if (!file->Open()) {
-
175  delete file;
-
176  return NULL;
-
177  }
-
178  return file;
-
179 }
-
180 
-
181 bool File::Delete(const char* file_name) {
-
182  base::StringPiece real_file_name;
-
183  const FileTypeInfo* file_type = GetFileTypeInfo(file_name, &real_file_name);
-
184  DCHECK(file_type);
-
185  return file_type->delete_function
-
186  ? file_type->delete_function(real_file_name.data())
-
187  : false;
-
188 }
-
189 
-
190 int64_t File::GetFileSize(const char* file_name) {
-
191  File* file = File::Open(file_name, "r");
-
192  if (!file)
-
193  return -1;
-
194  int64_t res = file->Size();
-
195  file->Close();
-
196  return res;
-
197 }
-
198 
-
199 bool File::ReadFileToString(const char* file_name, std::string* contents) {
-
200  DCHECK(contents);
-
201 
-
202  File* file = File::Open(file_name, "r");
-
203  if (!file)
-
204  return false;
-
205 
-
206  const size_t kBufferSize = 0x40000; // 256KB.
-
207  std::unique_ptr<char[]> buf(new char[kBufferSize]);
-
208 
-
209  int64_t len;
-
210  while ((len = file->Read(buf.get(), kBufferSize)) > 0)
-
211  contents->append(buf.get(), len);
-
212 
-
213  file->Close();
-
214  return len == 0;
-
215 }
-
216 
-
217 bool File::WriteFileAtomically(const char* file_name, const std::string& contents) {
-
218  base::StringPiece real_file_name;
-
219  const FileTypeInfo* file_type = GetFileTypeInfo(file_name, &real_file_name);
-
220  DCHECK(file_type);
-
221  if (file_type->atomic_write_function)
-
222  return file_type->atomic_write_function(real_file_name.data(), contents);
-
223 
-
224  // Provide a default implementation which may not be atomic unfortunately.
-
225 
-
226  // Skip the warning message for memory files, which is meant for testing
-
227  // anyway..
-
228  if (strncmp(file_name, kMemoryFilePrefix, strlen(kMemoryFilePrefix)) != 0) {
-
229  LOG(WARNING) << "Writing to " << file_name
-
230  << " is not guaranteed to be atomic.";
-
231  }
-
232 
-
233  std::unique_ptr<File, FileCloser> file(media::File::Open(file_name, "w"));
-
234  if (!file) {
-
235  LOG(ERROR) << "Failed to open file " << file_name;
-
236  return false;
-
237  }
-
238  int64_t bytes_written = file->Write(contents.data(), contents.size());
-
239  if (bytes_written < 0) {
-
240  LOG(ERROR) << "Failed to write to file '" << file_name << "' ("
-
241  << bytes_written << ").";
-
242  return false;
-
243  }
-
244  if (static_cast<size_t>(bytes_written) != contents.size()) {
-
245  LOG(ERROR) << "Failed to write the whole file to " << file_name
-
246  << ". Wrote " << bytes_written << " but expecting "
-
247  << contents.size() << " bytes.";
-
248  return false;
-
249  }
-
250  return true;
-
251 }
-
252 
-
253 bool File::Copy(const char* from_file_name, const char* to_file_name) {
-
254  std::string content;
-
255  if (!ReadFileToString(from_file_name, &content)) {
-
256  LOG(ERROR) << "Failed to open file " << from_file_name;
-
257  return false;
-
258  }
-
259 
-
260  std::unique_ptr<File, FileCloser> output_file(File::Open(to_file_name, "w"));
-
261  if (!output_file) {
-
262  LOG(ERROR) << "Failed to write to " << to_file_name;
-
263  return false;
-
264  }
-
265 
-
266  uint64_t bytes_left = content.size();
-
267  uint64_t total_bytes_written = 0;
-
268  const char* content_cstr = content.c_str();
-
269  while (bytes_left > total_bytes_written) {
-
270  const int64_t bytes_written =
-
271  output_file->Write(content_cstr + total_bytes_written, bytes_left);
-
272  if (bytes_written < 0) {
-
273  LOG(ERROR) << "Failure while writing to " << to_file_name;
-
274  return false;
-
275  }
-
276 
-
277  total_bytes_written += bytes_written;
-
278  }
-
279  return true;
-
280 }
-
281 
-
282 int64_t File::CopyFile(File* source, File* destination) {
-
283  return CopyFile(source, destination, kWholeFile);
-
284 }
-
285 
-
286 int64_t File::CopyFile(File* source, File* destination, int64_t max_copy) {
-
287  DCHECK(source);
-
288  DCHECK(destination);
-
289  if (max_copy < 0)
-
290  max_copy = std::numeric_limits<int64_t>::max();
-
291 
-
292  const int64_t kBufferSize = 0x40000; // 256KB.
-
293  std::unique_ptr<uint8_t[]> buffer(new uint8_t[kBufferSize]);
-
294  int64_t bytes_copied = 0;
-
295  while (bytes_copied < max_copy) {
-
296  const int64_t size = std::min(kBufferSize, max_copy - bytes_copied);
-
297  const int64_t bytes_read = source->Read(buffer.get(), size);
-
298  if (bytes_read < 0)
-
299  return bytes_read;
-
300  if (bytes_read == 0)
-
301  break;
-
302 
-
303  int64_t total_bytes_written = 0;
-
304  while (total_bytes_written < bytes_read) {
-
305  const int64_t bytes_written = destination->Write(
-
306  buffer.get() + total_bytes_written, bytes_read - total_bytes_written);
-
307  if (bytes_written < 0)
-
308  return bytes_written;
-
309 
-
310  total_bytes_written += bytes_written;
-
311  }
-
312 
-
313  DCHECK_EQ(total_bytes_written, bytes_read);
-
314  bytes_copied += bytes_read;
-
315  }
-
316 
-
317  return bytes_copied;
-
318 }
-
319 
-
320 } // namespace media
-
321 } // namespace shaka
-
virtual bool Open()=0
Internal open. Should not be used directly.
-
static File * OpenWithNoBuffering(const char *file_name, const char *mode)
Definition: file.cc:170
-
static bool Copy(const char *from_file_name, const char *to_file_name)
Definition: file.cc:253
-
virtual int64_t Size()=0
-
virtual bool Close()=0
-
virtual int64_t Write(const void *buffer, uint64_t length)=0
-
Define an abstract file interface.
Definition: file.h:24
-
static File * Open(const char *file_name, const char *mode)
Definition: file.cc:159
-
static void Delete(const std::string &file_name)
Definition: memory_file.cc:135
-
virtual int64_t Read(void *buffer, uint64_t length)=0
-
static int64_t CopyFile(File *source, File *destination)
Definition: file.cc:282
-
static bool WriteFileAtomically(const char *file_name, const std::string &contents)
Definition: file.cc:217
-
const std::string & file_name() const
Definition: file.h:91
-
static int64_t GetFileSize(const char *file_name)
Definition: file.cc:190
-
static bool ReadFileToString(const char *file_name, std::string *contents)
Definition: file.cc:199
-
static bool Delete(const char *file_name)
Definition: local_file.cc:104
-
static bool Delete(const char *file_name)
Definition: file.cc:181
-
- - - - diff --git a/docs/d6/d02/playready__key__encryption__flags_8h_source.html b/docs/d6/d02/playready__key__encryption__flags_8h_source.html index 43db19b0ae..efba4691e2 100644 --- a/docs/d6/d02/playready__key__encryption__flags_8h_source.html +++ b/docs/d6/d02/playready__key__encryption__flags_8h_source.html @@ -123,7 +123,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d03/classshaka_1_1media_1_1AesCbcDecryptor-members.html b/docs/d6/d03/classshaka_1_1media_1_1AesCbcDecryptor-members.html index f17011c6d1..3e1faa6c9c 100644 --- a/docs/d6/d03/classshaka_1_1media_1_1AesCbcDecryptor-members.html +++ b/docs/d6/d03/classshaka_1_1media_1_1AesCbcDecryptor-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d09/aes__pattern__cryptor_8h_source.html b/docs/d6/d09/aes__pattern__cryptor_8h_source.html index 81445b4213..5f408437f4 100644 --- a/docs/d6/d09/aes__pattern__cryptor_8h_source.html +++ b/docs/d6/d09/aes__pattern__cryptor_8h_source.html @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d16/text__stream__info_8cc_source.html b/docs/d6/d16/text__stream__info_8cc_source.html index 3ea0b17e34..82979a6066 100644 --- a/docs/d6/d16/text__stream__info_8cc_source.html +++ b/docs/d6/d16/text__stream__info_8cc_source.html @@ -125,7 +125,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 845c6ad234..09b125ad0c 100644 --- a/docs/d6/d17/es__parser__h264_8cc_source.html +++ b/docs/d6/d17/es__parser__h264_8cc_source.html @@ -267,7 +267,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d1a/structshaka_1_1media_1_1mp4_1_1MovieHeader.html b/docs/d6/d1a/structshaka_1_1media_1_1mp4_1_1MovieHeader.html index 16166f0d9d..c5842e4ac2 100644 --- a/docs/d6/d1a/structshaka_1_1media_1_1mp4_1_1MovieHeader.html +++ b/docs/d6/d1a/structshaka_1_1media_1_1mp4_1_1MovieHeader.html @@ -200,7 +200,7 @@ Additional Inherited Members diff --git a/docs/d6/d1a/ts__packet__writer__util_8cc_source.html b/docs/d6/d1a/ts__packet__writer__util_8cc_source.html index ef4692502c..3ec39c3ad2 100644 --- a/docs/d6/d1a/ts__packet__writer__util_8cc_source.html +++ b/docs/d6/d1a/ts__packet__writer__util_8cc_source.html @@ -255,7 +255,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d26/structshaka_1_1media_1_1VideoStreamInfoParameters.html b/docs/d6/d26/structshaka_1_1media_1_1VideoStreamInfoParameters.html index 8cc68ddc2c..5420dcfafa 100644 --- a/docs/d6/d26/structshaka_1_1media_1_1VideoStreamInfoParameters.html +++ b/docs/d6/d26/structshaka_1_1media_1_1VideoStreamInfoParameters.html @@ -146,7 +146,7 @@ bool is_encrypted diff --git a/docs/d6/d2e/mpd__notifier__util_8cc_source.html b/docs/d6/d2e/mpd__notifier__util_8cc_source.html index 08d9c17d39..482098a205 100644 --- a/docs/d6/d2e/mpd__notifier__util_8cc_source.html +++ b/docs/d6/d2e/mpd__notifier__util_8cc_source.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 
9 #include "packager/base/strings/string_number_conversions.h"
10 #include "packager/base/strings/string_util.h"
-
11 #include "packager/media/file/file.h"
+
11 #include "packager/file/file.h"
12 #include "packager/mpd/base/mpd_utils.h"
13 
14 namespace shaka {
@@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
22  return false;
23  }
24 
-
25  if (!media::File::WriteFileAtomically(output_path.c_str(), mpd)) {
+
25  if (!File::WriteFileAtomically(output_path.c_str(), mpd)) {
26  LOG(ERROR) << "Failed to write mpd to: " << output_path;
27  return false;
28  }
@@ -143,16 +143,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
54 }
55 
56 } // namespace shaka
-
This class generates DASH MPDs (Media Presentation Descriptions).
Definition: mpd_builder.h:57
+
This class generates DASH MPDs (Media Presentation Descriptions).
Definition: mpd_builder.h:54
std::string Uint8VectorToBase64(const std::vector< uint8_t > &input)
Converts uint8 vector into base64 encoded string.
virtual bool ToString(std::string *output)
Definition: mpd_builder.cc:396
-
static bool WriteFileAtomically(const char *file_name, const std::string &contents)
Definition: file.cc:217
ContentType GetContentType(const MediaInfo &media_info)
bool WriteMpdToFile(const std::string &output_path, MpdBuilder *mpd_builder)
diff --git a/docs/d6/d32/classshaka_1_1media_1_1TextTrack-members.html b/docs/d6/d32/classshaka_1_1media_1_1TextTrack-members.html index 875642af4e..dc68f2f46a 100644 --- a/docs/d6/d32/classshaka_1_1media_1_1TextTrack-members.html +++ b/docs/d6/d32/classshaka_1_1media_1_1TextTrack-members.html @@ -98,7 +98,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 index 055ec67ae6..43410284ab 100644 --- a/docs/d6/d35/webm__content__encodings_8cc_source.html +++ b/docs/d6/d35/webm__content__encodings_8cc_source.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d3b/chunk__info__iterator_8cc_source.html b/docs/d6/d3b/chunk__info__iterator_8cc_source.html index c5fbc91523..4b2e42f8a3 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/d4c/classshaka_1_1media_1_1EncryptionHandler.html b/docs/d6/d4c/classshaka_1_1media_1_1EncryptionHandler.html index 3865442439..e7676154b7 100644 --- a/docs/d6/d4c/classshaka_1_1media_1_1EncryptionHandler.html +++ b/docs/d6/d4c/classshaka_1_1media_1_1EncryptionHandler.html @@ -264,7 +264,7 @@ class EncryptionHandlerTes diff --git a/docs/d6/d4e/webm_2multi__segment__segmenter_8cc_source.html b/docs/d6/d4e/webm_2multi__segment__segmenter_8cc_source.html index 3109080246..0c49edb9ba 100644 --- a/docs/d6/d4e/webm_2multi__segment__segmenter_8cc_source.html +++ b/docs/d6/d4e/webm_2multi__segment__segmenter_8cc_source.html @@ -185,7 +185,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d55/aes__cryptor_8cc_source.html b/docs/d6/d55/aes__cryptor_8cc_source.html index 65946db65e..f4fa63b10f 100644 --- a/docs/d6/d55/aes__cryptor_8cc_source.html +++ b/docs/d6/d55/aes__cryptor_8cc_source.html @@ -227,7 +227,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d57/classshaka_1_1media_1_1AVCDecoderConfigurationRecord.html b/docs/d6/d57/classshaka_1_1media_1_1AVCDecoderConfigurationRecord.html index d0b2ab476d..236666ed1b 100644 --- a/docs/d6/d57/classshaka_1_1media_1_1AVCDecoderConfigurationRecord.html +++ b/docs/d6/d57/classshaka_1_1media_1_1AVCDecoderConfigurationRecord.html @@ -251,7 +251,7 @@ void  diff --git a/docs/d6/d59/protection__system__specific__info_8h_source.html b/docs/d6/d59/protection__system__specific__info_8h_source.html index 619e57a666..144755b67b 100644 --- a/docs/d6/d59/protection__system__specific__info_8h_source.html +++ b/docs/d6/d59/protection__system__specific__info_8h_source.html @@ -163,7 +163,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d60/classshaka_1_1media_1_1VPCodecConfigurationRecord-members.html b/docs/d6/d60/classshaka_1_1media_1_1VPCodecConfigurationRecord-members.html index 707345cb9a..d195226550 100644 --- a/docs/d6/d60/classshaka_1_1media_1_1VPCodecConfigurationRecord-members.html +++ b/docs/d6/d60/classshaka_1_1media_1_1VPCodecConfigurationRecord-members.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d6a/cue_8h_source.html b/docs/d6/d6a/cue_8h_source.html index 9cc7cb2334..0b8d095e4e 100644 --- a/docs/d6/d6a/cue_8h_source.html +++ b/docs/d6/d6a/cue_8h_source.html @@ -126,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d6c/h26x__bit__reader_8cc_source.html b/docs/d6/d6c/h26x__bit__reader_8cc_source.html index 88eb432a06..9573ca0db9 100644 --- a/docs/d6/d6c/h26x__bit__reader_8cc_source.html +++ b/docs/d6/d6c/h26x__bit__reader_8cc_source.html @@ -259,7 +259,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d6e/ts__section__pes_8cc_source.html b/docs/d6/d6e/ts__section__pes_8cc_source.html index ba84106aa6..90a39a060d 100644 --- a/docs/d6/d6e/ts__section__pes_8cc_source.html +++ b/docs/d6/d6e/ts__section__pes_8cc_source.html @@ -407,7 +407,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 ff358b06ba..2c79980f86 100644 --- a/docs/d6/d71/scoped__xml__ptr_8h_source.html +++ b/docs/d6/d71/scoped__xml__ptr_8h_source.html @@ -132,7 +132,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 ed541eb6b2..472dd1b956 100644 --- a/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html +++ b/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html @@ -215,8 +215,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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
- -
This class generates DASH MPDs (Media Presentation Descriptions).
Definition: mpd_builder.h:57
+ +
This class generates DASH MPDs (Media Presentation Descriptions).
Definition: mpd_builder.h:54
bool NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) override
@@ -228,7 +228,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d79/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html b/docs/d6/d79/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html index e03d9a71d6..cf34d63b7e 100644 --- a/docs/d6/d79/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html +++ b/docs/d6/d79/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d6/d7b/webm__tracks__parser_8h_source.html b/docs/d6/d7b/webm__tracks__parser_8h_source.html index cf05f6f31f..2c246baf3f 100644 --- a/docs/d6/d7b/webm__tracks__parser_8h_source.html +++ b/docs/d6/d7b/webm__tracks__parser_8h_source.html @@ -205,7 +205,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d7c/structshaka_1_1media_1_1mp4_1_1AC3Specific-members.html b/docs/d6/d7c/structshaka_1_1media_1_1mp4_1_1AC3Specific-members.html index ea8a484413..75cf8dddb2 100644 --- a/docs/d6/d7c/structshaka_1_1media_1_1mp4_1_1AC3Specific-members.html +++ b/docs/d6/d7c/structshaka_1_1media_1_1mp4_1_1AC3Specific-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d82/structshaka_1_1media_1_1EncryptionOptions.html b/docs/d6/d82/structshaka_1_1media_1_1EncryptionOptions.html index 868af0c763..9eac467ed0 100644 --- a/docs/d6/d82/structshaka_1_1media_1_1EncryptionOptions.html +++ b/docs/d6/d82/structshaka_1_1media_1_1EncryptionOptions.html @@ -161,7 +161,7 @@ EncryptionParams::EncryptedStreamAttributes
diff --git a/docs/d6/d86/bandwidth__estimator_8cc_source.html b/docs/d6/d86/bandwidth__estimator_8cc_source.html index 37612f9ea1..8ddb0610d2 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/d8a/classshaka_1_1media_1_1FakeMediaHandler-members.html b/docs/d6/d8a/classshaka_1_1media_1_1FakeMediaHandler-members.html index 8412bb87b0..86918cab66 100644 --- a/docs/d6/d8a/classshaka_1_1media_1_1FakeMediaHandler-members.html +++ b/docs/d6/d8a/classshaka_1_1media_1_1FakeMediaHandler-members.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d8a/vp9__parser_8cc_source.html b/docs/d6/d8a/vp9__parser_8cc_source.html index 5623260469..125c5f7c6a 100644 --- a/docs/d6/d8a/vp9__parser_8cc_source.html +++ b/docs/d6/d8a/vp9__parser_8cc_source.html @@ -697,7 +697,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d8f/classshaka_1_1xml_1_1RepresentationBaseXmlNode-members.html b/docs/d6/d8f/classshaka_1_1xml_1_1RepresentationBaseXmlNode-members.html index 34167c3706..47bf7ce04b 100644 --- a/docs/d6/d8f/classshaka_1_1xml_1_1RepresentationBaseXmlNode-members.html +++ b/docs/d6/d8f/classshaka_1_1xml_1_1RepresentationBaseXmlNode-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d9b/h264__parser_8h_source.html b/docs/d6/d9b/h264__parser_8h_source.html index d36827bd14..ac57c9645a 100644 --- a/docs/d6/d9b/h264__parser_8h_source.html +++ b/docs/d6/d9b/h264__parser_8h_source.html @@ -443,7 +443,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d9f/hls__flags_8cc_source.html b/docs/d6/d9f/hls__flags_8cc_source.html index e4d5f8670c..738850643c 100644 --- a/docs/d6/d9f/hls__flags_8cc_source.html +++ b/docs/d6/d9f/hls__flags_8cc_source.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/da0/ts__section__pat_8h_source.html b/docs/d6/da0/ts__section__pat_8h_source.html index 598035d36d..51739157d5 100644 --- a/docs/d6/da0/ts__section__pat_8h_source.html +++ b/docs/d6/da0/ts__section__pat_8h_source.html @@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/da3/mpd__builder_8h_source.html b/docs/d6/da3/mpd__builder_8h_source.html index c795a60900..c814451e62 100644 --- a/docs/d6/da3/mpd__builder_8h_source.html +++ b/docs/d6/da3/mpd__builder_8h_source.html @@ -125,371 +125,368 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
39 // element.
40 namespace shaka {
41 
-
42 namespace media {
+
42 class AdaptationSet;
43 class File;
-
44 } // namespace media
+
44 class Representation;
45 
-
46 class AdaptationSet;
-
47 class Representation;
-
48 
-
49 namespace xml {
+
46 namespace xml {
+
47 
+
48 class XmlNode;
+
49 class RepresentationXmlNode;
50 
-
51 class XmlNode;
-
52 class RepresentationXmlNode;
-
53 
-
54 } // namespace xml
-
55 
-
57 class MpdBuilder {
-
58  public:
-
61  explicit MpdBuilder(const MpdOptions& mpd_options);
-
62  virtual ~MpdBuilder();
-
63 
-
66  void AddBaseUrl(const std::string& base_url);
-
67 
-
72  virtual AdaptationSet* AddAdaptationSet(const std::string& lang);
-
73 
-
77  // TODO(kqyang): Handle file IO in this class as in HLS media_playlist?
-
78  virtual bool ToString(std::string* output);
-
79 
-
85  static void MakePathsRelativeToMpd(const std::string& mpd_path,
-
86  MediaInfo* media_info);
-
87 
-
88  // Inject a |clock| that returns the current time.
-
90  void InjectClockForTesting(std::unique_ptr<base::Clock> clock) {
-
91  clock_ = std::move(clock);
-
92  }
-
93 
-
94  private:
-
95  // LiveMpdBuilderTest needs to set availabilityStartTime so that the test
-
96  // doesn't need to depend on current time.
-
97  friend class LiveMpdBuilderTest;
-
98  template <DashProfile profile>
-
99  friend class MpdBuilderTest;
-
100 
-
101  // Returns the document pointer to the MPD. This must be freed by the caller
-
102  // using appropriate xmlDocPtr freeing function.
-
103  // On failure, this returns NULL.
-
104  xmlDocPtr GenerateMpd();
-
105 
-
106  // Set MPD attributes common to all profiles. Uses non-zero |mpd_options_| to
-
107  // set attributes for the MPD.
-
108  void AddCommonMpdInfo(xml::XmlNode* mpd_node);
-
109 
-
110  // Adds 'static' MPD attributes and elements to |mpd_node|. This assumes that
-
111  // the first child element is a Period element.
-
112  void AddStaticMpdInfo(xml::XmlNode* mpd_node);
+
51 } // namespace xml
+
52 
+
54 class MpdBuilder {
+
55  public:
+
58  explicit MpdBuilder(const MpdOptions& mpd_options);
+
59  virtual ~MpdBuilder();
+
60 
+
63  void AddBaseUrl(const std::string& base_url);
+
64 
+
69  virtual AdaptationSet* AddAdaptationSet(const std::string& lang);
+
70 
+
74  // TODO(kqyang): Handle file IO in this class as in HLS media_playlist?
+
75  virtual bool ToString(std::string* output);
+
76 
+
82  static void MakePathsRelativeToMpd(const std::string& mpd_path,
+
83  MediaInfo* media_info);
+
84 
+
85  // Inject a |clock| that returns the current time.
+
87  void InjectClockForTesting(std::unique_ptr<base::Clock> clock) {
+
88  clock_ = std::move(clock);
+
89  }
+
90 
+
91  private:
+
92  // LiveMpdBuilderTest needs to set availabilityStartTime so that the test
+
93  // doesn't need to depend on current time.
+
94  friend class LiveMpdBuilderTest;
+
95  template <DashProfile profile>
+
96  friend class MpdBuilderTest;
+
97 
+
98  // Returns the document pointer to the MPD. This must be freed by the caller
+
99  // using appropriate xmlDocPtr freeing function.
+
100  // On failure, this returns NULL.
+
101  xmlDocPtr GenerateMpd();
+
102 
+
103  // Set MPD attributes common to all profiles. Uses non-zero |mpd_options_| to
+
104  // set attributes for the MPD.
+
105  void AddCommonMpdInfo(xml::XmlNode* mpd_node);
+
106 
+
107  // Adds 'static' MPD attributes and elements to |mpd_node|. This assumes that
+
108  // the first child element is a Period element.
+
109  void AddStaticMpdInfo(xml::XmlNode* mpd_node);
+
110 
+
111  // Same as AddStaticMpdInfo() but for 'dynamic' MPDs.
+
112  void AddDynamicMpdInfo(xml::XmlNode* mpd_node);
113 
-
114  // Same as AddStaticMpdInfo() but for 'dynamic' MPDs.
-
115  void AddDynamicMpdInfo(xml::XmlNode* mpd_node);
-
116 
-
117  float GetStaticMpdDuration(xml::XmlNode* mpd_node);
-
118 
-
119  // Set MPD attributes for dynamic profile MPD. Uses non-zero |mpd_options_| as
-
120  // well as various calculations to set attributes for the MPD.
-
121  void SetDynamicMpdAttributes(xml::XmlNode* mpd_node);
-
122 
-
123  // Gets the earliest, normalized segment timestamp. Returns true if
-
124  // successful, false otherwise.
-
125  bool GetEarliestTimestamp(double* timestamp_seconds);
+
114  float GetStaticMpdDuration(xml::XmlNode* mpd_node);
+
115 
+
116  // Set MPD attributes for dynamic profile MPD. Uses non-zero |mpd_options_| as
+
117  // well as various calculations to set attributes for the MPD.
+
118  void SetDynamicMpdAttributes(xml::XmlNode* mpd_node);
+
119 
+
120  // Gets the earliest, normalized segment timestamp. Returns true if
+
121  // successful, false otherwise.
+
122  bool GetEarliestTimestamp(double* timestamp_seconds);
+
123 
+
124  MpdOptions mpd_options_;
+
125  std::list<std::unique_ptr<AdaptationSet>> adaptation_sets_;
126 
-
127  MpdOptions mpd_options_;
-
128  std::list<std::unique_ptr<AdaptationSet>> adaptation_sets_;
+
127  std::list<std::string> base_urls_;
+
128  std::string availability_start_time_;
129 
-
130  std::list<std::string> base_urls_;
-
131  std::string availability_start_time_;
+
130  base::AtomicSequenceNumber adaptation_set_counter_;
+
131  base::AtomicSequenceNumber representation_counter_;
132 
-
133  base::AtomicSequenceNumber adaptation_set_counter_;
-
134  base::AtomicSequenceNumber representation_counter_;
-
135 
-
136  // By default, this returns the current time. This can be injected for
-
137  // testing.
-
138  std::unique_ptr<base::Clock> clock_;
+
133  // By default, this returns the current time. This can be injected for
+
134  // testing.
+
135  std::unique_ptr<base::Clock> clock_;
+
136 
+
137  DISALLOW_COPY_AND_ASSIGN(MpdBuilder);
+
138 };
139 
-
140  DISALLOW_COPY_AND_ASSIGN(MpdBuilder);
-
141 };
-
142 
- -
146  public:
-
147  // The role for this AdaptationSet. These values are used to add a Role
-
148  // element to the AdaptationSet with schemeIdUri=urn:mpeg:dash:role:2011.
-
149  // See ISO/IEC 23009-1:2012 section 5.8.5.5.
-
150  enum Role {
-
151  kRoleCaption,
-
152  kRoleSubtitle,
-
153  kRoleMain,
-
154  kRoleAlternate,
-
155  kRoleSupplementary,
-
156  kRoleCommentary,
-
157  kRoleDub
-
158  };
-
159 
-
160  virtual ~AdaptationSet();
-
161 
-
168  virtual Representation* AddRepresentation(const MediaInfo& media_info);
-
169 
-
179  virtual void AddContentProtectionElement(
-
180  const ContentProtectionElement& element);
-
181 
-
193  virtual void UpdateContentProtectionPssh(const std::string& drm_uuid,
-
194  const std::string& pssh);
-
195 
-
200  virtual void AddRole(Role role);
-
201 
-
206  xml::scoped_xml_ptr<xmlNode> GetXml();
-
207 
-
213  virtual void ForceSetSegmentAlignment(bool segment_alignment);
-
214 
-
217  void AddAdaptationSetSwitching(uint32_t adaptation_set_id);
-
218 
-
220  const std::vector<uint32_t>& adaptation_set_switching_ids() const {
-
221  return adaptation_set_switching_ids_;
-
222  }
+ +
143  public:
+
144  // The role for this AdaptationSet. These values are used to add a Role
+
145  // element to the AdaptationSet with schemeIdUri=urn:mpeg:dash:role:2011.
+
146  // See ISO/IEC 23009-1:2012 section 5.8.5.5.
+
147  enum Role {
+
148  kRoleCaption,
+
149  kRoleSubtitle,
+
150  kRoleMain,
+
151  kRoleAlternate,
+
152  kRoleSupplementary,
+
153  kRoleCommentary,
+
154  kRoleDub
+
155  };
+
156 
+
157  virtual ~AdaptationSet();
+
158 
+
165  virtual Representation* AddRepresentation(const MediaInfo& media_info);
+
166 
+
176  virtual void AddContentProtectionElement(
+
177  const ContentProtectionElement& element);
+
178 
+
190  virtual void UpdateContentProtectionPssh(const std::string& drm_uuid,
+
191  const std::string& pssh);
+
192 
+
197  virtual void AddRole(Role role);
+
198 
+
203  xml::scoped_xml_ptr<xmlNode> GetXml();
+
204 
+
210  virtual void ForceSetSegmentAlignment(bool segment_alignment);
+
211 
+
214  void AddAdaptationSetSwitching(uint32_t adaptation_set_id);
+
215 
+
217  const std::vector<uint32_t>& adaptation_set_switching_ids() const {
+
218  return adaptation_set_switching_ids_;
+
219  }
+
220 
+
221  // Must be unique in the Period.
+
222  uint32_t id() const { return id_; }
223 
-
224  // Must be unique in the Period.
-
225  uint32_t id() const { return id_; }
-
226 
-
238  void OnNewSegmentForRepresentation(uint32_t representation_id,
-
239  uint64_t start_time,
-
240  uint64_t duration);
-
241 
-
254  void OnSetFrameRateForRepresentation(uint32_t representation_id,
-
255  uint32_t frame_duration,
-
256  uint32_t timescale);
-
257 
-
261  virtual void AddTrickPlayReferenceId(uint32_t id);
-
262 
-
263  protected:
-
271  AdaptationSet(uint32_t adaptation_set_id,
-
272  const std::string& lang,
-
273  const MpdOptions& mpd_options,
-
274  base::AtomicSequenceNumber* representation_counter);
-
275 
-
276  private:
-
277  friend class MpdBuilder;
-
278  template <DashProfile profile>
-
279  friend class MpdBuilderTest;
-
280 
-
281  // kSegmentAlignmentUnknown means that it is uncertain if the
-
282  // (sub)segments are aligned or not.
-
283  // kSegmentAlignmentTrue means that it is certain that the all the (current)
-
284  // segments added to the adaptation set are aligned.
-
285  // kSegmentAlignmentFalse means that it is it is certain that some segments
-
286  // are not aligned. This is useful to disable the computation for
-
287  // segment alignment, once it is certain that some segments are not aligned.
-
288  enum SegmentAligmentStatus {
-
289  kSegmentAlignmentUnknown,
-
290  kSegmentAlignmentTrue,
-
291  kSegmentAlignmentFalse
-
292  };
-
293 
-
294  // This maps Representations (IDs) to a list of start times of the segments.
-
295  // e.g.
-
296  // If Representation 1 has start time 0, 100, 200 and Representation 2 has
-
297  // start times 0, 200, 400, then the map contains:
-
298  // 1 -> [0, 100, 200]
-
299  // 2 -> [0, 200, 400]
-
300  typedef std::map<uint32_t, std::list<uint64_t> > RepresentationTimeline;
-
301 
-
302  // Gets the earliest, normalized segment timestamp. Returns true if
-
303  // successful, false otherwise.
-
304  bool GetEarliestTimestamp(double* timestamp_seconds);
-
305 
-
313  void CheckLiveSegmentAlignment(uint32_t representation_id,
-
314  uint64_t start_time,
-
315  uint64_t duration);
-
316 
-
317  // Checks representation_segment_start_times_ and sets segments_aligned_.
-
318  // Use this for VOD, do not use for Live.
-
319  void CheckVodSegmentAlignment();
+
235  void OnNewSegmentForRepresentation(uint32_t representation_id,
+
236  uint64_t start_time,
+
237  uint64_t duration);
+
238 
+
251  void OnSetFrameRateForRepresentation(uint32_t representation_id,
+
252  uint32_t frame_duration,
+
253  uint32_t timescale);
+
254 
+
258  virtual void AddTrickPlayReferenceId(uint32_t id);
+
259 
+
260  protected:
+
268  AdaptationSet(uint32_t adaptation_set_id,
+
269  const std::string& lang,
+
270  const MpdOptions& mpd_options,
+
271  base::AtomicSequenceNumber* representation_counter);
+
272 
+
273  private:
+
274  friend class MpdBuilder;
+
275  template <DashProfile profile>
+
276  friend class MpdBuilderTest;
+
277 
+
278  // kSegmentAlignmentUnknown means that it is uncertain if the
+
279  // (sub)segments are aligned or not.
+
280  // kSegmentAlignmentTrue means that it is certain that the all the (current)
+
281  // segments added to the adaptation set are aligned.
+
282  // kSegmentAlignmentFalse means that it is it is certain that some segments
+
283  // are not aligned. This is useful to disable the computation for
+
284  // segment alignment, once it is certain that some segments are not aligned.
+
285  enum SegmentAligmentStatus {
+
286  kSegmentAlignmentUnknown,
+
287  kSegmentAlignmentTrue,
+
288  kSegmentAlignmentFalse
+
289  };
+
290 
+
291  // This maps Representations (IDs) to a list of start times of the segments.
+
292  // e.g.
+
293  // If Representation 1 has start time 0, 100, 200 and Representation 2 has
+
294  // start times 0, 200, 400, then the map contains:
+
295  // 1 -> [0, 100, 200]
+
296  // 2 -> [0, 200, 400]
+
297  typedef std::map<uint32_t, std::list<uint64_t> > RepresentationTimeline;
+
298 
+
299  // Gets the earliest, normalized segment timestamp. Returns true if
+
300  // successful, false otherwise.
+
301  bool GetEarliestTimestamp(double* timestamp_seconds);
+
302 
+
310  void CheckLiveSegmentAlignment(uint32_t representation_id,
+
311  uint64_t start_time,
+
312  uint64_t duration);
+
313 
+
314  // Checks representation_segment_start_times_ and sets segments_aligned_.
+
315  // Use this for VOD, do not use for Live.
+
316  void CheckVodSegmentAlignment();
+
317 
+
318  // Records the framerate of a Representation.
+
319  void RecordFrameRate(uint32_t frame_duration, uint32_t timescale);
320 
-
321  // Records the framerate of a Representation.
-
322  void RecordFrameRate(uint32_t frame_duration, uint32_t timescale);
+
321  std::list<ContentProtectionElement> content_protection_elements_;
+
322  std::list<std::unique_ptr<Representation>> representations_;
323 
-
324  std::list<ContentProtectionElement> content_protection_elements_;
-
325  std::list<std::unique_ptr<Representation>> representations_;
-
326 
-
327  base::AtomicSequenceNumber* const representation_counter_;
-
328 
-
329  const uint32_t id_;
-
330  const std::string lang_;
-
331  const MpdOptions& mpd_options_;
+
324  base::AtomicSequenceNumber* const representation_counter_;
+
325 
+
326  const uint32_t id_;
+
327  const std::string lang_;
+
328  const MpdOptions& mpd_options_;
+
329 
+
330  // The ids of the adaptation sets this adaptation set can switch to.
+
331  std::vector<uint32_t> adaptation_set_switching_ids_;
332 
-
333  // The ids of the adaptation sets this adaptation set can switch to.
-
334  std::vector<uint32_t> adaptation_set_switching_ids_;
-
335 
-
336  // Video widths and heights of Representations. Note that this is a set; if
-
337  // there is only 1 resolution, then @width & @height should be set, otherwise
-
338  // @maxWidth & @maxHeight should be set for DASH IOP.
-
339  std::set<uint32_t> video_widths_;
-
340  std::set<uint32_t> video_heights_;
-
341 
-
342  // Video representations' frame rates.
-
343  // The frame rate notation for MPD is <integer>/<integer> (where the
-
344  // denominator is optional). This means the frame rate could be non-whole
-
345  // rational value, therefore the key is of type double.
-
346  // Value is <integer>/<integer> in string form.
-
347  // So, key == CalculatedValue(value)
-
348  std::map<double, std::string> video_frame_rates_;
-
349 
-
350  // contentType attribute of AdaptationSet.
-
351  // Determined by examining the MediaInfo passed to AddRepresentation().
-
352  std::string content_type_;
-
353 
-
354  // This does not have to be a set, it could be a list or vector because all we
-
355  // really care is whether there is more than one entry.
-
356  // Contains one entry if all the Representations have the same picture aspect
-
357  // ratio (@par attribute for AdaptationSet).
-
358  // There will be more than one entry if there are multiple picture aspect
-
359  // ratios.
-
360  // The @par attribute should only be set if there is exactly one entry
-
361  // in this set.
-
362  std::set<std::string> picture_aspect_ratio_;
+
333  // Video widths and heights of Representations. Note that this is a set; if
+
334  // there is only 1 resolution, then @width & @height should be set, otherwise
+
335  // @maxWidth & @maxHeight should be set for DASH IOP.
+
336  std::set<uint32_t> video_widths_;
+
337  std::set<uint32_t> video_heights_;
+
338 
+
339  // Video representations' frame rates.
+
340  // The frame rate notation for MPD is <integer>/<integer> (where the
+
341  // denominator is optional). This means the frame rate could be non-whole
+
342  // rational value, therefore the key is of type double.
+
343  // Value is <integer>/<integer> in string form.
+
344  // So, key == CalculatedValue(value)
+
345  std::map<double, std::string> video_frame_rates_;
+
346 
+
347  // contentType attribute of AdaptationSet.
+
348  // Determined by examining the MediaInfo passed to AddRepresentation().
+
349  std::string content_type_;
+
350 
+
351  // This does not have to be a set, it could be a list or vector because all we
+
352  // really care is whether there is more than one entry.
+
353  // Contains one entry if all the Representations have the same picture aspect
+
354  // ratio (@par attribute for AdaptationSet).
+
355  // There will be more than one entry if there are multiple picture aspect
+
356  // ratios.
+
357  // The @par attribute should only be set if there is exactly one entry
+
358  // in this set.
+
359  std::set<std::string> picture_aspect_ratio_;
+
360 
+
361  // The roles of this AdaptationSet.
+
362  std::set<Role> roles_;
363 
-
364  // The roles of this AdaptationSet.
-
365  std::set<Role> roles_;
-
366 
-
367  // True iff all the segments are aligned.
-
368  SegmentAligmentStatus segments_aligned_;
-
369  bool force_set_segment_alignment_;
-
370 
-
371  // Keeps track of segment start times of Representations.
-
372  // For VOD, this will not be cleared, all the segment start times are
-
373  // stored in this. This should not out-of-memory for a reasonable length
-
374  // video and reasonable subsegment length.
-
375  // For Live, the entries are deleted (see CheckLiveSegmentAlignment()
-
376  // implementation comment) because storing the entire timeline is not
-
377  // reasonable and may cause an out-of-memory problem.
-
378  RepresentationTimeline representation_segment_start_times_;
-
379 
-
380  // Record the reference id for the original adaptation sets the trick play
-
381  // stream belongs to. This is a set because the trick play streams may be for
-
382  // multiple AdaptationSets (e.g. SD and HD videos in different AdaptationSets
-
383  // can share the same trick play stream.)
-
384  std::set<uint32_t> trick_play_reference_ids_;
+
364  // True iff all the segments are aligned.
+
365  SegmentAligmentStatus segments_aligned_;
+
366  bool force_set_segment_alignment_;
+
367 
+
368  // Keeps track of segment start times of Representations.
+
369  // For VOD, this will not be cleared, all the segment start times are
+
370  // stored in this. This should not out-of-memory for a reasonable length
+
371  // video and reasonable subsegment length.
+
372  // For Live, the entries are deleted (see CheckLiveSegmentAlignment()
+
373  // implementation comment) because storing the entire timeline is not
+
374  // reasonable and may cause an out-of-memory problem.
+
375  RepresentationTimeline representation_segment_start_times_;
+
376 
+
377  // Record the reference id for the original adaptation sets the trick play
+
378  // stream belongs to. This is a set because the trick play streams may be for
+
379  // multiple AdaptationSets (e.g. SD and HD videos in different AdaptationSets
+
380  // can share the same trick play stream.)
+
381  std::set<uint32_t> trick_play_reference_ids_;
+
382 
+
383  DISALLOW_COPY_AND_ASSIGN(AdaptationSet);
+
384 };
385 
-
386  DISALLOW_COPY_AND_ASSIGN(AdaptationSet);
-
387 };
-
388 
- -
390  public:
- - -
393 
-
398  virtual void OnNewSegmentForRepresentation(uint64_t start_time,
-
399  uint64_t duration) = 0;
-
400 
-
405  virtual void OnSetFrameRateForRepresentation(uint32_t frame_duration,
-
406  uint32_t timescale) = 0;
-
407 };
-
408 
- -
412  public:
-
413  enum SuppressFlag {
-
414  kSuppressWidth = 1,
-
415  kSuppressHeight = 2,
-
416  kSuppressFrameRate = 4,
-
417  };
-
418 
-
419  virtual ~Representation();
-
420 
-
424  bool Init();
-
425 
-
436  virtual void AddContentProtectionElement(
-
437  const ContentProtectionElement& element);
-
438 
-
450  virtual void UpdateContentProtectionPssh(const std::string& drm_uuid,
-
451  const std::string& pssh);
-
452 
-
461  virtual void AddNewSegment(uint64_t start_time,
-
462  uint64_t duration,
-
463  uint64_t size);
-
464 
-
470  virtual void SetSampleDuration(uint32_t sample_duration);
+ +
387  public:
+ + +
390 
+
395  virtual void OnNewSegmentForRepresentation(uint64_t start_time,
+
396  uint64_t duration) = 0;
+
397 
+
402  virtual void OnSetFrameRateForRepresentation(uint32_t frame_duration,
+
403  uint32_t timescale) = 0;
+
404 };
+
405 
+ +
409  public:
+
410  enum SuppressFlag {
+
411  kSuppressWidth = 1,
+
412  kSuppressHeight = 2,
+
413  kSuppressFrameRate = 4,
+
414  };
+
415 
+
416  virtual ~Representation();
+
417 
+
421  bool Init();
+
422 
+
433  virtual void AddContentProtectionElement(
+
434  const ContentProtectionElement& element);
+
435 
+
447  virtual void UpdateContentProtectionPssh(const std::string& drm_uuid,
+
448  const std::string& pssh);
+
449 
+
458  virtual void AddNewSegment(uint64_t start_time,
+
459  uint64_t duration,
+
460  uint64_t size);
+
461 
+
467  virtual void SetSampleDuration(uint32_t sample_duration);
+
468 
+
470  xml::scoped_xml_ptr<xmlNode> GetXml();
471 
-
473  xml::scoped_xml_ptr<xmlNode> GetXml();
-
474 
-
483  void SuppressOnce(SuppressFlag flag);
+
480  void SuppressOnce(SuppressFlag flag);
+
481 
+
483  uint32_t id() const { return id_; }
484 
-
486  uint32_t id() const { return id_; }
-
487 
-
488  protected:
- -
498  const MediaInfo& media_info,
-
499  const MpdOptions& mpd_options,
-
500  uint32_t representation_id,
-
501  std::unique_ptr<RepresentationStateChangeListener> state_change_listener);
-
502 
-
503  private:
-
504  friend class AdaptationSet;
-
505  template <DashProfile profile>
-
506  friend class MpdBuilderTest;
-
507 
-
508  bool AddLiveInfo(xml::RepresentationXmlNode* representation);
-
509 
-
510  // Returns true if |media_info_| has required fields to generate a valid
-
511  // Representation. Otherwise returns false.
-
512  bool HasRequiredMediaInfoFields();
-
513 
-
514  // Return false if the segment should be considered a new segment. True if the
-
515  // segment is contiguous.
-
516  bool IsContiguous(uint64_t start_time,
-
517  uint64_t duration,
-
518  uint64_t size) const;
-
519 
-
520  // Remove elements from |segment_infos_| for dynamic live profile. Increments
-
521  // |start_number_| by the number of segments removed.
-
522  void SlideWindow();
-
523 
-
524  // Note: Because 'mimeType' is a required field for a valid MPD, these return
-
525  // strings.
-
526  std::string GetVideoMimeType() const;
-
527  std::string GetAudioMimeType() const;
-
528  std::string GetTextMimeType() const;
-
529 
-
530  // Gets the earliest, normalized segment timestamp. Returns true if
-
531  // successful, false otherwise.
-
532  bool GetEarliestTimestamp(double* timestamp_seconds);
-
533 
-
534  // Init() checks that only one of VideoInfo, AudioInfo, or TextInfo is set. So
-
535  // any logic using this can assume only one set.
-
536  MediaInfo media_info_;
-
537  std::list<ContentProtectionElement> content_protection_elements_;
-
538  std::list<SegmentInfo> segment_infos_;
-
539 
-
540  const uint32_t id_;
-
541  std::string mime_type_;
-
542  std::string codecs_;
-
543  BandwidthEstimator bandwidth_estimator_;
-
544  const MpdOptions& mpd_options_;
-
545 
-
546  // startNumber attribute for SegmentTemplate.
-
547  // Starts from 1.
-
548  uint32_t start_number_;
-
549 
-
550  // If this is not null, then Representation is responsible for calling the
-
551  // right methods at right timings.
-
552  std::unique_ptr<RepresentationStateChangeListener> state_change_listener_;
+
485  protected:
+ +
495  const MediaInfo& media_info,
+
496  const MpdOptions& mpd_options,
+
497  uint32_t representation_id,
+
498  std::unique_ptr<RepresentationStateChangeListener> state_change_listener);
+
499 
+
500  private:
+
501  friend class AdaptationSet;
+
502  template <DashProfile profile>
+
503  friend class MpdBuilderTest;
+
504 
+
505  bool AddLiveInfo(xml::RepresentationXmlNode* representation);
+
506 
+
507  // Returns true if |media_info_| has required fields to generate a valid
+
508  // Representation. Otherwise returns false.
+
509  bool HasRequiredMediaInfoFields();
+
510 
+
511  // Return false if the segment should be considered a new segment. True if the
+
512  // segment is contiguous.
+
513  bool IsContiguous(uint64_t start_time,
+
514  uint64_t duration,
+
515  uint64_t size) const;
+
516 
+
517  // Remove elements from |segment_infos_| for dynamic live profile. Increments
+
518  // |start_number_| by the number of segments removed.
+
519  void SlideWindow();
+
520 
+
521  // Note: Because 'mimeType' is a required field for a valid MPD, these return
+
522  // strings.
+
523  std::string GetVideoMimeType() const;
+
524  std::string GetAudioMimeType() const;
+
525  std::string GetTextMimeType() const;
+
526 
+
527  // Gets the earliest, normalized segment timestamp. Returns true if
+
528  // successful, false otherwise.
+
529  bool GetEarliestTimestamp(double* timestamp_seconds);
+
530 
+
531  // Init() checks that only one of VideoInfo, AudioInfo, or TextInfo is set. So
+
532  // any logic using this can assume only one set.
+
533  MediaInfo media_info_;
+
534  std::list<ContentProtectionElement> content_protection_elements_;
+
535  std::list<SegmentInfo> segment_infos_;
+
536 
+
537  const uint32_t id_;
+
538  std::string mime_type_;
+
539  std::string codecs_;
+
540  BandwidthEstimator bandwidth_estimator_;
+
541  const MpdOptions& mpd_options_;
+
542 
+
543  // startNumber attribute for SegmentTemplate.
+
544  // Starts from 1.
+
545  uint32_t start_number_;
+
546 
+
547  // If this is not null, then Representation is responsible for calling the
+
548  // right methods at right timings.
+
549  std::unique_ptr<RepresentationStateChangeListener> state_change_listener_;
+
550 
+
551  // Bit vector for tracking witch attributes should not be output.
+
552  int output_suppression_flags_;
553 
-
554  // Bit vector for tracking witch attributes should not be output.
-
555  int output_suppression_flags_;
+
554  DISALLOW_COPY_AND_ASSIGN(Representation);
+
555 };
556 
-
557  DISALLOW_COPY_AND_ASSIGN(Representation);
-
558 };
-
559 
-
560 } // namespace shaka
-
561 
-
562 #endif // MPD_BASE_MPD_BUILDER_H_
+
557 } // namespace shaka
+
558 
+
559 #endif // MPD_BASE_MPD_BUILDER_H_
void OnSetFrameRateForRepresentation(uint32_t representation_id, uint32_t frame_duration, uint32_t timescale)
Definition: mpd_builder.cc:858
RepresentationType in MPD.
Definition: xml_node.h:139
virtual void AddNewSegment(uint64_t start_time, uint64_t duration, uint64_t size)
virtual void OnSetFrameRateForRepresentation(uint32_t frame_duration, uint32_t timescale)=0
Representation(const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, std::unique_ptr< RepresentationStateChangeListener > state_change_listener)
- +
virtual void SetSampleDuration(uint32_t sample_duration)
virtual Representation * AddRepresentation(const MediaInfo &media_info)
Definition: mpd_builder.cc:663
-
This class generates DASH MPDs (Media Presentation Descriptions).
Definition: mpd_builder.h:57
-
uint32_t id() const
Definition: mpd_builder.h:486
+
This class generates DASH MPDs (Media Presentation Descriptions).
Definition: mpd_builder.h:54
+
uint32_t id() const
Definition: mpd_builder.h:483
virtual void AddContentProtectionElement(const ContentProtectionElement &element)
Definition: mpd_builder.cc:709
@@ -500,19 +497,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual void UpdateContentProtectionPssh(const std::string &drm_uuid, const std::string &pssh)
Definition: mpd_builder.cc:715
AdaptationSet(uint32_t adaptation_set_id, const std::string &lang, const MpdOptions &mpd_options, base::AtomicSequenceNumber *representation_counter)
Definition: mpd_builder.cc:648
xml::scoped_xml_ptr< xmlNode > GetXml()
- +
virtual bool ToString(std::string *output)
Definition: mpd_builder.cc:396
void AddAdaptationSetSwitching(uint32_t adaptation_set_id)
Definition: mpd_builder.cc:836
-
const std::vector< uint32_t > & adaptation_set_switching_ids() const
Definition: mpd_builder.h:220
+
const std::vector< uint32_t > & adaptation_set_switching_ids() const
Definition: mpd_builder.h:217
virtual void ForceSetSegmentAlignment(bool segment_alignment)
Definition: mpd_builder.cc:830
static void MakePathsRelativeToMpd(const std::string &mpd_path, MediaInfo *media_info)
Definition: mpd_builder.cc:620
xml::scoped_xml_ptr< xmlNode > GetXml()
Definition: mpd_builder.cc:731
virtual void AddContentProtectionElement(const ContentProtectionElement &element)
- +
virtual AdaptationSet * AddAdaptationSet(const std::string &lang)
Definition: mpd_builder.cc:382
Defines Mpd Options.
Definition: mpd_options.h:23
void OnNewSegmentForRepresentation(uint32_t representation_id, uint64_t start_time, uint64_t duration)
Definition: mpd_builder.cc:847
-
void InjectClockForTesting(std::unique_ptr< base::Clock > clock)
This is for testing.
Definition: mpd_builder.h:90
+
void InjectClockForTesting(std::unique_ptr< base::Clock > clock)
This is for testing.
Definition: mpd_builder.h:87
virtual void UpdateContentProtectionPssh(const std::string &drm_uuid, const std::string &pssh)
virtual void OnNewSegmentForRepresentation(uint64_t start_time, uint64_t duration)=0
@@ -520,7 +517,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/da4/classshaka_1_1media_1_1AVCDecoderConfigurationRecord-members.html b/docs/d6/da4/classshaka_1_1media_1_1AVCDecoderConfigurationRecord-members.html index a633f71013..32c00d2d28 100644 --- a/docs/d6/da4/classshaka_1_1media_1_1AVCDecoderConfigurationRecord-members.html +++ b/docs/d6/da4/classshaka_1_1media_1_1AVCDecoderConfigurationRecord-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/da6/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo-members.html b/docs/d6/da6/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo-members.html index e0d68f720b..14181260b1 100644 --- a/docs/d6/da6/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo-members.html +++ b/docs/d6/da6/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/da9/classshaka_1_1media_1_1BitReader.html b/docs/d6/da9/classshaka_1_1media_1_1BitReader.html index 79494b045f..23608a8ab4 100644 --- a/docs/d6/da9/classshaka_1_1media_1_1BitReader.html +++ b/docs/d6/da9/classshaka_1_1media_1_1BitReader.html @@ -365,7 +365,7 @@ template<typename T > diff --git a/docs/d6/daa/structshaka_1_1media_1_1mp4_1_1VTTCueBox.html b/docs/d6/daa/structshaka_1_1media_1_1mp4_1_1VTTCueBox.html index 1d70dcdd83..a2a75451c0 100644 --- a/docs/d6/daa/structshaka_1_1media_1_1mp4_1_1VTTCueBox.html +++ b/docs/d6/daa/structshaka_1_1media_1_1mp4_1_1VTTCueBox.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html b/docs/d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html index 9d71a5ae3e..c64376f2a7 100644 --- a/docs/d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html +++ b/docs/d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html @@ -468,7 +468,7 @@ void set_encryption_config diff --git a/docs/d6/db1/structshaka_1_1media_1_1VideoStreamInfoParameters-members.html b/docs/d6/db1/structshaka_1_1media_1_1VideoStreamInfoParameters-members.html index 10301771e5..dd74fc9d93 100644 --- a/docs/d6/db1/structshaka_1_1media_1_1VideoStreamInfoParameters-members.html +++ b/docs/d6/db1/structshaka_1_1media_1_1VideoStreamInfoParameters-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dc6/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo-members.html b/docs/d6/dc6/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo-members.html index 1df8072ccd..4cd64b0844 100644 --- a/docs/d6/dc6/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo-members.html +++ b/docs/d6/dc6/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dc7/classshaka_1_1media_1_1mp2t_1_1EsParserH26x-members.html b/docs/d6/dc7/classshaka_1_1media_1_1mp2t_1_1EsParserH26x-members.html index 9d9d6de7a0..203b7cd89d 100644 --- a/docs/d6/dc7/classshaka_1_1media_1_1mp2t_1_1EsParserH26x-members.html +++ b/docs/d6/dc7/classshaka_1_1media_1_1mp2t_1_1EsParserH26x-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dc8/mkv__writer_8cc_source.html b/docs/d6/dc8/mkv__writer_8cc_source.html index 1a1553bed6..1bf1f11ae0 100644 --- a/docs/d6/dc8/mkv__writer_8cc_source.html +++ b/docs/d6/dc8/mkv__writer_8cc_source.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
15 
16 Status MkvWriter::Open(const std::string& name) {
17  DCHECK(!file_);
-
18  file_.reset(File::Open(name.c_str(), "w"));
+
18  file_.reset(File::Open(name.c_str(), "w"));
19  if (!file_)
20  return Status(error::FILE_FAILURE, "Unable to open file for writing.");
21 
@@ -142,14 +142,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
53  return 0;
54 }
55 
-
56 int64_t MkvWriter::WriteFromFile(File* source) {
+
56 int64_t MkvWriter::WriteFromFile(File* source) {
57  return WriteFromFile(source, kWholeFile);
58 }
59 
-
60 int64_t MkvWriter::WriteFromFile(File* source, int64_t max_copy) {
+
60 int64_t MkvWriter::WriteFromFile(File* source, int64_t max_copy) {
61  DCHECK(file_);
62 
-
63  const int64_t size = File::CopyFile(source, file_.get(), max_copy);
+
63  const int64_t size = File::CopyFile(source, file_.get(), max_copy);
64  if (size < 0)
65  return size;
66 
@@ -181,12 +181,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
92 
93 } // namespace media
94 } // namespace shaka
-
virtual bool Open()=0
Internal open. Should not be used directly.
-
Define an abstract file interface.
Definition: file.h:24
int64_t WriteFromFile(File *source)
Definition: mkv_writer.cc:56
void ElementStartNotify(mkvmuxer::uint64 element_id, mkvmuxer::int64 position) override
Definition: mkv_writer.cc:90
mkvmuxer::int64 Position() const override
Definition: mkv_writer.cc:71
-
static int64_t CopyFile(File *source, File *destination)
Definition: file.cc:282
bool Seekable() const override
Definition: mkv_writer.cc:86
Status Open(const std::string &name)
Definition: mkv_writer.cc:16
Status Close()
Closes the file. MUST call Open before calling any other methods.
Definition: mkv_writer.cc:29
@@ -194,7 +191,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dcb/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry.html b/docs/d6/dcb/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry.html index f28a7fb987..e6e2037509 100644 --- a/docs/d6/dcb/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry.html +++ b/docs/d6/dcb/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry.html @@ -250,7 +250,7 @@ std::vector< diff --git a/docs/d6/dcc/classshaka_1_1media_1_1VP9Parser-members.html b/docs/d6/dcc/classshaka_1_1media_1_1VP9Parser-members.html index 6cf8954856..afecce4ec3 100644 --- a/docs/d6/dcc/classshaka_1_1media_1_1VP9Parser-members.html +++ b/docs/d6/dcc/classshaka_1_1media_1_1VP9Parser-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dce/structshaka_1_1media_1_1mp4_1_1SegmentReference-members.html b/docs/d6/dce/structshaka_1_1media_1_1mp4_1_1SegmentReference-members.html index 648b3a31e6..53bf2d88c6 100644 --- a/docs/d6/dce/structshaka_1_1media_1_1mp4_1_1SegmentReference-members.html +++ b/docs/d6/dce/structshaka_1_1media_1_1mp4_1_1SegmentReference-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dcf/classshaka_1_1media_1_1mp2t_1_1EsParserAdts.html b/docs/d6/dcf/classshaka_1_1media_1_1mp2t_1_1EsParserAdts.html index 73cf5158ec..e6ba02c4a7 100644 --- a/docs/d6/dcf/classshaka_1_1media_1_1mp2t_1_1EsParserAdts.html +++ b/docs/d6/dcf/classshaka_1_1media_1_1mp2t_1_1EsParserAdts.html @@ -148,7 +148,7 @@ const std::shared_ptr
diff --git a/docs/d6/dd0/structshaka_1_1media_1_1H264SEIMessage.html b/docs/d6/dd0/structshaka_1_1media_1_1H264SEIMessage.html index 3f15dc4282..e48028731c 100644 --- a/docs/d6/dd0/structshaka_1_1media_1_1H264SEIMessage.html +++ b/docs/d6/dd0/structshaka_1_1media_1_1H264SEIMessage.html @@ -127,7 +127,7 @@ union { diff --git a/docs/d6/dde/structshaka_1_1media_1_1H265VuiParameters-members.html b/docs/d6/dde/structshaka_1_1media_1_1H265VuiParameters-members.html index 2e4d574b2a..90845323c5 100644 --- a/docs/d6/dde/structshaka_1_1media_1_1H265VuiParameters-members.html +++ b/docs/d6/dde/structshaka_1_1media_1_1H265VuiParameters-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/de4/structshaka_1_1media_1_1mp4_1_1CueTimeBox-members.html b/docs/d6/de4/structshaka_1_1media_1_1mp4_1_1CueTimeBox-members.html index 5811f8e976..7be83f27f8 100644 --- a/docs/d6/de4/structshaka_1_1media_1_1mp4_1_1CueTimeBox-members.html +++ b/docs/d6/de4/structshaka_1_1media_1_1mp4_1_1CueTimeBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/de7/structshaka_1_1media_1_1VPxFrameInfo-members.html b/docs/d6/de7/structshaka_1_1media_1_1VPxFrameInfo-members.html index 426ea1589f..f2430431e7 100644 --- a/docs/d6/de7/structshaka_1_1media_1_1VPxFrameInfo-members.html +++ b/docs/d6/de7/structshaka_1_1media_1_1VPxFrameInfo-members.html @@ -101,7 +101,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 deleted file mode 100644 index 48fa175180..0000000000 --- a/docs/d6/de8/local__file_8cc_source.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/local_file.cc Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
local_file.cc
-
-
-
1 // Copyright 2014 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #include "packager/media/file/local_file.h"
-
8 
-
9 #include <stdio.h>
-
10 #if defined(OS_WIN)
-
11 #include <windows.h>
-
12 #endif // defined(OS_WIN)
-
13 #include "packager/base/files/file_util.h"
-
14 #include "packager/base/logging.h"
-
15 
-
16 namespace shaka {
-
17 namespace media {
-
18 
-
19 // Always open files in binary mode.
-
20 const char kAdditionalFileMode[] = "b";
-
21 
-
22 LocalFile::LocalFile(const char* file_name, const char* mode)
-
23  : File(file_name),
-
24  file_mode_(mode),
-
25  internal_file_(NULL) {
-
26  if (file_mode_.find(kAdditionalFileMode) == std::string::npos)
-
27  file_mode_ += kAdditionalFileMode;
-
28 }
-
29 
- -
31  bool result = true;
-
32  if (internal_file_) {
-
33  result = base::CloseFile(internal_file_);
-
34  internal_file_ = NULL;
-
35  }
-
36  delete this;
-
37  return result;
-
38 }
-
39 
-
40 int64_t LocalFile::Read(void* buffer, uint64_t length) {
-
41  DCHECK(buffer != NULL);
-
42  DCHECK(internal_file_ != NULL);
-
43  return fread(buffer, sizeof(char), length, internal_file_);
-
44 }
-
45 
-
46 int64_t LocalFile::Write(const void* buffer, uint64_t length) {
-
47  DCHECK(buffer != NULL);
-
48  DCHECK(internal_file_ != NULL);
-
49  return fwrite(buffer, sizeof(char), length, internal_file_);
-
50 }
-
51 
-
52 int64_t LocalFile::Size() {
-
53  DCHECK(internal_file_ != NULL);
-
54 
-
55  // Flush any buffered data, so we get the true file size.
-
56  if (!Flush()) {
-
57  LOG(ERROR) << "Cannot flush file.";
-
58  return -1;
-
59  }
-
60 
-
61  int64_t file_size;
-
62  if (!base::GetFileSize(base::FilePath::FromUTF8Unsafe(file_name()),
-
63  &file_size)) {
-
64  LOG(ERROR) << "Cannot get file size.";
-
65  return -1;
-
66  }
-
67  return file_size;
-
68 }
-
69 
- -
71  DCHECK(internal_file_ != NULL);
-
72  return ((fflush(internal_file_) == 0) && !ferror(internal_file_));
-
73 }
-
74 
-
75 bool LocalFile::Seek(uint64_t position) {
-
76 #if defined(OS_WIN)
-
77  return _fseeki64(internal_file_, static_cast<__int64>(position),
-
78  SEEK_SET) == 0;
-
79 #else
-
80  return fseeko(internal_file_, position, SEEK_SET) >= 0;
-
81 #endif // !defined(OS_WIN)
-
82 }
-
83 
-
84 bool LocalFile::Tell(uint64_t* position) {
-
85 #if defined(OS_WIN)
-
86  __int64 offset = _ftelli64(internal_file_);
-
87 #else
-
88  off_t offset = ftello(internal_file_);
-
89 #endif // !defined(OS_WIN)
-
90  if (offset < 0)
-
91  return false;
-
92  *position = static_cast<uint64_t>(offset);
-
93  return true;
-
94 }
-
95 
-
96 LocalFile::~LocalFile() {}
-
97 
- -
99  internal_file_ =
-
100  base::OpenFile(base::FilePath::FromUTF8Unsafe(file_name()), file_mode_.c_str());
-
101  return (internal_file_ != NULL);
-
102 }
-
103 
-
104 bool LocalFile::Delete(const char* file_name) {
-
105  return base::DeleteFile(base::FilePath::FromUTF8Unsafe(file_name), false);
-
106 }
-
107 
-
108 } // namespace media
-
109 } // namespace shaka
-
int64_t Read(void *buffer, uint64_t length) override
Definition: local_file.cc:40
-
bool Close() override
Definition: local_file.cc:30
-
bool Seek(uint64_t position) override
Definition: local_file.cc:75
-
Define an abstract file interface.
Definition: file.h:24
-
LocalFile(const char *file_name, const char *mode)
Definition: local_file.cc:22
-
bool Tell(uint64_t *position) override
Definition: local_file.cc:84
-
int64_t Write(const void *buffer, uint64_t length) override
Definition: local_file.cc:46
-
const std::string & file_name() const
Definition: file.h:91
-
bool Open() override
Internal open. Should not be used directly.
Definition: local_file.cc:98
-
bool Flush() override
Definition: local_file.cc:70
-
int64_t Size() override
Definition: local_file.cc:52
-
static bool Delete(const char *file_name)
Definition: local_file.cc:104
-
- - - - diff --git a/docs/d6/de8/network__util_8h_source.html b/docs/d6/de8/network__util_8h_source.html index a1c7baf21b..4ed6bf98da 100644 --- a/docs/d6/de8/network__util_8h_source.html +++ b/docs/d6/de8/network__util_8h_source.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/de9/ts__segmenter_8cc_source.html b/docs/d6/de9/ts__segmenter_8cc_source.html index f59645ab0b..104add2ebd 100644 --- a/docs/d6/de9/ts__segmenter_8cc_source.html +++ b/docs/d6/de9/ts__segmenter_8cc_source.html @@ -207,7 +207,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
118  }
119  if (listener_) {
120  const int64_t file_size =
-
121  File::GetFileSize(current_segment_path_.c_str());
+
121  File::GetFileSize(current_segment_path_.c_str());
122  listener_->OnNewSegment(current_segment_path_,
123  start_timestamp * timescale_scale_,
124  duration * timescale_scale_, file_size);
@@ -233,7 +233,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
void SetTsWriterFileOpenedForTesting(bool value)
Only for testing.
Definition: ts_segmenter.cc:71
void InjectTsWriterForTesting(std::unique_ptr< TsWriter > writer)
Only for testing.
Definition: ts_segmenter.cc:62
-
static int64_t GetFileSize(const char *file_name)
Definition: file.cc:190
Status FinalizeSegment(uint64_t start_timestamp, uint64_t duration)
@@ -241,7 +240,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/ded/ts__packet_8h_source.html b/docs/d6/ded/ts__packet_8h_source.html index 03e54992dc..c48ab640a2 100644 --- a/docs/d6/ded/ts__packet_8h_source.html +++ b/docs/d6/ded/ts__packet_8h_source.html @@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/def/sync__sample__iterator_8cc_source.html b/docs/d6/def/sync__sample__iterator_8cc_source.html index e0be4602f3..fbbb0150a3 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/dff/classshaka_1_1media_1_1Nalu.html b/docs/d6/dff/classshaka_1_1media_1_1Nalu.html index a242025e3f..dd633e8518 100644 --- a/docs/d6/dff/classshaka_1_1media_1_1Nalu.html +++ b/docs/d6/dff/classshaka_1_1media_1_1Nalu.html @@ -247,7 +247,7 @@ bool can_start_access_unit diff --git a/docs/d7/d01/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription.html b/docs/d7/d01/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription.html index 1f39d5c917..f761a52f9b 100644 --- a/docs/d7/d01/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription.html +++ b/docs/d7/d01/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription.html @@ -194,7 +194,7 @@ Additional Inherited Members diff --git a/docs/d7/d07/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader.html b/docs/d7/d07/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader.html index fcdab3f3b1..f28749680e 100644 --- a/docs/d7/d07/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader.html +++ b/docs/d7/d07/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader.html @@ -182,7 +182,7 @@ Additional Inherited Members 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 9a2d5d7ebc..96dcc40597 100644 --- a/docs/d7/d0b/muxer__listener__test__helper_8h_source.html +++ b/docs/d7/d0b/muxer__listener__test__helper_8h_source.html @@ -202,7 +202,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d12/media__parser_8h_source.html b/docs/d7/d12/media__parser_8h_source.html index 82a02409a2..4f3ca0ce15 100644 --- a/docs/d7/d12/media__parser_8h_source.html +++ b/docs/d7/d12/media__parser_8h_source.html @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d15/mpd__notifier_8h_source.html b/docs/d7/d15/mpd__notifier_8h_source.html index 37c496b1ed..25e9f228fc 100644 --- a/docs/d7/d15/mpd__notifier_8h_source.html +++ b/docs/d7/d15/mpd__notifier_8h_source.html @@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d16/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry-members.html b/docs/d7/d16/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry-members.html index 124e3b3d2d..4f31880a75 100644 --- a/docs/d7/d16/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry-members.html +++ b/docs/d7/d16/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d22/libcrypto__threading_8h_source.html b/docs/d7/d22/libcrypto__threading_8h_source.html index 366c599407..aee961038f 100644 --- a/docs/d7/d22/libcrypto__threading_8h_source.html +++ b/docs/d7/d22/libcrypto__threading_8h_source.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d26/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator.html b/docs/d7/d26/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator.html index 2b652bedcb..8e745629e3 100644 --- a/docs/d7/d26/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator.html +++ b/docs/d7/d26/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator.html @@ -177,7 +177,7 @@ Public Member Functions diff --git a/docs/d7/d29/structshaka_1_1media_1_1H265Sps-members.html b/docs/d7/d29/structshaka_1_1media_1_1H265Sps-members.html index 7d693b4a1a..361a29cc97 100644 --- a/docs/d7/d29/structshaka_1_1media_1_1H265Sps-members.html +++ b/docs/d7/d29/structshaka_1_1media_1_1H265Sps-members.html @@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d29/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html b/docs/d7/d29/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html index bc65b68005..d77d55d791 100644 --- a/docs/d7/d29/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html +++ b/docs/d7/d29/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d34/structshaka_1_1media_1_1EncryptionConfig.html b/docs/d7/d34/structshaka_1_1media_1_1EncryptionConfig.html index 400b168003..cda5c60a4b 100644 --- a/docs/d7/d34/structshaka_1_1media_1_1EncryptionConfig.html +++ b/docs/d7/d34/structshaka_1_1media_1_1EncryptionConfig.html @@ -128,7 +128,7 @@ std::vector
diff --git a/docs/d7/d36/classshaka_1_1media_1_1ContentEncoding-members.html b/docs/d7/d36/classshaka_1_1media_1_1ContentEncoding-members.html index 8005d5491a..aeb445c0b6 100644 --- a/docs/d7/d36/classshaka_1_1media_1_1ContentEncoding-members.html +++ b/docs/d7/d36/classshaka_1_1media_1_1ContentEncoding-members.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d42/protection__system__specific__info_8cc_source.html b/docs/d7/d42/protection__system__specific__info_8cc_source.html index dcd79a9512..b5dfe61276 100644 --- a/docs/d7/d42/protection__system__specific__info_8cc_source.html +++ b/docs/d7/d42/protection__system__specific__info_8cc_source.html @@ -208,9 +208,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
119 } // namespace shaka
std::vector< uint8_t > CreateBox() const
Creates a PSSH box for the current data.
- +
static bool ParseBoxes(const uint8_t *data, size_t data_size, std::vector< ProtectionSystemSpecificInfo > *pssh_boxes)
-
const uint8_t * Buffer() const
Definition: buffer_writer.h:59
+
const uint8_t * Buffer() const
Definition: buffer_writer.h:60
bool HasBytes(size_t count)
Definition: buffer_reader.h:32
bool SkipBytes(size_t num_bytes) WARN_UNUSED_RESULT
@@ -219,7 +219,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d42/structshaka_1_1media_1_1mp4_1_1SampleSize.html b/docs/d7/d42/structshaka_1_1media_1_1mp4_1_1SampleSize.html index 3f501073cd..c7652acbae 100644 --- a/docs/d7/d42/structshaka_1_1media_1_1mp4_1_1SampleSize.html +++ b/docs/d7/d42/structshaka_1_1media_1_1mp4_1_1SampleSize.html @@ -188,7 +188,7 @@ Additional Inherited Members diff --git a/docs/d7/d44/structshaka_1_1media_1_1mp4_1_1SampleEncryption-members.html b/docs/d7/d44/structshaka_1_1media_1_1mp4_1_1SampleEncryption-members.html index 3e2e2dd0f2..5251a9776f 100644 --- a/docs/d7/d44/structshaka_1_1media_1_1mp4_1_1SampleEncryption-members.html +++ b/docs/d7/d44/structshaka_1_1media_1_1mp4_1_1SampleEncryption-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d46/classshaka_1_1media_1_1WebMListParser-members.html b/docs/d7/d46/classshaka_1_1media_1_1WebMListParser-members.html index ae4ac84214..e0fd65b9a8 100644 --- a/docs/d7/d46/classshaka_1_1media_1_1WebMListParser-members.html +++ b/docs/d7/d46/classshaka_1_1media_1_1WebMListParser-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d54/classshaka_1_1media_1_1H26xByteToUnitStreamConverter-members.html b/docs/d7/d54/classshaka_1_1media_1_1H26xByteToUnitStreamConverter-members.html index 072ed183c0..62583ee4bd 100644 --- a/docs/d7/d54/classshaka_1_1media_1_1H26xByteToUnitStreamConverter-members.html +++ b/docs/d7/d54/classshaka_1_1media_1_1H26xByteToUnitStreamConverter-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d58/structshaka_1_1media_1_1PeriodInfo.html b/docs/d7/d58/structshaka_1_1media_1_1PeriodInfo.html index 3c94f3a229..e6358a8e70 100644 --- a/docs/d7/d58/structshaka_1_1media_1_1PeriodInfo.html +++ b/docs/d7/d58/structshaka_1_1media_1_1PeriodInfo.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d59/classshaka_1_1media_1_1DecryptorSource.html b/docs/d7/d59/classshaka_1_1media_1_1DecryptorSource.html index d05dbde0cc..8925d09c97 100644 --- a/docs/d7/d59/classshaka_1_1media_1_1DecryptorSource.html +++ b/docs/d7/d59/classshaka_1_1media_1_1DecryptorSource.html @@ -119,7 +119,7 @@ bool DecryptSampleBuffer diff --git a/docs/d7/d6d/classshaka_1_1media_1_1MediaSample.html b/docs/d7/d6d/classshaka_1_1media_1_1MediaSample.html index 8d8b79523e..68ee466fa4 100644 --- a/docs/d7/d6d/classshaka_1_1media_1_1MediaSample.html +++ b/docs/d7/d6d/classshaka_1_1media_1_1MediaSample.html @@ -446,7 +446,7 @@ static std::shared_ptr
diff --git a/docs/d7/d75/structshaka_1_1media_1_1mp4_1_1MediaHeader-members.html b/docs/d7/d75/structshaka_1_1media_1_1mp4_1_1MediaHeader-members.html index dabe307995..1319081b3e 100644 --- a/docs/d7/d75/structshaka_1_1media_1_1mp4_1_1MediaHeader-members.html +++ b/docs/d7/d75/structshaka_1_1media_1_1mp4_1_1MediaHeader-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d78/structshaka_1_1media_1_1H264SEIMessage-members.html b/docs/d7/d78/structshaka_1_1media_1_1H264SEIMessage-members.html index 9cd12f96bc..4a618a5d80 100644 --- a/docs/d7/d78/structshaka_1_1media_1_1H264SEIMessage-members.html +++ b/docs/d7/d78/structshaka_1_1media_1_1H264SEIMessage-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d79/chunking__handler_8h_source.html b/docs/d7/d79/chunking__handler_8h_source.html index a59af5afe1..e9c706cdf4 100644 --- a/docs/d7/d79/chunking__handler_8h_source.html +++ b/docs/d7/d79/chunking__handler_8h_source.html @@ -188,7 +188,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d7a/classshaka_1_1media_1_1UdpFile.html b/docs/d7/d7a/classshaka_1_1media_1_1UdpFile.html deleted file mode 100644 index 5b64eb0eaf..0000000000 --- a/docs/d7/d7a/classshaka_1_1media_1_1UdpFile.html +++ /dev/null @@ -1,472 +0,0 @@ - - - - - - -DASH Media Packaging SDK: shaka::media::UdpFile Class Reference - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
- -
-
shaka::media::UdpFile Class Reference
-
-
- -

Implements UdpFile, which receives UDP unicast and multicast streams. - More...

- -

#include <udp_file.h>

-
-Inheritance diagram for shaka::media::UdpFile:
-
-
- - -shaka::media::File - -
- - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 UdpFile (const char *address_and_port)
 
File implementation overrides.
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 shaka::media::File
const std::string & file_name () const
 
- - - - - - - - - -

-Protected Member Functions

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

-Additional Inherited Members

- Static Public Member Functions inherited from shaka::media::File
static FileOpen (const char *file_name, const char *mode)
 
static FileOpenWithNoBuffering (const char *file_name, const char *mode)
 
static bool Delete (const char *file_name)
 
static int64_t GetFileSize (const char *file_name)
 
static bool ReadFileToString (const char *file_name, std::string *contents)
 
static bool WriteFileAtomically (const char *file_name, const std::string &contents)
 
static bool Copy (const char *from_file_name, const char *to_file_name)
 
static int64_t CopyFile (File *source, File *destination)
 
static int64_t CopyFile (File *source, File *destination, int64_t max_copy)
 
-

Detailed Description

-

Implements UdpFile, which receives UDP unicast and multicast streams.

- -

Definition at line 27 of file udp_file.h.

-

Constructor & Destructor Documentation

- -
-
- - - - - -
- - - - - - - - -
shaka::media::UdpFile::UdpFile (const char * address_and_port)
-
-explicit
-
-
Parameters
- - -
file_nameC string containing the address of the stream to receive. It should be of the form "<ip_address>:<port>".
-
-
- -

Definition at line 38 of file udp_file.cc.

- -
-
-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - -
bool shaka::media::UdpFile::Close ()
-
-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.

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

Implements shaka::media::File.

- -

Definition at line 44 of file udp_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - -
bool shaka::media::UdpFile::Flush ()
-
-overridevirtual
-
-

Flush 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.
- -

Implements shaka::media::File.

- -

Definition at line 82 of file udp_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int64_t shaka::media::UdpFile::Read (void * buffer,
uint64_t length 
)
-
-overridevirtual
-
-

Read data and return it in buffer.

-
Parameters
- - - -
[out]bufferpoints to a block of memory with a size of at least length bytes.
lengthindicates number of bytes to be read.
-
-
-
Returns
Number of bytes read, or a value < 0 on error. Zero on end-of-file, or if 'length' is zero.
- -

Implements shaka::media::File.

- -

Definition at line 53 of file udp_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - -
bool shaka::media::UdpFile::Seek (uint64_t position)
-
-overridevirtual
-
-

Seek to the specifield position in the file.

-
Parameters
- - -
positionis the position to seek to.
-
-
-
Returns
true on success, false otherwise.
- -

Implements shaka::media::File.

- -

Definition at line 87 of file udp_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - -
int64_t shaka::media::UdpFile::Size ()
-
-overridevirtual
-
-
Returns
Size of the file in bytes. A return value less than zero indicates a problem getting the size.
- -

Implements shaka::media::File.

- -

Definition at line 75 of file udp_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - -
bool shaka::media::UdpFile::Tell (uint64_t * position)
-
-overridevirtual
-
-

Get the current file position.

-
Parameters
- - -
positionis a pointer to contain the current file position upon successful return.
-
-
-
Returns
true on succcess, false otherwise.
- -

Implements shaka::media::File.

- -

Definition at line 92 of file udp_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int64_t shaka::media::UdpFile::Write (const void * buffer,
uint64_t length 
)
-
-overridevirtual
-
-

Write block of data.

-
Parameters
- - - -
bufferpoints to a block of memory with at least length bytes.
lengthindicates number of bytes to write.
-
-
-
Returns
Number of bytes written, or a value < 0 on error.
- -

Implements shaka::media::File.

- -

Definition at line 70 of file udp_file.cc.

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff --git a/docs/d7/d7a/classshaka_1_1media_1_1UdpFile.png b/docs/d7/d7a/classshaka_1_1media_1_1UdpFile.png deleted file mode 100644 index 670e0fb98e..0000000000 Binary files a/docs/d7/d7a/classshaka_1_1media_1_1UdpFile.png and /dev/null differ diff --git a/docs/d7/d7c/vlog__flags_8h_source.html b/docs/d7/d7c/vlog__flags_8h_source.html index 858814cf3d..ee46e3b509 100644 --- a/docs/d7/d7c/vlog__flags_8h_source.html +++ b/docs/d7/d7c/vlog__flags_8h_source.html @@ -105,7 +105,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 1cf98d489c..4bd9770a30 100644 --- a/docs/d7/d87/video__stream__info_8h_source.html +++ b/docs/d7/d87/video__stream__info_8h_source.html @@ -210,7 +210,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d9c/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html b/docs/d7/d9c/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html index d73e8f7735..0be61e2ede 100644 --- a/docs/d7/d9c/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html +++ b/docs/d7/d9c/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html @@ -112,7 +112,7 @@ int delta_poc_msb_cycle_lt diff --git a/docs/d7/d9d/progress__listener_8h_source.html b/docs/d7/d9d/progress__listener_8h_source.html index 08444f8476..c3cf5f3147 100644 --- a/docs/d7/d9d/progress__listener_8h_source.html +++ b/docs/d7/d9d/progress__listener_8h_source.html @@ -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 93fb4f5adb..3f8fed8485 100644 --- a/docs/d7/da4/track__run__iterator_8h_source.html +++ b/docs/d7/da4/track__run__iterator_8h_source.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dae/structshaka_1_1media_1_1mp4_1_1MediaData.html b/docs/d7/dae/structshaka_1_1media_1_1mp4_1_1MediaData.html index b14dd7caae..f67f1b5622 100644 --- a/docs/d7/dae/structshaka_1_1media_1_1mp4_1_1MediaData.html +++ b/docs/d7/dae/structshaka_1_1media_1_1mp4_1_1MediaData.html @@ -173,7 +173,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 32c99b5099..e63bd92b28 100644 --- a/docs/d7/db0/mpd__writer_8h_source.html +++ b/docs/d7/db0/mpd__writer_8h_source.html @@ -182,7 +182,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/db7/structshaka_1_1media_1_1mp4_1_1SampleToChunk-members.html b/docs/d7/db7/structshaka_1_1media_1_1mp4_1_1SampleToChunk-members.html index aaf7dfebf7..c317589b4b 100644 --- a/docs/d7/db7/structshaka_1_1media_1_1mp4_1_1SampleToChunk-members.html +++ b/docs/d7/db7/structshaka_1_1media_1_1mp4_1_1SampleToChunk-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dc3/structshaka_1_1media_1_1mp4_1_1TextSampleEntry.html b/docs/d7/dc3/structshaka_1_1media_1_1mp4_1_1TextSampleEntry.html index 8f1d3e9f3e..1b76070b7c 100644 --- a/docs/d7/dc3/structshaka_1_1media_1_1mp4_1_1TextSampleEntry.html +++ b/docs/d7/dc3/structshaka_1_1media_1_1mp4_1_1TextSampleEntry.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d7/dc6/byte__queue_8h_source.html b/docs/d7/dc6/byte__queue_8h_source.html index bcc36254e2..062cbbc58d 100644 --- a/docs/d7/dc6/byte__queue_8h_source.html +++ b/docs/d7/dc6/byte__queue_8h_source.html @@ -146,7 +146,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 7765519dd7..b479e9c58a 100644 --- a/docs/d7/dd0/mpd__notifier__util_8h_source.html +++ b/docs/d7/dd0/mpd__notifier__util_8h_source.html @@ -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 005ad98dab..cc1711edf8 100644 --- a/docs/d7/dd4/request__signer_8h_source.html +++ b/docs/d7/dd4/request__signer_8h_source.html @@ -180,7 +180,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html b/docs/d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html index 1da8395c6e..afe656d0f6 100644 --- a/docs/d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html +++ b/docs/d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html @@ -286,7 +286,7 @@ std::shared_ptr< diff --git a/docs/d7/dd6/key__source_8cc_source.html b/docs/d7/dd6/key__source_8cc_source.html index 35255e6ea3..d52f120b68 100644 --- a/docs/d7/dd6/key__source_8cc_source.html +++ b/docs/d7/dd6/key__source_8cc_source.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dda/classshaka_1_1media_1_1ByteQueue.html b/docs/d7/dda/classshaka_1_1media_1_1ByteQueue.html index d65fd84024..699cc9b1d0 100644 --- a/docs/d7/dda/classshaka_1_1media_1_1ByteQueue.html +++ b/docs/d7/dda/classshaka_1_1media_1_1ByteQueue.html @@ -177,7 +177,7 @@ void  diff --git a/docs/d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html b/docs/d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html index 0d4366a381..ff1b331ab2 100644 --- a/docs/d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html +++ b/docs/d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d7/de0/classshaka_1_1media_1_1HttpKeyFetcher.html b/docs/d7/de0/classshaka_1_1media_1_1HttpKeyFetcher.html index c87634b327..f5fe350157 100644 --- a/docs/d7/de0/classshaka_1_1media_1_1HttpKeyFetcher.html +++ b/docs/d7/de0/classshaka_1_1media_1_1HttpKeyFetcher.html @@ -399,7 +399,7 @@ KeyFetcher implementation overrides. diff --git a/docs/d7/de0/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry.html b/docs/d7/de0/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry.html index 9fe03d04f9..24b8d83351 100644 --- a/docs/d7/de0/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry.html +++ b/docs/d7/de0/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry.html @@ -120,7 +120,7 @@ uint32_t group_description 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 65ca9560f9..6fe3d20c4b 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 @@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dee/mpd__generator_8cc_source.html b/docs/d7/dee/mpd__generator_8cc_source.html index c0585f1cc3..1936a322a9 100644 --- a/docs/d7/dee/mpd__generator_8cc_source.html +++ b/docs/d7/dee/mpd__generator_8cc_source.html @@ -231,7 +231,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 6d12a24033..2b280782e4 100644 --- a/docs/d7/def/mp4__media__parser_8cc_source.html +++ b/docs/d7/def/mp4__media__parser_8cc_source.html @@ -100,20 +100,20 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
11 #include "packager/base/callback_helpers.h"
12 #include "packager/base/logging.h"
13 #include "packager/base/strings/string_number_conversions.h"
-
14 #include "packager/media/base/audio_stream_info.h"
-
15 #include "packager/media/base/buffer_reader.h"
-
16 #include "packager/media/base/decrypt_config.h"
-
17 #include "packager/media/base/key_source.h"
-
18 #include "packager/media/base/macros.h"
-
19 #include "packager/media/base/media_sample.h"
-
20 #include "packager/media/base/rcheck.h"
-
21 #include "packager/media/base/video_stream_info.h"
-
22 #include "packager/media/codecs/avc_decoder_configuration_record.h"
-
23 #include "packager/media/codecs/es_descriptor.h"
-
24 #include "packager/media/codecs/hevc_decoder_configuration_record.h"
-
25 #include "packager/media/codecs/vp_codec_configuration_record.h"
-
26 #include "packager/media/file/file.h"
-
27 #include "packager/media/file/file_closer.h"
+
14 #include "packager/file/file.h"
+
15 #include "packager/file/file_closer.h"
+
16 #include "packager/media/base/audio_stream_info.h"
+
17 #include "packager/media/base/buffer_reader.h"
+
18 #include "packager/media/base/decrypt_config.h"
+
19 #include "packager/media/base/key_source.h"
+
20 #include "packager/media/base/macros.h"
+
21 #include "packager/media/base/media_sample.h"
+
22 #include "packager/media/base/rcheck.h"
+
23 #include "packager/media/base/video_stream_info.h"
+
24 #include "packager/media/codecs/avc_decoder_configuration_record.h"
+
25 #include "packager/media/codecs/es_descriptor.h"
+
26 #include "packager/media/codecs/hevc_decoder_configuration_record.h"
+
27 #include "packager/media/codecs/vp_codec_configuration_record.h"
28 #include "packager/media/formats/mp4/box_definitions.h"
29 #include "packager/media/formats/mp4/box_reader.h"
30 #include "packager/media/formats/mp4/track_run_iterator.h"
@@ -261,7 +261,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
172 
173 bool MP4MediaParser::LoadMoov(const std::string& file_path) {
174  std::unique_ptr<File, FileCloser> file(
-
175  File::OpenWithNoBuffering(file_path.c_str(), "r"));
+
175  File::OpenWithNoBuffering(file_path.c_str(), "r"));
176  if (!file) {
177  LOG(ERROR) << "Unable to open media file '" << file_path << "'";
178  return false;
@@ -870,7 +870,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
781 } // namespace shaka
void PeekAt(int64_t offset, const uint8_t **buf, int *size)
-
static File * OpenWithNoBuffering(const char *file_name, const char *mode)
Definition: file.cc:170
bool Flush() override WARN_UNUSED_RESULT
bool Trim(int64_t max_offset)
bool Parse(const uint8_t *buf, int size) override WARN_UNUSED_RESULT
@@ -886,7 +885,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 8649be8685..90d2242bb3 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/d08/classshaka_1_1media_1_1H264ByteToUnitStreamConverter.html b/docs/d8/d08/classshaka_1_1media_1_1H264ByteToUnitStreamConverter.html index fefa6786d5..2362dffc7d 100644 --- a/docs/d8/d08/classshaka_1_1media_1_1H264ByteToUnitStreamConverter.html +++ b/docs/d8/d08/classshaka_1_1media_1_1H264ByteToUnitStreamConverter.html @@ -233,7 +233,7 @@ void WarnIfNotMatch (i diff --git a/docs/d8/d08/classshaka_1_1media_1_1WebMClusterParser-members.html b/docs/d8/d08/classshaka_1_1media_1_1WebMClusterParser-members.html index 39353285fd..f1068a6a5d 100644 --- a/docs/d8/d08/classshaka_1_1media_1_1WebMClusterParser-members.html +++ b/docs/d8/d08/classshaka_1_1media_1_1WebMClusterParser-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d08/classshaka_1_1media_1_1mp2t_1_1TsWriter-members.html b/docs/d8/d08/classshaka_1_1media_1_1mp2t_1_1TsWriter-members.html index 2096bbceff..85289965d2 100644 --- a/docs/d8/d08/classshaka_1_1media_1_1mp2t_1_1TsWriter-members.html +++ b/docs/d8/d08/classshaka_1_1media_1_1mp2t_1_1TsWriter-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d08/structshaka_1_1media_1_1mp4_1_1MovieHeader-members.html b/docs/d8/d08/structshaka_1_1media_1_1mp4_1_1MovieHeader-members.html index 9bd562e585..340716daff 100644 --- a/docs/d8/d08/structshaka_1_1media_1_1mp4_1_1MovieHeader-members.html +++ b/docs/d8/d08/structshaka_1_1media_1_1mp4_1_1MovieHeader-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d0d/media__sample_8cc_source.html b/docs/d8/d0d/media__sample_8cc_source.html index 6280dee574..efae2dbe4a 100644 --- a/docs/d8/d0d/media__sample_8cc_source.html +++ b/docs/d8/d0d/media__sample_8cc_source.html @@ -221,7 +221,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1DecodingTime.html b/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1DecodingTime.html index 4c63c09ad8..7af1a5a089 100644 --- a/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1DecodingTime.html +++ b/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1DecodingTime.html @@ -112,7 +112,7 @@ uint32_t sample_delta< diff --git a/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1PrivFrame-members.html b/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1PrivFrame-members.html index 0da8a6767c..c2590b0454 100644 --- a/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1PrivFrame-members.html +++ b/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1PrivFrame-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d13/classshaka_1_1media_1_1BitReader-members.html b/docs/d8/d13/classshaka_1_1media_1_1BitReader-members.html index b0a589783a..9d98585e86 100644 --- a/docs/d8/d13/classshaka_1_1media_1_1BitReader-members.html +++ b/docs/d8/d13/classshaka_1_1media_1_1BitReader-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d14/classshaka_1_1media_1_1VP8Parser.html b/docs/d8/d14/classshaka_1_1media_1_1VP8Parser.html index 3467abc4af..a6605a8654 100644 --- a/docs/d8/d14/classshaka_1_1media_1_1VP8Parser.html +++ b/docs/d8/d14/classshaka_1_1media_1_1VP8Parser.html @@ -235,7 +235,7 @@ Additional Inherited Members diff --git a/docs/d8/d16/structshaka_1_1media_1_1MuxerOptions-members.html b/docs/d8/d16/structshaka_1_1media_1_1MuxerOptions-members.html index 9f602bb517..1684b16cf1 100644 --- a/docs/d8/d16/structshaka_1_1media_1_1MuxerOptions-members.html +++ b/docs/d8/d16/structshaka_1_1media_1_1MuxerOptions-members.html @@ -105,7 +105,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 5c5d741eb8..c20dd742e6 100644 --- a/docs/d8/d19/bandwidth__estimator_8h_source.html +++ b/docs/d8/d19/bandwidth__estimator_8h_source.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d1c/crypto__flags_8cc_source.html b/docs/d8/d1c/crypto__flags_8cc_source.html index cd31ee6e5b..8db94aba5e 100644 --- a/docs/d8/d1c/crypto__flags_8cc_source.html +++ b/docs/d8/d1c/crypto__flags_8cc_source.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d20/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html b/docs/d8/d20/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html index d0d21a0eaa..c56f240bc8 100644 --- a/docs/d8/d20/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html +++ b/docs/d8/d20/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d8/d23/structshaka_1_1media_1_1SubsampleEntry-members.html b/docs/d8/d23/structshaka_1_1media_1_1SubsampleEntry-members.html index e137f1c4c3..3611c0ad90 100644 --- a/docs/d8/d23/structshaka_1_1media_1_1SubsampleEntry-members.html +++ b/docs/d8/d23/structshaka_1_1media_1_1SubsampleEntry-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d28/es__parser__h265_8h_source.html b/docs/d8/d28/es__parser__h265_8h_source.html index 309bc886d2..790111011c 100644 --- a/docs/d8/d28/es__parser__h265_8h_source.html +++ b/docs/d8/d28/es__parser__h265_8h_source.html @@ -153,7 +153,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d33/webm__content__encodings__client_8h_source.html b/docs/d8/d33/webm__content__encodings__client_8h_source.html index 0b8938c7ea..b0079b5bed 100644 --- a/docs/d8/d33/webm__content__encodings__client_8h_source.html +++ b/docs/d8/d33/webm__content__encodings__client_8h_source.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d4d/aes__decryptor_8h_source.html b/docs/d8/d4d/aes__decryptor_8h_source.html index 181c4296da..d1afd02611 100644 --- a/docs/d8/d4d/aes__decryptor_8h_source.html +++ b/docs/d8/d4d/aes__decryptor_8h_source.html @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d4f/classshaka_1_1media_1_1TextSample-members.html b/docs/d8/d4f/classshaka_1_1media_1_1TextSample-members.html index acaebf45b0..e1dc4144bc 100644 --- a/docs/d8/d4f/classshaka_1_1media_1_1TextSample-members.html +++ b/docs/d8/d4f/classshaka_1_1media_1_1TextSample-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d53/crypto__flags_8h_source.html b/docs/d8/d53/crypto__flags_8h_source.html index 06459f7469..0b1e0c4a7c 100644 --- a/docs/d8/d53/crypto__flags_8h_source.html +++ b/docs/d8/d53/crypto__flags_8h_source.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d5b/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry.html b/docs/d8/d5b/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry.html index 220872d3e5..5a713eae99 100644 --- a/docs/d8/d5b/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry.html +++ b/docs/d8/d5b/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry.html @@ -206,7 +206,7 @@ Additional Inherited Members diff --git a/docs/d8/d6a/classshaka_1_1media_1_1ClusterBuilder-members.html b/docs/d8/d6a/classshaka_1_1media_1_1ClusterBuilder-members.html index 8f9c19c475..b4afac7c0f 100644 --- a/docs/d8/d6a/classshaka_1_1media_1_1ClusterBuilder-members.html +++ b/docs/d8/d6a/classshaka_1_1media_1_1ClusterBuilder-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d6d/structshaka_1_1media_1_1mp4_1_1DataInformation.html b/docs/d8/d6d/structshaka_1_1media_1_1mp4_1_1DataInformation.html index ee105f35cd..6bf2ef0316 100644 --- a/docs/d8/d6d/structshaka_1_1media_1_1mp4_1_1DataInformation.html +++ b/docs/d8/d6d/structshaka_1_1media_1_1mp4_1_1DataInformation.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d8/d70/structshaka_1_1media_1_1mp4_1_1Metadata-members.html b/docs/d8/d70/structshaka_1_1media_1_1mp4_1_1Metadata-members.html index 1c7ba64d8e..85cee68e0c 100644 --- a/docs/d8/d70/structshaka_1_1media_1_1mp4_1_1Metadata-members.html +++ b/docs/d8/d70/structshaka_1_1media_1_1mp4_1_1Metadata-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d74/classshaka_1_1media_1_1TracksBuilder.html b/docs/d8/d74/classshaka_1_1media_1_1TracksBuilder.html index a86c3fee84..871fbf6855 100644 --- a/docs/d8/d74/classshaka_1_1media_1_1TracksBuilder.html +++ b/docs/d8/d74/classshaka_1_1media_1_1TracksBuilder.html @@ -123,7 +123,7 @@ std::vector< uint8_t >  diff --git a/docs/d8/d86/classshaka_1_1media_1_1WebMTracksParser.html b/docs/d8/d86/classshaka_1_1media_1_1WebMTracksParser.html index 8e8f1759c2..02a9d30872 100644 --- a/docs/d8/d86/classshaka_1_1media_1_1WebMTracksParser.html +++ b/docs/d8/d86/classshaka_1_1media_1_1WebMTracksParser.html @@ -228,7 +228,7 @@ The number of bytes parsed on success. diff --git a/docs/d8/d88/structshaka_1_1media_1_1mp4_1_1MovieExtends-members.html b/docs/d8/d88/structshaka_1_1media_1_1mp4_1_1MovieExtends-members.html index 4d149cb0a2..2d22efcdec 100644 --- a/docs/d8/d88/structshaka_1_1media_1_1mp4_1_1MovieExtends-members.html +++ b/docs/d8/d88/structshaka_1_1media_1_1mp4_1_1MovieExtends-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d8e/classshaka_1_1AdaptationSet.html b/docs/d8/d8e/classshaka_1_1AdaptationSet.html index fd647f4546..51082c2d5a 100644 --- a/docs/d8/d8e/classshaka_1_1AdaptationSet.html +++ b/docs/d8/d8e/classshaka_1_1AdaptationSet.html @@ -169,7 +169,7 @@ template<DashProfile profile>

Detailed Description

AdaptationSet class provides methods to add Representations and <ContentProtection> elements to the AdaptationSet element.

-

Definition at line 145 of file mpd_builder.h.

+

Definition at line 142 of file mpd_builder.h.

Constructor & Destructor Documentation

@@ -252,7 +252,7 @@ template<DashProfile profile>
Returns
the ids of the adaptation sets this adaptation set can switch to.
-

Definition at line 220 of file mpd_builder.h.

+

Definition at line 217 of file mpd_builder.h.

@@ -603,7 +603,7 @@ template<DashProfile profile> diff --git a/docs/d8/d91/classshaka_1_1media_1_1AesCtrEncryptor-members.html b/docs/d8/d91/classshaka_1_1media_1_1AesCtrEncryptor-members.html index f0017a4319..734053ec66 100644 --- a/docs/d8/d91/classshaka_1_1media_1_1AesCtrEncryptor-members.html +++ b/docs/d8/d91/classshaka_1_1media_1_1AesCtrEncryptor-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d92/classshaka_1_1media_1_1AesRequestSigner-members.html b/docs/d8/d92/classshaka_1_1media_1_1AesRequestSigner-members.html index 40e114891d..4f1529f326 100644 --- a/docs/d8/d92/classshaka_1_1media_1_1AesRequestSigner-members.html +++ b/docs/d8/d92/classshaka_1_1media_1_1AesRequestSigner-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d92/structshaka_1_1media_1_1H264DecRefPicMarking-members.html b/docs/d8/d92/structshaka_1_1media_1_1H264DecRefPicMarking-members.html index 2bb860f483..f1822a08e9 100644 --- a/docs/d8/d92/structshaka_1_1media_1_1H264DecRefPicMarking-members.html +++ b/docs/d8/d92/structshaka_1_1media_1_1H264DecRefPicMarking-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d93/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader-members.html b/docs/d8/d93/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader-members.html index e4fdcab80f..7c1db24845 100644 --- a/docs/d8/d93/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader-members.html +++ b/docs/d8/d93/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d94/adts__constants_8cc_source.html b/docs/d8/d94/adts__constants_8cc_source.html index ad2884e06d..31df0e2714 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/d94/pes__packet_8h_source.html b/docs/d8/d94/pes__packet_8h_source.html index d2ef854b8a..b9e026409b 100644 --- a/docs/d8/d94/pes__packet_8h_source.html +++ b/docs/d8/d94/pes__packet_8h_source.html @@ -159,7 +159,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d99/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox-members.html b/docs/d8/d99/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox-members.html index c56aca4c73..9dbf066585 100644 --- a/docs/d8/d99/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox-members.html +++ b/docs/d8/d99/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox-members.html @@ -109,7 +109,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 289b767056..60452a83ac 100644 --- a/docs/d8/d9a/fragmenter_8cc_source.html +++ b/docs/d8/d9a/fragmenter_8cc_source.html @@ -378,7 +378,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status InitializeFragment(int64_t first_sample_dts)
Definition: fragmenter.cc:116
- +
Fragmenter(std::shared_ptr< StreamInfo > info, TrackFragment *traf)
Definition: fragmenter.cc:47
Status AddSample(std::shared_ptr< MediaSample > sample)
Definition: fragmenter.cc:64
void GenerateSegmentReference(SegmentReference *reference)
Fill reference with current fragment information.
Definition: fragmenter.cc:204
@@ -389,7 +389,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 index 2d6967524c..241f26281e 100644 --- a/docs/d8/d9c/webm__tracks__parser_8cc_source.html +++ b/docs/d8/d9c/webm__tracks__parser_8cc_source.html @@ -441,7 +441,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d9f/udp__file_8h_source.html b/docs/d8/d9f/udp__file_8h_source.html deleted file mode 100644 index ce3e567958..0000000000 --- a/docs/d8/d9f/udp__file_8h_source.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/udp_file.h Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
udp_file.h
-
-
-
1 // Copyright 2014 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
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 
-
10 #include <stdint.h>
-
11 
-
12 #include <string>
-
13 
-
14 #include "packager/base/compiler_specific.h"
-
15 #include "packager/media/file/file.h"
-
16 
-
17 #if defined(OS_WIN)
-
18 #include <winsock2.h>
-
19 #else
-
20 typedef int SOCKET;
-
21 #endif // defined(OS_WIN)
-
22 
-
23 namespace shaka {
-
24 namespace media {
-
25 
-
27 class UdpFile : public File {
-
28  public:
-
31  explicit UdpFile(const char* address_and_port);
-
32 
-
35  bool Close() override;
-
36  int64_t Read(void* buffer, uint64_t length) override;
-
37  int64_t Write(const void* buffer, uint64_t length) override;
-
38  int64_t Size() override;
-
39  bool Flush() override;
-
40  bool Seek(uint64_t position) override;
-
41  bool Tell(uint64_t* position) override;
-
43 
-
44  protected:
-
45  ~UdpFile() override;
-
46 
-
47  bool Open() override;
-
48 
-
49  private:
-
50  SOCKET socket_;
-
51 
-
52  DISALLOW_COPY_AND_ASSIGN(UdpFile);
-
53 };
-
54 
-
55 } // namespace media
-
56 } // namespace shaka
-
57 
-
58 #endif // MEDIA_FILE_UDP_FILE_H_
-
bool Open() override
Internal open. Should not be used directly.
Definition: udp_file.cc:140
-
int64_t Write(const void *buffer, uint64_t length) override
Definition: udp_file.cc:70
-
Implements UdpFile, which receives UDP unicast and multicast streams.
Definition: udp_file.h:27
-
Define an abstract file interface.
Definition: file.h:24
-
int64_t Read(void *buffer, uint64_t length) override
Definition: udp_file.cc:53
-
bool Tell(uint64_t *position) override
Definition: udp_file.cc:92
-
bool Flush() override
Definition: udp_file.cc:82
-
UdpFile(const char *address_and_port)
Definition: udp_file.cc:38
-
bool Seek(uint64_t position) override
Definition: udp_file.cc:87
-
bool Close() override
Definition: udp_file.cc:44
-
int64_t Size() override
Definition: udp_file.cc:75
-
- - - - diff --git a/docs/d8/da3/classshaka_1_1media_1_1DecryptorSource-members.html b/docs/d8/da3/classshaka_1_1media_1_1DecryptorSource-members.html index ee1f09273a..311aed6a29 100644 --- a/docs/d8/da3/classshaka_1_1media_1_1DecryptorSource-members.html +++ b/docs/d8/da3/classshaka_1_1media_1_1DecryptorSource-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/da5/structshaka_1_1media_1_1mp4_1_1SampleSize-members.html b/docs/d8/da5/structshaka_1_1media_1_1mp4_1_1SampleSize-members.html index 9bffc7e9b7..10c3a36f47 100644 --- a/docs/d8/da5/structshaka_1_1media_1_1mp4_1_1SampleSize-members.html +++ b/docs/d8/da5/structshaka_1_1media_1_1mp4_1_1SampleSize-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/da6/classshaka_1_1media_1_1NaluReader-members.html b/docs/d8/da6/classshaka_1_1media_1_1NaluReader-members.html index 1aeecc6561..93022d38a7 100644 --- a/docs/d8/da6/classshaka_1_1media_1_1NaluReader-members.html +++ b/docs/d8/da6/classshaka_1_1media_1_1NaluReader-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/daa/stream__info_8h_source.html b/docs/d8/daa/stream__info_8h_source.html index 2fc6373096..ffe2c1d615 100644 --- a/docs/d8/daa/stream__info_8h_source.html +++ b/docs/d8/daa/stream__info_8h_source.html @@ -224,7 +224,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/daf/namespaceshaka.html b/docs/d8/daf/namespaceshaka.html index 995a6ba0ce..cc08433128 100644 --- a/docs/d8/daf/namespaceshaka.html +++ b/docs/d8/daf/namespaceshaka.html @@ -179,8 +179,6 @@ bool ValidateHexString   std::string LanguageToISO_639_2 (const std::string &language)   -bool TempFilePath (const std::string &temp_dir, std::string *temp_file_path) -  bool WriteMpdToFile (const std::string &output_path, MpdBuilder *mpd_builder)   ContentType GetContentType (const MediaInfo &media_info) @@ -499,43 +497,6 @@ const char kPsshElementNam

Definition at line 15 of file validate_flag.cc.

- - - -
-
- - - - - - - - - - - - - - - - - - -
bool shaka::TempFilePath (const std::string & temp_dir,
std::string * temp_file_path 
)
-
-

Create a temp file name in directory temp_dir. Generate the temp file in os specific temporary directory if temp_dir is empty.

-
Parameters
- - - -
temp_dirspecifies the directory where the file should go.
temp_file_pathis the result temp file path on success.
-
-
-
Returns
true on success, false otherwise.
- -

Definition at line 27 of file file_util.cc.

-
@@ -693,7 +654,7 @@ template<class FlagType > diff --git a/docs/d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html b/docs/d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html index 8023566b3d..786608ba4d 100644 --- a/docs/d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html +++ b/docs/d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html @@ -264,7 +264,7 @@ void set_progress_target diff --git a/docs/d8/db9/classshaka_1_1media_1_1WebMContentEncodingsClient-members.html b/docs/d8/db9/classshaka_1_1media_1_1WebMContentEncodingsClient-members.html index 7bd659505a..d20b30df66 100644 --- a/docs/d8/db9/classshaka_1_1media_1_1WebMContentEncodingsClient-members.html +++ b/docs/d8/db9/classshaka_1_1media_1_1WebMContentEncodingsClient-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dc2/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo.html b/docs/d8/dc2/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo.html index 6e704c7dda..00c1c5ff1e 100644 --- a/docs/d8/dc2/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo.html +++ b/docs/d8/dc2/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo.html @@ -118,7 +118,7 @@ int frame_num = 0 diff --git a/docs/d8/dc3/structshaka_1_1media_1_1mp4_1_1CueTimeBox.html b/docs/d8/dc3/structshaka_1_1media_1_1mp4_1_1CueTimeBox.html index 0d5b52f6db..20641492ac 100644 --- a/docs/d8/dc3/structshaka_1_1media_1_1mp4_1_1CueTimeBox.html +++ b/docs/d8/dc3/structshaka_1_1media_1_1mp4_1_1CueTimeBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d8/dca/ts__writer_8h_source.html b/docs/d8/dca/ts__writer_8h_source.html index f19aef1bb2..c52fec0f2b 100644 --- a/docs/d8/dca/ts__writer_8h_source.html +++ b/docs/d8/dca/ts__writer_8h_source.html @@ -101,8 +101,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
12 #include <memory>
13 #include <vector>
14 
-
15 #include "packager/media/file/file.h"
-
16 #include "packager/media/file/file_closer.h"
+
15 #include "packager/file/file.h"
+
16 #include "packager/file/file_closer.h"
17 #include "packager/media/formats/mp2t/continuity_counter.h"
18 #include "packager/media/formats/mp2t/pes_packet.h"
19 #include "packager/media/formats/mp2t/program_map_table_writer.h"
@@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1DecodingTime-members.html b/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1DecodingTime-members.html index 2eaf99dbba..f44e2b1593 100644 --- a/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1DecodingTime-members.html +++ b/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1DecodingTime-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1TrackExtends-members.html b/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1TrackExtends-members.html index 4737324ca0..52c0ed29ad 100644 --- a/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1TrackExtends-members.html +++ b/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1TrackExtends-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dd6/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter.html b/docs/d8/dd6/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter.html index 83a77f3cd3..e1fc2d85f7 100644 --- a/docs/d8/dd6/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter.html +++ b/docs/d8/dd6/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter.html @@ -129,7 +129,7 @@ Public Member Functions diff --git a/docs/d8/dd6/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html b/docs/d8/dd6/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html index dc7b03d632..9ae3f9a7fa 100644 --- a/docs/d8/dd6/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html +++ b/docs/d8/dd6/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html @@ -135,7 +135,7 @@ std::vector< uint8_t >  diff --git a/docs/d8/de1/classshaka_1_1SimpleMpdNotifier.html b/docs/d8/de1/classshaka_1_1SimpleMpdNotifier.html index 4b20777b56..ce1faae2b4 100644 --- a/docs/d8/de1/classshaka_1_1SimpleMpdNotifier.html +++ b/docs/d8/de1/classshaka_1_1SimpleMpdNotifier.html @@ -473,7 +473,7 @@ class SimpleMpdNotifierTes diff --git a/docs/d8/de6/webm__crypto__helpers_8h_source.html b/docs/d8/de6/webm__crypto__helpers_8h_source.html index 100d5d365f..8d7a2507a1 100644 --- a/docs/d8/de6/webm__crypto__helpers_8h_source.html +++ b/docs/d8/de6/webm__crypto__helpers_8h_source.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/deb/classshaka_1_1media_1_1mp2t_1_1EsParser-members.html b/docs/d8/deb/classshaka_1_1media_1_1mp2t_1_1EsParser-members.html index 3a49440530..2df23fd44c 100644 --- a/docs/d8/deb/classshaka_1_1media_1_1mp2t_1_1EsParser-members.html +++ b/docs/d8/deb/classshaka_1_1media_1_1mp2t_1_1EsParser-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/deb/retired__flags_8cc_source.html b/docs/d8/deb/retired__flags_8cc_source.html index 1d9d54fd56..3d71ca523a 100644 --- a/docs/d8/deb/retired__flags_8cc_source.html +++ b/docs/d8/deb/retired__flags_8cc_source.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dee/classshaka_1_1media_1_1AudioTimestampHelper-members.html b/docs/d8/dee/classshaka_1_1media_1_1AudioTimestampHelper-members.html index 1aa617279e..4806b4a8c0 100644 --- a/docs/d8/dee/classshaka_1_1media_1_1AudioTimestampHelper-members.html +++ b/docs/d8/dee/classshaka_1_1media_1_1AudioTimestampHelper-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dee/classshaka_1_1media_1_1VPxParser-members.html b/docs/d8/dee/classshaka_1_1media_1_1VPxParser-members.html index a554647f2d..e653824571 100644 --- a/docs/d8/dee/classshaka_1_1media_1_1VPxParser-members.html +++ b/docs/d8/dee/classshaka_1_1media_1_1VPxParser-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/df0/webm_2single__segment__segmenter_8cc_source.html b/docs/d8/df0/webm_2single__segment__segmenter_8cc_source.html index 476b447182..67e1a56b8e 100644 --- a/docs/d8/df0/webm_2single__segment__segmenter_8cc_source.html +++ b/docs/d8/df0/webm_2single__segment__segmenter_8cc_source.html @@ -218,7 +218,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/df7/classshaka_1_1media_1_1SegmentTestBase-members.html b/docs/d8/df7/classshaka_1_1media_1_1SegmentTestBase-members.html index 291bd12453..9e319501fb 100644 --- a/docs/d8/df7/classshaka_1_1media_1_1SegmentTestBase-members.html +++ b/docs/d8/df7/classshaka_1_1media_1_1SegmentTestBase-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dfa/nal__unit__to__byte__stream__converter_8h_source.html b/docs/d8/dfa/nal__unit__to__byte__stream__converter_8h_source.html index 7b35d2ec71..aa50a28b7c 100644 --- a/docs/d8/dfa/nal__unit__to__byte__stream__converter_8h_source.html +++ b/docs/d8/dfa/nal__unit__to__byte__stream__converter_8h_source.html @@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d00/structshaka_1_1media_1_1OnMediaEndParameters-members.html b/docs/d9/d00/structshaka_1_1media_1_1OnMediaEndParameters-members.html index 20c73ddaed..12c41c9ec2 100644 --- a/docs/d9/d00/structshaka_1_1media_1_1OnMediaEndParameters-members.html +++ b/docs/d9/d00/structshaka_1_1media_1_1OnMediaEndParameters-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d01/mp4_2single__segment__segmenter_8h_source.html b/docs/d9/d01/mp4_2single__segment__segmenter_8h_source.html index 66ad5eb6ae..b1f9912836 100644 --- a/docs/d9/d01/mp4_2single__segment__segmenter_8h_source.html +++ b/docs/d9/d01/mp4_2single__segment__segmenter_8h_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_
8 #define MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_
9 
-
10 #include "packager/media/event/muxer_listener.h"
-
11 #include "packager/media/file/file_closer.h"
+
10 #include "packager/file/file_closer.h"
+
11 #include "packager/media/event/muxer_listener.h"
12 #include "packager/media/formats/mp4/segmenter.h"
13 
14 namespace shaka {
@@ -141,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d08/mock__mpd__builder_8h_source.html b/docs/d9/d08/mock__mpd__builder_8h_source.html index 94f090e5f2..3ee5b9a9e9 100644 --- a/docs/d9/d08/mock__mpd__builder_8h_source.html +++ b/docs/d9/d08/mock__mpd__builder_8h_source.html @@ -154,10 +154,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
65 #endif // MPD_BASE_MOCK_MPD_BUILDER_H_
virtual void AddNewSegment(uint64_t start_time, uint64_t duration, uint64_t size)
- +
virtual void SetSampleDuration(uint32_t sample_duration)
virtual Representation * AddRepresentation(const MediaInfo &media_info)
Definition: mpd_builder.cc:663
-
This class generates DASH MPDs (Media Presentation Descriptions).
Definition: mpd_builder.h:57
+
This class generates DASH MPDs (Media Presentation Descriptions).
Definition: mpd_builder.h:54
virtual void AddContentProtectionElement(const ContentProtectionElement &element)
Definition: mpd_builder.cc:709
@@ -167,14 +167,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual bool ToString(std::string *output)
Definition: mpd_builder.cc:396
virtual void ForceSetSegmentAlignment(bool segment_alignment)
Definition: mpd_builder.cc:830
virtual void AddContentProtectionElement(const ContentProtectionElement &element)
- +
virtual AdaptationSet * AddAdaptationSet(const std::string &lang)
Definition: mpd_builder.cc:382
virtual void UpdateContentProtectionPssh(const std::string &drm_uuid, const std::string &pssh)
diff --git a/docs/d9/d0b/classshaka_1_1media_1_1HlsNotifyMuxerListener-members.html b/docs/d9/d0b/classshaka_1_1media_1_1HlsNotifyMuxerListener-members.html index 9b4aef6c67..516e139dda 100644 --- a/docs/d9/d0b/classshaka_1_1media_1_1HlsNotifyMuxerListener-members.html +++ b/docs/d9/d0b/classshaka_1_1media_1_1HlsNotifyMuxerListener-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d0c/classshaka_1_1media_1_1RsaPublicKey.html b/docs/d9/d0c/classshaka_1_1media_1_1RsaPublicKey.html index b2162b5054..6b359bac52 100644 --- a/docs/d9/d0c/classshaka_1_1media_1_1RsaPublicKey.html +++ b/docs/d9/d0c/classshaka_1_1media_1_1RsaPublicKey.html @@ -218,7 +218,7 @@ Static Public Member Functions diff --git a/docs/d9/d12/chunking__handler_8cc_source.html b/docs/d9/d12/chunking__handler_8cc_source.html index 3deabc9820..79c6b8261f 100644 --- a/docs/d9/d12/chunking__handler_8cc_source.html +++ b/docs/d9/d12/chunking__handler_8cc_source.html @@ -356,7 +356,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d13/classshaka_1_1media_1_1BufferReader.html b/docs/d9/d13/classshaka_1_1media_1_1BufferReader.html index 3fc56a3195..471175318b 100644 --- a/docs/d9/d13/classshaka_1_1media_1_1BufferReader.html +++ b/docs/d9/d13/classshaka_1_1media_1_1BufferReader.html @@ -276,7 +276,7 @@ bool ReadNBytesInto8s diff --git a/docs/d9/d1f/structshaka_1_1media_1_1mp4_1_1MovieFragment.html b/docs/d9/d1f/structshaka_1_1media_1_1mp4_1_1MovieFragment.html index 559dc33e6d..1cae4d2fab 100644 --- a/docs/d9/d1f/structshaka_1_1media_1_1mp4_1_1MovieFragment.html +++ b/docs/d9/d1f/structshaka_1_1media_1_1mp4_1_1MovieFragment.html @@ -180,7 +180,7 @@ Additional Inherited Members diff --git a/docs/d9/d26/classshaka_1_1media_1_1AesEncryptor-members.html b/docs/d9/d26/classshaka_1_1media_1_1AesEncryptor-members.html index c96912d778..86630abd1c 100644 --- a/docs/d9/d26/classshaka_1_1media_1_1AesEncryptor-members.html +++ b/docs/d9/d26/classshaka_1_1media_1_1AesEncryptor-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html b/docs/d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html index 5c732cae22..364ef13212 100644 --- a/docs/d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html +++ b/docs/d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html @@ -437,7 +437,7 @@ void set_progress_target diff --git a/docs/d9/d36/classshaka_1_1media_1_1TracksBuilder-members.html b/docs/d9/d36/classshaka_1_1media_1_1TracksBuilder-members.html index 5c09ef574d..45fb851e8a 100644 --- a/docs/d9/d36/classshaka_1_1media_1_1TracksBuilder-members.html +++ b/docs/d9/d36/classshaka_1_1media_1_1TracksBuilder-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d3a/classshaka_1_1media_1_1File-members.html b/docs/d9/d3a/classshaka_1_1media_1_1File-members.html deleted file mode 100644 index 002acfdf0e..0000000000 --- a/docs/d9/d3a/classshaka_1_1media_1_1File-members.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - -DASH Media Packaging SDK: Member List - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
shaka::media::File Member List
-
-
- -

This is the complete list of members for shaka::media::File, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - -
Close()=0shaka::media::Filepure virtual
Copy(const char *from_file_name, const char *to_file_name)shaka::media::Filestatic
CopyFile(File *source, File *destination)shaka::media::Filestatic
CopyFile(File *source, File *destination, int64_t max_copy)shaka::media::Filestatic
Delete(const char *file_name)shaka::media::Filestatic
File(const std::string &file_name) (defined in shaka::media::File)shaka::media::Fileinlineexplicitprotected
file_name() const shaka::media::Fileinline
Flush()=0shaka::media::Filepure virtual
GetFileSize(const char *file_name)shaka::media::Filestatic
Open(const char *file_name, const char *mode)shaka::media::Filestatic
Open()=0shaka::media::Fileprotectedpure virtual
OpenWithNoBuffering(const char *file_name, const char *mode)shaka::media::Filestatic
Read(void *buffer, uint64_t length)=0shaka::media::Filepure virtual
ReadFileToString(const char *file_name, std::string *contents)shaka::media::Filestatic
Seek(uint64_t position)=0shaka::media::Filepure virtual
Size()=0shaka::media::Filepure virtual
Tell(uint64_t *position)=0shaka::media::Filepure virtual
ThreadedIoFile (defined in shaka::media::File)shaka::media::Filefriend
Write(const void *buffer, uint64_t length)=0shaka::media::Filepure virtual
WriteFileAtomically(const char *file_name, const std::string &contents)shaka::media::Filestatic
~File()shaka::media::Fileinlineprotectedvirtual
- - - - diff --git a/docs/d9/d3b/webm__content__encodings_8h_source.html b/docs/d9/d3b/webm__content__encodings_8h_source.html index 3849b29f10..e35a0ff252 100644 --- a/docs/d9/d3b/webm__content__encodings_8h_source.html +++ b/docs/d9/d3b/webm__content__encodings_8h_source.html @@ -179,7 +179,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d3c/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox.html b/docs/d9/d3c/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox.html index 0e7bb42e91..22353cb593 100644 --- a/docs/d9/d3c/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox.html +++ b/docs/d9/d3c/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox.html @@ -166,7 +166,7 @@ Additional Inherited Members diff --git a/docs/d9/d3e/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox.html b/docs/d9/d3e/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox.html index d048fbf295..8cd803a0df 100644 --- a/docs/d9/d3e/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox.html +++ b/docs/d9/d3e/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d9/d57/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator.html b/docs/d9/d57/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator.html index 55018f0f37..a47630bf6e 100644 --- a/docs/d9/d57/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator.html +++ b/docs/d9/d57/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator.html @@ -320,7 +320,7 @@ Public Member Functions diff --git a/docs/d9/d65/structshaka_1_1media_1_1MuxerListener_1_1MediaRanges-members.html b/docs/d9/d65/structshaka_1_1media_1_1MuxerListener_1_1MediaRanges-members.html index 60845a81af..4452fa475d 100644 --- a/docs/d9/d65/structshaka_1_1media_1_1MuxerListener_1_1MediaRanges-members.html +++ b/docs/d9/d65/structshaka_1_1media_1_1MuxerListener_1_1MediaRanges-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d66/classshaka_1_1media_1_1mp2t_1_1EsParserAdts-members.html b/docs/d9/d66/classshaka_1_1media_1_1mp2t_1_1EsParserAdts-members.html index 85c9279850..4e0dd696ff 100644 --- a/docs/d9/d66/classshaka_1_1media_1_1mp2t_1_1EsParserAdts-members.html +++ b/docs/d9/d66/classshaka_1_1media_1_1mp2t_1_1EsParserAdts-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d67/structshaka_1_1media_1_1H265VuiParameters.html b/docs/d9/d67/structshaka_1_1media_1_1H265VuiParameters.html index 21bb82d064..1745752dfb 100644 --- a/docs/d9/d67/structshaka_1_1media_1_1H265VuiParameters.html +++ b/docs/d9/d67/structshaka_1_1media_1_1H265VuiParameters.html @@ -131,7 +131,7 @@ int min_spatial_segmentati diff --git a/docs/d9/d6a/structshaka_1_1media_1_1H264SliceHeader-members.html b/docs/d9/d6a/structshaka_1_1media_1_1H264SliceHeader-members.html index 447ca624cd..776f5cc3f4 100644 --- a/docs/d9/d6a/structshaka_1_1media_1_1H264SliceHeader-members.html +++ b/docs/d9/d6a/structshaka_1_1media_1_1H264SliceHeader-members.html @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d76/ts__muxer_8cc_source.html b/docs/d9/d76/ts__muxer_8cc_source.html index b7c8d2e500..a181733b00 100644 --- a/docs/d9/d76/ts__muxer_8cc_source.html +++ b/docs/d9/d76/ts__muxer_8cc_source.html @@ -161,7 +161,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d81/classshaka_1_1media_1_1ClosureThread-members.html b/docs/d9/d81/classshaka_1_1media_1_1ClosureThread-members.html index b9a0f5c250..d291e646a3 100644 --- a/docs/d9/d81/classshaka_1_1media_1_1ClosureThread-members.html +++ b/docs/d9/d81/classshaka_1_1media_1_1ClosureThread-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d86/limits_8h_source.html b/docs/d9/d86/limits_8h_source.html index 3ea7d2be14..9e349afd68 100644 --- a/docs/d9/d86/limits_8h_source.html +++ b/docs/d9/d86/limits_8h_source.html @@ -141,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d87/classshaka_1_1media_1_1WebMContentEncodingsClient.html b/docs/d9/d87/classshaka_1_1media_1_1WebMContentEncodingsClient.html index 555bfad96b..e7ab018d60 100644 --- a/docs/d9/d87/classshaka_1_1media_1_1WebMContentEncodingsClient.html +++ b/docs/d9/d87/classshaka_1_1media_1_1WebMContentEncodingsClient.html @@ -152,7 +152,7 @@ Additional Inherited Members diff --git a/docs/d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html b/docs/d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html index 921b3c8632..2e43ef863f 100644 --- a/docs/d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html +++ b/docs/d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html @@ -188,7 +188,7 @@ Additional Inherited Members diff --git a/docs/d9/d90/classshaka_1_1media_1_1ProtectionSystemSpecificInfo-members.html b/docs/d9/d90/classshaka_1_1media_1_1ProtectionSystemSpecificInfo-members.html index 779236e7ae..e48707d253 100644 --- a/docs/d9/d90/classshaka_1_1media_1_1ProtectionSystemSpecificInfo-members.html +++ b/docs/d9/d90/classshaka_1_1media_1_1ProtectionSystemSpecificInfo-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d90/text__track_8h_source.html b/docs/d9/d90/text__track_8h_source.html index f54bb30122..bfb19c453f 100644 --- a/docs/d9/d90/text__track_8h_source.html +++ b/docs/d9/d90/text__track_8h_source.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/da4/stream__descriptor_8h_source.html b/docs/d9/da4/stream__descriptor_8h_source.html index 5ec5740e83..df2eb46a77 100644 --- a/docs/d9/da4/stream__descriptor_8h_source.html +++ b/docs/d9/da4/stream__descriptor_8h_source.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html b/docs/d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html index d357981cc0..c3c005ff01 100644 --- a/docs/d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html +++ b/docs/d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html @@ -478,7 +478,7 @@ Additional Inherited Members diff --git a/docs/d9/da6/structshaka_1_1media_1_1Cue-members.html b/docs/d9/da6/structshaka_1_1media_1_1Cue-members.html index 40a7a7f96c..abc9f42108 100644 --- a/docs/d9/da6/structshaka_1_1media_1_1Cue-members.html +++ b/docs/d9/da6/structshaka_1_1media_1_1Cue-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/da7/classshaka_1_1media_1_1mp4_1_1Segmenter-members.html b/docs/d9/da7/classshaka_1_1media_1_1mp4_1_1Segmenter-members.html index 025c32f730..2318b19da1 100644 --- a/docs/d9/da7/classshaka_1_1media_1_1mp4_1_1Segmenter-members.html +++ b/docs/d9/da7/classshaka_1_1media_1_1mp4_1_1Segmenter-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/db2/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html b/docs/d9/db2/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html index cb0bf064a7..14d94f62dc 100644 --- a/docs/d9/db2/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html +++ b/docs/d9/db2/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/db9/content__protection__element_8cc_source.html b/docs/d9/db9/content__protection__element_8cc_source.html index e9c54e2d0c..70a934f1a9 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 d774600109..920b2b4103 100644 --- a/docs/d9/db9/muxer_8cc_source.html +++ b/docs/d9/db9/muxer_8cc_source.html @@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.html b/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.html deleted file mode 100644 index 8f5538620f..0000000000 --- a/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.html +++ /dev/null @@ -1,495 +0,0 @@ - - - - - - -DASH Media Packaging SDK: shaka::media::MemoryFile Class Reference - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
- -
- -

#include <memory_file.h>

-
-Inheritance diagram for shaka::media::MemoryFile:
-
-
- - -shaka::media::File - -
- - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

MemoryFile (const std::string &file_name, const std::string &mode)
 
File implementation overrides.
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 shaka::media::File
const std::string & file_name () const
 
- - - - - - - - - - - - - - - - - - - - - - - - -

-Static Public Member Functions

static void DeleteAll ()
 
static void Delete (const std::string &file_name)
 
- Static Public Member Functions inherited from shaka::media::File
static FileOpen (const char *file_name, const char *mode)
 
static FileOpenWithNoBuffering (const char *file_name, const char *mode)
 
static bool Delete (const char *file_name)
 
static int64_t GetFileSize (const char *file_name)
 
static bool ReadFileToString (const char *file_name, std::string *contents)
 
static bool WriteFileAtomically (const char *file_name, const std::string &contents)
 
static bool Copy (const char *from_file_name, const char *to_file_name)
 
static int64_t CopyFile (File *source, File *destination)
 
static int64_t CopyFile (File *source, File *destination, int64_t max_copy)
 
- - - - - - - - - -

-Protected Member Functions

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

Detailed Description

-

Implements a File that is stored in memory. This should be only used for testing, since this does not support larger files.

- -

Definition at line 22 of file memory_file.h.

-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - -
bool shaka::media::MemoryFile::Close ()
-
-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.

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

Implements shaka::media::File.

- -

Definition at line 63 of file memory_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - -
void shaka::media::MemoryFile::Delete (const std::string & file_name)
-
-static
-
-

Deletes the memory file data with the given file_name. Any objects open with that file name will be in an undefined state.

- -

Definition at line 135 of file memory_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - -
void shaka::media::MemoryFile::DeleteAll ()
-
-static
-
-

Deletes all memory file data created. This assumes that there are no MemoryFile objects alive. Any alive objects will be in an undefined state.

- -

Definition at line 131 of file memory_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - -
bool shaka::media::MemoryFile::Flush ()
-
-overridevirtual
-
-

Flush 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.
- -

Implements shaka::media::File.

- -

Definition at line 96 of file memory_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int64_t shaka::media::MemoryFile::Read (void * buffer,
uint64_t length 
)
-
-overridevirtual
-
-

Read data and return it in buffer.

-
Parameters
- - - -
[out]bufferpoints to a block of memory with a size of at least length bytes.
lengthindicates number of bytes to be read.
-
-
-
Returns
Number of bytes read, or a value < 0 on error. Zero on end-of-file, or if 'length' is zero.
- -

Implements shaka::media::File.

- -

Definition at line 68 of file memory_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - -
bool shaka::media::MemoryFile::Seek (uint64_t position)
-
-overridevirtual
-
-

Seek to the specifield position in the file.

-
Parameters
- - -
positionis the position to seek to.
-
-
-
Returns
true on success, false otherwise.
- -

Implements shaka::media::File.

- -

Definition at line 100 of file memory_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - -
int64_t shaka::media::MemoryFile::Size ()
-
-overridevirtual
-
-
Returns
Size of the file in bytes. A return value less than zero indicates a problem getting the size.
- -

Implements shaka::media::File.

- -

Definition at line 91 of file memory_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - -
bool shaka::media::MemoryFile::Tell (uint64_t * position)
-
-overridevirtual
-
-

Get the current file position.

-
Parameters
- - -
positionis a pointer to contain the current file position upon successful return.
-
-
-
Returns
true on succcess, false otherwise.
- -

Implements shaka::media::File.

- -

Definition at line 108 of file memory_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int64_t shaka::media::MemoryFile::Write (const void * buffer,
uint64_t length 
)
-
-overridevirtual
-
-

Write block of data.

-
Parameters
- - - -
bufferpoints to a block of memory with at least length bytes.
lengthindicates number of bytes to write.
-
-
-
Returns
Number of bytes written, or a value < 0 on error.
- -

Implements shaka::media::File.

- -

Definition at line 80 of file memory_file.cc.

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff --git a/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.png b/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.png deleted file mode 100644 index c96a0cd5b7..0000000000 Binary files a/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.png and /dev/null differ diff --git a/docs/d9/dc4/classshaka_1_1media_1_1BufferReader-members.html b/docs/d9/dc4/classshaka_1_1media_1_1BufferReader-members.html index 9d1d4c1358..0076021cb7 100644 --- a/docs/d9/dc4/classshaka_1_1media_1_1BufferReader-members.html +++ b/docs/d9/dc4/classshaka_1_1media_1_1BufferReader-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/dc4/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry-members.html b/docs/d9/dc4/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry-members.html index 4220e1c7d9..3924b997b5 100644 --- a/docs/d9/dc4/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry-members.html +++ b/docs/d9/dc4/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/dc8/webm__constants_8cc_source.html b/docs/d9/dc8/webm__constants_8cc_source.html index a213080ca3..9c94056886 100644 --- a/docs/d9/dc8/webm__constants_8cc_source.html +++ b/docs/d9/dc8/webm__constants_8cc_source.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/dcc/webm__video__client_8h_source.html b/docs/d9/dcc/webm__video__client_8h_source.html index 456135dc21..38d2577a67 100644 --- a/docs/d9/dcc/webm__video__client_8h_source.html +++ b/docs/d9/dcc/webm__video__client_8h_source.html @@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/de0/structshaka_1_1media_1_1Range.html b/docs/d9/de0/structshaka_1_1media_1_1Range.html index 60eb6fae4a..7234fd77e4 100644 --- a/docs/d9/de0/structshaka_1_1media_1_1Range.html +++ b/docs/d9/de0/structshaka_1_1media_1_1Range.html @@ -115,7 +115,7 @@ uint64_t end diff --git a/docs/d9/de3/muxer__listener__internal_8cc_source.html b/docs/d9/de3/muxer__listener__internal_8cc_source.html index 728964d103..160f3b6fcd 100644 --- a/docs/d9/de3/muxer__listener__internal_8cc_source.html +++ b/docs/d9/de3/muxer__listener__internal_8cc_source.html @@ -358,7 +358,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/de6/classshaka_1_1media_1_1LocalFile.html b/docs/d9/de6/classshaka_1_1media_1_1LocalFile.html deleted file mode 100644 index a803e6396f..0000000000 --- a/docs/d9/de6/classshaka_1_1media_1_1LocalFile.html +++ /dev/null @@ -1,512 +0,0 @@ - - - - - - -DASH Media Packaging SDK: shaka::media::LocalFile Class Reference - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
- -
- -

Implement LocalFile which deals with local storage. - More...

- -

#include <local_file.h>

-
-Inheritance diagram for shaka::media::LocalFile:
-
-
- - -shaka::media::File - -
- - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 LocalFile (const char *file_name, const char *mode)
 
File implementation overrides.
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 shaka::media::File
const std::string & file_name () const
 
- - - - - - - - - - - - - - - - - - - - - - -

-Static Public Member Functions

static bool Delete (const char *file_name)
 
- Static Public Member Functions inherited from shaka::media::File
static FileOpen (const char *file_name, const char *mode)
 
static FileOpenWithNoBuffering (const char *file_name, const char *mode)
 
static bool Delete (const char *file_name)
 
static int64_t GetFileSize (const char *file_name)
 
static bool ReadFileToString (const char *file_name, std::string *contents)
 
static bool WriteFileAtomically (const char *file_name, const std::string &contents)
 
static bool Copy (const char *from_file_name, const char *to_file_name)
 
static int64_t CopyFile (File *source, File *destination)
 
static int64_t CopyFile (File *source, File *destination, int64_t max_copy)
 
- - - - - - - - - -

-Protected Member Functions

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

Detailed Description

-

Implement LocalFile which deals with local storage.

- -

Definition at line 21 of file local_file.h.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
shaka::media::LocalFile::LocalFile (const char * file_name,
const char * mode 
)
-
-
Parameters
- - - -
file_nameC string containing the name of the file to be accessed.
modeC string containing a file access mode, refer to fopen for the available modes.
-
-
- -

Definition at line 22 of file local_file.cc.

- -
-
-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - -
bool shaka::media::LocalFile::Close ()
-
-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.

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

Implements shaka::media::File.

- -

Definition at line 30 of file local_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - -
bool shaka::media::LocalFile::Delete (const char * file_name)
-
-static
-
-

Delete a local file.

-
Parameters
- - -
file_nameis the path of the file to be deleted.
-
-
-
Returns
true if successful, or false otherwise.
- -

Definition at line 104 of file local_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - -
bool shaka::media::LocalFile::Flush ()
-
-overridevirtual
-
-

Flush 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.
- -

Implements shaka::media::File.

- -

Definition at line 70 of file local_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int64_t shaka::media::LocalFile::Read (void * buffer,
uint64_t length 
)
-
-overridevirtual
-
-

Read data and return it in buffer.

-
Parameters
- - - -
[out]bufferpoints to a block of memory with a size of at least length bytes.
lengthindicates number of bytes to be read.
-
-
-
Returns
Number of bytes read, or a value < 0 on error. Zero on end-of-file, or if 'length' is zero.
- -

Implements shaka::media::File.

- -

Definition at line 40 of file local_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - -
bool shaka::media::LocalFile::Seek (uint64_t position)
-
-overridevirtual
-
-

Seek to the specifield position in the file.

-
Parameters
- - -
positionis the position to seek to.
-
-
-
Returns
true on success, false otherwise.
- -

Implements shaka::media::File.

- -

Definition at line 75 of file local_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - -
int64_t shaka::media::LocalFile::Size ()
-
-overridevirtual
-
-
Returns
Size of the file in bytes. A return value less than zero indicates a problem getting the size.
- -

Implements shaka::media::File.

- -

Definition at line 52 of file local_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - -
bool shaka::media::LocalFile::Tell (uint64_t * position)
-
-overridevirtual
-
-

Get the current file position.

-
Parameters
- - -
positionis a pointer to contain the current file position upon successful return.
-
-
-
Returns
true on succcess, false otherwise.
- -

Implements shaka::media::File.

- -

Definition at line 84 of file local_file.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int64_t shaka::media::LocalFile::Write (const void * buffer,
uint64_t length 
)
-
-overridevirtual
-
-

Write block of data.

-
Parameters
- - - -
bufferpoints to a block of memory with at least length bytes.
lengthindicates number of bytes to write.
-
-
-
Returns
Number of bytes written, or a value < 0 on error.
- -

Implements shaka::media::File.

- -

Definition at line 46 of file local_file.cc.

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff --git a/docs/d9/de6/classshaka_1_1media_1_1LocalFile.png b/docs/d9/de6/classshaka_1_1media_1_1LocalFile.png deleted file mode 100644 index c481c3ff4c..0000000000 Binary files a/docs/d9/de6/classshaka_1_1media_1_1LocalFile.png and /dev/null differ diff --git a/docs/d9/dea/classshaka_1_1media_1_1FixedKeySource-members.html b/docs/d9/dea/classshaka_1_1media_1_1FixedKeySource-members.html index 9cc7119ac8..d424d17f7e 100644 --- a/docs/d9/dea/classshaka_1_1media_1_1FixedKeySource-members.html +++ b/docs/d9/dea/classshaka_1_1media_1_1FixedKeySource-members.html @@ -105,7 +105,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 3bc4903356..e5fc97b3d0 100644 --- a/docs/d9/ded/aac__audio__specific__config_8cc_source.html +++ b/docs/d9/ded/aac__audio__specific__config_8cc_source.html @@ -363,7 +363,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/df8/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html b/docs/d9/df8/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html index 3e5f0f3e1f..04a47c3c24 100644 --- a/docs/d9/df8/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html +++ b/docs/d9/df8/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/df9/classshaka_1_1media_1_1OffsetByteQueue.html b/docs/d9/df9/classshaka_1_1media_1_1OffsetByteQueue.html index 739d9cdd46..2589f49db8 100644 --- a/docs/d9/df9/classshaka_1_1media_1_1OffsetByteQueue.html +++ b/docs/d9/df9/classshaka_1_1media_1_1OffsetByteQueue.html @@ -242,7 +242,7 @@ false if max_offset > diff --git a/docs/d9/dff/structshaka_1_1media_1_1H264ModificationOfPicNum.html b/docs/d9/dff/structshaka_1_1media_1_1H264ModificationOfPicNum.html index b517cfb058..655c6d107b 100644 --- a/docs/d9/dff/structshaka_1_1media_1_1H264ModificationOfPicNum.html +++ b/docs/d9/dff/structshaka_1_1media_1_1H264ModificationOfPicNum.html @@ -119,7 +119,7 @@ union { diff --git a/docs/da/d04/audio__stream__info_8cc_source.html b/docs/da/d04/audio__stream__info_8cc_source.html index d1e04d2736..2fb80fbe8f 100644 --- a/docs/da/d04/audio__stream__info_8cc_source.html +++ b/docs/da/d04/audio__stream__info_8cc_source.html @@ -223,7 +223,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d10/classshaka_1_1media_1_1mp2t_1_1EsParser.html b/docs/da/d10/classshaka_1_1media_1_1mp2t_1_1EsParser.html index b31fbae0d6..1361069576 100644 --- a/docs/da/d10/classshaka_1_1media_1_1mp2t_1_1EsParser.html +++ b/docs/da/d10/classshaka_1_1media_1_1mp2t_1_1EsParser.html @@ -146,7 +146,7 @@ uint32_t pid () diff --git a/docs/da/d1a/structshaka_1_1media_1_1mp4_1_1Language.html b/docs/da/d1a/structshaka_1_1media_1_1mp4_1_1Language.html index 6f1e97f79f..d5dbd322ee 100644 --- a/docs/da/d1a/structshaka_1_1media_1_1mp4_1_1Language.html +++ b/docs/da/d1a/structshaka_1_1media_1_1mp4_1_1Language.html @@ -120,7 +120,7 @@ std::string code< diff --git a/docs/da/d1c/classshaka_1_1media_1_1mp2t_1_1TsSection.html b/docs/da/d1c/classshaka_1_1media_1_1mp2t_1_1TsSection.html index 6674925ede..2e745c1fd5 100644 --- a/docs/da/d1c/classshaka_1_1media_1_1mp2t_1_1TsSection.html +++ b/docs/da/d1c/classshaka_1_1media_1_1mp2t_1_1TsSection.html @@ -141,7 +141,7 @@ virtual void Reset ()= diff --git a/docs/da/d1d/udp__options_8cc_source.html b/docs/da/d1d/udp__options_8cc_source.html deleted file mode 100644 index ad5c77d1c4..0000000000 --- a/docs/da/d1d/udp__options_8cc_source.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/udp_options.cc Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
udp_options.cc
-
-
-
1 // Copyright 2016 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #include "packager/media/file/udp_options.h"
-
8 
-
9 #include <gflags/gflags.h>
-
10 
-
11 #include "packager/base/strings/string_number_conversions.h"
-
12 #include "packager/base/strings/string_split.h"
-
13 
-
14 DEFINE_string(udp_interface_address,
-
15  "",
-
16  "IP address of the interface over which to receive UDP unicast"
-
17  " or multicast streams");
-
18 
-
19 namespace shaka {
-
20 namespace media {
-
21 
-
22 namespace {
-
23 
-
24 enum FieldType {
-
25  kUnknownField = 0,
-
26  kReuseField,
-
27  kInterfaceAddressField,
-
28  kTimeoutField,
-
29 };
-
30 
-
31 struct FieldNameToTypeMapping {
-
32  const char* field_name;
-
33  FieldType field_type;
-
34 };
-
35 
-
36 const FieldNameToTypeMapping kFieldNameTypeMappings[] = {
-
37  {"reuse", kReuseField},
-
38  {"interface", kInterfaceAddressField},
-
39  {"source", kInterfaceAddressField},
-
40  {"timeout", kTimeoutField},
-
41 };
-
42 
-
43 FieldType GetFieldType(const std::string& field_name) {
-
44  for (size_t idx = 0; idx < arraysize(kFieldNameTypeMappings); ++idx) {
-
45  if (field_name == kFieldNameTypeMappings[idx].field_name)
-
46  return kFieldNameTypeMappings[idx].field_type;
-
47  }
-
48  return kUnknownField;
-
49 }
-
50 
-
51 bool StringToAddressAndPort(base::StringPiece addr_and_port,
-
52  std::string* addr,
-
53  uint16_t* port) {
-
54  DCHECK(addr);
-
55  DCHECK(port);
-
56 
-
57  const size_t colon_pos = addr_and_port.find(':');
-
58  if (colon_pos == base::StringPiece::npos) {
-
59  return false;
-
60  }
-
61  *addr = addr_and_port.substr(0, colon_pos).as_string();
-
62  unsigned port_value;
-
63  if (!base::StringToUint(addr_and_port.substr(colon_pos + 1), &port_value) ||
-
64  (port_value > 65535)) {
-
65  return false;
-
66  }
-
67  *port = port_value;
-
68  return true;
-
69 }
-
70 
-
71 } // namespace
-
72 
-
73 std::unique_ptr<UdpOptions> UdpOptions::ParseFromString(
-
74  base::StringPiece udp_url) {
-
75  std::unique_ptr<UdpOptions> options(new UdpOptions);
-
76 
-
77  const size_t question_mark_pos = udp_url.find('?');
-
78  base::StringPiece address_str = udp_url.substr(0, question_mark_pos);
-
79 
-
80  if (question_mark_pos != base::StringPiece::npos) {
-
81  base::StringPiece options_str = udp_url.substr(question_mark_pos + 1);
-
82 
-
83  base::StringPairs pairs;
-
84  if (!base::SplitStringIntoKeyValuePairs(options_str, '=', '&', &pairs)) {
-
85  LOG(ERROR) << "Invalid udp options name/value pairs " << options_str;
-
86  return nullptr;
-
87  }
-
88  for (const auto& pair : pairs) {
-
89  switch (GetFieldType(pair.first)) {
-
90  case kReuseField: {
-
91  int reuse_value = 0;
-
92  if (!base::StringToInt(pair.second, &reuse_value)) {
-
93  LOG(ERROR) << "Invalid udp option for reuse field " << pair.second;
-
94  return nullptr;
-
95  }
-
96  options->reuse_ = reuse_value > 0;
-
97  break;
-
98  }
-
99  case kInterfaceAddressField:
-
100  options->interface_address_ = pair.second;
-
101  break;
-
102  case kTimeoutField:
-
103  if (!base::StringToUint(pair.second, &options->timeout_us_)) {
-
104  LOG(ERROR) << "Invalid udp option for timeout field " << pair.second;
-
105  return nullptr;
-
106  }
-
107  break;
-
108  default:
-
109  LOG(ERROR) << "Unknown field in udp options (\"" << pair.first
-
110  << "\").";
-
111  return nullptr;
-
112  }
-
113  }
-
114  }
-
115 
-
116  if (!FLAGS_udp_interface_address.empty()) {
-
117  LOG(WARNING) << "--udp_interface_address is deprecated. Consider switching "
-
118  "to udp options instead, something like "
-
119  "udp:://ip:port?interface=interface_ip.";
-
120  options->interface_address_ = FLAGS_udp_interface_address;
-
121  }
-
122 
-
123  if (!StringToAddressAndPort(address_str, &options->address_,
-
124  &options->port_)) {
-
125  LOG(ERROR) << "Malformed address:port UDP url " << address_str;
-
126  return nullptr;
-
127  }
-
128  return options;
-
129 }
-
130 
-
131 } // namespace media
-
132 } // namespace shaka
-
Options parsed from UDP url string of the form: udp://ip:port[?options].
Definition: udp_options.h:16
-
static std::unique_ptr< UdpOptions > ParseFromString(base::StringPiece udp_url)
Definition: udp_options.cc:73
-
- - - - diff --git a/docs/da/d23/classshaka_1_1media_1_1mp2t_1_1EsParserH26x.html b/docs/da/d23/classshaka_1_1media_1_1mp2t_1_1EsParserH26x.html index 3cd52d2665..0701255493 100644 --- a/docs/da/d23/classshaka_1_1media_1_1mp2t_1_1EsParserH26x.html +++ b/docs/da/d23/classshaka_1_1media_1_1mp2t_1_1EsParserH26x.html @@ -164,7 +164,7 @@ const std::shared_ptr
diff --git a/docs/da/d23/ts__muxer_8h_source.html b/docs/da/d23/ts__muxer_8h_source.html index 35819800e0..b6c3aacce6 100644 --- a/docs/da/d23/ts__muxer_8h_source.html +++ b/docs/da/d23/ts__muxer_8h_source.html @@ -137,7 +137,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d24/h265__parser_8h_source.html b/docs/da/d24/h265__parser_8h_source.html index 466ab3ecb5..5539ec9276 100644 --- a/docs/da/d24/h265__parser_8h_source.html +++ b/docs/da/d24/h265__parser_8h_source.html @@ -454,7 +454,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d2a/text__stream__info_8h_source.html b/docs/da/d2a/text__stream__info_8h_source.html index 8b405ee6ec..951f2d637f 100644 --- a/docs/da/d2a/text__stream__info_8h_source.html +++ b/docs/da/d2a/text__stream__info_8h_source.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d2d/classshaka_1_1media_1_1webm_1_1WebMMuxer-members.html b/docs/da/d2d/classshaka_1_1media_1_1webm_1_1WebMMuxer-members.html index bcd6616f79..a383b9ae08 100644 --- a/docs/da/d2d/classshaka_1_1media_1_1webm_1_1WebMMuxer-members.html +++ b/docs/da/d2d/classshaka_1_1media_1_1webm_1_1WebMMuxer-members.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d3e/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio-members.html b/docs/da/d3e/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio-members.html index 41d4452975..a3d529fb42 100644 --- a/docs/da/d3e/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio-members.html +++ b/docs/da/d3e/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html b/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html index bbb356851f..a9a40a5e11 100644 --- a/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html +++ b/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html @@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d43/structshaka_1_1ContentProtectionElement.html b/docs/da/d43/structshaka_1_1ContentProtectionElement.html index 52ef01ca06..aa538ba760 100644 --- a/docs/da/d43/structshaka_1_1ContentProtectionElement.html +++ b/docs/da/d43/structshaka_1_1ContentProtectionElement.html @@ -123,7 +123,7 @@ std::vector< El diff --git a/docs/da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html b/docs/da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html index 55730c9b2d..dd92f8f33c 100644 --- a/docs/da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html +++ b/docs/da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html @@ -328,7 +328,7 @@ Static Public Member Functions diff --git a/docs/da/d50/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader.html b/docs/da/d50/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader.html index 5e787a2c32..436ff8a0c9 100644 --- a/docs/da/d50/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader.html +++ b/docs/da/d50/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/da/d53/es__parser__h265_8cc_source.html b/docs/da/d53/es__parser__h265_8cc_source.html index 39cbd0233f..9eeb9a2ce5 100644 --- a/docs/da/d53/es__parser__h265_8cc_source.html +++ b/docs/da/d53/es__parser__h265_8cc_source.html @@ -265,7 +265,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d59/structshaka_1_1media_1_1mp4_1_1CompactSampleSize.html b/docs/da/d59/structshaka_1_1media_1_1mp4_1_1CompactSampleSize.html index 87d19685ca..f8eba8ea85 100644 --- a/docs/da/d59/structshaka_1_1media_1_1mp4_1_1CompactSampleSize.html +++ b/docs/da/d59/structshaka_1_1media_1_1mp4_1_1CompactSampleSize.html @@ -185,7 +185,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 2b7b387ed4..bad8bb122f 100644 --- a/docs/da/d5c/widevine__key__source_8h_source.html +++ b/docs/da/d5c/widevine__key__source_8h_source.html @@ -224,7 +224,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d5e/classshaka_1_1media_1_1H264VideoSliceHeaderParser-members.html b/docs/da/d5e/classshaka_1_1media_1_1H264VideoSliceHeaderParser-members.html index 78ce583a20..37541ac543 100644 --- a/docs/da/d5e/classshaka_1_1media_1_1H264VideoSliceHeaderParser-members.html +++ b/docs/da/d5e/classshaka_1_1media_1_1H264VideoSliceHeaderParser-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d60/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html b/docs/da/d60/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html index a3a35a858d..8d1a92b387 100644 --- a/docs/da/d60/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html +++ b/docs/da/d60/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d64/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter-members.html b/docs/da/d64/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter-members.html index d7652eada9..6a588bf7b6 100644 --- a/docs/da/d64/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter-members.html +++ b/docs/da/d64/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d6e/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry.html b/docs/da/d6e/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry.html index 192b094e79..56fc90ac5d 100644 --- a/docs/da/d6e/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry.html +++ b/docs/da/d6e/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry.html @@ -120,7 +120,7 @@ int16_t roll_distance< 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 9c8712afa3..0b47d240f7 100644 --- a/docs/da/d7a/fixed__key__encryption__flags_8h_source.html +++ b/docs/da/d7a/fixed__key__encryption__flags_8h_source.html @@ -121,7 +121,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d85/classshaka_1_1media_1_1mp2t_1_1TsSegmenter-members.html b/docs/da/d85/classshaka_1_1media_1_1mp2t_1_1TsSegmenter-members.html index d83b5d3785..10da0bde3d 100644 --- a/docs/da/d85/classshaka_1_1media_1_1mp2t_1_1TsSegmenter-members.html +++ b/docs/da/d85/classshaka_1_1media_1_1mp2t_1_1TsSegmenter-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d88/mp4__muxer_8cc_source.html b/docs/da/d88/mp4__muxer_8cc_source.html index 733a2cec7b..725b0c0e9f 100644 --- a/docs/da/d88/mp4__muxer_8cc_source.html +++ b/docs/da/d88/mp4__muxer_8cc_source.html @@ -97,16 +97,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 
9 #include "packager/base/time/clock.h"
10 #include "packager/base/time/time.h"
-
11 #include "packager/media/base/aes_encryptor.h"
-
12 #include "packager/media/base/audio_stream_info.h"
-
13 #include "packager/media/base/fourccs.h"
-
14 #include "packager/media/base/key_source.h"
-
15 #include "packager/media/base/media_sample.h"
-
16 #include "packager/media/base/text_stream_info.h"
-
17 #include "packager/media/base/video_stream_info.h"
-
18 #include "packager/media/codecs/es_descriptor.h"
-
19 #include "packager/media/event/muxer_listener.h"
-
20 #include "packager/media/file/file.h"
+
11 #include "packager/file/file.h"
+
12 #include "packager/media/base/aes_encryptor.h"
+
13 #include "packager/media/base/audio_stream_info.h"
+
14 #include "packager/media/base/fourccs.h"
+
15 #include "packager/media/base/key_source.h"
+
16 #include "packager/media/base/media_sample.h"
+
17 #include "packager/media/base/text_stream_info.h"
+
18 #include "packager/media/base/video_stream_info.h"
+
19 #include "packager/media/codecs/es_descriptor.h"
+
20 #include "packager/media/event/muxer_listener.h"
21 #include "packager/media/formats/mp4/box_definitions.h"
22 #include "packager/media/formats/mp4/multi_segment_segmenter.h"
23 #include "packager/media/formats/mp4/single_segment_segmenter.h"
@@ -560,7 +560,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
471  const float duration_seconds = static_cast<float>(segmenter_->GetDuration());
472 
473  const int64_t file_size =
-
474  File::GetFileSize(options().output_file_name.c_str());
+
474  File::GetFileSize(options().output_file_name.c_str());
475  if (file_size <= 0) {
476  LOG(ERROR) << "Invalid file size: " << file_size;
477  return;
@@ -582,14 +582,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
MP4Muxer(const MuxerOptions &options)
Create a MP4Muxer object from MuxerOptions.
Definition: mp4_muxer.cc:108
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
-
static int64_t GetFileSize(const char *file_name)
Definition: file.cc:190
virtual void OnMediaStart(const MuxerOptions &muxer_options, const StreamInfo &stream_info, uint32_t time_scale, ContainerType container_type)=0
virtual void OnMediaEnd(const MediaRanges &media_ranges, float duration_seconds, uint64_t file_size)=0
diff --git a/docs/da/d8b/classshaka_1_1media_1_1WebMMediaParser-members.html b/docs/da/d8b/classshaka_1_1media_1_1WebMMediaParser-members.html index fb46f807d4..08a96aed55 100644 --- a/docs/da/d8b/classshaka_1_1media_1_1WebMMediaParser-members.html +++ b/docs/da/d8b/classshaka_1_1media_1_1WebMMediaParser-members.html @@ -105,7 +105,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 4aeba0d528..b11f1765e6 100644 --- a/docs/da/d8e/container__names_8cc_source.html +++ b/docs/da/d8e/container__names_8cc_source.html @@ -1866,7 +1866,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d9b/structshaka_1_1media_1_1mp4_1_1CompositionOffset-members.html b/docs/da/d9b/structshaka_1_1media_1_1mp4_1_1CompositionOffset-members.html index c3a69be827..ae90b53b01 100644 --- a/docs/da/d9b/structshaka_1_1media_1_1mp4_1_1CompositionOffset-members.html +++ b/docs/da/d9b/structshaka_1_1media_1_1mp4_1_1CompositionOffset-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d9d/structshaka_1_1media_1_1mp4_1_1EC3Specific-members.html b/docs/da/d9d/structshaka_1_1media_1_1mp4_1_1EC3Specific-members.html index 6e987b101a..4d61a62e5f 100644 --- a/docs/da/d9d/structshaka_1_1media_1_1mp4_1_1EC3Specific-members.html +++ b/docs/da/d9d/structshaka_1_1media_1_1mp4_1_1EC3Specific-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d9f/classshaka_1_1MpdNotifierFactory-members.html b/docs/da/d9f/classshaka_1_1MpdNotifierFactory-members.html index ec9415080f..f43c8ae487 100644 --- a/docs/da/d9f/classshaka_1_1MpdNotifierFactory-members.html +++ b/docs/da/d9f/classshaka_1_1MpdNotifierFactory-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d9f/classshaka_1_1media_1_1MockMuxerListener-members.html b/docs/da/d9f/classshaka_1_1media_1_1MockMuxerListener-members.html index cbd176d12b..da2d8feccb 100644 --- a/docs/da/d9f/classshaka_1_1media_1_1MockMuxerListener-members.html +++ b/docs/da/d9f/classshaka_1_1media_1_1MockMuxerListener-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/da1/classshaka_1_1media_1_1mp2t_1_1TsPacket.html b/docs/da/da1/classshaka_1_1media_1_1mp2t_1_1TsPacket.html index 3bd2416848..85c152135b 100644 --- a/docs/da/da1/classshaka_1_1media_1_1mp2t_1_1TsPacket.html +++ b/docs/da/da1/classshaka_1_1media_1_1mp2t_1_1TsPacket.html @@ -145,7 +145,7 @@ static const int kPacketSi diff --git a/docs/da/db2/classshaka_1_1Representation-members.html b/docs/da/db2/classshaka_1_1Representation-members.html index ef04deb538..2e182ca4e6 100644 --- a/docs/da/db2/classshaka_1_1Representation-members.html +++ b/docs/da/db2/classshaka_1_1Representation-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dbb/structshaka_1_1media_1_1mp4_1_1HandlerReference.html b/docs/da/dbb/structshaka_1_1media_1_1mp4_1_1HandlerReference.html index 4bd990e82f..d9b16870e4 100644 --- a/docs/da/dbb/structshaka_1_1media_1_1mp4_1_1HandlerReference.html +++ b/docs/da/dbb/structshaka_1_1media_1_1mp4_1_1HandlerReference.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/da/dc4/structshaka_1_1media_1_1mp4_1_1TrackHeader.html b/docs/da/dc4/structshaka_1_1media_1_1mp4_1_1TrackHeader.html index 30da50921e..8031f74bb6 100644 --- a/docs/da/dc4/structshaka_1_1media_1_1mp4_1_1TrackHeader.html +++ b/docs/da/dc4/structshaka_1_1media_1_1mp4_1_1TrackHeader.html @@ -215,7 +215,7 @@ Additional Inherited Members diff --git a/docs/da/dcb/es__descriptor_8h_source.html b/docs/da/dcb/es__descriptor_8h_source.html index fba036c70c..152abf170f 100644 --- a/docs/da/dcb/es__descriptor_8h_source.html +++ b/docs/da/dcb/es__descriptor_8h_source.html @@ -177,13 +177,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
92 } // namespace shaka
93 
94 #endif // MEDIA_CODECS_ES_DESCRIPTOR_H_
- + diff --git a/docs/da/dd0/playready__key__source_8cc_source.html b/docs/da/dd0/playready__key__source_8cc_source.html index bbfa4d15f5..c1042e5ec8 100644 --- a/docs/da/dd0/playready__key__source_8cc_source.html +++ b/docs/da/dd0/playready__key__source_8cc_source.html @@ -440,7 +440,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dd0/structshaka_1_1media_1_1mp4_1_1Edit.html b/docs/da/dd0/structshaka_1_1media_1_1mp4_1_1Edit.html index acf17c8aaf..950b7f1320 100644 --- a/docs/da/dd0/structshaka_1_1media_1_1mp4_1_1Edit.html +++ b/docs/da/dd0/structshaka_1_1media_1_1mp4_1_1Edit.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/da/dd0/webm__info__parser_8h_source.html b/docs/da/dd0/webm__info__parser_8h_source.html index 418ee40c2b..1faa84dbe9 100644 --- a/docs/da/dd0/webm__info__parser_8h_source.html +++ b/docs/da/dd0/webm__info__parser_8h_source.html @@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dd1/fragmenter_8h_source.html b/docs/da/dd1/fragmenter_8h_source.html index 69bd5d1961..f69a6911ba 100644 --- a/docs/da/dd1/fragmenter_8h_source.html +++ b/docs/da/dd1/fragmenter_8h_source.html @@ -197,7 +197,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status InitializeFragment(int64_t first_sample_dts)
Definition: fragmenter.cc:116
- +
Fragmenter(std::shared_ptr< StreamInfo > info, TrackFragment *traf)
Definition: fragmenter.cc:47
Status AddSample(std::shared_ptr< MediaSample > sample)
Definition: fragmenter.cc:64
@@ -207,7 +207,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dd2/classshaka_1_1media_1_1mp2t_1_1TsPacket-members.html b/docs/da/dd2/classshaka_1_1media_1_1mp2t_1_1TsPacket-members.html index 98f5df2120..44b3e9166c 100644 --- a/docs/da/dd2/classshaka_1_1media_1_1mp2t_1_1TsPacket-members.html +++ b/docs/da/dd2/classshaka_1_1media_1_1mp2t_1_1TsPacket-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dd6/classshaka_1_1media_1_1H264ByteToUnitStreamConverter-members.html b/docs/da/dd6/classshaka_1_1media_1_1H264ByteToUnitStreamConverter-members.html index 758937df6c..7711b8f8c6 100644 --- a/docs/da/dd6/classshaka_1_1media_1_1H264ByteToUnitStreamConverter-members.html +++ b/docs/da/dd6/classshaka_1_1media_1_1H264ByteToUnitStreamConverter-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dd8/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html b/docs/da/dd8/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html index fa61a768b6..6c6331a7e2 100644 --- a/docs/da/dd8/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html +++ b/docs/da/dd8/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dda/structshaka_1_1media_1_1H264SEIRecoveryPoint-members.html b/docs/da/dda/structshaka_1_1media_1_1H264SEIRecoveryPoint-members.html index 035a563e69..4b3d1574c2 100644 --- a/docs/da/dda/structshaka_1_1media_1_1H264SEIRecoveryPoint-members.html +++ b/docs/da/dda/structshaka_1_1media_1_1H264SEIRecoveryPoint-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/ddd/classshaka_1_1media_1_1WidevineKeySource.html b/docs/da/ddd/classshaka_1_1media_1_1WidevineKeySource.html index 3a00bafdb7..a2a80b6e48 100644 --- a/docs/da/ddd/classshaka_1_1media_1_1WidevineKeySource.html +++ b/docs/da/ddd/classshaka_1_1media_1_1WidevineKeySource.html @@ -458,7 +458,7 @@ void  diff --git a/docs/da/ddf/structshaka_1_1media_1_1mp4_1_1SampleDescription-members.html b/docs/da/ddf/structshaka_1_1media_1_1mp4_1_1SampleDescription-members.html index 7b2fb81267..253b7761a1 100644 --- a/docs/da/ddf/structshaka_1_1media_1_1mp4_1_1SampleDescription-members.html +++ b/docs/da/ddf/structshaka_1_1media_1_1mp4_1_1SampleDescription-members.html @@ -116,7 +116,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 fb9a404313..bad14c9a41 100644 --- a/docs/da/de2/mock__mpd__builder_8cc_source.html +++ b/docs/da/de2/mock__mpd__builder_8cc_source.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/de4/classshaka_1_1media_1_1WebMClusterParser.html b/docs/da/de4/classshaka_1_1media_1_1WebMClusterParser.html index fa3b666a03..e675b433d5 100644 --- a/docs/da/de4/classshaka_1_1media_1_1WebMClusterParser.html +++ b/docs/da/de4/classshaka_1_1media_1_1WebMClusterParser.html @@ -372,7 +372,7 @@ The number of bytes parsed on success. diff --git a/docs/da/de6/structshaka_1_1media_1_1mp4_1_1SchemeType-members.html b/docs/da/de6/structshaka_1_1media_1_1mp4_1_1SchemeType-members.html index 1b2c9c49aa..0d3d99e5f9 100644 --- a/docs/da/de6/structshaka_1_1media_1_1mp4_1_1SchemeType-members.html +++ b/docs/da/de6/structshaka_1_1media_1_1mp4_1_1SchemeType-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/de8/classshaka_1_1media_1_1AudioStreamInfo-members.html b/docs/da/de8/classshaka_1_1media_1_1AudioStreamInfo-members.html index 694ac39ec6..7d96b88713 100644 --- a/docs/da/de8/classshaka_1_1media_1_1AudioStreamInfo-members.html +++ b/docs/da/de8/classshaka_1_1media_1_1AudioStreamInfo-members.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/de9/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html b/docs/da/de9/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html index 423d4e2908..f8e7209961 100644 --- a/docs/da/de9/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html +++ b/docs/da/de9/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html @@ -179,7 +179,7 @@ Additional Inherited Members diff --git a/docs/da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html b/docs/da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html index 40c414e3f4..c97039cd88 100644 --- a/docs/da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html +++ b/docs/da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html @@ -152,7 +152,7 @@ int64_t  diff --git a/docs/da/df4/aes__decryptor_8cc_source.html b/docs/da/df4/aes__decryptor_8cc_source.html index 5025773fb5..0e31fef09d 100644 --- a/docs/da/df4/aes__decryptor_8cc_source.html +++ b/docs/da/df4/aes__decryptor_8cc_source.html @@ -258,7 +258,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/df5/structshaka_1_1media_1_1mp4_1_1SampleDescription.html b/docs/da/df5/structshaka_1_1media_1_1mp4_1_1SampleDescription.html index 316ea51b1e..21d4636b14 100644 --- a/docs/da/df5/structshaka_1_1media_1_1mp4_1_1SampleDescription.html +++ b/docs/da/df5/structshaka_1_1media_1_1mp4_1_1SampleDescription.html @@ -191,7 +191,7 @@ Additional Inherited Members diff --git a/docs/da/df9/classshaka_1_1media_1_1AesPatternCryptor-members.html b/docs/da/df9/classshaka_1_1media_1_1AesPatternCryptor-members.html index 51e40a84a3..9a547eb447 100644 --- a/docs/da/df9/classshaka_1_1media_1_1AesPatternCryptor-members.html +++ b/docs/da/df9/classshaka_1_1media_1_1AesPatternCryptor-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dfd/classshaka_1_1media_1_1MediaHandler.html b/docs/da/dfd/classshaka_1_1media_1_1MediaHandler.html index 866f3d24c4..66e218b45b 100644 --- a/docs/da/dfd/classshaka_1_1media_1_1MediaHandler.html +++ b/docs/da/dfd/classshaka_1_1media_1_1MediaHandler.html @@ -304,7 +304,7 @@ std::pair< std::shared_ptr
diff --git a/docs/db/d02/structshaka_1_1media_1_1ChunkingOptions.html b/docs/db/d02/structshaka_1_1media_1_1ChunkingOptions.html index c8374f93f4..629b92442e 100644 --- a/docs/db/d02/structshaka_1_1media_1_1ChunkingOptions.html +++ b/docs/db/d02/structshaka_1_1media_1_1ChunkingOptions.html @@ -162,7 +162,7 @@ double  diff --git a/docs/db/d05/structshaka_1_1media_1_1H265SliceHeader.html b/docs/db/d05/structshaka_1_1media_1_1H265SliceHeader.html index ed874378b9..b28a688c74 100644 --- a/docs/db/d05/structshaka_1_1media_1_1H265SliceHeader.html +++ b/docs/db/d05/structshaka_1_1media_1_1H265SliceHeader.html @@ -236,7 +236,7 @@ std::vector< int > e diff --git a/docs/db/d0b/webvtt__sample__converter_8h_source.html b/docs/db/d0b/webvtt__sample__converter_8h_source.html index 6c03b4e692..ae3d52afa0 100644 --- a/docs/db/d0b/webvtt__sample__converter_8h_source.html +++ b/docs/db/d0b/webvtt__sample__converter_8h_source.html @@ -173,7 +173,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d11/structshaka_1_1media_1_1mp4_1_1CodecConfiguration.html b/docs/db/d11/structshaka_1_1media_1_1mp4_1_1CodecConfiguration.html index 69419fb165..361488958d 100644 --- a/docs/db/d11/structshaka_1_1media_1_1mp4_1_1CodecConfiguration.html +++ b/docs/db/d11/structshaka_1_1media_1_1mp4_1_1CodecConfiguration.html @@ -176,7 +176,7 @@ Additional Inherited Members diff --git a/docs/db/d14/classshaka_1_1media_1_1H265Parser-members.html b/docs/db/d14/classshaka_1_1media_1_1H265Parser-members.html index df91da87d9..755862ceda 100644 --- a/docs/db/d14/classshaka_1_1media_1_1H265Parser-members.html +++ b/docs/db/d14/classshaka_1_1media_1_1H265Parser-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d14/structshaka_1_1media_1_1H264WeightingFactors-members.html b/docs/db/d14/structshaka_1_1media_1_1H264WeightingFactors-members.html index 564cbd3ecd..d60e5cd514 100644 --- a/docs/db/d14/structshaka_1_1media_1_1H264WeightingFactors-members.html +++ b/docs/db/d14/structshaka_1_1media_1_1H264WeightingFactors-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d1f/classshaka_1_1media_1_1TextSample.html b/docs/db/d1f/classshaka_1_1media_1_1TextSample.html index 905aba0472..69bdaaa3ab 100644 --- a/docs/db/d1f/classshaka_1_1media_1_1TextSample.html +++ b/docs/db/d1f/classshaka_1_1media_1_1TextSample.html @@ -137,7 +137,7 @@ void AppendPayload (co diff --git a/docs/db/d21/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader.html b/docs/db/d21/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader.html index 0c77e23a04..9c3b6fca69 100644 --- a/docs/db/d21/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader.html +++ b/docs/db/d21/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader.html @@ -175,7 +175,7 @@ uint32_t flags diff --git a/docs/db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html b/docs/db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html index e6ca241427..c11f2da5c5 100644 --- a/docs/db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html +++ b/docs/db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html @@ -232,7 +232,7 @@ std::pair< std::shared_ptr
diff --git a/docs/db/d31/h26x__byte__to__unit__stream__converter_8h_source.html b/docs/db/d31/h26x__byte__to__unit__stream__converter_8h_source.html index ec4c033be5..b7bfe4e1eb 100644 --- a/docs/db/d31/h26x__byte__to__unit__stream__converter_8h_source.html +++ b/docs/db/d31/h26x__byte__to__unit__stream__converter_8h_source.html @@ -163,7 +163,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d31/track__run__iterator_8cc_source.html b/docs/db/d31/track__run__iterator_8cc_source.html index 151ec92ce2..677042fbc0 100644 --- a/docs/db/d31/track__run__iterator_8cc_source.html +++ b/docs/db/d31/track__run__iterator_8cc_source.html @@ -775,7 +775,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d38/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator-members.html b/docs/db/d38/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator-members.html index 0e788c6035..c4bde8668f 100644 --- a/docs/db/d38/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator-members.html +++ b/docs/db/d38/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d3b/classshaka_1_1media_1_1VideoSliceHeaderParser-members.html b/docs/db/d3b/classshaka_1_1media_1_1VideoSliceHeaderParser-members.html index 75d714122f..009c3ada72 100644 --- a/docs/db/d3b/classshaka_1_1media_1_1VideoSliceHeaderParser-members.html +++ b/docs/db/d3b/classshaka_1_1media_1_1VideoSliceHeaderParser-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); 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 f3be77f5c1..61cbf41c16 100644 --- a/docs/db/d45/mpd__notify__muxer__listener_8h_source.html +++ b/docs/db/d45/mpd__notify__muxer__listener_8h_source.html @@ -185,7 +185,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d4b/classshaka_1_1MockAdaptationSet.html b/docs/db/d4b/classshaka_1_1MockAdaptationSet.html index d5ecd2c83c..b14cf7bef8 100644 --- a/docs/db/d4b/classshaka_1_1MockAdaptationSet.html +++ b/docs/db/d4b/classshaka_1_1MockAdaptationSet.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/db/d4e/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator.html b/docs/db/d4e/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator.html index 6d48cbcd5e..f4fcf765c4 100644 --- a/docs/db/d4e/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator.html +++ b/docs/db/d4e/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator.html @@ -225,7 +225,7 @@ Public Member Functions diff --git a/docs/db/d51/mp2t__media__parser_8h_source.html b/docs/db/d51/mp2t__media__parser_8h_source.html index f929346bb2..760c7c1d38 100644 --- a/docs/db/d51/mp2t__media__parser_8h_source.html +++ b/docs/db/d51/mp2t__media__parser_8h_source.html @@ -191,7 +191,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d51/two__pass__single__segment__segmenter_8h_source.html b/docs/db/d51/two__pass__single__segment__segmenter_8h_source.html index c827a45644..8f4f5e9876 100644 --- a/docs/db/d51/two__pass__single__segment__segmenter_8h_source.html +++ b/docs/db/d51/two__pass__single__segment__segmenter_8h_source.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
33  Status DoFinalize() override;
34 
35  private:
-
40  bool CopyFileWithClusterRewrite(File* source,
+
40  bool CopyFileWithClusterRewrite(File* source,
41  MkvWriter* dest,
42  uint64_t last_size);
43 
@@ -135,14 +135,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
52 
53 #endif // MEDIA_FORMATS_WEBM_TWO_PASS_SINGLE_SEGMENT_SEGMENTER_H_
-
Define an abstract file interface.
Definition: file.h:24
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
An implementation of IMkvWriter using our File type.
Definition: mkv_writer.h:21
diff --git a/docs/db/d59/media__handler__test__base_8h_source.html b/docs/db/d59/media__handler__test__base_8h_source.html index 407c7331a6..c704df0062 100644 --- a/docs/db/d59/media__handler__test__base_8h_source.html +++ b/docs/db/d59/media__handler__test__base_8h_source.html @@ -259,7 +259,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d5a/classshaka_1_1media_1_1VP9Parser.html b/docs/db/d5a/classshaka_1_1media_1_1VP9Parser.html index a6cfaff3fe..08d73e6e4f 100644 --- a/docs/db/d5a/classshaka_1_1media_1_1VP9Parser.html +++ b/docs/db/d5a/classshaka_1_1media_1_1VP9Parser.html @@ -238,7 +238,7 @@ Additional Inherited Members diff --git a/docs/db/d60/mpd__options_8h_source.html b/docs/db/d60/mpd__options_8h_source.html index 92c4d3a80f..096218cea8 100644 --- a/docs/db/d60/mpd__options_8h_source.html +++ b/docs/db/d60/mpd__options_8h_source.html @@ -126,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d64/webvtt__media__parser_8h_source.html b/docs/db/d64/webvtt__media__parser_8h_source.html index f7ead34444..5a8345df9b 100644 --- a/docs/db/d64/webvtt__media__parser_8h_source.html +++ b/docs/db/d64/webvtt__media__parser_8h_source.html @@ -180,7 +180,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d66/structshaka_1_1media_1_1mp4_1_1SegmentType-members.html b/docs/db/d66/structshaka_1_1media_1_1mp4_1_1SegmentType-members.html index ce0f37ffac..35519da9a8 100644 --- a/docs/db/d66/structshaka_1_1media_1_1mp4_1_1SegmentType-members.html +++ b/docs/db/d66/structshaka_1_1media_1_1mp4_1_1SegmentType-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d66/udp__file_8cc_source.html b/docs/db/d66/udp__file_8cc_source.html deleted file mode 100644 index c944b82b3d..0000000000 --- a/docs/db/d66/udp__file_8cc_source.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/udp_file.cc Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
udp_file.cc
-
-
-
1 // Copyright 2014 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #include "packager/media/file/udp_file.h"
-
8 
-
9 #if defined(OS_WIN)
-
10 #include <windows.h>
-
11 #include <ws2tcpip.h>
-
12 #define close closesocket
-
13 #else
-
14 #include <arpa/inet.h>
-
15 #include <errno.h>
-
16 #include <strings.h>
-
17 #include <sys/socket.h>
-
18 #include <unistd.h>
-
19 #define INVALID_SOCKET -1
-
20 #endif // defined(OS_WIN)
-
21 
-
22 #include <limits>
-
23 
-
24 #include "packager/base/logging.h"
-
25 #include "packager/media/file/udp_options.h"
-
26 
-
27 namespace shaka {
-
28 namespace media {
-
29 
-
30 namespace {
-
31 
-
32 bool IsIpv4MulticastAddress(const struct in_addr& addr) {
-
33  return (ntohl(addr.s_addr) & 0xf0000000) == 0xe0000000;
-
34 }
-
35 
-
36 } // anonymous namespace
-
37 
-
38 UdpFile::UdpFile(const char* file_name) :
-
39  File(file_name),
-
40  socket_(INVALID_SOCKET) {}
-
41 
-
42 UdpFile::~UdpFile() {}
-
43 
- -
45  if (socket_ != INVALID_SOCKET) {
-
46  close(socket_);
-
47  socket_ = INVALID_SOCKET;
-
48  }
-
49  delete this;
-
50  return true;
-
51 }
-
52 
-
53 int64_t UdpFile::Read(void* buffer, uint64_t length) {
-
54  DCHECK(buffer);
-
55  DCHECK_GE(length, 65535u)
-
56  << "Buffer may be too small to read entire datagram.";
-
57 
-
58  if (socket_ == INVALID_SOCKET)
-
59  return -1;
-
60 
-
61  int64_t result;
-
62  do {
-
63  result = recvfrom(socket_, reinterpret_cast<char *>(buffer),
-
64  length, 0, NULL, 0);
-
65  } while ((result == -1) && (errno == EINTR));
-
66 
-
67  return result;
-
68 }
-
69 
-
70 int64_t UdpFile::Write(const void* buffer, uint64_t length) {
-
71  NOTIMPLEMENTED();
-
72  return -1;
-
73 }
-
74 
-
75 int64_t UdpFile::Size() {
-
76  if (socket_ == INVALID_SOCKET)
-
77  return -1;
-
78 
-
79  return std::numeric_limits<int64_t>::max();
-
80 }
-
81 
- -
83  NOTIMPLEMENTED();
-
84  return false;
-
85 }
-
86 
-
87 bool UdpFile::Seek(uint64_t position) {
-
88  NOTIMPLEMENTED();
-
89  return false;
-
90 }
-
91 
-
92 bool UdpFile::Tell(uint64_t* position) {
-
93  NOTIMPLEMENTED();
-
94  return false;
-
95 }
-
96 
-
97 #if defined(OS_WIN)
-
98 class LibWinsockInitializer {
-
99  public:
-
100  LibWinsockInitializer() {
-
101  WSADATA wsa_data;
-
102  error_ = WSAStartup(MAKEWORD(2, 2), &wsa_data);
-
103  }
-
104 
-
105  ~LibWinsockInitializer() {
-
106  if (error_ == 0) WSACleanup();
-
107  }
-
108 
-
109  int error() const { return error_; }
-
110 
-
111  private:
-
112  int error_;
-
113 };
-
114 #endif // defined(OS_WIN)
-
115 
-
116 class ScopedSocket {
-
117  public:
-
118  explicit ScopedSocket(SOCKET sock_fd)
-
119  : sock_fd_(sock_fd) {}
-
120 
-
121  ~ScopedSocket() {
-
122  if (sock_fd_ != INVALID_SOCKET)
-
123  close(sock_fd_);
-
124  }
-
125 
-
126  SOCKET get() { return sock_fd_; }
-
127 
-
128  SOCKET release() {
-
129  SOCKET socket = sock_fd_;
-
130  sock_fd_ = INVALID_SOCKET;
-
131  return socket;
-
132  }
-
133 
-
134  private:
-
135  SOCKET sock_fd_;
-
136 
-
137  DISALLOW_COPY_AND_ASSIGN(ScopedSocket);
-
138 };
-
139 
- -
141 #if defined(OS_WIN)
-
142  static LibWinsockInitializer lib_winsock_initializer;
-
143  if (lib_winsock_initializer.error() != 0) {
-
144  LOG(ERROR) << "Winsock start up failed with error "
-
145  << lib_winsock_initializer.error();
-
146  return false;
-
147  }
-
148 #endif // defined(OS_WIN)
-
149 
-
150  DCHECK_EQ(INVALID_SOCKET, socket_);
-
151 
-
152  std::unique_ptr<UdpOptions> options =
- -
154  if (!options)
-
155  return false;
-
156 
-
157  ScopedSocket new_socket(socket(AF_INET, SOCK_DGRAM, 0));
-
158  if (new_socket.get() == INVALID_SOCKET) {
-
159  LOG(ERROR) << "Could not allocate socket.";
-
160  return false;
-
161  }
-
162 
-
163  struct in_addr local_in_addr = {0};
-
164  if (inet_pton(AF_INET, options->address().c_str(),
-
165  &local_in_addr) != 1) {
-
166  LOG(ERROR) << "Malformed IPv4 address " << options->address();
-
167  return false;
-
168  }
-
169 
-
170  struct sockaddr_in local_sock_addr = {0};
-
171  // TODO(kqyang): Support IPv6.
-
172  local_sock_addr.sin_family = AF_INET;
-
173  local_sock_addr.sin_port = htons(options->port());
-
174  const bool is_multicast = IsIpv4MulticastAddress(local_in_addr);
-
175  if (is_multicast) {
-
176  local_sock_addr.sin_addr.s_addr = htonl(INADDR_ANY);
-
177  } else {
-
178  local_sock_addr.sin_addr = local_in_addr;
-
179  }
-
180 
-
181  if (options->reuse()) {
-
182  const int optval = 1;
-
183  if (setsockopt(new_socket.get(), SOL_SOCKET, SO_REUSEADDR,
-
184  reinterpret_cast<const char *>(&optval),
-
185  sizeof(optval)) < 0) {
-
186  LOG(ERROR)
-
187  << "Could not apply the SO_REUSEADDR property to the UDP socket";
-
188  return false;
-
189  }
-
190  }
-
191 
-
192  if (bind(new_socket.get(),
-
193  reinterpret_cast<struct sockaddr*>(&local_sock_addr),
-
194  sizeof(local_sock_addr))) {
-
195  LOG(ERROR) << "Could not bind UDP socket";
-
196  return false;
-
197  }
-
198 
-
199  if (is_multicast) {
-
200  struct ip_mreq multicast_group;
-
201  multicast_group.imr_multiaddr = local_in_addr;
-
202 
-
203  if (options->interface_address().empty()) {
-
204  LOG(ERROR) << "Interface address is required for multicast, which can be "
-
205  "specified in udp url, e.g. "
-
206  "udp://ip:port?interface=interface_ip.";
-
207  return false;
-
208  }
-
209  if (inet_pton(AF_INET, options->interface_address().c_str(),
-
210  &multicast_group.imr_interface) != 1) {
-
211  LOG(ERROR) << "Malformed IPv4 interface address "
-
212  << options->interface_address();
-
213  return false;
-
214  }
-
215 
-
216  if (setsockopt(new_socket.get(), IPPROTO_IP, IP_ADD_MEMBERSHIP,
-
217  reinterpret_cast<const char *>(&multicast_group),
-
218  sizeof(multicast_group)) < 0) {
-
219  LOG(ERROR) << "Failed to join multicast group.";
-
220  return false;
-
221  }
-
222  }
-
223 
-
224  // Set timeout if needed.
-
225  if (options->timeout_us() != 0) {
-
226  struct timeval tv;
-
227  tv.tv_sec = options->timeout_us() / 1000000;
-
228  tv.tv_usec = options->timeout_us() % 1000000;
-
229  if (setsockopt(new_socket.get(), SOL_SOCKET, SO_RCVTIMEO,
-
230  reinterpret_cast<char*>(&tv), sizeof(tv)) < 0) {
-
231  LOG(ERROR) << "Failed to set socket timeout.";
-
232  return false;
-
233  }
-
234  }
-
235 
-
236  socket_ = new_socket.release();
-
237  return true;
-
238 }
-
239 
-
240 } // namespace media
-
241 } // namespace shaka
-
bool Open() override
Internal open. Should not be used directly.
Definition: udp_file.cc:140
-
int64_t Write(const void *buffer, uint64_t length) override
Definition: udp_file.cc:70
-
Define an abstract file interface.
Definition: file.h:24
-
int64_t Read(void *buffer, uint64_t length) override
Definition: udp_file.cc:53
-
static std::unique_ptr< UdpOptions > ParseFromString(base::StringPiece udp_url)
Definition: udp_options.cc:73
-
bool Tell(uint64_t *position) override
Definition: udp_file.cc:92
-
bool Flush() override
Definition: udp_file.cc:82
-
UdpFile(const char *address_and_port)
Definition: udp_file.cc:38
-
const std::string & file_name() const
Definition: file.h:91
-
bool Seek(uint64_t position) override
Definition: udp_file.cc:87
-
bool Close() override
Definition: udp_file.cc:44
-
int64_t Size() override
Definition: udp_file.cc:75
-
- - - - diff --git a/docs/db/d71/http__key__fetcher_8h_source.html b/docs/db/d71/http__key__fetcher_8h_source.html index 37d771ef46..e39d317b6f 100644 --- a/docs/db/d71/http__key__fetcher_8h_source.html +++ b/docs/db/d71/http__key__fetcher_8h_source.html @@ -166,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d74/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord-members.html b/docs/db/d74/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord-members.html index 4aa65b33c0..6d29275b12 100644 --- a/docs/db/d74/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord-members.html +++ b/docs/db/d74/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d75/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter-members.html b/docs/db/d75/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter-members.html index 06b4d5d205..7c71811018 100644 --- a/docs/db/d75/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter-members.html +++ b/docs/db/d75/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter-members.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d78/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter-members.html b/docs/db/d78/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter-members.html index 4d29955a13..2ceba59fff 100644 --- a/docs/db/d78/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter-members.html +++ b/docs/db/d78/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter-members.html @@ -99,7 +99,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 bf0dada783..06ee513aac 100644 --- a/docs/db/d7e/muxer__options_8cc_source.html +++ b/docs/db/d7e/muxer__options_8cc_source.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d84/classshaka_1_1media_1_1AACAudioSpecificConfig-members.html b/docs/db/d84/classshaka_1_1media_1_1AACAudioSpecificConfig-members.html index fb61db5395..2d05b0e91a 100644 --- a/docs/db/d84/classshaka_1_1media_1_1AACAudioSpecificConfig-members.html +++ b/docs/db/d84/classshaka_1_1media_1_1AACAudioSpecificConfig-members.html @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d86/classshaka_1_1media_1_1NaluReader.html b/docs/db/d86/classshaka_1_1media_1_1NaluReader.html index 6155dcc865..94a69bbcc4 100644 --- a/docs/db/d86/classshaka_1_1media_1_1NaluReader.html +++ b/docs/db/d86/classshaka_1_1media_1_1NaluReader.html @@ -350,7 +350,7 @@ static bool FindStartCode< diff --git a/docs/db/d8f/mp4__muxer_8h_source.html b/docs/db/d8f/mp4__muxer_8h_source.html index 47a414ca12..3765150ea0 100644 --- a/docs/db/d8f/mp4__muxer_8h_source.html +++ b/docs/db/d8f/mp4__muxer_8h_source.html @@ -179,7 +179,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d94/classshaka_1_1media_1_1ClusterBuilder.html b/docs/db/d94/classshaka_1_1media_1_1ClusterBuilder.html index 987693f5be..2d63a224f0 100644 --- a/docs/db/d94/classshaka_1_1media_1_1ClusterBuilder.html +++ b/docs/db/d94/classshaka_1_1media_1_1ClusterBuilder.html @@ -125,7 +125,7 @@ std::unique_ptr< diff --git a/docs/db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html b/docs/db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html index 35e7f6e6dd..fbad1c5ec4 100644 --- a/docs/db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html +++ b/docs/db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html @@ -312,7 +312,7 @@ template<typename T > diff --git a/docs/db/d95/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset.html b/docs/db/d95/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset.html index 174a40fdd7..94ef767635 100644 --- a/docs/db/d95/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset.html +++ b/docs/db/d95/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/db/d96/wvm__media__parser_8h_source.html b/docs/db/d96/wvm__media__parser_8h_source.html index 137b533217..5ebb33ee1e 100644 --- a/docs/db/d96/wvm__media__parser_8h_source.html +++ b/docs/db/d96/wvm__media__parser_8h_source.html @@ -362,7 +362,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/da4/classBandwidthEstimator-members.html b/docs/db/da4/classBandwidthEstimator-members.html index 1c1451136a..66956c885b 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/da6/memory__file_8h_source.html b/docs/db/da6/memory__file_8h_source.html deleted file mode 100644 index dbc5c1edc3..0000000000 --- a/docs/db/da6/memory__file_8h_source.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/memory_file.h Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
memory_file.h
-
-
-
1 // Copyright 2015 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #ifndef MEDIA_FILE_MEDIA_FILE_H_
-
8 #define MEDIA_FILE_MEDIA_FILE_H_
-
9 
-
10 #include <stdint.h>
-
11 
-
12 #include <string>
-
13 #include <vector>
-
14 
-
15 #include "packager/media/file/file.h"
-
16 
-
17 namespace shaka {
-
18 namespace media {
-
19 
-
22 class MemoryFile : public File {
-
23  public:
-
24  MemoryFile(const std::string& file_name, const std::string& mode);
-
25 
-
28  bool Close() override;
-
29  int64_t Read(void* buffer, uint64_t length) override;
-
30  int64_t Write(const void* buffer, uint64_t length) override;
-
31  int64_t Size() override;
-
32  bool Flush() override;
-
33  bool Seek(uint64_t position) override;
-
34  bool Tell(uint64_t* position) override;
-
36 
-
40  static void DeleteAll();
-
43  static void Delete(const std::string& file_name);
-
44 
-
45  protected:
-
46  ~MemoryFile() override;
-
47  bool Open() override;
-
48 
-
49  private:
-
50  std::string mode_;
-
51  std::vector<uint8_t>* file_;
-
52  uint64_t position_;
-
53 
-
54  DISALLOW_COPY_AND_ASSIGN(MemoryFile);
-
55 };
-
56 
-
57 } // namespace media
-
58 } // namespace shaka
-
59 
-
60 #endif // MEDIA_FILE_MEDIA_FILE_H_
-
61 
- -
int64_t Size() override
Definition: memory_file.cc:91
-
int64_t Read(void *buffer, uint64_t length) override
Definition: memory_file.cc:68
-
int64_t Write(const void *buffer, uint64_t length) override
Definition: memory_file.cc:80
-
Define an abstract file interface.
Definition: file.h:24
- -
bool Tell(uint64_t *position) override
Definition: memory_file.cc:108
-
static void Delete(const std::string &file_name)
Definition: memory_file.cc:135
-
bool Open() override
Internal open. Should not be used directly.
Definition: memory_file.cc:113
-
bool Seek(uint64_t position) override
Definition: memory_file.cc:100
-
const std::string & file_name() const
Definition: file.h:91
-
bool Flush() override
Definition: memory_file.cc:96
-
bool Close() override
Definition: memory_file.cc:63
-
- - - - diff --git a/docs/db/da9/classshaka_1_1media_1_1WebVttSampleConverter-members.html b/docs/db/da9/classshaka_1_1media_1_1WebVttSampleConverter-members.html index f3fea20b32..3e42bab003 100644 --- a/docs/db/da9/classshaka_1_1media_1_1WebVttSampleConverter-members.html +++ b/docs/db/da9/classshaka_1_1media_1_1WebVttSampleConverter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dab/classshaka_1_1media_1_1TextStreamInfo.html b/docs/db/dab/classshaka_1_1media_1_1TextStreamInfo.html index 3b3e288039..aca5171b33 100644 --- a/docs/db/dab/classshaka_1_1media_1_1TextStreamInfo.html +++ b/docs/db/dab/classshaka_1_1media_1_1TextStreamInfo.html @@ -304,7 +304,7 @@ void set_encryption_config diff --git a/docs/db/dae/classshaka_1_1media_1_1WebMInfoParser.html b/docs/db/dae/classshaka_1_1media_1_1WebMInfoParser.html index 48f5dba880..b7597c442b 100644 --- a/docs/db/dae/classshaka_1_1media_1_1WebMInfoParser.html +++ b/docs/db/dae/classshaka_1_1media_1_1WebMInfoParser.html @@ -175,7 +175,7 @@ The number of bytes parsed on success. diff --git a/docs/db/dae/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader-members.html b/docs/db/dae/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader-members.html index f447871018..18147644d5 100644 --- a/docs/db/dae/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader-members.html +++ b/docs/db/dae/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/db1/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html b/docs/db/db1/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html index 51b1297d2d..24a27d5556 100644 --- a/docs/db/db1/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html +++ b/docs/db/db1/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/db8/structshaka_1_1media_1_1OnMediaEndParameters.html b/docs/db/db8/structshaka_1_1media_1_1OnMediaEndParameters.html index 4fd057cf0d..5be90d1108 100644 --- a/docs/db/db8/structshaka_1_1media_1_1OnMediaEndParameters.html +++ b/docs/db/db8/structshaka_1_1media_1_1OnMediaEndParameters.html @@ -115,7 +115,7 @@ uint64_t file_size diff --git a/docs/db/db8/structshaka_1_1media_1_1mp4_1_1TrackEncryption.html b/docs/db/db8/structshaka_1_1media_1_1mp4_1_1TrackEncryption.html index ab5f0228df..08d70a7104 100644 --- a/docs/db/db8/structshaka_1_1media_1_1mp4_1_1TrackEncryption.html +++ b/docs/db/db8/structshaka_1_1media_1_1mp4_1_1TrackEncryption.html @@ -197,7 +197,7 @@ Additional Inherited Members diff --git a/docs/db/dcb/classshaka_1_1media_1_1VPxParser.html b/docs/db/dcb/classshaka_1_1media_1_1VPxParser.html index 3c6d3843c2..ea4e8abcc2 100644 --- a/docs/db/dcb/classshaka_1_1media_1_1VPxParser.html +++ b/docs/db/dcb/classshaka_1_1media_1_1VPxParser.html @@ -205,7 +205,7 @@ Protected Member Functions diff --git a/docs/db/dcd/classshaka_1_1MpdWriter.html b/docs/db/dcd/classshaka_1_1MpdWriter.html index 0f6506ff2e..7544d4cbc1 100644 --- a/docs/db/dcd/classshaka_1_1MpdWriter.html +++ b/docs/db/dcd/classshaka_1_1MpdWriter.html @@ -123,7 +123,7 @@ class MpdWriterTest diff --git a/docs/db/dcd/structshaka_1_1media_1_1mp4_1_1DTSSpecific-members.html b/docs/db/dcd/structshaka_1_1media_1_1mp4_1_1DTSSpecific-members.html index 6fcd6110f8..a80180dd14 100644 --- a/docs/db/dcd/structshaka_1_1media_1_1mp4_1_1DTSSpecific-members.html +++ b/docs/db/dcd/structshaka_1_1media_1_1mp4_1_1DTSSpecific-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html b/docs/db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html index adbdfb2f94..239b319c70 100644 --- a/docs/db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html +++ b/docs/db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html @@ -496,7 +496,7 @@ Additional Inherited Members diff --git a/docs/db/dd2/chunk__info__iterator_8h_source.html b/docs/db/dd2/chunk__info__iterator_8h_source.html index 755e3e7d94..8e3d22fd0b 100644 --- a/docs/db/dd2/chunk__info__iterator_8h_source.html +++ b/docs/db/dd2/chunk__info__iterator_8h_source.html @@ -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 3740b09fe6..92737ada65 100644 --- a/docs/db/dd9/sync__sample__iterator_8h_source.html +++ b/docs/db/dd9/sync__sample__iterator_8h_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dde/h265__parser_8cc_source.html b/docs/db/dde/h265__parser_8cc_source.html index 048c2b0f00..5b71fe3bb5 100644 --- a/docs/db/dde/h265__parser_8cc_source.html +++ b/docs/db/dde/h265__parser_8cc_source.html @@ -1213,7 +1213,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dea/classshaka_1_1media_1_1TrickPlayHandler.html b/docs/db/dea/classshaka_1_1media_1_1TrickPlayHandler.html index 248b27fb6b..c9b1e985da 100644 --- a/docs/db/dea/classshaka_1_1media_1_1TrickPlayHandler.html +++ b/docs/db/dea/classshaka_1_1media_1_1TrickPlayHandler.html @@ -270,7 +270,7 @@ class TrickPlayHandlerTest diff --git a/docs/db/dec/audio__timestamp__helper_8cc_source.html b/docs/db/dec/audio__timestamp__helper_8cc_source.html index a65ca23025..241b345a57 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/dee/pes__packet_8cc_source.html b/docs/db/dee/pes__packet_8cc_source.html index 57142d3a90..53fc4f3410 100644 --- a/docs/db/dee/pes__packet_8cc_source.html +++ b/docs/db/dee/pes__packet_8cc_source.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/df2/structshaka_1_1media_1_1H265SliceHeader-members.html b/docs/db/df2/structshaka_1_1media_1_1H265SliceHeader-members.html index d10db0b6ba..8c2dddb499 100644 --- a/docs/db/df2/structshaka_1_1media_1_1H265SliceHeader-members.html +++ b/docs/db/df2/structshaka_1_1media_1_1H265SliceHeader-members.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/df6/classshaka_1_1media_1_1Cluster-members.html b/docs/db/df6/classshaka_1_1media_1_1Cluster-members.html index f68f774fef..88d643a55f 100644 --- a/docs/db/df6/classshaka_1_1media_1_1Cluster-members.html +++ b/docs/db/df6/classshaka_1_1media_1_1Cluster-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/df6/muxer_8h_source.html b/docs/db/df6/muxer_8h_source.html index 0cc210833a..248d500dd1 100644 --- a/docs/db/df6/muxer_8h_source.html +++ b/docs/db/df6/muxer_8h_source.html @@ -188,7 +188,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html b/docs/db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html index 464d56479b..52036a9486 100644 --- a/docs/db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html +++ b/docs/db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html @@ -233,7 +233,7 @@ void WarnIfNotMatch (i diff --git a/docs/db/dfb/mpd__utils_8cc_source.html b/docs/db/dfb/mpd__utils_8cc_source.html index c18c0a2d4e..22e70dc9ef 100644 --- a/docs/db/dfb/mpd__utils_8cc_source.html +++ b/docs/db/dfb/mpd__utils_8cc_source.html @@ -454,15 +454,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
365 
366 
367 } // namespace shaka
- +
void AddContentProtectionElements(const MediaInfo &media_info, Representation *parent)
Definition: mpd_utils.cc:356
bool HexToUUID(const std::string &data, std::string *uuid_format)
Definition: mpd_utils.cc:191
std::string DoubleToString(double value)
Definition: mpd_utils.cc:184
- + 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 a10d9a8584..80f7929349 100644 --- a/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html +++ b/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html @@ -271,7 +271,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dff/structshaka_1_1media_1_1mp4_1_1ChunkInfo-members.html b/docs/db/dff/structshaka_1_1media_1_1mp4_1_1ChunkInfo-members.html index d9db14427d..78d7b00e43 100644 --- a/docs/db/dff/structshaka_1_1media_1_1mp4_1_1ChunkInfo-members.html +++ b/docs/db/dff/structshaka_1_1media_1_1mp4_1_1ChunkInfo-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d02/classshaka_1_1media_1_1IoCache-members.html b/docs/dc/d02/classshaka_1_1media_1_1IoCache-members.html deleted file mode 100644 index c2a875b8d3..0000000000 --- a/docs/dc/d02/classshaka_1_1media_1_1IoCache-members.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -DASH Media Packaging SDK: Member List - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
shaka::media::IoCache Member List
-
-
- -

This is the complete list of members for shaka::media::IoCache, including all inherited members.

- - - - - - - - - - - - -
BytesCached()shaka::media::IoCache
BytesFree()shaka::media::IoCache
Clear()shaka::media::IoCache
Close()shaka::media::IoCache
closed()shaka::media::IoCacheinline
IoCache(uint64_t cache_size) (defined in shaka::media::IoCache)shaka::media::IoCacheexplicit
Read(void *buffer, uint64_t size)shaka::media::IoCache
Reopen()shaka::media::IoCache
WaitUntilEmptyOrClosed()shaka::media::IoCache
Write(const void *buffer, uint64_t size)shaka::media::IoCache
~IoCache() (defined in shaka::media::IoCache)shaka::media::IoCache
- - - - diff --git a/docs/dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html b/docs/dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html index 02b5f945d3..048a147706 100644 --- a/docs/dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html +++ b/docs/dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html @@ -138,7 +138,7 @@ static const uint8_t kElem diff --git a/docs/dc/d06/classshaka_1_1media_1_1StreamInfo-members.html b/docs/dc/d06/classshaka_1_1media_1_1StreamInfo-members.html index 1fcc909dd9..8e6c8e4df5 100644 --- a/docs/dc/d06/classshaka_1_1media_1_1StreamInfo-members.html +++ b/docs/dc/d06/classshaka_1_1media_1_1StreamInfo-members.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d0b/classshaka_1_1media_1_1ESDescriptor-members.html b/docs/dc/d0b/classshaka_1_1media_1_1ESDescriptor-members.html index 8108b740b3..c089c98be5 100644 --- a/docs/dc/d0b/classshaka_1_1media_1_1ESDescriptor-members.html +++ b/docs/dc/d0b/classshaka_1_1media_1_1ESDescriptor-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d16/classshaka_1_1media_1_1SeekHead.html b/docs/dc/d16/classshaka_1_1media_1_1SeekHead.html index 85cd6e7742..ee79a3d894 100644 --- a/docs/dc/d16/classshaka_1_1media_1_1SeekHead.html +++ b/docs/dc/d16/classshaka_1_1media_1_1SeekHead.html @@ -149,7 +149,7 @@ void set_tracks_pos (u diff --git a/docs/dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html b/docs/dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html index c748e21ee4..24395fb384 100644 --- a/docs/dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html +++ b/docs/dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html @@ -257,7 +257,7 @@ std::shared_ptr< diff --git a/docs/dc/d18/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html b/docs/dc/d18/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html index 39553b1339..eccd54dde2 100644 --- a/docs/dc/d18/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html +++ b/docs/dc/d18/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d19/box_8h_source.html b/docs/dc/d19/box_8h_source.html index d15fdafc8e..6706d6c68f 100644 --- a/docs/dc/d19/box_8h_source.html +++ b/docs/dc/d19/box_8h_source.html @@ -172,7 +172,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual bool ReadWriteHeaderInternal(BoxBuffer *buffer)
Definition: box.cc:61
- +
uint32_t ComputeSize()
Definition: box.cc:50
uint32_t box_size()
Definition: box.h:55
@@ -184,7 +184,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 1a3e54177b..cdefb6de83 100644 --- a/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html +++ b/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html @@ -406,9 +406,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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
- +
virtual Representation * AddRepresentation(const MediaInfo &media_info)
Definition: mpd_builder.cc:663
-
uint32_t id() const
Definition: mpd_builder.h:486
+
uint32_t id() const
Definition: mpd_builder.h:483
bool NotifySampleDuration(uint32_t container_id, uint32_t sample_duration) override
void AddContentProtectionElements(const MediaInfo &media_info, Representation *parent)
Definition: mpd_utils.cc:356
@@ -417,7 +417,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual void ForceSetSegmentAlignment(bool segment_alignment)
Definition: mpd_builder.cc:830
bool AddContentProtectionElement(uint32_t id, const ContentProtectionElement &content_protection_element) override
static void MakePathsRelativeToMpd(const std::string &mpd_path, MediaInfo *media_info)
Definition: mpd_builder.cc:620
- +
ContentType GetContentType(const MediaInfo &media_info)
bool WriteMpdToFile(const std::string &output_path, MpdBuilder *mpd_builder)
@@ -425,7 +425,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); 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 5108a6a804..48447312fd 100644 --- a/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html +++ b/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html @@ -165,7 +165,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 index 16acb0e575..6ddcdaaad7 100644 --- a/docs/dc/d3c/webm__cluster__parser_8h_source.html +++ b/docs/dc/d3c/webm__cluster__parser_8h_source.html @@ -304,7 +304,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d3f/key__source_8h_source.html b/docs/dc/d3f/key__source_8h_source.html index 34483ccac4..8bd1545e6c 100644 --- a/docs/dc/d3f/key__source_8h_source.html +++ b/docs/dc/d3f/key__source_8h_source.html @@ -158,7 +158,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d40/classshaka_1_1xml_1_1XmlNode-members.html b/docs/dc/d40/classshaka_1_1xml_1_1XmlNode-members.html index 6b131164ea..2247f4f22e 100644 --- a/docs/dc/d40/classshaka_1_1xml_1_1XmlNode-members.html +++ b/docs/dc/d40/classshaka_1_1xml_1_1XmlNode-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d41/classshaka_1_1media_1_1BufferWriter.html b/docs/dc/d41/classshaka_1_1media_1_1BufferWriter.html index a94889eff2..b64392fdf0 100644 --- a/docs/dc/d41/classshaka_1_1media_1_1BufferWriter.html +++ b/docs/dc/d41/classshaka_1_1media_1_1BufferWriter.html @@ -125,7 +125,7 @@ size_t Size () const <   const uint8_t * Buffer () const   -Status WriteToFile (File *file) +Status WriteToFile (File *file)  
void AppendInt (uint8_t v) @@ -152,7 +152,7 @@ void AppendInt (int64_

Detailed Description

A simple buffer writer implementation which appends various data types to buffer.

-

Definition at line 22 of file buffer_writer.h.

+

Definition at line 23 of file buffer_writer.h.

Constructor & Destructor Documentation

@@ -264,7 +264,7 @@ void AppendInt (int64_
Returns
Underlying buffer. Behavior is undefined if the buffer size is 0.
-

Definition at line 59 of file buffer_writer.h.

+

Definition at line 60 of file buffer_writer.h.

@@ -275,7 +275,7 @@ void AppendInt (int64_ Status shaka::media::BufferWriter::WriteToFile ( - File *  + File *  file) @@ -301,7 +301,7 @@ void AppendInt (int64_ diff --git a/docs/dc/d4a/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html b/docs/dc/d4a/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html index 27b80bb45b..014e72be43 100644 --- a/docs/dc/d4a/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html +++ b/docs/dc/d4a/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d4f/structshaka_1_1media_1_1mp4_1_1TrackHeader-members.html b/docs/dc/d4f/structshaka_1_1media_1_1mp4_1_1TrackHeader-members.html index ce25f99396..dfd24469a5 100644 --- a/docs/dc/d4f/structshaka_1_1media_1_1mp4_1_1TrackHeader-members.html +++ b/docs/dc/d4f/structshaka_1_1media_1_1mp4_1_1TrackHeader-members.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d51/h265__byte__to__unit__stream__converter_8cc_source.html b/docs/dc/d51/h265__byte__to__unit__stream__converter_8cc_source.html index 03b2e01b25..706b78a4c5 100644 --- a/docs/dc/d51/h265__byte__to__unit__stream__converter_8cc_source.html +++ b/docs/dc/d51/h265__byte__to__unit__stream__converter_8cc_source.html @@ -229,7 +229,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
uint64_t header_size() const
The size of the header, e.g. 1 for H.264.
Definition: nalu_reader.h:100
- +
A base class that is used to convert H.26x byte streams to NAL unit streams.
const H265Sps * GetSps(int sps_id)
Definition: h265_parser.cc:625
@@ -239,7 +239,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d52/decoding__time__iterator_8h_source.html b/docs/dc/d52/decoding__time__iterator_8h_source.html index d7ed39f19f..3ea659cf33 100644 --- a/docs/dc/d52/decoding__time__iterator_8h_source.html +++ b/docs/dc/d52/decoding__time__iterator_8h_source.html @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d53/webm_2segmenter_8cc_source.html b/docs/dc/d53/webm_2segmenter_8cc_source.html index 71466cfa47..de9bfd63ba 100644 --- a/docs/dc/d53/webm_2segmenter_8cc_source.html +++ b/docs/dc/d53/webm_2segmenter_8cc_source.html @@ -537,7 +537,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d54/structshaka_1_1media_1_1H264DecRefPicMarking.html b/docs/dc/d54/structshaka_1_1media_1_1H264DecRefPicMarking.html index d5c917775d..49d3677693 100644 --- a/docs/dc/d54/structshaka_1_1media_1_1H264DecRefPicMarking.html +++ b/docs/dc/d54/structshaka_1_1media_1_1H264DecRefPicMarking.html @@ -121,7 +121,7 @@ int max_long_term_frame_id diff --git a/docs/dc/d58/webm__media__parser_8h_source.html b/docs/dc/d58/webm__media__parser_8h_source.html index 7b3d06a538..39ffd01fa5 100644 --- a/docs/dc/d58/webm__media__parser_8h_source.html +++ b/docs/dc/d58/webm__media__parser_8h_source.html @@ -178,7 +178,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d5c/classshaka_1_1MockMpdNotifier.html b/docs/dc/d5c/classshaka_1_1MockMpdNotifier.html index d80fb07f85..9bf647e836 100644 --- a/docs/dc/d5c/classshaka_1_1MockMpdNotifier.html +++ b/docs/dc/d5c/classshaka_1_1MockMpdNotifier.html @@ -162,7 +162,7 @@ Public Member Functions diff --git a/docs/dc/d69/structshaka_1_1media_1_1mp4_1_1CueSettingsBox-members.html b/docs/dc/d69/structshaka_1_1media_1_1mp4_1_1CueSettingsBox-members.html index b3b9f56fa0..eb98b4309f 100644 --- a/docs/dc/d69/structshaka_1_1media_1_1mp4_1_1CueSettingsBox-members.html +++ b/docs/dc/d69/structshaka_1_1media_1_1mp4_1_1CueSettingsBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d6f/classshaka_1_1media_1_1webm_1_1Segmenter-members.html b/docs/dc/d6f/classshaka_1_1media_1_1webm_1_1Segmenter-members.html index 8b3d62a022..1735a3e861 100644 --- a/docs/dc/d6f/classshaka_1_1media_1_1webm_1_1Segmenter-members.html +++ b/docs/dc/d6f/classshaka_1_1media_1_1webm_1_1Segmenter-members.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d71/classshaka_1_1media_1_1mp2t_1_1TsSection-members.html b/docs/dc/d71/classshaka_1_1media_1_1mp2t_1_1TsSection-members.html index 7d64615261..3402760ffd 100644 --- a/docs/dc/d71/classshaka_1_1media_1_1mp2t_1_1TsSection-members.html +++ b/docs/dc/d71/classshaka_1_1media_1_1mp2t_1_1TsSection-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d73/classshaka_1_1media_1_1MockMuxerListener.html b/docs/dc/d73/classshaka_1_1media_1_1MockMuxerListener.html index 7939ffec5b..1c949eec26 100644 --- a/docs/dc/d73/classshaka_1_1media_1_1MockMuxerListener.html +++ b/docs/dc/d73/classshaka_1_1media_1_1MockMuxerListener.html @@ -211,7 +211,7 @@ Additional Inherited Members diff --git a/docs/dc/d7b/closure__thread_8cc_source.html b/docs/dc/d7b/closure__thread_8cc_source.html index 694f4c94d2..301ddc0c8e 100644 --- a/docs/dc/d7b/closure__thread_8cc_source.html +++ b/docs/dc/d7b/closure__thread_8cc_source.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d7b/h264__parser_8cc_source.html b/docs/dc/d7b/h264__parser_8cc_source.html index ddefcaaa5e..23411497d2 100644 --- a/docs/dc/d7b/h264__parser_8cc_source.html +++ b/docs/dc/d7b/h264__parser_8cc_source.html @@ -1256,7 +1256,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d86/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html b/docs/dc/d86/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html index ee2de29056..49f46e330f 100644 --- a/docs/dc/d86/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html +++ b/docs/dc/d86/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d8f/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader.html b/docs/dc/d8f/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader.html index 601fc1a7f3..b4ee94fbee 100644 --- a/docs/dc/d8f/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader.html +++ b/docs/dc/d8f/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/dc/d9a/structshaka_1_1media_1_1Range-members.html b/docs/dc/d9a/structshaka_1_1media_1_1Range-members.html index 3732fb5a2f..efa6ec3fa9 100644 --- a/docs/dc/d9a/structshaka_1_1media_1_1Range-members.html +++ b/docs/dc/d9a/structshaka_1_1media_1_1Range-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/da0/structshaka_1_1media_1_1mp4_1_1DTSSpecific.html b/docs/dc/da0/structshaka_1_1media_1_1mp4_1_1DTSSpecific.html index c8dfb68ca6..0a2deafe4d 100644 --- a/docs/dc/da0/structshaka_1_1media_1_1mp4_1_1DTSSpecific.html +++ b/docs/dc/da0/structshaka_1_1media_1_1mp4_1_1DTSSpecific.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/dc/da1/classshaka_1_1MpdBuilder.html b/docs/dc/da1/classshaka_1_1MpdBuilder.html index 53b0252b5d..27ca19db97 100644 --- a/docs/dc/da1/classshaka_1_1MpdBuilder.html +++ b/docs/dc/da1/classshaka_1_1MpdBuilder.html @@ -143,7 +143,7 @@ template<DashProfile profile>

Detailed Description

This class generates DASH MPDs (Media Presentation Descriptions).

-

Definition at line 57 of file mpd_builder.h.

+

Definition at line 54 of file mpd_builder.h.

Constructor & Destructor Documentation

@@ -323,7 +323,7 @@ template<DashProfile profile>
diff --git a/docs/dc/da6/classshaka_1_1media_1_1ContentEncoding.html b/docs/dc/da6/classshaka_1_1media_1_1ContentEncoding.html index feda39bf4f..c75ca89e6a 100644 --- a/docs/dc/da6/classshaka_1_1media_1_1ContentEncoding.html +++ b/docs/dc/da6/classshaka_1_1media_1_1ContentEncoding.html @@ -208,7 +208,7 @@ Static Public Attributes diff --git a/docs/dc/dbd/structshaka_1_1media_1_1FileCloser-members.html b/docs/dc/dbd/structshaka_1_1media_1_1FileCloser-members.html deleted file mode 100644 index 39e9d20e35..0000000000 --- a/docs/dc/dbd/structshaka_1_1media_1_1FileCloser-members.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - -DASH Media Packaging SDK: Member List - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
shaka::media::FileCloser Member List
-
-
- -

This is the complete list of members for shaka::media::FileCloser, including all inherited members.

- - -
operator()(File *file) const (defined in shaka::media::FileCloser)shaka::media::FileCloserinline
- - - - diff --git a/docs/dc/dbf/box__buffer_8h_source.html b/docs/dc/dbf/box__buffer_8h_source.html index 05223bd98a..3be7e4b82e 100644 --- a/docs/dc/dbf/box__buffer_8h_source.html +++ b/docs/dc/dbf/box__buffer_8h_source.html @@ -271,7 +271,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
bool ScanChildren() WARN_UNUSED_RESULT
Definition: box_reader.cc:67
- +
void AppendNBytes(uint64_t v, size_t num_bytes)
bool ReadNBytesInto8(uint64_t *v, size_t num_bytes) WARN_UNUSED_RESULT
@@ -294,7 +294,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/dc1/classshaka_1_1xml_1_1RepresentationXmlNode-members.html b/docs/dc/dc1/classshaka_1_1xml_1_1RepresentationXmlNode-members.html index 906a4e9575..ff5701056b 100644 --- a/docs/dc/dc1/classshaka_1_1xml_1_1RepresentationXmlNode-members.html +++ b/docs/dc/dc1/classshaka_1_1xml_1_1RepresentationXmlNode-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/dca/classshaka_1_1media_1_1WebMListParser.html b/docs/dc/dca/classshaka_1_1media_1_1WebMListParser.html index 716bf41c9b..9a16e4692a 100644 --- a/docs/dc/dca/classshaka_1_1media_1_1WebMListParser.html +++ b/docs/dc/dca/classshaka_1_1media_1_1WebMListParser.html @@ -210,7 +210,7 @@ void  diff --git a/docs/dc/dd9/rsa__key_8cc_source.html b/docs/dc/dd9/rsa__key_8cc_source.html index 10af10990d..6f68011528 100644 --- a/docs/dc/dd9/rsa__key_8cc_source.html +++ b/docs/dc/dd9/rsa__key_8cc_source.html @@ -340,7 +340,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/ddf/structshaka_1_1media_1_1mp4_1_1Media.html b/docs/dc/ddf/structshaka_1_1media_1_1mp4_1_1Media.html index 5a57877f9e..54f1617f4a 100644 --- a/docs/dc/ddf/structshaka_1_1media_1_1mp4_1_1Media.html +++ b/docs/dc/ddf/structshaka_1_1media_1_1mp4_1_1Media.html @@ -179,7 +179,7 @@ Additional Inherited Members diff --git a/docs/dc/de1/structshaka_1_1SegmentInfo.html b/docs/dc/de1/structshaka_1_1SegmentInfo.html index 35b06b8af3..044581b6ae 100644 --- a/docs/dc/de1/structshaka_1_1SegmentInfo.html +++ b/docs/dc/de1/structshaka_1_1SegmentInfo.html @@ -118,7 +118,7 @@ uint64_t repeat diff --git a/docs/dc/deb/classshaka_1_1media_1_1mp4_1_1Fragmenter-members.html b/docs/dc/deb/classshaka_1_1media_1_1mp4_1_1Fragmenter-members.html index e37de9d2f3..8e8391ef45 100644 --- a/docs/dc/deb/classshaka_1_1media_1_1mp4_1_1Fragmenter-members.html +++ b/docs/dc/deb/classshaka_1_1media_1_1mp4_1_1Fragmenter-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/deb/h265__byte__to__unit__stream__converter_8h_source.html b/docs/dc/deb/h265__byte__to__unit__stream__converter_8h_source.html index 038d696b69..24816d9bec 100644 --- a/docs/dc/deb/h265__byte__to__unit__stream__converter_8h_source.html +++ b/docs/dc/deb/h265__byte__to__unit__stream__converter_8h_source.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/dec/ts__section__pmt_8cc_source.html b/docs/dc/dec/ts__section__pmt_8cc_source.html index 0bd65d9e73..80fc774427 100644 --- a/docs/dc/dec/ts__section__pmt_8cc_source.html +++ b/docs/dc/dec/ts__section__pmt_8cc_source.html @@ -208,7 +208,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/df0/classshaka_1_1media_1_1ClosureThread.html b/docs/dc/df0/classshaka_1_1media_1_1ClosureThread.html index 24aaca1f98..faefffd2b6 100644 --- a/docs/dc/df0/classshaka_1_1media_1_1ClosureThread.html +++ b/docs/dc/df0/classshaka_1_1media_1_1ClosureThread.html @@ -179,7 +179,7 @@ void  diff --git a/docs/dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html b/docs/dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html index de37f0bd81..c9c81f03b7 100644 --- a/docs/dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html +++ b/docs/dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html @@ -261,7 +261,7 @@ std::shared_ptr< diff --git a/docs/dc/df4/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter-members.html b/docs/dc/df4/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter-members.html index 9b913599da..df344cf385 100644 --- a/docs/dc/df4/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter-members.html +++ b/docs/dc/df4/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter-members.html @@ -130,7 +130,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/df7/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun-members.html b/docs/dc/df7/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun-members.html index 0fdbd47fe3..a9ce0b0fa2 100644 --- a/docs/dc/df7/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun-members.html +++ b/docs/dc/df7/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun-members.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/df8/closure__thread_8h_source.html b/docs/dc/df8/closure__thread_8h_source.html index ab91374dc4..169a403a9c 100644 --- a/docs/dc/df8/closure__thread_8h_source.html +++ b/docs/dc/df8/closure__thread_8h_source.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d05/encryption__config_8h_source.html b/docs/dd/d05/encryption__config_8h_source.html index 9104be8c85..bad7135cc7 100644 --- a/docs/dd/d05/encryption__config_8h_source.html +++ b/docs/dd/d05/encryption__config_8h_source.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d06/structshaka_1_1media_1_1mp4_1_1ChunkOffset.html b/docs/dd/d06/structshaka_1_1media_1_1mp4_1_1ChunkOffset.html index aab06f86bb..b77a65d45b 100644 --- a/docs/dd/d06/structshaka_1_1media_1_1mp4_1_1ChunkOffset.html +++ b/docs/dd/d06/structshaka_1_1media_1_1mp4_1_1ChunkOffset.html @@ -180,7 +180,7 @@ uint32_t flags diff --git a/docs/dd/d11/mpd__builder_8cc_source.html b/docs/dd/d11/mpd__builder_8cc_source.html index 8402f0aa95..ae1098eba4 100644 --- a/docs/dd/d11/mpd__builder_8cc_source.html +++ b/docs/dd/d11/mpd__builder_8cc_source.html @@ -113,8 +113,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
24 #include "packager/base/synchronization/lock.h"
25 #include "packager/base/time/default_clock.h"
26 #include "packager/base/time/time.h"
-
27 #include "packager/media/base/language_utils.h"
-
28 #include "packager/media/file/file.h"
+
27 #include "packager/file/file.h"
+
28 #include "packager/media/base/language_utils.h"
29 #include "packager/mpd/base/content_protection_element.h"
30 #include "packager/mpd/base/mpd_utils.h"
31 #include "packager/mpd/base/xml/xml_node.h"
@@ -1481,7 +1481,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual void AddNewSegment(uint64_t start_time, uint64_t duration, uint64_t size)
Representation(const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, std::unique_ptr< RepresentationStateChangeListener > state_change_listener)
- +
virtual void SetSampleDuration(uint32_t sample_duration)
virtual Representation * AddRepresentation(const MediaInfo &media_info)
Definition: mpd_builder.cc:663
std::string LanguageToShortestForm(const std::string &language)
@@ -1500,7 +1500,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
static void MakePathsRelativeToMpd(const std::string &mpd_path, MediaInfo *media_info)
Definition: mpd_builder.cc:620
xml::scoped_xml_ptr< xmlNode > GetXml()
Definition: mpd_builder.cc:731
virtual void AddContentProtectionElement(const ContentProtectionElement &element)
- +
virtual AdaptationSet * AddAdaptationSet(const std::string &lang)
Definition: mpd_builder.cc:382
Defines Mpd Options.
Definition: mpd_options.h:23
void OnNewSegmentForRepresentation(uint32_t representation_id, uint64_t start_time, uint64_t duration)
Definition: mpd_builder.cc:847
@@ -1511,7 +1511,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 e1a92e217d..971ad24e58 100644 --- a/docs/dd/d12/mpd__writer_8cc_source.html +++ b/docs/dd/d12/mpd__writer_8cc_source.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
12 
13 #include "packager/base/files/file_path.h"
14 #include "packager/base/files/file_util.h"
-
15 #include "packager/media/file/file.h"
+
15 #include "packager/file/file.h"
16 #include "packager/mpd/base/dash_iop_mpd_notifier.h"
17 #include "packager/mpd/base/mpd_builder.h"
18 #include "packager/mpd/base/mpd_notifier.h"
@@ -159,67 +159,65 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
70 bool MpdWriter::AddFile(const std::string& media_info_path,
71  const std::string& mpd_path) {
72  std::string file_content;
-
73  if (!media::File::ReadFileToString(media_info_path.c_str(),
-
74  &file_content)) {
-
75  LOG(ERROR) << "Failed to read " << media_info_path << " to string.";
-
76  return false;
-
77  }
-
78 
-
79  MediaInfo media_info;
-
80  if (!::google::protobuf::TextFormat::ParseFromString(file_content,
-
81  &media_info)) {
-
82  LOG(ERROR) << "Failed to parse " << file_content << " to MediaInfo.";
-
83  return false;
-
84  }
-
85 
-
86  MpdBuilder::MakePathsRelativeToMpd(mpd_path, &media_info);
-
87  media_infos_.push_back(media_info);
-
88  return true;
-
89 }
-
90 
-
91 void MpdWriter::AddBaseUrl(const std::string& base_url) {
-
92  base_urls_.push_back(base_url);
-
93 }
-
94 
-
95 bool MpdWriter::WriteMpdToFile(const char* file_name) {
-
96  CHECK(file_name);
-
97  std::unique_ptr<MpdNotifier> notifier =
-
98  notifier_factory_->Create(MpdOptions(), base_urls_, file_name);
-
99  if (!notifier->Init()) {
-
100  LOG(ERROR) << "failed to initialize MpdNotifier.";
-
101  return false;
-
102  }
-
103 
-
104  for (std::list<MediaInfo>::const_iterator it = media_infos_.begin();
-
105  it != media_infos_.end();
-
106  ++it) {
-
107  uint32_t unused_conatiner_id;
-
108  if (!notifier->NotifyNewContainer(*it, &unused_conatiner_id)) {
-
109  LOG(ERROR) << "Failed to add MediaInfo for media file: "
-
110  << it->media_file_name();
-
111  return false;
-
112  }
-
113  }
-
114 
-
115  if (!notifier->Flush()) {
-
116  LOG(ERROR) << "Failed to flush MPD notifier.";
-
117  return false;
-
118  }
-
119  return true;
-
120 }
-
121 
-
122 void MpdWriter::SetMpdNotifierFactoryForTest(
-
123  std::unique_ptr<MpdNotifierFactory> factory) {
-
124  notifier_factory_ = std::move(factory);
-
125 }
-
126 
-
127 } // namespace shaka
+
73  if (!File::ReadFileToString(media_info_path.c_str(), &file_content)) {
+
74  LOG(ERROR) << "Failed to read " << media_info_path << " to string.";
+
75  return false;
+
76  }
+
77 
+
78  MediaInfo media_info;
+
79  if (!::google::protobuf::TextFormat::ParseFromString(file_content,
+
80  &media_info)) {
+
81  LOG(ERROR) << "Failed to parse " << file_content << " to MediaInfo.";
+
82  return false;
+
83  }
+
84 
+
85  MpdBuilder::MakePathsRelativeToMpd(mpd_path, &media_info);
+
86  media_infos_.push_back(media_info);
+
87  return true;
+
88 }
+
89 
+
90 void MpdWriter::AddBaseUrl(const std::string& base_url) {
+
91  base_urls_.push_back(base_url);
+
92 }
+
93 
+
94 bool MpdWriter::WriteMpdToFile(const char* file_name) {
+
95  CHECK(file_name);
+
96  std::unique_ptr<MpdNotifier> notifier =
+
97  notifier_factory_->Create(MpdOptions(), base_urls_, file_name);
+
98  if (!notifier->Init()) {
+
99  LOG(ERROR) << "failed to initialize MpdNotifier.";
+
100  return false;
+
101  }
+
102 
+
103  for (std::list<MediaInfo>::const_iterator it = media_infos_.begin();
+
104  it != media_infos_.end();
+
105  ++it) {
+
106  uint32_t unused_conatiner_id;
+
107  if (!notifier->NotifyNewContainer(*it, &unused_conatiner_id)) {
+
108  LOG(ERROR) << "Failed to add MediaInfo for media file: "
+
109  << it->media_file_name();
+
110  return false;
+
111  }
+
112  }
+
113 
+
114  if (!notifier->Flush()) {
+
115  LOG(ERROR) << "Failed to flush MPD notifier.";
+
116  return false;
+
117  }
+
118  return true;
+
119 }
+
120 
+
121 void MpdWriter::SetMpdNotifierFactoryForTest(
+
122  std::unique_ptr<MpdNotifierFactory> factory) {
+
123  notifier_factory_ = std::move(factory);
+
124 }
+
125 
+
126 } // namespace shaka
static void MakePathsRelativeToMpd(const std::string &mpd_path, MediaInfo *media_info)
Definition: mpd_builder.cc:620
-
static bool ReadFileToString(const char *file_name, std::string *contents)
Definition: file.cc:199
diff --git a/docs/dd/d13/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html b/docs/dd/d13/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html index 6cb06e8e0b..4f85927ec2 100644 --- a/docs/dd/d13/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html +++ b/docs/dd/d13/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html @@ -188,7 +188,7 @@ Additional Inherited Members diff --git a/docs/dd/d17/classshaka_1_1media_1_1Demuxer.html b/docs/dd/d17/classshaka_1_1media_1_1Demuxer.html index 6fd0cd220f..b7e70dde86 100644 --- a/docs/dd/d17/classshaka_1_1media_1_1Demuxer.html +++ b/docs/dd/d17/classshaka_1_1media_1_1Demuxer.html @@ -209,7 +209,7 @@ std::pair< std::shared_ptr

Detailed Description

Demuxer is responsible for extracting elementary stream samples from a media file, e.g. an ISO BMFF file.

-

Definition at line 32 of file demuxer.h.

+

Definition at line 34 of file demuxer.h.

Constructor & Destructor Documentation

@@ -234,7 +234,7 @@ std::pair< std::shared_ptr
Parameters
- +
file_namespecifies the input source. It uses prefix matching to create a proper File object. The user can extend File to support a custom File object with its own prefix.
file_namespecifies the input source. It uses prefix matching to create a proper File object. The user can extend File to support a custom File object with its own prefix.
@@ -284,7 +284,7 @@ std::pair< std::shared_ptr
Returns
Container name (type). Value is CONTAINER_UNKNOWN if the demuxer is not initialized.
-

Definition at line 56 of file demuxer.h.

+

Definition at line 58 of file demuxer.h.

@@ -312,7 +312,7 @@ std::pair< std::shared_ptr

Implements shaka::media::MediaHandler.

-

Definition at line 80 of file demuxer.h.

+

Definition at line 82 of file demuxer.h.

@@ -341,7 +341,7 @@ std::pair< std::shared_ptr

Implements shaka::media::MediaHandler.

-

Definition at line 81 of file demuxer.h.

+

Definition at line 83 of file demuxer.h.

@@ -467,7 +467,7 @@ std::pair< std::shared_ptr
diff --git a/docs/dd/d18/es__parser__adts_8h_source.html b/docs/dd/d18/es__parser__adts_8h_source.html index 210e5dd707..15075e67c5 100644 --- a/docs/dd/d18/es__parser__adts_8h_source.html +++ b/docs/dd/d18/es__parser__adts_8h_source.html @@ -172,7 +172,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d19/video__stream__info_8cc_source.html b/docs/dd/d19/video__stream__info_8cc_source.html index a3cd2c8256..1657266598 100644 --- a/docs/dd/d19/video__stream__info_8cc_source.html +++ b/docs/dd/d19/video__stream__info_8cc_source.html @@ -186,7 +186,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d30/wvm__media__parser_8cc_source.html b/docs/dd/d30/wvm__media__parser_8cc_source.html index 8920c7e286..8d5aa98155 100644 --- a/docs/dd/d30/wvm__media__parser_8cc_source.html +++ b/docs/dd/d30/wvm__media__parser_8cc_source.html @@ -1272,7 +1272,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d3a/gflags__hex__bytes_8h_source.html b/docs/dd/d3a/gflags__hex__bytes_8h_source.html index 33bc27781a..903955bba1 100644 --- a/docs/dd/d3a/gflags__hex__bytes_8h_source.html +++ b/docs/dd/d3a/gflags__hex__bytes_8h_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d3b/mp4_2segmenter_8h_source.html b/docs/dd/d3b/mp4_2segmenter_8h_source.html index 2b57c2053d..95c6682349 100644 --- a/docs/dd/d3b/mp4_2segmenter_8h_source.html +++ b/docs/dd/d3b/mp4_2segmenter_8h_source.html @@ -225,7 +225,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d3f/structshaka_1_1media_1_1mp4_1_1SyncSample.html b/docs/dd/d3f/structshaka_1_1media_1_1mp4_1_1SyncSample.html index a2354efbbb..49af644682 100644 --- a/docs/dd/d3f/structshaka_1_1media_1_1mp4_1_1SyncSample.html +++ b/docs/dd/d3f/structshaka_1_1media_1_1mp4_1_1SyncSample.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/dd/d42/encryptor_8h_source.html b/docs/dd/d42/encryptor_8h_source.html index 0b8e0f796a..a535e5ae1b 100644 --- a/docs/dd/d42/encryptor_8h_source.html +++ b/docs/dd/d42/encryptor_8h_source.html @@ -121,7 +121,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d46/webm__parser_8h_source.html b/docs/dd/d46/webm__parser_8h_source.html index 6d5a10bfce..03e92e5908 100644 --- a/docs/dd/d46/webm__parser_8h_source.html +++ b/docs/dd/d46/webm__parser_8h_source.html @@ -227,7 +227,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d4d/structshaka_1_1media_1_1mp4_1_1MovieFragment-members.html b/docs/dd/d4d/structshaka_1_1media_1_1mp4_1_1MovieFragment-members.html index fac43fb472..1cfda44e21 100644 --- a/docs/dd/d4d/structshaka_1_1media_1_1mp4_1_1MovieFragment-members.html +++ b/docs/dd/d4d/structshaka_1_1media_1_1mp4_1_1MovieFragment-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d53/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html b/docs/dd/d53/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html index 6c2990c6e5..f679a1094b 100644 --- a/docs/dd/d53/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html +++ b/docs/dd/d53/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d54/widevine__encryption__flags_8h_source.html b/docs/dd/d54/widevine__encryption__flags_8h_source.html index 56571b420d..031c8f59de 100644 --- a/docs/dd/d54/widevine__encryption__flags_8h_source.html +++ b/docs/dd/d54/widevine__encryption__flags_8h_source.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d59/classshaka_1_1media_1_1mp2t_1_1EsParserH265-members.html b/docs/dd/d59/classshaka_1_1media_1_1mp2t_1_1EsParserH265-members.html index be43f2a858..6bb3b1c7e3 100644 --- a/docs/dd/d59/classshaka_1_1media_1_1mp2t_1_1EsParserH265-members.html +++ b/docs/dd/d59/classshaka_1_1media_1_1mp2t_1_1EsParserH265-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d59/structshaka_1_1media_1_1mp4_1_1SchemeInfo-members.html b/docs/dd/d59/structshaka_1_1media_1_1mp4_1_1SchemeInfo-members.html index 5613e5637b..7f82c606b2 100644 --- a/docs/dd/d59/structshaka_1_1media_1_1mp4_1_1SchemeInfo-members.html +++ b/docs/dd/d59/structshaka_1_1media_1_1mp4_1_1SchemeInfo-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d64/structshaka_1_1media_1_1mp4_1_1SyncSample-members.html b/docs/dd/d64/structshaka_1_1media_1_1mp4_1_1SyncSample-members.html index a1ffb6dd12..14167f9da2 100644 --- a/docs/dd/d64/structshaka_1_1media_1_1mp4_1_1SyncSample-members.html +++ b/docs/dd/d64/structshaka_1_1media_1_1mp4_1_1SyncSample-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d65/vp8__parser_8h_source.html b/docs/dd/d65/vp8__parser_8h_source.html index fc9c1bb000..9f4de35647 100644 --- a/docs/dd/d65/vp8__parser_8h_source.html +++ b/docs/dd/d65/vp8__parser_8h_source.html @@ -136,7 +136,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 22e880e031..382ec7b0a1 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 @@ -180,7 +180,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
int type() const
Definition: nalu_reader.h:113
uint64_t header_size() const
The size of the header, e.g. 1 for H.264.
Definition: nalu_reader.h:100
- +
bool GetDecoderConfigurationRecord(std::vector< uint8_t > *decoder_config) const override
A base class that is used to convert H.26x byte streams to NAL unit streams.
@@ -188,7 +188,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d6e/classshaka_1_1media_1_1H265VideoSliceHeaderParser-members.html b/docs/dd/d6e/classshaka_1_1media_1_1H265VideoSliceHeaderParser-members.html index 4ba250b0b2..771662ceaf 100644 --- a/docs/dd/d6e/classshaka_1_1media_1_1H265VideoSliceHeaderParser-members.html +++ b/docs/dd/d6e/classshaka_1_1media_1_1H265VideoSliceHeaderParser-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d71/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio.html b/docs/dd/d71/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio.html index c80a2c3f1d..0a3f62e7c5 100644 --- a/docs/dd/d71/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio.html +++ b/docs/dd/d71/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio.html @@ -176,7 +176,7 @@ Additional Inherited Members diff --git a/docs/dd/d7a/classshaka_1_1media_1_1MuxerListener.html b/docs/dd/d7a/classshaka_1_1media_1_1MuxerListener.html index 831140899e..9c123fe417 100644 --- a/docs/dd/d7a/classshaka_1_1media_1_1MuxerListener.html +++ b/docs/dd/d7a/classshaka_1_1media_1_1MuxerListener.html @@ -440,7 +440,7 @@ Public Member Functions diff --git a/docs/dd/d7c/classshaka_1_1media_1_1IoCache.html b/docs/dd/d7c/classshaka_1_1media_1_1IoCache.html deleted file mode 100644 index cf0f9fd524..0000000000 --- a/docs/dd/d7c/classshaka_1_1media_1_1IoCache.html +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - -DASH Media Packaging SDK: shaka::media::IoCache Class Reference - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
- -
-
shaka::media::IoCache Class Reference
-
-
- -

Declaration of class which implements a thread-safe circular buffer. - More...

- -

#include <io_cache.h>

- - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

IoCache (uint64_t cache_size)
 
uint64_t Read (void *buffer, uint64_t size)
 
uint64_t Write (const void *buffer, uint64_t size)
 
-void Clear ()
 Empties the cache.
 
void Close ()
 
bool closed ()
 
-void Reopen ()
 Reopens the cache. Any data still in the cache will be lost.
 
uint64_t BytesCached ()
 
uint64_t BytesFree ()
 
-void WaitUntilEmptyOrClosed ()
 Waits until the cache is empty or has been closed.
 
-

Detailed Description

-

Declaration of class which implements a thread-safe circular buffer.

- -

Definition at line 20 of file io_cache.h.

-

Member Function Documentation

- -
-
- - - - - - - -
uint64_t shaka::media::IoCache::BytesCached ()
-
-

Returns the number of bytes in the cache.

-
Returns
the number of bytes in the cache.
- -

Definition at line 127 of file io_cache.cc.

- -
-
- -
-
- - - - - - - -
uint64_t shaka::media::IoCache::BytesFree ()
-
-

Returns the number of free bytes in the cache.

-
Returns
the number of free bytes in the cache.
- -

Definition at line 132 of file io_cache.cc.

- -
-
- -
-
- - - - - - - -
void shaka::media::IoCache::Close ()
-
-

Close the cache. This will call any blocking calls to unblock, and the cache won't be usable until Reopened.

- -

Definition at line 111 of file io_cache.cc.

- -
-
- -
-
- - - - - -
- - - - - - - -
bool shaka::media::IoCache::closed ()
-
-inline
-
-
Returns
true if the cache is closed, false otherwise.
- -

Definition at line 50 of file io_cache.h.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
uint64_t shaka::media::IoCache::Read (void * buffer,
uint64_t size 
)
-
-

Read data from the cache. This function may block until there is data in the cache.

-
Parameters
- - - -
bufferis a buffer into which to read the data from the cache.
sizeis the size of buffer.
-
-
-
Returns
the number of bytes read into buffer, or 0 if the call unblocked because the cache has been closed and is empty.
- -

Definition at line 40 of file io_cache.cc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
uint64_t shaka::media::IoCache::Write (const void * buffer,
uint64_t size 
)
-
-

Write data to the cache. This function may block until there is enough room in the cache.

-
Parameters
- - - -
bufferis a buffer containing the data to be written to the cache.
sizeis the size of the data to be written to the cache.
-
-
-
Returns
the amount of data written to the buffer (which will equal data), or 0 if the call unblocked because the cache has been closed.
- -

Definition at line 68 of file io_cache.cc.

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff --git a/docs/dd/d80/media__sample_8h_source.html b/docs/dd/d80/media__sample_8h_source.html index ad46509cd2..2bfa326b98 100644 --- a/docs/dd/d80/media__sample_8h_source.html +++ b/docs/dd/d80/media__sample_8h_source.html @@ -272,7 +272,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d87/memory__file_8cc_source.html b/docs/dd/d87/memory__file_8cc_source.html deleted file mode 100644 index 141b54ea3e..0000000000 --- a/docs/dd/d87/memory__file_8cc_source.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/memory_file.cc Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
memory_file.cc
-
-
-
1 // Copyright 2015 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #include "packager/media/file/memory_file.h"
-
8 
-
9 #include <string.h> // for memcpy
-
10 
-
11 #include <algorithm>
-
12 #include <map>
-
13 #include <memory>
-
14 
-
15 #include "packager/base/logging.h"
-
16 
-
17 namespace shaka {
-
18 namespace media {
-
19 namespace {
-
20 
-
21 // A helper filesystem object. This holds the data for the memory files.
-
22 class FileSystem {
-
23  public:
-
24  ~FileSystem() {}
-
25 
-
26  static FileSystem* Instance() {
-
27  if (!g_file_system_)
-
28  g_file_system_.reset(new FileSystem());
-
29 
-
30  return g_file_system_.get();
-
31  }
-
32 
-
33  bool Exists(const std::string& file_name) const {
-
34  return files_.find(file_name) != files_.end();
-
35  }
-
36 
-
37  std::vector<uint8_t>* GetFile(const std::string& file_name) {
-
38  return &files_[file_name];
-
39  }
-
40 
-
41  void Delete(const std::string& file_name) { files_.erase(file_name); }
-
42 
-
43  void DeleteAll() { files_.clear(); }
-
44 
-
45  private:
-
46  FileSystem() {}
-
47 
-
48  static std::unique_ptr<FileSystem> g_file_system_;
-
49 
-
50  std::map<std::string, std::vector<uint8_t> > files_;
-
51  DISALLOW_COPY_AND_ASSIGN(FileSystem);
-
52 };
-
53 
-
54 std::unique_ptr<FileSystem> FileSystem::g_file_system_;
-
55 
-
56 } // namespace
-
57 
-
58 MemoryFile::MemoryFile(const std::string& file_name, const std::string& mode)
-
59  : File(file_name), mode_(mode), file_(NULL), position_(0) {}
-
60 
-
61 MemoryFile::~MemoryFile() {}
-
62 
- -
64  delete this;
-
65  return true;
-
66 }
-
67 
-
68 int64_t MemoryFile::Read(void* buffer, uint64_t length) {
-
69  const uint64_t size = Size();
-
70  DCHECK_LE(position_, size);
-
71  if (position_ >= size)
-
72  return 0;
-
73 
-
74  const uint64_t bytes_to_read = std::min(length, size - position_);
-
75  memcpy(buffer, &(*file_)[position_], bytes_to_read);
-
76  position_ += bytes_to_read;
-
77  return bytes_to_read;
-
78 }
-
79 
-
80 int64_t MemoryFile::Write(const void* buffer, uint64_t length) {
-
81  const uint64_t size = Size();
-
82  if (size < position_ + length) {
-
83  file_->resize(position_ + length);
-
84  }
-
85 
-
86  memcpy(&(*file_)[position_], buffer, length);
-
87  position_ += length;
-
88  return length;
-
89 }
-
90 
-
91 int64_t MemoryFile::Size() {
-
92  DCHECK(file_);
-
93  return file_->size();
-
94 }
-
95 
- -
97  return true;
-
98 }
-
99 
-
100 bool MemoryFile::Seek(uint64_t position) {
-
101  if (Size() < static_cast<int64_t>(position))
-
102  return false;
-
103 
-
104  position_ = position;
-
105  return true;
-
106 }
-
107 
-
108 bool MemoryFile::Tell(uint64_t* position) {
-
109  *position = position_;
-
110  return true;
-
111 }
-
112 
- -
114  FileSystem* file_system = FileSystem::Instance();
-
115  if (mode_ == "r") {
-
116  if (!file_system->Exists(file_name()))
-
117  return false;
-
118  } else if (mode_ == "w") {
-
119  file_system->Delete(file_name());
-
120  } else {
-
121  NOTIMPLEMENTED() << "File mode " << mode_ << " not supported by MemoryFile";
-
122  return false;
-
123  }
-
124 
-
125  file_ = file_system->GetFile(file_name());
-
126  DCHECK(file_);
-
127  position_ = 0;
-
128  return true;
-
129 }
-
130 
- -
132  FileSystem::Instance()->DeleteAll();
-
133 }
-
134 
-
135 void MemoryFile::Delete(const std::string& file_name) {
-
136  FileSystem::Instance()->Delete(file_name);
-
137 }
-
138 
-
139 } // namespace media
-
140 } // namespace shaka
-
141 
- -
int64_t Size() override
Definition: memory_file.cc:91
-
int64_t Read(void *buffer, uint64_t length) override
Definition: memory_file.cc:68
-
int64_t Write(const void *buffer, uint64_t length) override
Definition: memory_file.cc:80
-
bool Tell(uint64_t *position) override
Definition: memory_file.cc:108
-
static void Delete(const std::string &file_name)
Definition: memory_file.cc:135
-
bool Open() override
Internal open. Should not be used directly.
Definition: memory_file.cc:113
-
bool Seek(uint64_t position) override
Definition: memory_file.cc:100
-
const std::string & file_name() const
Definition: file.h:91
-
bool Flush() override
Definition: memory_file.cc:96
-
bool Close() override
Definition: memory_file.cc:63
-
- - - - diff --git a/docs/dd/d88/pes__packet__generator_8h_source.html b/docs/dd/d88/pes__packet__generator_8h_source.html index e9cced6ec3..2ab56ffc9b 100644 --- a/docs/dd/d88/pes__packet__generator_8h_source.html +++ b/docs/dd/d88/pes__packet__generator_8h_source.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d8c/file__test__util_8h_source.html b/docs/dd/d8c/file__test__util_8h_source.html deleted file mode 100644 index 8642572846..0000000000 --- a/docs/dd/d8c/file__test__util_8h_source.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/file_test_util.h Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
file_test_util.h
-
-
-
1 // Copyright 2015 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #ifndef MEDIA_FILE_FILE_TEST_UTIL_H_
-
8 #define MEDIA_FILE_FILE_TEST_UTIL_H_
-
9 
-
10 #include <gmock/gmock.h>
-
11 #include <gtest/gtest.h>
-
12 
-
13 #include <string>
-
14 
-
15 #include "packager/media/file/file.h"
-
16 
-
17 namespace shaka {
-
18 namespace media {
-
19 
-
20 #define ASSERT_FILE_EQ(file_name, array) \
-
21  do { \
-
22  std::string temp_data; \
-
23  ASSERT_TRUE(media::File::ReadFileToString((file_name), &temp_data)); \
-
24  const char* array_ptr = reinterpret_cast<const char*>(array); \
-
25  ASSERT_EQ(std::string(array_ptr, arraysize(array)), temp_data); \
-
26  } while (false)
-
27 
-
28 #define ASSERT_FILE_STREQ(file_name, str) \
-
29  do { \
-
30  std::string temp_data; \
-
31  ASSERT_TRUE(media::File::ReadFileToString((file_name), &temp_data)); \
-
32  ASSERT_EQ(str, temp_data); \
-
33  } while (false)
-
34 
-
35 #define ASSERT_FILE_ENDS_WITH(file_name, array) \
-
36  do { \
-
37  std::string temp_data; \
-
38  ASSERT_TRUE(media::File::ReadFileToString((file_name), &temp_data)); \
-
39  EXPECT_THAT(temp_data, \
-
40  ::testing::EndsWith(std::string( \
-
41  reinterpret_cast<const char*>(array), sizeof(array)))); \
-
42  } while (false)
-
43 
-
44 } // namespace media
-
45 } // namespace shaka
-
46 
-
47 #endif // MEDIA_FILE_FILE_TEST_UTIL_H_
-
- - - - diff --git a/docs/dd/d8d/structshaka_1_1media_1_1mp4_1_1SegmentIndex-members.html b/docs/dd/d8d/structshaka_1_1media_1_1mp4_1_1SegmentIndex-members.html index 315e36a40b..448689fc60 100644 --- a/docs/dd/d8d/structshaka_1_1media_1_1mp4_1_1SegmentIndex-members.html +++ b/docs/dd/d8d/structshaka_1_1media_1_1mp4_1_1SegmentIndex-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d98/ts__packet__writer__util_8h_source.html b/docs/dd/d98/ts__packet__writer__util_8h_source.html index 9659bd349d..fa6fdbd81c 100644 --- a/docs/dd/d98/ts__packet__writer__util_8h_source.html +++ b/docs/dd/d98/ts__packet__writer__util_8h_source.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d9a/audio__timestamp__helper_8h_source.html b/docs/dd/d9a/audio__timestamp__helper_8h_source.html index e67ea2f21b..17402ec0fb 100644 --- a/docs/dd/d9a/audio__timestamp__helper_8h_source.html +++ b/docs/dd/d9a/audio__timestamp__helper_8h_source.html @@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d9b/structshaka_1_1media_1_1mp4_1_1SegmentReference.html b/docs/dd/d9b/structshaka_1_1media_1_1mp4_1_1SegmentReference.html index d37c2d63bd..787b4195fd 100644 --- a/docs/dd/d9b/structshaka_1_1media_1_1mp4_1_1SegmentReference.html +++ b/docs/dd/d9b/structshaka_1_1media_1_1mp4_1_1SegmentReference.html @@ -143,7 +143,7 @@ uint64_t earliest_presenta diff --git a/docs/dd/d9d/classshaka_1_1MpdNotifier-members.html b/docs/dd/d9d/classshaka_1_1MpdNotifier-members.html index 4efb4daa38..6902037ee1 100644 --- a/docs/dd/d9d/classshaka_1_1MpdNotifier-members.html +++ b/docs/dd/d9d/classshaka_1_1MpdNotifier-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/da4/structshaka_1_1xml_1_1XmlDeleter.html b/docs/dd/da4/structshaka_1_1xml_1_1XmlDeleter.html index c46481c6b5..f1f03ee4c8 100644 --- a/docs/dd/da4/structshaka_1_1xml_1_1XmlDeleter.html +++ b/docs/dd/da4/structshaka_1_1xml_1_1XmlDeleter.html @@ -127,7 +127,7 @@ void operator() (xmlCh diff --git a/docs/dd/da5/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter.html b/docs/dd/da5/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter.html index 76f5774317..860e681f2b 100644 --- a/docs/dd/da5/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter.html +++ b/docs/dd/da5/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter.html @@ -226,7 +226,7 @@ uint64_t segment_payload_p 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 15d3452e6f..14a3c65c0b 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 @@ -176,7 +176,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dab/webm__muxer_8h_source.html b/docs/dd/dab/webm__muxer_8h_source.html index 7c4fd1da35..186ca71b35 100644 --- a/docs/dd/dab/webm__muxer_8h_source.html +++ b/docs/dd/dab/webm__muxer_8h_source.html @@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dae/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox-members.html b/docs/dd/dae/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox-members.html index 00af5827a1..aa42aaf2b6 100644 --- a/docs/dd/dae/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox-members.html +++ b/docs/dd/dae/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/db0/classshaka_1_1media_1_1WebMAudioClient-members.html b/docs/dd/db0/classshaka_1_1media_1_1WebMAudioClient-members.html index def614c250..2c75432905 100644 --- a/docs/dd/db0/classshaka_1_1media_1_1WebMAudioClient-members.html +++ b/docs/dd/db0/classshaka_1_1media_1_1WebMAudioClient-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/db3/structshaka_1_1media_1_1mp4_1_1SampleTable-members.html b/docs/dd/db3/structshaka_1_1media_1_1mp4_1_1SampleTable-members.html index 432a34e32a..4e37db965f 100644 --- a/docs/dd/db3/structshaka_1_1media_1_1mp4_1_1SampleTable-members.html +++ b/docs/dd/db3/structshaka_1_1media_1_1mp4_1_1SampleTable-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html b/docs/dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html index 0dadede624..e7813ffbe9 100644 --- a/docs/dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html +++ b/docs/dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html @@ -231,7 +231,7 @@ Protected Member Functions diff --git a/docs/dd/dbc/buffer__reader_8cc_source.html b/docs/dd/dbc/buffer__reader_8cc_source.html index 5c066c44f2..4d01bdacf9 100644 --- a/docs/dd/dbc/buffer__reader_8cc_source.html +++ b/docs/dd/dbc/buffer__reader_8cc_source.html @@ -196,7 +196,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dbc/encryption__handler_8h_source.html b/docs/dd/dbc/encryption__handler_8h_source.html index a6dfa03d89..251eb5fd6e 100644 --- a/docs/dd/dbc/encryption__handler_8h_source.html +++ b/docs/dd/dbc/encryption__handler_8h_source.html @@ -208,7 +208,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dbd/structshaka_1_1media_1_1EncryptionKey.html b/docs/dd/dbd/structshaka_1_1media_1_1EncryptionKey.html index 3ab533f6e2..1133b6ac75 100644 --- a/docs/dd/dbd/structshaka_1_1media_1_1EncryptionKey.html +++ b/docs/dd/dbd/structshaka_1_1media_1_1EncryptionKey.html @@ -120,7 +120,7 @@ std::vector< uint8_t >  diff --git a/docs/dd/dbd/structshaka_1_1media_1_1mp4_1_1TrackEncryption-members.html b/docs/dd/dbd/structshaka_1_1media_1_1mp4_1_1TrackEncryption-members.html index 8dcc80ddec..5f730373d8 100644 --- a/docs/dd/dbd/structshaka_1_1media_1_1mp4_1_1TrackEncryption-members.html +++ b/docs/dd/dbd/structshaka_1_1media_1_1mp4_1_1TrackEncryption-members.html @@ -118,7 +118,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 index 743afa5d15..e0e86b1d00 100644 --- a/docs/dd/dbf/webm__webvtt__parser_8h_source.html +++ b/docs/dd/dbf/webm__webvtt__parser_8h_source.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dc1/structshaka_1_1media_1_1mp4_1_1FullBox.html b/docs/dd/dc1/structshaka_1_1media_1_1mp4_1_1FullBox.html index 4edc90a700..224d78519e 100644 --- a/docs/dd/dc1/structshaka_1_1media_1_1mp4_1_1FullBox.html +++ b/docs/dd/dc1/structshaka_1_1media_1_1mp4_1_1FullBox.html @@ -245,7 +245,7 @@ Protected Member Functions diff --git a/docs/dd/dc4/classshaka_1_1media_1_1ProducerConsumerQueue-members.html b/docs/dd/dc4/classshaka_1_1media_1_1ProducerConsumerQueue-members.html index 9b71b31aba..a28bba8bcf 100644 --- a/docs/dd/dc4/classshaka_1_1media_1_1ProducerConsumerQueue-members.html +++ b/docs/dd/dc4/classshaka_1_1media_1_1ProducerConsumerQueue-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html b/docs/dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html index 705cfb9d02..da146d17cc 100644 --- a/docs/dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html +++ b/docs/dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html @@ -378,7 +378,7 @@ virtual Status DoFinalize< diff --git a/docs/dd/dca/structshaka_1_1media_1_1mp4_1_1OriginalFormat-members.html b/docs/dd/dca/structshaka_1_1media_1_1mp4_1_1OriginalFormat-members.html index f3a5e2bc39..1abfea2d37 100644 --- a/docs/dd/dca/structshaka_1_1media_1_1mp4_1_1OriginalFormat-members.html +++ b/docs/dd/dca/structshaka_1_1media_1_1mp4_1_1OriginalFormat-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dce/structshaka_1_1media_1_1Cue.html b/docs/dd/dce/structshaka_1_1media_1_1Cue.html index 22ca514801..ea4d989364 100644 --- a/docs/dd/dce/structshaka_1_1media_1_1Cue.html +++ b/docs/dd/dce/structshaka_1_1media_1_1Cue.html @@ -125,7 +125,7 @@ std::string comment diff --git a/docs/dd/dd2/buffer__writer_8h_source.html b/docs/dd/dd2/buffer__writer_8h_source.html index 8e583266c9..3b5d30f8e2 100644 --- a/docs/dd/dd2/buffer__writer_8h_source.html +++ b/docs/dd/dd2/buffer__writer_8h_source.html @@ -102,63 +102,63 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
13 #include "packager/status.h"
14 
15 namespace shaka {
-
16 namespace media {
-
17 
-
18 class File;
-
19 
-
22 class BufferWriter {
-
23  public:
-
24  BufferWriter();
-
29  explicit BufferWriter(size_t reserved_size_in_bytes);
-
30  ~BufferWriter();
-
31 
-
35  void AppendInt(uint8_t v);
-
36  void AppendInt(uint16_t v);
-
37  void AppendInt(uint32_t v);
-
38  void AppendInt(uint64_t v);
-
39  void AppendInt(int16_t v);
-
40  void AppendInt(int32_t v);
-
41  void AppendInt(int64_t v);
-
43 
-
47  void AppendNBytes(uint64_t v, size_t num_bytes);
-
48 
-
49  void AppendVector(const std::vector<uint8_t>& v);
-
50  void AppendArray(const uint8_t* buf, size_t size);
-
51  void AppendBuffer(const BufferWriter& buffer);
-
52 
-
53  void Swap(BufferWriter* buffer) { buf_.swap(buffer->buf_); }
-
54  void SwapBuffer(std::vector<uint8_t>* buffer) { buf_.swap(*buffer); }
-
55 
-
56  void Clear() { buf_.clear(); }
-
57  size_t Size() const { return buf_.size(); }
-
59  const uint8_t* Buffer() const { return buf_.data(); }
-
60 
-
65  Status WriteToFile(File* file);
-
66 
-
67  private:
-
68  // Internal implementation of multi-byte write.
-
69  template <typename T>
-
70  void AppendInternal(T v);
-
71 
-
72  std::vector<uint8_t> buf_;
-
73 
-
74  DISALLOW_COPY_AND_ASSIGN(BufferWriter);
-
75 };
-
76 
-
77 } // namespace media
-
78 } // namespace shaka
-
79 
-
80 #endif // MEDIA_BASE_BUFFER_WRITER_H_
-
Define an abstract file interface.
Definition: file.h:24
+
16 
+
17 class File;
+
18 
+
19 namespace media {
+
20 
+
23 class BufferWriter {
+
24  public:
+
25  BufferWriter();
+
30  explicit BufferWriter(size_t reserved_size_in_bytes);
+
31  ~BufferWriter();
+
32 
+
36  void AppendInt(uint8_t v);
+
37  void AppendInt(uint16_t v);
+
38  void AppendInt(uint32_t v);
+
39  void AppendInt(uint64_t v);
+
40  void AppendInt(int16_t v);
+
41  void AppendInt(int32_t v);
+
42  void AppendInt(int64_t v);
+
44 
+
48  void AppendNBytes(uint64_t v, size_t num_bytes);
+
49 
+
50  void AppendVector(const std::vector<uint8_t>& v);
+
51  void AppendArray(const uint8_t* buf, size_t size);
+
52  void AppendBuffer(const BufferWriter& buffer);
+
53 
+
54  void Swap(BufferWriter* buffer) { buf_.swap(buffer->buf_); }
+
55  void SwapBuffer(std::vector<uint8_t>* buffer) { buf_.swap(*buffer); }
+
56 
+
57  void Clear() { buf_.clear(); }
+
58  size_t Size() const { return buf_.size(); }
+
60  const uint8_t* Buffer() const { return buf_.data(); }
+
61 
+
66  Status WriteToFile(File* file);
+
67 
+
68  private:
+
69  // Internal implementation of multi-byte write.
+
70  template <typename T>
+
71  void AppendInternal(T v);
+
72 
+
73  std::vector<uint8_t> buf_;
+
74 
+
75  DISALLOW_COPY_AND_ASSIGN(BufferWriter);
+
76 };
+
77 
+
78 } // namespace media
+
79 } // namespace shaka
+
80 
+
81 #endif // MEDIA_BASE_BUFFER_WRITER_H_
- +
void AppendNBytes(uint64_t v, size_t num_bytes)
-
const uint8_t * Buffer() const
Definition: buffer_writer.h:59
+
const uint8_t * Buffer() const
Definition: buffer_writer.h:60
Status WriteToFile(File *file)
diff --git a/docs/dd/dd3/buffer__writer_8cc_source.html b/docs/dd/dd3/buffer__writer_8cc_source.html index 0318cc80f7..62379c1cef 100644 --- a/docs/dd/dd3/buffer__writer_8cc_source.html +++ b/docs/dd/dd3/buffer__writer_8cc_source.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 
9 #include "packager/base/logging.h"
10 #include "packager/base/sys_byteorder.h"
-
11 #include "packager/media/file/file.h"
+
11 #include "packager/file/file.h"
12 
13 namespace shaka {
14 namespace media {
@@ -152,14 +152,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
63  buf_.insert(buf_.end(), buffer.buf_.begin(), buffer.buf_.end());
64 }
65 
- +
66 Status BufferWriter::WriteToFile(File* file) {
67  DCHECK(file);
68  DCHECK(!buf_.empty());
69 
70  size_t remaining_size = buf_.size();
71  const uint8_t* buf = &buf_[0];
72  while (remaining_size > 0) {
-
73  int64_t size_written = file->Write(buf, remaining_size);
+
73  int64_t size_written = file->Write(buf, remaining_size);
74  if (size_written <= 0) {
75  return Status(error::FILE_FAILURE,
76  "Fail to write to file in BufferWriter");
@@ -178,15 +178,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
89 
90 } // namespace media
91 } // namespace shaka
-
virtual int64_t Write(const void *buffer, uint64_t length)=0
-
Define an abstract file interface.
Definition: file.h:24
void AppendNBytes(uint64_t v, size_t num_bytes)
Status WriteToFile(File *file)
diff --git a/docs/dd/dd6/classshaka_1_1media_1_1WebMVideoClient-members.html b/docs/dd/dd6/classshaka_1_1media_1_1WebMVideoClient-members.html index 6a5fda2467..0a887b1daf 100644 --- a/docs/dd/dd6/classshaka_1_1media_1_1WebMVideoClient-members.html +++ b/docs/dd/dd6/classshaka_1_1media_1_1WebMVideoClient-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dd8/mock__muxer__listener_8cc_source.html b/docs/dd/dd8/mock__muxer__listener_8cc_source.html index 81d7a2dcfd..20aaf61492 100644 --- a/docs/dd/dd8/mock__muxer__listener_8cc_source.html +++ b/docs/dd/dd8/mock__muxer__listener_8cc_source.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dd9/structshaka_1_1media_1_1mp4_1_1Box-members.html b/docs/dd/dd9/structshaka_1_1media_1_1mp4_1_1Box-members.html index feb3c4cf25..aa24e3aea8 100644 --- a/docs/dd/dd9/structshaka_1_1media_1_1mp4_1_1Box-members.html +++ b/docs/dd/dd9/structshaka_1_1media_1_1mp4_1_1Box-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/ddc/trick__play__handler_8h_source.html b/docs/dd/ddc/trick__play__handler_8h_source.html index 41f89e22a9..330e2141f1 100644 --- a/docs/dd/ddc/trick__play__handler_8h_source.html +++ b/docs/dd/ddc/trick__play__handler_8h_source.html @@ -191,7 +191,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html b/docs/dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html index e1068587c3..adc2ae1d34 100644 --- a/docs/dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html +++ b/docs/dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html @@ -150,7 +150,7 @@ virtual int64_t  diff --git a/docs/dd/de7/structshaka_1_1media_1_1H265Pps-members.html b/docs/dd/de7/structshaka_1_1media_1_1H265Pps-members.html index ab92d1800f..c15a84fbca 100644 --- a/docs/dd/de7/structshaka_1_1media_1_1H265Pps-members.html +++ b/docs/dd/de7/structshaka_1_1media_1_1H265Pps-members.html @@ -137,7 +137,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/de7/xml__node_8h_source.html b/docs/dd/de7/xml__node_8h_source.html index 1eff881aa6..765d1dd225 100644 --- a/docs/dd/de7/xml__node_8h_source.html +++ b/docs/dd/de7/xml__node_8h_source.html @@ -239,7 +239,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/de9/classshaka_1_1media_1_1MediaHandler-members.html b/docs/dd/de9/classshaka_1_1media_1_1MediaHandler-members.html index e08be4f7ef..0c34a00e07 100644 --- a/docs/dd/de9/classshaka_1_1media_1_1MediaHandler-members.html +++ b/docs/dd/de9/classshaka_1_1media_1_1MediaHandler-members.html @@ -119,7 +119,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 84cdc2c22f..6ce435abfd 100644 --- a/docs/dd/dee/box__definitions_8cc_source.html +++ b/docs/dd/dee/box__definitions_8cc_source.html @@ -2904,7 +2904,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
FourCC BoxType() const override
- +
FourCC BoxType() const override
@@ -2968,7 +2968,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/df2/webm_2multi__segment__segmenter_8h_source.html b/docs/dd/df2/webm_2multi__segment__segmenter_8h_source.html index 301e058973..222ac69fec 100644 --- a/docs/dd/df2/webm_2multi__segment__segmenter_8h_source.html +++ b/docs/dd/df2/webm_2multi__segment__segmenter_8h_source.html @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/df5/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun.html b/docs/dd/df5/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun.html index 3f52f1cb6f..505f7c36d5 100644 --- a/docs/dd/df5/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun.html +++ b/docs/dd/df5/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun.html @@ -212,7 +212,7 @@ Additional Inherited Members diff --git a/docs/dd/df6/structshaka_1_1media_1_1mp4_1_1Metadata.html b/docs/dd/df6/structshaka_1_1media_1_1mp4_1_1Metadata.html index 81821e2dfe..881a3ea667 100644 --- a/docs/dd/df6/structshaka_1_1media_1_1mp4_1_1Metadata.html +++ b/docs/dd/df6/structshaka_1_1media_1_1mp4_1_1Metadata.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/de/d0f/local__file_8h_source.html b/docs/de/d0f/local__file_8h_source.html deleted file mode 100644 index 7cb0ddde7f..0000000000 --- a/docs/de/d0f/local__file_8h_source.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/local_file.h Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
local_file.h
-
-
-
1 // Copyright 2014 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
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 
-
10 #include <stdint.h>
-
11 
-
12 #include <string>
-
13 
-
14 #include "packager/base/compiler_specific.h"
-
15 #include "packager/media/file/file.h"
-
16 
-
17 namespace shaka {
-
18 namespace media {
-
19 
-
21 class LocalFile : public File {
-
22  public:
-
26  LocalFile(const char* file_name, const char* mode);
-
27 
-
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  ~LocalFile() override;
-
46 
-
47  bool Open() override;
-
48 
-
49  private:
-
50  std::string file_mode_;
-
51  FILE* internal_file_;
-
52 
-
53  DISALLOW_COPY_AND_ASSIGN(LocalFile);
-
54 };
-
55 
-
56 } // namespace media
-
57 } // namespace shaka
-
58 
-
59 #endif // PACKAGER_FILE_LOCAL_FILE_H_
-
Implement LocalFile which deals with local storage.
Definition: local_file.h:21
-
int64_t Read(void *buffer, uint64_t length) override
Definition: local_file.cc:40
-
bool Close() override
Definition: local_file.cc:30
-
bool Seek(uint64_t position) override
Definition: local_file.cc:75
-
Define an abstract file interface.
Definition: file.h:24
-
LocalFile(const char *file_name, const char *mode)
Definition: local_file.cc:22
-
bool Tell(uint64_t *position) override
Definition: local_file.cc:84
-
int64_t Write(const void *buffer, uint64_t length) override
Definition: local_file.cc:46
-
const std::string & file_name() const
Definition: file.h:91
-
bool Open() override
Internal open. Should not be used directly.
Definition: local_file.cc:98
-
bool Flush() override
Definition: local_file.cc:70
-
int64_t Size() override
Definition: local_file.cc:52
-
static bool Delete(const char *file_name)
Definition: local_file.cc:104
-
- - - - diff --git a/docs/de/d12/container__names_8h_source.html b/docs/de/d12/container__names_8h_source.html index e3a2ba77d3..1ce2c48f61 100644 --- a/docs/de/d12/container__names_8h_source.html +++ b/docs/de/d12/container__names_8h_source.html @@ -159,7 +159,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d13/ts__writer_8cc_source.html b/docs/de/d13/ts__writer_8cc_source.html index 4029f13807..663253b9ec 100644 --- a/docs/de/d13/ts__writer_8cc_source.html +++ b/docs/de/d13/ts__writer_8cc_source.html @@ -289,7 +289,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
200  LOG(ERROR) << "File " << current_file_->file_name() << " still open.";
201  return false;
202  }
-
203  current_file_.reset(File::Open(file_name.c_str(), "w"));
+
203  current_file_.reset(File::Open(file_name.c_str(), "w"));
204  if (!current_file_) {
205  LOG(ERROR) << "Failed to open file " << file_name;
206  return false;
@@ -343,12 +343,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
254 } // namespace mp2t
255 } // namespace media
256 } // namespace shaka
-
virtual bool Open()=0
Internal open. Should not be used directly.
Abstract class holds stream information.
Definition: stream_info.h:57
virtual bool NewSegment(const std::string &file_name)
Definition: ts_writer.cc:198
virtual bool AddPesPacket(std::unique_ptr< PesPacket > pes_packet)
Definition: ts_writer.cc:237
- +
void SetProgramMapTableWriterForTesting(std::unique_ptr< ProgramMapTableWriter > table_writer)
Only for testing.
Definition: ts_writer.cc:249
virtual bool FinalizeSegment()
Definition: ts_writer.cc:233
@@ -360,7 +359,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d16/classshaka_1_1media_1_1TextTrackConfig-members.html b/docs/de/d16/classshaka_1_1media_1_1TextTrackConfig-members.html index 6cda36c244..0edbe99bd2 100644 --- a/docs/de/d16/classshaka_1_1media_1_1TextTrackConfig-members.html +++ b/docs/de/d16/classshaka_1_1media_1_1TextTrackConfig-members.html @@ -103,7 +103,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 index 9766e8c339..432daad9c8 100644 --- a/docs/de/d17/cluster__builder_8cc_source.html +++ b/docs/de/d17/cluster__builder_8cc_source.html @@ -346,7 +346,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d1a/classshaka_1_1media_1_1wvm_1_1WvmMediaParser-members.html b/docs/de/d1a/classshaka_1_1media_1_1wvm_1_1WvmMediaParser-members.html index f6ba96a873..2237b55d6c 100644 --- a/docs/de/d1a/classshaka_1_1media_1_1wvm_1_1WvmMediaParser-members.html +++ b/docs/de/d1a/classshaka_1_1media_1_1wvm_1_1WvmMediaParser-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d1e/mp4_2single__segment__segmenter_8cc_source.html b/docs/de/d1e/mp4_2single__segment__segmenter_8cc_source.html index c74f3b8fc2..34739f0348 100644 --- a/docs/de/d1e/mp4_2single__segment__segmenter_8cc_source.html +++ b/docs/de/d1e/mp4_2single__segment__segmenter_8cc_source.html @@ -97,11 +97,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 
9 #include <algorithm>
10 
-
11 #include "packager/media/base/buffer_writer.h"
-
12 #include "packager/media/base/muxer_options.h"
-
13 #include "packager/media/event/progress_listener.h"
-
14 #include "packager/media/file/file.h"
-
15 #include "packager/media/file/file_util.h"
+
11 #include "packager/file/file.h"
+
12 #include "packager/file/file_util.h"
+
13 #include "packager/media/base/buffer_writer.h"
+
14 #include "packager/media/base/muxer_options.h"
+
15 #include "packager/media/event/progress_listener.h"
16 #include "packager/media/formats/mp4/box_definitions.h"
17 
18 namespace shaka {
@@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
28  if (temp_file_)
29  temp_file_.release()->Close();
30  if (!temp_file_name_.empty()) {
-
31  if (!File::Delete(temp_file_name_.c_str()))
+
31  if (!File::Delete(temp_file_name_.c_str()))
32  LOG(ERROR) << "Unable to delete temporary file " << temp_file_name_;
33  }
34 }
@@ -162,9 +162,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
73  // progress_target was set for stage 1. Times two to account for stage 2.
74  set_progress_target(progress_target() * 2);
75 
-
76  if (!TempFilePath(options().temp_dir, &temp_file_name_))
+
76  if (!TempFilePath(options().temp_dir, &temp_file_name_))
77  return Status(error::FILE_FAILURE, "Unable to create temporary file.");
-
78  temp_file_.reset(File::Open(temp_file_name_.c_str(), "w"));
+
78  temp_file_.reset(File::Open(temp_file_name_.c_str(), "w"));
79  return temp_file_
80  ? Status::OK
81  : Status(error::FILE_FAILURE,
@@ -184,7 +184,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
95  }
96 
97  std::unique_ptr<File, FileCloser> file(
-
98  File::Open(options().output_file_name.c_str(), "w"));
+
98  File::Open(options().output_file_name.c_str(), "w"));
99  if (file == NULL) {
100  return Status(error::FILE_FAILURE,
101  "Cannot open file to write " + options().output_file_name);
@@ -204,7 +204,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
115 
116  // Load the temp file and write to output file.
117  std::unique_ptr<File, FileCloser> temp_file(
-
118  File::Open(temp_file_name_.c_str(), "r"));
+
118  File::Open(temp_file_name_.c_str(), "r"));
119  if (temp_file == NULL) {
120  return Status(error::FILE_FAILURE,
121  "Cannot open file to read " + temp_file_name_);
@@ -313,18 +313,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
224 } // namespace media
225 } // namespace shaka
virtual void OnNewSegment(const std::string &segment_name, uint64_t start_time, uint64_t duration, uint64_t segment_file_size)=0
-
virtual bool Open()=0
Internal open. Should not be used directly.
virtual void OnSampleDurationReady(uint32_t sample_duration)=0
-
bool TempFilePath(const std::string &temp_dir, std::string *temp_file_path)
Definition: file_util.cc:27
void UpdateProgress(uint64_t progress)
Update segmentation progress using ProgressListener.
Definition: segmenter.cc:265
-
static bool Delete(const char *file_name)
Definition: file.cc:181
diff --git a/docs/de/d22/aes__pattern__cryptor_8cc_source.html b/docs/de/d22/aes__pattern__cryptor_8cc_source.html index 2e23e344a4..28adcc10f5 100644 --- a/docs/de/d22/aes__pattern__cryptor_8cc_source.html +++ b/docs/de/d22/aes__pattern__cryptor_8cc_source.html @@ -185,7 +185,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html b/docs/de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html index 4980259ba0..2f53b6e630 100644 --- a/docs/de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html +++ b/docs/de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html @@ -140,7 +140,7 @@ static const uint8_t kElem diff --git a/docs/de/d29/structshaka_1_1media_1_1mp4_1_1TrackExtends.html b/docs/de/d29/structshaka_1_1media_1_1mp4_1_1TrackExtends.html index 80f78b01bd..2a24780f64 100644 --- a/docs/de/d29/structshaka_1_1media_1_1mp4_1_1TrackExtends.html +++ b/docs/de/d29/structshaka_1_1media_1_1mp4_1_1TrackExtends.html @@ -194,7 +194,7 @@ Additional Inherited Members diff --git a/docs/de/d33/classshaka_1_1media_1_1WebMTracksParser-members.html b/docs/de/d33/classshaka_1_1media_1_1WebMTracksParser-members.html index 7fa9ccdf17..d9c85c7f1d 100644 --- a/docs/de/d33/classshaka_1_1media_1_1WebMTracksParser-members.html +++ b/docs/de/d33/classshaka_1_1media_1_1WebMTracksParser-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d33/structshaka_1_1media_1_1H265Pps.html b/docs/de/d33/structshaka_1_1media_1_1H265Pps.html index a5f5c2b1a6..f6326e4950 100644 --- a/docs/de/d33/structshaka_1_1media_1_1H265Pps.html +++ b/docs/de/d33/structshaka_1_1media_1_1H265Pps.html @@ -224,7 +224,7 @@ bool chroma_qp_offset_list diff --git a/docs/de/d34/offset__byte__queue_8h_source.html b/docs/de/d34/offset__byte__queue_8h_source.html index b658c03b23..0f16050ed7 100644 --- a/docs/de/d34/offset__byte__queue_8h_source.html +++ b/docs/de/d34/offset__byte__queue_8h_source.html @@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d3c/h26x__byte__to__unit__stream__converter_8cc_source.html b/docs/de/d3c/h26x__byte__to__unit__stream__converter_8cc_source.html index 840089fa04..bd44fd174e 100644 --- a/docs/de/d3c/h26x__byte__to__unit__stream__converter_8cc_source.html +++ b/docs/de/d3c/h26x__byte__to__unit__stream__converter_8cc_source.html @@ -193,7 +193,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
uint64_t header_size() const
The size of the header, e.g. 1 for H.264.
Definition: nalu_reader.h:100
- +
Result Advance(Nalu *nalu)
Definition: nalu_reader.cc:239
@@ -201,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d3c/macros_8h_source.html b/docs/de/d3c/macros_8h_source.html index f023f588fa..c7d50661b9 100644 --- a/docs/de/d3c/macros_8h_source.html +++ b/docs/de/d3c/macros_8h_source.html @@ -144,7 +144,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 2a83357f88..f1cbe320f2 100644 --- a/docs/de/d3e/buffer__reader_8h_source.html +++ b/docs/de/d3e/buffer__reader_8h_source.html @@ -163,7 +163,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d3e/classshaka_1_1media_1_1H264Parser-members.html b/docs/de/d3e/classshaka_1_1media_1_1H264Parser-members.html index 63ef81cb66..c6bbc582a7 100644 --- a/docs/de/d3e/classshaka_1_1media_1_1H264Parser-members.html +++ b/docs/de/d3e/classshaka_1_1media_1_1H264Parser-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d43/classshaka_1_1media_1_1mp2t_1_1PesPacket-members.html b/docs/de/d43/classshaka_1_1media_1_1mp2t_1_1PesPacket-members.html index d2f2024781..dfda6e4418 100644 --- a/docs/de/d43/classshaka_1_1media_1_1mp2t_1_1PesPacket-members.html +++ b/docs/de/d43/classshaka_1_1media_1_1mp2t_1_1PesPacket-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d49/classshaka_1_1media_1_1DecryptConfig.html b/docs/de/d49/classshaka_1_1media_1_1DecryptConfig.html index 0690d7e691..03de18ebd1 100644 --- a/docs/de/d49/classshaka_1_1media_1_1DecryptConfig.html +++ b/docs/de/d49/classshaka_1_1media_1_1DecryptConfig.html @@ -315,7 +315,7 @@ static const size_t  diff --git a/docs/de/d4a/muxer__listener__internal_8h_source.html b/docs/de/d4a/muxer__listener__internal_8h_source.html index db485fc9cd..00f01c04a4 100644 --- a/docs/de/d4a/muxer__listener__internal_8h_source.html +++ b/docs/de/d4a/muxer__listener__internal_8h_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d52/classshaka_1_1Representation.html b/docs/de/d52/classshaka_1_1Representation.html index 50595d7620..291734a0ba 100644 --- a/docs/de/d52/classshaka_1_1Representation.html +++ b/docs/de/d52/classshaka_1_1Representation.html @@ -145,7 +145,7 @@ template<DashProfile profile>

Detailed Description

Representation class contains references to a single media stream, as well as optional ContentProtection elements for that stream.

-

Definition at line 411 of file mpd_builder.h.

+

Definition at line 408 of file mpd_builder.h.

Constructor & Destructor Documentation

@@ -329,7 +329,7 @@ template<DashProfile profile>
Returns
ID number for <Representation>.
-

Definition at line 486 of file mpd_builder.h.

+

Definition at line 483 of file mpd_builder.h.

@@ -456,7 +456,7 @@ template<DashProfile profile> diff --git a/docs/de/d55/structshaka_1_1media_1_1mp4_1_1Language-members.html b/docs/de/d55/structshaka_1_1media_1_1mp4_1_1Language-members.html index cfeec57376..98b30bbd86 100644 --- a/docs/de/d55/structshaka_1_1media_1_1mp4_1_1Language-members.html +++ b/docs/de/d55/structshaka_1_1media_1_1mp4_1_1Language-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d5b/adts__header_8cc_source.html b/docs/de/d5b/adts__header_8cc_source.html index 4d28cb9e2c..dbf81879c7 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 4cbfc7f2ab..c631c781df 100644 --- a/docs/de/d5c/mpd__flags_8h_source.html +++ b/docs/de/d5c/mpd__flags_8h_source.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d60/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter-members.html b/docs/de/d60/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter-members.html index 38d686a479..27c6573eb9 100644 --- a/docs/de/d60/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter-members.html +++ b/docs/de/d60/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html b/docs/de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html index bd88e7a0e9..5b41118ff8 100644 --- a/docs/de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html +++ b/docs/de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html @@ -257,7 +257,7 @@ void  diff --git a/docs/de/d6c/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html b/docs/de/d6c/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html index 0e1207187b..e745ee462f 100644 --- a/docs/de/d6c/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html +++ b/docs/de/d6c/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d6e/language__utils_8h_source.html b/docs/de/d6e/language__utils_8h_source.html index 49e4138bc6..224d61c84f 100644 --- a/docs/de/d6e/language__utils_8h_source.html +++ b/docs/de/d6e/language__utils_8h_source.html @@ -116,7 +116,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 3a4ba3d55b..1f87afb30a 100644 --- a/docs/de/d70/http__key__fetcher_8cc_source.html +++ b/docs/de/d70/http__key__fetcher_8cc_source.html @@ -265,7 +265,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d77/webm__content__encodings__client_8cc_source.html b/docs/de/d77/webm__content__encodings__client_8cc_source.html index 3430abae40..8e177163be 100644 --- a/docs/de/d77/webm__content__encodings__client_8cc_source.html +++ b/docs/de/d77/webm__content__encodings__client_8cc_source.html @@ -358,7 +358,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d7b/mp4__media__parser_8h_source.html b/docs/de/d7b/mp4__media__parser_8h_source.html index 76daa2c577..bd9df4df65 100644 --- a/docs/de/d7b/mp4__media__parser_8h_source.html +++ b/docs/de/d7b/mp4__media__parser_8h_source.html @@ -203,7 +203,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d7e/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi.html b/docs/de/d7e/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi.html index 25cc3cd827..52aaae5193 100644 --- a/docs/de/d7e/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi.html +++ b/docs/de/d7e/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi.html @@ -147,7 +147,7 @@ Additional Inherited Members diff --git a/docs/de/d83/box__definitions__comparison_8h_source.html b/docs/de/d83/box__definitions__comparison_8h_source.html index be6c418cb4..150fa57193 100644 --- a/docs/de/d83/box__definitions__comparison_8h_source.html +++ b/docs/de/d83/box__definitions__comparison_8h_source.html @@ -592,7 +592,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d83/classshaka_1_1media_1_1LocalFile-members.html b/docs/de/d83/classshaka_1_1media_1_1LocalFile-members.html deleted file mode 100644 index e9e6a028ff..0000000000 --- a/docs/de/d83/classshaka_1_1media_1_1LocalFile-members.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -DASH Media Packaging SDK: Member List - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
shaka::media::LocalFile Member List
-
-
- -

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

- - - - - - - - - - - - - - - - - - - - - - - -
Close() overrideshaka::media::LocalFilevirtual
Copy(const char *from_file_name, const char *to_file_name)shaka::media::Filestatic
CopyFile(File *source, File *destination)shaka::media::Filestatic
CopyFile(File *source, File *destination, int64_t max_copy)shaka::media::Filestatic
Delete(const char *file_name)shaka::media::LocalFilestatic
File(const std::string &file_name) (defined in shaka::media::File)shaka::media::Fileinlineexplicitprotected
file_name() const shaka::media::Fileinline
Flush() overrideshaka::media::LocalFilevirtual
GetFileSize(const char *file_name)shaka::media::Filestatic
LocalFile(const char *file_name, const char *mode)shaka::media::LocalFile
Open() overrideshaka::media::LocalFileprotectedvirtual
shaka::media::File::Open(const char *file_name, const char *mode)shaka::media::Filestatic
OpenWithNoBuffering(const char *file_name, const char *mode)shaka::media::Filestatic
Read(void *buffer, uint64_t length) overrideshaka::media::LocalFilevirtual
ReadFileToString(const char *file_name, std::string *contents)shaka::media::Filestatic
Seek(uint64_t position) overrideshaka::media::LocalFilevirtual
Size() overrideshaka::media::LocalFilevirtual
Tell(uint64_t *position) overrideshaka::media::LocalFilevirtual
Write(const void *buffer, uint64_t length) overrideshaka::media::LocalFilevirtual
WriteFileAtomically(const char *file_name, const std::string &contents)shaka::media::Filestatic
~File()shaka::media::Fileinlineprotectedvirtual
~LocalFile() override (defined in shaka::media::LocalFile)shaka::media::LocalFileprotected
- - - - diff --git a/docs/de/d87/structshaka_1_1media_1_1wvm_1_1PrevSampleData-members.html b/docs/de/d87/structshaka_1_1media_1_1wvm_1_1PrevSampleData-members.html index 3f2ad7a4fa..2f94aaf941 100644 --- a/docs/de/d87/structshaka_1_1media_1_1wvm_1_1PrevSampleData-members.html +++ b/docs/de/d87/structshaka_1_1media_1_1wvm_1_1PrevSampleData-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d8d/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html b/docs/de/d8d/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html index ca240d8de4..168f4885d2 100644 --- a/docs/de/d8d/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html +++ b/docs/de/d8d/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d93/classshaka_1_1media_1_1VP8Parser-members.html b/docs/de/d93/classshaka_1_1media_1_1VP8Parser-members.html index 2428917883..08e885a43c 100644 --- a/docs/de/d93/classshaka_1_1media_1_1VP8Parser-members.html +++ b/docs/de/d93/classshaka_1_1media_1_1VP8Parser-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/da9/structshaka_1_1Element.html b/docs/de/da9/structshaka_1_1Element.html index 70ba4cd476..baeac83ec1 100644 --- a/docs/de/da9/structshaka_1_1Element.html +++ b/docs/de/da9/structshaka_1_1Element.html @@ -120,7 +120,7 @@ std::vector< El diff --git a/docs/de/dab/es__parser__h26x_8cc_source.html b/docs/de/dab/es__parser__h26x_8cc_source.html index 956a25d59e..337628759f 100644 --- a/docs/de/dab/es__parser__h26x_8cc_source.html +++ b/docs/de/dab/es__parser__h26x_8cc_source.html @@ -410,7 +410,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dad/validate__flag_8cc_source.html b/docs/de/dad/validate__flag_8cc_source.html index 36c983289a..bdc4cf021b 100644 --- a/docs/de/dad/validate__flag_8cc_source.html +++ b/docs/de/dad/validate__flag_8cc_source.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/db3/classshaka_1_1media_1_1TextTrackConfig.html b/docs/de/db3/classshaka_1_1media_1_1TextTrackConfig.html index 9c7e058698..3998a28043 100644 --- a/docs/de/db3/classshaka_1_1media_1_1TextTrackConfig.html +++ b/docs/de/db3/classshaka_1_1media_1_1TextTrackConfig.html @@ -125,7 +125,7 @@ const std::string & id diff --git a/docs/de/db4/classshaka_1_1media_1_1H26xBitReader.html b/docs/de/db4/classshaka_1_1media_1_1H26xBitReader.html index 83f1db1c08..f8329ec826 100644 --- a/docs/de/db4/classshaka_1_1media_1_1H26xBitReader.html +++ b/docs/de/db4/classshaka_1_1media_1_1H26xBitReader.html @@ -134,7 +134,7 @@ size_t NumEmulationPrevent diff --git a/docs/de/dbf/udp__options_8h_source.html b/docs/de/dbf/udp__options_8h_source.html deleted file mode 100644 index 0813627757..0000000000 --- a/docs/de/dbf/udp__options_8h_source.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/udp_options.h Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
udp_options.h
-
-
-
1 // Copyright 2016 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #include <memory>
-
8 #include <string>
-
9 
-
10 #include "packager/base/strings/string_piece.h"
-
11 
-
12 namespace shaka {
-
13 namespace media {
-
14 
-
16 class UdpOptions {
-
17  public:
-
18  ~UdpOptions() = default;
-
19 
-
23  static std::unique_ptr<UdpOptions> ParseFromString(base::StringPiece udp_url);
-
24 
-
25  const std::string& address() const { return address_; }
-
26  uint16_t port() const { return port_; }
-
27  bool reuse() const { return reuse_; }
-
28  const std::string& interface_address() const { return interface_address_; }
-
29  unsigned timeout_us() const { return timeout_us_; }
-
30 
-
31  private:
-
32  UdpOptions() = default;
-
33 
-
35  std::string address_;
-
36  uint16_t port_ = 0;
-
38  bool reuse_ = false;
-
39  // Address of the interface over which to receive UDP multicast streams.
-
40  std::string interface_address_;
-
42  unsigned timeout_us_ = 0;
-
43 };
-
44 
-
45 } // namespace media
-
46 } // namespace shaka
-
Options parsed from UDP url string of the form: udp://ip:port[?options].
Definition: udp_options.h:16
-
static std::unique_ptr< UdpOptions > ParseFromString(base::StringPiece udp_url)
Definition: udp_options.cc:73
-
- - - - diff --git a/docs/de/dc1/demuxer_8h_source.html b/docs/de/dc1/demuxer_8h_source.html index 0301f6ab4c..08fa1ee81f 100644 --- a/docs/de/dc1/demuxer_8h_source.html +++ b/docs/de/dc1/demuxer_8h_source.html @@ -106,125 +106,127 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
17 #include "packager/status.h"
18 
19 namespace shaka {
-
20 namespace media {
-
21 
-
22 class Decryptor;
-
23 class File;
-
24 class KeySource;
-
25 class MediaParser;
-
26 class MediaSample;
-
27 class MediaStream;
-
28 class StreamInfo;
-
29 
-
32 class Demuxer : public MediaHandler {
-
33  public:
-
37  explicit Demuxer(const std::string& file_name);
-
38  ~Demuxer();
-
39 
-
44  void SetKeySource(std::unique_ptr<KeySource> key_source);
-
45 
-
48  Status Run();
-
49 
-
52  void Cancel();
-
53 
-
56  MediaContainerName container_name() { return container_name_; }
-
57 
-
62  Status SetHandler(const std::string& stream_label,
-
63  std::shared_ptr<MediaHandler> handler);
-
64 
-
70  void SetLanguageOverride(const std::string& stream_label,
-
71  const std::string& language_override);
-
72 
-
73  void set_dump_stream_info(bool dump_stream_info) {
-
74  dump_stream_info_ = dump_stream_info;
-
75  }
-
76 
-
77  protected:
-
80  Status InitializeInternal() override { return Status::OK; }
-
81  Status Process(std::unique_ptr<StreamData> stream_data) override {
-
82  return Status(error::INTERNAL_ERROR,
-
83  "Demuxer should not be the downstream handler.");
-
84  }
-
85  bool ValidateOutputStreamIndex(size_t stream_index) const override {
-
86  // We don't know if the stream is valid or not when setting up the graph.
-
87  // Will validate the stream index later when stream info is available.
-
88  return true;
-
89  }
-
91 
-
92  private:
-
93  Demuxer(const Demuxer&) = delete;
-
94  Demuxer& operator=(const Demuxer&) = delete;
-
95 
-
96  struct QueuedSample {
-
97  QueuedSample(uint32_t track_id, std::shared_ptr<MediaSample> sample);
-
98  ~QueuedSample();
-
99 
-
100  uint32_t track_id;
-
101  std::shared_ptr<MediaSample> sample;
-
102  };
-
103 
-
104  // Initialize the parser. This method primes the demuxer by parsing portions
-
105  // of the media file to extract stream information.
-
106  // @return OK on success.
-
107  Status InitializeParser();
-
108 
-
109  // Parser init event.
-
110  void ParserInitEvent(const std::vector<std::shared_ptr<StreamInfo>>& streams);
-
111  // Parser new sample event handler. Queues the samples if init event has not
-
112  // been received, otherwise calls PushSample() to push the sample to
-
113  // corresponding stream.
-
114  bool NewSampleEvent(uint32_t track_id,
-
115  const std::shared_ptr<MediaSample>& sample);
-
116  // Helper function to push the sample to corresponding stream.
-
117  bool PushSample(uint32_t track_id,
-
118  const std::shared_ptr<MediaSample>& sample);
-
119 
-
120  // Read from the source and send it to the parser.
-
121  Status Parse();
-
122 
-
123  std::string file_name_;
-
124  File* media_file_ = nullptr;
-
125  // A stream is considered ready after receiving the stream info.
-
126  bool all_streams_ready_ = false;
-
127  // Queued samples received in NewSampleEvent() before ParserInitEvent().
-
128  std::deque<QueuedSample> queued_samples_;
-
129  std::unique_ptr<MediaParser> parser_;
-
130  // TrackId -> StreamIndex map.
-
131  std::map<uint32_t, size_t> track_id_to_stream_index_map_;
-
132  // The list of stream indexes in the above map (in the same order as the input
-
133  // stream info vector).
-
134  std::vector<size_t> stream_indexes_;
-
135  // StreamIndex -> language_override map.
-
136  std::map<size_t, std::string> language_overrides_;
-
137  MediaContainerName container_name_ = CONTAINER_UNKNOWN;
-
138  std::unique_ptr<uint8_t[]> buffer_;
-
139  std::unique_ptr<KeySource> key_source_;
-
140  bool cancelled_ = false;
-
141  // Whether to dump stream info when it is received.
-
142  bool dump_stream_info_ = false;
-
143  Status init_event_status_;
-
144 };
-
145 
-
146 } // namespace media
-
147 } // namespace shaka
-
148 
-
149 #endif // MEDIA_BASE_DEMUXER_H_
-
MediaContainerName container_name()
Definition: demuxer.h:56
+
20 
+
21 class File;
+
22 
+
23 namespace media {
+
24 
+
25 class Decryptor;
+
26 class KeySource;
+
27 class MediaParser;
+
28 class MediaSample;
+
29 class MediaStream;
+
30 class StreamInfo;
+
31 
+
34 class Demuxer : public MediaHandler {
+
35  public:
+
39  explicit Demuxer(const std::string& file_name);
+
40  ~Demuxer();
+
41 
+
46  void SetKeySource(std::unique_ptr<KeySource> key_source);
+
47 
+
50  Status Run();
+
51 
+
54  void Cancel();
+
55 
+
58  MediaContainerName container_name() { return container_name_; }
+
59 
+
64  Status SetHandler(const std::string& stream_label,
+
65  std::shared_ptr<MediaHandler> handler);
+
66 
+
72  void SetLanguageOverride(const std::string& stream_label,
+
73  const std::string& language_override);
+
74 
+
75  void set_dump_stream_info(bool dump_stream_info) {
+
76  dump_stream_info_ = dump_stream_info;
+
77  }
+
78 
+
79  protected:
+
82  Status InitializeInternal() override { return Status::OK; }
+
83  Status Process(std::unique_ptr<StreamData> stream_data) override {
+
84  return Status(error::INTERNAL_ERROR,
+
85  "Demuxer should not be the downstream handler.");
+
86  }
+
87  bool ValidateOutputStreamIndex(size_t stream_index) const override {
+
88  // We don't know if the stream is valid or not when setting up the graph.
+
89  // Will validate the stream index later when stream info is available.
+
90  return true;
+
91  }
+
93 
+
94  private:
+
95  Demuxer(const Demuxer&) = delete;
+
96  Demuxer& operator=(const Demuxer&) = delete;
+
97 
+
98  struct QueuedSample {
+
99  QueuedSample(uint32_t track_id, std::shared_ptr<MediaSample> sample);
+
100  ~QueuedSample();
+
101 
+
102  uint32_t track_id;
+
103  std::shared_ptr<MediaSample> sample;
+
104  };
+
105 
+
106  // Initialize the parser. This method primes the demuxer by parsing portions
+
107  // of the media file to extract stream information.
+
108  // @return OK on success.
+
109  Status InitializeParser();
+
110 
+
111  // Parser init event.
+
112  void ParserInitEvent(const std::vector<std::shared_ptr<StreamInfo>>& streams);
+
113  // Parser new sample event handler. Queues the samples if init event has not
+
114  // been received, otherwise calls PushSample() to push the sample to
+
115  // corresponding stream.
+
116  bool NewSampleEvent(uint32_t track_id,
+
117  const std::shared_ptr<MediaSample>& sample);
+
118  // Helper function to push the sample to corresponding stream.
+
119  bool PushSample(uint32_t track_id,
+
120  const std::shared_ptr<MediaSample>& sample);
+
121 
+
122  // Read from the source and send it to the parser.
+
123  Status Parse();
+
124 
+
125  std::string file_name_;
+
126  File* media_file_ = nullptr;
+
127  // A stream is considered ready after receiving the stream info.
+
128  bool all_streams_ready_ = false;
+
129  // Queued samples received in NewSampleEvent() before ParserInitEvent().
+
130  std::deque<QueuedSample> queued_samples_;
+
131  std::unique_ptr<MediaParser> parser_;
+
132  // TrackId -> StreamIndex map.
+
133  std::map<uint32_t, size_t> track_id_to_stream_index_map_;
+
134  // The list of stream indexes in the above map (in the same order as the input
+
135  // stream info vector).
+
136  std::vector<size_t> stream_indexes_;
+
137  // StreamIndex -> language_override map.
+
138  std::map<size_t, std::string> language_overrides_;
+
139  MediaContainerName container_name_ = CONTAINER_UNKNOWN;
+
140  std::unique_ptr<uint8_t[]> buffer_;
+
141  std::unique_ptr<KeySource> key_source_;
+
142  bool cancelled_ = false;
+
143  // Whether to dump stream info when it is received.
+
144  bool dump_stream_info_ = false;
+
145  Status init_event_status_;
+
146 };
+
147 
+
148 } // namespace media
+
149 } // namespace shaka
+
150 
+
151 #endif // MEDIA_BASE_DEMUXER_H_
+
MediaContainerName container_name()
Definition: demuxer.h:58
Status SetHandler(const std::string &stream_label, std::shared_ptr< MediaHandler > handler)
Definition: demuxer.cc:132
-
bool ValidateOutputStreamIndex(size_t stream_index) const override
Validate if the stream at the specified index actually exists.
Definition: demuxer.h:85
+
bool ValidateOutputStreamIndex(size_t stream_index) const override
Validate if the stream at the specified index actually exists.
Definition: demuxer.h:87
void SetLanguageOverride(const std::string &stream_label, const std::string &language_override)
Definition: demuxer.cc:142
void SetKeySource(std::unique_ptr< KeySource > key_source)
Definition: demuxer.cc:83
- -
Status InitializeInternal() override
Definition: demuxer.h:80
-
Status Process(std::unique_ptr< StreamData > stream_data) override
Definition: demuxer.h:81
+ +
Status InitializeInternal() override
Definition: demuxer.h:82
+
Status Process(std::unique_ptr< StreamData > stream_data) override
Definition: demuxer.h:83
Demuxer(const std::string &file_name)
Definition: demuxer.cc:75
diff --git a/docs/de/dc2/classshaka_1_1media_1_1H265Parser.html b/docs/de/dc2/classshaka_1_1media_1_1H265Parser.html index 2dc4c5b3f4..67acd66c43 100644 --- a/docs/de/dc2/classshaka_1_1media_1_1H265Parser.html +++ b/docs/de/dc2/classshaka_1_1media_1_1H265Parser.html @@ -256,7 +256,7 @@ Public Member Functions diff --git a/docs/de/dc9/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html b/docs/de/dc9/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html index 275b4635b6..2a47769826 100644 --- a/docs/de/dc9/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html +++ b/docs/de/dc9/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dcb/ts__segmenter_8h_source.html b/docs/de/dcb/ts__segmenter_8h_source.html index 32febbec00..40cd402f0e 100644 --- a/docs/de/dcb/ts__segmenter_8h_source.html +++ b/docs/de/dcb/ts__segmenter_8h_source.html @@ -97,8 +97,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 #define PACKAGER_MEDIA_FORMATS_MP2T_TS_SEGMENTER_H_
9 
10 #include <memory>
-
11 #include "packager/media/base/muxer_options.h"
-
12 #include "packager/media/file/file.h"
+
11 #include "packager/file/file.h"
+
12 #include "packager/media/base/muxer_options.h"
13 #include "packager/media/formats/mp2t/pes_packet_generator.h"
14 #include "packager/media/formats/mp2t/ts_writer.h"
15 #include "packager/status.h"
@@ -188,7 +188,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dcc/mock__mpd__notifier_8cc_source.html b/docs/de/dcc/mock__mpd__notifier_8cc_source.html index 39614cb2d8..de8f09ee48 100644 --- a/docs/de/dcc/mock__mpd__notifier_8cc_source.html +++ b/docs/de/dcc/mock__mpd__notifier_8cc_source.html @@ -99,7 +99,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 deleted file mode 100644 index b35c32f1d6..0000000000 --- a/docs/de/dcf/file__closer_8h_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file/file_closer.h Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
file_closer.h
-
-
-
1 // Copyright 2014 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
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 
-
10 #include "packager/base/logging.h"
-
11 #include "packager/media/file/file.h"
-
12 
-
13 namespace shaka {
-
14 namespace media {
-
15 
-
18 struct FileCloser {
-
19  inline void operator()(File* file) const {
-
20  if (file != NULL) {
-
21  const std::string filename = file->file_name();
-
22  if (!file->Close()) {
-
23  LOG(WARNING) << "Failed to close the file properly: "
-
24  << filename;
-
25  }
-
26  }
-
27  }
-
28 };
-
29 
-
30 } // namespace media
-
31 } // namespace shaka
-
32 
-
33 #endif // MEDIA_FILE_FILE_CLOSER_H_
-
virtual bool Close()=0
-
Define an abstract file interface.
Definition: file.h:24
- -
const std::string & file_name() const
Definition: file.h:91
-
- - - - diff --git a/docs/de/dd6/content__protection__element_8h_source.html b/docs/de/dd6/content__protection__element_8h_source.html index cb94959239..79cbd53429 100644 --- a/docs/de/dd6/content__protection__element_8h_source.html +++ b/docs/de/dd6/content__protection__element_8h_source.html @@ -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 bfd750c388..e882049db1 100644 --- a/docs/de/dd6/muxer__listener__test__helper_8cc_source.html +++ b/docs/de/dd6/muxer__listener__test__helper_8cc_source.html @@ -212,7 +212,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/ddd/classshaka_1_1media_1_1Muxer-members.html b/docs/de/ddd/classshaka_1_1media_1_1Muxer-members.html index d0e000a209..2ddb78b327 100644 --- a/docs/de/ddd/classshaka_1_1media_1_1Muxer-members.html +++ b/docs/de/ddd/classshaka_1_1media_1_1Muxer-members.html @@ -130,7 +130,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html b/docs/de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html index 943eb37ff2..12c17b8e94 100644 --- a/docs/de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html +++ b/docs/de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html @@ -257,7 +257,7 @@ Public Member Functions diff --git a/docs/de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html b/docs/de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html index f4ba524428..51f3fa85b2 100644 --- a/docs/de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html +++ b/docs/de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html @@ -272,7 +272,7 @@ void  diff --git a/docs/de/ddf/structshaka_1_1media_1_1mp4_1_1MediaData-members.html b/docs/de/ddf/structshaka_1_1media_1_1mp4_1_1MediaData-members.html index c9035b0a3d..ea8e6d2be6 100644 --- a/docs/de/ddf/structshaka_1_1media_1_1mp4_1_1MediaData-members.html +++ b/docs/de/ddf/structshaka_1_1media_1_1mp4_1_1MediaData-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/de0/classshaka_1_1media_1_1DecoderConfigurationRecord.html b/docs/de/de0/classshaka_1_1media_1_1DecoderConfigurationRecord.html index 7e3c6dbe95..3354610990 100644 --- a/docs/de/de0/classshaka_1_1media_1_1DecoderConfigurationRecord.html +++ b/docs/de/de0/classshaka_1_1media_1_1DecoderConfigurationRecord.html @@ -333,7 +333,7 @@ void  diff --git a/docs/de/de0/classshaka_1_1media_1_1mp4_1_1MP4Muxer-members.html b/docs/de/de0/classshaka_1_1media_1_1mp4_1_1MP4Muxer-members.html index 1498035cef..67140fe985 100644 --- a/docs/de/de0/classshaka_1_1media_1_1mp4_1_1MP4Muxer-members.html +++ b/docs/de/de0/classshaka_1_1media_1_1mp4_1_1MP4Muxer-members.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/de4/structshaka_1_1media_1_1H264Pps.html b/docs/de/de4/structshaka_1_1media_1_1H264Pps.html index 4c021b3912..bc0565cae5 100644 --- a/docs/de/de4/structshaka_1_1media_1_1H264Pps.html +++ b/docs/de/de4/structshaka_1_1media_1_1H264Pps.html @@ -167,7 +167,7 @@ int second_chroma_qp_index diff --git a/docs/de/dea/classshaka_1_1media_1_1H26xByteToUnitStreamConverter.html b/docs/de/dea/classshaka_1_1media_1_1H26xByteToUnitStreamConverter.html index d134c16335..db9d8d4824 100644 --- a/docs/de/dea/classshaka_1_1media_1_1H26xByteToUnitStreamConverter.html +++ b/docs/de/dea/classshaka_1_1media_1_1H26xByteToUnitStreamConverter.html @@ -287,7 +287,7 @@ void WarnIfNotMatch (i diff --git a/docs/de/def/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample.html b/docs/de/def/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample.html index 58f15252f9..31ec11fe6a 100644 --- a/docs/de/def/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample.html +++ b/docs/de/def/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html b/docs/de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html index 4d6c28ebbd..b472befa71 100644 --- a/docs/de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html +++ b/docs/de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html @@ -412,7 +412,7 @@ bool is_keyframe () co diff --git a/docs/de/dfa/muxer__listener_8h_source.html b/docs/de/dfa/muxer__listener_8h_source.html index 89c0731579..79671b8dbe 100644 --- a/docs/de/dfa/muxer__listener_8h_source.html +++ b/docs/de/dfa/muxer__listener_8h_source.html @@ -180,7 +180,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dfa/structshaka_1_1media_1_1mp4_1_1OpusSpecific.html b/docs/de/dfa/structshaka_1_1media_1_1mp4_1_1OpusSpecific.html index 144a8d4fad..ae70a229d9 100644 --- a/docs/de/dfa/structshaka_1_1media_1_1mp4_1_1OpusSpecific.html +++ b/docs/de/dfa/structshaka_1_1media_1_1mp4_1_1OpusSpecific.html @@ -176,7 +176,7 @@ Additional Inherited Members diff --git a/docs/de/dfd/stream__info_8cc_source.html b/docs/de/dfd/stream__info_8cc_source.html index 6f397c9b36..806a8d4087 100644 --- a/docs/de/dfd/stream__info_8cc_source.html +++ b/docs/de/dfd/stream__info_8cc_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d00/playready__key__source_8h_source.html b/docs/df/d00/playready__key__source_8h_source.html index 8c28667b49..fc9474d134 100644 --- a/docs/df/d00/playready__key__source_8h_source.html +++ b/docs/df/d00/playready__key__source_8h_source.html @@ -166,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d05/vp__codec__configuration__record_8cc_source.html b/docs/df/d05/vp__codec__configuration__record_8cc_source.html index f534c578f9..37380df4d9 100644 --- a/docs/df/d05/vp__codec__configuration__record_8cc_source.html +++ b/docs/df/d05/vp__codec__configuration__record_8cc_source.html @@ -408,7 +408,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
A class to read bit streams.
Definition: bit_reader.h:17
void WriteMP4(std::vector< uint8_t > *data) const
- +
void WriteWebM(std::vector< uint8_t > *data) const
bool ParseMP4(const std::vector< uint8_t > &data)
@@ -418,7 +418,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 63a5965f72..1e3f044566 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/classshaka_1_1media_1_1MediaSample-members.html b/docs/df/d1c/classshaka_1_1media_1_1MediaSample-members.html index 80e19ce4f8..e67bde4172 100644 --- a/docs/df/d1c/classshaka_1_1media_1_1MediaSample-members.html +++ b/docs/df/d1c/classshaka_1_1media_1_1MediaSample-members.html @@ -128,7 +128,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 131f140292..d53e37698b 100644 --- a/docs/df/d1c/composition__offset__iterator_8h_source.html +++ b/docs/df/d1c/composition__offset__iterator_8h_source.html @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d21/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser-members.html b/docs/df/d21/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser-members.html index 4a6d6a8e3e..17275d9e4f 100644 --- a/docs/df/d21/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser-members.html +++ b/docs/df/d21/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d22/validate__flag_8h_source.html b/docs/df/d22/validate__flag_8h_source.html index e1d062aef3..e7893aca3a 100644 --- a/docs/df/d22/validate__flag_8h_source.html +++ b/docs/df/d22/validate__flag_8h_source.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d2a/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html b/docs/df/d2a/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html index 8e365f223c..7175212091 100644 --- a/docs/df/d2a/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html +++ b/docs/df/d2a/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d2d/classshaka_1_1media_1_1AesCbcDecryptor.html b/docs/df/d2d/classshaka_1_1media_1_1AesCbcDecryptor.html index 64f204470f..6165a2af77 100644 --- a/docs/df/d2d/classshaka_1_1media_1_1AesCbcDecryptor.html +++ b/docs/df/d2d/classshaka_1_1media_1_1AesCbcDecryptor.html @@ -279,7 +279,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/df/d31/muxer__util_8cc_source.html b/docs/df/d31/muxer__util_8cc_source.html index 2c1ce5baaf..7ff469e152 100644 --- a/docs/df/d31/muxer__util_8cc_source.html +++ b/docs/df/d31/muxer__util_8cc_source.html @@ -248,7 +248,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 3e81213ba5..20860fb315 100644 --- a/docs/df/d32/audio__stream__info_8h_source.html +++ b/docs/df/d32/audio__stream__info_8h_source.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d33/classshaka_1_1AdaptationSet-members.html b/docs/df/d33/classshaka_1_1AdaptationSet-members.html index 58c206709f..7f41409101 100644 --- a/docs/df/d33/classshaka_1_1AdaptationSet-members.html +++ b/docs/df/d33/classshaka_1_1AdaptationSet-members.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d38/structshaka_1_1media_1_1mp4_1_1ChunkInfo.html b/docs/df/d38/structshaka_1_1media_1_1mp4_1_1ChunkInfo.html index d29d0f11f4..64d96e1ec0 100644 --- a/docs/df/d38/structshaka_1_1media_1_1mp4_1_1ChunkInfo.html +++ b/docs/df/d38/structshaka_1_1media_1_1mp4_1_1ChunkInfo.html @@ -115,7 +115,7 @@ uint32_t sample_descriptio diff --git a/docs/df/d38/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html b/docs/df/d38/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html index 38e67ff258..b25781dc32 100644 --- a/docs/df/d38/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html +++ b/docs/df/d38/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d3c/classshaka_1_1media_1_1RequestSigner.html b/docs/df/d3c/classshaka_1_1media_1_1RequestSigner.html index e4b43b0c37..eaa9a62ac9 100644 --- a/docs/df/d3c/classshaka_1_1media_1_1RequestSigner.html +++ b/docs/df/d3c/classshaka_1_1media_1_1RequestSigner.html @@ -180,7 +180,7 @@ Protected Member Functions diff --git a/docs/df/d46/classshaka_1_1media_1_1Muxer.html b/docs/df/d46/classshaka_1_1media_1_1Muxer.html index f26c59911a..64fc990fa7 100644 --- a/docs/df/d46/classshaka_1_1media_1_1Muxer.html +++ b/docs/df/d46/classshaka_1_1media_1_1Muxer.html @@ -389,7 +389,7 @@ std::pair< std::shared_ptr
diff --git a/docs/df/d46/classshaka_1_1media_1_1ThreadedIoFile-members.html b/docs/df/d46/classshaka_1_1media_1_1ThreadedIoFile-members.html deleted file mode 100644 index 09b87835a3..0000000000 --- a/docs/df/d46/classshaka_1_1media_1_1ThreadedIoFile-members.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - -DASH Media Packaging SDK: Member List - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
shaka::media::ThreadedIoFile Member List
-
-
- -

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

- - - - - - - - - - - - - - - - - - - - - - - - - - -
Close() overrideshaka::media::ThreadedIoFilevirtual
Copy(const char *from_file_name, const char *to_file_name)shaka::media::Filestatic
CopyFile(File *source, File *destination)shaka::media::Filestatic
CopyFile(File *source, File *destination, int64_t max_copy)shaka::media::Filestatic
Delete(const char *file_name)shaka::media::Filestatic
File(const std::string &file_name) (defined in shaka::media::File)shaka::media::Fileinlineexplicitprotected
file_name() const shaka::media::Fileinline
Flush() overrideshaka::media::ThreadedIoFilevirtual
GetFileSize(const char *file_name)shaka::media::Filestatic
kInputMode enum value (defined in shaka::media::ThreadedIoFile)shaka::media::ThreadedIoFile
kOutputMode enum value (defined in shaka::media::ThreadedIoFile)shaka::media::ThreadedIoFile
Mode enum name (defined in shaka::media::ThreadedIoFile)shaka::media::ThreadedIoFile
Open() overrideshaka::media::ThreadedIoFileprotectedvirtual
shaka::media::File::Open(const char *file_name, const char *mode)shaka::media::Filestatic
OpenWithNoBuffering(const char *file_name, const char *mode)shaka::media::Filestatic
Read(void *buffer, uint64_t length) overrideshaka::media::ThreadedIoFilevirtual
ReadFileToString(const char *file_name, std::string *contents)shaka::media::Filestatic
Seek(uint64_t position) overrideshaka::media::ThreadedIoFilevirtual
Size() overrideshaka::media::ThreadedIoFilevirtual
Tell(uint64_t *position) overrideshaka::media::ThreadedIoFilevirtual
ThreadedIoFile(std::unique_ptr< File, FileCloser > internal_file, Mode mode, uint64_t io_cache_size, uint64_t io_block_size) (defined in shaka::media::ThreadedIoFile)shaka::media::ThreadedIoFile
Write(const void *buffer, uint64_t length) overrideshaka::media::ThreadedIoFilevirtual
WriteFileAtomically(const char *file_name, const std::string &contents)shaka::media::Filestatic
~File()shaka::media::Fileinlineprotectedvirtual
~ThreadedIoFile() override (defined in shaka::media::ThreadedIoFile)shaka::media::ThreadedIoFileprotected
- - - - diff --git a/docs/df/d50/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter-members.html b/docs/df/d50/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter-members.html index 7b51612604..68b8bc0001 100644 --- a/docs/df/d50/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter-members.html +++ b/docs/df/d50/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d51/classshaka_1_1media_1_1RsaPrivateKey-members.html b/docs/df/d51/classshaka_1_1media_1_1RsaPrivateKey-members.html index b3a4df8022..4f550bd4f9 100644 --- a/docs/df/d51/classshaka_1_1media_1_1RsaPrivateKey-members.html +++ b/docs/df/d51/classshaka_1_1media_1_1RsaPrivateKey-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d60/classshaka_1_1MockMpdBuilder.html b/docs/df/d60/classshaka_1_1MockMpdBuilder.html index cc40180bdc..3a4729a79d 100644 --- a/docs/df/d60/classshaka_1_1MockMpdBuilder.html +++ b/docs/df/d60/classshaka_1_1MockMpdBuilder.html @@ -141,7 +141,7 @@ Additional Inherited Members diff --git a/docs/df/d63/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry-members.html b/docs/df/d63/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry-members.html index 628658e4ae..51319207e3 100644 --- a/docs/df/d63/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry-members.html +++ b/docs/df/d63/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d66/classshaka_1_1media_1_1KeyFetcher.html b/docs/df/d66/classshaka_1_1media_1_1KeyFetcher.html index f985276f41..ab09e6abe8 100644 --- a/docs/df/d66/classshaka_1_1media_1_1KeyFetcher.html +++ b/docs/df/d66/classshaka_1_1media_1_1KeyFetcher.html @@ -177,7 +177,7 @@ Public Member Functions diff --git a/docs/df/d6a/classshaka_1_1MockMpdBuilder-members.html b/docs/df/d6a/classshaka_1_1MockMpdBuilder-members.html index b7b09a9d16..dbff2a376a 100644 --- a/docs/df/d6a/classshaka_1_1MockMpdBuilder-members.html +++ b/docs/df/d6a/classshaka_1_1MockMpdBuilder-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d6a/structshaka_1_1media_1_1mp4_1_1OpusSpecific-members.html b/docs/df/d6a/structshaka_1_1media_1_1mp4_1_1OpusSpecific-members.html index f72424517b..eee27d1a17 100644 --- a/docs/df/d6a/structshaka_1_1media_1_1mp4_1_1OpusSpecific-members.html +++ b/docs/df/d6a/structshaka_1_1media_1_1mp4_1_1OpusSpecific-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample.html b/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample.html index fb89a5c420..d0c8b53d86 100644 --- a/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample.html +++ b/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1TrackFragment.html b/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1TrackFragment.html index a0632c0389..aae86a9388 100644 --- a/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1TrackFragment.html +++ b/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1TrackFragment.html @@ -198,7 +198,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 index 42c00b581b..b2c7418437 100644 --- a/docs/df/d7d/webm__info__parser_8cc_source.html +++ b/docs/df/d7d/webm__info__parser_8cc_source.html @@ -200,7 +200,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d82/classshaka_1_1media_1_1DecoderConfigurationRecord-members.html b/docs/df/d82/classshaka_1_1media_1_1DecoderConfigurationRecord-members.html index e52272180f..ca55c847e0 100644 --- a/docs/df/d82/classshaka_1_1media_1_1DecoderConfigurationRecord-members.html +++ b/docs/df/d82/classshaka_1_1media_1_1DecoderConfigurationRecord-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d87/classshaka_1_1media_1_1AesCryptor.html b/docs/df/d87/classshaka_1_1media_1_1AesCryptor.html index 50fe8d7006..102c132c6f 100644 --- a/docs/df/d87/classshaka_1_1media_1_1AesCryptor.html +++ b/docs/df/d87/classshaka_1_1media_1_1AesCryptor.html @@ -424,7 +424,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/df/d8a/structshaka_1_1media_1_1mp4_1_1DataEntryUrl.html b/docs/df/d8a/structshaka_1_1media_1_1mp4_1_1DataEntryUrl.html index 33531ad7db..4e59e06e2e 100644 --- a/docs/df/d8a/structshaka_1_1media_1_1mp4_1_1DataEntryUrl.html +++ b/docs/df/d8a/structshaka_1_1media_1_1mp4_1_1DataEntryUrl.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/df/d8a/vp9__parser_8h_source.html b/docs/df/d8a/vp9__parser_8h_source.html index 53e55e1942..6c1c89fe48 100644 --- a/docs/df/d8a/vp9__parser_8h_source.html +++ b/docs/df/d8a/vp9__parser_8h_source.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d8a/vpx__parser_8h_source.html b/docs/df/d8a/vpx__parser_8h_source.html index 188049ca69..228728d8aa 100644 --- a/docs/df/d8a/vpx__parser_8h_source.html +++ b/docs/df/d8a/vpx__parser_8h_source.html @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d8c/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html b/docs/df/d8c/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html index d6eda4fd6f..c2da7d9a65 100644 --- a/docs/df/d8c/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html +++ b/docs/df/d8c/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d8d/es__parser__h26x_8h_source.html b/docs/df/d8d/es__parser__h26x_8h_source.html index 7bc4350c46..9ac6550ff9 100644 --- a/docs/df/d8d/es__parser__h26x_8h_source.html +++ b/docs/df/d8d/es__parser__h26x_8h_source.html @@ -235,7 +235,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d94/classshaka_1_1RepresentationStateChangeListener.html b/docs/df/d94/classshaka_1_1RepresentationStateChangeListener.html index a3b6b57f0c..190dab5696 100644 --- a/docs/df/d94/classshaka_1_1RepresentationStateChangeListener.html +++ b/docs/df/d94/classshaka_1_1RepresentationStateChangeListener.html @@ -103,7 +103,7 @@ Public Member Functions

Detailed Description

-

Definition at line 389 of file mpd_builder.h.

+

Definition at line 386 of file mpd_builder.h.

Member Function Documentation

@@ -195,7 +195,7 @@ Public Member Functions
diff --git a/docs/df/d96/xml__node_8cc_source.html b/docs/df/d96/xml__node_8cc_source.html index aee0ccaad4..ee2b0c39b4 100644 --- a/docs/df/d96/xml__node_8cc_source.html +++ b/docs/df/d96/xml__node_8cc_source.html @@ -513,7 +513,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d9a/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html b/docs/df/d9a/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html index f02d1d7e53..8501609091 100644 --- a/docs/df/d9a/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html +++ b/docs/df/d9a/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html b/docs/df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html index fb3b8bae09..11b67e5934 100644 --- a/docs/df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html +++ b/docs/df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html @@ -315,7 +315,7 @@ Additional Inherited Members diff --git a/docs/df/da0/structshaka_1_1media_1_1mp4_1_1ChunkOffset-members.html b/docs/df/da0/structshaka_1_1media_1_1mp4_1_1ChunkOffset-members.html index e215a0132f..bc810ab988 100644 --- a/docs/df/da0/structshaka_1_1media_1_1mp4_1_1ChunkOffset-members.html +++ b/docs/df/da0/structshaka_1_1media_1_1mp4_1_1ChunkOffset-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/da5/structshaka_1_1media_1_1mp4_1_1CueIDBox-members.html b/docs/df/da5/structshaka_1_1media_1_1mp4_1_1CueIDBox-members.html index 09815a4cf6..9a1d018af5 100644 --- a/docs/df/da5/structshaka_1_1media_1_1mp4_1_1CueIDBox-members.html +++ b/docs/df/da5/structshaka_1_1media_1_1mp4_1_1CueIDBox-members.html @@ -109,7 +109,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 31e181a38c..b4d15705f4 100644 --- a/docs/df/dad/decrypt__config_8h_source.html +++ b/docs/df/dad/decrypt__config_8h_source.html @@ -176,7 +176,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dc7/avc__decoder__configuration__record_8h_source.html b/docs/df/dc7/avc__decoder__configuration__record_8h_source.html index 359da4b59d..9fe4640574 100644 --- a/docs/df/dc7/avc__decoder__configuration__record_8h_source.html +++ b/docs/df/dc7/avc__decoder__configuration__record_8h_source.html @@ -155,7 +155,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dd2/mpd__utils_8h_source.html b/docs/df/dd2/mpd__utils_8h_source.html index 062fe48a1f..0cea04087e 100644 --- a/docs/df/dd2/mpd__utils_8h_source.html +++ b/docs/df/dd2/mpd__utils_8h_source.html @@ -177,7 +177,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dd2/structshaka_1_1media_1_1H264Pps-members.html b/docs/df/dd2/structshaka_1_1media_1_1H264Pps-members.html index f821b2a4e3..f635cd681f 100644 --- a/docs/df/dd2/structshaka_1_1media_1_1H264Pps-members.html +++ b/docs/df/dd2/structshaka_1_1media_1_1H264Pps-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dd3/structshaka_1_1media_1_1MediaEvent.html b/docs/df/dd3/structshaka_1_1media_1_1MediaEvent.html index 7cf0ef5201..d3ec0d94d5 100644 --- a/docs/df/dd3/structshaka_1_1media_1_1MediaEvent.html +++ b/docs/df/dd3/structshaka_1_1media_1_1MediaEvent.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/ddc/webm_2segmenter_8h_source.html b/docs/df/ddc/webm_2segmenter_8h_source.html index fcb358d25a..6586bf52e1 100644 --- a/docs/df/ddc/webm_2segmenter_8h_source.html +++ b/docs/df/ddc/webm_2segmenter_8h_source.html @@ -250,7 +250,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dde/ts__section__psi_8cc_source.html b/docs/df/dde/ts__section__psi_8cc_source.html index ab2a4ca2e1..637ab72fac 100644 --- a/docs/df/dde/ts__section__psi_8cc_source.html +++ b/docs/df/dde/ts__section__psi_8cc_source.html @@ -230,7 +230,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/de2/structshaka_1_1media_1_1H264SEIRecoveryPoint.html b/docs/df/de2/structshaka_1_1media_1_1H264SEIRecoveryPoint.html index de1d0ec2d5..4e74fe6847 100644 --- a/docs/df/de2/structshaka_1_1media_1_1H264SEIRecoveryPoint.html +++ b/docs/df/de2/structshaka_1_1media_1_1H264SEIRecoveryPoint.html @@ -118,7 +118,7 @@ int changing_slice_group_i diff --git a/docs/df/de3/text__track__config_8cc_source.html b/docs/df/de3/text__track__config_8cc_source.html index 7245b5e13a..446f81d1b7 100644 --- a/docs/df/de3/text__track__config_8cc_source.html +++ b/docs/df/de3/text__track__config_8cc_source.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/de9/segment__info_8h_source.html b/docs/df/de9/segment__info_8h_source.html index b90d5a4793..6ddafa0b0e 100644 --- a/docs/df/de9/segment__info_8h_source.html +++ b/docs/df/de9/segment__info_8h_source.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/df1/structshaka_1_1ContentProtectionElement-members.html b/docs/df/df1/structshaka_1_1ContentProtectionElement-members.html index e7232d9f85..5f7915e523 100644 --- a/docs/df/df1/structshaka_1_1ContentProtectionElement-members.html +++ b/docs/df/df1/structshaka_1_1ContentProtectionElement-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dfb/classshaka_1_1media_1_1UdpOptions-members.html b/docs/df/dfb/classshaka_1_1media_1_1UdpOptions-members.html deleted file mode 100644 index 62cd3f3041..0000000000 --- a/docs/df/dfb/classshaka_1_1media_1_1UdpOptions-members.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - -DASH Media Packaging SDK: Member List - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
shaka::media::UdpOptions Member List
-
-
- -

This is the complete list of members for shaka::media::UdpOptions, including all inherited members.

- - - - - - - - -
address() const (defined in shaka::media::UdpOptions)shaka::media::UdpOptionsinline
interface_address() const (defined in shaka::media::UdpOptions)shaka::media::UdpOptionsinline
ParseFromString(base::StringPiece udp_url)shaka::media::UdpOptionsstatic
port() const (defined in shaka::media::UdpOptions)shaka::media::UdpOptionsinline
reuse() const (defined in shaka::media::UdpOptions)shaka::media::UdpOptionsinline
timeout_us() const (defined in shaka::media::UdpOptions)shaka::media::UdpOptionsinline
~UdpOptions()=default (defined in shaka::media::UdpOptions)shaka::media::UdpOptions
- - - - diff --git a/docs/df/dfc/playready__key__encryption__flags_8cc_source.html b/docs/df/dfc/playready__key__encryption__flags_8cc_source.html index 86feb06f82..b7c98963c1 100644 --- a/docs/df/dfc/playready__key__encryption__flags_8cc_source.html +++ b/docs/df/dfc/playready__key__encryption__flags_8cc_source.html @@ -166,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dir_0494b8c96e3190a776d2b97ade9c8ddf.html b/docs/dir_0494b8c96e3190a776d2b97ade9c8ddf.html index b3ab55801e..297eab306c 100644 --- a/docs/dir_0494b8c96e3190a776d2b97ade9c8ddf.html +++ b/docs/dir_0494b8c96e3190a776d2b97ade9c8ddf.html @@ -165,7 +165,7 @@ Files diff --git a/docs/dir_2618cd273dea54f184e42d7a562af818.html b/docs/dir_2618cd273dea54f184e42d7a562af818.html index 6f65ef56a0..250f5d2654 100644 --- a/docs/dir_2618cd273dea54f184e42d7a562af818.html +++ b/docs/dir_2618cd273dea54f184e42d7a562af818.html @@ -136,7 +136,7 @@ Files diff --git a/docs/dir_263e692158cf359dd655c259558153d6.html b/docs/dir_263e692158cf359dd655c259558153d6.html index 47281c3ed3..ffcd0bb62f 100644 --- a/docs/dir_263e692158cf359dd655c259558153d6.html +++ b/docs/dir_263e692158cf359dd655c259558153d6.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_279fd47bebb21302c25cfb685e84c359.html b/docs/dir_279fd47bebb21302c25cfb685e84c359.html deleted file mode 100644 index 566e16d18b..0000000000 --- a/docs/dir_279fd47bebb21302c25cfb685e84c359.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/file Directory Reference - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - -
- -
- - -
-
-
-
file Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

file  file.cc [code]
 
file  file.h [code]
 
file  file_closer.h [code]
 
file  file_test_util.h [code]
 
file  file_util.cc [code]
 
file  file_util.h [code]
 
file  io_cache.cc [code]
 
file  io_cache.h [code]
 
file  local_file.cc [code]
 
file  local_file.h [code]
 
file  memory_file.cc [code]
 
file  memory_file.h [code]
 
file  threaded_io_file.cc [code]
 
file  threaded_io_file.h [code]
 
file  udp_file.cc [code]
 
file  udp_file.h [code]
 
file  udp_options.cc [code]
 
file  udp_options.h [code]
 
-
- - - - diff --git a/docs/dir_2eceb70145328c029a5f43350007537a.html b/docs/dir_2eceb70145328c029a5f43350007537a.html index 7e210db098..c7031f5124 100644 --- a/docs/dir_2eceb70145328c029a5f43350007537a.html +++ b/docs/dir_2eceb70145328c029a5f43350007537a.html @@ -105,7 +105,7 @@ Files diff --git a/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html b/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html index 8764a2979e..6818909b72 100644 --- a/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html +++ b/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html @@ -97,8 +97,6 @@ Directories   directory  event   -directory  file -  directory  formats   directory  trick_play @@ -107,7 +105,7 @@ Directories diff --git a/docs/dir_3e9291fd7a18fdecc763294cb2628910.html b/docs/dir_3e9291fd7a18fdecc763294cb2628910.html index 0449225661..4305b26ef5 100644 --- a/docs/dir_3e9291fd7a18fdecc763294cb2628910.html +++ b/docs/dir_3e9291fd7a18fdecc763294cb2628910.html @@ -149,7 +149,7 @@ Files diff --git a/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html b/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html index 9ebd25c0c8..21c957e478 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 index 3b22f3cbaa..0e6c6bfbba 100644 --- a/docs/dir_5039d854a18988ed1f1dbebc120ffbf7.html +++ b/docs/dir_5039d854a18988ed1f1dbebc120ffbf7.html @@ -181,7 +181,7 @@ Files diff --git a/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html b/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html index b22bf82596..331847fd24 100644 --- a/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html +++ b/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html @@ -101,7 +101,7 @@ Directories diff --git a/docs/dir_679a6f4e9fa092b388fc986148018f2a.html b/docs/dir_679a6f4e9fa092b388fc986148018f2a.html index 195f5d916f..0c1ef3e676 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 8e5ae2f707..a63eb40190 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 52903bae29..b970a544df 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 d6d4161197..45f82bdbc7 100644 --- a/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html +++ b/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html @@ -117,7 +117,7 @@ Files diff --git a/docs/dir_b0da65f92a9541ef8f345654d4bd88fd.html b/docs/dir_b0da65f92a9541ef8f345654d4bd88fd.html index 7610efee23..ccc5ee8663 100644 --- a/docs/dir_b0da65f92a9541ef8f345654d4bd88fd.html +++ b/docs/dir_b0da65f92a9541ef8f345654d4bd88fd.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_ba94ecd487194410fd7c4b70c530929c.html b/docs/dir_ba94ecd487194410fd7c4b70c530929c.html index ad2c319387..d48136079d 100644 --- a/docs/dir_ba94ecd487194410fd7c4b70c530929c.html +++ b/docs/dir_ba94ecd487194410fd7c4b70c530929c.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html b/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html index f0357236da..4123767323 100644 --- a/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html +++ b/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html @@ -257,7 +257,7 @@ Files diff --git a/docs/dir_d422163b96683743ed3963d4aac17747.html b/docs/dir_d422163b96683743ed3963d4aac17747.html index 85e5d3c962..6523b29939 100644 --- a/docs/dir_d422163b96683743ed3963d4aac17747.html +++ b/docs/dir_d422163b96683743ed3963d4aac17747.html @@ -151,7 +151,7 @@ Files diff --git a/docs/dir_ebd49ab0652c2e9158bbb57c55382729.html b/docs/dir_ebd49ab0652c2e9158bbb57c55382729.html index 86e136c90e..c880d060cf 100644 --- a/docs/dir_ebd49ab0652c2e9158bbb57c55382729.html +++ b/docs/dir_ebd49ab0652c2e9158bbb57c55382729.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html b/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html index 75ae77ce5b..8553bcb133 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 f3154ae4f2..501ed083ca 100644 --- a/docs/dir_f7dcbe7025bbacfc4b9a7dff6ad41d72.html +++ b/docs/dir_f7dcbe7025bbacfc4b9a7dff6ad41d72.html @@ -171,7 +171,7 @@ Files diff --git a/docs/files.html b/docs/files.html index d3d5b4f503..747da07c21 100644 --- a/docs/files.html +++ b/docs/files.html @@ -266,200 +266,181 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); ||o*progress_listener.h ||o*vod_media_info_dump_muxer_listener.cc ||\*vod_media_info_dump_muxer_listener.h -|o+file -||o*file.cc -||o*file.h -||o*file_closer.h -||o*file_test_util.h -||o*file_util.cc -||o*file_util.h -||o*io_cache.cc -||o*io_cache.h -||o*local_file.cc -||o*local_file.h -||o*memory_file.cc -||o*memory_file.h -||o*threaded_io_file.cc -||o*threaded_io_file.h -||o*udp_file.cc -||o*udp_file.h -||o*udp_options.cc -||\*udp_options.h -|o+formats -||o+mp2t -|||o*adts_header.cc -|||o*adts_header.h -|||o*continuity_counter.cc -|||o*continuity_counter.h -|||o*es_parser.h -|||o*es_parser_adts.cc -|||o*es_parser_adts.h -|||o*es_parser_h264.cc -|||o*es_parser_h264.h -|||o*es_parser_h265.cc -|||o*es_parser_h265.h -|||o*es_parser_h26x.cc -|||o*es_parser_h26x.h -|||o*mp2t_common.h -|||o*mp2t_media_parser.cc -|||o*mp2t_media_parser.h -|||o*pes_packet.cc -|||o*pes_packet.h -|||o*pes_packet_generator.cc -|||o*pes_packet_generator.h -|||o*program_map_table_writer.cc -|||o*program_map_table_writer.h -|||o*ts_muxer.cc -|||o*ts_muxer.h -|||o*ts_packet.cc -|||o*ts_packet.h -|||o*ts_packet_writer_util.cc -|||o*ts_packet_writer_util.h -|||o*ts_section.h -|||o*ts_section_pat.cc -|||o*ts_section_pat.h -|||o*ts_section_pes.cc -|||o*ts_section_pes.h -|||o*ts_section_pmt.cc -|||o*ts_section_pmt.h -|||o*ts_section_psi.cc -|||o*ts_section_psi.h -|||o*ts_segmenter.cc -|||o*ts_segmenter.h -|||o*ts_writer.cc -|||\*ts_writer.h -||o+mp4 -|||o*box.cc -|||o*box.h -|||o*box_buffer.h -|||o*box_definitions.cc -|||o*box_definitions.h -|||o*box_definitions_comparison.h -|||o*box_reader.cc -|||o*box_reader.h -|||o*chunk_info_iterator.cc -|||o*chunk_info_iterator.h -|||o*composition_offset_iterator.cc -|||o*composition_offset_iterator.h -|||o*decoding_time_iterator.cc -|||o*decoding_time_iterator.h -|||o*fragmenter.cc -|||o*fragmenter.h -|||o*mp4_media_parser.cc -|||o*mp4_media_parser.h -|||o*mp4_muxer.cc -|||o*mp4_muxer.h -|||o*multi_segment_segmenter.cc -|||o*multi_segment_segmenter.h -|||o*segmenter.cc -|||o*segmenter.h -|||o*single_segment_segmenter.cc -|||o*single_segment_segmenter.h -|||o*sync_sample_iterator.cc -|||o*sync_sample_iterator.h -|||o*track_run_iterator.cc -|||\*track_run_iterator.h -||o+mpeg -|||o*adts_constants.cc -|||\*adts_constants.h -||o+webm -|||o*cluster_builder.cc -|||o*cluster_builder.h -|||o*encryptor.cc -|||o*encryptor.h -|||o*mkv_writer.cc -|||o*mkv_writer.h -|||o*multi_segment_segmenter.cc -|||o*multi_segment_segmenter.h -|||o*seek_head.cc -|||o*seek_head.h -|||o*segmenter.cc -|||o*segmenter.h -|||o*segmenter_test_base.cc -|||o*segmenter_test_base.h -|||o*single_segment_segmenter.cc -|||o*single_segment_segmenter.h -|||o*tracks_builder.cc -|||o*tracks_builder.h -|||o*two_pass_single_segment_segmenter.cc -|||o*two_pass_single_segment_segmenter.h -|||o*webm_audio_client.cc -|||o*webm_audio_client.h -|||o*webm_cluster_parser.cc -|||o*webm_cluster_parser.h -|||o*webm_constants.cc -|||o*webm_constants.h -|||o*webm_content_encodings.cc -|||o*webm_content_encodings.h -|||o*webm_content_encodings_client.cc -|||o*webm_content_encodings_client.h -|||o*webm_crypto_helpers.cc -|||o*webm_crypto_helpers.h -|||o*webm_info_parser.cc -|||o*webm_info_parser.h -|||o*webm_media_parser.cc -|||o*webm_media_parser.h -|||o*webm_muxer.cc -|||o*webm_muxer.h -|||o*webm_parser.cc -|||o*webm_parser.h -|||o*webm_tracks_parser.cc -|||o*webm_tracks_parser.h -|||o*webm_video_client.cc -|||o*webm_video_client.h -|||o*webm_webvtt_parser.cc -|||\*webm_webvtt_parser.h -||o+webvtt -|||o*cue.cc -|||o*cue.h -|||o*webvtt_media_parser.cc -|||o*webvtt_media_parser.h -|||o*webvtt_sample_converter.cc -|||o*webvtt_sample_converter.h -|||o*webvtt_timestamp.cc -|||\*webvtt_timestamp.h -||\+wvm -|| o*wvm_media_parser.cc -|| \*wvm_media_parser.h -|\+trick_play -| o*trick_play_handler.cc -| \*trick_play_handler.h -\-mpd - o+base - |o+xml - ||o*scoped_xml_ptr.h - ||o*xml_node.cc - ||\*xml_node.h - |o*bandwidth_estimator.cc - |o*bandwidth_estimator.h - |o*content_protection_element.cc - |o*content_protection_element.h - |o*dash_iop_mpd_notifier.cc - |o*dash_iop_mpd_notifier.h - |o*mock_mpd_builder.cc - |o*mock_mpd_builder.h - |o*mock_mpd_notifier.cc - |o*mock_mpd_notifier.h - |o*mpd_builder.cc - |o*mpd_builder.h - |o*mpd_notifier.h - |o*mpd_notifier_util.cc - |o*mpd_notifier_util.h - |o*mpd_options.h - |o*mpd_utils.cc - |o*mpd_utils.h - |o*segment_info.h - |o*simple_mpd_notifier.cc - |\*simple_mpd_notifier.h - \+util -  o*mpd_writer.cc -  \*mpd_writer.h +|o+formats +||o+mp2t +|||o*adts_header.cc +|||o*adts_header.h +|||o*continuity_counter.cc +|||o*continuity_counter.h +|||o*es_parser.h +|||o*es_parser_adts.cc +|||o*es_parser_adts.h +|||o*es_parser_h264.cc +|||o*es_parser_h264.h +|||o*es_parser_h265.cc +|||o*es_parser_h265.h +|||o*es_parser_h26x.cc +|||o*es_parser_h26x.h +|||o*mp2t_common.h +|||o*mp2t_media_parser.cc +|||o*mp2t_media_parser.h +|||o*pes_packet.cc +|||o*pes_packet.h +|||o*pes_packet_generator.cc +|||o*pes_packet_generator.h +|||o*program_map_table_writer.cc +|||o*program_map_table_writer.h +|||o*ts_muxer.cc +|||o*ts_muxer.h +|||o*ts_packet.cc +|||o*ts_packet.h +|||o*ts_packet_writer_util.cc +|||o*ts_packet_writer_util.h +|||o*ts_section.h +|||o*ts_section_pat.cc +|||o*ts_section_pat.h +|||o*ts_section_pes.cc +|||o*ts_section_pes.h +|||o*ts_section_pmt.cc +|||o*ts_section_pmt.h +|||o*ts_section_psi.cc +|||o*ts_section_psi.h +|||o*ts_segmenter.cc +|||o*ts_segmenter.h +|||o*ts_writer.cc +|||\*ts_writer.h +||o+mp4 +|||o*box.cc +|||o*box.h +|||o*box_buffer.h +|||o*box_definitions.cc +|||o*box_definitions.h +|||o*box_definitions_comparison.h +|||o*box_reader.cc +|||o*box_reader.h +|||o*chunk_info_iterator.cc +|||o*chunk_info_iterator.h +|||o*composition_offset_iterator.cc +|||o*composition_offset_iterator.h +|||o*decoding_time_iterator.cc +|||o*decoding_time_iterator.h +|||o*fragmenter.cc +|||o*fragmenter.h +|||o*mp4_media_parser.cc +|||o*mp4_media_parser.h +|||o*mp4_muxer.cc +|||o*mp4_muxer.h +|||o*multi_segment_segmenter.cc +|||o*multi_segment_segmenter.h +|||o*segmenter.cc +|||o*segmenter.h +|||o*single_segment_segmenter.cc +|||o*single_segment_segmenter.h +|||o*sync_sample_iterator.cc +|||o*sync_sample_iterator.h +|||o*track_run_iterator.cc +|||\*track_run_iterator.h +||o+mpeg +|||o*adts_constants.cc +|||\*adts_constants.h +||o+webm +|||o*cluster_builder.cc +|||o*cluster_builder.h +|||o*encryptor.cc +|||o*encryptor.h +|||o*mkv_writer.cc +|||o*mkv_writer.h +|||o*multi_segment_segmenter.cc +|||o*multi_segment_segmenter.h +|||o*seek_head.cc +|||o*seek_head.h +|||o*segmenter.cc +|||o*segmenter.h +|||o*segmenter_test_base.cc +|||o*segmenter_test_base.h +|||o*single_segment_segmenter.cc +|||o*single_segment_segmenter.h +|||o*tracks_builder.cc +|||o*tracks_builder.h +|||o*two_pass_single_segment_segmenter.cc +|||o*two_pass_single_segment_segmenter.h +|||o*webm_audio_client.cc +|||o*webm_audio_client.h +|||o*webm_cluster_parser.cc +|||o*webm_cluster_parser.h +|||o*webm_constants.cc +|||o*webm_constants.h +|||o*webm_content_encodings.cc +|||o*webm_content_encodings.h +|||o*webm_content_encodings_client.cc +|||o*webm_content_encodings_client.h +|||o*webm_crypto_helpers.cc +|||o*webm_crypto_helpers.h +|||o*webm_info_parser.cc +|||o*webm_info_parser.h +|||o*webm_media_parser.cc +|||o*webm_media_parser.h +|||o*webm_muxer.cc +|||o*webm_muxer.h +|||o*webm_parser.cc +|||o*webm_parser.h +|||o*webm_tracks_parser.cc +|||o*webm_tracks_parser.h +|||o*webm_video_client.cc +|||o*webm_video_client.h +|||o*webm_webvtt_parser.cc +|||\*webm_webvtt_parser.h +||o+webvtt +|||o*cue.cc +|||o*cue.h +|||o*webvtt_media_parser.cc +|||o*webvtt_media_parser.h +|||o*webvtt_sample_converter.cc +|||o*webvtt_sample_converter.h +|||o*webvtt_timestamp.cc +|||\*webvtt_timestamp.h +||\+wvm +|| o*wvm_media_parser.cc +|| \*wvm_media_parser.h +|\+trick_play +| o*trick_play_handler.cc +| \*trick_play_handler.h +\-mpd + o+base + |o+xml + ||o*scoped_xml_ptr.h + ||o*xml_node.cc + ||\*xml_node.h + |o*bandwidth_estimator.cc + |o*bandwidth_estimator.h + |o*content_protection_element.cc + |o*content_protection_element.h + |o*dash_iop_mpd_notifier.cc + |o*dash_iop_mpd_notifier.h + |o*mock_mpd_builder.cc + |o*mock_mpd_builder.h + |o*mock_mpd_notifier.cc + |o*mock_mpd_notifier.h + |o*mpd_builder.cc + |o*mpd_builder.h + |o*mpd_notifier.h + |o*mpd_notifier_util.cc + |o*mpd_notifier_util.h + |o*mpd_options.h + |o*mpd_utils.cc + |o*mpd_utils.h + |o*segment_info.h + |o*simple_mpd_notifier.cc + |\*simple_mpd_notifier.h + \+util +  o*mpd_writer.cc +  \*mpd_writer.h diff --git a/docs/functions.html b/docs/functions.html index 2bca82d50a..ecc50e531b 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -251,7 +251,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_b.html b/docs/functions_b.html index 5f57b6a981..a24c15f53f 100644 --- a/docs/functions_b.html +++ b/docs/functions_b.html @@ -227,12 +227,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • BufferWriter() : shaka::media::BufferWriter
  • -
  • BytesCached() -: shaka::media::IoCache -
  • -
  • BytesFree() -: shaka::media::IoCache -
  • BytesLeft() : shaka::media::mp4::BoxBuffer
  • @@ -240,7 +234,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_c.html b/docs/functions_c.html index 31dc00ae5d..2f179064e9 100644 --- a/docs/functions_c.html +++ b/docs/functions_c.html @@ -135,9 +135,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ChunkInfoIterator() : shaka::media::mp4::ChunkInfoIterator
  • -
  • Clear() -: shaka::media::IoCache -
  • clear_lead_in_seconds : shaka::media::EncryptionOptions
  • @@ -150,16 +147,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , shaka::media::mp2t::ProgramMapTableWriter
  • Close() -: shaka::media::File -, shaka::media::IoCache -, shaka::media::LocalFile -, shaka::media::MemoryFile -, shaka::media::MkvWriter -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile -
  • -
  • closed() -: shaka::media::IoCache +: shaka::media::MkvWriter
  • ClosureThread() : shaka::media::ClosureThread @@ -192,12 +180,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ConvertUnitToByteStreamWithSubsamples() : shaka::media::NalUnitToByteStreamConverter
  • -
  • Copy() -: shaka::media::File -
  • -
  • CopyFile() -: shaka::media::File -
  • CopyFrom() : shaka::media::MediaSample
  • @@ -247,7 +229,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_d.html b/docs/functions_d.html index ef82df06e0..6cd22f44a7 100644 --- a/docs/functions_d.html +++ b/docs/functions_d.html @@ -141,14 +141,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • DecryptConfig() : shaka::media::DecryptConfig
  • -
  • Delete() -: shaka::media::File -, shaka::media::LocalFile -, shaka::media::MemoryFile -
  • -
  • DeleteAll() -: shaka::media::MemoryFile -
  • Demuxer() : shaka::media::Demuxer
  • @@ -183,7 +175,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_e.html b/docs/functions_e.html index 99f6a363ce..5416a2f4fd 100644 --- a/docs/functions_e.html +++ b/docs/functions_e.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_enum.html b/docs/functions_enum.html index 3a8eff6043..62a8f35c6a 100644 --- a/docs/functions_enum.html +++ b/docs/functions_enum.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_eval.html b/docs/functions_eval.html index dcea8ee30d..94df420bf0 100644 --- a/docs/functions_eval.html +++ b/docs/functions_eval.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_f.html b/docs/functions_f.html index 8a9b737f34..1db61cbdc6 100644 --- a/docs/functions_f.html +++ b/docs/functions_f.html @@ -130,9 +130,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , shaka::media::PlayReadyKeySource , shaka::media::WidevineKeySource -
  • file_name() -: shaka::media::File -
  • Finalize() : shaka::media::mp2t::TsSegmenter , shaka::media::mp4::Segmenter @@ -154,15 +151,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Flush() : shaka::DashIopMpdNotifier -, shaka::media::File -, shaka::media::LocalFile , shaka::media::MediaParser -, shaka::media::MemoryFile , shaka::media::mp2t::Mp2tMediaParser , shaka::media::mp2t::PesPacketGenerator , shaka::media::mp4::MP4MediaParser -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile , shaka::media::WebMClusterParser , shaka::media::WebMMediaParser , shaka::media::WebVttMediaParser @@ -196,7 +188,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func.html b/docs/functions_func.html index 7836269d06..449ffee38a 100644 --- a/docs/functions_func.html +++ b/docs/functions_func.html @@ -250,7 +250,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_b.html b/docs/functions_func_b.html index 06db224bc9..43fc7cdc02 100644 --- a/docs/functions_func_b.html +++ b/docs/functions_func_b.html @@ -223,12 +223,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • BufferWriter() : shaka::media::BufferWriter
  • -
  • BytesCached() -: shaka::media::IoCache -
  • -
  • BytesFree() -: shaka::media::IoCache -
  • BytesLeft() : shaka::media::mp4::BoxBuffer
  • @@ -236,7 +230,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_c.html b/docs/functions_func_c.html index 235790b676..5a7eccbe3e 100644 --- a/docs/functions_func_c.html +++ b/docs/functions_func_c.html @@ -134,9 +134,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ChunkInfoIterator() : shaka::media::mp4::ChunkInfoIterator
  • -
  • Clear() -: shaka::media::IoCache -
  • ClearOutputStreamDataVector() : shaka::media::MediaHandlerTestBase
  • @@ -146,16 +143,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , shaka::media::mp2t::ProgramMapTableWriter
  • Close() -: shaka::media::File -, shaka::media::IoCache -, shaka::media::LocalFile -, shaka::media::MemoryFile -, shaka::media::MkvWriter -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile -
  • -
  • closed() -: shaka::media::IoCache +: shaka::media::MkvWriter
  • ClosureThread() : shaka::media::ClosureThread @@ -188,14 +176,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ConvertUnitToByteStreamWithSubsamples() : shaka::media::NalUnitToByteStreamConverter
  • -
  • Copy() -: shaka::media::File -
  • -
  • CopyFile() -: shaka::media::File -
  • CopyFrom() -: shaka::media::MediaSample +: shaka::media::MediaSample
  • Create() : shaka::media::FixedKeySource @@ -240,7 +222,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_d.html b/docs/functions_func_d.html index bce7d47208..b356b7fa6c 100644 --- a/docs/functions_func_d.html +++ b/docs/functions_func_d.html @@ -140,14 +140,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • DecryptConfig() : shaka::media::DecryptConfig
  • -
  • Delete() -: shaka::media::File -, shaka::media::LocalFile -, shaka::media::MemoryFile -
  • -
  • DeleteAll() -: shaka::media::MemoryFile -
  • Demuxer() : shaka::media::Demuxer
  • @@ -182,7 +174,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_e.html b/docs/functions_func_e.html index 3b70162dd1..2c03f08b73 100644 --- a/docs/functions_func_e.html +++ b/docs/functions_func_e.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_f.html b/docs/functions_func_f.html index 8c44a1590a..59295cfa95 100644 --- a/docs/functions_func_f.html +++ b/docs/functions_func_f.html @@ -129,9 +129,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , shaka::media::PlayReadyKeySource , shaka::media::WidevineKeySource -
  • file_name() -: shaka::media::File -
  • Finalize() : shaka::media::mp2t::TsSegmenter , shaka::media::mp4::Segmenter @@ -153,15 +150,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Flush() : shaka::DashIopMpdNotifier -, shaka::media::File -, shaka::media::LocalFile , shaka::media::MediaParser -, shaka::media::MemoryFile , shaka::media::mp2t::Mp2tMediaParser , shaka::media::mp2t::PesPacketGenerator , shaka::media::mp4::MP4MediaParser -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile , shaka::media::WebMClusterParser , shaka::media::WebMMediaParser , shaka::media::WebVttMediaParser @@ -195,7 +187,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_g.html b/docs/functions_func_g.html index 32d88a1f57..6c62cd2cfa 100644 --- a/docs/functions_func_g.html +++ b/docs/functions_func_g.html @@ -183,9 +183,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • GetDurationInSeconds() : shaka::media::webm::Segmenter
  • -
  • GetFileSize() -: shaka::media::File -
  • GetHeaderSize() : shaka::media::H264VideoSliceHeaderParser , shaka::media::H265VideoSliceHeaderParser @@ -213,9 +210,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • GetKey() : shaka::media::FixedKeySource -, shaka::media::KeySource -, shaka::media::PlayReadyKeySource -, shaka::media::WidevineKeySource +, shaka::media::KeySource +, shaka::media::PlayReadyKeySource +, shaka::media::WidevineKeySource
  • GetMaxClearOffset() : shaka::media::mp4::TrackRunIterator @@ -281,7 +278,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_h.html b/docs/functions_func_h.html index 1d9afd8e03..705fa0cf84 100644 --- a/docs/functions_func_h.html +++ b/docs/functions_func_h.html @@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_i.html b/docs/functions_func_i.html index 333757b7c0..ae2b142f3e 100644 --- a/docs/functions_func_i.html +++ b/docs/functions_func_i.html @@ -222,7 +222,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_l.html b/docs/functions_func_l.html index b9745c7f69..ffc40c9b7a 100644 --- a/docs/functions_func_l.html +++ b/docs/functions_func_l.html @@ -127,14 +127,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • LoadMoov() : shaka::media::mp4::MP4MediaParser
  • -
  • LocalFile() -: shaka::media::LocalFile -
  • diff --git a/docs/functions_func_m.html b/docs/functions_func_m.html index 7a68ab5407..b6bbe49089 100644 --- a/docs/functions_func_m.html +++ b/docs/functions_func_m.html @@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_n.html b/docs/functions_func_n.html index f76302999d..e493b88945 100644 --- a/docs/functions_func_n.html +++ b/docs/functions_func_n.html @@ -171,7 +171,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_o.html b/docs/functions_func_o.html index c9720f82b9..66e12efd79 100644 --- a/docs/functions_func_o.html +++ b/docs/functions_func_o.html @@ -180,15 +180,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , shaka::RepresentationStateChangeListener
  • Open() -: shaka::media::File -, shaka::media::LocalFile -, shaka::media::MemoryFile -, shaka::media::MkvWriter -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile -
  • -
  • OpenWithNoBuffering() -: shaka::media::File +: shaka::media::MkvWriter
  • OptimizeSampleEntries() : shaka::media::mp4::Fragmenter @@ -200,7 +192,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_p.html b/docs/functions_func_p.html index bf52d2418f..3ae9d35000 100644 --- a/docs/functions_func_p.html +++ b/docs/functions_func_p.html @@ -151,9 +151,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ParseFromSampleEncryptionData() : shaka::media::mp4::SampleEncryption
  • -
  • ParseFromString() -: shaka::media::UdpOptions -
  • ParseMP4() : shaka::media::VPCodecConfigurationRecord
  • @@ -239,7 +236,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_r.html b/docs/functions_func_r.html index 92a7601f94..5a18935b6e 100644 --- a/docs/functions_func_r.html +++ b/docs/functions_func_r.html @@ -121,14 +121,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  

    - r -

      -
    • Read() -: shaka::media::File -, shaka::media::IoCache -, shaka::media::LocalFile -, shaka::media::MemoryFile -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile -
    • Read1() : shaka::media::BufferReader
    • @@ -150,9 +142,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    • reader() : shaka::media::mp4::BoxBuffer
    • -
    • ReadFileToString() -: shaka::media::File -
    • Reading() : shaka::media::mp4::BoxBuffer
    • @@ -181,9 +170,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    • Release() : shaka::xml::XmlNode
    • -
    • Reopen() -: shaka::media::IoCache -
    • Representation() : shaka::Representation
    • @@ -202,7 +188,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_s.html b/docs/functions_func_s.html index 9b326e8faf..092692b93c 100644 --- a/docs/functions_func_s.html +++ b/docs/functions_func_s.html @@ -145,13 +145,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    • ScanChildren() : shaka::media::mp4::BoxReader
    • -
    • Seek() -: shaka::media::File -, shaka::media::LocalFile -, shaka::media::MemoryFile -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile -
    • Seekable() : shaka::media::MkvWriter
    • @@ -248,13 +241,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : shaka::media::mp2t::TsWriter
    • Size() -: shaka::media::File -, shaka::media::LocalFile -, shaka::media::MemoryFile -, shaka::media::mp4::BoxBuffer +: shaka::media::mp4::BoxBuffer , shaka::media::ProducerConsumerQueue< T > -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile
    • SkipBits() : shaka::media::BitReader @@ -294,7 +282,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_t.html b/docs/functions_func_t.html index 9255ab4589..325fcdd50e 100644 --- a/docs/functions_func_t.html +++ b/docs/functions_func_t.html @@ -127,13 +127,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    • TailPos() : shaka::media::ProducerConsumerQueue< T >
    • -
    • Tell() -: shaka::media::File -, shaka::media::LocalFile -, shaka::media::MemoryFile -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile -
    • TemplateFileName() : shaka::media::SegmentTestBase
    • @@ -172,7 +165,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_u.html b/docs/functions_func_u.html index 2da5a2e236..e7246a7137 100644 --- a/docs/functions_func_u.html +++ b/docs/functions_func_u.html @@ -121,9 +121,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  

      - u -

      diff --git a/docs/functions_m.html b/docs/functions_m.html index 2efde16573..a703ad46bf 100644 --- a/docs/functions_m.html +++ b/docs/functions_m.html @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_n.html b/docs/functions_n.html index fc8c05964b..8cf12d24a5 100644 --- a/docs/functions_n.html +++ b/docs/functions_n.html @@ -178,7 +178,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_o.html b/docs/functions_o.html index 454655efa0..2ed1f41dda 100644 --- a/docs/functions_o.html +++ b/docs/functions_o.html @@ -181,15 +181,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , shaka::RepresentationStateChangeListener
    • Open() -: shaka::media::File -, shaka::media::LocalFile -, shaka::media::MemoryFile -, shaka::media::MkvWriter -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile -
    • -
    • OpenWithNoBuffering() -: shaka::media::File +: shaka::media::MkvWriter
    • OptimizeSampleEntries() : shaka::media::mp4::Fragmenter @@ -204,7 +196,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_p.html b/docs/functions_p.html index e1904a1420..3ff7b6e1d5 100644 --- a/docs/functions_p.html +++ b/docs/functions_p.html @@ -152,9 +152,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    • ParseFromSampleEncryptionData() : shaka::media::mp4::SampleEncryption
    • -
    • ParseFromString() -: shaka::media::UdpOptions -
    • ParseMP4() : shaka::media::VPCodecConfigurationRecord
    • @@ -206,7 +203,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : shaka::media::mp4::BoxBuffer
    • Position() -: shaka::media::MkvWriter +: shaka::media::MkvWriter
    • Post() : shaka::media::HttpKeyFetcher @@ -249,7 +246,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_r.html b/docs/functions_r.html index 4cf2825681..3a98cbd45f 100644 --- a/docs/functions_r.html +++ b/docs/functions_r.html @@ -122,14 +122,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      Here is a list of all documented class members with links to the class documentation for each member:

      - r -

        -
      • Read() -: shaka::media::File -, shaka::media::IoCache -, shaka::media::LocalFile -, shaka::media::MemoryFile -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile -
      • Read1() : shaka::media::BufferReader
      • @@ -151,9 +143,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      • reader() : shaka::media::mp4::BoxBuffer
      • -
      • ReadFileToString() -: shaka::media::File -
      • Reading() : shaka::media::mp4::BoxBuffer
      • @@ -182,9 +171,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      • Release() : shaka::xml::XmlNode
      • -
      • Reopen() -: shaka::media::IoCache -
      • Representation() : shaka::Representation
      • @@ -203,7 +189,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_s.html b/docs/functions_s.html index 67504da09d..e881ec285b 100644 --- a/docs/functions_s.html +++ b/docs/functions_s.html @@ -149,13 +149,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      • ScanChildren() : shaka::media::mp4::BoxReader
      • -
      • Seek() -: shaka::media::File -, shaka::media::LocalFile -, shaka::media::MemoryFile -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile -
      • Seekable() : shaka::media::MkvWriter
      • @@ -261,13 +254,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : shaka::media::mp2t::TsWriter
      • Size() -: shaka::media::File -, shaka::media::LocalFile -, shaka::media::MemoryFile -, shaka::media::mp4::BoxBuffer +: shaka::media::mp4::BoxBuffer , shaka::media::ProducerConsumerQueue< T > -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile
      • SkipBits() : shaka::media::BitReader @@ -319,7 +307,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_t.html b/docs/functions_t.html index 4b66ff76df..7bc21e93f5 100644 --- a/docs/functions_t.html +++ b/docs/functions_t.html @@ -128,13 +128,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      • TailPos() : shaka::media::ProducerConsumerQueue< T >
      • -
      • Tell() -: shaka::media::File -, shaka::media::LocalFile -, shaka::media::MemoryFile -, shaka::media::ThreadedIoFile -, shaka::media::UdpFile -
      • temp_dir : shaka::media::MuxerOptions
      • @@ -176,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_type.html b/docs/functions_type.html index d14e5245be..10c86c5aaf 100644 --- a/docs/functions_type.html +++ b/docs/functions_type.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_u.html b/docs/functions_u.html index 1f00ababba..8e71f00c12 100644 --- a/docs/functions_u.html +++ b/docs/functions_u.html @@ -122,9 +122,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
        Here is a list of all documented class members with links to the class documentation for each member:

        - u -

          -
        • UdpFile() -: shaka::media::UdpFile -
        • UpdateContentProtectionPssh() : shaka::AdaptationSet , shaka::Representation @@ -143,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_v.html b/docs/functions_v.html index 96bd255b08..8b0ba0123b 100644 --- a/docs/functions_v.html +++ b/docs/functions_v.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_vars.html b/docs/functions_vars.html index 5ecec3dd0a..82b0a203ea 100644 --- a/docs/functions_vars.html +++ b/docs/functions_vars.html @@ -166,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_w.html b/docs/functions_w.html index d270322be8..8897421c13 100644 --- a/docs/functions_w.html +++ b/docs/functions_w.html @@ -122,9 +122,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
          Here is a list of all documented class members with links to the class documentation for each member:

          - w -

          diff --git a/docs/hierarchy.html b/docs/hierarchy.html index b6047042f1..65af32a871 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -212,175 +212,167 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); |\Cshaka::media::mp2t::EsParserH26x | oCshaka::media::mp2t::EsParserH264 | \Cshaka::media::mp2t::EsParserH265 -oCshaka::media::FileDefine an abstract file interface -|oCshaka::media::LocalFileImplement LocalFile which deals with local storage -|oCshaka::media::MemoryFile -|oCshaka::media::ThreadedIoFileDeclaration of class which implements a thread-safe circular buffer -|\Cshaka::media::UdpFileImplements UdpFile, which receives UDP unicast and multicast streams -oCshaka::media::FileCloser -oCshaka::media::mp4::Fragmenter -oCshaka::media::H264DecRefPicMarking -oCshaka::media::H264ModificationOfPicNum -oCshaka::media::H264Parser -oCshaka::media::H264Pps -oCshaka::media::H264SEIMessage -oCshaka::media::H264SEIRecoveryPoint -oCshaka::media::H264SliceHeader -oCshaka::media::H264Sps -oCshaka::media::H264WeightingFactors -oCshaka::media::H265Parser -oCshaka::media::H265Pps -oCshaka::media::H265ReferencePictureListModifications -oCshaka::media::H265ReferencePictureSet -oCshaka::media::H265SliceHeader -oCshaka::media::H265Sps -oCshaka::media::H265VuiParameters -oCshaka::media::H26xBitReader -oCshaka::media::H26xByteToUnitStreamConverterA base class that is used to convert H.26x byte streams to NAL unit streams -|oCshaka::media::H264ByteToUnitStreamConverter -|\Cshaka::media::H265ByteToUnitStreamConverter -oCIMkvWriter -|\Cshaka::media::MkvWriterAn implementation of IMkvWriter using our File type -oCshaka::media::IoCacheDeclaration of class which implements a thread-safe circular buffer -oCshaka::media::KeyFetcherBase class for fetching keys from the license service -|\Cshaka::media::HttpKeyFetcher -oCshaka::media::KeySourceKeySource is responsible for encryption key acquisition -|oCshaka::media::FixedKeySourceA key source that uses fixed keys for encryption -|oCshaka::media::PlayReadyKeySourceA key source that uses playready for encryption -|\Cshaka::media::WidevineKeySource -oCshaka::media::mp4::Language -oCshaka::media::LibcryptoThreadingConvenience class which initializes and terminates libcrypto threading -oCshaka::media::H265SliceHeader::LongTermPicsInfo -oCshaka::media::MediaEvent -oCshaka::media::MediaHandler -|oCshaka::media::ChunkingHandler -|oCshaka::media::Demuxer -|oCshaka::media::EncryptionHandler -|oCshaka::media::FakeMediaHandler -|oCshaka::media::Muxer -||oCshaka::media::mp2t::TsMuxer -||oCshaka::media::mp4::MP4Muxer -||\Cshaka::media::webm::WebMMuxerImplements WebM Muxer -|\Cshaka::media::TrickPlayHandler -oCshaka::media::MediaParser -|oCshaka::media::mp2t::Mp2tMediaParser -|oCshaka::media::mp4::MP4MediaParser -|oCshaka::media::WebMMediaParser -|oCshaka::media::WebVttMediaParser -|\Cshaka::media::wvm::WvmMediaParser -oCshaka::media::MuxerListener::MediaRanges -oCshaka::media::MediaSampleClass to hold a media sample -oCshaka::MpdBuilderThis class generates DASH MPDs (Media Presentation Descriptions) -|\Cshaka::MockMpdBuilder -oCshaka::MpdNotifier -|oCshaka::DashIopMpdNotifier -|oCshaka::MockMpdNotifier -|\Cshaka::SimpleMpdNotifier -oCshaka::MpdNotifierFactory -oCshaka::MpdOptionsDefines Mpd Options -oCshaka::MpdWriter -oCshaka::media::MuxerListener -|oCshaka::media::HlsNotifyMuxerListenerMuxerListener that uses HlsNotifier -|oCshaka::media::MockMuxerListener -|oCshaka::media::MpdNotifyMuxerListener -|\Cshaka::media::VodMediaInfoDumpMuxerListener -oCshaka::media::MuxerOptionsThis structure contains the list of configuration options for Muxer -oCshaka::media::Nalu -oCshaka::media::NalUnitToByteStreamConverter -oCshaka::media::NaluReader -oCshaka::media::OffsetByteQueue -oCshaka::media::OnMediaEndParameters -oCshaka::media::PeriodInfo -oCshaka::media::mp2t::PesPacketClass that carries PES packet information -oCshaka::media::mp2t::PesPacketGenerator -oCshaka::media::wvm::PrevSampleData -oCshaka::media::mp4::PrivFrameImplemented per http://id3.org/id3v2.4.0-frames -oCshaka::media::ProducerConsumerQueue< T > -oCshaka::media::mp2t::ProgramMapTableWriter -|oCshaka::media::mp2t::AacProgramMapTableWriter -|\Cshaka::media::mp2t::H264ProgramMapTableWriter -oCshaka::media::ProgressListenerThis class listens to progress updates events -oCshaka::media::ProtectionSystemSpecificInfo -oCshaka::media::Range -oCshaka::Representation -|\Cshaka::MockRepresentation -oCshaka::RepresentationStateChangeListener -oCshaka::media::RequestSignerAbstract class used for signature generation -|oCshaka::media::AesRequestSignerAesRequestSigner uses AES-CBC signing -|\Cshaka::media::RsaRequestSignerRsaRequestSigner uses RSA-PSS signing -oCshaka::media::RsaPrivateKeyRsa private key, used for message signing and decryption -oCshaka::media::RsaPublicKeyRsa public key, used for signature verification and encryption -oCshaka::media::mp4::SampleEncryptionEntry -oCshaka::media::mp4::SampleToGroupEntry -oCshaka::media::SeekHead -oCshaka::media::mp4::Segmenter -|oCshaka::media::mp4::MultiSegmentSegmenter -|\Cshaka::media::mp4::SingleSegmentSegmenter -oCshaka::media::webm::Segmenter -|oCshaka::media::webm::MultiSegmentSegmenter -|\Cshaka::media::webm::SingleSegmentSegmenter -| \Cshaka::media::webm::TwoPassSingleSegmentSegmenter -oCshaka::media::SegmentInfo -oCshaka::SegmentInfo -oCshaka::media::mp4::SegmentReference -oCSimpleThread -|\Cshaka::media::ClosureThread -oCshaka::media::StreamData -oCshaka::media::StreamInfoAbstract class holds stream information -|oCshaka::media::AudioStreamInfoHolds audio stream information -|oCshaka::media::TextStreamInfo -|\Cshaka::media::VideoStreamInfoHolds video stream information -oCshaka::media::SubsampleEntry -oCshaka::media::mp4::SyncSampleIterator -oCTest -|oCshaka::media::MediaHandlerTestBase -|\Cshaka::media::SegmentTestBase -oCshaka::media::TextSample -oCshaka::media::TextTrack -oCshaka::media::TextTrackConfig -oCshaka::media::mp4::TrackRunIterator -oCshaka::media::TracksBuilder -oCshaka::media::mp2t::TsPacket -oCshaka::media::mp2t::TsSection -|oCshaka::media::mp2t::TsSectionPes -|\Cshaka::media::mp2t::TsSectionPsi -| oCshaka::media::mp2t::TsSectionPat -| \Cshaka::media::mp2t::TsSectionPmt -oCshaka::media::mp2t::TsSegmenter -oCshaka::media::mp2t::TsWriter -oCshaka::media::UdpOptionsOptions parsed from UDP url string of the form: udp://ip:port[?options] -oCshaka::media::VideoSliceHeaderParser -|oCshaka::media::H264VideoSliceHeaderParser -|\Cshaka::media::H265VideoSliceHeaderParser -oCshaka::media::mp2t::EsParserH26x::VideoSliceInfo -oCshaka::media::VideoStreamInfoParameters -oCshaka::media::VPCodecConfigurationRecordClass for parsing or writing VP codec configuration record -oCshaka::media::VPxFrameInfo -oCshaka::media::VPxParser -|oCshaka::media::VP8Parser -|\Cshaka::media::VP9ParserClass to parse a vp9 bit stream -oCshaka::media::WebMListParser -oCshaka::media::WebMParserClient -|oCshaka::media::SegmentTestBase::ClusterParser -|oCshaka::media::WebMAudioClientHelper class used to parse an Audio element inside a TrackEntry element -|oCshaka::media::WebMClusterParser -|oCshaka::media::WebMContentEncodingsClientParser for WebM ContentEncodings element -|oCshaka::media::WebMInfoParserParser for WebM Info element -|oCshaka::media::WebMTracksParserParser for WebM Tracks element -|\Cshaka::media::WebMVideoClientHelper class used to parse a Video element inside a TrackEntry element -oCshaka::media::WebMWebVTTParser -oCshaka::media::WebVttSampleConverter -oCshaka::xml::XmlDeleter -\Cshaka::xml::XmlNode - \Cshaka::xml::RepresentationBaseXmlNode -  oCshaka::xml::AdaptationSetXmlNodeAdaptationSetType specified in MPD -  \Cshaka::xml::RepresentationXmlNodeRepresentationType in MPD +oCshaka::media::mp4::Fragmenter +oCshaka::media::H264DecRefPicMarking +oCshaka::media::H264ModificationOfPicNum +oCshaka::media::H264Parser +oCshaka::media::H264Pps +oCshaka::media::H264SEIMessage +oCshaka::media::H264SEIRecoveryPoint +oCshaka::media::H264SliceHeader +oCshaka::media::H264Sps +oCshaka::media::H264WeightingFactors +oCshaka::media::H265Parser +oCshaka::media::H265Pps +oCshaka::media::H265ReferencePictureListModifications +oCshaka::media::H265ReferencePictureSet +oCshaka::media::H265SliceHeader +oCshaka::media::H265Sps +oCshaka::media::H265VuiParameters +oCshaka::media::H26xBitReader +oCshaka::media::H26xByteToUnitStreamConverterA base class that is used to convert H.26x byte streams to NAL unit streams +|oCshaka::media::H264ByteToUnitStreamConverter +|\Cshaka::media::H265ByteToUnitStreamConverter +oCIMkvWriter +|\Cshaka::media::MkvWriterAn implementation of IMkvWriter using our File type +oCshaka::media::KeyFetcherBase class for fetching keys from the license service +|\Cshaka::media::HttpKeyFetcher +oCshaka::media::KeySourceKeySource is responsible for encryption key acquisition +|oCshaka::media::FixedKeySourceA key source that uses fixed keys for encryption +|oCshaka::media::PlayReadyKeySourceA key source that uses playready for encryption +|\Cshaka::media::WidevineKeySource +oCshaka::media::mp4::Language +oCshaka::media::LibcryptoThreadingConvenience class which initializes and terminates libcrypto threading +oCshaka::media::H265SliceHeader::LongTermPicsInfo +oCshaka::media::MediaEvent +oCshaka::media::MediaHandler +|oCshaka::media::ChunkingHandler +|oCshaka::media::Demuxer +|oCshaka::media::EncryptionHandler +|oCshaka::media::FakeMediaHandler +|oCshaka::media::Muxer +||oCshaka::media::mp2t::TsMuxer +||oCshaka::media::mp4::MP4Muxer +||\Cshaka::media::webm::WebMMuxerImplements WebM Muxer +|\Cshaka::media::TrickPlayHandler +oCshaka::media::MediaParser +|oCshaka::media::mp2t::Mp2tMediaParser +|oCshaka::media::mp4::MP4MediaParser +|oCshaka::media::WebMMediaParser +|oCshaka::media::WebVttMediaParser +|\Cshaka::media::wvm::WvmMediaParser +oCshaka::media::MuxerListener::MediaRanges +oCshaka::media::MediaSampleClass to hold a media sample +oCshaka::MpdBuilderThis class generates DASH MPDs (Media Presentation Descriptions) +|\Cshaka::MockMpdBuilder +oCshaka::MpdNotifier +|oCshaka::DashIopMpdNotifier +|oCshaka::MockMpdNotifier +|\Cshaka::SimpleMpdNotifier +oCshaka::MpdNotifierFactory +oCshaka::MpdOptionsDefines Mpd Options +oCshaka::MpdWriter +oCshaka::media::MuxerListener +|oCshaka::media::HlsNotifyMuxerListenerMuxerListener that uses HlsNotifier +|oCshaka::media::MockMuxerListener +|oCshaka::media::MpdNotifyMuxerListener +|\Cshaka::media::VodMediaInfoDumpMuxerListener +oCshaka::media::MuxerOptionsThis structure contains the list of configuration options for Muxer +oCshaka::media::Nalu +oCshaka::media::NalUnitToByteStreamConverter +oCshaka::media::NaluReader +oCshaka::media::OffsetByteQueue +oCshaka::media::OnMediaEndParameters +oCshaka::media::PeriodInfo +oCshaka::media::mp2t::PesPacketClass that carries PES packet information +oCshaka::media::mp2t::PesPacketGenerator +oCshaka::media::wvm::PrevSampleData +oCshaka::media::mp4::PrivFrameImplemented per http://id3.org/id3v2.4.0-frames +oCshaka::media::ProducerConsumerQueue< T > +oCshaka::media::mp2t::ProgramMapTableWriter +|oCshaka::media::mp2t::AacProgramMapTableWriter +|\Cshaka::media::mp2t::H264ProgramMapTableWriter +oCshaka::media::ProgressListenerThis class listens to progress updates events +oCshaka::media::ProtectionSystemSpecificInfo +oCshaka::media::Range +oCshaka::Representation +|\Cshaka::MockRepresentation +oCshaka::RepresentationStateChangeListener +oCshaka::media::RequestSignerAbstract class used for signature generation +|oCshaka::media::AesRequestSignerAesRequestSigner uses AES-CBC signing +|\Cshaka::media::RsaRequestSignerRsaRequestSigner uses RSA-PSS signing +oCshaka::media::RsaPrivateKeyRsa private key, used for message signing and decryption +oCshaka::media::RsaPublicKeyRsa public key, used for signature verification and encryption +oCshaka::media::mp4::SampleEncryptionEntry +oCshaka::media::mp4::SampleToGroupEntry +oCshaka::media::SeekHead +oCshaka::media::mp4::Segmenter +|oCshaka::media::mp4::MultiSegmentSegmenter +|\Cshaka::media::mp4::SingleSegmentSegmenter +oCshaka::media::webm::Segmenter +|oCshaka::media::webm::MultiSegmentSegmenter +|\Cshaka::media::webm::SingleSegmentSegmenter +| \Cshaka::media::webm::TwoPassSingleSegmentSegmenter +oCshaka::media::SegmentInfo +oCshaka::SegmentInfo +oCshaka::media::mp4::SegmentReference +oCSimpleThread +|\Cshaka::media::ClosureThread +oCshaka::media::StreamData +oCshaka::media::StreamInfoAbstract class holds stream information +|oCshaka::media::AudioStreamInfoHolds audio stream information +|oCshaka::media::TextStreamInfo +|\Cshaka::media::VideoStreamInfoHolds video stream information +oCshaka::media::SubsampleEntry +oCshaka::media::mp4::SyncSampleIterator +oCTest +|oCshaka::media::MediaHandlerTestBase +|\Cshaka::media::SegmentTestBase +oCshaka::media::TextSample +oCshaka::media::TextTrack +oCshaka::media::TextTrackConfig +oCshaka::media::mp4::TrackRunIterator +oCshaka::media::TracksBuilder +oCshaka::media::mp2t::TsPacket +oCshaka::media::mp2t::TsSection +|oCshaka::media::mp2t::TsSectionPes +|\Cshaka::media::mp2t::TsSectionPsi +| oCshaka::media::mp2t::TsSectionPat +| \Cshaka::media::mp2t::TsSectionPmt +oCshaka::media::mp2t::TsSegmenter +oCshaka::media::mp2t::TsWriter +oCshaka::media::VideoSliceHeaderParser +|oCshaka::media::H264VideoSliceHeaderParser +|\Cshaka::media::H265VideoSliceHeaderParser +oCshaka::media::mp2t::EsParserH26x::VideoSliceInfo +oCshaka::media::VideoStreamInfoParameters +oCshaka::media::VPCodecConfigurationRecordClass for parsing or writing VP codec configuration record +oCshaka::media::VPxFrameInfo +oCshaka::media::VPxParser +|oCshaka::media::VP8Parser +|\Cshaka::media::VP9ParserClass to parse a vp9 bit stream +oCshaka::media::WebMListParser +oCshaka::media::WebMParserClient +|oCshaka::media::SegmentTestBase::ClusterParser +|oCshaka::media::WebMAudioClientHelper class used to parse an Audio element inside a TrackEntry element +|oCshaka::media::WebMClusterParser +|oCshaka::media::WebMContentEncodingsClientParser for WebM ContentEncodings element +|oCshaka::media::WebMInfoParserParser for WebM Info element +|oCshaka::media::WebMTracksParserParser for WebM Tracks element +|\Cshaka::media::WebMVideoClientHelper class used to parse a Video element inside a TrackEntry element +oCshaka::media::WebMWebVTTParser +oCshaka::media::WebVttSampleConverter +oCshaka::xml::XmlDeleter +\Cshaka::xml::XmlNode + \Cshaka::xml::RepresentationBaseXmlNode +  oCshaka::xml::AdaptationSetXmlNodeAdaptationSetType specified in MPD +  \Cshaka::xml::RepresentationXmlNodeRepresentationType in MPD diff --git a/docs/index.html b/docs/index.html index abc61c8f9c..eea324c819 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 cea47982e3..ba81f6767c 100644 --- a/docs/namespacemembers.html +++ b/docs/namespacemembers.html @@ -111,9 +111,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
        • PrintError() : shaka
        • -
        • TempFilePath() -: shaka -
        • Uint8VectorToBase64() : shaka
        • @@ -136,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/namespacemembers_func.html b/docs/namespacemembers_func.html index 3f09be4ef0..763ee5274f 100644 --- a/docs/namespacemembers_func.html +++ b/docs/namespacemembers_func.html @@ -111,9 +111,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
        • PrintError() : shaka
        • -
        • TempFilePath() -: shaka -
        • Uint8VectorToBase64() : shaka
        • @@ -136,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/namespaces.html b/docs/namespaces.html index 2ce8582840..56b037bb0e 100644 --- a/docs/namespaces.html +++ b/docs/namespaces.html @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/search/all_1.js b/docs/search/all_1.js index da9bbb7662..7cb39506ba 100644 --- a/docs/search/all_1.js +++ b/docs/search/all_1.js @@ -15,10 +15,8 @@ var searchData= ['buffer',['Buffer',['../dc/d41/classshaka_1_1media_1_1BufferWriter.html#ab3054a98a4ec27764c65511dc17a916d',1,'shaka::media::BufferWriter']]], ['bufferreader',['BufferReader',['../d9/d13/classshaka_1_1media_1_1BufferReader.html#a94771befc54d444630ade726689b7bf7',1,'shaka::media::BufferReader']]], ['bufferreader',['BufferReader',['../d9/d13/classshaka_1_1media_1_1BufferReader.html',1,'shaka::media']]], - ['bufferwriter',['BufferWriter',['../dc/d41/classshaka_1_1media_1_1BufferWriter.html#a01d91524fd5c5491bafcc1cff16db916',1,'shaka::media::BufferWriter']]], ['bufferwriter',['BufferWriter',['../dc/d41/classshaka_1_1media_1_1BufferWriter.html',1,'shaka::media']]], + ['bufferwriter',['BufferWriter',['../dc/d41/classshaka_1_1media_1_1BufferWriter.html#a01d91524fd5c5491bafcc1cff16db916',1,'shaka::media::BufferWriter']]], ['bytequeue',['ByteQueue',['../d7/dda/classshaka_1_1media_1_1ByteQueue.html',1,'shaka::media']]], - ['bytescached',['BytesCached',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a385baed04dd0cc0d3dca20d78f61559f',1,'shaka::media::IoCache']]], - ['bytesfree',['BytesFree',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a74e1d7369afe4f03c551b6e67ec82ee9',1,'shaka::media::IoCache']]], ['bytesleft',['BytesLeft',['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#acf36e70bcb8c4ee7939835126ae9b98b',1,'shaka::media::mp4::BoxBuffer']]] ]; diff --git a/docs/search/all_10.js b/docs/search/all_10.js index b1ca2b3435..2f4f150001 100644 --- a/docs/search/all_10.js +++ b/docs/search/all_10.js @@ -22,7 +22,6 @@ var searchData= ['scanchildren',['ScanChildren',['../d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html#acc5a55985f95b73ac64c9eab7bd09242',1,'shaka::media::mp4::BoxReader']]], ['schemeinfo',['SchemeInfo',['../d2/d70/structshaka_1_1media_1_1mp4_1_1SchemeInfo.html',1,'shaka::media::mp4']]], ['schemetype',['SchemeType',['../d3/da2/structshaka_1_1media_1_1mp4_1_1SchemeType.html',1,'shaka::media::mp4']]], - ['seek',['Seek',['../d3/d61/classshaka_1_1media_1_1File.html#a3baaa3207abaeb6af1a8239ee866b5d3',1,'shaka::media::File::Seek()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#a6cb6e6bf3a47fbcda6d759ff4f551939',1,'shaka::media::LocalFile::Seek()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#af99f8c96589175e9a2f386e6a2ed4f35',1,'shaka::media::MemoryFile::Seek()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#a4a30faf9c8e8b367bcfebb7b642d73e7',1,'shaka::media::ThreadedIoFile::Seek()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a78fa34d29e01054536a19eaac7ed51c4',1,'shaka::media::UdpFile::Seek()']]], ['seekable',['Seekable',['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a8d0429e7922752db3f01d43e6340465a',1,'shaka::media::MkvWriter']]], ['seekhead',['SeekHead',['../dc/d16/classshaka_1_1media_1_1SeekHead.html',1,'shaka::media']]], ['segment_5fduration_5fin_5fseconds',['segment_duration_in_seconds',['../db/d02/structshaka_1_1media_1_1ChunkingOptions.html#a1cdbde61303f629cc9b4cbcd98f2d711',1,'shaka::media::ChunkingOptions']]], @@ -70,7 +69,7 @@ var searchData= ['simplempdnotifier',['SimpleMpdNotifier',['../d8/de1/classshaka_1_1SimpleMpdNotifier.html',1,'shaka']]], ['singlesegmentsegmenter',['SingleSegmentSegmenter',['../d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html',1,'shaka::media::mp4']]], ['singlesegmentsegmenter',['SingleSegmentSegmenter',['../d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html',1,'shaka::media::webm']]], - ['size',['Size',['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html#a4f2483c665f2693f583e7b467101d844',1,'shaka::media::ProducerConsumerQueue::Size()'],['../d3/d61/classshaka_1_1media_1_1File.html#adffa2c3d12ae0a579704cf1f5b3bf8ab',1,'shaka::media::File::Size()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#a4cc3427bb01a0989de7711b2a004a099',1,'shaka::media::LocalFile::Size()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#ad52955a976c16b910dde372fe33b7b0d',1,'shaka::media::MemoryFile::Size()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#ac8c1f49d9e7ff55b1484129240c065f3',1,'shaka::media::ThreadedIoFile::Size()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a852424c6982850686f0419e84e222708',1,'shaka::media::UdpFile::Size()'],['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a90fe62338ba20817d27cf4e34949000e',1,'shaka::media::mp4::BoxBuffer::Size()']]], + ['size',['Size',['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html#a4f2483c665f2693f583e7b467101d844',1,'shaka::media::ProducerConsumerQueue::Size()'],['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a90fe62338ba20817d27cf4e34949000e',1,'shaka::media::mp4::BoxBuffer::Size()']]], ['skipbits',['SkipBits',['../d6/da9/classshaka_1_1media_1_1BitReader.html#a4ab20ef220c76072eaecb982aba0541d',1,'shaka::media::BitReader']]], ['skipbitsconditional',['SkipBitsConditional',['../d6/da9/classshaka_1_1media_1_1BitReader.html#a98bbbbc849a3fadc1a136662174d470e',1,'shaka::media::BitReader']]], ['skipbytes',['SkipBytes',['../d6/da9/classshaka_1_1media_1_1BitReader.html#a7d349253d5cc8f9aa33f1ca2ea94677c',1,'shaka::media::BitReader::SkipBytes()'],['../d9/d13/classshaka_1_1media_1_1BufferReader.html#a2b15dfcd6ff891a9cb7b76f48d91d15d',1,'shaka::media::BufferReader::SkipBytes()']]], diff --git a/docs/search/all_11.js b/docs/search/all_11.js index cba58e0f95..e96081c095 100644 --- a/docs/search/all_11.js +++ b/docs/search/all_11.js @@ -2,17 +2,14 @@ var searchData= [ ['tail',['tail',['../d9/df9/classshaka_1_1media_1_1OffsetByteQueue.html#ab1aa8f95daa784e4dc1ce34566cea164',1,'shaka::media::OffsetByteQueue']]], ['tailpos',['TailPos',['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html#a8a48278d994c0c170b408191d7d994b7',1,'shaka::media::ProducerConsumerQueue']]], - ['tell',['Tell',['../d3/d61/classshaka_1_1media_1_1File.html#a57dd80258b1989f85d99c154ba377db8',1,'shaka::media::File::Tell()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#ad8dd99ee399830616cd23869ed35d768',1,'shaka::media::LocalFile::Tell()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#a0346e0c4f961c06041efeaf43aee8f03',1,'shaka::media::MemoryFile::Tell()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#a23949d75527c8de9f02e749c7744f11e',1,'shaka::media::ThreadedIoFile::Tell()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#affb3b5c69847e5f40671e65a7110358c',1,'shaka::media::UdpFile::Tell()']]], ['temp_5fdir',['temp_dir',['../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a872d1150a71d9f0fb5db0ab81334d614',1,'shaka::media::MuxerOptions']]], - ['tempfilepath',['TempFilePath',['../d8/daf/namespaceshaka.html#a66e7e156c1f83435fb6c130803e48f62',1,'shaka']]], ['templatefilename',['TemplateFileName',['../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#afa2cdde90c04bf69301a9589faa7efd9',1,'shaka::media::SegmentTestBase']]], ['textsample',['TextSample',['../db/d1f/classshaka_1_1media_1_1TextSample.html',1,'shaka::media']]], ['textsampleentry',['TextSampleEntry',['../d7/dc3/structshaka_1_1media_1_1mp4_1_1TextSampleEntry.html',1,'shaka::media::mp4']]], - ['textstreaminfo',['TextStreamInfo',['../db/dab/classshaka_1_1media_1_1TextStreamInfo.html#a3e759066195689154ef2a8cf2825ea4b',1,'shaka::media::TextStreamInfo']]], ['textstreaminfo',['TextStreamInfo',['../db/dab/classshaka_1_1media_1_1TextStreamInfo.html',1,'shaka::media']]], + ['textstreaminfo',['TextStreamInfo',['../db/dab/classshaka_1_1media_1_1TextStreamInfo.html#a3e759066195689154ef2a8cf2825ea4b',1,'shaka::media::TextStreamInfo']]], ['texttrack',['TextTrack',['../d4/d0b/classshaka_1_1media_1_1TextTrack.html',1,'shaka::media']]], ['texttrackconfig',['TextTrackConfig',['../de/db3/classshaka_1_1media_1_1TextTrackConfig.html',1,'shaka::media']]], - ['threadediofile',['ThreadedIoFile',['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html',1,'shaka::media']]], ['tostring',['ToString',['../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#a7f94e51abcf522ff70e2456a8c8595df',1,'shaka::media::AudioStreamInfo::ToString()'],['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#aa3cbd9fee3a228403c3128be5141a614',1,'shaka::media::MediaSample::ToString()'],['../d5/db1/classshaka_1_1media_1_1StreamInfo.html#aa11d2fe5509ebfdc038aa3f2cdbbe00d',1,'shaka::media::StreamInfo::ToString()'],['../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a9cac8e75d76f1192a48d1dcf61435537',1,'shaka::media::VideoStreamInfo::ToString()'],['../dc/da1/classshaka_1_1MpdBuilder.html#af7eae5cc11141eed2b5451d969e57db6',1,'shaka::MpdBuilder::ToString()']]], ['track',['Track',['../d3/db5/structshaka_1_1media_1_1mp4_1_1Track.html',1,'shaka::media::mp4']]], ['trackencryption',['TrackEncryption',['../db/db8/structshaka_1_1media_1_1mp4_1_1TrackEncryption.html',1,'shaka::media::mp4']]], @@ -37,8 +34,8 @@ var searchData= ['tssectionpes',['TsSectionPes',['../d1/d30/classshaka_1_1media_1_1mp2t_1_1TsSectionPes.html',1,'shaka::media::mp2t']]], ['tssectionpmt',['TsSectionPmt',['../d2/de3/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt.html',1,'shaka::media::mp2t']]], ['tssectionpsi',['TsSectionPsi',['../de/d7e/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi.html',1,'shaka::media::mp2t']]], - ['tssegmenter',['TsSegmenter',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html',1,'shaka::media::mp2t']]], ['tssegmenter',['TsSegmenter',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#af0e91f691388ecffb8a473554707c917',1,'shaka::media::mp2t::TsSegmenter']]], + ['tssegmenter',['TsSegmenter',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html',1,'shaka::media::mp2t']]], ['tswriter',['TsWriter',['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html',1,'shaka::media::mp2t']]], ['twopasssinglesegmentsegmenter',['TwoPassSingleSegmentSegmenter',['../dd/da5/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter.html',1,'shaka::media::webm']]], ['type',['type',['../d6/dff/classshaka_1_1media_1_1Nalu.html#a86143bb8a31825f06668e97bff66ce2c',1,'shaka::media::Nalu']]] diff --git a/docs/search/all_12.js b/docs/search/all_12.js index ded530e58b..42033a1f6e 100644 --- a/docs/search/all_12.js +++ b/docs/search/all_12.js @@ -1,8 +1,5 @@ var searchData= [ - ['udpfile',['UdpFile',['../d7/d7a/classshaka_1_1media_1_1UdpFile.html',1,'shaka::media']]], - ['udpfile',['UdpFile',['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a9668328623027330d9552f116d61ae86',1,'shaka::media::UdpFile']]], - ['udpoptions',['UdpOptions',['../d4/d8e/classshaka_1_1media_1_1UdpOptions.html',1,'shaka::media']]], ['uint8vectortobase64',['Uint8VectorToBase64',['../d8/daf/namespaceshaka.html#a4c7f8f964fec2bb9543e7ee8da9cd994',1,'shaka']]], ['updatecontentprotectionpssh',['UpdateContentProtectionPssh',['../d8/d8e/classshaka_1_1AdaptationSet.html#ae8a28838bf1bbc1ad8f5b80961fe33c2',1,'shaka::AdaptationSet::UpdateContentProtectionPssh()'],['../de/d52/classshaka_1_1Representation.html#a3d17325903aa01f0c8ff7753d94ff330',1,'shaka::Representation::UpdateContentProtectionPssh()']]], ['updateiv',['UpdateIv',['../df/d87/classshaka_1_1media_1_1AesCryptor.html#a812dfc641212f8eb877ab153de7fbb37',1,'shaka::media::AesCryptor']]], diff --git a/docs/search/all_14.js b/docs/search/all_14.js index 987976118a..d6f34d369d 100644 --- a/docs/search/all_14.js +++ b/docs/search/all_14.js @@ -1,13 +1,12 @@ var searchData= [ - ['waituntilemptyorclosed',['WaitUntilEmptyOrClosed',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a841a082bfd88280a4ea00ac1a9e64dac',1,'shaka::media::IoCache']]], ['webmaudioclient',['WebMAudioClient',['../d3/d7c/classshaka_1_1media_1_1WebMAudioClient.html',1,'shaka::media']]], ['webmclusterparser',['WebMClusterParser',['../da/de4/classshaka_1_1media_1_1WebMClusterParser.html',1,'shaka::media']]], ['webmclusterparser',['WebMClusterParser',['../da/de4/classshaka_1_1media_1_1WebMClusterParser.html#a34a1495f5080534a5c4acb1d82d0e756',1,'shaka::media::WebMClusterParser']]], ['webmcontentencodingsclient',['WebMContentEncodingsClient',['../d9/d87/classshaka_1_1media_1_1WebMContentEncodingsClient.html',1,'shaka::media']]], ['webminfoparser',['WebMInfoParser',['../db/dae/classshaka_1_1media_1_1WebMInfoParser.html',1,'shaka::media']]], - ['webmlistparser',['WebMListParser',['../dc/dca/classshaka_1_1media_1_1WebMListParser.html',1,'shaka::media']]], ['webmlistparser',['WebMListParser',['../dc/dca/classshaka_1_1media_1_1WebMListParser.html#ac228770d1828937f8aa6becec23210e1',1,'shaka::media::WebMListParser']]], + ['webmlistparser',['WebMListParser',['../dc/dca/classshaka_1_1media_1_1WebMListParser.html',1,'shaka::media']]], ['webmmediaparser',['WebMMediaParser',['../d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html',1,'shaka::media']]], ['webmmuxer',['WebMMuxer',['../d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html#a17b47db217334b2ec328bdbf1a9c7e29',1,'shaka::media::webm::WebMMuxer']]], ['webmmuxer',['WebMMuxer',['../d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html',1,'shaka::media::webm']]], @@ -21,8 +20,7 @@ var searchData= ['webvttsourcelabelbox',['WebVTTSourceLabelBox',['../d4/d33/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html',1,'shaka::media::mp4']]], ['widevinekeysource',['WidevineKeySource',['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html',1,'shaka::media']]], ['widevinekeysource',['WidevineKeySource',['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#a93480a98e423d0456482844ac629bd2e',1,'shaka::media::WidevineKeySource']]], - ['write',['Write',['../d3/d61/classshaka_1_1media_1_1File.html#a3149670c0d085e71f0aa085ee87fdda5',1,'shaka::media::File::Write()'],['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a0349796209c24a99bfe3c1bfdafb1d28',1,'shaka::media::IoCache::Write()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#ac23125695f0cfe77adee36df9650da8b',1,'shaka::media::LocalFile::Write()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#a429e316e7bf529acb3586df1cd02be64',1,'shaka::media::MemoryFile::Write()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#aa14502dd48c1c64329283f5f1340f60f',1,'shaka::media::ThreadedIoFile::Write()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a7039c2dbc214f755a9eaaab4d3e10cb9',1,'shaka::media::UdpFile::Write()'],['../d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html#a15bd0622fdb129d921287e690f117bde',1,'shaka::media::mp4::Box::Write()'],['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a2468514d1d9efdb15a9e4df2e44b75d8',1,'shaka::media::MkvWriter::Write()'],['../dc/d16/classshaka_1_1media_1_1SeekHead.html#a46313134eebf68a7c34187705726b982',1,'shaka::media::SeekHead::Write()']]], - ['writefileatomically',['WriteFileAtomically',['../d3/d61/classshaka_1_1media_1_1File.html#af8a35510dc88fbc352900b55da4683b6',1,'shaka::media::File']]], + ['write',['Write',['../d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html#a15bd0622fdb129d921287e690f117bde',1,'shaka::media::mp4::Box::Write()'],['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a2468514d1d9efdb15a9e4df2e44b75d8',1,'shaka::media::MkvWriter::Write()'],['../dc/d16/classshaka_1_1media_1_1SeekHead.html#a46313134eebf68a7c34187705726b982',1,'shaka::media::SeekHead::Write()']]], ['writefromfile',['WriteFromFile',['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#ab331684a758a93bf0c77fa224fe429ea',1,'shaka::media::MkvWriter::WriteFromFile(File *source)'],['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a2dfac99ec5531ca2e102e5b145bb29ed',1,'shaka::media::MkvWriter::WriteFromFile(File *source, int64_t max_copy)']]], ['writeheader',['WriteHeader',['../d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html#a57b8837c93d51f5cf03d3862069d509a',1,'shaka::media::mp4::Box']]], ['writemediainfotofile',['WriteMediaInfoToFile',['../db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html#ae0a573e1c785164f40bfbfba2ced6a16',1,'shaka::media::VodMediaInfoDumpMuxerListener']]], diff --git a/docs/search/all_16.js b/docs/search/all_16.js index ede4ada809..52ca3511a2 100644 --- a/docs/search/all_16.js +++ b/docs/search/all_16.js @@ -1,5 +1,4 @@ var searchData= [ - ['_7eclosurethread',['~ClosureThread',['../dc/df0/classshaka_1_1media_1_1ClosureThread.html#a811ad9bb9367c0ff74093c4a337d1398',1,'shaka::media::ClosureThread']]], - ['_7efile',['~File',['../d3/d61/classshaka_1_1media_1_1File.html#aeb5c0673c6d8120d636385a1ad3b3f71',1,'shaka::media::File']]] + ['_7eclosurethread',['~ClosureThread',['../dc/df0/classshaka_1_1media_1_1ClosureThread.html#a811ad9bb9367c0ff74093c4a337d1398',1,'shaka::media::ClosureThread']]] ]; diff --git a/docs/search/all_2.js b/docs/search/all_2.js index 71de205d74..a46057aae8 100644 --- a/docs/search/all_2.js +++ b/docs/search/all_2.js @@ -11,12 +11,10 @@ var searchData= ['chunkingoptions',['ChunkingOptions',['../db/d02/structshaka_1_1media_1_1ChunkingOptions.html',1,'shaka::media']]], ['chunklargeoffset',['ChunkLargeOffset',['../db/d95/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset.html',1,'shaka::media::mp4']]], ['chunkoffset',['ChunkOffset',['../dd/d06/structshaka_1_1media_1_1mp4_1_1ChunkOffset.html',1,'shaka::media::mp4']]], - ['clear',['Clear',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a29080034b90671628ea681e10ea92a48',1,'shaka::media::IoCache']]], ['clear_5flead_5fin_5fseconds',['clear_lead_in_seconds',['../d6/d82/structshaka_1_1media_1_1EncryptionOptions.html#a3d58dc01a4af0ebfb56f3c4979f745f7',1,'shaka::media::EncryptionOptions']]], ['clearoutputstreamdatavector',['ClearOutputStreamDataVector',['../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#a7a600a18a6dec0d32b75c292dc634474',1,'shaka::media::MediaHandlerTestBase']]], ['clearsegmentpmt',['ClearSegmentPmt',['../dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html#abaf3df0bbb1b6ff5655d04b828d2889b',1,'shaka::media::mp2t::ProgramMapTableWriter::ClearSegmentPmt()'],['../de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html#a8f439af49b3144f892102c235fb51169',1,'shaka::media::mp2t::H264ProgramMapTableWriter::ClearSegmentPmt()'],['../d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html#aa6d50f3f1249bbf7c1d27608bfb9334f',1,'shaka::media::mp2t::AacProgramMapTableWriter::ClearSegmentPmt()']]], - ['close',['Close',['../d3/d61/classshaka_1_1media_1_1File.html#a2bfb0c180840356933652a795527b5c8',1,'shaka::media::File::Close()'],['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a23dfcb4d031d76e980e41d1b1bec7112',1,'shaka::media::IoCache::Close()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#a8bc11d5bf5ee05904620ab3816c6eaf4',1,'shaka::media::LocalFile::Close()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#ae6008d3d8401bd9eb561165e142afc6b',1,'shaka::media::MemoryFile::Close()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#a4a85d185a7eaa1abc857540ef703ab9a',1,'shaka::media::ThreadedIoFile::Close()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#aeff24fee715763b5a62edd0d3b3c114e',1,'shaka::media::UdpFile::Close()'],['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#af560b12e0298ca3dcd8f88fddff1443b',1,'shaka::media::MkvWriter::Close()']]], - ['closed',['closed',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#adc8aa1afaa3d4ef689e7f2b9ab0e5135',1,'shaka::media::IoCache']]], + ['close',['Close',['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#af560b12e0298ca3dcd8f88fddff1443b',1,'shaka::media::MkvWriter']]], ['closurethread',['ClosureThread',['../dc/df0/classshaka_1_1media_1_1ClosureThread.html',1,'shaka::media']]], ['closurethread',['ClosureThread',['../dc/df0/classshaka_1_1media_1_1ClosureThread.html#a480ff10ca3ff9de7f9ed9582d305281f',1,'shaka::media::ClosureThread']]], ['cluster',['Cluster',['../d1/dd5/classshaka_1_1media_1_1Cluster.html',1,'shaka::media']]], @@ -39,8 +37,6 @@ var searchData= ['converttoadts',['ConvertToADTS',['../d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html#af0ab71e8365a6a93c63badc3150fdacd',1,'shaka::media::AACAudioSpecificConfig']]], ['convertunittobytestream',['ConvertUnitToByteStream',['../d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html#acde0ff823ed23fd3d8b8704cf243f3d5',1,'shaka::media::NalUnitToByteStreamConverter']]], ['convertunittobytestreamwithsubsamples',['ConvertUnitToByteStreamWithSubsamples',['../d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html#ae727e801c989d3ede17f1d1bd86a4ab4',1,'shaka::media::NalUnitToByteStreamConverter']]], - ['copy',['Copy',['../d3/d61/classshaka_1_1media_1_1File.html#afacdff207ba8359eaa029d8b1414c641',1,'shaka::media::File']]], - ['copyfile',['CopyFile',['../d3/d61/classshaka_1_1media_1_1File.html#a1c218b7f815bae0f48800b385ddce67e',1,'shaka::media::File::CopyFile(File *source, File *destination)'],['../d3/d61/classshaka_1_1media_1_1File.html#a9f5ebcd3bdebb7fb02a7a7adf378b344',1,'shaka::media::File::CopyFile(File *source, File *destination, int64_t max_copy)']]], ['copyfrom',['CopyFrom',['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#ad8975dbb21747ff32c8604f5489bf5c9',1,'shaka::media::MediaSample::CopyFrom(const uint8_t *data, size_t size, bool is_key_frame)'],['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#a910e68f46b9464e4ea36cf9cd5116b55',1,'shaka::media::MediaSample::CopyFrom(const uint8_t *data, size_t size, const uint8_t *side_data, size_t side_data_size, bool is_key_frame)'],['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#a311a7302af6405531ebafa04d877d160',1,'shaka::media::MediaSample::CopyFrom(const MediaSample &media_sample)']]], ['create',['Create',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#aebde54a272565d4b81a1139ea35fab63',1,'shaka::media::FixedKeySource::Create()'],['../d0/dce/classshaka_1_1media_1_1RsaPrivateKey.html#aef45d0014d7971b936ce3d0109935ba8',1,'shaka::media::RsaPrivateKey::Create()'],['../d9/d0c/classshaka_1_1media_1_1RsaPublicKey.html#aabe4a2f1541ca1e741305f58329e3881',1,'shaka::media::RsaPublicKey::Create()']]], ['createandinitializesegmenter',['CreateAndInitializeSegmenter',['../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a2efb1c40b8b7d569816e675876b1b614',1,'shaka::media::SegmentTestBase']]], diff --git a/docs/search/all_3.js b/docs/search/all_3.js index f4907b4ab1..71daa23515 100644 --- a/docs/search/all_3.js +++ b/docs/search/all_3.js @@ -16,8 +16,6 @@ var searchData= ['decryptconfig',['DecryptConfig',['../de/d49/classshaka_1_1media_1_1DecryptConfig.html',1,'shaka::media']]], ['decryptconfig',['DecryptConfig',['../de/d49/classshaka_1_1media_1_1DecryptConfig.html#a24035bb6edcb3aaaa9923bf385376ae5',1,'shaka::media::DecryptConfig::DecryptConfig(const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &iv, const std::vector< SubsampleEntry > &subsamples)'],['../de/d49/classshaka_1_1media_1_1DecryptConfig.html#ab2dfe0a2ee285539843ac55b5f1ac7c7',1,'shaka::media::DecryptConfig::DecryptConfig(const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &iv, const std::vector< SubsampleEntry > &subsamples, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block)']]], ['decryptorsource',['DecryptorSource',['../d7/d59/classshaka_1_1media_1_1DecryptorSource.html',1,'shaka::media']]], - ['delete',['Delete',['../d3/d61/classshaka_1_1media_1_1File.html#a92cdfd68e6384dfcc14c78b20c98368e',1,'shaka::media::File::Delete()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#aab9c8faf7e459f38e2f8fb2d63e5bd59',1,'shaka::media::LocalFile::Delete()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#a1079b0a5e919c79cbc97e28f11ac8a81',1,'shaka::media::MemoryFile::Delete()']]], - ['deleteall',['DeleteAll',['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#a79f4eedb79cd2251bca60c861eccf3ba',1,'shaka::media::MemoryFile']]], ['demuxer',['Demuxer',['../dd/d17/classshaka_1_1media_1_1Demuxer.html#ae2fee69f99e5815de4f686b24393402e',1,'shaka::media::Demuxer']]], ['demuxer',['Demuxer',['../dd/d17/classshaka_1_1media_1_1Demuxer.html',1,'shaka::media']]], ['demuxstreamidmediasample',['DemuxStreamIdMediaSample',['../d1/da1/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html',1,'shaka::media::wvm']]], diff --git a/docs/search/all_5.js b/docs/search/all_5.js index cc7d25090c..14a044c43b 100644 --- a/docs/search/all_5.js +++ b/docs/search/all_5.js @@ -2,16 +2,13 @@ var searchData= [ ['fakemediahandler',['FakeMediaHandler',['../d1/d36/classshaka_1_1media_1_1FakeMediaHandler.html',1,'shaka::media']]], ['fetchkeys',['FetchKeys',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a5cd8641873f213b826fc32e1c0026041',1,'shaka::media::FixedKeySource::FetchKeys()'],['../d7/de0/classshaka_1_1media_1_1HttpKeyFetcher.html#ab8e9b01fac00aa5dafb8983acd7a297b',1,'shaka::media::HttpKeyFetcher::FetchKeys()'],['../df/d66/classshaka_1_1media_1_1KeyFetcher.html#aa3c6011a0dd7c8e7f53dbaf48b92718d',1,'shaka::media::KeyFetcher::FetchKeys()'],['../d1/d1f/classshaka_1_1media_1_1KeySource.html#a38dc8e7c48f86e2b3ab3c1ffe0d7916f',1,'shaka::media::KeySource::FetchKeys()'],['../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#a6311482a3f3ddec70da595f0dc1580ae',1,'shaka::media::PlayReadyKeySource::FetchKeys()'],['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#aeea3e62921c176aa6be1f0a95f03b6cf',1,'shaka::media::WidevineKeySource::FetchKeys(EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data) override'],['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#a6fb9680be887d3b9367e015029f909f2',1,'shaka::media::WidevineKeySource::FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy)']]], - ['file',['File',['../d3/d61/classshaka_1_1media_1_1File.html',1,'shaka::media']]], - ['file_5fname',['file_name',['../d3/d61/classshaka_1_1media_1_1File.html#abe158b9e7b1e073956a16c55a8fcf5f4',1,'shaka::media::File']]], - ['filecloser',['FileCloser',['../d3/d8b/structshaka_1_1media_1_1FileCloser.html',1,'shaka::media']]], ['filetype',['FileType',['../d5/d03/structshaka_1_1media_1_1mp4_1_1FileType.html',1,'shaka::media::mp4']]], ['finalize',['Finalize',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#ac92da7c996e2a270fd704facc8f7a149',1,'shaka::media::mp2t::TsSegmenter::Finalize()'],['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a464a30159b8888a54254356d191947ac',1,'shaka::media::mp4::Segmenter::Finalize()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#aa84782877f1afaf9519a552ac3d5d417',1,'shaka::media::webm::Segmenter::Finalize()']]], ['finalizefragment',['FinalizeFragment',['../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#ae943e13eb86d54cffb7174d4513e4541',1,'shaka::media::mp4::Fragmenter']]], ['finalizesegment',['FinalizeSegment',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#ac0c76888b5c3b3a25600a3f126dc92f8',1,'shaka::media::mp2t::TsSegmenter::FinalizeSegment()'],['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#ae9979f940d7a07127709576aa1f766a1',1,'shaka::media::mp2t::TsWriter::FinalizeSegment()'],['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#af08c0f2dcab2f2c87e94f890cba71a70',1,'shaka::media::mp4::Segmenter::FinalizeSegment()'],['../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html#acadda71dd534ab0f6889ab653fbffe42',1,'shaka::media::webm::MultiSegmentSegmenter::FinalizeSegment()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a3c7123d6d9321c72d8bd737f1f9d3c01',1,'shaka::media::webm::Segmenter::FinalizeSegment()'],['../d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html#a7c34c5c8dacbe1a18444cdb6abce0a30',1,'shaka::media::webm::SingleSegmentSegmenter::FinalizeSegment()']]], ['findstartcodeinclearrange',['FindStartCodeInClearRange',['../db/d86/classshaka_1_1media_1_1NaluReader.html#aa14b3cd5da5657d8a3d0ecfdf301a184',1,'shaka::media::NaluReader']]], ['fixedkeysource',['FixedKeySource',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html',1,'shaka::media']]], - ['flush',['Flush',['../d3/d0a/classshaka_1_1media_1_1MediaParser.html#a26752164d7e8ae6a9a894512291ad9cd',1,'shaka::media::MediaParser::Flush()'],['../d3/d61/classshaka_1_1media_1_1File.html#aba73e887fbfe2de3a679c679ddf03f4b',1,'shaka::media::File::Flush()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#ad09f01654ef3109b66e3fb5dd9730516',1,'shaka::media::LocalFile::Flush()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#abc1d0dc10b8ad719b92959c72c394b64',1,'shaka::media::MemoryFile::Flush()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#a4c8d46b1a16fba8bf4267c0a11fa856e',1,'shaka::media::ThreadedIoFile::Flush()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a66276fd0b6a7effe314ccd63e223d149',1,'shaka::media::UdpFile::Flush()'],['../d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#afdb1a88116e3347e67afeb7715847135',1,'shaka::media::mp2t::Mp2tMediaParser::Flush()'],['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#a71ea0819224b94ba9df5c951424bc6b1',1,'shaka::media::mp2t::PesPacketGenerator::Flush()'],['../d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html#a6f26e0d76aeda601fa87190901de27ea',1,'shaka::media::mp4::MP4MediaParser::Flush()'],['../da/de4/classshaka_1_1media_1_1WebMClusterParser.html#ac3d4be1a12667ed722915be727747eee',1,'shaka::media::WebMClusterParser::Flush()'],['../d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html#a6c2d4b5b36304831e637f7ae1b9e54a2',1,'shaka::media::WebMMediaParser::Flush()'],['../dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html#aa666cb1b9ee2ff940d9fc7efda4b50d7',1,'shaka::media::WebVttMediaParser::Flush()'],['../de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html#aa02d5ce7d9609b3841835fbab74b8c81',1,'shaka::media::WebVttSampleConverter::Flush()'],['../dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html#ac5680e3bd6cdb07fd65af3f39fce999a',1,'shaka::media::wvm::WvmMediaParser::Flush()'],['../d4/d70/classshaka_1_1DashIopMpdNotifier.html#ab3411eb75eedce9a26f0767210280e71',1,'shaka::DashIopMpdNotifier::Flush()'],['../d3/dd0/classshaka_1_1MpdNotifier.html#af8149126f4793506bef385d067561dbf',1,'shaka::MpdNotifier::Flush()'],['../d8/de1/classshaka_1_1SimpleMpdNotifier.html#a8ea622a21a5807775bb2d998fa04658f',1,'shaka::SimpleMpdNotifier::Flush()']]], + ['flush',['Flush',['../d3/d0a/classshaka_1_1media_1_1MediaParser.html#a26752164d7e8ae6a9a894512291ad9cd',1,'shaka::media::MediaParser::Flush()'],['../d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#afdb1a88116e3347e67afeb7715847135',1,'shaka::media::mp2t::Mp2tMediaParser::Flush()'],['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#a71ea0819224b94ba9df5c951424bc6b1',1,'shaka::media::mp2t::PesPacketGenerator::Flush()'],['../d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html#a6f26e0d76aeda601fa87190901de27ea',1,'shaka::media::mp4::MP4MediaParser::Flush()'],['../da/de4/classshaka_1_1media_1_1WebMClusterParser.html#ac3d4be1a12667ed722915be727747eee',1,'shaka::media::WebMClusterParser::Flush()'],['../d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html#a6c2d4b5b36304831e637f7ae1b9e54a2',1,'shaka::media::WebMMediaParser::Flush()'],['../dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html#aa666cb1b9ee2ff940d9fc7efda4b50d7',1,'shaka::media::WebVttMediaParser::Flush()'],['../de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html#aa02d5ce7d9609b3841835fbab74b8c81',1,'shaka::media::WebVttSampleConverter::Flush()'],['../dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html#ac5680e3bd6cdb07fd65af3f39fce999a',1,'shaka::media::wvm::WvmMediaParser::Flush()'],['../d4/d70/classshaka_1_1DashIopMpdNotifier.html#ab3411eb75eedce9a26f0767210280e71',1,'shaka::DashIopMpdNotifier::Flush()'],['../d3/dd0/classshaka_1_1MpdNotifier.html#af8149126f4793506bef385d067561dbf',1,'shaka::MpdNotifier::Flush()'],['../d8/de1/classshaka_1_1SimpleMpdNotifier.html#a8ea622a21a5807775bb2d998fa04658f',1,'shaka::SimpleMpdNotifier::Flush()']]], ['flushalldownstreams',['FlushAllDownstreams',['../da/dfd/classshaka_1_1media_1_1MediaHandler.html#ab644ca7b0a0dbcbc42936f2dfb979ca5',1,'shaka::media::MediaHandler']]], ['flushdownstream',['FlushDownstream',['../da/dfd/classshaka_1_1media_1_1MediaHandler.html#ad5001bf12073101a949b062943769f5b',1,'shaka::media::MediaHandler']]], ['forcesetsegmentalignment',['ForceSetSegmentAlignment',['../d8/d8e/classshaka_1_1AdaptationSet.html#a40532ecbed5f71de85bde0cb7eb1ef9d',1,'shaka::AdaptationSet']]], diff --git a/docs/search/all_6.js b/docs/search/all_6.js index ffa1cd9a52..0b1f05b1c8 100644 --- a/docs/search/all_6.js +++ b/docs/search/all_6.js @@ -18,7 +18,6 @@ var searchData= ['getdecryptconfig',['GetDecryptConfig',['../de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html#af1dbb0a9037617c2b80506ee161dfcfa',1,'shaka::media::mp4::TrackRunIterator']]], ['getduration',['GetDuration',['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a7283c64cb63a94264ff8fe405b8ce5c2',1,'shaka::media::mp4::Segmenter']]], ['getdurationinseconds',['GetDurationInSeconds',['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a6a2b5d9e2218abcace63e7aeee3da34f',1,'shaka::media::webm::Segmenter']]], - ['getfilesize',['GetFileSize',['../d3/d61/classshaka_1_1media_1_1File.html#a6981994874ee5832e3394744fd51fd79',1,'shaka::media::File']]], ['getheadersize',['GetHeaderSize',['../dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html#a3346c5afaf83a18cfcf688c36049d586',1,'shaka::media::VideoSliceHeaderParser::GetHeaderSize()'],['../da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html#a5957ea62985810662158c02a163aac60',1,'shaka::media::H264VideoSliceHeaderParser::GetHeaderSize()'],['../d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html#a54459b6748f64be2bd328c5af79798f3',1,'shaka::media::H265VideoSliceHeaderParser::GetHeaderSize()']]], ['getindexrange',['GetIndexRange',['../d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html#acd917150490f8e5721fad28904422eca',1,'shaka::media::mp4::MultiSegmentSegmenter::GetIndexRange()'],['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a7ab68d898343b322dc32c08ad42e859c',1,'shaka::media::mp4::Segmenter::GetIndexRange()'],['../d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html#a5877fd31ed73a048529385b36437364a',1,'shaka::media::mp4::SingleSegmentSegmenter::GetIndexRange()']]], ['getindexrangestartandend',['GetIndexRangeStartAndEnd',['../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html#a75b572a055a0de68bf2809f61b319526',1,'shaka::media::webm::MultiSegmentSegmenter::GetIndexRangeStartAndEnd()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a3a6c1932e6c4894a61eb7230022bceb5',1,'shaka::media::webm::Segmenter::GetIndexRangeStartAndEnd()'],['../d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html#a1708739c73c4565d5dfda6bedffd89a8',1,'shaka::media::webm::SingleSegmentSegmenter::GetIndexRangeStartAndEnd()']]], diff --git a/docs/search/all_8.js b/docs/search/all_8.js index c1b230ce0e..413e4b2a54 100644 --- a/docs/search/all_8.js +++ b/docs/search/all_8.js @@ -14,7 +14,6 @@ var searchData= ['injectclockfortesting',['InjectClockForTesting',['../dc/da1/classshaka_1_1MpdBuilder.html#a7a4f96f12b589cfc4b5c2f44532eec53',1,'shaka::MpdBuilder']]], ['injectpespacketgeneratorfortesting',['InjectPesPacketGeneratorForTesting',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#abb78b18426643d58bc44ea61823dc29c',1,'shaka::media::mp2t::TsSegmenter']]], ['injecttswriterfortesting',['InjectTsWriterForTesting',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#ae3ed0f86d2163444e24a2577e35517a9',1,'shaka::media::mp2t::TsSegmenter']]], - ['iocache',['IoCache',['../dd/d7c/classshaka_1_1media_1_1IoCache.html',1,'shaka::media']]], ['is_5fvideo_5fslice',['is_video_slice',['../d6/dff/classshaka_1_1media_1_1Nalu.html#a95f9428735ea6967d278198b09f48484',1,'shaka::media::Nalu']]], ['isaac',['IsAAC',['../d5/d13/classshaka_1_1media_1_1ESDescriptor.html#a47592ec424dc9dd2beb5cc0f505e6681',1,'shaka::media::ESDescriptor']]], ['isconnected',['IsConnected',['../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a0e169e81344ce4ccfed3194ec5f4a3a1',1,'shaka::media::MediaHandler']]], diff --git a/docs/search/all_a.js b/docs/search/all_a.js index c9d44be392..858eb47f54 100644 --- a/docs/search/all_a.js +++ b/docs/search/all_a.js @@ -6,7 +6,5 @@ var searchData= ['lastfirstchunk',['LastFirstChunk',['../d9/d57/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator.html#ae68681fe24bdf70b9f0c2d2e5610f32a',1,'shaka::media::mp4::ChunkInfoIterator']]], ['libcryptothreading',['LibcryptoThreading',['../d3/d51/classshaka_1_1media_1_1LibcryptoThreading.html',1,'shaka::media']]], ['loadmoov',['LoadMoov',['../d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html#af0ec1b44528a2997c0d548bee47862cf',1,'shaka::media::mp4::MP4MediaParser']]], - ['localfile',['LocalFile',['../d9/de6/classshaka_1_1media_1_1LocalFile.html',1,'shaka::media']]], - ['localfile',['LocalFile',['../d9/de6/classshaka_1_1media_1_1LocalFile.html#abb25b0c4dae0509458507d9afb83da0d',1,'shaka::media::LocalFile']]], ['longtermpicsinfo',['LongTermPicsInfo',['../d7/d9c/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html',1,'shaka::media::H265SliceHeader']]] ]; diff --git a/docs/search/all_b.js b/docs/search/all_b.js index fc226075af..bcb925fbfd 100644 --- a/docs/search/all_b.js +++ b/docs/search/all_b.js @@ -11,7 +11,6 @@ var searchData= ['mediaparser',['MediaParser',['../d3/d0a/classshaka_1_1media_1_1MediaParser.html',1,'shaka::media']]], ['mediaranges',['MediaRanges',['../d1/d03/structshaka_1_1media_1_1MuxerListener_1_1MediaRanges.html',1,'shaka::media::MuxerListener']]], ['mediasample',['MediaSample',['../d7/d6d/classshaka_1_1media_1_1MediaSample.html',1,'shaka::media']]], - ['memoryfile',['MemoryFile',['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html',1,'shaka::media']]], ['mergefrom',['MergeFrom',['../d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html#a36dddd88a09f038adfbf87063786178c',1,'shaka::media::VPCodecConfigurationRecord']]], ['metadata',['Metadata',['../dd/df6/structshaka_1_1media_1_1mp4_1_1Metadata.html',1,'shaka::media::mp4']]], ['mkvwriter',['MkvWriter',['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html',1,'shaka::media']]], @@ -32,12 +31,12 @@ var searchData= ['mp4muxer',['MP4Muxer',['../db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html#a5b6a878865250e3e17268c011a361497',1,'shaka::media::mp4::MP4Muxer']]], ['mp4muxer',['MP4Muxer',['../db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html',1,'shaka::media::mp4']]], ['mpd_5ftype',['mpd_type',['../d3/dd0/classshaka_1_1MpdNotifier.html#adfb5bc1586cdb7860dd349b3caf25faa',1,'shaka::MpdNotifier']]], - ['mpdbuilder',['MpdBuilder',['../dc/da1/classshaka_1_1MpdBuilder.html#ab364102e01afedd8a4dcc9be4fdcc0ab',1,'shaka::MpdBuilder']]], ['mpdbuilder',['MpdBuilder',['../dc/da1/classshaka_1_1MpdBuilder.html',1,'shaka']]], + ['mpdbuilder',['MpdBuilder',['../dc/da1/classshaka_1_1MpdBuilder.html#ab364102e01afedd8a4dcc9be4fdcc0ab',1,'shaka::MpdBuilder']]], ['mpdnotifier',['MpdNotifier',['../d3/dd0/classshaka_1_1MpdNotifier.html',1,'shaka']]], ['mpdnotifierfactory',['MpdNotifierFactory',['../d4/db4/classshaka_1_1MpdNotifierFactory.html',1,'shaka']]], - ['mpdnotifymuxerlistener',['MpdNotifyMuxerListener',['../d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html#a6912e6cfc341c1a768d214ce08bb0f82',1,'shaka::media::MpdNotifyMuxerListener']]], ['mpdnotifymuxerlistener',['MpdNotifyMuxerListener',['../d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html',1,'shaka::media']]], + ['mpdnotifymuxerlistener',['MpdNotifyMuxerListener',['../d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html#a6912e6cfc341c1a768d214ce08bb0f82',1,'shaka::media::MpdNotifyMuxerListener']]], ['mpdoptions',['MpdOptions',['../d1/df3/structshaka_1_1MpdOptions.html',1,'shaka']]], ['mpdwriter',['MpdWriter',['../db/dcd/classshaka_1_1MpdWriter.html',1,'shaka']]], ['multisegmentsegmenter',['MultiSegmentSegmenter',['../d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html',1,'shaka::media::mp4']]], diff --git a/docs/search/all_d.js b/docs/search/all_d.js index 308fbad9ae..2ef6e5a1b4 100644 --- a/docs/search/all_d.js +++ b/docs/search/all_d.js @@ -13,8 +13,7 @@ var searchData= ['onprogress',['OnProgress',['../d4/de6/classshaka_1_1media_1_1ProgressListener.html#a9c32e569c50194a106f7e9242749e7e7',1,'shaka::media::ProgressListener']]], ['onsampledurationready',['OnSampleDurationReady',['../d5/dfa/classshaka_1_1media_1_1HlsNotifyMuxerListener.html#ae6e2531350df353910b1d777427b822d',1,'shaka::media::HlsNotifyMuxerListener::OnSampleDurationReady()'],['../d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html#a3b0457b0147310ba07169cf84cfce2aa',1,'shaka::media::MpdNotifyMuxerListener::OnSampleDurationReady()'],['../dd/d7a/classshaka_1_1media_1_1MuxerListener.html#ad54aef6c349082d996a436ebea11eff2',1,'shaka::media::MuxerListener::OnSampleDurationReady()'],['../db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html#a25fc470ed18733954876a4d4256aacf9',1,'shaka::media::VodMediaInfoDumpMuxerListener::OnSampleDurationReady()']]], ['onsetframerateforrepresentation',['OnSetFrameRateForRepresentation',['../d8/d8e/classshaka_1_1AdaptationSet.html#a37904780833b552b7f95f124ffd10456',1,'shaka::AdaptationSet::OnSetFrameRateForRepresentation()'],['../df/d94/classshaka_1_1RepresentationStateChangeListener.html#a64bc6f8299a1479c85f294f8ab3f6819',1,'shaka::RepresentationStateChangeListener::OnSetFrameRateForRepresentation()']]], - ['open',['Open',['../d3/d61/classshaka_1_1media_1_1File.html#a921efa1c8f7978e3b5aac33d648b0250',1,'shaka::media::File::Open(const char *file_name, const char *mode)'],['../d3/d61/classshaka_1_1media_1_1File.html#aad6b77e734bb22d077ece029c9e735a4',1,'shaka::media::File::Open()=0'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#a73844c50f00e8427233038abf45425a7',1,'shaka::media::LocalFile::Open()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#a3b376ae2d03aac9c950c608b55af1f91',1,'shaka::media::MemoryFile::Open()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#ae3db248116be393b18d70bb27f6aeb68',1,'shaka::media::ThreadedIoFile::Open()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a67890562cd5864afdffeb7326af91df0',1,'shaka::media::UdpFile::Open()'],['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a9490dbf4bc02903484acb68f038f7fe2',1,'shaka::media::MkvWriter::Open()']]], - ['openwithnobuffering',['OpenWithNoBuffering',['../d3/d61/classshaka_1_1media_1_1File.html#ad1e9fc834093c8b35c0f8c1957974fda',1,'shaka::media::File']]], + ['open',['Open',['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a9490dbf4bc02903484acb68f038f7fe2',1,'shaka::media::MkvWriter']]], ['optimizesampleentries',['OptimizeSampleEntries',['../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#a208b7b8dd83e73c4206469695a3216d4',1,'shaka::media::mp4::Fragmenter']]], ['opusspecific',['OpusSpecific',['../de/dfa/structshaka_1_1media_1_1mp4_1_1OpusSpecific.html',1,'shaka::media::mp4']]], ['originalformat',['OriginalFormat',['../d5/d05/structshaka_1_1media_1_1mp4_1_1OriginalFormat.html',1,'shaka::media::mp4']]], diff --git a/docs/search/all_e.js b/docs/search/all_e.js index 30103c05ff..c38498a719 100644 --- a/docs/search/all_e.js +++ b/docs/search/all_e.js @@ -4,7 +4,6 @@ var searchData= ['parseboxes',['ParseBoxes',['../d0/dd4/classshaka_1_1media_1_1ProtectionSystemSpecificInfo.html#aa984e27d2655a451ea87ff0a4ddd8b79',1,'shaka::media::ProtectionSystemSpecificInfo']]], ['parsefrombuffer',['ParseFromBuffer',['../d6/dcb/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry.html#a247ca9987470a6c724f1e099a78d3460',1,'shaka::media::mp4::SampleEncryptionEntry']]], ['parsefromsampleencryptiondata',['ParseFromSampleEncryptionData',['../d4/dad/structshaka_1_1media_1_1mp4_1_1SampleEncryption.html#a0498009b07beb46e029c65bfb55fc741',1,'shaka::media::mp4::SampleEncryption']]], - ['parsefromstring',['ParseFromString',['../d4/d8e/classshaka_1_1media_1_1UdpOptions.html#a0f105a42c4f852f083827892138a4f25',1,'shaka::media::UdpOptions']]], ['parsemp4',['ParseMP4',['../d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html#aac5eac6e0a62201dcb68fd3f084bb281',1,'shaka::media::VPCodecConfigurationRecord']]], ['parsepps',['ParsePps',['../de/dc2/classshaka_1_1media_1_1H265Parser.html#a222c85ac46e908c8478304f2be769d6d',1,'shaka::media::H265Parser']]], ['parsesliceheader',['ParseSliceHeader',['../de/dc2/classshaka_1_1media_1_1H265Parser.html#ae94e80774a60cc7b9cfdb7503f5047fe',1,'shaka::media::H265Parser']]], @@ -22,8 +21,8 @@ var searchData= ['pixel_5fheight',['pixel_height',['../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#ae420a97a606ef54be16beb49e42cd135',1,'shaka::media::VideoStreamInfo']]], ['pixel_5fwidth',['pixel_width',['../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#af5f655f36865a3af28bd0c7328e9a91e',1,'shaka::media::VideoStreamInfo']]], ['pixelaspectratio',['PixelAspectRatio',['../dd/d71/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio.html',1,'shaka::media::mp4']]], - ['playreadykeysource',['PlayReadyKeySource',['../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#a2d85b64ad09aec73b84a26071a9c059e',1,'shaka::media::PlayReadyKeySource::PlayReadyKeySource(const std::string &server_url)'],['../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#a11f5940080bf569c4c3dca1fe4bd9ce1',1,'shaka::media::PlayReadyKeySource::PlayReadyKeySource(const std::string &server_url, const std::string &client_cert_file, const std::string &client_cert_private_key_file, const std::string &client_cert_private_key_password)']]], ['playreadykeysource',['PlayReadyKeySource',['../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html',1,'shaka::media']]], + ['playreadykeysource',['PlayReadyKeySource',['../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#a2d85b64ad09aec73b84a26071a9c059e',1,'shaka::media::PlayReadyKeySource::PlayReadyKeySource(const std::string &server_url)'],['../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#a11f5940080bf569c4c3dca1fe4bd9ce1',1,'shaka::media::PlayReadyKeySource::PlayReadyKeySource(const std::string &server_url, const std::string &client_cert_file, const std::string &client_cert_private_key_file, const std::string &client_cert_private_key_password)']]], ['pop',['Pop',['../d7/dda/classshaka_1_1media_1_1ByteQueue.html#a31b30d39d14fca3ce722b4233de95c79',1,'shaka::media::ByteQueue::Pop()'],['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html#a935e9ddee232be82d224c9b81b3b4f88',1,'shaka::media::ProducerConsumerQueue::Pop()']]], ['popsample',['PopSample',['../de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html#a43fa59b53f847b638cf32c6f03f87dcd',1,'shaka::media::WebVttSampleConverter']]], ['pos',['Pos',['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a2659cd1503fb96d2d25aaa75fe2746de',1,'shaka::media::mp4::BoxBuffer']]], @@ -35,8 +34,8 @@ var searchData= ['private_5fframe',['private_frame',['../d3/dad/structshaka_1_1media_1_1mp4_1_1ID3v2.html#a33c145fa8ed1417799dce66a94f8e95c',1,'shaka::media::mp4::ID3v2']]], ['privframe',['PrivFrame',['../d3/d47/structshaka_1_1media_1_1mp4_1_1PrivFrame.html',1,'shaka::media::mp4']]], ['process',['Process',['../da/dfd/classshaka_1_1media_1_1MediaHandler.html#acb614e9f43e1eb6f837801b15b78c0b4',1,'shaka::media::MediaHandler::Process()'],['../d1/d36/classshaka_1_1media_1_1FakeMediaHandler.html#af9fa42669591a52b8fa1a62d27ed93d6',1,'shaka::media::FakeMediaHandler::Process()'],['../df/d46/classshaka_1_1media_1_1Muxer.html#aec730b070245231a0887787005c06eee',1,'shaka::media::Muxer::Process()'],['../d4/d43/classshaka_1_1media_1_1ChunkingHandler.html#a44c30ffd7c283be2ba4347bda7848633',1,'shaka::media::ChunkingHandler::Process()'],['../d6/d4c/classshaka_1_1media_1_1EncryptionHandler.html#a7887e6060eb572036674ecb9a7e045c4',1,'shaka::media::EncryptionHandler::Process()'],['../dd/d17/classshaka_1_1media_1_1Demuxer.html#a869b21d13f02d4d5c0519f9eb35117cd',1,'shaka::media::Demuxer::Process()'],['../db/dea/classshaka_1_1media_1_1TrickPlayHandler.html#afdd13bb4e762c4b904ed75b268359757',1,'shaka::media::TrickPlayHandler::Process()']]], - ['producerconsumerqueue',['ProducerConsumerQueue',['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html',1,'shaka::media']]], ['producerconsumerqueue',['ProducerConsumerQueue',['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html#ad7ccb149baa88e5f8356be18344d2baf',1,'shaka::media::ProducerConsumerQueue::ProducerConsumerQueue(size_t capacity)'],['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html#a80ff75afdbbf7f567dcb57a755542ffc',1,'shaka::media::ProducerConsumerQueue::ProducerConsumerQueue(size_t capacity, size_t starting_pos)']]], + ['producerconsumerqueue',['ProducerConsumerQueue',['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html',1,'shaka::media']]], ['programmaptablewriter',['ProgramMapTableWriter',['../dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html',1,'shaka::media::mp2t']]], ['progresslistener',['ProgressListener',['../d4/de6/classshaka_1_1media_1_1ProgressListener.html',1,'shaka::media']]], ['protection_5fscheme',['protection_scheme',['../d6/d82/structshaka_1_1media_1_1EncryptionOptions.html#ac858b4c03e49e871e07e38fc35893088',1,'shaka::media::EncryptionOptions']]], diff --git a/docs/search/all_f.js b/docs/search/all_f.js index 3bc0956b6b..c6ffc6e220 100644 --- a/docs/search/all_f.js +++ b/docs/search/all_f.js @@ -1,7 +1,6 @@ var searchData= [ ['range',['Range',['../d9/de0/structshaka_1_1media_1_1Range.html',1,'shaka::media']]], - ['read',['Read',['../d3/d61/classshaka_1_1media_1_1File.html#aed0c0793fd8751330583314a4d3012b9',1,'shaka::media::File::Read()'],['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a3cb864f866af25f0ff92c367946b0945',1,'shaka::media::IoCache::Read()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#a65a1abae386202a08deb5bfa8aeef7c1',1,'shaka::media::LocalFile::Read()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#aac5f63ba0bb136eac2260a034edc10cf',1,'shaka::media::MemoryFile::Read()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#a5bd05e37779441004cd7ba0c33de1ad6',1,'shaka::media::ThreadedIoFile::Read()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a9e6387d6c23e6cfd7a91ed432fe3e81c',1,'shaka::media::UdpFile::Read()']]], ['read1',['Read1',['../d9/d13/classshaka_1_1media_1_1BufferReader.html#a65b65ad5a5ebc9d66182c38ec9876c05',1,'shaka::media::BufferReader']]], ['readallchildren',['ReadAllChildren',['../d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html#a8b5c7d5a487fb3063eae1495aa3a7566',1,'shaka::media::mp4::BoxReader']]], ['readbits',['ReadBits',['../d6/da9/classshaka_1_1media_1_1BitReader.html#ae40382c4ca4a57b3bb3531a337aebbe4',1,'shaka::media::BitReader']]], @@ -9,7 +8,6 @@ var searchData= ['readchild',['ReadChild',['../d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html#a68defcd9be85bbd5cbded3bee86aa03a',1,'shaka::media::mp4::BoxReader']]], ['readchildren',['ReadChildren',['../d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html#aedb3a49da398833cda1caa1ad01a364a',1,'shaka::media::mp4::BoxReader']]], ['reader',['reader',['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a6e7c1f50071b52d7f68e094f0401d3d9',1,'shaka::media::mp4::BoxBuffer']]], - ['readfiletostring',['ReadFileToString',['../d3/d61/classshaka_1_1media_1_1File.html#a622dbc8abacebb40b816aa0174ba7c60',1,'shaka::media::File']]], ['reading',['Reading',['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a6f952858fff424e19a05d64f485d3952',1,'shaka::media::mp4::BoxBuffer']]], ['readnbytesinto8',['ReadNBytesInto8',['../d9/d13/classshaka_1_1media_1_1BufferReader.html#ac98c6631c07300a6b78ec58bfd4ced30',1,'shaka::media::BufferReader']]], ['readwrite',['ReadWrite',['../d6/dcb/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry.html#ac32331c506252793b4447940abbeafd9',1,'shaka::media::mp4::SampleEncryptionEntry']]], @@ -19,7 +17,6 @@ var searchData= ['readwriteuint64nbytes',['ReadWriteUInt64NBytes',['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a53c6b6a9bce0bb0fa61b9ce95c3f5cef',1,'shaka::media::mp4::BoxBuffer']]], ['readysamplessize',['ReadySamplesSize',['../de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html#a3b0e60f307c5ea57d232216eced6af76',1,'shaka::media::WebVttSampleConverter']]], ['release',['Release',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ae5cb2c3000ccbd53c0a1867db0b8a2d0',1,'shaka::xml::XmlNode']]], - ['reopen',['Reopen',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#ae751faea047196ba2770f5bf90649185',1,'shaka::media::IoCache']]], ['representation',['Representation',['../de/d52/classshaka_1_1Representation.html',1,'shaka']]], ['representation',['Representation',['../de/d52/classshaka_1_1Representation.html#a997138fcaa5deef5151a64a2d7ce6aeb',1,'shaka::Representation']]], ['representationbasexmlnode',['RepresentationBaseXmlNode',['../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html',1,'shaka::xml']]], diff --git a/docs/search/classes_10.js b/docs/search/classes_10.js index 43bc2e80da..46057ea04e 100644 --- a/docs/search/classes_10.js +++ b/docs/search/classes_10.js @@ -5,7 +5,6 @@ var searchData= ['textstreaminfo',['TextStreamInfo',['../db/dab/classshaka_1_1media_1_1TextStreamInfo.html',1,'shaka::media']]], ['texttrack',['TextTrack',['../d4/d0b/classshaka_1_1media_1_1TextTrack.html',1,'shaka::media']]], ['texttrackconfig',['TextTrackConfig',['../de/db3/classshaka_1_1media_1_1TextTrackConfig.html',1,'shaka::media']]], - ['threadediofile',['ThreadedIoFile',['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html',1,'shaka::media']]], ['track',['Track',['../d3/db5/structshaka_1_1media_1_1mp4_1_1Track.html',1,'shaka::media::mp4']]], ['trackencryption',['TrackEncryption',['../db/db8/structshaka_1_1media_1_1mp4_1_1TrackEncryption.html',1,'shaka::media::mp4']]], ['trackextends',['TrackExtends',['../de/d29/structshaka_1_1media_1_1mp4_1_1TrackExtends.html',1,'shaka::media::mp4']]], diff --git a/docs/search/classes_11.js b/docs/search/classes_11.js index 13f03f1261..c72af7b1e4 100644 --- a/docs/search/classes_11.js +++ b/docs/search/classes_11.js @@ -1,5 +1,18 @@ var searchData= [ - ['udpfile',['UdpFile',['../d7/d7a/classshaka_1_1media_1_1UdpFile.html',1,'shaka::media']]], - ['udpoptions',['UdpOptions',['../d4/d8e/classshaka_1_1media_1_1UdpOptions.html',1,'shaka::media']]] + ['videomediaheader',['VideoMediaHeader',['../d1/db0/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader.html',1,'shaka::media::mp4']]], + ['videosampleentry',['VideoSampleEntry',['../d0/d73/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry.html',1,'shaka::media::mp4']]], + ['videosliceheaderparser',['VideoSliceHeaderParser',['../dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html',1,'shaka::media']]], + ['videosliceinfo',['VideoSliceInfo',['../d8/dc2/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo.html',1,'shaka::media::mp2t::EsParserH26x']]], + ['videostreaminfo',['VideoStreamInfo',['../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html',1,'shaka::media']]], + ['videostreaminfoparameters',['VideoStreamInfoParameters',['../d6/d26/structshaka_1_1media_1_1VideoStreamInfoParameters.html',1,'shaka::media']]], + ['vodmediainfodumpmuxerlistener',['VodMediaInfoDumpMuxerListener',['../db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html',1,'shaka::media']]], + ['vp8parser',['VP8Parser',['../d8/d14/classshaka_1_1media_1_1VP8Parser.html',1,'shaka::media']]], + ['vp9parser',['VP9Parser',['../db/d5a/classshaka_1_1media_1_1VP9Parser.html',1,'shaka::media']]], + ['vpcodecconfigurationrecord',['VPCodecConfigurationRecord',['../d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html',1,'shaka::media']]], + ['vpxframeinfo',['VPxFrameInfo',['../d0/d11/structshaka_1_1media_1_1VPxFrameInfo.html',1,'shaka::media']]], + ['vpxparser',['VPxParser',['../db/dcb/classshaka_1_1media_1_1VPxParser.html',1,'shaka::media']]], + ['vttadditionaltextbox',['VTTAdditionalTextBox',['../d6/d79/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html',1,'shaka::media::mp4']]], + ['vttcuebox',['VTTCueBox',['../d6/daa/structshaka_1_1media_1_1mp4_1_1VTTCueBox.html',1,'shaka::media::mp4']]], + ['vttemptycuebox',['VTTEmptyCueBox',['../d9/d3c/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox.html',1,'shaka::media::mp4']]] ]; diff --git a/docs/search/classes_12.js b/docs/search/classes_12.js index c72af7b1e4..9499d32161 100644 --- a/docs/search/classes_12.js +++ b/docs/search/classes_12.js @@ -1,18 +1,20 @@ var searchData= [ - ['videomediaheader',['VideoMediaHeader',['../d1/db0/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader.html',1,'shaka::media::mp4']]], - ['videosampleentry',['VideoSampleEntry',['../d0/d73/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry.html',1,'shaka::media::mp4']]], - ['videosliceheaderparser',['VideoSliceHeaderParser',['../dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html',1,'shaka::media']]], - ['videosliceinfo',['VideoSliceInfo',['../d8/dc2/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo.html',1,'shaka::media::mp2t::EsParserH26x']]], - ['videostreaminfo',['VideoStreamInfo',['../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html',1,'shaka::media']]], - ['videostreaminfoparameters',['VideoStreamInfoParameters',['../d6/d26/structshaka_1_1media_1_1VideoStreamInfoParameters.html',1,'shaka::media']]], - ['vodmediainfodumpmuxerlistener',['VodMediaInfoDumpMuxerListener',['../db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html',1,'shaka::media']]], - ['vp8parser',['VP8Parser',['../d8/d14/classshaka_1_1media_1_1VP8Parser.html',1,'shaka::media']]], - ['vp9parser',['VP9Parser',['../db/d5a/classshaka_1_1media_1_1VP9Parser.html',1,'shaka::media']]], - ['vpcodecconfigurationrecord',['VPCodecConfigurationRecord',['../d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html',1,'shaka::media']]], - ['vpxframeinfo',['VPxFrameInfo',['../d0/d11/structshaka_1_1media_1_1VPxFrameInfo.html',1,'shaka::media']]], - ['vpxparser',['VPxParser',['../db/dcb/classshaka_1_1media_1_1VPxParser.html',1,'shaka::media']]], - ['vttadditionaltextbox',['VTTAdditionalTextBox',['../d6/d79/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html',1,'shaka::media::mp4']]], - ['vttcuebox',['VTTCueBox',['../d6/daa/structshaka_1_1media_1_1mp4_1_1VTTCueBox.html',1,'shaka::media::mp4']]], - ['vttemptycuebox',['VTTEmptyCueBox',['../d9/d3c/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox.html',1,'shaka::media::mp4']]] + ['webmaudioclient',['WebMAudioClient',['../d3/d7c/classshaka_1_1media_1_1WebMAudioClient.html',1,'shaka::media']]], + ['webmclusterparser',['WebMClusterParser',['../da/de4/classshaka_1_1media_1_1WebMClusterParser.html',1,'shaka::media']]], + ['webmcontentencodingsclient',['WebMContentEncodingsClient',['../d9/d87/classshaka_1_1media_1_1WebMContentEncodingsClient.html',1,'shaka::media']]], + ['webminfoparser',['WebMInfoParser',['../db/dae/classshaka_1_1media_1_1WebMInfoParser.html',1,'shaka::media']]], + ['webmlistparser',['WebMListParser',['../dc/dca/classshaka_1_1media_1_1WebMListParser.html',1,'shaka::media']]], + ['webmmediaparser',['WebMMediaParser',['../d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html',1,'shaka::media']]], + ['webmmuxer',['WebMMuxer',['../d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html',1,'shaka::media::webm']]], + ['webmparserclient',['WebMParserClient',['../d5/dec/classshaka_1_1media_1_1WebMParserClient.html',1,'shaka::media']]], + ['webmtracksparser',['WebMTracksParser',['../d8/d86/classshaka_1_1media_1_1WebMTracksParser.html',1,'shaka::media']]], + ['webmvideoclient',['WebMVideoClient',['../d3/d67/classshaka_1_1media_1_1WebMVideoClient.html',1,'shaka::media']]], + ['webmwebvttparser',['WebMWebVTTParser',['../d4/d59/classshaka_1_1media_1_1WebMWebVTTParser.html',1,'shaka::media']]], + ['webvttconfigurationbox',['WebVTTConfigurationBox',['../d8/d20/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html',1,'shaka::media::mp4']]], + ['webvttmediaparser',['WebVttMediaParser',['../dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html',1,'shaka::media']]], + ['webvttsampleconverter',['WebVttSampleConverter',['../de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html',1,'shaka::media']]], + ['webvttsourcelabelbox',['WebVTTSourceLabelBox',['../d4/d33/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html',1,'shaka::media::mp4']]], + ['widevinekeysource',['WidevineKeySource',['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html',1,'shaka::media']]], + ['wvmmediaparser',['WvmMediaParser',['../dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html',1,'shaka::media::wvm']]] ]; diff --git a/docs/search/classes_13.js b/docs/search/classes_13.js index 9499d32161..7da6523325 100644 --- a/docs/search/classes_13.js +++ b/docs/search/classes_13.js @@ -1,20 +1,5 @@ var searchData= [ - ['webmaudioclient',['WebMAudioClient',['../d3/d7c/classshaka_1_1media_1_1WebMAudioClient.html',1,'shaka::media']]], - ['webmclusterparser',['WebMClusterParser',['../da/de4/classshaka_1_1media_1_1WebMClusterParser.html',1,'shaka::media']]], - ['webmcontentencodingsclient',['WebMContentEncodingsClient',['../d9/d87/classshaka_1_1media_1_1WebMContentEncodingsClient.html',1,'shaka::media']]], - ['webminfoparser',['WebMInfoParser',['../db/dae/classshaka_1_1media_1_1WebMInfoParser.html',1,'shaka::media']]], - ['webmlistparser',['WebMListParser',['../dc/dca/classshaka_1_1media_1_1WebMListParser.html',1,'shaka::media']]], - ['webmmediaparser',['WebMMediaParser',['../d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html',1,'shaka::media']]], - ['webmmuxer',['WebMMuxer',['../d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html',1,'shaka::media::webm']]], - ['webmparserclient',['WebMParserClient',['../d5/dec/classshaka_1_1media_1_1WebMParserClient.html',1,'shaka::media']]], - ['webmtracksparser',['WebMTracksParser',['../d8/d86/classshaka_1_1media_1_1WebMTracksParser.html',1,'shaka::media']]], - ['webmvideoclient',['WebMVideoClient',['../d3/d67/classshaka_1_1media_1_1WebMVideoClient.html',1,'shaka::media']]], - ['webmwebvttparser',['WebMWebVTTParser',['../d4/d59/classshaka_1_1media_1_1WebMWebVTTParser.html',1,'shaka::media']]], - ['webvttconfigurationbox',['WebVTTConfigurationBox',['../d8/d20/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html',1,'shaka::media::mp4']]], - ['webvttmediaparser',['WebVttMediaParser',['../dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html',1,'shaka::media']]], - ['webvttsampleconverter',['WebVttSampleConverter',['../de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html',1,'shaka::media']]], - ['webvttsourcelabelbox',['WebVTTSourceLabelBox',['../d4/d33/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html',1,'shaka::media::mp4']]], - ['widevinekeysource',['WidevineKeySource',['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html',1,'shaka::media']]], - ['wvmmediaparser',['WvmMediaParser',['../dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html',1,'shaka::media::wvm']]] + ['xmldeleter',['XmlDeleter',['../dd/da4/structshaka_1_1xml_1_1XmlDeleter.html',1,'shaka::xml']]], + ['xmlnode',['XmlNode',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html',1,'shaka::xml']]] ]; diff --git a/docs/search/classes_14.html b/docs/search/classes_14.html deleted file mode 100644 index b08514dbd1..0000000000 --- a/docs/search/classes_14.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
          -
          Loading...
          -
          - -
          Searching...
          -
          No Matches
          - -
          - - diff --git a/docs/search/classes_14.js b/docs/search/classes_14.js deleted file mode 100644 index 7da6523325..0000000000 --- a/docs/search/classes_14.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['xmldeleter',['XmlDeleter',['../dd/da4/structshaka_1_1xml_1_1XmlDeleter.html',1,'shaka::xml']]], - ['xmlnode',['XmlNode',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html',1,'shaka::xml']]] -]; diff --git a/docs/search/classes_5.js b/docs/search/classes_5.js index cef07b3b28..bf00f141e1 100644 --- a/docs/search/classes_5.js +++ b/docs/search/classes_5.js @@ -1,8 +1,6 @@ var searchData= [ ['fakemediahandler',['FakeMediaHandler',['../d1/d36/classshaka_1_1media_1_1FakeMediaHandler.html',1,'shaka::media']]], - ['file',['File',['../d3/d61/classshaka_1_1media_1_1File.html',1,'shaka::media']]], - ['filecloser',['FileCloser',['../d3/d8b/structshaka_1_1media_1_1FileCloser.html',1,'shaka::media']]], ['filetype',['FileType',['../d5/d03/structshaka_1_1media_1_1mp4_1_1FileType.html',1,'shaka::media::mp4']]], ['fixedkeysource',['FixedKeySource',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html',1,'shaka::media']]], ['fragmenter',['Fragmenter',['../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html',1,'shaka::media::mp4']]], diff --git a/docs/search/classes_7.js b/docs/search/classes_7.js index c97779082f..7130fe98c8 100644 --- a/docs/search/classes_7.js +++ b/docs/search/classes_7.js @@ -1,5 +1,4 @@ var searchData= [ - ['id3v2',['ID3v2',['../d3/dad/structshaka_1_1media_1_1mp4_1_1ID3v2.html',1,'shaka::media::mp4']]], - ['iocache',['IoCache',['../dd/d7c/classshaka_1_1media_1_1IoCache.html',1,'shaka::media']]] + ['id3v2',['ID3v2',['../d3/dad/structshaka_1_1media_1_1mp4_1_1ID3v2.html',1,'shaka::media::mp4']]] ]; diff --git a/docs/search/classes_9.js b/docs/search/classes_9.js index 9d6c21f397..3e6220e5ed 100644 --- a/docs/search/classes_9.js +++ b/docs/search/classes_9.js @@ -2,6 +2,5 @@ var searchData= [ ['language',['Language',['../da/d1a/structshaka_1_1media_1_1mp4_1_1Language.html',1,'shaka::media::mp4']]], ['libcryptothreading',['LibcryptoThreading',['../d3/d51/classshaka_1_1media_1_1LibcryptoThreading.html',1,'shaka::media']]], - ['localfile',['LocalFile',['../d9/de6/classshaka_1_1media_1_1LocalFile.html',1,'shaka::media']]], ['longtermpicsinfo',['LongTermPicsInfo',['../d7/d9c/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html',1,'shaka::media::H265SliceHeader']]] ]; diff --git a/docs/search/classes_a.js b/docs/search/classes_a.js index 714d4a7f94..004e0dfa61 100644 --- a/docs/search/classes_a.js +++ b/docs/search/classes_a.js @@ -10,7 +10,6 @@ var searchData= ['mediaparser',['MediaParser',['../d3/d0a/classshaka_1_1media_1_1MediaParser.html',1,'shaka::media']]], ['mediaranges',['MediaRanges',['../d1/d03/structshaka_1_1media_1_1MuxerListener_1_1MediaRanges.html',1,'shaka::media::MuxerListener']]], ['mediasample',['MediaSample',['../d7/d6d/classshaka_1_1media_1_1MediaSample.html',1,'shaka::media']]], - ['memoryfile',['MemoryFile',['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html',1,'shaka::media']]], ['metadata',['Metadata',['../dd/df6/structshaka_1_1media_1_1mp4_1_1Metadata.html',1,'shaka::media::mp4']]], ['mkvwriter',['MkvWriter',['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html',1,'shaka::media']]], ['mockadaptationset',['MockAdaptationSet',['../db/d4b/classshaka_1_1MockAdaptationSet.html',1,'shaka']]], diff --git a/docs/search/functions_1.js b/docs/search/functions_1.js index 8bcf884bee..3fcadd3848 100644 --- a/docs/search/functions_1.js +++ b/docs/search/functions_1.js @@ -10,7 +10,5 @@ var searchData= ['buffer',['Buffer',['../dc/d41/classshaka_1_1media_1_1BufferWriter.html#ab3054a98a4ec27764c65511dc17a916d',1,'shaka::media::BufferWriter']]], ['bufferreader',['BufferReader',['../d9/d13/classshaka_1_1media_1_1BufferReader.html#a94771befc54d444630ade726689b7bf7',1,'shaka::media::BufferReader']]], ['bufferwriter',['BufferWriter',['../dc/d41/classshaka_1_1media_1_1BufferWriter.html#a01d91524fd5c5491bafcc1cff16db916',1,'shaka::media::BufferWriter']]], - ['bytescached',['BytesCached',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a385baed04dd0cc0d3dca20d78f61559f',1,'shaka::media::IoCache']]], - ['bytesfree',['BytesFree',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a74e1d7369afe4f03c551b6e67ec82ee9',1,'shaka::media::IoCache']]], ['bytesleft',['BytesLeft',['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#acf36e70bcb8c4ee7939835126ae9b98b',1,'shaka::media::mp4::BoxBuffer']]] ]; diff --git a/docs/search/functions_10.js b/docs/search/functions_10.js index 976810e8fc..73461f4f75 100644 --- a/docs/search/functions_10.js +++ b/docs/search/functions_10.js @@ -2,8 +2,6 @@ var searchData= [ ['tail',['tail',['../d9/df9/classshaka_1_1media_1_1OffsetByteQueue.html#ab1aa8f95daa784e4dc1ce34566cea164',1,'shaka::media::OffsetByteQueue']]], ['tailpos',['TailPos',['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html#a8a48278d994c0c170b408191d7d994b7',1,'shaka::media::ProducerConsumerQueue']]], - ['tell',['Tell',['../d3/d61/classshaka_1_1media_1_1File.html#a57dd80258b1989f85d99c154ba377db8',1,'shaka::media::File::Tell()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#ad8dd99ee399830616cd23869ed35d768',1,'shaka::media::LocalFile::Tell()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#a0346e0c4f961c06041efeaf43aee8f03',1,'shaka::media::MemoryFile::Tell()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#a23949d75527c8de9f02e749c7744f11e',1,'shaka::media::ThreadedIoFile::Tell()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#affb3b5c69847e5f40671e65a7110358c',1,'shaka::media::UdpFile::Tell()']]], - ['tempfilepath',['TempFilePath',['../d8/daf/namespaceshaka.html#a66e7e156c1f83435fb6c130803e48f62',1,'shaka']]], ['templatefilename',['TemplateFileName',['../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#afa2cdde90c04bf69301a9589faa7efd9',1,'shaka::media::SegmentTestBase']]], ['textstreaminfo',['TextStreamInfo',['../db/dab/classshaka_1_1media_1_1TextStreamInfo.html#a3e759066195689154ef2a8cf2825ea4b',1,'shaka::media::TextStreamInfo']]], ['tostring',['ToString',['../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#a7f94e51abcf522ff70e2456a8c8595df',1,'shaka::media::AudioStreamInfo::ToString()'],['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#aa3cbd9fee3a228403c3128be5141a614',1,'shaka::media::MediaSample::ToString()'],['../d5/db1/classshaka_1_1media_1_1StreamInfo.html#aa11d2fe5509ebfdc038aa3f2cdbbe00d',1,'shaka::media::StreamInfo::ToString()'],['../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a9cac8e75d76f1192a48d1dcf61435537',1,'shaka::media::VideoStreamInfo::ToString()'],['../dc/da1/classshaka_1_1MpdBuilder.html#af7eae5cc11141eed2b5451d969e57db6',1,'shaka::MpdBuilder::ToString()']]], diff --git a/docs/search/functions_11.js b/docs/search/functions_11.js index f3085e9fc9..42033a1f6e 100644 --- a/docs/search/functions_11.js +++ b/docs/search/functions_11.js @@ -1,6 +1,5 @@ var searchData= [ - ['udpfile',['UdpFile',['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a9668328623027330d9552f116d61ae86',1,'shaka::media::UdpFile']]], ['uint8vectortobase64',['Uint8VectorToBase64',['../d8/daf/namespaceshaka.html#a4c7f8f964fec2bb9543e7ee8da9cd994',1,'shaka']]], ['updatecontentprotectionpssh',['UpdateContentProtectionPssh',['../d8/d8e/classshaka_1_1AdaptationSet.html#ae8a28838bf1bbc1ad8f5b80961fe33c2',1,'shaka::AdaptationSet::UpdateContentProtectionPssh()'],['../de/d52/classshaka_1_1Representation.html#a3d17325903aa01f0c8ff7753d94ff330',1,'shaka::Representation::UpdateContentProtectionPssh()']]], ['updateiv',['UpdateIv',['../df/d87/classshaka_1_1media_1_1AesCryptor.html#a812dfc641212f8eb877ab153de7fbb37',1,'shaka::media::AesCryptor']]], diff --git a/docs/search/functions_13.js b/docs/search/functions_13.js index 943d8e68ad..496a12e2f9 100644 --- a/docs/search/functions_13.js +++ b/docs/search/functions_13.js @@ -1,12 +1,10 @@ var searchData= [ - ['waituntilemptyorclosed',['WaitUntilEmptyOrClosed',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a841a082bfd88280a4ea00ac1a9e64dac',1,'shaka::media::IoCache']]], ['webmclusterparser',['WebMClusterParser',['../da/de4/classshaka_1_1media_1_1WebMClusterParser.html#a34a1495f5080534a5c4acb1d82d0e756',1,'shaka::media::WebMClusterParser']]], ['webmlistparser',['WebMListParser',['../dc/dca/classshaka_1_1media_1_1WebMListParser.html#ac228770d1828937f8aa6becec23210e1',1,'shaka::media::WebMListParser']]], ['webmmuxer',['WebMMuxer',['../d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html#a17b47db217334b2ec328bdbf1a9c7e29',1,'shaka::media::webm::WebMMuxer']]], ['widevinekeysource',['WidevineKeySource',['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#a93480a98e423d0456482844ac629bd2e',1,'shaka::media::WidevineKeySource']]], - ['write',['Write',['../d3/d61/classshaka_1_1media_1_1File.html#a3149670c0d085e71f0aa085ee87fdda5',1,'shaka::media::File::Write()'],['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a0349796209c24a99bfe3c1bfdafb1d28',1,'shaka::media::IoCache::Write()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#ac23125695f0cfe77adee36df9650da8b',1,'shaka::media::LocalFile::Write()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#a429e316e7bf529acb3586df1cd02be64',1,'shaka::media::MemoryFile::Write()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#aa14502dd48c1c64329283f5f1340f60f',1,'shaka::media::ThreadedIoFile::Write()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a7039c2dbc214f755a9eaaab4d3e10cb9',1,'shaka::media::UdpFile::Write()'],['../d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html#a15bd0622fdb129d921287e690f117bde',1,'shaka::media::mp4::Box::Write()'],['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a2468514d1d9efdb15a9e4df2e44b75d8',1,'shaka::media::MkvWriter::Write()'],['../dc/d16/classshaka_1_1media_1_1SeekHead.html#a46313134eebf68a7c34187705726b982',1,'shaka::media::SeekHead::Write()']]], - ['writefileatomically',['WriteFileAtomically',['../d3/d61/classshaka_1_1media_1_1File.html#af8a35510dc88fbc352900b55da4683b6',1,'shaka::media::File']]], + ['write',['Write',['../d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html#a15bd0622fdb129d921287e690f117bde',1,'shaka::media::mp4::Box::Write()'],['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a2468514d1d9efdb15a9e4df2e44b75d8',1,'shaka::media::MkvWriter::Write()'],['../dc/d16/classshaka_1_1media_1_1SeekHead.html#a46313134eebf68a7c34187705726b982',1,'shaka::media::SeekHead::Write()']]], ['writefromfile',['WriteFromFile',['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#ab331684a758a93bf0c77fa224fe429ea',1,'shaka::media::MkvWriter::WriteFromFile(File *source)'],['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a2dfac99ec5531ca2e102e5b145bb29ed',1,'shaka::media::MkvWriter::WriteFromFile(File *source, int64_t max_copy)']]], ['writeheader',['WriteHeader',['../d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html#a57b8837c93d51f5cf03d3862069d509a',1,'shaka::media::mp4::Box']]], ['writemediainfotofile',['WriteMediaInfoToFile',['../db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html#ae0a573e1c785164f40bfbfba2ced6a16',1,'shaka::media::VodMediaInfoDumpMuxerListener']]], diff --git a/docs/search/functions_15.js b/docs/search/functions_15.js index ede4ada809..52ca3511a2 100644 --- a/docs/search/functions_15.js +++ b/docs/search/functions_15.js @@ -1,5 +1,4 @@ var searchData= [ - ['_7eclosurethread',['~ClosureThread',['../dc/df0/classshaka_1_1media_1_1ClosureThread.html#a811ad9bb9367c0ff74093c4a337d1398',1,'shaka::media::ClosureThread']]], - ['_7efile',['~File',['../d3/d61/classshaka_1_1media_1_1File.html#aeb5c0673c6d8120d636385a1ad3b3f71',1,'shaka::media::File']]] + ['_7eclosurethread',['~ClosureThread',['../dc/df0/classshaka_1_1media_1_1ClosureThread.html#a811ad9bb9367c0ff74093c4a337d1398',1,'shaka::media::ClosureThread']]] ]; diff --git a/docs/search/functions_2.js b/docs/search/functions_2.js index 1b485addfc..a2d062b8c7 100644 --- a/docs/search/functions_2.js +++ b/docs/search/functions_2.js @@ -4,11 +4,9 @@ var searchData= ['cancel',['Cancel',['../df/d46/classshaka_1_1media_1_1Muxer.html#a9204fe352d13cea8a367ae9c14e9639e',1,'shaka::media::Muxer::Cancel()'],['../dd/d17/classshaka_1_1media_1_1Demuxer.html#a117ba5528a92b0cf4752d15d3692e158',1,'shaka::media::Demuxer::Cancel()']]], ['childexist',['ChildExist',['../d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html#aa65236a6b94ac59d5da409412992211c',1,'shaka::media::mp4::BoxReader']]], ['chunkinfoiterator',['ChunkInfoIterator',['../d9/d57/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator.html#adae19e8f34f3f962e9858c67f984445d',1,'shaka::media::mp4::ChunkInfoIterator']]], - ['clear',['Clear',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a29080034b90671628ea681e10ea92a48',1,'shaka::media::IoCache']]], ['clearoutputstreamdatavector',['ClearOutputStreamDataVector',['../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#a7a600a18a6dec0d32b75c292dc634474',1,'shaka::media::MediaHandlerTestBase']]], ['clearsegmentpmt',['ClearSegmentPmt',['../dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html#abaf3df0bbb1b6ff5655d04b828d2889b',1,'shaka::media::mp2t::ProgramMapTableWriter::ClearSegmentPmt()'],['../de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html#a8f439af49b3144f892102c235fb51169',1,'shaka::media::mp2t::H264ProgramMapTableWriter::ClearSegmentPmt()'],['../d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html#aa6d50f3f1249bbf7c1d27608bfb9334f',1,'shaka::media::mp2t::AacProgramMapTableWriter::ClearSegmentPmt()']]], - ['close',['Close',['../d3/d61/classshaka_1_1media_1_1File.html#a2bfb0c180840356933652a795527b5c8',1,'shaka::media::File::Close()'],['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a23dfcb4d031d76e980e41d1b1bec7112',1,'shaka::media::IoCache::Close()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#a8bc11d5bf5ee05904620ab3816c6eaf4',1,'shaka::media::LocalFile::Close()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#ae6008d3d8401bd9eb561165e142afc6b',1,'shaka::media::MemoryFile::Close()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#a4a85d185a7eaa1abc857540ef703ab9a',1,'shaka::media::ThreadedIoFile::Close()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#aeff24fee715763b5a62edd0d3b3c114e',1,'shaka::media::UdpFile::Close()'],['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#af560b12e0298ca3dcd8f88fddff1443b',1,'shaka::media::MkvWriter::Close()']]], - ['closed',['closed',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#adc8aa1afaa3d4ef689e7f2b9ab0e5135',1,'shaka::media::IoCache']]], + ['close',['Close',['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#af560b12e0298ca3dcd8f88fddff1443b',1,'shaka::media::MkvWriter']]], ['closurethread',['ClosureThread',['../dc/df0/classshaka_1_1media_1_1ClosureThread.html#a480ff10ca3ff9de7f9ed9582d305281f',1,'shaka::media::ClosureThread']]], ['cluster_5fended',['cluster_ended',['../da/de4/classshaka_1_1media_1_1WebMClusterParser.html#a66f87fef54ed47bd36d740254d52b9c7',1,'shaka::media::WebMClusterParser']]], ['codec_5fconfig',['codec_config',['../db/dcb/classshaka_1_1media_1_1VPxParser.html#a79057bf3418757cc7d47c3979479220d',1,'shaka::media::VPxParser']]], @@ -19,8 +17,6 @@ var searchData= ['converttoadts',['ConvertToADTS',['../d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html#af0ab71e8365a6a93c63badc3150fdacd',1,'shaka::media::AACAudioSpecificConfig']]], ['convertunittobytestream',['ConvertUnitToByteStream',['../d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html#acde0ff823ed23fd3d8b8704cf243f3d5',1,'shaka::media::NalUnitToByteStreamConverter']]], ['convertunittobytestreamwithsubsamples',['ConvertUnitToByteStreamWithSubsamples',['../d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html#ae727e801c989d3ede17f1d1bd86a4ab4',1,'shaka::media::NalUnitToByteStreamConverter']]], - ['copy',['Copy',['../d3/d61/classshaka_1_1media_1_1File.html#afacdff207ba8359eaa029d8b1414c641',1,'shaka::media::File']]], - ['copyfile',['CopyFile',['../d3/d61/classshaka_1_1media_1_1File.html#a1c218b7f815bae0f48800b385ddce67e',1,'shaka::media::File::CopyFile(File *source, File *destination)'],['../d3/d61/classshaka_1_1media_1_1File.html#a9f5ebcd3bdebb7fb02a7a7adf378b344',1,'shaka::media::File::CopyFile(File *source, File *destination, int64_t max_copy)']]], ['copyfrom',['CopyFrom',['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#ad8975dbb21747ff32c8604f5489bf5c9',1,'shaka::media::MediaSample::CopyFrom(const uint8_t *data, size_t size, bool is_key_frame)'],['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#a910e68f46b9464e4ea36cf9cd5116b55',1,'shaka::media::MediaSample::CopyFrom(const uint8_t *data, size_t size, const uint8_t *side_data, size_t side_data_size, bool is_key_frame)'],['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#a311a7302af6405531ebafa04d877d160',1,'shaka::media::MediaSample::CopyFrom(const MediaSample &media_sample)']]], ['create',['Create',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#aebde54a272565d4b81a1139ea35fab63',1,'shaka::media::FixedKeySource::Create()'],['../d0/dce/classshaka_1_1media_1_1RsaPrivateKey.html#aef45d0014d7971b936ce3d0109935ba8',1,'shaka::media::RsaPrivateKey::Create()'],['../d9/d0c/classshaka_1_1media_1_1RsaPublicKey.html#aabe4a2f1541ca1e741305f58329e3881',1,'shaka::media::RsaPublicKey::Create()']]], ['createandinitializesegmenter',['CreateAndInitializeSegmenter',['../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a2efb1c40b8b7d569816e675876b1b614',1,'shaka::media::SegmentTestBase']]], diff --git a/docs/search/functions_3.js b/docs/search/functions_3.js index 4245bf8c31..ac3b0d5cbe 100644 --- a/docs/search/functions_3.js +++ b/docs/search/functions_3.js @@ -6,8 +6,6 @@ var searchData= ['decodingtimeiterator',['DecodingTimeIterator',['../d1/d20/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator.html#aa2b6f0a9697cfd606bfe95b5377c953e',1,'shaka::media::mp4::DecodingTimeIterator']]], ['decrypt',['Decrypt',['../d0/dce/classshaka_1_1media_1_1RsaPrivateKey.html#a89a475ffe2d96bfab09536b864038ca4',1,'shaka::media::RsaPrivateKey']]], ['decryptconfig',['DecryptConfig',['../de/d49/classshaka_1_1media_1_1DecryptConfig.html#a24035bb6edcb3aaaa9923bf385376ae5',1,'shaka::media::DecryptConfig::DecryptConfig(const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &iv, const std::vector< SubsampleEntry > &subsamples)'],['../de/d49/classshaka_1_1media_1_1DecryptConfig.html#ab2dfe0a2ee285539843ac55b5f1ac7c7',1,'shaka::media::DecryptConfig::DecryptConfig(const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &iv, const std::vector< SubsampleEntry > &subsamples, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block)']]], - ['delete',['Delete',['../d3/d61/classshaka_1_1media_1_1File.html#a92cdfd68e6384dfcc14c78b20c98368e',1,'shaka::media::File::Delete()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#aab9c8faf7e459f38e2f8fb2d63e5bd59',1,'shaka::media::LocalFile::Delete()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#a1079b0a5e919c79cbc97e28f11ac8a81',1,'shaka::media::MemoryFile::Delete()']]], - ['deleteall',['DeleteAll',['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#a79f4eedb79cd2251bca60c861eccf3ba',1,'shaka::media::MemoryFile']]], ['demuxer',['Demuxer',['../dd/d17/classshaka_1_1media_1_1Demuxer.html#ae2fee69f99e5815de4f686b24393402e',1,'shaka::media::Demuxer']]], ['dispatch',['Dispatch',['../da/dfd/classshaka_1_1media_1_1MediaHandler.html#accd62dd4def920571f95f4e1a98ab7ca',1,'shaka::media::MediaHandler']]], ['dispatchmediaevent',['DispatchMediaEvent',['../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a860716d6beae66729df7bb86b19aa81d',1,'shaka::media::MediaHandler']]], diff --git a/docs/search/functions_5.js b/docs/search/functions_5.js index 1bc1f46f17..bfc278b971 100644 --- a/docs/search/functions_5.js +++ b/docs/search/functions_5.js @@ -1,12 +1,11 @@ var searchData= [ ['fetchkeys',['FetchKeys',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a5cd8641873f213b826fc32e1c0026041',1,'shaka::media::FixedKeySource::FetchKeys()'],['../d7/de0/classshaka_1_1media_1_1HttpKeyFetcher.html#ab8e9b01fac00aa5dafb8983acd7a297b',1,'shaka::media::HttpKeyFetcher::FetchKeys()'],['../df/d66/classshaka_1_1media_1_1KeyFetcher.html#aa3c6011a0dd7c8e7f53dbaf48b92718d',1,'shaka::media::KeyFetcher::FetchKeys()'],['../d1/d1f/classshaka_1_1media_1_1KeySource.html#a38dc8e7c48f86e2b3ab3c1ffe0d7916f',1,'shaka::media::KeySource::FetchKeys()'],['../d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html#a6311482a3f3ddec70da595f0dc1580ae',1,'shaka::media::PlayReadyKeySource::FetchKeys()'],['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#aeea3e62921c176aa6be1f0a95f03b6cf',1,'shaka::media::WidevineKeySource::FetchKeys(EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data) override'],['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#a6fb9680be887d3b9367e015029f909f2',1,'shaka::media::WidevineKeySource::FetchKeys(const std::vector< uint8_t > &content_id, const std::string &policy)']]], - ['file_5fname',['file_name',['../d3/d61/classshaka_1_1media_1_1File.html#abe158b9e7b1e073956a16c55a8fcf5f4',1,'shaka::media::File']]], ['finalize',['Finalize',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#ac92da7c996e2a270fd704facc8f7a149',1,'shaka::media::mp2t::TsSegmenter::Finalize()'],['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a464a30159b8888a54254356d191947ac',1,'shaka::media::mp4::Segmenter::Finalize()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#aa84782877f1afaf9519a552ac3d5d417',1,'shaka::media::webm::Segmenter::Finalize()']]], ['finalizefragment',['FinalizeFragment',['../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#ae943e13eb86d54cffb7174d4513e4541',1,'shaka::media::mp4::Fragmenter']]], ['finalizesegment',['FinalizeSegment',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#ac0c76888b5c3b3a25600a3f126dc92f8',1,'shaka::media::mp2t::TsSegmenter::FinalizeSegment()'],['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#ae9979f940d7a07127709576aa1f766a1',1,'shaka::media::mp2t::TsWriter::FinalizeSegment()'],['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#af08c0f2dcab2f2c87e94f890cba71a70',1,'shaka::media::mp4::Segmenter::FinalizeSegment()'],['../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html#acadda71dd534ab0f6889ab653fbffe42',1,'shaka::media::webm::MultiSegmentSegmenter::FinalizeSegment()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a3c7123d6d9321c72d8bd737f1f9d3c01',1,'shaka::media::webm::Segmenter::FinalizeSegment()'],['../d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html#a7c34c5c8dacbe1a18444cdb6abce0a30',1,'shaka::media::webm::SingleSegmentSegmenter::FinalizeSegment()']]], ['findstartcodeinclearrange',['FindStartCodeInClearRange',['../db/d86/classshaka_1_1media_1_1NaluReader.html#aa14b3cd5da5657d8a3d0ecfdf301a184',1,'shaka::media::NaluReader']]], - ['flush',['Flush',['../d3/d0a/classshaka_1_1media_1_1MediaParser.html#a26752164d7e8ae6a9a894512291ad9cd',1,'shaka::media::MediaParser::Flush()'],['../d3/d61/classshaka_1_1media_1_1File.html#aba73e887fbfe2de3a679c679ddf03f4b',1,'shaka::media::File::Flush()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#ad09f01654ef3109b66e3fb5dd9730516',1,'shaka::media::LocalFile::Flush()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#abc1d0dc10b8ad719b92959c72c394b64',1,'shaka::media::MemoryFile::Flush()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#a4c8d46b1a16fba8bf4267c0a11fa856e',1,'shaka::media::ThreadedIoFile::Flush()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a66276fd0b6a7effe314ccd63e223d149',1,'shaka::media::UdpFile::Flush()'],['../d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#afdb1a88116e3347e67afeb7715847135',1,'shaka::media::mp2t::Mp2tMediaParser::Flush()'],['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#a71ea0819224b94ba9df5c951424bc6b1',1,'shaka::media::mp2t::PesPacketGenerator::Flush()'],['../d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html#a6f26e0d76aeda601fa87190901de27ea',1,'shaka::media::mp4::MP4MediaParser::Flush()'],['../da/de4/classshaka_1_1media_1_1WebMClusterParser.html#ac3d4be1a12667ed722915be727747eee',1,'shaka::media::WebMClusterParser::Flush()'],['../d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html#a6c2d4b5b36304831e637f7ae1b9e54a2',1,'shaka::media::WebMMediaParser::Flush()'],['../dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html#aa666cb1b9ee2ff940d9fc7efda4b50d7',1,'shaka::media::WebVttMediaParser::Flush()'],['../de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html#aa02d5ce7d9609b3841835fbab74b8c81',1,'shaka::media::WebVttSampleConverter::Flush()'],['../dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html#ac5680e3bd6cdb07fd65af3f39fce999a',1,'shaka::media::wvm::WvmMediaParser::Flush()'],['../d4/d70/classshaka_1_1DashIopMpdNotifier.html#ab3411eb75eedce9a26f0767210280e71',1,'shaka::DashIopMpdNotifier::Flush()'],['../d3/dd0/classshaka_1_1MpdNotifier.html#af8149126f4793506bef385d067561dbf',1,'shaka::MpdNotifier::Flush()'],['../d8/de1/classshaka_1_1SimpleMpdNotifier.html#a8ea622a21a5807775bb2d998fa04658f',1,'shaka::SimpleMpdNotifier::Flush()']]], + ['flush',['Flush',['../d3/d0a/classshaka_1_1media_1_1MediaParser.html#a26752164d7e8ae6a9a894512291ad9cd',1,'shaka::media::MediaParser::Flush()'],['../d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#afdb1a88116e3347e67afeb7715847135',1,'shaka::media::mp2t::Mp2tMediaParser::Flush()'],['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#a71ea0819224b94ba9df5c951424bc6b1',1,'shaka::media::mp2t::PesPacketGenerator::Flush()'],['../d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html#a6f26e0d76aeda601fa87190901de27ea',1,'shaka::media::mp4::MP4MediaParser::Flush()'],['../da/de4/classshaka_1_1media_1_1WebMClusterParser.html#ac3d4be1a12667ed722915be727747eee',1,'shaka::media::WebMClusterParser::Flush()'],['../d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html#a6c2d4b5b36304831e637f7ae1b9e54a2',1,'shaka::media::WebMMediaParser::Flush()'],['../dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html#aa666cb1b9ee2ff940d9fc7efda4b50d7',1,'shaka::media::WebVttMediaParser::Flush()'],['../de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html#aa02d5ce7d9609b3841835fbab74b8c81',1,'shaka::media::WebVttSampleConverter::Flush()'],['../dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html#ac5680e3bd6cdb07fd65af3f39fce999a',1,'shaka::media::wvm::WvmMediaParser::Flush()'],['../d4/d70/classshaka_1_1DashIopMpdNotifier.html#ab3411eb75eedce9a26f0767210280e71',1,'shaka::DashIopMpdNotifier::Flush()'],['../d3/dd0/classshaka_1_1MpdNotifier.html#af8149126f4793506bef385d067561dbf',1,'shaka::MpdNotifier::Flush()'],['../d8/de1/classshaka_1_1SimpleMpdNotifier.html#a8ea622a21a5807775bb2d998fa04658f',1,'shaka::SimpleMpdNotifier::Flush()']]], ['flushalldownstreams',['FlushAllDownstreams',['../da/dfd/classshaka_1_1media_1_1MediaHandler.html#ab644ca7b0a0dbcbc42936f2dfb979ca5',1,'shaka::media::MediaHandler']]], ['flushdownstream',['FlushDownstream',['../da/dfd/classshaka_1_1media_1_1MediaHandler.html#ad5001bf12073101a949b062943769f5b',1,'shaka::media::MediaHandler']]], ['forcesetsegmentalignment',['ForceSetSegmentAlignment',['../d8/d8e/classshaka_1_1AdaptationSet.html#a40532ecbed5f71de85bde0cb7eb1ef9d',1,'shaka::AdaptationSet']]], diff --git a/docs/search/functions_6.js b/docs/search/functions_6.js index ffa1cd9a52..0b1f05b1c8 100644 --- a/docs/search/functions_6.js +++ b/docs/search/functions_6.js @@ -18,7 +18,6 @@ var searchData= ['getdecryptconfig',['GetDecryptConfig',['../de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html#af1dbb0a9037617c2b80506ee161dfcfa',1,'shaka::media::mp4::TrackRunIterator']]], ['getduration',['GetDuration',['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a7283c64cb63a94264ff8fe405b8ce5c2',1,'shaka::media::mp4::Segmenter']]], ['getdurationinseconds',['GetDurationInSeconds',['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a6a2b5d9e2218abcace63e7aeee3da34f',1,'shaka::media::webm::Segmenter']]], - ['getfilesize',['GetFileSize',['../d3/d61/classshaka_1_1media_1_1File.html#a6981994874ee5832e3394744fd51fd79',1,'shaka::media::File']]], ['getheadersize',['GetHeaderSize',['../dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html#a3346c5afaf83a18cfcf688c36049d586',1,'shaka::media::VideoSliceHeaderParser::GetHeaderSize()'],['../da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html#a5957ea62985810662158c02a163aac60',1,'shaka::media::H264VideoSliceHeaderParser::GetHeaderSize()'],['../d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html#a54459b6748f64be2bd328c5af79798f3',1,'shaka::media::H265VideoSliceHeaderParser::GetHeaderSize()']]], ['getindexrange',['GetIndexRange',['../d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html#acd917150490f8e5721fad28904422eca',1,'shaka::media::mp4::MultiSegmentSegmenter::GetIndexRange()'],['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a7ab68d898343b322dc32c08ad42e859c',1,'shaka::media::mp4::Segmenter::GetIndexRange()'],['../d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html#a5877fd31ed73a048529385b36437364a',1,'shaka::media::mp4::SingleSegmentSegmenter::GetIndexRange()']]], ['getindexrangestartandend',['GetIndexRangeStartAndEnd',['../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html#a75b572a055a0de68bf2809f61b319526',1,'shaka::media::webm::MultiSegmentSegmenter::GetIndexRangeStartAndEnd()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a3a6c1932e6c4894a61eb7230022bceb5',1,'shaka::media::webm::Segmenter::GetIndexRangeStartAndEnd()'],['../d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html#a1708739c73c4565d5dfda6bedffd89a8',1,'shaka::media::webm::SingleSegmentSegmenter::GetIndexRangeStartAndEnd()']]], diff --git a/docs/search/functions_9.js b/docs/search/functions_9.js index 87e58cf197..2650f69044 100644 --- a/docs/search/functions_9.js +++ b/docs/search/functions_9.js @@ -3,6 +3,5 @@ var searchData= ['languagetoiso_5f639_5f2',['LanguageToISO_639_2',['../d8/daf/namespaceshaka.html#a05a31cd741e2ee18f1399284e921e527',1,'shaka']]], ['languagetoshortestform',['LanguageToShortestForm',['../d8/daf/namespaceshaka.html#a5f657931280fdf63cae2ed8a8f891288',1,'shaka']]], ['lastfirstchunk',['LastFirstChunk',['../d9/d57/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator.html#ae68681fe24bdf70b9f0c2d2e5610f32a',1,'shaka::media::mp4::ChunkInfoIterator']]], - ['loadmoov',['LoadMoov',['../d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html#af0ec1b44528a2997c0d548bee47862cf',1,'shaka::media::mp4::MP4MediaParser']]], - ['localfile',['LocalFile',['../d9/de6/classshaka_1_1media_1_1LocalFile.html#abb25b0c4dae0509458507d9afb83da0d',1,'shaka::media::LocalFile']]] + ['loadmoov',['LoadMoov',['../d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html#af0ec1b44528a2997c0d548bee47862cf',1,'shaka::media::mp4::MP4MediaParser']]] ]; diff --git a/docs/search/functions_c.js b/docs/search/functions_c.js index ba24c0aaa8..367fd7e33c 100644 --- a/docs/search/functions_c.js +++ b/docs/search/functions_c.js @@ -11,8 +11,7 @@ var searchData= ['onprogress',['OnProgress',['../d4/de6/classshaka_1_1media_1_1ProgressListener.html#a9c32e569c50194a106f7e9242749e7e7',1,'shaka::media::ProgressListener']]], ['onsampledurationready',['OnSampleDurationReady',['../d5/dfa/classshaka_1_1media_1_1HlsNotifyMuxerListener.html#ae6e2531350df353910b1d777427b822d',1,'shaka::media::HlsNotifyMuxerListener::OnSampleDurationReady()'],['../d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html#a3b0457b0147310ba07169cf84cfce2aa',1,'shaka::media::MpdNotifyMuxerListener::OnSampleDurationReady()'],['../dd/d7a/classshaka_1_1media_1_1MuxerListener.html#ad54aef6c349082d996a436ebea11eff2',1,'shaka::media::MuxerListener::OnSampleDurationReady()'],['../db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html#a25fc470ed18733954876a4d4256aacf9',1,'shaka::media::VodMediaInfoDumpMuxerListener::OnSampleDurationReady()']]], ['onsetframerateforrepresentation',['OnSetFrameRateForRepresentation',['../d8/d8e/classshaka_1_1AdaptationSet.html#a37904780833b552b7f95f124ffd10456',1,'shaka::AdaptationSet::OnSetFrameRateForRepresentation()'],['../df/d94/classshaka_1_1RepresentationStateChangeListener.html#a64bc6f8299a1479c85f294f8ab3f6819',1,'shaka::RepresentationStateChangeListener::OnSetFrameRateForRepresentation()']]], - ['open',['Open',['../d3/d61/classshaka_1_1media_1_1File.html#a921efa1c8f7978e3b5aac33d648b0250',1,'shaka::media::File::Open(const char *file_name, const char *mode)'],['../d3/d61/classshaka_1_1media_1_1File.html#aad6b77e734bb22d077ece029c9e735a4',1,'shaka::media::File::Open()=0'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#a73844c50f00e8427233038abf45425a7',1,'shaka::media::LocalFile::Open()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#a3b376ae2d03aac9c950c608b55af1f91',1,'shaka::media::MemoryFile::Open()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#ae3db248116be393b18d70bb27f6aeb68',1,'shaka::media::ThreadedIoFile::Open()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a67890562cd5864afdffeb7326af91df0',1,'shaka::media::UdpFile::Open()'],['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a9490dbf4bc02903484acb68f038f7fe2',1,'shaka::media::MkvWriter::Open()']]], - ['openwithnobuffering',['OpenWithNoBuffering',['../d3/d61/classshaka_1_1media_1_1File.html#ad1e9fc834093c8b35c0f8c1957974fda',1,'shaka::media::File']]], + ['open',['Open',['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a9490dbf4bc02903484acb68f038f7fe2',1,'shaka::media::MkvWriter']]], ['optimizesampleentries',['OptimizeSampleEntries',['../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#a208b7b8dd83e73c4206469695a3216d4',1,'shaka::media::mp4::Fragmenter']]], ['outputfilename',['OutputFileName',['../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#ace8082bd6dcd3aa07177c648f6ad7ecf',1,'shaka::media::SegmentTestBase']]] ]; diff --git a/docs/search/functions_d.js b/docs/search/functions_d.js index 1aaeb8228e..12018edbe8 100644 --- a/docs/search/functions_d.js +++ b/docs/search/functions_d.js @@ -4,7 +4,6 @@ var searchData= ['parseboxes',['ParseBoxes',['../d0/dd4/classshaka_1_1media_1_1ProtectionSystemSpecificInfo.html#aa984e27d2655a451ea87ff0a4ddd8b79',1,'shaka::media::ProtectionSystemSpecificInfo']]], ['parsefrombuffer',['ParseFromBuffer',['../d6/dcb/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry.html#a247ca9987470a6c724f1e099a78d3460',1,'shaka::media::mp4::SampleEncryptionEntry']]], ['parsefromsampleencryptiondata',['ParseFromSampleEncryptionData',['../d4/dad/structshaka_1_1media_1_1mp4_1_1SampleEncryption.html#a0498009b07beb46e029c65bfb55fc741',1,'shaka::media::mp4::SampleEncryption']]], - ['parsefromstring',['ParseFromString',['../d4/d8e/classshaka_1_1media_1_1UdpOptions.html#a0f105a42c4f852f083827892138a4f25',1,'shaka::media::UdpOptions']]], ['parsemp4',['ParseMP4',['../d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html#aac5eac6e0a62201dcb68fd3f084bb281',1,'shaka::media::VPCodecConfigurationRecord']]], ['parsepps',['ParsePps',['../de/dc2/classshaka_1_1media_1_1H265Parser.html#a222c85ac46e908c8478304f2be769d6d',1,'shaka::media::H265Parser']]], ['parsesliceheader',['ParseSliceHeader',['../de/dc2/classshaka_1_1media_1_1H265Parser.html#ae94e80774a60cc7b9cfdb7503f5047fe',1,'shaka::media::H265Parser']]], diff --git a/docs/search/functions_e.js b/docs/search/functions_e.js index ef856098ff..35ed2d59aa 100644 --- a/docs/search/functions_e.js +++ b/docs/search/functions_e.js @@ -1,6 +1,5 @@ var searchData= [ - ['read',['Read',['../d3/d61/classshaka_1_1media_1_1File.html#aed0c0793fd8751330583314a4d3012b9',1,'shaka::media::File::Read()'],['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a3cb864f866af25f0ff92c367946b0945',1,'shaka::media::IoCache::Read()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#a65a1abae386202a08deb5bfa8aeef7c1',1,'shaka::media::LocalFile::Read()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#aac5f63ba0bb136eac2260a034edc10cf',1,'shaka::media::MemoryFile::Read()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#a5bd05e37779441004cd7ba0c33de1ad6',1,'shaka::media::ThreadedIoFile::Read()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a9e6387d6c23e6cfd7a91ed432fe3e81c',1,'shaka::media::UdpFile::Read()']]], ['read1',['Read1',['../d9/d13/classshaka_1_1media_1_1BufferReader.html#a65b65ad5a5ebc9d66182c38ec9876c05',1,'shaka::media::BufferReader']]], ['readallchildren',['ReadAllChildren',['../d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html#a8b5c7d5a487fb3063eae1495aa3a7566',1,'shaka::media::mp4::BoxReader']]], ['readbits',['ReadBits',['../d6/da9/classshaka_1_1media_1_1BitReader.html#ae40382c4ca4a57b3bb3531a337aebbe4',1,'shaka::media::BitReader']]], @@ -8,7 +7,6 @@ var searchData= ['readchild',['ReadChild',['../d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html#a68defcd9be85bbd5cbded3bee86aa03a',1,'shaka::media::mp4::BoxReader']]], ['readchildren',['ReadChildren',['../d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html#aedb3a49da398833cda1caa1ad01a364a',1,'shaka::media::mp4::BoxReader']]], ['reader',['reader',['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a6e7c1f50071b52d7f68e094f0401d3d9',1,'shaka::media::mp4::BoxBuffer']]], - ['readfiletostring',['ReadFileToString',['../d3/d61/classshaka_1_1media_1_1File.html#a622dbc8abacebb40b816aa0174ba7c60',1,'shaka::media::File']]], ['reading',['Reading',['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a6f952858fff424e19a05d64f485d3952',1,'shaka::media::mp4::BoxBuffer']]], ['readnbytesinto8',['ReadNBytesInto8',['../d9/d13/classshaka_1_1media_1_1BufferReader.html#ac98c6631c07300a6b78ec58bfd4ced30',1,'shaka::media::BufferReader']]], ['readwrite',['ReadWrite',['../d6/dcb/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry.html#ac32331c506252793b4447940abbeafd9',1,'shaka::media::mp4::SampleEncryptionEntry']]], @@ -18,7 +16,6 @@ var searchData= ['readwriteuint64nbytes',['ReadWriteUInt64NBytes',['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a53c6b6a9bce0bb0fa61b9ce95c3f5cef',1,'shaka::media::mp4::BoxBuffer']]], ['readysamplessize',['ReadySamplesSize',['../de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html#a3b0e60f307c5ea57d232216eced6af76',1,'shaka::media::WebVttSampleConverter']]], ['release',['Release',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ae5cb2c3000ccbd53c0a1867db0b8a2d0',1,'shaka::xml::XmlNode']]], - ['reopen',['Reopen',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#ae751faea047196ba2770f5bf90649185',1,'shaka::media::IoCache']]], ['representation',['Representation',['../de/d52/classshaka_1_1Representation.html#a997138fcaa5deef5151a64a2d7ce6aeb',1,'shaka::Representation']]], ['reset',['Reset',['../d7/dda/classshaka_1_1media_1_1ByteQueue.html#ab1659ef71098c37e9fb4e55ab1664e84',1,'shaka::media::ByteQueue::Reset()'],['../d3/d7c/classshaka_1_1media_1_1WebMAudioClient.html#afd1a338848c52dc4db79d89ae13b6ea6',1,'shaka::media::WebMAudioClient::Reset()'],['../da/de4/classshaka_1_1media_1_1WebMClusterParser.html#abb306c3299a7279125b8f321ef5bbc94',1,'shaka::media::WebMClusterParser::Reset()'],['../dc/dca/classshaka_1_1media_1_1WebMListParser.html#a4ebac4e1a4165017d206d4aa5c4c0350',1,'shaka::media::WebMListParser::Reset()'],['../d3/d67/classshaka_1_1media_1_1WebMVideoClient.html#af3ad16a6046f60abf43a798747fc1edc',1,'shaka::media::WebMVideoClient::Reset()']]], ['run',['Run',['../dc/df0/classshaka_1_1media_1_1ClosureThread.html#a2c95d317c0b83b66ac7991c3506dc4e7',1,'shaka::media::ClosureThread::Run()'],['../dd/d17/classshaka_1_1media_1_1Demuxer.html#a9e0b4a430603fdf4639c2153622ae1a2',1,'shaka::media::Demuxer::Run()']]] diff --git a/docs/search/functions_f.js b/docs/search/functions_f.js index 9630bc74c9..0d92583b3e 100644 --- a/docs/search/functions_f.js +++ b/docs/search/functions_f.js @@ -8,7 +8,6 @@ var searchData= ['samples_5fper_5fchunk',['samples_per_chunk',['../d9/d57/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator.html#a3c754606cca8bf0bf7862b18c8eac15c',1,'shaka::media::mp4::ChunkInfoIterator']]], ['sbr_5fpresent',['sbr_present',['../d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html#a90903a46b77c23c0896283ec5493d0ef',1,'shaka::media::AACAudioSpecificConfig']]], ['scanchildren',['ScanChildren',['../d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html#acc5a55985f95b73ac64c9eab7bd09242',1,'shaka::media::mp4::BoxReader']]], - ['seek',['Seek',['../d3/d61/classshaka_1_1media_1_1File.html#a3baaa3207abaeb6af1a8239ee866b5d3',1,'shaka::media::File::Seek()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#a6cb6e6bf3a47fbcda6d759ff4f551939',1,'shaka::media::LocalFile::Seek()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#af99f8c96589175e9a2f386e6a2ed4f35',1,'shaka::media::MemoryFile::Seek()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#a4a30faf9c8e8b367bcfebb7b642d73e7',1,'shaka::media::ThreadedIoFile::Seek()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a78fa34d29e01054536a19eaac7ed51c4',1,'shaka::media::UdpFile::Seek()']]], ['seekable',['Seekable',['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a8d0429e7922752db3f01d43e6340465a',1,'shaka::media::MkvWriter']]], ['set_5fclock',['set_clock',['../df/d46/classshaka_1_1media_1_1Muxer.html#a3cc7feaee9a2c3a7d0569cb9c67c8c68',1,'shaka::media::Muxer']]], ['set_5fdts',['set_dts',['../d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html#a9917d625989f0eaac93fec12fec8dca0',1,'shaka::media::mp2t::PesPacket']]], @@ -40,7 +39,7 @@ var searchData= ['settswriterfileopenedfortesting',['SetTsWriterFileOpenedForTesting',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#a34ab9fbaee43115d68be87e4b9e90918',1,'shaka::media::mp2t::TsSegmenter']]], ['setupgraph',['SetUpGraph',['../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#a7ab44361bc98f2a9e32a9510388dbd70',1,'shaka::media::MediaHandlerTestBase']]], ['signalencrypted',['SignalEncrypted',['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#afc47f61bce7cd4f8f6a6ea0ec2c96d4c',1,'shaka::media::mp2t::TsWriter']]], - ['size',['Size',['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html#a4f2483c665f2693f583e7b467101d844',1,'shaka::media::ProducerConsumerQueue::Size()'],['../d3/d61/classshaka_1_1media_1_1File.html#adffa2c3d12ae0a579704cf1f5b3bf8ab',1,'shaka::media::File::Size()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#a4cc3427bb01a0989de7711b2a004a099',1,'shaka::media::LocalFile::Size()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#ad52955a976c16b910dde372fe33b7b0d',1,'shaka::media::MemoryFile::Size()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#ac8c1f49d9e7ff55b1484129240c065f3',1,'shaka::media::ThreadedIoFile::Size()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a852424c6982850686f0419e84e222708',1,'shaka::media::UdpFile::Size()'],['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a90fe62338ba20817d27cf4e34949000e',1,'shaka::media::mp4::BoxBuffer::Size()']]], + ['size',['Size',['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html#a4f2483c665f2693f583e7b467101d844',1,'shaka::media::ProducerConsumerQueue::Size()'],['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a90fe62338ba20817d27cf4e34949000e',1,'shaka::media::mp4::BoxBuffer::Size()']]], ['skipbits',['SkipBits',['../d6/da9/classshaka_1_1media_1_1BitReader.html#a4ab20ef220c76072eaecb982aba0541d',1,'shaka::media::BitReader']]], ['skipbitsconditional',['SkipBitsConditional',['../d6/da9/classshaka_1_1media_1_1BitReader.html#a98bbbbc849a3fadc1a136662174d470e',1,'shaka::media::BitReader']]], ['skipbytes',['SkipBytes',['../d6/da9/classshaka_1_1media_1_1BitReader.html#a7d349253d5cc8f9aa33f1ca2ea94677c',1,'shaka::media::BitReader::SkipBytes()'],['../d9/d13/classshaka_1_1media_1_1BufferReader.html#a2b15dfcd6ff891a9cb7b76f48d91d15d',1,'shaka::media::BufferReader::SkipBytes()']]], diff --git a/docs/search/search.js b/docs/search/search.js index be1d7ff9a0..9a64314bb1 100644 --- a/docs/search/search.js +++ b/docs/search/search.js @@ -8,7 +8,7 @@ var indexSectionsWithContent = { 0: "abcdefghiklmnoprstuvwx~", - 1: "abcdefhiklmnoprstuvwx", + 1: "abcdefhiklmnoprstvwx", 2: "s", 3: "abcdefghilmnoprstuvwx~", 4: "bcikmnopstv",