diff --git a/docs/annotated.html b/docs/annotated.html
index 0707638224..5675bc5c58 100644
--- a/docs/annotated.html
+++ b/docs/annotated.html
@@ -371,7 +371,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/classes.html b/docs/classes.html
index cdb0676034..ec2114281f 100644
--- a/docs/classes.html
+++ b/docs/classes.html
@@ -146,8 +146,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
CodecConfiguration (shaka::media::mp4) | H264SEIRecoveryPoint (shaka::media) | MpdNotifyMuxerListener (shaka::media) | SegmentTestBase (shaka::media) | WebMClusterParser (shaka::media) |
CompactSampleSize (shaka::media::mp4) | H264SliceHeader (shaka::media) | MpdOptions (shaka) | SegmentType (shaka::media::mp4) | WebMContentEncodingsClient (shaka::media) |
CompositionOffset (shaka::media::mp4) | H264Sps (shaka::media) | MpdWriter (shaka) | SimpleMpdNotifier (shaka) | WebMInfoParser (shaka::media) |
-CompositionOffsetIterator (shaka::media::mp4) | H264VideoSliceHeaderParser (shaka::media) | MultiSegmentSegmenter (shaka::media::webm) | SingleSegmentSegmenter (shaka::media::mp4) | WebMListParser (shaka::media) |
-CompositionTimeToSample (shaka::media::mp4) | H264WeightingFactors (shaka::media) | MultiSegmentSegmenter (shaka::media::mp4) | SingleSegmentSegmenter (shaka::media::webm) | WebMMediaParser (shaka::media) |
+CompositionOffsetIterator (shaka::media::mp4) | H264VideoSliceHeaderParser (shaka::media) | MultiSegmentSegmenter (shaka::media::mp4) | SingleSegmentSegmenter (shaka::media::mp4) | WebMListParser (shaka::media) |
+CompositionTimeToSample (shaka::media::mp4) | H264WeightingFactors (shaka::media) | MultiSegmentSegmenter (shaka::media::webm) | SingleSegmentSegmenter (shaka::media::webm) | WebMMediaParser (shaka::media) |
ContentEncoding (shaka::media) | H265ByteToUnitStreamConverter (shaka::media) | Muxer (shaka::media) | SoundMediaHeader (shaka::media::mp4) | WebMMuxer (shaka::media::webm) |
ContentProtectionElement (shaka) | H265Parser (shaka::media) | MuxerListener (shaka::media) | Status (shaka::media) | WebMParserClient (shaka::media) |
ContinuityCounter (shaka::media::mp2t) | H265Pps (shaka::media) | MuxerOptions (shaka::media) | StreamDescriptor (shaka::media) | WebMTracksParser (shaka::media) |
@@ -179,7 +179,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
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 cfe6fde644..30efaab59d 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 b0468547d6..4c5c10f18b 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 7935fac607..a121ee0807 100644
--- a/docs/d0/d06/mpd__flags_8cc_source.html
+++ b/docs/d0/d06/mpd__flags_8cc_source.html
@@ -140,7 +140,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 bbe95e6b84..d77bd37437 100644
--- a/docs/d0/d0e/classshaka_1_1media_1_1HttpKeyFetcher-members.html
+++ b/docs/d0/d0e/classshaka_1_1media_1_1HttpKeyFetcher-members.html
@@ -104,7 +104,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 f386439816..a20c33051c 100644
--- a/docs/d0/d0e/hevc__decoder__configuration__record_8h_source.html
+++ b/docs/d0/d0e/hevc__decoder__configuration__record_8h_source.html
@@ -138,7 +138,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 9d6d2712b7..7b5873ccf6 100644
--- a/docs/d0/d0e/muxer__options_8h_source.html
+++ b/docs/d0/d0e/muxer__options_8h_source.html
@@ -152,7 +152,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 86058f99ec..04233926cd 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 9ab8868c51..50db0a5d9c 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/d1e/classshaka_1_1media_1_1H265ByteToUnitStreamConverter-members.html b/docs/d0/d1e/classshaka_1_1media_1_1H265ByteToUnitStreamConverter-members.html
index 8adfb49e84..334f423248 100644
--- a/docs/d0/d1e/classshaka_1_1media_1_1H265ByteToUnitStreamConverter-members.html
+++ b/docs/d0/d1e/classshaka_1_1media_1_1H265ByteToUnitStreamConverter-members.html
@@ -103,7 +103,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 1fb7410764..93c0d0e2ba 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 82c95ad79f..05b116dddf 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 54a8a102fe..be2ae06ca0 100644
--- a/docs/d0/d27/structshaka_1_1media_1_1MuxerOptions.html
+++ b/docs/d0/d27/structshaka_1_1media_1_1MuxerOptions.html
@@ -291,7 +291,7 @@ bool | webm_subsample_encryp
diff --git a/docs/d0/d30/mock__mpd__notifier_8h_source.html b/docs/d0/d30/mock__mpd__notifier_8h_source.html
index d2933aaa1b..2bc75ad240 100644
--- a/docs/d0/d30/mock__mpd__notifier_8h_source.html
+++ b/docs/d0/d30/mock__mpd__notifier_8h_source.html
@@ -148,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d0/d32/mp2t__common_8h_source.html b/docs/d0/d32/mp2t__common_8h_source.html
index 24a521f431..2790cfe849 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 5b182b9375..853f1aea1b 100644
--- a/docs/d0/d33/classshaka_1_1MockRepresentation.html
+++ b/docs/d0/d33/classshaka_1_1MockRepresentation.html
@@ -147,8 +147,8 @@ Additional Inherited Members |
}
|
- | Representation (const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, scoped_ptr< RepresentationStateChangeListener > state_change_listener) |
- |
+ | Representation (const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, std::unique_ptr< RepresentationStateChangeListener > state_change_listener) |
+ |
@@ -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 36caf287c7..5d6f645b04 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 ae12467279..ff0a2ec038 100644
--- a/docs/d0/d3a/hls__notify__muxer__listener_8cc_source.html
+++ b/docs/d0/d3a/hls__notify__muxer__listener_8cc_source.html
@@ -95,8 +95,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #include "packager/media/event/hls_notify_muxer_listener.h"
- 9 #include "packager/base/logging.h"
- 10 #include "packager/base/memory/scoped_ptr.h"
+
+ 10 #include "packager/base/logging.h"
11 #include "packager/hls/base/hls_notifier.h"
12 #include "packager/media/base/muxer_options.h"
13 #include "packager/media/base/protection_system_specific_info.h"
@@ -220,7 +220,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 86d77f8ae1..819ae268d3 100644
--- a/docs/d0/d3a/webm__constants_8h_source.html
+++ b/docs/d0/d3a/webm__constants_8h_source.html
@@ -318,7 +318,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 e09b6b9bd8..d1cb73076e 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 8e88d9ac69..13490630c1 100644
--- a/docs/d0/d42/aes__cryptor_8h_source.html
+++ b/docs/d0/d42/aes__cryptor_8h_source.html
@@ -96,11 +96,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef PACKAGER_MEDIA_BASE_AES_CRYPTOR_H_
8 #define PACKAGER_MEDIA_BASE_AES_CRYPTOR_H_
-
-
-
- 13 #include "packager/base/macros.h"
- 14 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+
+ 14 #include "packager/base/macros.h"
15 #include "packager/media/base/fourccs.h"
@@ -182,7 +182,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
119 virtual size_t NumPaddingBytes(
size_t size)
const;
- 122 scoped_ptr<AES_KEY> aes_key_;
+ 122 std::unique_ptr<AES_KEY> aes_key_;
@@ -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 86a26c0f4f..71da3a039a 100644
--- a/docs/d0/d42/widevine__encryption__flags_8cc_source.html
+++ b/docs/d0/d42/widevine__encryption__flags_8cc_source.html
@@ -258,7 +258,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 c306bc165b..694b50178b 100644
--- a/docs/d0/d46/fourccs_8h_source.html
+++ b/docs/d0/d46/fourccs_8h_source.html
@@ -248,7 +248,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 dcca1fae1a..d77ea21606 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
@@ -237,7 +237,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 d6e0b7a7d4..8620314e77 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/d4d/classshaka_1_1media_1_1AudioTimestampHelper.html b/docs/d0/d4d/classshaka_1_1media_1_1AudioTimestampHelper.html
index f97c4435fd..2b2b4e0fbc 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 e4d699f01e..f63a24e095 100644
--- a/docs/d0/d4e/libcrypto__threading_8cc_source.html
+++ b/docs/d0/d4e/libcrypto__threading_8cc_source.html
@@ -97,10 +97,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 #include <openssl/thread.h>
-
-
- 13 #include "packager/base/logging.h"
- 14 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+ 14 #include "packager/base/logging.h"
15 #include "packager/base/synchronization/lock.h"
16 #include "packager/base/threading/platform_thread.h"
@@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 23 scoped_ptr<base::Lock[]> global_locks;
+ 23 std::unique_ptr<base::Lock[]> global_locks;
25 void LockFunction( int mode, int n, const char* file, int line) {
26 VLOG(2) << "CryptoLock @ " << file << ":" << line;
@@ -143,7 +143,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 773a7694f2..9433623cc3 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
@@ -108,8 +108,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Run() | shaka::media::Muxer | |
set_clock(base::Clock *clock) | shaka::media::Muxer | inline |
SetKeySource(KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds, double crypto_period_duration_in_seconds, FourCC protection_scheme) | shaka::media::Muxer | |
- SetMuxerListener(scoped_ptr< MuxerListener > muxer_listener) | shaka::media::Muxer | |
- SetProgressListener(scoped_ptr< ProgressListener > progress_listener) | shaka::media::Muxer | |
+ SetMuxerListener(std::unique_ptr< MuxerListener > muxer_listener) | shaka::media::Muxer | |
+ SetProgressListener(std::unique_ptr< ProgressListener > progress_listener) | shaka::media::Muxer | |
streams() const (defined in shaka::media::Muxer) | shaka::media::Muxer | inline |
TsMuxer(const MuxerOptions &muxer_options) (defined in shaka::media::mp2t::TsMuxer) | shaka::media::mp2t::TsMuxer | explicit |
~Muxer() (defined in shaka::media::Muxer) | shaka::media::Muxer | virtual |
@@ -117,7 +117,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 990f0be8eb..f54f0f21fe 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
index 003a734d53..50244c3823 100644
--- a/docs/d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html
+++ b/docs/d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html
@@ -119,9 +119,9 @@ Public Types |
|
-
- | ThreadedIoFile (scoped_ptr< File, FileCloser > internal_file, Mode mode, uint64_t io_cache_size, uint64_t io_block_size) |
- |
+
+ | ThreadedIoFile (std::unique_ptr< File, FileCloser > internal_file, Mode mode, uint64_t io_cache_size, uint64_t io_block_size) |
+ |
|
bool | Close () override |
|
@@ -438,7 +438,7 @@ Additional Inherited Members
diff --git a/docs/d0/d6a/classshaka_1_1media_1_1StreamDescriptorCompareFn-members.html b/docs/d0/d6a/classshaka_1_1media_1_1StreamDescriptorCompareFn-members.html
index b00c10ceb5..4b96f74bac 100644
--- a/docs/d0/d6a/classshaka_1_1media_1_1StreamDescriptorCompareFn-members.html
+++ b/docs/d0/d6a/classshaka_1_1media_1_1StreamDescriptorCompareFn-members.html
@@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 c3550523cd..b55d688e47 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 864ab200fe..cb36021b3c 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 bb2ebea8c7..83ce809735 100644
--- a/docs/d0/d7d/decryptor__source_8h_source.html
+++ b/docs/d0/d7d/decryptor__source_8h_source.html
@@ -128,12 +128,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
40 #endif // MEDIA_BASE_DECRYPTOR_SOURCE_H_
-
+
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 be616c849d..881dee00a3 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/d80/classshaka_1_1media_1_1Status-members.html b/docs/d0/d80/classshaka_1_1media_1_1Status-members.html
index cf763e7033..026ed5f468 100644
--- a/docs/d0/d80/classshaka_1_1media_1_1Status-members.html
+++ b/docs/d0/d80/classshaka_1_1media_1_1Status-members.html
@@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d0/d93/classshaka_1_1media_1_1Status.html b/docs/d0/d93/classshaka_1_1media_1_1Status.html
index 44c5007ec8..f2b9451b36 100644
--- a/docs/d0/d93/classshaka_1_1media_1_1Status.html
+++ b/docs/d0/d93/classshaka_1_1media_1_1Status.html
@@ -302,7 +302,7 @@ static const
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 bf529c8c02..79799ea0af 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 5c637790c5..d1af6bc134 100644
--- a/docs/d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html
+++ b/docs/d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html
@@ -329,7 +329,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 01bcf087f9..a0b8b71b5e 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 ab777f73b6..7cbfbfdc92 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 ca9a844967..454eeedf3d 100644
--- a/docs/d0/da6/stream__descriptor_8cc_source.html
+++ b/docs/d0/da6/stream__descriptor_8cc_source.html
@@ -295,7 +295,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 f151d4fbc3..b290d299fb 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
@@ -107,18 +107,18 @@ Inheritance diagram for shaka::media::mp4::SingleSegmentSegmenter:
|
-
- | SingleSegmentSegmenter (const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov) |
- |
+
+ | SingleSegmentSegmenter (const MuxerOptions &options, std::unique_ptr< FileType > ftyp, std::unique_ptr< Movie > moov) |
+ |
|
bool | GetInitRange (size_t *offset, size_t *size) override |
|
bool | GetIndexRange (size_t *offset, size_t *size) override |
|
-
- | Segmenter (const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov) |
- |
+
+ | Segmenter (const MuxerOptions &options, std::unique_ptr< FileType > ftyp, std::unique_ptr< Movie > moov) |
+ |
Status | Initialize (const std::vector< MediaStream * > &streams, MuxerListener *muxer_listener, ProgressListener *progress_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds, double crypto_period_duration_in_seconds, FourCC protection_scheme) |
|
Status | Finalize () |
@@ -259,7 +259,7 @@ void set_progress_target
diff --git a/docs/d0/dac/classshaka_1_1media_1_1FixedKeySource.html b/docs/d0/dac/classshaka_1_1media_1_1FixedKeySource.html
index ba4a8c2f66..29d7102961 100644
--- a/docs/d0/dac/classshaka_1_1media_1_1FixedKeySource.html
+++ b/docs/d0/dac/classshaka_1_1media_1_1FixedKeySource.html
@@ -126,8 +126,9 @@ Public Member Functions |
|
-static scoped_ptr< FixedKeySource > | CreateFromHexStrings (const std::string &key_id_hex, const std::string &key_hex, const std::string &pssh_boxes_hex, const std::string &iv_hex) |
- |
+static std::unique_ptr
+< FixedKeySource > | CreateFromHexStrings (const std::string &key_id_hex, const std::string &key_hex, const std::string &pssh_boxes_hex, const std::string &iv_hex) |
+ |
static TrackType | GetTrackTypeFromString (const std::string &track_type_string) |
@@ -158,7 +159,7 @@ Additional Inherited Members
Definition at line 27 of file fixed_key_source.h.
-
+
@@ -166,7 +167,7 @@ Additional Inherited Members
- scoped_ptr< FixedKeySource > shaka::media::FixedKeySource::CreateFromHexStrings |
+ std::unique_ptr< FixedKeySource > shaka::media::FixedKeySource::CreateFromHexStrings |
( |
const std::string & |
key_id_hex, |
@@ -479,7 +480,7 @@ Additional Inherited Members
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 3b731e2620..673a57d9c3 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
@@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
cluster_length_sec() const (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
cues() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
DoFinalize() override (defined in shaka::media::webm::MultiSegmentSegmenter) | shaka::media::webm::MultiSegmentSegmenter | protectedvirtual |
- DoInitialize(scoped_ptr< MkvWriter > writer) override (defined in shaka::media::webm::MultiSegmentSegmenter) | shaka::media::webm::MultiSegmentSegmenter | protectedvirtual |
+ DoInitialize(std::unique_ptr< MkvWriter > writer) override (defined in shaka::media::webm::MultiSegmentSegmenter) | shaka::media::webm::MultiSegmentSegmenter | protectedvirtual |
Finalize() | shaka::media::webm::Segmenter | |
FromBMFFTimescale(uint64_t time_timescale) | shaka::media::webm::Segmenter | protected |
FromWebMTimecode(uint64_t time_webm_timecode) | shaka::media::webm::Segmenter | protected |
@@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
GetIndexRangeStartAndEnd(uint64_t *start, uint64_t *end) override | shaka::media::webm::MultiSegmentSegmenter | virtual |
GetInitRangeStartAndEnd(uint64_t *start, uint64_t *end) override | shaka::media::webm::MultiSegmentSegmenter | virtual |
info() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
- Initialize(scoped_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) | shaka::media::webm::Segmenter | |
+ Initialize(std::unique_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) | shaka::media::webm::Segmenter | |
MultiSegmentSegmenter(const MuxerOptions &options) (defined in shaka::media::webm::MultiSegmentSegmenter) | shaka::media::webm::MultiSegmentSegmenter | explicit |
muxer_listener() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
options() const (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
@@ -123,7 +123,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 b9afe818a2..be267167c3 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 bbe5b73886..a29021be83 100644
--- a/docs/d0/dc8/classshaka_1_1xml_1_1AdaptationSetXmlNode-members.html
+++ b/docs/d0/dc8/classshaka_1_1xml_1_1AdaptationSetXmlNode-members.html
@@ -114,7 +114,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 68e582cafa..b104525eba 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 ee0ca93eac..dce21294c7 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 4c797c8411..b33ff48ec4 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 d94092cd46..7ee3d8a786 100644
--- a/docs/d0/dd6/webm__crypto__helpers_8cc_source.html
+++ b/docs/d0/dd6/webm__crypto__helpers_8cc_source.html
@@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
32 const uint8_t* key_id,
- 34 scoped_ptr<DecryptConfig>* decrypt_config,
+ 34 std::unique_ptr<DecryptConfig>* decrypt_config,
36 int header_size = kWebMSignalByteSize;
37 if (data_size < header_size) {
@@ -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 38ea8a6398..7b6e27290b 100644
--- a/docs/d0/dd8/classshaka_1_1media_1_1AesCtrEncryptor.html
+++ b/docs/d0/dd8/classshaka_1_1media_1_1AesCtrEncryptor.html
@@ -157,7 +157,7 @@ AES_KEY * mutable_aes_key<
- Definition at line 43 of file aes_encryptor.h.
+ Definition at line 42 of file aes_encryptor.h.
The documentation for this class was generated from the following files: | 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 413fa2eff5..1ff20da4f2 100644
--- a/docs/d0/dee/segmenter__test__base_8h_source.html
+++ b/docs/d0/dee/segmenter__test__base_8h_source.html
@@ -100,10 +100,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
12 #include "packager/media/base/media_sample.h"
13 #include "packager/media/base/muxer_options.h"
- 14 #include "packager/media/base/video_stream_info.h"
- 15 #include "packager/media/base/status.h"
- 16 #include "packager/media/base/stream_info.h"
- 17 #include "packager/media/base/test/status_test_util.h"
+ 14 #include "packager/media/base/status.h"
+ 15 #include "packager/media/base/stream_info.h"
+ 16 #include "packager/media/base/test/status_test_util.h"
+ 17 #include "packager/media/base/video_stream_info.h"
18 #include "packager/media/file/file_closer.h"
19 #include "packager/media/file/file_test_util.h"
20 #include "packager/media/file/memory_file.h"
@@ -132,82 +132,83 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
43 void TearDown() override;
-
-
-
- 50 scoped_ptr<webm::Segmenter>* result) const {
- 51 scoped_ptr<S> segmenter( new S(options));
-
- 53 scoped_ptr<MkvWriter> writer( new MkvWriter());
-
- 55 ASSERT_OK(segmenter->Initialize(
- 56 writer.Pass(), info, NULL ,
- 57 NULL , key_source, 0 ,
-
- 59 *result = segmenter.Pass();
-
-
- 63 scoped_refptr<MediaSample> CreateSample(KeyFrameFlag key_frame_flag,
-
- 65 SideDataFlag side_data_flag);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 85 void PopulateFromCluster( const std::string& file_name);
- 86 void PopulateFromSegment( const std::string& file_name);
-
- 88 int GetFrameCountForCluster( size_t i) const;
-
- 90 int cluster_count() const;
-
-
-
-
- 95 bool OnListEnd( int id) override;
- 96 bool OnUInt( int id, int64_t val) override;
- 97 bool OnFloat( int id, double val) override;
- 98 bool OnBinary( int id, const uint8_t* data, int size) override;
- 99 bool OnString( int id, const std::string& str) override;
-
-
- 102 std::vector<int> cluster_sizes_;
-
-
-
-
- 107 std::string output_file_name_;
- 108 std::string segment_template_;
- 109 uint64_t cur_time_timescale_;
- 110 bool single_segment_;
-
-
-
-
-
- 116 #endif // MEDIA_FORMATS_WEBM_SEGMENTER_TEST_UTILS_H_
-
+
+
+
+
+ 51 std::unique_ptr<webm::Segmenter>* result) const {
+ 52 std::unique_ptr<S> segmenter( new S(options));
+
+ 54 std::unique_ptr<MkvWriter> writer( new MkvWriter());
+
+ 56 ASSERT_OK(segmenter->Initialize(
+ 57 std::move(writer), info, NULL ,
+ 58 NULL , key_source, 0 ,
+
+ 60 *result = std::move(segmenter);
+
+
+ 64 scoped_refptr<MediaSample> CreateSample(KeyFrameFlag key_frame_flag,
+
+ 66 SideDataFlag side_data_flag);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 86 void PopulateFromCluster( const std::string& file_name);
+ 87 void PopulateFromSegment( const std::string& file_name);
+
+ 89 int GetFrameCountForCluster( size_t i) const;
+
+ 91 int cluster_count() const;
+
+
+
+
+ 96 bool OnListEnd( int id) override;
+ 97 bool OnUInt( int id, int64_t val) override;
+ 98 bool OnFloat( int id, double val) override;
+ 99 bool OnBinary( int id, const uint8_t* data, int size) override;
+ 100 bool OnString( int id, const std::string& str) override;
+
+
+ 103 std::vector<int> cluster_sizes_;
+
+
+
+
+ 108 std::string output_file_name_;
+ 109 std::string segment_template_;
+ 110 uint64_t cur_time_timescale_;
+ 111 bool single_segment_;
+
+
+
+
+
+ 117 #endif // MEDIA_FORMATS_WEBM_SEGMENTER_TEST_UTILS_H_
+
-
+
-
+
@@ -215,7 +216,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 0367dfbd02..547cd0d6c4 100644
--- a/docs/d0/df3/packager__util_8cc_source.html
+++ b/docs/d0/df3/packager__util_8cc_source.html
@@ -131,8 +131,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
42 printf( "Stream [%zu] %s\n", i, streams[i]->info()->ToString().c_str());
- 45 scoped_ptr<RequestSigner> CreateSigner() {
- 46 scoped_ptr<RequestSigner> signer;
+ 45 std::unique_ptr<RequestSigner> CreateSigner() {
+ 46 std::unique_ptr<RequestSigner> signer;
48 if (!FLAGS_aes_signing_key.empty()) {
@@ -141,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
52 LOG(ERROR) << "Cannot create an AES signer object from '"
53 << FLAGS_aes_signing_key << "':'" << FLAGS_aes_signing_iv
- 55 return scoped_ptr<RequestSigner>();
+ 55 return std::unique_ptr<RequestSigner>();
57 } else if (!FLAGS_rsa_signing_key_path.empty()) {
58 std::string rsa_private_key;
@@ -149,69 +149,69 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
61 LOG(ERROR) << "Failed to read from '" << FLAGS_rsa_signing_key_path
- 63 return scoped_ptr<RequestSigner>();
+ 63 return std::unique_ptr<RequestSigner>();
67 LOG(ERROR) << "Cannot create a RSA signer object from '"
68 << FLAGS_rsa_signing_key_path << "'.";
- 69 return scoped_ptr<RequestSigner>();
+ 69 return std::unique_ptr<RequestSigner>();
-
+
- 75 scoped_ptr<KeySource> CreateEncryptionKeySource() {
- 76 scoped_ptr<KeySource> encryption_key_source;
+ 75 std::unique_ptr<KeySource> CreateEncryptionKeySource() {
+ 76 std::unique_ptr<KeySource> encryption_key_source;
77 if (FLAGS_enable_widevine_encryption) {
- 78 scoped_ptr<WidevineKeySource> widevine_key_source(
+ 78 std::unique_ptr<WidevineKeySource> widevine_key_source(
79 new WidevineKeySource(FLAGS_key_server_url, FLAGS_include_common_pssh));
80 if (!FLAGS_signer.empty()) {
- 81 scoped_ptr<RequestSigner> request_signer(CreateSigner());
+ 81 std::unique_ptr<RequestSigner> request_signer(CreateSigner());
- 83 return scoped_ptr<KeySource>();
- 84 widevine_key_source->set_signer(request_signer.Pass());
+ 83 return std::unique_ptr<KeySource>();
+ 84 widevine_key_source->set_signer(std::move(request_signer));
87 std::vector<uint8_t> content_id;
88 if (!base::HexStringToBytes(FLAGS_content_id, &content_id)) {
89 LOG(ERROR) << "Invalid content_id hex string specified.";
- 90 return scoped_ptr<KeySource>();
+ 90 return std::unique_ptr<KeySource>();
92 Status status = widevine_key_source->FetchKeys(content_id, FLAGS_policy);
94 LOG(ERROR) << "Widevine encryption key source failed to fetch keys: "
- 96 return scoped_ptr<KeySource>();
+ 96 return std::unique_ptr<KeySource>();
- 98 encryption_key_source = widevine_key_source.Pass();
+ 98 encryption_key_source = std::move(widevine_key_source);
99 } else if (FLAGS_enable_fixed_key_encryption) {
-
+
101 FLAGS_key_id, FLAGS_key, FLAGS_pssh, FLAGS_iv);
- 103 return encryption_key_source.Pass();
+ 103 return encryption_key_source;
- 106 scoped_ptr<KeySource> CreateDecryptionKeySource() {
- 107 scoped_ptr<KeySource> decryption_key_source;
+ 106 std::unique_ptr<KeySource> CreateDecryptionKeySource() {
+ 107 std::unique_ptr<KeySource> decryption_key_source;
108 if (FLAGS_enable_widevine_decryption) {
- 109 scoped_ptr<WidevineKeySource> widevine_key_source(
+ 109 std::unique_ptr<WidevineKeySource> widevine_key_source(
110 new WidevineKeySource(FLAGS_key_server_url, FLAGS_include_common_pssh));
111 if (!FLAGS_signer.empty()) {
- 112 scoped_ptr<RequestSigner> request_signer(CreateSigner());
+ 112 std::unique_ptr<RequestSigner> request_signer(CreateSigner());
- 114 return scoped_ptr<KeySource>();
- 115 widevine_key_source->set_signer(request_signer.Pass());
+ 114 return std::unique_ptr<KeySource>();
+ 115 widevine_key_source->set_signer(std::move(request_signer));
- 118 decryption_key_source = widevine_key_source.Pass();
+ 118 decryption_key_source = std::move(widevine_key_source);
119 } else if (FLAGS_enable_fixed_key_decryption) {
120 const char kNoPssh[] = "";
121 const char kNoIv[] = "";
-
+
123 FLAGS_key_id, FLAGS_key, kNoPssh, kNoIv);
- 125 return decryption_key_source.Pass();
+ 125 return decryption_key_source;
128 bool AssignFlagsFromProfile() {
@@ -327,14 +327,14 @@ 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 2afbcff108..206dad7bdb 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/d0a/classshaka_1_1media_1_1MkvWriter.html b/docs/d1/d0a/classshaka_1_1media_1_1MkvWriter.html
index a4d46ff4d6..503e756663 100644
--- a/docs/d1/d0a/classshaka_1_1media_1_1MkvWriter.html
+++ b/docs/d1/d0a/classshaka_1_1media_1_1MkvWriter.html
@@ -376,7 +376,7 @@ Public Member Functions |
diff --git a/docs/d1/d0a/structshaka_1_1media_1_1H264Sps.html b/docs/d1/d0a/structshaka_1_1media_1_1H264Sps.html
index a2aa78ad80..5d696f4310 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 0dfface23d..550ecf9afd 100644
--- a/docs/d1/d0b/hevc__decoder__configuration__record_8cc_source.html
+++ b/docs/d1/d0b/hevc__decoder__configuration__record_8cc_source.html
@@ -256,7 +256,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 979d429d91..72252fdb6c 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
@@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
| EmitSampleCB typedef (defined in shaka::media::mp2t::EsParser) | shaka::media::mp2t::EsParser | |
EsParser(uint32_t pid) (defined in shaka::media::mp2t::EsParser) | shaka::media::mp2t::EsParser | inline |
EsParserH264(uint32_t pid, const NewStreamInfoCB &new_stream_info_cb, const EmitSampleCB &emit_sample_cb) (defined in shaka::media::mp2t::EsParserH264) | shaka::media::mp2t::EsParserH264 | |
- EsParserH26x(Nalu::CodecType type, scoped_ptr< H26xByteToUnitStreamConverter > stream_converter, uint32_t pid, const EmitSampleCB &emit_sample_cb) (defined in shaka::media::mp2t::EsParserH26x) | shaka::media::mp2t::EsParserH26x | |
+ EsParserH26x(Nalu::CodecType type, std::unique_ptr< H26xByteToUnitStreamConverter > stream_converter, uint32_t pid, const EmitSampleCB &emit_sample_cb) (defined in shaka::media::mp2t::EsParserH26x) | shaka::media::mp2t::EsParserH26x | |
Flush() override (defined in shaka::media::mp2t::EsParserH26x) | shaka::media::mp2t::EsParserH26x | virtual |
NewStreamInfoCB typedef (defined in shaka::media::mp2t::EsParser) | shaka::media::mp2t::EsParser | |
Parse(const uint8_t *buf, int size, int64_t pts, int64_t dts) override (defined in shaka::media::mp2t::EsParserH26x) | shaka::media::mp2t::EsParserH26x | virtual |
@@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d1/d13/status_8h_source.html b/docs/d1/d13/status_8h_source.html
index c654e6680c..40619c5c6d 100644
--- a/docs/d1/d13/status_8h_source.html
+++ b/docs/d1/d13/status_8h_source.html
@@ -239,7 +239,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 f116367d19..4a5e478630 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
@@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
49 bool ReadSkip(File* file, int64_t byte_count) {
50 const int64_t kBufferSize = 0x40000;
- 51 scoped_ptr<char[]> buffer(
new char[kBufferSize]);
+ 51 std::unique_ptr<char[]> buffer(
new char[kBufferSize]);
52 int64_t bytes_read = 0;
53 while (bytes_read < byte_count) {
54 int64_t size = std::min(kBufferSize, byte_count - bytes_read);
@@ -160,21 +160,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
73 TwoPassSingleSegmentSegmenter::~TwoPassSingleSegmentSegmenter() {}
-
- 76 TwoPassSingleSegmentSegmenter::DoInitialize(scoped_ptr<MkvWriter> writer) {
+ 75 Status TwoPassSingleSegmentSegmenter::DoInitialize(
+ 76 std::unique_ptr<MkvWriter> writer) {
79 set_progress_target(info()->duration() * 2);
- 81 real_writer_ = writer.Pass();
+ 81 real_writer_ = std::move(writer);
83 temp_file_name_ = TempFileName(options());
- 84 scoped_ptr<MkvWriter> temp(
new MkvWriter);
+ 84 std::unique_ptr<MkvWriter> temp(
new MkvWriter);
85 Status status = temp->Open(temp_file_name_);
- 89 return SingleSegmentSegmenter::DoInitialize(temp.Pass());
+ 89 return SingleSegmentSegmenter::DoInitialize(std::move(temp));
92 Status TwoPassSingleSegmentSegmenter::DoFinalize() {
@@ -182,7 +182,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
94 return Status(error::FILE_FAILURE,
"Error finalizing cluster.");
- 97 uint64_t cues_pos = writer()->Position();
+ 97 uint64_t cues_pos = writer()->
Position();
98 set_index_start(cues_pos);
99 seek_head()->set_cues_pos(cues_pos - segment_payload_pos());
100 if (!cues()->Write(writer()))
@@ -194,8 +194,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 109 set_writer(scoped_ptr<MkvWriter>());
- 110 scoped_ptr<File, FileCloser> temp_reader(
+ 109 set_writer(std::unique_ptr<MkvWriter>());
+ 110 std::unique_ptr<File, FileCloser> temp_reader(
113 return Status(error::FILE_FAILURE,
"Error opening temp file.");
@@ -272,11 +272,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
+
diff --git a/docs/d1/d1d/muxer__flags_8cc_source.html b/docs/d1/d1d/muxer__flags_8cc_source.html
index d665a4200c..e10d54be59 100644
--- a/docs/d1/d1d/muxer__flags_8cc_source.html
+++ b/docs/d1/d1d/muxer__flags_8cc_source.html
@@ -144,7 +144,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 b2be8da973..9d39ca5872 100644
--- a/docs/d1/d1f/classshaka_1_1media_1_1KeySource.html
+++ b/docs/d1/d1f/classshaka_1_1media_1_1KeySource.html
@@ -154,7 +154,7 @@ static std::string
KeySource is responsible for encryption key acquisition.
- Definition at line 31 of file key_source.h.
+ Definition at line 30 of file key_source.h.
@@ -407,7 +407,7 @@ static std::string |
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 681068cf26..e9089c897e 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/d27/key__fetcher_8h_source.html b/docs/d1/d27/key__fetcher_8h_source.html
index 79511962c5..dd19ab191c 100644
--- a/docs/d1/d27/key__fetcher_8h_source.html
+++ b/docs/d1/d27/key__fetcher_8h_source.html
@@ -126,7 +126,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 c93dd9c39e..24fc6074f8 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 813406ebf4..558c55c1d6 100644
--- a/docs/d1/d2a/decryptor__source_8cc_source.html
+++ b/docs/d1/d2a/decryptor__source_8cc_source.html
@@ -129,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 43 scoped_ptr<AesCryptor> aes_decryptor;
+ 43 std::unique_ptr<AesCryptor> aes_decryptor;
44 switch (decrypt_config->protection_scheme()) {
46 aes_decryptor.reset(
new AesCtrDecryptor);
@@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
54 decrypt_config->skip_byte_block(),
56 AesCryptor::kDontUseConstantIv,
- 57 scoped_ptr<AesCryptor>(
new AesCtrDecryptor())));
+ 57 std::unique_ptr<AesCryptor>(
new AesCtrDecryptor())));
60 aes_decryptor.reset(
new AesPatternCryptor(
@@ -151,7 +151,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
62 decrypt_config->skip_byte_block(),
64 AesCryptor::kUseConstantIv,
- 65 scoped_ptr<AesCryptor>(
new AesCbcDecryptor(kNoPadding))));
+ 65 std::unique_ptr<AesCryptor>(
new AesCbcDecryptor(kNoPadding))));
68 LOG(ERROR) <<
"Unsupported protection scheme: "
@@ -204,12 +204,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
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 73dbf3f65d..b40f4a1428 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 07a5ec443e..9876ac6d7e 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 823253361e..a4c6c00ff7 100644
--- a/docs/d1/d2f/webvtt__media__parser_8cc_source.html
+++ b/docs/d1/d2f/webvtt__media__parser_8cc_source.html
@@ -480,15 +480,15 @@ 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 2069b0d146..6e9a0fb782 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
@@ -105,9 +105,9 @@ Inheritance diagram for shaka::media::mp2t::TsSectionPes:
|
-
- | TsSectionPes (scoped_ptr< EsParser > es_parser) |
- |
+
+ | TsSectionPes (std::unique_ptr< EsParser > es_parser) |
+ |
bool | Parse (bool payload_unit_start_indicator, const uint8_t *buf, int size) override |
|
@@ -134,7 +134,7 @@ Additional Inherited Members
-
Definition at line 21 of file ts_section_pes.h.
+
Definition at line 20 of file ts_section_pes.h.
The documentation for this class was generated from the following files:
diff --git a/docs/d1/d31/classshaka_1_1xml_1_1XmlNode.html b/docs/d1/d31/classshaka_1_1xml_1_1XmlNode.html
index 8a5655e61c..6062cd72d7 100644
--- a/docs/d1/d31/classshaka_1_1xml_1_1XmlNode.html
+++ b/docs/d1/d31/classshaka_1_1xml_1_1XmlNode.html
@@ -137,7 +137,7 @@ bool
These classes are wrapper classes for XML elements for generating MPD. None of the pointer parameters should be NULL. None of the methods are meant to be overridden.
- Definition at line 31 of file xml_node.h.
+ Definition at line 32 of file xml_node.h.
@@ -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 3e57b35c1d..8ce9fc3ce9 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/d37/es__parser__h264_8h_source.html b/docs/d1/d37/es__parser__h264_8h_source.html
index b0135bdc04..dfea6fa374 100644
--- a/docs/d1/d37/es__parser__h264_8h_source.html
+++ b/docs/d1/d37/es__parser__h264_8h_source.html
@@ -95,65 +95,64 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
6 #define MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
-
+
10 #include "packager/base/callback.h"
- 11 #include "packager/base/memory/scoped_ptr.h"
- 12 #include "packager/media/formats/mp2t/es_parser_h26x.h"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 29 const NewStreamInfoCB& new_stream_info_cb,
- 30 const EmitSampleCB& emit_sample_cb);
-
-
-
- 34 void Reset() override;
-
-
-
-
- 39 bool ProcessNalu( const Nalu& nalu,
-
- 41 int* pps_id_for_access_unit) override;
-
-
-
- 45 bool UpdateVideoDecoderConfig( int sps_id) override;
-
-
- 48 NewStreamInfoCB new_stream_info_cb_;
-
- 50 scoped_refptr<StreamInfo> last_video_decoder_config_;
- 51 bool decoder_config_check_pending_;
-
- 53 scoped_ptr<H264Parser> h264_parser_;
-
-
-
-
-
-
-
-
+ 11 #include "packager/media/formats/mp2t/es_parser_h26x.h"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 28 const NewStreamInfoCB& new_stream_info_cb,
+ 29 const EmitSampleCB& emit_sample_cb);
+
+
+
+ 33 void Reset() override;
+
+
+
+
+ 38 bool ProcessNalu( const Nalu& nalu,
+
+ 40 int* pps_id_for_access_unit) override;
+
+
+
+ 44 bool UpdateVideoDecoderConfig( int sps_id) override;
+
+
+ 47 NewStreamInfoCB new_stream_info_cb_;
+
+ 49 scoped_refptr<StreamInfo> last_video_decoder_config_;
+ 50 bool decoder_config_check_pending_;
+
+ 52 std::unique_ptr<H264Parser> h264_parser_;
+
+
+
+
+
+
+
+
diff --git a/docs/d1/d3b/mpd__generator__flags_8h_source.html b/docs/d1/d3b/mpd__generator__flags_8h_source.html
index f9305028eb..a5a5c94888 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 e2f19c3d1a..968f61aca4 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 27b9ba0afb..d7a42eb378 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 2a5d813adf..5fb1dcae1d 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 202f1b1545..32111a2d42 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 d772ecb481..536a57ec8b 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 352d849414..c2a79788ec 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 09ead9c12c..05f9a816eb 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 06826660a2..9f43def213 100644
--- a/docs/d1/d70/vp8__parser_8cc_source.html
+++ b/docs/d1/d70/vp8__parser_8cc_source.html
@@ -293,7 +293,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 f90c77ff93..a419888342 100644
--- a/docs/d1/d72/language__utils_8cc_source.html
+++ b/docs/d1/d72/language__utils_8cc_source.html
@@ -226,7 +226,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 affad580e0..afced796d7 100644
--- a/docs/d1/d74/mp2t__media__parser_8cc_source.html
+++ b/docs/d1/d74/mp2t__media__parser_8cc_source.html
@@ -93,8 +93,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 #include "packager/media/formats/mp2t/mp2t_media_parser.h"
- 7 #include "packager/base/bind.h"
- 8 #include "packager/base/memory/scoped_ptr.h"
+
+ 8 #include "packager/base/bind.h"
9 #include "packager/base/stl_util.h"
10 #include "packager/media/base/media_sample.h"
11 #include "packager/media/base/stream_info.h"
@@ -130,197 +130,197 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 44 PidState(
int pid, PidType pid_type,
- 45 scoped_ptr<TsSection> section_parser);
-
-
-
- 49 bool PushTsPacket(
const TsPacket& ts_packet);
-
-
-
-
-
-
-
-
-
-
- 60 bool IsEnabled()
const;
-
- 62 PidType pid_type()
const {
return pid_type_; }
-
- 64 scoped_refptr<StreamInfo>& config() {
return config_; }
- 65 void set_config(
const scoped_refptr<StreamInfo>& config) { config_ = config; }
-
- 67 SampleQueue& sample_queue() {
return sample_queue_; }
-
-
-
-
-
-
- 74 scoped_ptr<TsSection> section_parser_;
-
-
- 77 int continuity_counter_;
- 78 scoped_refptr<StreamInfo> config_;
- 79 SampleQueue sample_queue_;
-
-
- 82 PidState::PidState(
int pid, PidType pid_type,
- 83 scoped_ptr<TsSection> section_parser)
-
-
- 86 section_parser_(section_parser.Pass()),
-
- 88 continuity_counter_(-1) {
- 89 DCHECK(section_parser_);
-
-
- 92 bool PidState::PushTsPacket(
const TsPacket& ts_packet) {
- 93 DCHECK_EQ(ts_packet.pid(), pid_);
-
-
-
-
-
-
- 100 int expected_continuity_counter = (continuity_counter_ + 1) % 16;
- 101 if (continuity_counter_ >= 0 &&
- 102 ts_packet.continuity_counter() != expected_continuity_counter) {
- 103 DVLOG(1) <<
"TS discontinuity detected for pid: " << pid_;
-
-
-
-
- 108 bool status = section_parser_->Parse(
- 109 ts_packet.payload_unit_start_indicator(),
-
- 111 ts_packet.payload_size());
-
-
-
-
- 116 DVLOG(1) <<
"Parsing failed for pid = " << pid_;
-
-
-
-
-
-
- 123 void PidState::Flush() {
- 124 section_parser_->Flush();
-
-
-
- 128 void PidState::Enable() {
-
-
-
- 132 void PidState::Disable() {
-
-
-
-
-
-
-
- 140 bool PidState::IsEnabled()
const {
-
-
-
- 144 void PidState::ResetState() {
- 145 section_parser_->Reset();
- 146 continuity_counter_ = -1;
-
-
- 149 Mp2tMediaParser::Mp2tMediaParser()
- 150 : sbr_in_mimetype_(false),
- 151 is_initialized_(false) {
-
-
- 154 Mp2tMediaParser::~Mp2tMediaParser() {
- 155 STLDeleteValues(&pids_);
-
-
-
- 159 const InitCB& init_cb,
- 160 const NewSampleCB& new_sample_cb,
-
- 162 DCHECK(!is_initialized_);
- 163 DCHECK(init_cb_.is_null());
- 164 DCHECK(!init_cb.is_null());
- 165 DCHECK(!new_sample_cb.is_null());
-
-
- 168 new_sample_cb_ = new_sample_cb;
-
-
-
- 172 DVLOG(1) <<
"Mp2tMediaParser::Flush";
-
-
- 175 for (std::map<int, PidState*>::iterator it = pids_.begin();
- 176 it != pids_.end(); ++it) {
- 177 DVLOG(1) <<
"Flushing PID: " << it->first;
- 178 PidState* pid_state = it->second;
-
-
- 181 bool result = EmitRemainingSamples();
- 182 STLDeleteValues(&pids_);
-
-
-
- 186 ts_byte_queue_.
Reset();
-
-
-
-
- 191 DVLOG(1) <<
"Mp2tMediaParser::Parse size=" << size;
-
-
- 194 ts_byte_queue_.
Push(buf, size);
-
-
- 197 const uint8_t* ts_buffer;
-
- 199 ts_byte_queue_.
Peek(&ts_buffer, &ts_buffer_size);
- 200 if (ts_buffer_size < TsPacket::kPacketSize)
-
-
-
- 204 int skipped_bytes = TsPacket::Sync(ts_buffer, ts_buffer_size);
- 205 if (skipped_bytes > 0) {
- 206 DVLOG(1) <<
"Packet not aligned on a TS syncword:"
- 207 <<
" skipped_bytes=" << skipped_bytes;
- 208 ts_byte_queue_.
Pop(skipped_bytes);
-
-
-
-
- 213 scoped_ptr<TsPacket> ts_packet(TsPacket::Parse(ts_buffer, ts_buffer_size));
-
- 215 DVLOG(1) <<
"Error: invalid TS packet";
- 216 ts_byte_queue_.
Pop(1);
-
-
-
- 220 <<
"Processing PID=" << ts_packet->pid()
- 221 <<
" start_unit=" << ts_packet->payload_unit_start_indicator();
-
-
- 224 std::map<int, PidState*>::iterator it = pids_.find(ts_packet->pid());
- 225 if (it == pids_.end() &&
- 226 ts_packet->pid() == TsSection::kPidPat) {
-
- 228 scoped_ptr<TsSection> pat_section_parser(
-
- 230 base::Bind(&Mp2tMediaParser::RegisterPmt,
- 231 base::Unretained(
this))));
- 232 scoped_ptr<PidState> pat_pid_state(
- 233 new PidState(ts_packet->pid(), PidState::kPidPat,
- 234 pat_section_parser.Pass()));
+
+
+ 46 std::unique_ptr<TsSection> section_parser);
+
+
+
+ 50 bool PushTsPacket(
const TsPacket& ts_packet);
+
+
+
+
+
+
+
+
+
+
+ 61 bool IsEnabled()
const;
+
+ 63 PidType pid_type()
const {
return pid_type_; }
+
+ 65 scoped_refptr<StreamInfo>& config() {
return config_; }
+ 66 void set_config(
const scoped_refptr<StreamInfo>& config) { config_ = config; }
+
+ 68 SampleQueue& sample_queue() {
return sample_queue_; }
+
+
+
+
+
+
+ 75 std::unique_ptr<TsSection> section_parser_;
+
+
+ 78 int continuity_counter_;
+ 79 scoped_refptr<StreamInfo> config_;
+ 80 SampleQueue sample_queue_;
+
+
+ 83 PidState::PidState(
int pid,
+
+ 85 std::unique_ptr<TsSection> section_parser)
+
+
+ 88 section_parser_(std::move(section_parser)),
+
+ 90 continuity_counter_(-1) {
+ 91 DCHECK(section_parser_);
+
+
+ 94 bool PidState::PushTsPacket(
const TsPacket& ts_packet) {
+ 95 DCHECK_EQ(ts_packet.pid(), pid_);
+
+
+
+
+
+
+ 102 int expected_continuity_counter = (continuity_counter_ + 1) % 16;
+ 103 if (continuity_counter_ >= 0 &&
+ 104 ts_packet.continuity_counter() != expected_continuity_counter) {
+ 105 DVLOG(1) <<
"TS discontinuity detected for pid: " << pid_;
+
+
+
+
+ 110 bool status = section_parser_->Parse(
+ 111 ts_packet.payload_unit_start_indicator(),
+
+ 113 ts_packet.payload_size());
+
+
+
+
+ 118 DVLOG(1) <<
"Parsing failed for pid = " << pid_;
+
+
+
+
+
+
+ 125 void PidState::Flush() {
+ 126 section_parser_->Flush();
+
+
+
+ 130 void PidState::Enable() {
+
+
+
+ 134 void PidState::Disable() {
+
+
+
+
+
+
+
+ 142 bool PidState::IsEnabled()
const {
+
+
+
+ 146 void PidState::ResetState() {
+ 147 section_parser_->Reset();
+ 148 continuity_counter_ = -1;
+
+
+ 151 Mp2tMediaParser::Mp2tMediaParser()
+ 152 : sbr_in_mimetype_(false),
+ 153 is_initialized_(false) {
+
+
+ 156 Mp2tMediaParser::~Mp2tMediaParser() {
+ 157 STLDeleteValues(&pids_);
+
+
+
+ 161 const InitCB& init_cb,
+ 162 const NewSampleCB& new_sample_cb,
+
+ 164 DCHECK(!is_initialized_);
+ 165 DCHECK(init_cb_.is_null());
+ 166 DCHECK(!init_cb.is_null());
+ 167 DCHECK(!new_sample_cb.is_null());
+
+
+ 170 new_sample_cb_ = new_sample_cb;
+
+
+
+ 174 DVLOG(1) <<
"Mp2tMediaParser::Flush";
+
+
+ 177 for (std::map<int, PidState*>::iterator it = pids_.begin();
+ 178 it != pids_.end(); ++it) {
+ 179 DVLOG(1) <<
"Flushing PID: " << it->first;
+ 180 PidState* pid_state = it->second;
+
+
+ 183 bool result = EmitRemainingSamples();
+ 184 STLDeleteValues(&pids_);
+
+
+
+ 188 ts_byte_queue_.
Reset();
+
+
+
+
+ 193 DVLOG(1) <<
"Mp2tMediaParser::Parse size=" << size;
+
+
+ 196 ts_byte_queue_.
Push(buf, size);
+
+
+ 199 const uint8_t* ts_buffer;
+
+ 201 ts_byte_queue_.
Peek(&ts_buffer, &ts_buffer_size);
+ 202 if (ts_buffer_size < TsPacket::kPacketSize)
+
+
+
+ 206 int skipped_bytes = TsPacket::Sync(ts_buffer, ts_buffer_size);
+ 207 if (skipped_bytes > 0) {
+ 208 DVLOG(1) <<
"Packet not aligned on a TS syncword:"
+ 209 <<
" skipped_bytes=" << skipped_bytes;
+ 210 ts_byte_queue_.
Pop(skipped_bytes);
+
+
+
+
+ 215 std::unique_ptr<TsPacket> ts_packet(
+ 216 TsPacket::Parse(ts_buffer, ts_buffer_size));
+
+ 218 DVLOG(1) <<
"Error: invalid TS packet";
+ 219 ts_byte_queue_.
Pop(1);
+
+
+
+ 223 <<
"Processing PID=" << ts_packet->pid()
+ 224 <<
" start_unit=" << ts_packet->payload_unit_start_indicator();
+
+
+ 227 std::map<int, PidState*>::iterator it = pids_.find(ts_packet->pid());
+ 228 if (it == pids_.end() &&
+ 229 ts_packet->pid() == TsSection::kPidPat) {
+
+ 231 std::unique_ptr<TsSection> pat_section_parser(
new TsSectionPat(
+ 232 base::Bind(&Mp2tMediaParser::RegisterPmt, base::Unretained(
this))));
+ 233 std::unique_ptr<PidState> pat_pid_state(
new PidState(
+ 234 ts_packet->pid(), PidState::kPidPat, std::move(pat_section_parser)));
235 pat_pid_state->Enable();
237 std::pair<int, PidState*>(ts_packet->pid(),
@@ -360,186 +360,184 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
273 DVLOG(1) <<
"Create a new PMT parser";
- 274 scoped_ptr<TsSection> pmt_section_parser(
-
- 276 base::Bind(&Mp2tMediaParser::RegisterPes,
- 277 base::Unretained(
this), pmt_pid)));
- 278 scoped_ptr<PidState> pmt_pid_state(
- 279 new PidState(pmt_pid, PidState::kPidPmt, pmt_section_parser.Pass()));
- 280 pmt_pid_state->Enable();
- 281 pids_.insert(std::pair<int, PidState*>(pmt_pid, pmt_pid_state.release()));
-
-
- 284 void Mp2tMediaParser::RegisterPes(
int pmt_pid,
-
-
- 287 DVLOG(1) <<
"RegisterPes:"
- 288 <<
" pes_pid=" << pes_pid
- 289 <<
" stream_type=" << std::hex << stream_type << std::dec;
- 290 std::map<int, PidState*>::iterator it = pids_.find(pes_pid);
- 291 if (it != pids_.end())
-
-
-
- 295 bool is_audio =
false;
- 296 scoped_ptr<EsParser> es_parser;
- 297 if (stream_type == kStreamTypeAVC) {
-
-
-
- 301 base::Bind(&Mp2tMediaParser::OnNewStreamInfo,
- 302 base::Unretained(
this)),
- 303 base::Bind(&Mp2tMediaParser::OnEmitSample,
- 304 base::Unretained(
this))));
- 305 }
else if (stream_type == kStreamTypeHEVC) {
-
-
-
- 309 base::Bind(&Mp2tMediaParser::OnNewStreamInfo,
- 310 base::Unretained(
this)),
- 311 base::Bind(&Mp2tMediaParser::OnEmitSample,
- 312 base::Unretained(
this))));
- 313 }
else if (stream_type == kStreamTypeAAC) {
-
-
-
- 317 base::Bind(&Mp2tMediaParser::OnNewStreamInfo,
+ 274 std::unique_ptr<TsSection> pmt_section_parser(
new TsSectionPmt(base::Bind(
+ 275 &Mp2tMediaParser::RegisterPes, base::Unretained(
this), pmt_pid)));
+ 276 std::unique_ptr<PidState> pmt_pid_state(
+ 277 new PidState(pmt_pid, PidState::kPidPmt, std::move(pmt_section_parser)));
+ 278 pmt_pid_state->Enable();
+ 279 pids_.insert(std::pair<int, PidState*>(pmt_pid, pmt_pid_state.release()));
+
+
+ 282 void Mp2tMediaParser::RegisterPes(
int pmt_pid,
+
+
+ 285 DVLOG(1) <<
"RegisterPes:"
+ 286 <<
" pes_pid=" << pes_pid
+ 287 <<
" stream_type=" << std::hex << stream_type << std::dec;
+ 288 std::map<int, PidState*>::iterator it = pids_.find(pes_pid);
+ 289 if (it != pids_.end())
+
+
+
+ 293 bool is_audio =
false;
+ 294 std::unique_ptr<EsParser> es_parser;
+ 295 if (stream_type == kStreamTypeAVC) {
+
+
+
+ 299 base::Bind(&Mp2tMediaParser::OnNewStreamInfo,
+ 300 base::Unretained(
this)),
+ 301 base::Bind(&Mp2tMediaParser::OnEmitSample,
+ 302 base::Unretained(
this))));
+ 303 }
else if (stream_type == kStreamTypeHEVC) {
+
+
+
+ 307 base::Bind(&Mp2tMediaParser::OnNewStreamInfo,
+ 308 base::Unretained(
this)),
+ 309 base::Bind(&Mp2tMediaParser::OnEmitSample,
+ 310 base::Unretained(
this))));
+ 311 }
else if (stream_type == kStreamTypeAAC) {
+
+
+
+ 315 base::Bind(&Mp2tMediaParser::OnNewStreamInfo,
+ 316 base::Unretained(
this)),
+ 317 base::Bind(&Mp2tMediaParser::OnEmitSample,
318 base::Unretained(
this)),
- 319 base::Bind(&Mp2tMediaParser::OnEmitSample,
- 320 base::Unretained(
this)),
-
-
-
-
-
-
-
- 328 DVLOG(1) <<
"Create a new PES state";
- 329 scoped_ptr<TsSection> pes_section_parser(
- 330 new TsSectionPes(es_parser.Pass()));
- 331 PidState::PidType pid_type =
- 332 is_audio ? PidState::kPidAudioPes : PidState::kPidVideoPes;
- 333 scoped_ptr<PidState> pes_pid_state(
- 334 new PidState(pes_pid, pid_type, pes_section_parser.Pass()));
- 335 pes_pid_state->Enable();
- 336 pids_.insert(std::pair<int, PidState*>(pes_pid, pes_pid_state.release()));
-
-
- 339 void Mp2tMediaParser::OnNewStreamInfo(
- 340 const scoped_refptr<StreamInfo>& new_stream_info) {
- 341 DCHECK(new_stream_info);
- 342 DVLOG(1) <<
"OnVideoConfigChanged for pid=" << new_stream_info->track_id();
-
- 344 PidMap::iterator pid_state = pids_.find(new_stream_info->track_id());
- 345 if (pid_state == pids_.end()) {
- 346 LOG(ERROR) <<
"PID State for new stream not found (pid = "
- 347 << new_stream_info->track_id() <<
").";
-
-
-
-
- 352 pid_state->second->set_config(new_stream_info);
-
-
- 355 FinishInitializationIfNeeded();
-
-
- 358 bool Mp2tMediaParser::FinishInitializationIfNeeded() {
-
-
-
-
-
-
-
-
- 367 std::vector<scoped_refptr<StreamInfo> > all_stream_info;
-
- 369 for (PidMap::const_iterator iter = pids_.begin(); iter != pids_.end();
-
- 371 if (((iter->second->pid_type() == PidState::kPidAudioPes) ||
- 372 (iter->second->pid_type() == PidState::kPidVideoPes))) {
-
- 374 if (iter->second->config())
- 375 all_stream_info.push_back(iter->second->config());
-
-
- 378 if (num_es && (all_stream_info.size() == num_es)) {
-
-
- 381 init_cb_.Run(all_stream_info);
- 382 DVLOG(1) <<
"Mpeg2TS stream parser initialization done";
- 383 is_initialized_ =
true;
-
-
-
-
- 388 void Mp2tMediaParser::OnEmitSample(
-
- 390 const scoped_refptr<MediaSample>& new_sample) {
-
-
-
-
-
-
- 397 << new_sample->data_size()
-
-
-
- 401 << new_sample->pts();
-
-
- 404 PidMap::iterator pid_state = pids_.find(pes_pid);
- 405 if (pid_state == pids_.end()) {
- 406 LOG(ERROR) <<
"PID State for new sample not found (pid = "
-
-
-
- 410 pid_state->second->sample_queue().push_back(new_sample);
-
-
- 413 bool Mp2tMediaParser::EmitRemainingSamples() {
- 414 DVLOG(LOG_LEVEL_ES) <<
"Mp2tMediaParser::EmitRemainingBuffers";
-
-
- 417 if (!is_initialized_)
-
-
-
- 421 for (PidMap::const_iterator pid_iter = pids_.begin(); pid_iter != pids_.end();
-
- 423 SampleQueue& sample_queue = pid_iter->second->sample_queue();
- 424 for (SampleQueue::iterator sample_iter = sample_queue.begin();
- 425 sample_iter != sample_queue.end();
-
- 427 if (!new_sample_cb_.Run(pid_iter->first, *sample_iter)) {
-
-
-
-
- 432 sample_queue.clear();
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ 326 DVLOG(1) <<
"Create a new PES state";
+ 327 std::unique_ptr<TsSection> pes_section_parser(
+ 328 new TsSectionPes(std::move(es_parser)));
+ 329 PidState::PidType pid_type =
+ 330 is_audio ? PidState::kPidAudioPes : PidState::kPidVideoPes;
+ 331 std::unique_ptr<PidState> pes_pid_state(
+ 332 new PidState(pes_pid, pid_type, std::move(pes_section_parser)));
+ 333 pes_pid_state->Enable();
+ 334 pids_.insert(std::pair<int, PidState*>(pes_pid, pes_pid_state.release()));
+
+
+ 337 void Mp2tMediaParser::OnNewStreamInfo(
+ 338 const scoped_refptr<StreamInfo>& new_stream_info) {
+ 339 DCHECK(new_stream_info);
+ 340 DVLOG(1) <<
"OnVideoConfigChanged for pid=" << new_stream_info->track_id();
+
+ 342 PidMap::iterator pid_state = pids_.find(new_stream_info->track_id());
+ 343 if (pid_state == pids_.end()) {
+ 344 LOG(ERROR) <<
"PID State for new stream not found (pid = "
+ 345 << new_stream_info->track_id() <<
").";
+
+
+
+
+ 350 pid_state->second->set_config(new_stream_info);
+
+
+ 353 FinishInitializationIfNeeded();
+
+
+ 356 bool Mp2tMediaParser::FinishInitializationIfNeeded() {
+
+
+
+
+
+
+
+
+ 365 std::vector<scoped_refptr<StreamInfo> > all_stream_info;
+
+ 367 for (PidMap::const_iterator iter = pids_.begin(); iter != pids_.end();
+
+ 369 if (((iter->second->pid_type() == PidState::kPidAudioPes) ||
+ 370 (iter->second->pid_type() == PidState::kPidVideoPes))) {
+
+ 372 if (iter->second->config())
+ 373 all_stream_info.push_back(iter->second->config());
+
+
+ 376 if (num_es && (all_stream_info.size() == num_es)) {
+
+
+ 379 init_cb_.Run(all_stream_info);
+ 380 DVLOG(1) <<
"Mpeg2TS stream parser initialization done";
+ 381 is_initialized_ =
true;
+
+
+
+
+ 386 void Mp2tMediaParser::OnEmitSample(
+
+ 388 const scoped_refptr<MediaSample>& new_sample) {
+
+
+
+
+
+
+ 395 << new_sample->data_size()
+
+
+
+ 399 << new_sample->pts();
+
+
+ 402 PidMap::iterator pid_state = pids_.find(pes_pid);
+ 403 if (pid_state == pids_.end()) {
+ 404 LOG(ERROR) <<
"PID State for new sample not found (pid = "
+
+
+
+ 408 pid_state->second->sample_queue().push_back(new_sample);
+
+
+ 411 bool Mp2tMediaParser::EmitRemainingSamples() {
+ 412 DVLOG(LOG_LEVEL_ES) <<
"Mp2tMediaParser::EmitRemainingBuffers";
+
+
+ 415 if (!is_initialized_)
+
+
+
+ 419 for (PidMap::const_iterator pid_iter = pids_.begin(); pid_iter != pids_.end();
+
+ 421 SampleQueue& sample_queue = pid_iter->second->sample_queue();
+ 422 for (SampleQueue::iterator sample_iter = sample_queue.begin();
+ 423 sample_iter != sample_queue.end();
+
+ 425 if (!new_sample_cb_.Run(pid_iter->first, *sample_iter)) {
+
+
+
+
+ 430 sample_queue.clear();
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
diff --git a/docs/d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html b/docs/d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html
index 74a55a8389..fbe447df61 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 bff0d88545..2a34fc7ba1 100644
--- a/docs/d1/d7d/webm__video__client_8cc_source.html
+++ b/docs/d1/d7d/webm__video__client_8cc_source.html
@@ -270,7 +270,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 8b0e129777..5a9dc08d99 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 f2d17a26b4..6aeb00da7d 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 afaa408990..2849d48e84 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/d86/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter-members.html b/docs/d1/d86/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter-members.html
index a81a8e0064..6e50d11f4b 100644
--- a/docs/d1/d86/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter-members.html
+++ b/docs/d1/d86/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter-members.html
@@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
| crypt_byte_block() const (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
data() (defined in shaka::media::mp4::Fragmenter) | shaka::media::mp4::Fragmenter | inline |
earliest_presentation_time() const (defined in shaka::media::mp4::Fragmenter) | shaka::media::mp4::Fragmenter | inline |
- EncryptingFragmenter(scoped_refptr< StreamInfo > info, TrackFragment *traf, scoped_ptr< EncryptionKey > encryption_key, int64_t clear_time, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block, MuxerListener *listener) | shaka::media::mp4::EncryptingFragmenter | |
+ EncryptingFragmenter(scoped_refptr< StreamInfo > info, TrackFragment *traf, std::unique_ptr< EncryptionKey > encryption_key, int64_t clear_time, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block, MuxerListener *listener) | shaka::media::mp4::EncryptingFragmenter | |
encryption_key() const (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
encryptor() (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
FinalizeFragment() override | shaka::media::mp4::EncryptingFragmenter | virtual |
@@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
OptimizeSampleEntries(std::vector< T > *entries, T *default_value) | shaka::media::mp4::Fragmenter | protected |
PrepareFragmentForEncryption(bool enable_encryption) override | shaka::media::mp4::KeyRotationFragmenter | protectedvirtual |
protection_scheme() const (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
- set_encryption_key(scoped_ptr< EncryptionKey > encryption_key) (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
+ set_encryption_key(std::unique_ptr< EncryptionKey > encryption_key) (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
set_use_decoding_timestamp_in_timeline(bool use_decoding_timestamp_in_timeline) | shaka::media::mp4::Fragmenter | inline |
skip_byte_block() const (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
traf() (defined in shaka::media::mp4::Fragmenter) | shaka::media::mp4::Fragmenter | inlineprotected |
@@ -124,7 +124,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 aa11b5f4dc..e5fda96b19 100644
--- a/docs/d1/d8e/webm__audio__client_8cc_source.html
+++ b/docs/d1/d8e/webm__audio__client_8cc_source.html
@@ -214,7 +214,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 59fa684791..48e472ca8c 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 fad7bd3029..12446309ac 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 c7268c4d49..d488457825 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 045361c083..2c5a0170d2 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 f44c18d8df..4927658cf6 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 32c3c8401f..98eb409e58 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 @@ scoped_refptr<
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 695e6f4d88..3e99b57171 100644
--- a/docs/d1/da2/classshaka_1_1media_1_1NalUnitToByteStreamConverter-members.html
+++ b/docs/d1/da2/classshaka_1_1media_1_1NalUnitToByteStreamConverter-members.html
@@ -101,7 +101,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 d2d3f5144d..1a30389e05 100644
--- a/docs/d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html
+++ b/docs/d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html
@@ -306,7 +306,7 @@ bool | video_full_range_flag
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 8bed560d30..63e5af2640 100644
--- a/docs/d1/dad/classshaka_1_1media_1_1Demuxer-members.html
+++ b/docs/d1/dad/classshaka_1_1media_1_1Demuxer-members.html
@@ -99,13 +99,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Initialize() | shaka::media::Demuxer | |
Parse() | shaka::media::Demuxer | |
Run() | shaka::media::Demuxer | |
- SetKeySource(scoped_ptr< KeySource > key_source) | shaka::media::Demuxer | |
+ SetKeySource(std::unique_ptr< KeySource > key_source) | shaka::media::Demuxer | |
streams() | shaka::media::Demuxer | inline |
~Demuxer() (defined in shaka::media::Demuxer) | shaka::media::Demuxer | |
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 f036291209..bc957b3e62 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 dff2ed8a17..4308dad808 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/dc2/h26x__bit__reader_8h_source.html b/docs/d1/dc2/h26x__bit__reader_8h_source.html
index 9f24ca2a10..842a43890a 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/dcb/encrypting__fragmenter_8h_source.html b/docs/d1/dcb/encrypting__fragmenter_8h_source.html
index 7d4ed94e5e..18b70c2d2c 100644
--- a/docs/d1/dcb/encrypting__fragmenter_8h_source.html
+++ b/docs/d1/dcb/encrypting__fragmenter_8h_source.html
@@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef MEDIA_FORMATS_MP4_ENCRYPTING_FRAGMENTER_H_
8 #define MEDIA_FORMATS_MP4_ENCRYPTING_FRAGMENTER_H_
- 10 #include "packager/base/memory/ref_counted.h"
- 11 #include "packager/base/memory/scoped_ptr.h"
+
+ 11 #include "packager/base/memory/ref_counted.h"
12 #include "packager/media/base/fourccs.h"
13 #include "packager/media/codecs/video_slice_header_parser.h"
14 #include "packager/media/codecs/vpx_parser.h"
@@ -115,9 +115,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
- 43 scoped_ptr<EncryptionKey> encryption_key,
+ 43 std::unique_ptr<EncryptionKey> encryption_key,
45 FourCC protection_scheme,
46 uint8_t crypt_byte_block,
@@ -142,8 +142,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
74 uint8_t crypt_byte_block()
const {
return crypt_byte_block_; }
75 uint8_t skip_byte_block()
const {
return skip_byte_block_; }
- 77 void set_encryption_key(scoped_ptr<EncryptionKey> encryption_key) {
- 78 encryption_key_ = encryption_key.Pass();
+ 77 void set_encryption_key(std::unique_ptr<EncryptionKey> encryption_key) {
+ 78 encryption_key_ = std::move(encryption_key);
@@ -154,8 +154,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
86 bool IsSubsampleEncryptionRequired();
88 scoped_refptr<StreamInfo> info_;
- 89 scoped_ptr<EncryptionKey> encryption_key_;
- 90 scoped_ptr<AesCryptor> encryptor_;
+ 89 std::unique_ptr<EncryptionKey> encryption_key_;
+ 90 std::unique_ptr<AesCryptor> encryptor_;
@@ -167,8 +167,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
99 const uint8_t skip_byte_block_;
- 102 scoped_ptr<VPxParser> vpx_parser_;
- 103 scoped_ptr<VideoSliceHeaderParser> header_parser_;
+ 102 std::unique_ptr<VPxParser> vpx_parser_;
+ 103 std::unique_ptr<VideoSliceHeaderParser> header_parser_;
@@ -178,24 +178,24 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
112 #endif // MEDIA_FORMATS_MP4_ENCRYPTING_FRAGMENTER_H_
-
+
-
-
+
-
-
+
+
-
+
-
-
+
+
+
diff --git a/docs/d1/dd5/classshaka_1_1media_1_1Cluster.html b/docs/d1/dd5/classshaka_1_1media_1_1Cluster.html
index 6211cc418e..534e5be5bc 100644
--- a/docs/d1/dd5/classshaka_1_1media_1_1Cluster.html
+++ b/docs/d1/dd5/classshaka_1_1media_1_1Cluster.html
@@ -96,9 +96,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
-
- | Cluster (scoped_ptr< uint8_t[]> data, int size) |
- |
+
+ | Cluster (std::unique_ptr< uint8_t[]> data, int size) |
+ |
const uint8_t * | data () const |
|
@@ -108,7 +108,7 @@ int size () const |
-
Definition at line 14 of file cluster_builder.h.
+
Definition at line 16 of file cluster_builder.h.
The documentation for this class was generated from the following files:
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 e5261e110e..b87056d421 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/de2/classshaka_1_1media_1_1VideoStreamInfo-members.html b/docs/d1/de2/classshaka_1_1media_1_1VideoStreamInfo-members.html
index b60bb81bb4..d5d9a2065a 100644
--- a/docs/d1/de2/classshaka_1_1media_1_1VideoStreamInfo-members.html
+++ b/docs/d1/de2/classshaka_1_1media_1_1VideoStreamInfo-members.html
@@ -125,7 +125,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 bbb3e01f07..38a3aaeded 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 511a55f576..f7ddfb54f1 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 572131449f..f0567b9775 100644
--- a/docs/d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html
+++ b/docs/d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html
@@ -153,7 +153,7 @@ Additional Inherited Members
AdaptationSetType specified in MPD.
-
Definition at line 113 of file xml_node.h.
+
Definition at line 114 of file xml_node.h.
@@ -197,7 +197,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 0096d471ca..d1734077a5 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 821d1e03a4..b76ec48646 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 fd55582a4e..47bc0569b5 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 8cf8c106fd..94ed2f0535 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 47f329ac52..e27d6c2a1d 100644
--- a/docs/d1/df0/aes__encryptor_8h_source.html
+++ b/docs/d1/df0/aes__encryptor_8h_source.html
@@ -102,100 +102,99 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
15 #include "packager/base/macros.h"
- 16 #include "packager/base/memory/scoped_ptr.h"
- 17 #include "packager/media/base/aes_cryptor.h"
-
-
-
-
-
-
-
-
-
-
- 36 const std::vector<uint8_t>&
iv)
override;
-
-
-
-
-
-
-
-
-
-
-
- 48 uint32_t block_offset()
const {
return block_offset_; }
-
-
- 51 bool CryptInternal(
const uint8_t* plaintext,
- 52 size_t plaintext_size,
-
- 54 size_t* ciphertext_size)
override;
- 55 void SetIvInternal()
override;
-
-
- 58 uint32_t block_offset_;
-
- 60 std::vector<uint8_t> counter_;
-
- 62 std::vector<uint8_t> encrypted_counter_;
-
-
-
-
- 67 enum CbcPaddingScheme {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 94 ConstantIvFlag constant_iv_flag);
-
-
-
-
- 99 bool CryptInternal(
const uint8_t* plaintext,
- 100 size_t plaintext_size,
-
- 102 size_t* ciphertext_size)
override;
- 103 void SetIvInternal()
override;
- 104 size_t NumPaddingBytes(
size_t size)
const override;
-
- 106 const CbcPaddingScheme padding_scheme_;
-
- 108 std::vector<uint8_t> internal_iv_;
-
-
-
-
-
-
-
- 116 #endif // MEDIA_BASE_AES_ENCRYPTOR_H_
+ 16 #include "packager/media/base/aes_cryptor.h"
+
+
+
+
+
+
+
+
+
+
+ 35 const std::vector<uint8_t>&
iv)
override;
+
+
+
+
+
+
+
+
+
+
+
+ 47 uint32_t block_offset()
const {
return block_offset_; }
+
+
+ 50 bool CryptInternal(
const uint8_t* plaintext,
+ 51 size_t plaintext_size,
+
+ 53 size_t* ciphertext_size)
override;
+ 54 void SetIvInternal()
override;
+
+
+ 57 uint32_t block_offset_;
+
+ 59 std::vector<uint8_t> counter_;
+
+ 61 std::vector<uint8_t> encrypted_counter_;
+
+
+
+
+ 66 enum CbcPaddingScheme {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 93 ConstantIvFlag constant_iv_flag);
+
+
+
+
+ 98 bool CryptInternal(
const uint8_t* plaintext,
+ 99 size_t plaintext_size,
+
+ 101 size_t* ciphertext_size)
override;
+ 102 void SetIvInternal()
override;
+ 103 size_t NumPaddingBytes(
size_t size)
const override;
+
+ 105 const CbcPaddingScheme padding_scheme_;
+
+ 107 std::vector<uint8_t> internal_iv_;
+
+
+
+
+
+
+
+ 115 #endif // MEDIA_BASE_AES_ENCRYPTOR_H_
-
+
-
-
+
+
diff --git a/docs/d1/df3/structshaka_1_1MpdOptions.html b/docs/d1/df3/structshaka_1_1MpdOptions.html
index 6f0b81224f..f6ef78e1fb 100644
--- a/docs/d1/df3/structshaka_1_1MpdOptions.html
+++ b/docs/d1/df3/structshaka_1_1MpdOptions.html
@@ -127,7 +127,7 @@ double suggested_presentat
diff --git a/docs/d1/df5/nalu__reader_8cc_source.html b/docs/d1/df5/nalu__reader_8cc_source.html
index 6417ccb9a6..0932bcff44 100644
--- a/docs/d1/df5/nalu__reader_8cc_source.html
+++ b/docs/d1/df5/nalu__reader_8cc_source.html
@@ -434,7 +434,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 d2a719f351..e218d2463f 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 2dd5903bfd..392af815f3 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 e2e75b0020..2884ca3c39 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 9ac133fb62..1c885758d8 100644
--- a/docs/d2/d0f/classshaka_1_1MpdBuilder-members.html
+++ b/docs/d2/d0f/classshaka_1_1MpdBuilder-members.html
@@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
AddAdaptationSet(const std::string &lang) | shaka::MpdBuilder | virtual |
AddBaseUrl(const std::string &base_url) | shaka::MpdBuilder | |
DynamicMpdBuilderTest (defined in shaka::MpdBuilder) | shaka::MpdBuilder | friend |
- InjectClockForTesting(scoped_ptr< base::Clock > clock) | shaka::MpdBuilder | inline |
+ InjectClockForTesting(std::unique_ptr< base::Clock > clock) | shaka::MpdBuilder | inline |
kDynamic enum value (defined in shaka::MpdBuilder) | shaka::MpdBuilder | |
kStatic enum value (defined in shaka::MpdBuilder) | shaka::MpdBuilder | |
MakePathsRelativeToMpd(const std::string &mpd_path, MediaInfo *media_info) | shaka::MpdBuilder | static |
@@ -109,7 +109,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 98e8663eb4..e4f709bc2f 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 0a5c2bc7d2..dffab584c2 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 e96628f454..b887bc3862 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
index 89e834aac8..dc559fb27b 100644
--- a/docs/d2/d23/threaded__io__file_8cc_source.html
+++ b/docs/d2/d23/threaded__io__file_8cc_source.html
@@ -106,12 +106,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
17 using base::subtle::NoBarrier_Load;
18 using base::subtle::NoBarrier_Store;
- 20 ThreadedIoFile::ThreadedIoFile(scoped_ptr<File, FileCloser> internal_file,
+ 20 ThreadedIoFile::ThreadedIoFile(std::unique_ptr<File, FileCloser> internal_file,
22 uint64_t io_cache_size,
23 uint64_t io_block_size)
24 : File(internal_file->file_name()),
- 25 internal_file_(internal_file.Pass()),
+ 25 internal_file_(std::move(internal_file)),
27 cache_(io_cache_size),
28 io_buffer_(io_block_size),
@@ -315,7 +315,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d2/d24/packager__util_8h_source.html b/docs/d2/d24/packager__util_8h_source.html
index d90337ef71..d3480a53dd 100644
--- a/docs/d2/d24/packager__util_8h_source.html
+++ b/docs/d2/d24/packager__util_8h_source.html
@@ -99,49 +99,48 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #define APP_PACKAGER_UTIL_H_
12 #include <gflags/gflags.h>
-
-
-
- 16 #include "packager/base/memory/scoped_ptr.h"
-
- 18 DECLARE_bool(dump_stream_info);
-
-
-
-
-
-
-
-
-
-
-
-
- 32 void DumpStreamInfo( const std::vector<MediaStream*>& streams);
-
- 38 scoped_ptr<KeySource> CreateEncryptionKeySource();
-
- 44 scoped_ptr<KeySource> CreateDecryptionKeySource();
-
- 47 bool AssignFlagsFromProfile();
-
- 50 bool GetMuxerOptions(MuxerOptions* muxer_options);
-
- 53 bool GetMpdOptions(MpdOptions* mpd_options);
-
- 64 bool AddStreamToMuxer( const std::vector<MediaStream*>& streams,
- 65 const std::string& stream_selector,
- 66 const std::string& language_override,
-
-
-
-
-
- 72 #endif // APP_PACKAGER_UTIL_H_
+
+
+
+
+ 17 DECLARE_bool(dump_stream_info);
+
+
+
+
+
+
+
+
+
+
+
+
+ 31 void DumpStreamInfo( const std::vector<MediaStream*>& streams);
+
+ 37 std::unique_ptr<KeySource> CreateEncryptionKeySource();
+
+ 43 std::unique_ptr<KeySource> CreateDecryptionKeySource();
+
+ 46 bool AssignFlagsFromProfile();
+
+ 49 bool GetMuxerOptions(MuxerOptions* muxer_options);
+
+ 52 bool GetMpdOptions(MpdOptions* mpd_options);
+
+ 63 bool AddStreamToMuxer( const std::vector<MediaStream*>& streams,
+ 64 const std::string& stream_selector,
+ 65 const std::string& language_override,
+
+
+
+
+
+ 71 #endif // APP_PACKAGER_UTIL_H_
diff --git a/docs/d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html b/docs/d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html
index 282912ab67..dbee7b972f 100644
--- a/docs/d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html
+++ b/docs/d2/d29/classshaka_1_1media_1_1mp4_1_1KeyRotationFragmenter.html
@@ -111,8 +111,8 @@ Public Member Functions |
| KeyRotationFragmenter (MovieFragment *moof, scoped_refptr< StreamInfo > info, TrackFragment *traf, KeySource *encryption_key_source, KeySource::TrackType track_type, int64_t crypto_period_duration, int64_t clear_time, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block, MuxerListener *muxer_listener) |
|
- | EncryptingFragmenter (scoped_refptr< StreamInfo > info, TrackFragment *traf, scoped_ptr< EncryptionKey > encryption_key, int64_t clear_time, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block, MuxerListener *listener) |
- |
+ | EncryptingFragmenter (scoped_refptr< StreamInfo > info, TrackFragment *traf, std::unique_ptr< EncryptionKey > encryption_key, int64_t clear_time, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block, MuxerListener *listener) |
+ |
Status | AddSample (scoped_refptr< MediaSample > sample) override |
|
Status | InitializeFragment (int64_t first_sample_dts) override |
@@ -176,9 +176,9 @@ uint8_t crypt_byte_block
uint8_t | skip_byte_block () const |
|
-
-void | set_encryption_key (scoped_ptr< EncryptionKey > encryption_key) |
- |
+
+void | set_encryption_key (std::unique_ptr< EncryptionKey > encryption_key) |
+ |
TrackFragment * | traf () |
@@ -328,7 +328,7 @@ void | set_encryption_key
diff --git a/docs/d2/d30/tracks__builder_8cc_source.html b/docs/d2/d30/tracks__builder_8cc_source.html
index 34d76f877c..cb7756ab9d 100644
--- a/docs/d2/d30/tracks__builder_8cc_source.html
+++ b/docs/d2/d30/tracks__builder_8cc_source.html
@@ -487,7 +487,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 d324b31cfe..59194f7955 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 f18bd0ac34..9d2adbf36f 100644
--- a/docs/d2/d35/classshaka_1_1media_1_1WidevineKeySource-members.html
+++ b/docs/d2/d35/classshaka_1_1media_1_1WidevineKeySource-members.html
@@ -104,8 +104,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
| key_production_thread_ (defined in shaka::media::WidevineKeySource) | shaka::media::WidevineKeySource | protected |
KeySource() (defined in shaka::media::KeySource) | shaka::media::KeySource | |
NUM_VALID_TRACK_TYPES enum value (defined in shaka::media::KeySource) | shaka::media::KeySource | |
- set_key_fetcher(scoped_ptr< KeyFetcher > key_fetcher) | shaka::media::WidevineKeySource | |
- set_signer(scoped_ptr< RequestSigner > signer) | shaka::media::WidevineKeySource | |
+ set_key_fetcher(std::unique_ptr< KeyFetcher > key_fetcher) | shaka::media::WidevineKeySource | |
+ set_signer(std::unique_ptr< RequestSigner > signer) | shaka::media::WidevineKeySource | |
TRACK_TYPE_AUDIO enum value (defined in shaka::media::KeySource) | shaka::media::KeySource | |
TRACK_TYPE_HD enum value (defined in shaka::media::KeySource) | shaka::media::KeySource | |
TRACK_TYPE_SD enum value (defined in shaka::media::KeySource) | shaka::media::KeySource | |
@@ -119,7 +119,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 089a22455d..413fd7844a 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 2105c72d3e..c167a6fddd 100644
--- a/docs/d2/d45/program__map__table__writer_8cc_source.html
+++ b/docs/d2/d45/program__map__table__writer_8cc_source.html
@@ -500,7 +500,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 9ef890bdf0..cfa7d6c249 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
@@ -291,7 +291,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d2/d4d/file_8h_source.html b/docs/d2/d4d/file_8h_source.html
index 38bdee139c..5ff9842ea8 100644
--- a/docs/d2/d4d/file_8h_source.html
+++ b/docs/d2/d4d/file_8h_source.html
@@ -171,27 +171,27 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
153 #endif // PACKAGER_FILE_FILE_H_
-
-
+
+
-
+
-
-
+
+
-
+
diff --git a/docs/d2/d4f/structshaka_1_1Element-members.html b/docs/d2/d4f/structshaka_1_1Element-members.html
index 2938dc890e..707c01d907 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 1d6f8b422f..734cfad3a7 100644
--- a/docs/d2/d51/classshaka_1_1MockMpdNotifier-members.html
+++ b/docs/d2/d51/classshaka_1_1MockMpdNotifier-members.html
@@ -115,7 +115,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 5d9a69618e..ed8adc83c6 100644
--- a/docs/d2/d59/structshaka_1_1media_1_1H264SliceHeader.html
+++ b/docs/d2/d59/structshaka_1_1media_1_1H264SliceHeader.html
@@ -276,7 +276,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 3bd53f8682..02a2b68bda 100644
--- a/docs/d2/d5b/classshaka_1_1media_1_1KeySource-members.html
+++ b/docs/d2/d5b/classshaka_1_1media_1_1KeySource-members.html
@@ -113,7 +113,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 151b9568ce..f0f7f1048a 100644
--- a/docs/d2/d5c/classshaka_1_1SimpleMpdNotifier-members.html
+++ b/docs/d2/d5c/classshaka_1_1SimpleMpdNotifier-members.html
@@ -109,7 +109,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 d4fd424a03..f4518ab821 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 65fe64c395..e83befcfdd 100644
--- a/docs/d2/d62/simple__mpd__notifier_8h_source.html
+++ b/docs/d2/d62/simple__mpd__notifier_8h_source.html
@@ -97,11 +97,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 #define MPD_BASE_SIMPLE_MPD_NOTIFIER_H_
-
-
-
- 14 #include "packager/base/gtest_prod_util.h"
- 15 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+
+ 15 #include "packager/base/gtest_prod_util.h"
16 #include "packager/base/synchronization/lock.h"
17 #include "packager/mpd/base/mpd_notifier.h"
18 #include "packager/mpd/base/mpd_notifier_util.h"
@@ -149,13 +149,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 68 void SetMpdBuilderForTesting(scoped_ptr<MpdBuilder> mpd_builder) {
- 69 mpd_builder_ = mpd_builder.Pass();
+ 68 void SetMpdBuilderForTesting(std::unique_ptr<MpdBuilder> mpd_builder) {
+ 69 mpd_builder_ = std::move(mpd_builder);
73 std::string output_path_;
- 74 scoped_ptr<MpdBuilder> mpd_builder_;
+ 74 std::unique_ptr<MpdBuilder> mpd_builder_;
77 typedef std::map<std::string, AdaptationSet*> AdaptationSetMap;
@@ -186,7 +186,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 db08159089..ce35ef0929 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 ea21016694..f116e3d52e 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 8c73e7959a..fd1b4ba99c 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 a2c26936d6..dcbdba924f 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 32d6eeb832..fc42d9360c 100644
--- a/docs/d2/d7b/classshaka_1_1DashIopMpdNotifier-members.html
+++ b/docs/d2/d7b/classshaka_1_1DashIopMpdNotifier-members.html
@@ -109,7 +109,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 2abd28cf6f..496dc97cad 100644
--- a/docs/d2/d7b/simple__mpd__notifier_8cc_source.html
+++ b/docs/d2/d7b/simple__mpd__notifier_8cc_source.html
@@ -239,7 +239,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 52666339c9..6195d3c39b 100644
--- a/docs/d2/d7e/aac__audio__specific__config_8h_source.html
+++ b/docs/d2/d7e/aac__audio__specific__config_8h_source.html
@@ -164,7 +164,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 ffb1bd13a6..ecd465c5df 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 bcb9787029..9a340c4394 100644
--- a/docs/d2/d8a/hls__notify__muxer__listener_8h_source.html
+++ b/docs/d2/d8a/hls__notify__muxer__listener_8h_source.html
@@ -175,7 +175,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 1977a62c26..64c952652f 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 4a27a252c2..3bbe3bf565 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 c1fc002ad0..42ce9cade6 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/d95/structshaka_1_1media_1_1StreamDescriptor.html b/docs/d2/d95/structshaka_1_1media_1_1StreamDescriptor.html
index 24c65a5306..be17bd3b86 100644
--- a/docs/d2/d95/structshaka_1_1media_1_1StreamDescriptor.html
+++ b/docs/d2/d95/structshaka_1_1media_1_1StreamDescriptor.html
@@ -140,7 +140,7 @@ std::string | hls_playlist_n
diff --git a/docs/d2/da6/threaded__io__file_8h_source.html b/docs/d2/da6/threaded__io__file_8h_source.html
index 78e4f2696c..430d934bdb 100644
--- a/docs/d2/da6/threaded__io__file_8h_source.html
+++ b/docs/d2/da6/threaded__io__file_8h_source.html
@@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef PACKAGER_FILE_THREADED_IO_FILE_H_
8 #define PACKAGER_FILE_THREADED_IO_FILE_H_
- 10 #include "packager/base/atomicops.h"
- 11 #include "packager/base/memory/scoped_ptr.h"
+
+ 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"
@@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
30 uint64_t io_cache_size,
31 uint64_t io_block_size);
@@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
53 void RunInInputMode();
54 void RunInOutputMode();
- 56 scoped_ptr<File, FileCloser> internal_file_;
+ 56 std::unique_ptr<File, FileCloser> internal_file_;
59 std::vector<uint8_t> io_buffer_;
@@ -172,7 +172,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d2/da8/mp4_2segmenter_8cc_source.html b/docs/d2/da8/mp4_2segmenter_8cc_source.html
index ec598d3b1a..da3ee96c4c 100644
--- a/docs/d2/da8/mp4_2segmenter_8cc_source.html
+++ b/docs/d2/da8/mp4_2segmenter_8cc_source.html
@@ -236,11 +236,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
149 Segmenter::Segmenter( const MuxerOptions& options,
- 150 scoped_ptr<FileType> ftyp,
- 151 scoped_ptr<Movie> moov)
+ 150 std::unique_ptr<FileType> ftyp,
+ 151 std::unique_ptr<Movie> moov)
-
-
+ 153 ftyp_(std::move(ftyp)),
+ 154 moov_(std::move(moov)),
155 moof_(new MovieFragment()),
156 fragment_buffer_(new BufferWriter()),
157 sidx_(new SegmentIndex()),
@@ -252,7 +252,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
164 Segmenter::~Segmenter() { STLDeleteElements(&fragmenters_); }
-
+
@@ -319,7 +319,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 233 scoped_ptr<EncryptionKey> encryption_key( new EncryptionKey());
+ 233 std::unique_ptr<EncryptionKey> encryption_key( new EncryptionKey());
235 encryption_key_source-> GetKey(track_type, encryption_key.get());
@@ -348,7 +348,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 262 streams[i]->info(), &moof_->tracks[i], encryption_key.Pass(),
+ 262 streams[i]->info(), &moof_->tracks[i], std::move(encryption_key),
263 clear_lead_in_seconds * streams[i]->info()->time_scale(),
264 protection_scheme, pattern.crypt_byte_block, pattern.skip_byte_block,
@@ -584,15 +584,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
-
+
+
-
+
@@ -601,7 +601,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 c87a67a7ef..99cc4dfa01 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 1b2187e01f..d437c5f28d 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 9dcecad42d..4d1336c38a 100644
--- a/docs/d2/dae/webm__muxer_8cc_source.html
+++ b/docs/d2/dae/webm__muxer_8cc_source.html
@@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
38 "WebM does not support protection scheme other than 'cenc'.");
- 41 scoped_ptr<MkvWriter> writer( new MkvWriter);
+ 41 std::unique_ptr<MkvWriter> writer( new MkvWriter);
42 Status status = writer->Open(options().output_file_name);
@@ -141,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
54 Status initialized = segmenter_->Initialize(
- 55 writer.Pass(), streams()[0]->info().get(), progress_listener(),
+ 55 std::move(writer), streams()[0]->info(). get(), progress_listener(),
56 muxer_listener(), encryption_key_source(), max_sd_pixels(),
57 clear_lead_in_seconds());
@@ -216,7 +216,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
@@ -225,7 +225,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 5da3e491ae..22d8a7fffc 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 57f060766d..857de7b34c 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 b4628a6666..c3b57c0bc9 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 9c78796eed..26c90c3990 100644
--- a/docs/d2/dba/classshaka_1_1media_1_1SegmentTestBase.html
+++ b/docs/d2/dba/classshaka_1_1media_1_1SegmentTestBase.html
@@ -129,11 +129,11 @@ void | SetUp () override
|
void | TearDown () override |
|
-
+ |
template<typename S > |
-void | CreateAndInitializeSegmenter (const MuxerOptions &options, StreamInfo *info, KeySource *key_source, scoped_ptr< webm::Segmenter > *result) const |
- | Creates a Segmenter of the given type and initializes it.
|
- |
+void | CreateAndInitializeSegmenter (const MuxerOptions &options, StreamInfo *info, KeySource *key_source, std::unique_ptr< webm::Segmenter > *result) const |
+ | Creates a Segmenter of the given type and initializes it.
|
+ |
scoped_refptr< MediaSample > | CreateSample (KeyFrameFlag key_frame_flag, uint64_t duration, SideDataFlag side_data_flag) |
| Creates a new media sample.
|
@@ -180,7 +180,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 868f1d8436..9787ff617f 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/structshaka_1_1MpdOptions-members.html b/docs/d2/dc7/structshaka_1_1MpdOptions-members.html
index 9acf5259f9..c8d5c9d89a 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 a919cc8c42..eeaac8cc6c 100644
--- a/docs/d2/dcd/program__map__table__writer_8h_source.html
+++ b/docs/d2/dcd/program__map__table__writer_8h_source.html
@@ -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 5c16b4e232..543915c55d 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/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html b/docs/d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html
index 989fea162c..99949d28f2 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
@@ -120,8 +120,8 @@ Public Member Functions |
| Segmenter (const MuxerOptions &options) |
|
-Status | Initialize (scoped_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) |
- |
+Status | Initialize (std::unique_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) |
+ |
Status | Finalize () |
|
Status | AddSample (scoped_refptr< MediaSample > sample) |
@@ -131,9 +131,9 @@ Public Member Functions
|
-
-Status | DoInitialize (scoped_ptr< MkvWriter > writer) override |
- |
+
+Status | DoInitialize (std::unique_ptr< MkvWriter > writer) override |
+ |
Status | DoFinalize () override |
|
@@ -190,7 +190,7 @@ double cluster_length_sec<
An implementation of a Segmenter for a multi-segment. Since this does not use seeking, it does not matter if the underlying files support seeking.
- Definition at line 25 of file multi_segment_segmenter.h.
+ Definition at line 24 of file multi_segment_segmenter.h.
@@ -277,7 +277,7 @@ double | cluster_length_sec<
diff --git a/docs/d2/dd6/mkv__writer_8h_source.html b/docs/d2/dd6/mkv__writer_8h_source.html
index 04f98fce41..eeb3adc4a7 100644
--- a/docs/d2/dd6/mkv__writer_8h_source.html
+++ b/docs/d2/dd6/mkv__writer_8h_source.html
@@ -96,9 +96,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef MEDIA_FORMATS_WEBM_MKV_WRITER_H_
8 #define MEDIA_FORMATS_WEBM_MKV_WRITER_H_
-
-
- 12 #include "packager/base/memory/scoped_ptr.h"
+
+
+
13 #include "packager/media/base/status.h"
14 #include "packager/media/file/file_closer.h"
15 #include "packager/third_party/libwebm/src/mkvmuxer.hpp"
@@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
61 File* file() { return file_.get(); }
- 64 scoped_ptr<File, FileCloser> file_;
+ 64 std::unique_ptr<File, FileCloser> file_;
66 mkvmuxer::int64 position_;
@@ -152,7 +152,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 024c17c10a..72784b9522 100644
--- a/docs/d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html
+++ b/docs/d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html
@@ -256,7 +256,7 @@ track_id, const scoped_refptr
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 04ee6a7ef4..f7ca8e91d0 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 d5a437378d..8f960639f4 100644
--- a/docs/d2/de6/packager__main_8cc_source.html
+++ b/docs/d2/de6/packager__main_8cc_source.html
@@ -253,446 +253,445 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
165 class RemuxJob : public base::SimpleThread {
- 167 RemuxJob(scoped_ptr<Demuxer> demuxer)
- 168 : SimpleThread( "RemuxJob"),
- 169 demuxer_(demuxer.Pass()) {}
-
- 171 ~RemuxJob() override {
- 172 STLDeleteElements(&muxers_);
-
-
- 175 void AddMuxer(scoped_ptr<Muxer> mux) {
- 176 muxers_.push_back(mux.release());
-
-
- 179 Demuxer* demuxer() { return demuxer_.get(); }
- 180 Status status() { return status_; }
-
-
- 183 void Run() override {
-
- 185 status_ = demuxer_->Run();
-
-
- 188 scoped_ptr<Demuxer> demuxer_;
- 189 std::vector<Muxer*> muxers_;
-
-
- 192 DISALLOW_COPY_AND_ASSIGN(RemuxJob);
-
-
- 195 bool StreamInfoToTextMediaInfo( const StreamDescriptor& stream_descriptor,
- 196 const MuxerOptions& stream_muxer_options,
- 197 MediaInfo* text_media_info) {
- 198 const std::string& language = stream_descriptor.language;
- 199 std::string format = DetermineTextFileFormat(stream_descriptor.input);
- 200 if (format.empty()) {
- 201 LOG(ERROR) << "Failed to determine the text file format for "
- 202 << stream_descriptor.input;
-
-
-
- 206 if (! File::Copy(stream_descriptor.input.c_str(),
- 207 stream_muxer_options.output_file_name.c_str())) {
- 208 LOG(ERROR) << "Failed to copy the input file (" << stream_descriptor.input
- 209 << ") to output file (" << stream_muxer_options.output_file_name
-
-
-
-
- 214 text_media_info->set_media_file_name(stream_muxer_options.output_file_name);
- 215 text_media_info->set_container_type(MediaInfo::CONTAINER_TEXT);
-
- 217 if (stream_muxer_options.bandwidth != 0) {
- 218 text_media_info->set_bandwidth(stream_muxer_options.bandwidth);
-
-
-
-
- 223 text_media_info->set_bandwidth(256);
-
-
- 226 MediaInfo::TextInfo* text_info = text_media_info->mutable_text_info();
- 227 text_info->set_format(format);
- 228 if (!language.empty())
- 229 text_info->set_language(language);
-
-
-
-
- 234 scoped_ptr<Muxer> CreateOutputMuxer( const MuxerOptions& options,
- 235 MediaContainerName container) {
- 236 if (container == CONTAINER_WEBM) {
- 237 return scoped_ptr<Muxer>( new webm::WebMMuxer(options));
- 238 } else if (container == CONTAINER_MPEG2TS) {
- 239 return scoped_ptr<Muxer>( new mp2t::TsMuxer(options));
-
- 241 DCHECK_EQ(container, CONTAINER_MOV);
- 242 return scoped_ptr<Muxer>( new mp4::MP4Muxer(options));
-
-
-
- 246 bool CreateRemuxJobs( const StreamDescriptorList& stream_descriptors,
- 247 const MuxerOptions& muxer_options,
- 248 FakeClock* fake_clock,
- 249 KeySource* key_source,
- 250 MpdNotifier* mpd_notifier,
- 251 hls::HlsNotifier* hls_notifier,
- 252 std::vector<RemuxJob*>* remux_jobs) {
-
- 254 DCHECK(!(mpd_notifier && hls_notifier));
-
-
- 257 std::string previous_input;
- 258 int stream_number = 0;
- 259 for (StreamDescriptorList::const_iterator
- 260 stream_iter = stream_descriptors.begin();
- 261 stream_iter != stream_descriptors.end();
- 262 ++stream_iter, ++stream_number) {
-
- 264 MuxerOptions stream_muxer_options(muxer_options);
- 265 stream_muxer_options.output_file_name = stream_iter->output;
- 266 if (!stream_iter->segment_template.empty()) {
- 267 if (!ValidateSegmentTemplate(stream_iter->segment_template)) {
- 268 LOG(ERROR) << "ERROR: segment template with '"
- 269 << stream_iter->segment_template << "' is invalid.";
-
-
- 272 stream_muxer_options.segment_template = stream_iter->segment_template;
- 273 if (stream_muxer_options.single_segment) {
- 274 LOG(WARNING) << "Segment template and single segment are incompatible, "
- 275 "setting single segment to false.";
- 276 stream_muxer_options.single_segment = false;
-
-
- 279 stream_muxer_options.bandwidth = stream_iter->bandwidth;
-
-
- 282 if (stream_iter->stream_selector == "text") {
- 283 MediaInfo text_media_info;
- 284 if (!StreamInfoToTextMediaInfo(*stream_iter, stream_muxer_options,
-
-
-
-
-
-
- 291 if (!mpd_notifier->NotifyNewContainer(text_media_info, &unused)) {
- 292 LOG(ERROR) << "Failed to process text file " << stream_iter->input;
-
- 294 mpd_notifier->Flush();
-
- 296 } else if (FLAGS_output_media_info) {
-
-
- 299 stream_muxer_options.output_file_name + kMediaInfoSuffix);
-
-
- 302 << "--mpd_output or --output_media_info flags are "
- 303 "required for text output. Skipping manifest related output for "
- 304 << stream_iter->input;
-
-
-
-
- 309 if (stream_iter->input != previous_input) {
-
- 311 scoped_ptr<Demuxer> demuxer( new Demuxer(stream_iter->input));
- 312 if (FLAGS_enable_widevine_decryption ||
- 313 FLAGS_enable_fixed_key_decryption) {
- 314 scoped_ptr<KeySource> key_source(CreateDecryptionKeySource());
-
-
- 317 demuxer->SetKeySource(key_source.Pass());
-
- 319 Status status = demuxer->Initialize();
-
- 321 LOG(ERROR) << "Demuxer failed to initialize: " << status.ToString();
-
-
- 324 if (FLAGS_dump_stream_info) {
- 325 printf( "\nFile \"%s\":\n", stream_iter->input.c_str());
- 326 DumpStreamInfo(demuxer->streams());
- 327 if (stream_iter->output.empty())
-
-
- 330 remux_jobs->push_back( new RemuxJob(demuxer.Pass()));
- 331 previous_input = stream_iter->input;
-
- 333 DCHECK(!remux_jobs->empty());
-
- 335 scoped_ptr<Muxer> muxer(
- 336 CreateOutputMuxer(stream_muxer_options, stream_iter->output_format));
- 337 if (FLAGS_use_fake_clock_for_muxer) muxer->set_clock(fake_clock);
-
-
- 340 muxer->SetKeySource(key_source,
-
-
- 343 FLAGS_crypto_period_duration,
- 344 GetProtectionScheme(FLAGS_protection_scheme));
-
-
- 347 scoped_ptr<MuxerListener> muxer_listener;
- 348 DCHECK(!(FLAGS_output_media_info && mpd_notifier));
- 349 if (FLAGS_output_media_info) {
- 350 const std::string output_media_info_file_name =
- 351 stream_muxer_options.output_file_name + kMediaInfoSuffix;
- 352 scoped_ptr<VodMediaInfoDumpMuxerListener>
- 353 vod_media_info_dump_muxer_listener(
- 354 new VodMediaInfoDumpMuxerListener(output_media_info_file_name));
- 355 muxer_listener = vod_media_info_dump_muxer_listener.Pass();
-
-
- 358 scoped_ptr<MpdNotifyMuxerListener> mpd_notify_muxer_listener(
- 359 new MpdNotifyMuxerListener(mpd_notifier));
- 360 muxer_listener = mpd_notify_muxer_listener.Pass();
-
-
-
-
-
- 366 std::string group_id = stream_iter->hls_group_id;
- 367 std::string name = stream_iter->hls_name;
- 368 std::string hls_playlist_name = stream_iter->hls_playlist_name;
- 369 if (group_id.empty())
-
-
- 372 name = base::StringPrintf( "stream_%d", stream_number);
- 373 if (hls_playlist_name.empty())
- 374 hls_playlist_name = base::StringPrintf( "stream_%d.m3u8", stream_number);
-
- 376 muxer_listener.reset( new HlsNotifyMuxerListener(hls_playlist_name, name,
- 377 group_id, hls_notifier));
-
-
-
- 381 muxer->SetMuxerListener(muxer_listener.Pass());
-
- 383 if (!AddStreamToMuxer(remux_jobs->back()->demuxer()->streams(),
- 384 stream_iter->stream_selector,
- 385 stream_iter->language,
-
-
-
- 389 remux_jobs->back()->AddMuxer(muxer.Pass());
-
-
-
-
-
- 395 Status RunRemuxJobs( const std::vector<RemuxJob*>& remux_jobs) {
-
- 397 for (std::vector<RemuxJob*>::const_iterator job_iter = remux_jobs.begin();
- 398 job_iter != remux_jobs.end();
-
- 400 (*job_iter)->Start();
-
-
-
-
-
-
-
- 408 for (std::vector<RemuxJob*>::const_iterator job_iter = remux_jobs.begin();
- 409 job_iter != remux_jobs.end();
-
- 411 if ((*job_iter)->HasBeenJoined()) {
- 412 status = (*job_iter)->status();
-
-
-
-
-
-
-
- 420 } while (!all_joined && status.ok());
-
-
-
-
- 425 bool RunPackager( const StreamDescriptorList& stream_descriptors) {
- 426 const FourCC protection_scheme = GetProtectionScheme(FLAGS_protection_scheme);
- 427 if (protection_scheme == FOURCC_NULL)
-
-
- 430 if (!AssignFlagsFromProfile())
-
-
- 433 if (FLAGS_output_media_info && !FLAGS_mpd_output.empty()) {
- 434 NOTIMPLEMENTED() << "ERROR: --output_media_info and --mpd_output do not "
-
-
-
- 438 if (FLAGS_output_media_info && !FLAGS_single_segment) {
-
- 440 NOTIMPLEMENTED() << "ERROR: --output_media_info is only supported if "
- 441 "--single_segment is true.";
-
-
-
-
-
- 447 if (!FLAGS_mpd_output.empty() && !FLAGS_hls_master_playlist_output.empty()) {
- 448 LOG(ERROR) << "Cannot output both MPD and HLS.";
-
-
-
-
- 453 MuxerOptions muxer_options;
- 454 if (!GetMuxerOptions(&muxer_options))
-
-
- 457 MpdOptions mpd_options;
- 458 if (!GetMpdOptions(&mpd_options))
-
-
-
- 462 scoped_ptr<KeySource> encryption_key_source;
- 463 if (FLAGS_enable_widevine_encryption || FLAGS_enable_fixed_key_encryption) {
- 464 encryption_key_source = CreateEncryptionKeySource();
- 465 if (!encryption_key_source)
-
-
-
- 469 scoped_ptr<MpdNotifier> mpd_notifier;
- 470 if (!FLAGS_mpd_output.empty()) {
- 471 DashProfile profile =
- 472 FLAGS_single_segment ? kOnDemandProfile : kLiveProfile;
- 473 std::vector<std::string> base_urls;
- 474 base::SplitString(FLAGS_base_urls, ',', &base_urls);
- 475 if (FLAGS_generate_dash_if_iop_compliant_mpd) {
- 476 mpd_notifier.reset( new DashIopMpdNotifier(profile, mpd_options, base_urls,
-
-
- 479 mpd_notifier.reset( new SimpleMpdNotifier(profile, mpd_options, base_urls,
-
-
- 482 if (!mpd_notifier->Init()) {
- 483 LOG(ERROR) << "MpdNotifier failed to initialize.";
-
-
-
-
- 488 scoped_ptr<hls::HlsNotifier> hls_notifier;
- 489 if (!FLAGS_hls_master_playlist_output.empty()) {
- 490 base::FilePath master_playlist_path(
- 491 base::FilePath::FromUTF8Unsafe(FLAGS_hls_master_playlist_output));
- 492 base::FilePath master_playlist_name = master_playlist_path.BaseName();
-
- 494 hls_notifier.reset( new hls::SimpleHlsNotifier(
- 495 hls::HlsNotifier::HlsProfile::kOnDemandProfile, FLAGS_hls_base_url,
- 496 master_playlist_path.DirName().AsEndingWithSeparator().AsUTF8Unsafe(),
- 497 master_playlist_name.AsUTF8Unsafe()));
-
-
- 500 std::vector<RemuxJob*> remux_jobs;
- 501 STLElementDeleter<std::vector<RemuxJob*> > scoped_jobs_deleter(&remux_jobs);
- 502 FakeClock fake_clock;
- 503 if (!CreateRemuxJobs(stream_descriptors, muxer_options, &fake_clock,
- 504 encryption_key_source.get(), mpd_notifier.get(),
- 505 hls_notifier.get(), &remux_jobs)) {
-
-
-
- 509 Status status = RunRemuxJobs(remux_jobs);
-
- 511 LOG(ERROR) << "Packaging Error: " << status.ToString();
-
-
-
-
- 516 if (!hls_notifier->Flush())
-
-
-
- 520 if (!mpd_notifier->Flush())
-
-
-
- 524 printf( "Packaging completed successfully.\n");
-
-
-
- 528 int PackagerMain( int argc, char** argv) {
- 529 base::AtExitManager exit;
-
- 531 base::CommandLine::Init(argc, argv);
-
-
- 534 logging::LoggingSettings log_settings;
- 535 base::FilePath log_filename;
- 536 PathService::Get(base::DIR_EXE, &log_filename);
- 537 log_filename = log_filename.AppendASCII( "packager.log");
- 538 log_settings.logging_dest = logging::LOG_TO_ALL;
- 539 log_settings.log_file = log_filename.value().c_str();
- 540 log_settings.delete_old = logging::DELETE_OLD_LOG_FILE;
- 541 CHECK(logging::InitLogging(log_settings));
-
- 543 google::SetUsageMessage(base::StringPrintf(kUsage, argv[0]));
- 544 google::ParseCommandLineFlags(&argc, &argv, true);
-
- 546 const std::string version_string = base::StringPrintf(
- 547 "shaka-packager version %s", GetPackagerVersion().c_str());
- 548 google::ShowUsageWithFlags(version_string.c_str());
-
-
-
-
- 553 return kArgumentValidationFailed;
-
- 555 if (FLAGS_override_version)
- 556 SetPackagerVersionForTesting(FLAGS_test_version);
-
- 558 LibcryptoThreading libcrypto_threading;
-
-
- 561 StreamDescriptorList stream_descriptors;
- 562 for ( int i = 1; i < argc; ++i) {
- 563 if (!InsertStreamDescriptor(argv[i], &stream_descriptors))
- 564 return kArgumentValidationFailed;
-
- 566 return RunPackager(stream_descriptors) ? kSuccess : kPackagingFailed;
-
-
-
-
-
-
-
- 574 int wmain( int argc, wchar_t* argv[], wchar_t* envp[]) {
- 575 std::unique_ptr<char* [], std::function<void(char**)>> utf8_argv(
- 576 new char*[argc], [argc]( char** utf8_args) {
-
-
-
-
-
-
-
- 584 std::wstring_convert<std::codecvt_utf8<wchar_t>> converter;
- 585 for ( int idx = 0; idx < argc; ++idx) {
- 586 std::string utf8_arg(converter.to_bytes(argv[idx]));
-
- 588 utf8_argv[idx] = new char[utf8_arg.size()];
- 589 memcpy(utf8_argv[idx], &utf8_arg[0], utf8_arg.size());
-
- 591 return shaka::media::PackagerMain(argc, utf8_argv.get());
-
-
- 594 int main( int argc, char** argv) {
- 595 return shaka::media::PackagerMain(argc, argv);
-
- 597 #endif // defined(OS_WIN)
-
+ 167 RemuxJob(std::unique_ptr<Demuxer> demuxer)
+ 168 : SimpleThread( "RemuxJob"), demuxer_(std::move(demuxer)) {}
+
+ 170 ~RemuxJob() override {
+ 171 STLDeleteElements(&muxers_);
+
+
+ 174 void AddMuxer(std::unique_ptr<Muxer> mux) {
+ 175 muxers_.push_back(mux.release());
+
+
+ 178 Demuxer* demuxer() { return demuxer_.get(); }
+ 179 Status status() { return status_; }
+
+
+ 182 void Run() override {
+
+ 184 status_ = demuxer_->Run();
+
+
+ 187 std::unique_ptr<Demuxer> demuxer_;
+ 188 std::vector<Muxer*> muxers_;
+
+
+ 191 DISALLOW_COPY_AND_ASSIGN(RemuxJob);
+
+
+ 194 bool StreamInfoToTextMediaInfo( const StreamDescriptor& stream_descriptor,
+ 195 const MuxerOptions& stream_muxer_options,
+ 196 MediaInfo* text_media_info) {
+ 197 const std::string& language = stream_descriptor.language;
+ 198 std::string format = DetermineTextFileFormat(stream_descriptor.input);
+ 199 if (format.empty()) {
+ 200 LOG(ERROR) << "Failed to determine the text file format for "
+ 201 << stream_descriptor.input;
+
+
+
+ 205 if (! File::Copy(stream_descriptor.input.c_str(),
+ 206 stream_muxer_options.output_file_name.c_str())) {
+ 207 LOG(ERROR) << "Failed to copy the input file (" << stream_descriptor.input
+ 208 << ") to output file (" << stream_muxer_options.output_file_name
+
+
+
+
+ 213 text_media_info->set_media_file_name(stream_muxer_options.output_file_name);
+ 214 text_media_info->set_container_type(MediaInfo::CONTAINER_TEXT);
+
+ 216 if (stream_muxer_options.bandwidth != 0) {
+ 217 text_media_info->set_bandwidth(stream_muxer_options.bandwidth);
+
+
+
+
+ 222 text_media_info->set_bandwidth(256);
+
+
+ 225 MediaInfo::TextInfo* text_info = text_media_info->mutable_text_info();
+ 226 text_info->set_format(format);
+ 227 if (!language.empty())
+ 228 text_info->set_language(language);
+
+
+
+
+ 233 std::unique_ptr<Muxer> CreateOutputMuxer( const MuxerOptions& options,
+ 234 MediaContainerName container) {
+ 235 if (container == CONTAINER_WEBM) {
+ 236 return std::unique_ptr<Muxer>( new webm::WebMMuxer(options));
+ 237 } else if (container == CONTAINER_MPEG2TS) {
+ 238 return std::unique_ptr<Muxer>( new mp2t::TsMuxer(options));
+
+ 240 DCHECK_EQ(container, CONTAINER_MOV);
+ 241 return std::unique_ptr<Muxer>( new mp4::MP4Muxer(options));
+
+
+
+ 245 bool CreateRemuxJobs( const StreamDescriptorList& stream_descriptors,
+ 246 const MuxerOptions& muxer_options,
+ 247 FakeClock* fake_clock,
+ 248 KeySource* key_source,
+ 249 MpdNotifier* mpd_notifier,
+ 250 hls::HlsNotifier* hls_notifier,
+ 251 std::vector<RemuxJob*>* remux_jobs) {
+
+ 253 DCHECK(!(mpd_notifier && hls_notifier));
+
+
+ 256 std::string previous_input;
+ 257 int stream_number = 0;
+ 258 for (StreamDescriptorList::const_iterator
+ 259 stream_iter = stream_descriptors.begin();
+ 260 stream_iter != stream_descriptors.end();
+ 261 ++stream_iter, ++stream_number) {
+
+ 263 MuxerOptions stream_muxer_options(muxer_options);
+ 264 stream_muxer_options.output_file_name = stream_iter->output;
+ 265 if (!stream_iter->segment_template.empty()) {
+ 266 if (!ValidateSegmentTemplate(stream_iter->segment_template)) {
+ 267 LOG(ERROR) << "ERROR: segment template with '"
+ 268 << stream_iter->segment_template << "' is invalid.";
+
+
+ 271 stream_muxer_options.segment_template = stream_iter->segment_template;
+ 272 if (stream_muxer_options.single_segment) {
+ 273 LOG(WARNING) << "Segment template and single segment are incompatible, "
+ 274 "setting single segment to false.";
+ 275 stream_muxer_options.single_segment = false;
+
+
+ 278 stream_muxer_options.bandwidth = stream_iter->bandwidth;
+
+
+ 281 if (stream_iter->stream_selector == "text") {
+ 282 MediaInfo text_media_info;
+ 283 if (!StreamInfoToTextMediaInfo(*stream_iter, stream_muxer_options,
+
+
+
+
+
+
+ 290 if (!mpd_notifier->NotifyNewContainer(text_media_info, &unused)) {
+ 291 LOG(ERROR) << "Failed to process text file " << stream_iter->input;
+
+ 293 mpd_notifier->Flush();
+
+ 295 } else if (FLAGS_output_media_info) {
+
+
+ 298 stream_muxer_options.output_file_name + kMediaInfoSuffix);
+
+
+ 301 << "--mpd_output or --output_media_info flags are "
+ 302 "required for text output. Skipping manifest related output for "
+ 303 << stream_iter->input;
+
+
+
+
+ 308 if (stream_iter->input != previous_input) {
+
+ 310 std::unique_ptr<Demuxer> demuxer( new Demuxer(stream_iter->input));
+ 311 if (FLAGS_enable_widevine_decryption ||
+ 312 FLAGS_enable_fixed_key_decryption) {
+ 313 std::unique_ptr<KeySource> key_source(CreateDecryptionKeySource());
+
+
+ 316 demuxer->SetKeySource(std::move(key_source));
+
+ 318 Status status = demuxer->Initialize();
+
+ 320 LOG(ERROR) << "Demuxer failed to initialize: " << status.ToString();
+
+
+ 323 if (FLAGS_dump_stream_info) {
+ 324 printf( "\nFile \"%s\":\n", stream_iter->input.c_str());
+ 325 DumpStreamInfo(demuxer->streams());
+ 326 if (stream_iter->output.empty())
+
+
+ 329 remux_jobs->push_back( new RemuxJob(std::move(demuxer)));
+ 330 previous_input = stream_iter->input;
+
+ 332 DCHECK(!remux_jobs->empty());
+
+ 334 std::unique_ptr<Muxer> muxer(
+ 335 CreateOutputMuxer(stream_muxer_options, stream_iter->output_format));
+ 336 if (FLAGS_use_fake_clock_for_muxer) muxer->set_clock(fake_clock);
+
+
+ 339 muxer->SetKeySource(key_source,
+
+
+ 342 FLAGS_crypto_period_duration,
+ 343 GetProtectionScheme(FLAGS_protection_scheme));
+
+
+ 346 std::unique_ptr<MuxerListener> muxer_listener;
+ 347 DCHECK(!(FLAGS_output_media_info && mpd_notifier));
+ 348 if (FLAGS_output_media_info) {
+ 349 const std::string output_media_info_file_name =
+ 350 stream_muxer_options.output_file_name + kMediaInfoSuffix;
+ 351 std::unique_ptr<VodMediaInfoDumpMuxerListener>
+ 352 vod_media_info_dump_muxer_listener(
+ 353 new VodMediaInfoDumpMuxerListener(output_media_info_file_name));
+ 354 muxer_listener = std::move(vod_media_info_dump_muxer_listener);
+
+
+ 357 std::unique_ptr<MpdNotifyMuxerListener> mpd_notify_muxer_listener(
+ 358 new MpdNotifyMuxerListener(mpd_notifier));
+ 359 muxer_listener = std::move(mpd_notify_muxer_listener);
+
+
+
+
+
+ 365 std::string group_id = stream_iter->hls_group_id;
+ 366 std::string name = stream_iter->hls_name;
+ 367 std::string hls_playlist_name = stream_iter->hls_playlist_name;
+ 368 if (group_id.empty())
+
+
+ 371 name = base::StringPrintf( "stream_%d", stream_number);
+ 372 if (hls_playlist_name.empty())
+ 373 hls_playlist_name = base::StringPrintf( "stream_%d.m3u8", stream_number);
+
+ 375 muxer_listener.reset( new HlsNotifyMuxerListener(hls_playlist_name, name,
+ 376 group_id, hls_notifier));
+
+
+
+ 380 muxer->SetMuxerListener(std::move(muxer_listener));
+
+ 382 if (!AddStreamToMuxer(remux_jobs->back()->demuxer()->streams(),
+ 383 stream_iter->stream_selector,
+ 384 stream_iter->language,
+
+
+
+ 388 remux_jobs->back()->AddMuxer(std::move(muxer));
+
+
+
+
+
+ 394 Status RunRemuxJobs( const std::vector<RemuxJob*>& remux_jobs) {
+
+ 396 for (std::vector<RemuxJob*>::const_iterator job_iter = remux_jobs.begin();
+ 397 job_iter != remux_jobs.end();
+
+ 399 (*job_iter)->Start();
+
+
+
+
+
+
+
+ 407 for (std::vector<RemuxJob*>::const_iterator job_iter = remux_jobs.begin();
+ 408 job_iter != remux_jobs.end();
+
+ 410 if ((*job_iter)->HasBeenJoined()) {
+ 411 status = (*job_iter)->status();
+
+
+
+
+
+
+
+ 419 } while (!all_joined && status.ok());
+
+
+
+
+ 424 bool RunPackager( const StreamDescriptorList& stream_descriptors) {
+ 425 const FourCC protection_scheme = GetProtectionScheme(FLAGS_protection_scheme);
+ 426 if (protection_scheme == FOURCC_NULL)
+
+
+ 429 if (!AssignFlagsFromProfile())
+
+
+ 432 if (FLAGS_output_media_info && !FLAGS_mpd_output.empty()) {
+ 433 NOTIMPLEMENTED() << "ERROR: --output_media_info and --mpd_output do not "
+
+
+
+ 437 if (FLAGS_output_media_info && !FLAGS_single_segment) {
+
+ 439 NOTIMPLEMENTED() << "ERROR: --output_media_info is only supported if "
+ 440 "--single_segment is true.";
+
+
+
+
+
+ 446 if (!FLAGS_mpd_output.empty() && !FLAGS_hls_master_playlist_output.empty()) {
+ 447 LOG(ERROR) << "Cannot output both MPD and HLS.";
+
+
+
+
+ 452 MuxerOptions muxer_options;
+ 453 if (!GetMuxerOptions(&muxer_options))
+
+
+ 456 MpdOptions mpd_options;
+ 457 if (!GetMpdOptions(&mpd_options))
+
+
+
+ 461 std::unique_ptr<KeySource> encryption_key_source;
+ 462 if (FLAGS_enable_widevine_encryption || FLAGS_enable_fixed_key_encryption) {
+ 463 encryption_key_source = CreateEncryptionKeySource();
+ 464 if (!encryption_key_source)
+
+
+
+ 468 std::unique_ptr<MpdNotifier> mpd_notifier;
+ 469 if (!FLAGS_mpd_output.empty()) {
+ 470 DashProfile profile =
+ 471 FLAGS_single_segment ? kOnDemandProfile : kLiveProfile;
+ 472 std::vector<std::string> base_urls;
+ 473 base::SplitString(FLAGS_base_urls, ',', &base_urls);
+ 474 if (FLAGS_generate_dash_if_iop_compliant_mpd) {
+ 475 mpd_notifier.reset( new DashIopMpdNotifier(profile, mpd_options, base_urls,
+
+
+ 478 mpd_notifier.reset( new SimpleMpdNotifier(profile, mpd_options, base_urls,
+
+
+ 481 if (!mpd_notifier->Init()) {
+ 482 LOG(ERROR) << "MpdNotifier failed to initialize.";
+
+
+
+
+ 487 std::unique_ptr<hls::HlsNotifier> hls_notifier;
+ 488 if (!FLAGS_hls_master_playlist_output.empty()) {
+ 489 base::FilePath master_playlist_path(
+ 490 base::FilePath::FromUTF8Unsafe(FLAGS_hls_master_playlist_output));
+ 491 base::FilePath master_playlist_name = master_playlist_path.BaseName();
+
+ 493 hls_notifier.reset( new hls::SimpleHlsNotifier(
+ 494 hls::HlsNotifier::HlsProfile::kOnDemandProfile, FLAGS_hls_base_url,
+ 495 master_playlist_path.DirName().AsEndingWithSeparator().AsUTF8Unsafe(),
+ 496 master_playlist_name.AsUTF8Unsafe()));
+
+
+ 499 std::vector<RemuxJob*> remux_jobs;
+ 500 STLElementDeleter<std::vector<RemuxJob*> > scoped_jobs_deleter(&remux_jobs);
+ 501 FakeClock fake_clock;
+ 502 if (!CreateRemuxJobs(stream_descriptors, muxer_options, &fake_clock,
+ 503 encryption_key_source.get(), mpd_notifier.get(),
+ 504 hls_notifier.get(), &remux_jobs)) {
+
+
+
+ 508 Status status = RunRemuxJobs(remux_jobs);
+
+ 510 LOG(ERROR) << "Packaging Error: " << status.ToString();
+
+
+
+
+ 515 if (!hls_notifier->Flush())
+
+
+
+ 519 if (!mpd_notifier->Flush())
+
+
+
+ 523 printf( "Packaging completed successfully.\n");
+
+
+
+ 527 int PackagerMain( int argc, char** argv) {
+ 528 base::AtExitManager exit;
+
+ 530 base::CommandLine::Init(argc, argv);
+
+
+ 533 logging::LoggingSettings log_settings;
+ 534 base::FilePath log_filename;
+ 535 PathService::Get(base::DIR_EXE, &log_filename);
+ 536 log_filename = log_filename.AppendASCII( "packager.log");
+ 537 log_settings.logging_dest = logging::LOG_TO_ALL;
+ 538 log_settings.log_file = log_filename.value().c_str();
+ 539 log_settings.delete_old = logging::DELETE_OLD_LOG_FILE;
+ 540 CHECK(logging::InitLogging(log_settings));
+
+ 542 google::SetUsageMessage(base::StringPrintf(kUsage, argv[0]));
+ 543 google::ParseCommandLineFlags(&argc, &argv, true);
+
+ 545 const std::string version_string = base::StringPrintf(
+ 546 "shaka-packager version %s", GetPackagerVersion().c_str());
+ 547 google::ShowUsageWithFlags(version_string.c_str());
+
+
+
+
+ 552 return kArgumentValidationFailed;
+
+ 554 if (FLAGS_override_version)
+ 555 SetPackagerVersionForTesting(FLAGS_test_version);
+
+ 557 LibcryptoThreading libcrypto_threading;
+
+
+ 560 StreamDescriptorList stream_descriptors;
+ 561 for ( int i = 1; i < argc; ++i) {
+ 562 if (!InsertStreamDescriptor(argv[i], &stream_descriptors))
+ 563 return kArgumentValidationFailed;
+
+ 565 return RunPackager(stream_descriptors) ? kSuccess : kPackagingFailed;
+
+
+
+
+
+
+
+ 573 int wmain( int argc, wchar_t* argv[], wchar_t* envp[]) {
+ 574 std::unique_ptr<char* [], std::function<void(char**)>> utf8_argv(
+ 575 new char*[argc], [argc]( char** utf8_args) {
+
+
+
+
+
+
+
+ 583 std::wstring_convert<std::codecvt_utf8<wchar_t>> converter;
+ 584 for ( int idx = 0; idx < argc; ++idx) {
+ 585 std::string utf8_arg(converter.to_bytes(argv[idx]));
+
+ 587 utf8_argv[idx] = new char[utf8_arg.size()];
+ 588 memcpy(utf8_argv[idx], &utf8_arg[0], utf8_arg.size());
+
+ 590 return shaka::media::PackagerMain(argc, utf8_argv.get());
+
+
+ 593 int main( int argc, char** argv) {
+ 594 return shaka::media::PackagerMain(argc, argv);
+
+ 596 #endif // defined(OS_WIN)
+
bool ValidateWidevineCryptoFlags()
-
+
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 cf899574c0..04ed480ba9 100644
--- a/docs/d2/de7/classshaka_1_1media_1_1TextStreamInfo-members.html
+++ b/docs/d2/de7/classshaka_1_1media_1_1TextStreamInfo-members.html
@@ -118,7 +118,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 b92c81267a..5a22b30ba7 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/mock__muxer__listener_8h_source.html b/docs/d2/de9/mock__muxer__listener_8h_source.html
index ef7545114e..6b009c5228 100644
--- a/docs/d2/de9/mock__muxer__listener_8h_source.html
+++ b/docs/d2/de9/mock__muxer__listener_8h_source.html
@@ -163,7 +163,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 0cd72f73e0..a24f2446cb 100644
--- a/docs/d2/deb/es__parser_8h_source.html
+++ b/docs/d2/deb/es__parser_8h_source.html
@@ -145,7 +145,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 aae465495e..ce71bd645f 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
@@ -102,13 +102,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Parse(bool payload_unit_start_indicator, const uint8_t *buf, int size) override (defined in shaka::media::mp2t::TsSectionPes) | shaka::media::mp2t::TsSectionPes | virtual |
Reset() override (defined in shaka::media::mp2t::TsSectionPes) | shaka::media::mp2t::TsSectionPes | virtual |
SpecialPid enum name (defined in shaka::media::mp2t::TsSection) | shaka::media::mp2t::TsSection | |
- TsSectionPes(scoped_ptr< EsParser > es_parser) (defined in shaka::media::mp2t::TsSectionPes) | shaka::media::mp2t::TsSectionPes | explicit |
+ TsSectionPes(std::unique_ptr< EsParser > es_parser) (defined in shaka::media::mp2t::TsSectionPes) | shaka::media::mp2t::TsSectionPes | explicit |
~TsSection() (defined in shaka::media::mp2t::TsSection) | shaka::media::mp2t::TsSection | inlinevirtual |
~TsSectionPes() override (defined in shaka::media::mp2t::TsSectionPes) | shaka::media::mp2t::TsSectionPes | |
diff --git a/docs/d2/dee/pes__packet__generator_8cc_source.html b/docs/d2/dee/pes__packet__generator_8cc_source.html
index 3d12e1b2fb..49c80ea9c0 100644
--- a/docs/d2/dee/pes__packet__generator_8cc_source.html
+++ b/docs/d2/dee/pes__packet__generator_8cc_source.html
@@ -268,10 +268,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
- 183 scoped_ptr<EncryptionKey> encryption_key) {
+
+ 183 std::unique_ptr<EncryptionKey> encryption_key) {
184 if (stream_type_ == kStreamVideo) {
- 185 scoped_ptr<AesCbcEncryptor> cbc(
+ 185 std::unique_ptr<AesCbcEncryptor> cbc(
188 const uint8_t kEncryptedBlocks = 1;
@@ -279,7 +279,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
191 kEncryptedBlocks, kClearBlocks,
- 193 AesCryptor::ConstantIvFlag::kUseConstantIv, cbc.Pass()));
+ 193 AesCryptor::ConstantIvFlag::kUseConstantIv, std::move(cbc)));
194 }
else if (stream_type_ == kStreamAudio) {
@@ -296,11 +296,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
207 return pes_packets_.size();
-
+
211 DCHECK(!pes_packets_.empty());
213 pes_packets_.pop_front();
- 214 return scoped_ptr<PesPacket>(pes);
+ 214 return std::unique_ptr<PesPacket>(pes);
@@ -311,16 +311,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
-
+
-
-
+
-
+
+
@@ -328,7 +328,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 15a2f6a753..b5b9977729 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
@@ -120,7 +120,7 @@ int cluster_count () c
- Definition at line 79 of file segmenter_test_base.h.
+ Definition at line 80 of file segmenter_test_base.h.
The documentation for this class was generated from the following files: | cluster_count () c
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 d0fc3aabc2..b225ff1798 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 ce2451f891..ba87d799ac 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 edff893fb7..fb95f4df5d 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 c73ec9fe45..138711d4a7 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 1169a04994..2e6374922f 100644
--- a/docs/d3/d0a/classshaka_1_1media_1_1MediaParser.html
+++ b/docs/d3/d0a/classshaka_1_1media_1_1MediaParser.html
@@ -130,7 +130,7 @@ Public Member Functions |
-
Definition at line 26 of file media_parser.h.
+
Definition at line 25 of file media_parser.h.
@@ -172,7 +172,7 @@ Public Member Functions
- Returns
- true if the sample is accepted, false if something was wrong with the sample and a parsing error should be signaled.
-Definition at line 44 of file media_parser.h.
+Definition at line 43 of file media_parser.h.
@@ -298,7 +298,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 bf427b1af7..858abcbfac 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 bc92aced07..69aa5f750e 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/d15/udp__file__win_8cc_source.html b/docs/d3/d15/udp__file__win_8cc_source.html
index dd8d77b0cc..552781e623 100644
--- a/docs/d3/d15/udp__file__win_8cc_source.html
+++ b/docs/d3/d15/udp__file__win_8cc_source.html
@@ -160,7 +160,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 18a5222c48..77eeeffab7 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
index 5a51f00fbd..6814b57c0b 100644
--- a/docs/d3/d19/io__cache_8h_source.html
+++ b/docs/d3/d19/io__cache_8h_source.html
@@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 12d6eef586..e8c977557d 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 77f0ae26d2..dddd6a410a 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 44e3eb323f..f03b56d441 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 32b9ad6256..6d1543c7fd 100644
--- a/docs/d3/d56/decrypt__config_8cc_source.html
+++ b/docs/d3/d56/decrypt__config_8cc_source.html
@@ -127,7 +127,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
index 14d0a8188e..7ac6fb2c3a 100644
--- a/docs/d3/d61/classshaka_1_1media_1_1File.html
+++ b/docs/d3/d61/classshaka_1_1media_1_1File.html
@@ -195,7 +195,7 @@ class ThreadedIoFile
- Do not call the destructor directly (with the "delete" keyword) nor use scoped_ptr; instead use Close().
+ Do not call the destructor directly (with the "delete" keyword) nor use std::unique_ptr; instead use Close().
Definition at line 132 of file file.h.
@@ -270,7 +270,7 @@ class | ThreadedIoFile
- Returns
- true on success, false otherwise.
-Definition at line 207 of file file.cc.
+Definition at line 204 of file file.cc.
@@ -315,7 +315,7 @@ class | ThreadedIoFile
- Returns
- Number of bytes written, or a value < 0 on error.
-Definition at line 236 of file file.cc.
+Definition at line 233 of file file.cc.
@@ -367,7 +367,7 @@ class | ThreadedIoFile
- Returns
- Number of bytes written, or a value < 0 on error.
-Definition at line 240 of file file.cc.
+Definition at line 237 of file file.cc.
@@ -401,7 +401,7 @@ class | ThreadedIoFile
- Returns
- true if successful, false otherwise.
-Definition at line 167 of file file.cc.
+Definition at line 164 of file file.cc.
@@ -481,7 +481,7 @@ class | ThreadedIoFile
- 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 180 of file file.cc.
+ Definition at line 177 of file file.cc.
@@ -526,7 +526,7 @@ class | ThreadedIoFile
- Returns
- A File pointer on success, false otherwise.
-Definition at line 145 of file file.cc.
+Definition at line 142 of file file.cc.
@@ -571,7 +571,7 @@ class | ThreadedIoFile
- Returns
- A File pointer on success, false otherwise.
-Definition at line 156 of file file.cc.
+Definition at line 153 of file file.cc.
@@ -661,7 +661,7 @@ class | ThreadedIoFile
- Returns
- true on success, false otherwise.
-Definition at line 189 of file file.cc.
+Definition at line 186 of file file.cc.
@@ -811,7 +811,7 @@ class | ThreadedIoFile
diff --git a/docs/d3/d62/continuity__counter_8h_source.html b/docs/d3/d62/continuity__counter_8h_source.html
index 3e35be4acc..3ce38c9aaa 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 8c24797d68..bc54208f5b 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 0e04798047..b0742bdf77 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 69d08a44ec..a856285984 100644
--- a/docs/d3/d67/classshaka_1_1media_1_1WebMVideoClient.html
+++ b/docs/d3/d67/classshaka_1_1media_1_1WebMVideoClient.html
@@ -190,7 +190,7 @@ An empty scoped_refptr if there was unexpected values in the provided parameters
diff --git a/docs/d3/d6b/fixed__key__source_8cc_source.html b/docs/d3/d6b/fixed__key__source_8cc_source.html
index cd90ac166f..a71d462810 100644
--- a/docs/d3/d6b/fixed__key__source_8cc_source.html
+++ b/docs/d3/d6b/fixed__key__source_8cc_source.html
@@ -172,38 +172,38 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
87 const std::string& key_id_hex,
88 const std::string& key_hex,
89 const std::string& pssh_boxes_hex,
90 const std::string& iv_hex) {
- 91 scoped_ptr<EncryptionKey> encryption_key( new EncryptionKey());
+ 91 std::unique_ptr<EncryptionKey> encryption_key( new EncryptionKey());
93 if (!base::HexStringToBytes(key_id_hex, &encryption_key->key_id)) {
94 LOG(ERROR) << "Cannot parse key_id_hex " << key_id_hex;
- 95 return scoped_ptr<FixedKeySource>();
+ 95 return std::unique_ptr<FixedKeySource>();
96 } else if (encryption_key->key_id.size() != 16) {
97 LOG(ERROR) << "Invalid key ID size '" << encryption_key->key_id.size()
98 << "', must be 16 bytes.";
- 99 return scoped_ptr<FixedKeySource>();
+ 99 return std::unique_ptr<FixedKeySource>();
102 if (!base::HexStringToBytes(key_hex, &encryption_key->key)) {
103 LOG(ERROR) << "Cannot parse key_hex " << key_hex;
- 104 return scoped_ptr<FixedKeySource>();
+ 104 return std::unique_ptr<FixedKeySource>();
107 std::vector<uint8_t> pssh_boxes;
108 if (!pssh_boxes_hex.empty() &&
109 !base::HexStringToBytes(pssh_boxes_hex, &pssh_boxes)) {
110 LOG(ERROR) << "Cannot parse pssh_hex " << pssh_boxes_hex;
- 111 return scoped_ptr<FixedKeySource>();
+ 111 return std::unique_ptr<FixedKeySource>();
114 if (!iv_hex.empty()) {
115 if (!base::HexStringToBytes(iv_hex, &encryption_key->iv)) {
116 LOG(ERROR) << "Cannot parse iv_hex " << iv_hex;
- 117 return scoped_ptr<FixedKeySource>();
+ 117 return std::unique_ptr<FixedKeySource>();
@@ -211,7 +211,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
122 pssh_boxes.data(), pssh_boxes.size(),
123 &encryption_key->key_system_info)) {
124 LOG(ERROR) << "--pssh argument should be full PSSH boxes.";
- 125 return scoped_ptr<FixedKeySource>();
+ 125 return std::unique_ptr<FixedKeySource>();
@@ -224,20 +224,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
135 encryption_key->key_system_info.push_back(info);
- 138 return scoped_ptr<FixedKeySource>( new FixedKeySource(encryption_key.Pass()));
-
-
- 141 FixedKeySource::FixedKeySource() {}
- 142 FixedKeySource::FixedKeySource(scoped_ptr<EncryptionKey> key)
- 143 : encryption_key_(key.Pass()) {}
-
-
-
-
+ 138 return std::unique_ptr<FixedKeySource>(
+
+
+
+ 142 FixedKeySource::FixedKeySource() {}
+ 143 FixedKeySource::FixedKeySource(std::unique_ptr<EncryptionKey> key)
+ 144 : encryption_key_(std::move(key)) {}
+
+
+
+
-
+
@@ -245,7 +246,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 930dd567aa..00e6366dfa 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
@@ -126,10 +126,10 @@ void | | |
void | Cancel () |
|
-void | SetMuxerListener (scoped_ptr< MuxerListener > muxer_listener) |
- |
-void | SetProgressListener (scoped_ptr< ProgressListener > progress_listener) |
- |
+void | SetMuxerListener (std::unique_ptr< MuxerListener > muxer_listener) |
+ |
+void | SetProgressListener (std::unique_ptr< ProgressListener > progress_listener) |
+ |
const std::vector< MediaStream * > & | streams () const |
|
@@ -178,7 +178,7 @@ FourCC protection_scheme
diff --git a/docs/d3/d72/fixed__key__source_8h_source.html b/docs/d3/d72/fixed__key__source_8h_source.html
index 9a1b3f0066..d7daf4614b 100644
--- a/docs/d3/d72/fixed__key__source_8h_source.html
+++ b/docs/d3/d72/fixed__key__source_8h_source.html
@@ -96,10 +96,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef MEDIA_BASE_FIXED_KEY_SOURCE_H_
8 #define MEDIA_BASE_FIXED_KEY_SOURCE_H_
-
-
-
- 13 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+
14 #include "packager/media/base/key_source.h"
@@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
55 const std::string& key_id_hex,
56 const std::string& key_hex,
57 const std::string& pssh_boxes_hex,
@@ -138,9 +138,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
- 67 scoped_ptr<EncryptionKey> encryption_key_;
+ 67 std::unique_ptr<EncryptionKey> encryption_key_;
@@ -149,18 +149,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
75 #endif // MEDIA_BASE_FIXED_KEY_SOURCE_H_
-
+
-
+
-
+
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 6dd3177f77..07bbde73b4 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
@@ -130,10 +130,10 @@ void | | |
void | Cancel () |
|
-void | SetMuxerListener (scoped_ptr< MuxerListener > muxer_listener) |
- |
-void | SetProgressListener (scoped_ptr< ProgressListener > progress_listener) |
- |
+void | SetMuxerListener (std::unique_ptr< MuxerListener > muxer_listener) |
+ |
+void | SetProgressListener (std::unique_ptr< ProgressListener > progress_listener) |
+ |
const std::vector< MediaStream * > & | streams () const |
|
@@ -182,7 +182,7 @@ FourCC protection_scheme
diff --git a/docs/d3/d75/classshaka_1_1media_1_1AesEncryptor.html b/docs/d3/d75/classshaka_1_1media_1_1AesEncryptor.html
index bf1f037bb2..5260aeba53 100644
--- a/docs/d3/d75/classshaka_1_1media_1_1AesEncryptor.html
+++ b/docs/d3/d75/classshaka_1_1media_1_1AesEncryptor.html
@@ -154,7 +154,7 @@ AES_KEY * | mutable_aes_key<
- Definition at line 22 of file aes_encryptor.h.
+ Definition at line 21 of file aes_encryptor.h.
@@ -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 99a929cb7f..72bcdffe18 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 14092a2a5c..7747ec9d46 100644
--- a/docs/d3/d76/muxer__flags_8h_source.html
+++ b/docs/d3/d76/muxer__flags_8h_source.html
@@ -115,7 +115,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 04890e4f34..ad2e77ae33 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 1e7e988987..2d190ccdc3 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 f46ebb76b7..12d1e1d92a 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 scoped_refptr if there was unexpected values in the provided parameters
diff --git a/docs/d3/d80/muxer__util_8h_source.html b/docs/d3/d80/muxer__util_8h_source.html
index a0be2cf8f2..08b31e97da 100644
--- a/docs/d3/d80/muxer__util_8h_source.html
+++ b/docs/d3/d80/muxer__util_8h_source.html
@@ -127,7 +127,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 d427186c9d..30645d917c 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/d8b/structshaka_1_1media_1_1FileCloser.html b/docs/d3/d8b/structshaka_1_1media_1_1FileCloser.html
index 8683164907..11af56dff4 100644
--- a/docs/d3/d8b/structshaka_1_1media_1_1FileCloser.html
+++ b/docs/d3/d8b/structshaka_1_1media_1_1FileCloser.html
@@ -103,7 +103,7 @@ void operator() ( | |
-Used by scoped_ptr to automatically close the file when it goes out of scope.
+
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:
@@ -112,7 +112,7 @@ void operator() (
diff --git a/docs/d3/d8d/webm__audio__client_8h_source.html b/docs/d3/d8d/webm__audio__client_8h_source.html
index 4be97a7c17..de5a7daa7d 100644
--- a/docs/d3/d8d/webm__audio__client_8h_source.html
+++ b/docs/d3/d8d/webm__audio__client_8h_source.html
@@ -94,10 +94,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 #ifndef MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_
6 #define MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_
-
-
-
- 11 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+
12 #include "packager/media/base/audio_stream_info.h"
13 #include "packager/media/formats/webm/webm_parser.h"
@@ -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 0d7cd5a6e4..23bca853ae 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 a6f686fda4..cfee6da13f 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/da0/ec3__audio__util_8h_source.html b/docs/d3/da0/ec3__audio__util_8h_source.html
index 02ece1a2e1..b243a6f803 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 dcf53880ec..c7ce5bbd18 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
@@ -121,8 +121,8 @@ Public Member Functions |
| Segmenter (const MuxerOptions &options) |
|
-Status | Initialize (scoped_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) |
- |
+Status | Initialize (std::unique_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) |
+ |
Status | Finalize () |
|
Status | AddSample (scoped_refptr< MediaSample > sample) |
@@ -144,12 +144,12 @@ void set_index_start (
|
void | set_index_end (uint64_t end) |
|
-
-void | set_writer (scoped_ptr< MkvWriter > writer) |
- |
-
-Status | DoInitialize (scoped_ptr< MkvWriter > writer) override |
- |
+
+void | set_writer (std::unique_ptr< MkvWriter > writer) |
+ |
+
+Status | DoInitialize (std::unique_ptr< MkvWriter > writer) override |
+ |
Status | DoFinalize () override |
|
@@ -293,7 +293,7 @@ double cluster_length_sec<
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 f7308feb65..215b411bda 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 6f8e1d3260..dcdf3f5ed7 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/db4/classshaka_1_1media_1_1WebMWebVTTParser-members.html b/docs/d3/db4/classshaka_1_1media_1_1WebMWebVTTParser-members.html
index d17705c534..fe57c52d3c 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 ffde11776d..143f3b6dd0 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 e7eae3dfe0..f73485d024 100644
--- a/docs/d3/db6/webm__parser_8cc_source.html
+++ b/docs/d3/db6/webm__parser_8cc_source.html
@@ -1068,7 +1068,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 626a1b0381..113f03f2d6 100644
--- a/docs/d3/dbc/seek__head_8cc_source.html
+++ b/docs/d3/dbc/seek__head_8cc_source.html
@@ -216,7 +216,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 957cea1a46..690a75dc32 100644
--- a/docs/d3/dbe/demuxer_8cc_source.html
+++ b/docs/d3/dbe/demuxer_8cc_source.html
@@ -138,8 +138,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
49 STLDeleteElements(&streams_);
-
- 53 key_source_ = key_source.Pass();
+
+ 53 key_source_ = std::move(key_source);
@@ -324,28 +324,28 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
-
+
+
-
+
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 53ecdfb1b0..113f0370b0 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 18c1e8d445..336348280d 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
@@ -126,7 +126,7 @@ track_id, const scoped_refptr
-
Definition at line 31 of file mp2t_media_parser.h.
+
Definition at line 30 of file mp2t_media_parser.h.
@@ -205,7 +205,7 @@ track_id, const scoped_refptr
Implements shaka::media::MediaParser.
-Definition at line 158 of file mp2t_media_parser.cc.
+Definition at line 160 of file mp2t_media_parser.cc.
@@ -245,7 +245,7 @@ track_id, const scoped_refptr
Implements shaka::media::MediaParser.
-Definition at line 190 of file mp2t_media_parser.cc.
+Definition at line 192 of file mp2t_media_parser.cc.
@@ -256,7 +256,7 @@ track_id, const scoped_refptr
diff --git a/docs/d3/dd0/classshaka_1_1MpdNotifier.html b/docs/d3/dd0/classshaka_1_1MpdNotifier.html
index 99540606e0..b1f0857dd8 100644
--- a/docs/d3/dd0/classshaka_1_1MpdNotifier.html
+++ b/docs/d3/dd0/classshaka_1_1MpdNotifier.html
@@ -472,7 +472,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 0741b7d04d..13da83d802 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 8f9a8579df..9c02656314 100644
--- a/docs/d3/de4/seek__head_8h_source.html
+++ b/docs/d3/de4/seek__head_8h_source.html
@@ -140,7 +140,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 6cf2e7e881..5343de9d35 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 40099ac26f..8edc80a28b 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 90ff55fcf8..152d21ec08 100644
--- a/docs/d3/df1/box__reader_8cc_source.html
+++ b/docs/d3/df1/box__reader_8cc_source.html
@@ -96,9 +96,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
- 11 #include "packager/base/logging.h"
- 12 #include "packager/base/memory/scoped_ptr.h"
+
+
+ 12 #include "packager/base/logging.h"
13 #include "packager/base/strings/stringprintf.h"
14 #include "packager/media/formats/mp4/box.h"
@@ -126,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
38 const size_t buf_size,
- 40 scoped_ptr<BoxReader> reader( new BoxReader(buf, buf_size));
+ 40 std::unique_ptr<BoxReader> reader( new BoxReader(buf, buf_size));
41 if (!reader->ReadHeader(err))
@@ -159,7 +159,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
72 while (pos() < size()) {
- 73 scoped_ptr<BoxReader> child(
+ 73 std::unique_ptr<BoxReader> child(
74 new BoxReader(&data()[pos()], size() - pos()));
76 if (!child->ReadHeader(&err))
@@ -260,7 +260,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 fb7cab8c10..e3d1f8df31 100644
--- a/docs/d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html
+++ b/docs/d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html
@@ -123,8 +123,8 @@ Public Types |
|
- | AesPatternCryptor (uint8_t crypt_byte_block, uint8_t skip_byte_block, PatternEncryptionMode encryption_mode, ConstantIvFlag constant_iv_flag, scoped_ptr< AesCryptor > cryptor) |
- |
+ | AesPatternCryptor (uint8_t crypt_byte_block, uint8_t skip_byte_block, PatternEncryptionMode encryption_mode, ConstantIvFlag constant_iv_flag, std::unique_ptr< AesCryptor > cryptor) |
+ |
|
bool | InitializeWithIv (const std::vector< uint8_t > &key, const std::vector< uint8_t > &iv) override |
|
@@ -167,7 +167,7 @@ AES_KEY * mutable_aes_key<
Implements pattern-based encryption/decryption.
- Definition at line 16 of file aes_pattern_cryptor.h.
+ Definition at line 17 of file aes_pattern_cryptor.h.
@@ -188,12 +188,12 @@ AES_KEY * | mutable_aes_key<
|
-Definition at line 20 of file aes_pattern_cryptor.h.
+Definition at line 21 of file aes_pattern_cryptor.h.
-
+
@@ -224,7 +224,7 @@ AES_KEY * mutable_aes_key<
|
|
- scoped_ptr< AesCryptor > |
+ std::unique_ptr< AesCryptor > |
cryptor |
@@ -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 bbe9ed994d..d71bc194b9 100644
--- a/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html
+++ b/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html
@@ -110,9 +110,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
23 MultiSegmentSegmenter::MultiSegmentSegmenter( const MuxerOptions& options,
- 24 scoped_ptr<FileType> ftyp,
- 25 scoped_ptr<Movie> moov)
- 26 : Segmenter(options, ftyp.Pass(), moov.Pass()),
+ 24 std::unique_ptr<FileType> ftyp,
+ 25 std::unique_ptr<Movie> moov)
+ 26 : Segmenter(options, std::move(ftyp), std::move(moov)),
27 styp_(new SegmentType),
@@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
53 return Status(error::FILE_FAILURE,
54 "Cannot open file for write " + options().output_file_name);
-
+
57 ftyp()-> Write(buffer.get());
58 moov()-> Write(buffer.get());
59 Status status = buffer->WriteToFile(file);
@@ -224,7 +224,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
135 DCHECK(fragment_buffer());
- 138 scoped_ptr<BufferWriter> buffer( new BufferWriter());
+ 138 std::unique_ptr<BufferWriter> buffer( new BufferWriter());
140 std::string file_name;
141 if (options().segment_template.empty()) {
@@ -304,7 +304,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 2747b72ab6..a3c752b1a9 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 5655b18b36..a5968e46ed 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 d641e01f0a..7c7e2db65f 100644
--- a/docs/d4/d14/classshaka_1_1media_1_1WebVttMediaParser-members.html
+++ b/docs/d4/d14/classshaka_1_1media_1_1WebVttMediaParser-members.html
@@ -105,7 +105,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 99f2988415..db9e74706c 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 e876aeecf0..ba96c05936 100644
--- a/docs/d4/d20/classshaka_1_1media_1_1AesCbcEncryptor.html
+++ b/docs/d4/d20/classshaka_1_1media_1_1AesCbcEncryptor.html
@@ -158,7 +158,7 @@ AES_KEY * | mutable_aes_key<
- Definition at line 78 of file aes_encryptor.h.
+ Definition at line 77 of file aes_encryptor.h.
@@ -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 12c50a384d..1c02f4de94 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 5857ffb946..0fcf93959a 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 1228552e73..4884ccf6a1 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
index 3a4077c158..e6ce43b311 100644
--- a/docs/d4/d37/io__cache_8cc_source.html
+++ b/docs/d4/d37/io__cache_8cc_source.html
@@ -252,7 +252,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 693ecc83c3..898c2f8c6e 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/d4a/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html b/docs/d4/d4a/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html
index c91d54cb3e..7f45de3498 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 71ad8318ab..af8ff1f6c7 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 88a4d20dd6..fc73376fe9 100644
--- a/docs/d4/d58/classshaka_1_1media_1_1Nalu-members.html
+++ b/docs/d4/d58/classshaka_1_1media_1_1Nalu-members.html
@@ -157,7 +157,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 54b2df2d8e..b0f01ead5a 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 8eec90e11c..ae192daf8d 100644
--- a/docs/d4/d5c/classshaka_1_1media_1_1DecryptConfig-members.html
+++ b/docs/d4/d5c/classshaka_1_1media_1_1DecryptConfig-members.html
@@ -106,7 +106,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
index 32f0d7be01..e1675311e6 100644
--- a/docs/d4/d5d/classshaka_1_1media_1_1UdpFile-members.html
+++ b/docs/d4/d5d/classshaka_1_1media_1_1UdpFile-members.html
@@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d4/d70/classshaka_1_1DashIopMpdNotifier.html b/docs/d4/d70/classshaka_1_1DashIopMpdNotifier.html
index 517de9cf09..7ffd64dbb4 100644
--- a/docs/d4/d70/classshaka_1_1DashIopMpdNotifier.html
+++ b/docs/d4/d70/classshaka_1_1DashIopMpdNotifier.html
@@ -473,7 +473,7 @@ class | DashIopMpdNotifierTe
diff --git a/docs/d4/d70/structshaka_1_1SegmentInfo-members.html b/docs/d4/d70/structshaka_1_1SegmentInfo-members.html
index 3f7162ef67..8bc2d41d38 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/d87/nalu__reader_8h_source.html b/docs/d4/d87/nalu__reader_8h_source.html
index 3a73712dea..2aab4f0122 100644
--- a/docs/d4/d87/nalu__reader_8h_source.html
+++ b/docs/d4/d87/nalu__reader_8h_source.html
@@ -297,7 +297,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 419f0d17c9..47a2a35db3 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 5dbb7c1dae..2ad2240797 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/da7/segmenter__test__base_8cc_source.html b/docs/d4/da7/segmenter__test__base_8cc_source.html
index 056132e740..fed3f228ed 100644
--- a/docs/d4/da7/segmenter__test__base_8cc_source.html
+++ b/docs/d4/da7/segmenter__test__base_8cc_source.html
@@ -298,7 +298,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
@@ -310,7 +310,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 28ebd8e0a4..3c63185e16 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 4ffdf9b347..3af607d9ad 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 20b1a73f83..e968504036 100644
--- a/docs/d4/db2/cluster__builder_8h_source.html
+++ b/docs/d4/db2/cluster__builder_8h_source.html
@@ -95,91 +95,93 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
6 #define MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_
- 9 #include "packager/base/memory/scoped_ptr.h"
+
-
-
-
-
-
- 16 Cluster(scoped_ptr<uint8_t[]> data,
int size);
-
-
- 19 const uint8_t* data()
const {
return data_.get(); }
- 20 int size()
const {
return size_; }
-
-
- 23 scoped_ptr<uint8_t[]> data_;
-
-
- 26 DISALLOW_IMPLICIT_CONSTRUCTORS(
Cluster);
-
-
-
-
-
-
-
- 34 void SetClusterTimecode(int64_t cluster_timecode);
- 35 void AddSimpleBlock(
int track_num,
-
-
-
-
- 40 void AddBlockGroup(
int track_num,
-
-
-
-
-
-
- 47 void AddBlockGroupWithoutBlockDuration(
int track_num,
-
-
-
-
-
-
- 54 scoped_ptr<Cluster> Finish();
- 55 scoped_ptr<Cluster> FinishWithUnknownSize();
-
-
- 58 void AddBlockGroupInternal(
int track_num,
-
- 60 bool include_block_duration,
-
-
-
-
-
-
- 67 void ExtendBuffer(
int bytes_needed);
- 68 void UpdateUInt64(
int offset, int64_t value);
- 69 void WriteBlock(uint8_t* buf,
-
-
-
-
-
-
- 76 scoped_ptr<uint8_t[]> buffer_;
-
-
- 79 int64_t cluster_timecode_;
-
-
-
-
-
-
-
- 87 #endif // MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_
-
-
+ 11 #include "packager/base/macros.h"
+
+
+
+
+
+
+ 18 Cluster(std::unique_ptr<uint8_t[]> data,
int size);
+
+
+ 21 const uint8_t* data()
const {
return data_.get(); }
+ 22 int size()
const {
return size_; }
+
+
+ 25 std::unique_ptr<uint8_t[]> data_;
+
+
+ 28 DISALLOW_IMPLICIT_CONSTRUCTORS(
Cluster);
+
+
+
+
+
+
+
+ 36 void SetClusterTimecode(int64_t cluster_timecode);
+ 37 void AddSimpleBlock(
int track_num,
+
+
+
+
+ 42 void AddBlockGroup(
int track_num,
+
+
+
+
+
+
+ 49 void AddBlockGroupWithoutBlockDuration(
int track_num,
+
+
+
+
+
+
+ 56 std::unique_ptr<Cluster> Finish();
+ 57 std::unique_ptr<Cluster> FinishWithUnknownSize();
+
+
+ 60 void AddBlockGroupInternal(
int track_num,
+
+ 62 bool include_block_duration,
+
+
+
+
+
+
+ 69 void ExtendBuffer(
int bytes_needed);
+ 70 void UpdateUInt64(
int offset, int64_t value);
+ 71 void WriteBlock(uint8_t* buf,
+
+
+
+
+
+
+ 78 std::unique_ptr<uint8_t[]> buffer_;
+
+
+ 81 int64_t cluster_timecode_;
+
+
+
+
+
+
+
+ 89 #endif // MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_
+
+
diff --git a/docs/d4/db4/classshaka_1_1MpdNotifierFactory.html b/docs/d4/db4/classshaka_1_1MpdNotifierFactory.html
index 08914da645..f2110a65fd 100644
--- a/docs/d4/db4/classshaka_1_1MpdNotifierFactory.html
+++ b/docs/d4/db4/classshaka_1_1MpdNotifierFactory.html
@@ -98,9 +98,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
-
-virtual scoped_ptr< MpdNotifier > | Create (DashProfile dash_profile, const MpdOptions &mpd_options, const std::vector< std::string > &base_urls, const std::string &output_path)=0 |
- |
+
+virtual std::unique_ptr
+< MpdNotifier > | Create (DashProfile dash_profile, const MpdOptions &mpd_options, const std::vector< std::string > &base_urls, const std::string &output_path)=0 |
+ |
This is mainly for testing, and is implementation detail. No need to worry about this class if you are just using the API. Inject a factory and mock MpdNotifier to test the MpdWriter implementation.
@@ -112,7 +113,7 @@ virtual scoped_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 3eeb7fdca7..2ba48731ad 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 58ba013621..3ff59b1bb9 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 cc55d3dec2..d38291fc3d 100644
--- a/docs/d4/dd3/bit__reader_8h_source.html
+++ b/docs/d4/dd3/bit__reader_8h_source.html
@@ -187,7 +187,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 2d0f5c7ad1..86639f5b79 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
index a135603a45..b452df7200 100644
--- a/docs/d4/ddb/classshaka_1_1media_1_1MemoryFile-members.html
+++ b/docs/d4/ddb/classshaka_1_1media_1_1MemoryFile-members.html
@@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d4/dde/webvtt__util_8h_source.html b/docs/d4/dde/webvtt__util_8h_source.html
index 62fc3989db..7f2619f853 100644
--- a/docs/d4/dde/webvtt__util_8h_source.html
+++ b/docs/d4/dde/webvtt__util_8h_source.html
@@ -122,7 +122,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 0ca3800269..1c25de4591 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 344987a4ab..fc02863d7e 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 719fe6c984..556b1082a5 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 5606780292..e79598f6da 100644
--- a/docs/d4/dec/hls__flags_8h_source.html
+++ b/docs/d4/dec/hls__flags_8h_source.html
@@ -105,7 +105,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 66cb802b4c..0c0fe15d1f 100644
--- a/docs/d4/df5/request__signer_8cc_source.html
+++ b/docs/d4/df5/request__signer_8cc_source.html
@@ -109,8 +109,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
20 RequestSigner::~RequestSigner() {}
22 AesRequestSigner::AesRequestSigner(
const std::string& signer_name,
- 23 scoped_ptr<AesCbcEncryptor> encryptor)
- 24 : RequestSigner(signer_name), aes_cbc_encryptor_(encryptor.Pass()) {
+ 23 std::unique_ptr<AesCbcEncryptor> encryptor)
+ 24 : RequestSigner(signer_name), aes_cbc_encryptor_(std::move(encryptor)) {
25 DCHECK(aes_cbc_encryptor_);
27 AesRequestSigner::~AesRequestSigner() {}
@@ -129,11 +129,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 43 scoped_ptr<AesCbcEncryptor> encryptor(
+ 43 std::unique_ptr<AesCbcEncryptor> encryptor(
45 if (!encryptor->InitializeWithIv(aes_key, iv))
-
+
@@ -142,43 +142,44 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 56 RsaRequestSigner::RsaRequestSigner(
const std::string& signer_name,
- 57 scoped_ptr<RsaPrivateKey> rsa_private_key)
- 58 :
RequestSigner(signer_name), rsa_private_key_(rsa_private_key.Pass()) {
- 59 DCHECK(rsa_private_key_);
-
- 61 RsaRequestSigner::~RsaRequestSigner() {}
-
-
- 64 const std::string& signer_name,
- 65 const std::string& pkcs1_rsa_key) {
- 66 scoped_ptr<RsaPrivateKey> rsa_private_key(
-
-
-
-
-
-
-
- 74 std::string* signature) {
- 75 return rsa_private_key_->GenerateSignature(message, signature);
-
-
-
-
-
-
+ 56 RsaRequestSigner::RsaRequestSigner(
+ 57 const std::string& signer_name,
+ 58 std::unique_ptr<RsaPrivateKey> rsa_private_key)
+ 59 :
RequestSigner(signer_name), rsa_private_key_(std::move(rsa_private_key)) {
+ 60 DCHECK(rsa_private_key_);
+
+ 62 RsaRequestSigner::~RsaRequestSigner() {}
+
+
+ 65 const std::string& signer_name,
+ 66 const std::string& pkcs1_rsa_key) {
+ 67 std::unique_ptr<RsaPrivateKey> rsa_private_key(
+
+
+
+
+
+
+
+ 75 std::string* signature) {
+ 76 return rsa_private_key_->GenerateSignature(message, signature);
+
+
+
+
+
+
-
-
+
+
-
-
+
+
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 492e1802f4..8a33634af8 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 5ef095b22a..62cee7ff32 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 9098e8eb0c..36afa5236d 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 06a4a20201..fab18a96a2 100644
--- a/docs/d4/dff/webm__media__parser_8cc_source.html
+++ b/docs/d4/dff/webm__media__parser_8cc_source.html
@@ -359,12 +359,12 @@ 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 0f7ff0cb43..51ed8afa1a 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 40eee07888..de85f5f00b 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 6d5e73ad15..984ab3e435 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 8eeb308780..447ff707e7 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 3923d16502..abd64f4bc4 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 40231e49f1..2e20b497d7 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 e591c0f992..7a10dedab7 100644
--- a/docs/d5/d15/producer__consumer__queue_8h_source.html
+++ b/docs/d5/d15/producer__consumer__queue_8h_source.html
@@ -374,7 +374,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 485080b562..1aae6b072c 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 1b049e3331..d1ed32cc53 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
@@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
| cts() const (defined in shaka::media::mp4::TrackRunIterator) | shaka::media::mp4::TrackRunIterator | |
dts() const (defined in shaka::media::mp4::TrackRunIterator) | shaka::media::mp4::TrackRunIterator | |
duration() const (defined in shaka::media::mp4::TrackRunIterator) | shaka::media::mp4::TrackRunIterator | |
- GetDecryptConfig() | shaka::media::mp4::TrackRunIterator | |
+ GetDecryptConfig() | shaka::media::mp4::TrackRunIterator | |
GetMaxClearOffset() | shaka::media::mp4::TrackRunIterator | |
Init() | shaka::media::mp4::TrackRunIterator | |
Init(const MovieFragment &moof) | shaka::media::mp4::TrackRunIterator | |
@@ -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 961c86b453..c3f9d7d5f3 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 a077d4d688..e9bfe828eb 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 ad1690e484..f27f8f2629 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 187773be59..17eabc69f2 100644
--- a/docs/d5/d40/webm_2single__segment__segmenter_8h_source.html
+++ b/docs/d5/d40/webm_2single__segment__segmenter_8h_source.html
@@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #include "packager/media/formats/webm/segmenter.h"
- 12 #include "packager/base/memory/scoped_ptr.h"
+
13 #include "packager/media/base/status.h"
14 #include "packager/media/formats/webm/mkv_writer.h"
@@ -122,30 +122,32 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
39 void set_init_end(uint64_t end) { init_end_ = end; }
40 void set_index_start(uint64_t start) { index_start_ = start; }
41 void set_index_end(uint64_t end) { index_end_ = end; }
- 42 void set_writer(scoped_ptr<MkvWriter> writer) { writer_ = writer.Pass(); }
-
-
- 45 Status DoInitialize(scoped_ptr<MkvWriter> writer)
override;
- 46 Status DoFinalize()
override;
-
-
-
- 50 Status NewSubsegment(uint64_t start_timescale)
override;
- 51 Status NewSegment(uint64_t start_timescale)
override;
-
- 53 scoped_ptr<MkvWriter> writer_;
-
- 55 uint64_t index_start_;
-
-
-
-
-
-
-
-
-
- 65 #endif // MEDIA_FORMATS_WEBM_SINGLE_SEGMENT_SEGMENTER_H_
+ 42 void set_writer(std::unique_ptr<MkvWriter> writer) {
+ 43 writer_ = std::move(writer);
+
+
+
+ 47 Status DoInitialize(std::unique_ptr<MkvWriter> writer)
override;
+ 48 Status DoFinalize()
override;
+
+
+
+ 52 Status NewSubsegment(uint64_t start_timescale)
override;
+ 53 Status NewSegment(uint64_t start_timescale)
override;
+
+ 55 std::unique_ptr<MkvWriter> writer_;
+
+ 57 uint64_t index_start_;
+
+
+
+
+
+
+
+
+
+ 67 #endif // MEDIA_FORMATS_WEBM_SINGLE_SEGMENT_SEGMENTER_H_
@@ -156,7 +158,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 02fcbb060e..7283bfd438 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 44e04c49ba..dd2a6fe211 100644
--- a/docs/d5/d4d/box_8cc_source.html
+++ b/docs/d5/d4d/box_8cc_source.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d5/d52/ts__section__pes_8h_source.html b/docs/d5/d52/ts__section__pes_8h_source.html
index 90a8210bcf..3106cae3cd 100644
--- a/docs/d5/d52/ts__section__pes_8h_source.html
+++ b/docs/d5/d52/ts__section__pes_8h_source.html
@@ -95,73 +95,72 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PES_H_
-
+
10 #include "packager/base/compiler_specific.h"
- 11 #include "packager/base/memory/scoped_ptr.h"
- 12 #include "packager/media/base/byte_queue.h"
- 13 #include "packager/media/formats/mp2t/ts_section.h"
-
-
-
-
-
-
-
-
-
-
-
-
-
- 27 bool Parse(
bool payload_unit_start_indicator,
-
-
- 30 void Flush()
override;
- 31 void Reset()
override;
-
-
-
-
-
-
- 38 bool Emit(
bool emit_for_unknown_size);
-
-
- 41 bool ParseInternal(
const uint8_t* raw_pes,
int raw_pes_size);
-
-
-
-
-
-
-
- 49 scoped_ptr<EsParser> es_parser_;
-
-
-
-
-
- 55 bool previous_pts_valid_;
- 56 int64_t previous_pts_;
- 57 bool previous_dts_valid_;
- 58 int64_t previous_dts_;
-
-
-
-
-
-
-
-
-
-
-
-
+ 11 #include "packager/media/base/byte_queue.h"
+ 12 #include "packager/media/formats/mp2t/ts_section.h"
+
+
+
+
+
+
+
+
+
+ 22 explicit TsSectionPes(std::unique_ptr<EsParser> es_parser);
+
+
+
+ 26 bool Parse(
bool payload_unit_start_indicator,
+
+
+ 29 void Flush()
override;
+ 30 void Reset()
override;
+
+
+
+
+
+
+ 37 bool Emit(
bool emit_for_unknown_size);
+
+
+ 40 bool ParseInternal(
const uint8_t* raw_pes,
int raw_pes_size);
+
+
+
+
+
+
+
+ 48 std::unique_ptr<EsParser> es_parser_;
+
+
+
+
+
+ 54 bool previous_pts_valid_;
+ 55 int64_t previous_pts_;
+ 56 bool previous_dts_valid_;
+ 57 int64_t previous_dts_;
+
+
+
+
+
+
+
+
+
+
+
+
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 0285eb8612..0cdf61318a 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 6668342097..b286388b62 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 88001b614d..81861d9b5c 100644
--- a/docs/d5/d59/classshaka_1_1MockRepresentation-members.html
+++ b/docs/d5/d59/classshaka_1_1MockRepresentation-members.html
@@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
MOCK_METHOD2(UpdateContentProtectionPssh, void(const std::string &drm_uuid, const std::string &pssh)) (defined in shaka::MockRepresentation) | shaka::MockRepresentation | |
MOCK_METHOD3(AddNewSegment, void(uint64_t start_time, uint64_t duration, uint64_t size)) (defined in shaka::MockRepresentation) | shaka::MockRepresentation | |
MockRepresentation(uint32_t representation_id) (defined in shaka::MockRepresentation) | shaka::MockRepresentation | explicit |
- Representation(const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, scoped_ptr< RepresentationStateChangeListener > state_change_listener) | shaka::Representation | protected |
+ Representation(const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, std::unique_ptr< RepresentationStateChangeListener > state_change_listener) | shaka::Representation | protected |
SetSampleDuration(uint32_t sample_duration) | shaka::Representation | virtual |
SuppressFlag enum name (defined in shaka::Representation) | shaka::Representation | |
SuppressOnce(SuppressFlag flag) | shaka::Representation | |
@@ -116,7 +116,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 a4f8961ab0..642b370ab7 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 0cd6ac6f0b..ae8fad088f 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
@@ -113,9 +113,9 @@ Public Member Functions
void Reset () override |
|
-
- | EsParserH26x (Nalu::CodecType type, scoped_ptr< H26xByteToUnitStreamConverter > stream_converter, uint32_t pid, const EmitSampleCB &emit_sample_cb) |
- |
+
+ | EsParserH26x (Nalu::CodecType type, std::unique_ptr< H26xByteToUnitStreamConverter > stream_converter, uint32_t pid, const EmitSampleCB &emit_sample_cb) |
+ |
bool | Parse (const uint8_t *buf, int size, int64_t pts, int64_t dts) override |
|
@@ -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 dbb684a214..e2e263847e 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 b295c308f0..6cb4e0fc78 100644
--- a/docs/d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html
+++ b/docs/d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html
@@ -229,7 +229,7 @@ class NalUnitToByteStreamC
diff --git a/docs/d5/d6f/vlog__flags_8cc_source.html b/docs/d5/d6f/vlog__flags_8cc_source.html
index 0d7e8a4637..10c0bc2dd4 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 41f1d25225..9e3b079a61 100644
--- a/docs/d5/d72/avc__decoder__configuration__record_8cc_source.html
+++ b/docs/d5/d72/avc__decoder__configuration__record_8cc_source.html
@@ -203,7 +203,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 69baf5aba3..48e36928e7 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 b74e2ee8f2..66543e70e6 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 1d4d48ae66..f48a530af8 100644
--- a/docs/d5/d89/widevine__key__source_8cc_source.html
+++ b/docs/d5/d89/widevine__key__source_8cc_source.html
@@ -366,361 +366,365 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
277 return GetKeyInternal(crypto_period_index, track_type, key);
-
- 281 signer_ = signer.Pass();
+
+ 281 signer_ = std::move(signer);
-
- 285 key_fetcher_ = key_fetcher.Pass();
-
-
- 288 Status WidevineKeySource::GetKeyInternal(uint32_t crypto_period_index,
- 289 TrackType track_type,
-
-
-
- 293 DCHECK_LE(track_type, NUM_VALID_TRACK_TYPES);
- 294 DCHECK_NE(track_type, TRACK_TYPE_UNKNOWN);
-
- 296 scoped_refptr<RefCountedEncryptionKeyMap> ref_counted_encryption_key_map;
-
- 298 key_pool_->Peek(crypto_period_index, &ref_counted_encryption_key_map,
- 299 kGetKeyTimeoutInSeconds * 1000);
-
- 301 if (status.error_code() == error::STOPPED) {
- 302 CHECK(!common_encryption_request_status_.ok());
- 303 return common_encryption_request_status_;
-
-
-
-
- 308 EncryptionKeyMap& encryption_key_map = ref_counted_encryption_key_map->map();
- 309 if (encryption_key_map.find(track_type) == encryption_key_map.end()) {
- 310 return Status(error::INTERNAL_ERROR,
-
-
- 313 *key = *encryption_key_map[track_type];
-
-
-
- 317 void WidevineKeySource::FetchKeysTask() {
-
- 319 start_key_production_.Wait();
- 320 if (!key_pool_ || key_pool_->Stopped())
-
-
- 323 Status status = FetchKeysInternal(kEnableKeyRotation,
- 324 first_crypto_period_index_,
-
- 326 while (status.ok()) {
- 327 first_crypto_period_index_ += crypto_period_count_;
- 328 status = FetchKeysInternal(kEnableKeyRotation,
- 329 first_crypto_period_index_,
-
-
- 332 common_encryption_request_status_ = status;
-
-
-
- 336 Status WidevineKeySource::FetchKeysInternal(
bool enable_key_rotation,
- 337 uint32_t first_crypto_period_index,
- 338 bool widevine_classic) {
-
- 340 FillRequest(enable_key_rotation,
- 341 first_crypto_period_index,
-
-
-
- 345 Status status = GenerateKeyMessage(request, &message);
-
-
- 348 VLOG(1) <<
"Message: " << message;
-
- 350 std::string raw_response;
- 351 int64_t sleep_duration = kFirstRetryDelayMilliseconds;
-
-
-
- 355 for (
int i = 0; i < kNumTransientErrorRetries; ++i) {
- 356 status = key_fetcher_->FetchKeys(server_url_, message, &raw_response);
-
- 358 VLOG(1) <<
"Retry [" << i <<
"] Response:" << raw_response;
-
- 360 std::string response;
- 361 if (!DecodeResponse(raw_response, &response)) {
- 362 return Status(error::SERVER_ERROR,
- 363 "Failed to decode response '" + raw_response +
"'.");
-
-
- 366 bool transient_error =
false;
- 367 if (ExtractEncryptionKey(enable_key_rotation,
-
-
-
-
-
- 373 if (!transient_error) {
-
-
- 376 "Failed to extract encryption key from '" + response +
"'.");
-
- 378 }
else if (status.error_code() != error::TIME_OUT) {
-
-
-
-
- 383 if (i != kNumTransientErrorRetries - 1) {
- 384 base::PlatformThread::Sleep(
- 385 base::TimeDelta::FromMilliseconds(sleep_duration));
-
-
-
- 389 return Status(error::SERVER_ERROR,
- 390 "Failed to recover from server internal error.");
-
-
- 393 void WidevineKeySource::FillRequest(
bool enable_key_rotation,
- 394 uint32_t first_crypto_period_index,
- 395 std::string* request) {
-
- 397 DCHECK(!request_dict_.empty());
-
-
- 400 base::ListValue* tracks =
new base::ListValue();
-
- 402 base::DictionaryValue* track_sd =
new base::DictionaryValue();
- 403 track_sd->SetString(
"type",
"SD");
- 404 tracks->Append(track_sd);
- 405 base::DictionaryValue* track_hd =
new base::DictionaryValue();
- 406 track_hd->SetString(
"type",
"HD");
- 407 tracks->Append(track_hd);
- 408 base::DictionaryValue* track_audio =
new base::DictionaryValue();
- 409 track_audio->SetString(
"type",
"AUDIO");
- 410 tracks->Append(track_audio);
-
- 412 request_dict_.Set(
"tracks", tracks);
-
-
- 415 base::ListValue* drm_types =
new base::ListValue();
- 416 drm_types->AppendString(
"WIDEVINE");
- 417 request_dict_.Set(
"drm_types", drm_types);
-
-
- 420 if (enable_key_rotation) {
-
-
- 423 request_dict_.SetDouble(
"first_crypto_period_index",
- 424 first_crypto_period_index);
- 425 request_dict_.SetInteger(
"crypto_period_count", crypto_period_count_);
-
-
- 428 base::JSONWriter::WriteWithOptions(
-
-
-
- 432 base::JSONWriter::OPTIONS_OMIT_DOUBLE_TYPE_PRESERVATION, request);
-
-
- 435 Status WidevineKeySource::GenerateKeyMessage(
const std::string& request,
- 436 std::string* message) {
-
-
- 439 std::string request_base64_string;
- 440 base::Base64Encode(request, &request_base64_string);
-
- 442 base::DictionaryValue request_dict;
- 443 request_dict.SetString(
"request", request_base64_string);
-
-
-
- 447 std::string signature;
- 448 if (!signer_->GenerateSignature(request, &signature))
- 449 return Status(error::INTERNAL_ERROR,
"Signature generation failed.");
-
- 451 std::string signature_base64_string;
- 452 base::Base64Encode(signature, &signature_base64_string);
-
- 454 request_dict.SetString(
"signature", signature_base64_string);
- 455 request_dict.SetString(
"signer", signer_->signer_name());
-
-
- 458 base::JSONWriter::Write(request_dict, message);
-
-
-
- 462 bool WidevineKeySource::DecodeResponse(
- 463 const std::string& raw_response,
- 464 std::string* response) {
-
-
-
- 468 scoped_ptr<base::Value> root(base::JSONReader::Read(raw_response));
-
- 470 LOG(ERROR) <<
"'" << raw_response <<
"' is not in JSON format.";
-
-
- 473 const base::DictionaryValue* response_dict = NULL;
- 474 RCHECK(root->GetAsDictionary(&response_dict));
-
- 476 std::string response_base64_string;
- 477 RCHECK(response_dict->GetString(
"response", &response_base64_string));
- 478 RCHECK(base::Base64Decode(response_base64_string, response));
-
-
-
- 482 bool WidevineKeySource::ExtractEncryptionKey(
- 483 bool enable_key_rotation,
- 484 bool widevine_classic,
- 485 const std::string& response,
- 486 bool* transient_error) {
- 487 DCHECK(transient_error);
- 488 *transient_error =
false;
-
- 490 scoped_ptr<base::Value> root(base::JSONReader::Read(response));
-
- 492 LOG(ERROR) <<
"'" << response <<
"' is not in JSON format.";
-
-
-
- 496 const base::DictionaryValue* license_dict = NULL;
- 497 RCHECK(root->GetAsDictionary(&license_dict));
-
- 499 std::string license_status;
- 500 RCHECK(license_dict->GetString(
"status", &license_status));
- 501 if (license_status != kLicenseStatusOK) {
- 502 LOG(ERROR) <<
"Received non-OK license response: " << response;
- 503 *transient_error = (license_status == kLicenseStatusTransientError);
-
-
-
- 507 const base::ListValue* tracks;
- 508 RCHECK(license_dict->GetList(
"tracks", &tracks));
-
- 510 RCHECK(enable_key_rotation ? tracks->GetSize() >= 1 * crypto_period_count_
- 511 : tracks->GetSize() >= 1);
-
- 513 int current_crypto_period_index = first_crypto_period_index_;
-
- 515 EncryptionKeyMap encryption_key_map;
- 516 for (
size_t i = 0; i < tracks->GetSize(); ++i) {
- 517 const base::DictionaryValue* track_dict;
- 518 RCHECK(tracks->GetDictionary(i, &track_dict));
-
- 520 if (enable_key_rotation) {
- 521 int crypto_period_index;
-
- 523 track_dict->GetInteger(
"crypto_period_index", &crypto_period_index));
- 524 if (crypto_period_index != current_crypto_period_index) {
- 525 if (crypto_period_index != current_crypto_period_index + 1) {
- 526 LOG(ERROR) <<
"Expecting crypto period index "
- 527 << current_crypto_period_index <<
" or "
- 528 << current_crypto_period_index + 1 <<
"; Seen "
- 529 << crypto_period_index <<
" at track " << i;
-
-
- 532 if (!PushToKeyPool(&encryption_key_map))
-
- 534 ++current_crypto_period_index;
-
-
-
- 538 std::string track_type_str;
- 539 RCHECK(track_dict->GetString(
"type", &track_type_str));
-
- 541 DCHECK_NE(TRACK_TYPE_UNKNOWN, track_type);
- 542 RCHECK(encryption_key_map.find(track_type) == encryption_key_map.end());
-
- 544 scoped_ptr<EncryptionKey> encryption_key(
new EncryptionKey());
-
- 546 if (!GetKeyFromTrack(*track_dict, &encryption_key->key))
-
-
-
- 550 if (!widevine_classic) {
- 551 if (!GetKeyIdFromTrack(*track_dict, &encryption_key->key_id))
-
-
- 554 ProtectionSystemSpecificInfo info;
- 555 info.add_key_id(encryption_key->key_id);
- 556 info.set_system_id(kWidevineSystemId, arraysize(kWidevineSystemId));
- 557 info.set_pssh_box_version(0);
-
- 559 std::vector<uint8_t> pssh_data;
- 560 if (!GetPsshDataFromTrack(*track_dict, &pssh_data))
-
- 562 info.set_pssh_data(pssh_data);
-
- 564 encryption_key->key_system_info.push_back(info);
-
- 566 encryption_key_map[track_type] = encryption_key.release();
-
-
-
-
- 571 if (add_common_pssh_ && !widevine_classic) {
- 572 std::set<std::vector<uint8_t>> key_ids;
- 573 for (
const EncryptionKeyMap::value_type& pair : encryption_key_map) {
- 574 key_ids.insert(pair.second->key_id);
-
-
-
- 578 ProtectionSystemSpecificInfo info;
- 579 info.set_system_id(kCommonSystemId, arraysize(kCommonSystemId));
- 580 info.set_pssh_box_version(1);
- 581 for (
const std::vector<uint8_t>& key_id : key_ids) {
- 582 info.add_key_id(key_id);
-
-
- 585 for (
const EncryptionKeyMap::value_type& pair : encryption_key_map) {
- 586 pair.second->key_system_info.push_back(info);
+
+ 285 std::unique_ptr<KeyFetcher> key_fetcher) {
+ 286 key_fetcher_ = std::move(key_fetcher);
+
+
+ 289 Status WidevineKeySource::GetKeyInternal(uint32_t crypto_period_index,
+ 290 TrackType track_type,
+
+
+
+ 294 DCHECK_LE(track_type, NUM_VALID_TRACK_TYPES);
+ 295 DCHECK_NE(track_type, TRACK_TYPE_UNKNOWN);
+
+ 297 scoped_refptr<RefCountedEncryptionKeyMap> ref_counted_encryption_key_map;
+
+ 299 key_pool_->Peek(crypto_period_index, &ref_counted_encryption_key_map,
+ 300 kGetKeyTimeoutInSeconds * 1000);
+
+ 302 if (status.error_code() == error::STOPPED) {
+ 303 CHECK(!common_encryption_request_status_.ok());
+ 304 return common_encryption_request_status_;
+
+
+
+
+ 309 EncryptionKeyMap& encryption_key_map = ref_counted_encryption_key_map->map();
+ 310 if (encryption_key_map.find(track_type) == encryption_key_map.end()) {
+ 311 return Status(error::INTERNAL_ERROR,
+
+
+ 314 *key = *encryption_key_map[track_type];
+
+
+
+ 318 void WidevineKeySource::FetchKeysTask() {
+
+ 320 start_key_production_.Wait();
+ 321 if (!key_pool_ || key_pool_->Stopped())
+
+
+ 324 Status status = FetchKeysInternal(kEnableKeyRotation,
+ 325 first_crypto_period_index_,
+
+ 327 while (status.ok()) {
+ 328 first_crypto_period_index_ += crypto_period_count_;
+ 329 status = FetchKeysInternal(kEnableKeyRotation,
+ 330 first_crypto_period_index_,
+
+
+ 333 common_encryption_request_status_ = status;
+
+
+
+ 337 Status WidevineKeySource::FetchKeysInternal(
bool enable_key_rotation,
+ 338 uint32_t first_crypto_period_index,
+ 339 bool widevine_classic) {
+
+ 341 FillRequest(enable_key_rotation,
+ 342 first_crypto_period_index,
+
+
+
+ 346 Status status = GenerateKeyMessage(request, &message);
+
+
+ 349 VLOG(1) <<
"Message: " << message;
+
+ 351 std::string raw_response;
+ 352 int64_t sleep_duration = kFirstRetryDelayMilliseconds;
+
+
+
+ 356 for (
int i = 0; i < kNumTransientErrorRetries; ++i) {
+ 357 status = key_fetcher_->FetchKeys(server_url_, message, &raw_response);
+
+ 359 VLOG(1) <<
"Retry [" << i <<
"] Response:" << raw_response;
+
+ 361 std::string response;
+ 362 if (!DecodeResponse(raw_response, &response)) {
+ 363 return Status(error::SERVER_ERROR,
+ 364 "Failed to decode response '" + raw_response +
"'.");
+
+
+ 367 bool transient_error =
false;
+ 368 if (ExtractEncryptionKey(enable_key_rotation,
+
+
+
+
+
+ 374 if (!transient_error) {
+
+
+ 377 "Failed to extract encryption key from '" + response +
"'.");
+
+ 379 }
else if (status.error_code() != error::TIME_OUT) {
+
+
+
+
+ 384 if (i != kNumTransientErrorRetries - 1) {
+ 385 base::PlatformThread::Sleep(
+ 386 base::TimeDelta::FromMilliseconds(sleep_duration));
+
+
+
+ 390 return Status(error::SERVER_ERROR,
+ 391 "Failed to recover from server internal error.");
+
+
+ 394 void WidevineKeySource::FillRequest(
bool enable_key_rotation,
+ 395 uint32_t first_crypto_period_index,
+ 396 std::string* request) {
+
+ 398 DCHECK(!request_dict_.empty());
+
+
+ 401 base::ListValue* tracks =
new base::ListValue();
+
+ 403 base::DictionaryValue* track_sd =
new base::DictionaryValue();
+ 404 track_sd->SetString(
"type",
"SD");
+ 405 tracks->Append(track_sd);
+ 406 base::DictionaryValue* track_hd =
new base::DictionaryValue();
+ 407 track_hd->SetString(
"type",
"HD");
+ 408 tracks->Append(track_hd);
+ 409 base::DictionaryValue* track_audio =
new base::DictionaryValue();
+ 410 track_audio->SetString(
"type",
"AUDIO");
+ 411 tracks->Append(track_audio);
+
+ 413 request_dict_.Set(
"tracks", tracks);
+
+
+ 416 base::ListValue* drm_types =
new base::ListValue();
+ 417 drm_types->AppendString(
"WIDEVINE");
+ 418 request_dict_.Set(
"drm_types", drm_types);
+
+
+ 421 if (enable_key_rotation) {
+
+
+ 424 request_dict_.SetDouble(
"first_crypto_period_index",
+ 425 first_crypto_period_index);
+ 426 request_dict_.SetInteger(
"crypto_period_count", crypto_period_count_);
+
+
+ 429 base::JSONWriter::WriteWithOptions(
+
+
+
+ 433 base::JSONWriter::OPTIONS_OMIT_DOUBLE_TYPE_PRESERVATION, request);
+
+
+ 436 Status WidevineKeySource::GenerateKeyMessage(
const std::string& request,
+ 437 std::string* message) {
+
+
+ 440 std::string request_base64_string;
+ 441 base::Base64Encode(request, &request_base64_string);
+
+ 443 base::DictionaryValue request_dict;
+ 444 request_dict.SetString(
"request", request_base64_string);
+
+
+
+ 448 std::string signature;
+ 449 if (!signer_->GenerateSignature(request, &signature))
+ 450 return Status(error::INTERNAL_ERROR,
"Signature generation failed.");
+
+ 452 std::string signature_base64_string;
+ 453 base::Base64Encode(signature, &signature_base64_string);
+
+ 455 request_dict.SetString(
"signature", signature_base64_string);
+ 456 request_dict.SetString(
"signer", signer_->signer_name());
+
+
+ 459 base::JSONWriter::Write(request_dict, message);
+
+
+
+ 463 bool WidevineKeySource::DecodeResponse(
+ 464 const std::string& raw_response,
+ 465 std::string* response) {
+
+
+
+
+ 470 std::unique_ptr<base::Value> root(
+ 471 base::JSONReader::Read(raw_response).release());
+
+ 473 LOG(ERROR) <<
"'" << raw_response <<
"' is not in JSON format.";
+
+
+ 476 const base::DictionaryValue* response_dict = NULL;
+ 477 RCHECK(root->GetAsDictionary(&response_dict));
+
+ 479 std::string response_base64_string;
+ 480 RCHECK(response_dict->GetString(
"response", &response_base64_string));
+ 481 RCHECK(base::Base64Decode(response_base64_string, response));
+
+
+
+ 485 bool WidevineKeySource::ExtractEncryptionKey(
+ 486 bool enable_key_rotation,
+ 487 bool widevine_classic,
+ 488 const std::string& response,
+ 489 bool* transient_error) {
+ 490 DCHECK(transient_error);
+ 491 *transient_error =
false;
+
+
+ 494 std::unique_ptr<base::Value> root(base::JSONReader::Read(response).release());
+
+ 496 LOG(ERROR) <<
"'" << response <<
"' is not in JSON format.";
+
+
+
+ 500 const base::DictionaryValue* license_dict = NULL;
+ 501 RCHECK(root->GetAsDictionary(&license_dict));
+
+ 503 std::string license_status;
+ 504 RCHECK(license_dict->GetString(
"status", &license_status));
+ 505 if (license_status != kLicenseStatusOK) {
+ 506 LOG(ERROR) <<
"Received non-OK license response: " << response;
+ 507 *transient_error = (license_status == kLicenseStatusTransientError);
+
+
+
+ 511 const base::ListValue* tracks;
+ 512 RCHECK(license_dict->GetList(
"tracks", &tracks));
+
+ 514 RCHECK(enable_key_rotation ? tracks->GetSize() >= 1 * crypto_period_count_
+ 515 : tracks->GetSize() >= 1);
+
+ 517 int current_crypto_period_index = first_crypto_period_index_;
+
+ 519 EncryptionKeyMap encryption_key_map;
+ 520 for (
size_t i = 0; i < tracks->GetSize(); ++i) {
+ 521 const base::DictionaryValue* track_dict;
+ 522 RCHECK(tracks->GetDictionary(i, &track_dict));
+
+ 524 if (enable_key_rotation) {
+ 525 int crypto_period_index;
+
+ 527 track_dict->GetInteger(
"crypto_period_index", &crypto_period_index));
+ 528 if (crypto_period_index != current_crypto_period_index) {
+ 529 if (crypto_period_index != current_crypto_period_index + 1) {
+ 530 LOG(ERROR) <<
"Expecting crypto period index "
+ 531 << current_crypto_period_index <<
" or "
+ 532 << current_crypto_period_index + 1 <<
"; Seen "
+ 533 << crypto_period_index <<
" at track " << i;
+
+
+ 536 if (!PushToKeyPool(&encryption_key_map))
+
+ 538 ++current_crypto_period_index;
+
+
+
+ 542 std::string track_type_str;
+ 543 RCHECK(track_dict->GetString(
"type", &track_type_str));
+
+ 545 DCHECK_NE(TRACK_TYPE_UNKNOWN, track_type);
+ 546 RCHECK(encryption_key_map.find(track_type) == encryption_key_map.end());
+
+ 548 std::unique_ptr<EncryptionKey> encryption_key(
new EncryptionKey());
+
+ 550 if (!GetKeyFromTrack(*track_dict, &encryption_key->key))
+
+
+
+ 554 if (!widevine_classic) {
+ 555 if (!GetKeyIdFromTrack(*track_dict, &encryption_key->key_id))
+
+
+ 558 ProtectionSystemSpecificInfo info;
+ 559 info.add_key_id(encryption_key->key_id);
+ 560 info.set_system_id(kWidevineSystemId, arraysize(kWidevineSystemId));
+ 561 info.set_pssh_box_version(0);
+
+ 563 std::vector<uint8_t> pssh_data;
+ 564 if (!GetPsshDataFromTrack(*track_dict, &pssh_data))
+
+ 566 info.set_pssh_data(pssh_data);
+
+ 568 encryption_key->key_system_info.push_back(info);
+
+ 570 encryption_key_map[track_type] = encryption_key.release();
+
+
+
+
+ 575 if (add_common_pssh_ && !widevine_classic) {
+ 576 std::set<std::vector<uint8_t>> key_ids;
+ 577 for (
const EncryptionKeyMap::value_type& pair : encryption_key_map) {
+ 578 key_ids.insert(pair.second->key_id);
+
+
+
+ 582 ProtectionSystemSpecificInfo info;
+ 583 info.set_system_id(kCommonSystemId, arraysize(kCommonSystemId));
+ 584 info.set_pssh_box_version(1);
+ 585 for (
const std::vector<uint8_t>& key_id : key_ids) {
+ 586 info.add_key_id(key_id);
-
-
- 590 DCHECK(!encryption_key_map.empty());
- 591 if (!enable_key_rotation) {
- 592 encryption_key_map_ = encryption_key_map;
-
-
- 595 return PushToKeyPool(&encryption_key_map);
-
-
- 598 bool WidevineKeySource::PushToKeyPool(
- 599 EncryptionKeyMap* encryption_key_map) {
-
- 601 DCHECK(encryption_key_map);
-
- 603 key_pool_->Push(scoped_refptr<RefCountedEncryptionKeyMap>(
- 604 new RefCountedEncryptionKeyMap(encryption_key_map)),
-
- 606 encryption_key_map->clear();
-
- 608 DCHECK_EQ(error::STOPPED, status.error_code());
-
-
-
-
-
-
-
+
+ 589 for (
const EncryptionKeyMap::value_type& pair : encryption_key_map) {
+ 590 pair.second->key_system_info.push_back(info);
+
+
+
+ 594 DCHECK(!encryption_key_map.empty());
+ 595 if (!enable_key_rotation) {
+ 596 encryption_key_map_ = encryption_key_map;
+
+
+ 599 return PushToKeyPool(&encryption_key_map);
+
+
+ 602 bool WidevineKeySource::PushToKeyPool(
+ 603 EncryptionKeyMap* encryption_key_map) {
+
+ 605 DCHECK(encryption_key_map);
+
+ 607 key_pool_->Push(scoped_refptr<RefCountedEncryptionKeyMap>(
+ 608 new RefCountedEncryptionKeyMap(encryption_key_map)),
+
+ 610 encryption_key_map->clear();
+
+ 612 DCHECK_EQ(error::STOPPED, status.error_code());
+
+
+
+
+
+
+
-
-
-
+
-
+
+
+
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 340fa80be8..2acccb78df 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 ad051f2876..7029f700b3 100644
--- a/docs/d5/d8f/webm__cluster__parser_8cc_source.html
+++ b/docs/d5/d8f/webm__cluster__parser_8cc_source.html
@@ -445,7 +445,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 359 scoped_ptr<DecryptConfig> decrypt_config;
+ 359 std::unique_ptr<DecryptConfig> decrypt_config;
361 if (!encryption_key_id.empty() &&
362 !WebMCreateDecryptConfig(
@@ -500,7 +500,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
411 streams.push_back(audio_stream_info_);
412 if (video_stream_info_) {
413 if (stream_type == kStreamVideo) {
- 414 scoped_ptr<VPxParser> vpx_parser;
+ 414 std::unique_ptr<VPxParser> vpx_parser;
415 switch (video_stream_info_->codec()) {
417 vpx_parser.reset( new VP8Parser);
@@ -704,14 +704,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
-
-
+
+
@@ -721,7 +721,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 cd0725aa6f..99bfc0ed20 100644
--- a/docs/d5/d91/es__parser__adts_8cc_source.html
+++ b/docs/d5/d91/es__parser__adts_8cc_source.html
@@ -366,7 +366,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 4813e055bc..d14099fc89 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 d4e38134ca..c07f8cd3a9 100644
--- a/docs/d5/d98/encryptor_8cc_source.html
+++ b/docs/d5/d98/encryptor_8cc_source.html
@@ -263,7 +263,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
176 bool webm_subsample_encryption) {
- 177 scoped_ptr<EncryptionKey> encryption_key( new EncryptionKey());
+ 177 std::unique_ptr<EncryptionKey> encryption_key( new EncryptionKey());
178 Status status = key_source-> GetKey(track_type, encryption_key.get());
@@ -272,7 +272,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
183 return Status(error::INTERNAL_ERROR, "Failed to generate random iv.");
185 DCHECK_EQ(kWebMIvSize, encryption_key->iv.size());
-
+
187 const bool initialized =
188 encryptor->InitializeWithIv(encryption_key->key, encryption_key->iv);
@@ -290,8 +290,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
201 encryptor->iv(), encryption_key->key_system_info);
- 204 key_ = encryption_key.Pass();
- 205 encryptor_ = encryptor.Pass();
+ 204 key_ = std::move(encryption_key);
+ 205 encryptor_ = std::move(encryptor);
@@ -305,18 +305,18 @@ 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 a12b94f2d1..2cf06981c8 100644
--- a/docs/d5/d9b/vp__codec__configuration__record_8h_source.html
+++ b/docs/d5/d9b/vp__codec__configuration__record_8h_source.html
@@ -224,7 +224,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 07589ab09b..e2bd74df45 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 6bf458d943..3359659b54 100644
--- a/docs/d5/da4/aes__encryptor_8cc_source.html
+++ b/docs/d5/da4/aes__encryptor_8cc_source.html
@@ -290,14 +290,14 @@ 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 6ec0235d38..cd21f4e7fc 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 00bc46b40a..d45384c473 100644
--- a/docs/d5/db1/classshaka_1_1media_1_1StreamInfo.html
+++ b/docs/d5/db1/classshaka_1_1media_1_1StreamInfo.html
@@ -235,7 +235,7 @@ class base::RefCountedThre
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 d290092e89..e54d860d98 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
@@ -113,9 +113,9 @@ Public Member Functions |
void Reset () override |
|
-
- | EsParserH26x (Nalu::CodecType type, scoped_ptr< H26xByteToUnitStreamConverter > stream_converter, uint32_t pid, const EmitSampleCB &emit_sample_cb) |
- |
+
+ | EsParserH26x (Nalu::CodecType type, std::unique_ptr< H26xByteToUnitStreamConverter > stream_converter, uint32_t pid, const EmitSampleCB &emit_sample_cb) |
+ |
bool | Parse (const uint8_t *buf, int size, int64_t pts, int64_t dts) override |
|
@@ -153,7 +153,7 @@ const
-
Definition at line 26 of file es_parser_h264.h.
+
Definition at line 25 of file es_parser_h264.h.
The documentation for this class was generated from the following files:
diff --git a/docs/d5/dba/ts__packet_8cc_source.html b/docs/d5/dba/ts__packet_8cc_source.html
index 26d58715e9..a2a99c45a4 100644
--- a/docs/d5/dba/ts__packet_8cc_source.html
+++ b/docs/d5/dba/ts__packet_8cc_source.html
@@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 #include "packager/media/formats/mp2t/ts_packet.h"
- 7 #include "packager/base/memory/scoped_ptr.h"
+
8 #include "packager/media/base/bit_reader.h"
9 #include "packager/media/formats/mp2t/mp2t_common.h"
@@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 60 scoped_ptr<TsPacket> ts_packet(
new TsPacket());
+ 60 std::unique_ptr<TsPacket> ts_packet(
new TsPacket());
61 bool status = ts_packet->ParseHeader(buf);
63 DVLOG(1) <<
"Parsing header failed";
@@ -304,7 +304,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d5/dc1/webm__webvtt__parser_8cc_source.html b/docs/d5/dc1/webm__webvtt__parser_8cc_source.html
index 9580877dc5..682ca64680 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 24329b7355..957f245a31 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 f888566b4c..34b1d7750f 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 ebbfa219c1..d6a97ba8c7 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 3eee024afb..b33c212009 100644
--- a/docs/d5/dda/ts__section__psi_8h_source.html
+++ b/docs/d5/dda/ts__section__psi_8h_source.html
@@ -146,12 +146,12 @@ 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 77a9327124..19393b6dff 100644
--- a/docs/d5/de0/bit__reader_8cc_source.html
+++ b/docs/d5/de0/bit__reader_8cc_source.html
@@ -199,7 +199,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 56aac4fd43..dac34c6057 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
@@ -103,12 +103,13 @@ Public Member Functions
|
virtual bool | PushSample (scoped_refptr< MediaSample > sample) |
|
-virtual bool | SetEncryptionKey (scoped_ptr< EncryptionKey > encryption_key) |
- |
+virtual bool | SetEncryptionKey (std::unique_ptr< EncryptionKey > encryption_key) |
+ |
virtual size_t | NumberOfReadyPesPackets () |
|
-virtual scoped_ptr< PesPacket > | GetNextPesPacket () |
- |
+virtual std::unique_ptr
+< PesPacket > | GetNextPesPacket () |
+ |
virtual bool | Flush () |
|
@@ -150,7 +151,7 @@ class PesPacketGeneratorTe
-
+
@@ -158,7 +159,7 @@ class PesPacketGeneratorTe
|
- scoped_ptr< PesPacket > shaka::media::mp2t::PesPacketGenerator::GetNextPesPacket |
+ std::unique_ptr< PesPacket > shaka::media::mp2t::PesPacketGenerator::GetNextPesPacket |
( |
| ) |
|
@@ -265,7 +266,7 @@ class PesPacketGeneratorTe
-
+
@@ -275,7 +276,7 @@ class PesPacketGeneratorTe
bool shaka::media::mp2t::PesPacketGenerator::SetEncryptionKey |
( |
- scoped_ptr< EncryptionKey > |
+ std::unique_ptr< EncryptionKey > |
encryption_key | ) |
|
@@ -306,7 +307,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 fd5f2b8b32..da9ece5acf 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 097cc3ece1..393a24300b 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 f8222ca27c..f53783f95e 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 89f9c727ac..ab65bb1312 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 cbbbe72b0f..fedfa58e8d 100644
--- a/docs/d5/dfa/classshaka_1_1media_1_1HlsNotifyMuxerListener.html
+++ b/docs/d5/dfa/classshaka_1_1media_1_1HlsNotifyMuxerListener.html
@@ -535,7 +535,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 a8d92a93e0..38fe9815fc 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
index b1f38ff896..7759fe778d 100644
--- a/docs/d5/dfc/file_8cc_source.html
+++ b/docs/d5/dfc/file_8cc_source.html
@@ -97,290 +97,287 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 #include <gflags/gflags.h>
-
+
12 #include "packager/base/logging.h"
- 13 #include "packager/base/memory/scoped_ptr.h"
+ 13 #include "packager/base/strings/string_util.h"
14 #include "packager/media/file/local_file.h"
15 #include "packager/media/file/memory_file.h"
16 #include "packager/media/file/threaded_io_file.h"
17 #include "packager/media/file/udp_file.h"
- 18 #include "packager/base/strings/string_util.h"
-
- 20 DEFINE_uint64(io_cache_size,
-
- 22 "Size of the threaded I/O cache, in bytes. Specify 0 to disable "
-
- 24 DEFINE_uint64(io_block_size,
-
- 26 "Size of the block size used for threaded I/O, in bytes.");
-
-
-
-
-
-
-
-
-
- 36 const char* kLocalFilePrefix = "file://";
- 37 const char* kUdpFilePrefix = "udp://";
- 38 const char* kMemoryFilePrefix = "memory://";
-
-
-
- 42 typedef File* (*FileFactoryFunction)( const char* file_name, const char* mode);
- 43 typedef bool (*FileDeleteFunction)( const char* file_name);
-
- 45 struct SupportedTypeInfo {
-
-
- 48 const FileFactoryFunction factory_function;
- 49 const FileDeleteFunction delete_function;
-
-
- 52 File* CreateLocalFile( const char* file_name, const char* mode) {
- 53 return new LocalFile(file_name, mode);
-
-
- 56 bool DeleteLocalFile( const char* file_name) {
-
-
-
- 60 File* CreateUdpFile( const char* file_name, const char* mode) {
- 61 if (base::strcasecmp(mode, "r")) {
- 62 NOTIMPLEMENTED() << "UdpFile only supports read (receive) mode.";
-
-
- 65 return new UdpFile(file_name);
-
-
- 68 File* CreateMemoryFile( const char* file_name, const char* mode) {
- 69 return new MemoryFile(file_name, mode);
-
-
- 72 bool DeleteMemoryFile( const char* file_name) {
-
-
-
-
- 77 static const SupportedTypeInfo kSupportedTypeInfo[] = {
-
-
- 80 strlen(kLocalFilePrefix),
-
-
-
-
-
- 86 strlen(kUdpFilePrefix),
-
-
-
-
-
- 92 strlen(kMemoryFilePrefix),
-
-
-
-
-
-
-
- 100 File* File::Create( const char* file_name, const char* mode) {
- 101 scoped_ptr<File, FileCloser> internal_file(
- 102 CreateInternalFile(file_name, mode));
-
- 104 if (!strncmp(file_name, kMemoryFilePrefix, strlen(kMemoryFilePrefix))) {
-
- 106 return internal_file.release();
-
-
- 109 if (FLAGS_io_cache_size) {
-
- 111 if (!strcmp(mode, "r")) {
- 112 return new ThreadedIoFile(internal_file.Pass(),
- 113 ThreadedIoFile::kInputMode,
-
- 115 FLAGS_io_block_size);
- 116 } else if (!strcmp(mode, "w") || !strcmp(mode, "a")) {
- 117 return new ThreadedIoFile(internal_file.Pass(),
- 118 ThreadedIoFile::kOutputMode,
-
- 120 FLAGS_io_block_size);
-
-
-
-
- 125 DLOG(WARNING) << "Threaded I/O is disabled. Performance may be decreased.";
- 126 return internal_file.release();
-
-
- 129 File* File::CreateInternalFile( const char* file_name, const char* mode) {
- 130 scoped_ptr<File, FileCloser> internal_file;
- 131 for ( size_t i = 0; i < arraysize(kSupportedTypeInfo); ++i) {
- 132 const SupportedTypeInfo& type_info = kSupportedTypeInfo[i];
- 133 if (strncmp(type_info.type, file_name, type_info.type_length) == 0) {
- 134 internal_file.reset(type_info.factory_function(
- 135 file_name + type_info.type_length, mode));
-
-
-
-
- 140 internal_file.reset(CreateLocalFile(file_name, mode));
+
+ 19 DEFINE_uint64(io_cache_size,
+
+ 21 "Size of the threaded I/O cache, in bytes. Specify 0 to disable "
+
+ 23 DEFINE_uint64(io_block_size,
+
+ 25 "Size of the block size used for threaded I/O, in bytes.");
+
+
+
+
+
+
+
+
+
+ 35 const char* kLocalFilePrefix = "file://";
+ 36 const char* kUdpFilePrefix = "udp://";
+ 37 const char* kMemoryFilePrefix = "memory://";
+
+
+
+ 41 typedef File* (*FileFactoryFunction)( const char* file_name, const char* mode);
+ 42 typedef bool (*FileDeleteFunction)( const char* file_name);
+
+ 44 struct SupportedTypeInfo {
+
+
+ 47 const FileFactoryFunction factory_function;
+ 48 const FileDeleteFunction delete_function;
+
+
+ 51 File* CreateLocalFile( const char* file_name, const char* mode) {
+ 52 return new LocalFile(file_name, mode);
+
+
+ 55 bool DeleteLocalFile( const char* file_name) {
+
+
+
+ 59 File* CreateUdpFile( const char* file_name, const char* mode) {
+ 60 if (base::strcasecmp(mode, "r")) {
+ 61 NOTIMPLEMENTED() << "UdpFile only supports read (receive) mode.";
+
+
+ 64 return new UdpFile(file_name);
+
+
+ 67 File* CreateMemoryFile( const char* file_name, const char* mode) {
+ 68 return new MemoryFile(file_name, mode);
+
+
+ 71 bool DeleteMemoryFile( const char* file_name) {
+
+
+
+
+ 76 static const SupportedTypeInfo kSupportedTypeInfo[] = {
+
+
+ 79 strlen(kLocalFilePrefix),
+
+
+
+
+
+ 85 strlen(kUdpFilePrefix),
+
+
+
+
+
+ 91 strlen(kMemoryFilePrefix),
+
+
+
+
+
+
+
+ 99 File* File::Create( const char* file_name, const char* mode) {
+ 100 std::unique_ptr<File, FileCloser> internal_file(
+ 101 CreateInternalFile(file_name, mode));
+
+ 103 if (!strncmp(file_name, kMemoryFilePrefix, strlen(kMemoryFilePrefix))) {
+
+ 105 return internal_file.release();
+
+
+ 108 if (FLAGS_io_cache_size) {
+
+ 110 if (!strcmp(mode, "r")) {
+ 111 return new ThreadedIoFile(std::move(internal_file),
+ 112 ThreadedIoFile::kInputMode, FLAGS_io_cache_size,
+ 113 FLAGS_io_block_size);
+ 114 } else if (!strcmp(mode, "w") || !strcmp(mode, "a")) {
+ 115 return new ThreadedIoFile(std::move(internal_file),
+ 116 ThreadedIoFile::kOutputMode,
+ 117 FLAGS_io_cache_size, FLAGS_io_block_size);
+
+
+
+
+ 122 DLOG(WARNING) << "Threaded I/O is disabled. Performance may be decreased.";
+ 123 return internal_file.release();
+
+
+ 126 File* File::CreateInternalFile( const char* file_name, const char* mode) {
+ 127 std::unique_ptr<File, FileCloser> internal_file;
+ 128 for ( size_t i = 0; i < arraysize(kSupportedTypeInfo); ++i) {
+ 129 const SupportedTypeInfo& type_info = kSupportedTypeInfo[i];
+ 130 if (strncmp(type_info.type, file_name, type_info.type_length) == 0) {
+ 131 internal_file.reset(type_info.factory_function(
+ 132 file_name + type_info.type_length, mode));
+
+
+
+
+ 137 internal_file.reset(CreateLocalFile(file_name, mode));
+
+ 139 return internal_file.release();
+
- 142 return internal_file.release();
-
-
-
- 146 File* file = File::Create(file_name, mode);
-
+
+ 143 File* file = File::Create(file_name, mode);
+
+
+
+
-
-
-
-
-
-
-
-
- 157 File* file = File::CreateInternalFile(file_name, mode);
-
+
+
+
+
+
+ 154 File* file = File::CreateInternalFile(file_name, mode);
+
+
+
+
-
-
-
-
-
-
-
-
- 168 for ( size_t i = 0; i < arraysize(kSupportedTypeInfo); ++i) {
- 169 const SupportedTypeInfo& type_info = kSupportedTypeInfo[i];
- 170 if (strncmp(type_info.type, file_name, type_info.type_length) == 0) {
- 171 return type_info.delete_function ?
- 172 type_info.delete_function(file_name + type_info.type_length) :
-
-
-
-
- 177 return DeleteLocalFile(file_name);
-
-
-
-
-
-
- 184 int64_t res = file-> Size();
-
-
-
+
+
+
+
+
+ 165 for ( size_t i = 0; i < arraysize(kSupportedTypeInfo); ++i) {
+ 166 const SupportedTypeInfo& type_info = kSupportedTypeInfo[i];
+ 167 if (strncmp(type_info.type, file_name, type_info.type_length) == 0) {
+ 168 return type_info.delete_function ?
+ 169 type_info.delete_function(file_name + type_info.type_length) :
+
+
+
+
+ 174 return DeleteLocalFile(file_name);
+
+
+
+
+
+
+ 181 int64_t res = file-> Size();
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+ 193 const size_t kBufferSize = 0x40000;
+ 194 std::unique_ptr<char[]> buf( new char[kBufferSize]);
- 196 const size_t kBufferSize = 0x40000;
- 197 scoped_ptr<char[]> buf( new char[kBufferSize]);
-
-
- 200 while ((len = file-> Read(buf.get(), kBufferSize)) > 0)
- 201 contents->append(buf.get(), len);
-
-
-
-
-
- 207 bool File::Copy( const char* from_file_name, const char* to_file_name) {
-
-
- 210 LOG(ERROR) << "Failed to open file " << from_file_name;
-
-
-
- 214 scoped_ptr<File, FileCloser> output_file( File::Open(to_file_name, "w"));
-
- 216 LOG(ERROR) << "Failed to write to " << to_file_name;
-
-
-
- 220 uint64_t bytes_left = content.size();
- 221 uint64_t total_bytes_written = 0;
- 222 const char* content_cstr = content.c_str();
- 223 while (bytes_left > total_bytes_written) {
- 224 const int64_t bytes_written =
- 225 output_file->Write(content_cstr + total_bytes_written, bytes_left);
- 226 if (bytes_written < 0) {
- 227 LOG(ERROR) << "Failure while writing to " << to_file_name;
-
-
-
- 231 total_bytes_written += bytes_written;
-
-
-
-
-
- 237 return CopyFile(source, destination, kWholeFile);
-
-
-
-
-
-
- 244 max_copy = std::numeric_limits<int64_t>::max();
-
- 246 const int64_t kBufferSize = 0x40000;
- 247 scoped_ptr<uint8_t[]> buffer( new uint8_t[kBufferSize]);
- 248 int64_t bytes_copied = 0;
- 249 while (bytes_copied < max_copy) {
- 250 const int64_t size = std::min(kBufferSize, max_copy - bytes_copied);
- 251 const int64_t bytes_read = source-> Read(buffer.get(), size);
-
-
-
-
-
- 257 int64_t total_bytes_written = 0;
- 258 while (total_bytes_written < bytes_read) {
- 259 const int64_t bytes_written = destination-> Write(
- 260 buffer.get() + total_bytes_written, bytes_read - total_bytes_written);
- 261 if (bytes_written < 0)
- 262 return bytes_written;
+
+ 197 while ((len = file-> Read(buf.get(), kBufferSize)) > 0)
+ 198 contents->append(buf.get(), len);
+
+
+
+
+
+ 204 bool File::Copy( const char* from_file_name, const char* to_file_name) {
+
+
+ 207 LOG(ERROR) << "Failed to open file " << from_file_name;
+
+
+
+ 211 std::unique_ptr<File, FileCloser> output_file( File::Open(to_file_name, "w"));
+
+ 213 LOG(ERROR) << "Failed to write to " << to_file_name;
+
+
+
+ 217 uint64_t bytes_left = content.size();
+ 218 uint64_t total_bytes_written = 0;
+ 219 const char* content_cstr = content.c_str();
+ 220 while (bytes_left > total_bytes_written) {
+ 221 const int64_t bytes_written =
+ 222 output_file->Write(content_cstr + total_bytes_written, bytes_left);
+ 223 if (bytes_written < 0) {
+ 224 LOG(ERROR) << "Failure while writing to " << to_file_name;
+
+
+
+ 228 total_bytes_written += bytes_written;
+
+
+
+
+
+ 234 return CopyFile(source, destination, kWholeFile);
+
+
+
+
+
+
+ 241 max_copy = std::numeric_limits<int64_t>::max();
+
+ 243 const int64_t kBufferSize = 0x40000;
+ 244 std::unique_ptr<uint8_t[]> buffer( new uint8_t[kBufferSize]);
+ 245 int64_t bytes_copied = 0;
+ 246 while (bytes_copied < max_copy) {
+ 247 const int64_t size = std::min(kBufferSize, max_copy - bytes_copied);
+ 248 const int64_t bytes_read = source-> Read(buffer.get(), size);
+
+
+
+
+
+ 254 int64_t total_bytes_written = 0;
+ 255 while (total_bytes_written < bytes_read) {
+ 256 const int64_t bytes_written = destination-> Write(
+ 257 buffer.get() + total_bytes_written, bytes_read - total_bytes_written);
+ 258 if (bytes_written < 0)
+ 259 return bytes_written;
+
+ 261 total_bytes_written += bytes_written;
+
- 264 total_bytes_written += bytes_written;
-
-
- 267 DCHECK_EQ(total_bytes_written, bytes_read);
- 268 bytes_copied += bytes_read;
-
+ 264 DCHECK_EQ(total_bytes_written, bytes_read);
+ 265 bytes_copied += bytes_read;
+
+
+
+
-
-
-
-
-
+
+
-
-
+
+
-
+
-
-
-
+
+
+
-
+
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 6be2d255b6..4088b6cda4 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 d6c24923d5..f76561aca3 100644
--- a/docs/d6/d09/aes__pattern__cryptor_8h_source.html
+++ b/docs/d6/d09/aes__pattern__cryptor_8h_source.html
@@ -95,60 +95,61 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #include "packager/media/base/aes_cryptor.h"
- 9 #include "packager/base/macros.h"
- 10 #include "packager/base/memory/scoped_ptr.h"
-
-
-
-
-
-
-
-
-
-
-
-
- 53 uint8_t skip_byte_block,
-
- 55 ConstantIvFlag constant_iv_flag,
- 56 scoped_ptr<AesCryptor> cryptor);
-
-
-
- 62 const std::vector<uint8_t>& iv) override;
-
-
- 66 bool CryptInternal( const uint8_t* text,
-
-
- 69 size_t* crypt_text_size) override;
- 70 void SetIvInternal() override;
-
- 72 bool NeedEncrypt( size_t input_size, size_t target_data_size);
-
- 74 const uint8_t crypt_byte_block_;
- 75 const uint8_t skip_byte_block_;
-
- 77 scoped_ptr<AesCryptor> cryptor_;
-
-
-
-
-
-
+
+
+ 11 #include "packager/base/macros.h"
+
+
+
+
+
+
+
+
+
+
+
+
+ 54 uint8_t skip_byte_block,
+
+ 56 ConstantIvFlag constant_iv_flag,
+ 57 std::unique_ptr<AesCryptor> cryptor);
+
+
+
+ 63 const std::vector<uint8_t>& iv) override;
+
+
+ 67 bool CryptInternal( const uint8_t* text,
+
+
+ 70 size_t* crypt_text_size) override;
+ 71 void SetIvInternal() override;
+
+ 73 bool NeedEncrypt( size_t input_size, size_t target_data_size);
+
+ 75 const uint8_t crypt_byte_block_;
+ 76 const uint8_t skip_byte_block_;
+
+ 78 std::unique_ptr<AesCryptor> cryptor_;
+
+
+
+
+
+
-
-
-
+
+
-
-
+
+
+
diff --git a/docs/d6/d16/text__stream__info_8cc_source.html b/docs/d6/d16/text__stream__info_8cc_source.html
index 9656fd4245..21f2da39b4 100644
--- a/docs/d6/d16/text__stream__info_8cc_source.html
+++ b/docs/d6/d16/text__stream__info_8cc_source.html
@@ -124,7 +124,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 4c13b3c14e..87e86f653c 100644
--- a/docs/d6/d17/es__parser__h264_8cc_source.html
+++ b/docs/d6/d17/es__parser__h264_8cc_source.html
@@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
23 const NewStreamInfoCB& new_stream_info_cb,
24 const EmitSampleCB& emit_sample_cb)
25 : EsParserH26x(Nalu::kH264,
- 26 scoped_ptr<H26xByteToUnitStreamConverter>(
+ 26 std::unique_ptr<H26xByteToUnitStreamConverter>(
27 new H264ByteToUnitStreamConverter()),
@@ -258,7 +258,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 94a4f0941a..881a0b8d29 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 a5f25ce224..ced849ae4a 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 4c7e023eeb..cb56d5b1fa 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 5e73f45824..59e613d185 100644
--- a/docs/d6/d2e/mpd__notifier__util_8cc_source.html
+++ b/docs/d6/d2e/mpd__notifier__util_8cc_source.html
@@ -97,8 +97,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 #include "packager/base/strings/string_number_conversions.h"
10 #include "packager/base/strings/string_util.h"
- 11 #include "packager/media/file/file_closer.h"
- 12 #include "packager/media/file/file.h"
+ 11 #include "packager/media/file/file.h"
+ 12 #include "packager/media/file/file_closer.h"
13 #include "packager/mpd/base/mpd_utils.h"
@@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 29 scoped_ptr<File, FileCloser> file(File::Open(output_path.c_str(),
"w"));
+ 29 std::unique_ptr<File, FileCloser> file(File::Open(output_path.c_str(),
"w"));
31 LOG(ERROR) <<
"Failed to open file for writing: " << output_path;
@@ -170,7 +170,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 1010211bdb..9bfd156f05 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 9f6b7de427..74a5fb6d4a 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 e03804b4a2..f12d7d2eb1 100644
--- a/docs/d6/d3b/chunk__info__iterator_8cc_source.html
+++ b/docs/d6/d3b/chunk__info__iterator_8cc_source.html
@@ -171,7 +171,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d6/d41/encrypting__fragmenter_8cc_source.html b/docs/d6/d41/encrypting__fragmenter_8cc_source.html
index be6c931a77..5a34149e5d 100644
--- a/docs/d6/d41/encrypting__fragmenter_8cc_source.html
+++ b/docs/d6/d41/encrypting__fragmenter_8cc_source.html
@@ -147,355 +147,359 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
-
- 63 scoped_ptr<EncryptionKey> encryption_key, int64_t clear_time,
- 64 FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block,
-
-
-
- 68 encryption_key_(encryption_key.Pass()),
- 69 nalu_length_size_(GetNaluLengthSize(*info)),
- 70 video_codec_(GetCodec(*info)),
- 71 clear_time_(clear_time),
- 72 protection_scheme_(protection_scheme),
- 73 crypt_byte_block_(crypt_byte_block),
- 74 skip_byte_block_(skip_byte_block),
-
- 76 DCHECK(encryption_key_);
- 77 switch (video_codec_) {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 93 if (nalu_length_size_ > 0) {
- 94 LOG(WARNING) <<
"Unknown video codec '" << video_codec_
- 95 <<
"', whole subsamples will be encrypted.";
-
-
-
-
- 100 EncryptingFragmenter::~EncryptingFragmenter() {}
-
-
-
- 104 if (!fragment_initialized()) {
-
-
-
-
-
- 110 Status status = EncryptSample(sample);
-
-
-
-
-
-
-
-
-
-
-
- 122 if (header_parser_ && !header_parser_->Initialize(info_->codec_config()))
- 123 return Status(error::MUXER_FAILURE,
"Fail to read SPS and PPS data.");
-
- 125 traf()->auxiliary_size.sample_info_sizes.clear();
- 126 traf()->auxiliary_offset.offsets.clear();
- 127 if (IsSubsampleEncryptionRequired()) {
- 128 traf()->sample_encryption.flags |=
- 129 SampleEncryption::kUseSubsampleEncryption;
-
- 131 traf()->sample_encryption.sample_encryption_entries.clear();
-
- 133 const bool enable_encryption = clear_time_ <= 0;
- 134 if (!enable_encryption) {
-
-
-
- 138 const uint32_t kClearSampleDescriptionIndex = 2;
-
- 140 traf()->header.flags |=
- 141 TrackFragmentHeader::kSampleDescriptionIndexPresentMask;
- 142 traf()->header.sample_description_index = kClearSampleDescriptionIndex;
-
-
-
-
-
-
-
-
-
- 152 DCHECK_LE(clear_time_, 0);
-
-
- 155 DCHECK_GT(clear_time_, 0);
- 156 clear_time_ -= fragment_duration();
-
-
-
-
-
- 162 bool enable_encryption) {
- 163 return (!enable_encryption || encryptor_) ? Status::OK :
CreateEncryptor();
-
-
-
-
- 168 traf()->auxiliary_offset.offsets.push_back(0);
+
+ 62 scoped_refptr<StreamInfo> info,
+
+ 64 std::unique_ptr<EncryptionKey> encryption_key,
+
+ 66 FourCC protection_scheme,
+ 67 uint8_t crypt_byte_block,
+ 68 uint8_t skip_byte_block,
+
+
+
+ 72 encryption_key_(std::move(encryption_key)),
+ 73 nalu_length_size_(GetNaluLengthSize(*info)),
+ 74 video_codec_(GetCodec(*info)),
+ 75 clear_time_(clear_time),
+ 76 protection_scheme_(protection_scheme),
+ 77 crypt_byte_block_(crypt_byte_block),
+ 78 skip_byte_block_(skip_byte_block),
+
+ 80 DCHECK(encryption_key_);
+ 81 switch (video_codec_) {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 97 if (nalu_length_size_ > 0) {
+ 98 LOG(WARNING) <<
"Unknown video codec '" << video_codec_
+ 99 <<
"', whole subsamples will be encrypted.";
+
+
+
+
+ 104 EncryptingFragmenter::~EncryptingFragmenter() {}
+
+
+
+ 108 if (!fragment_initialized()) {
+
+
+
+
+
+ 114 Status status = EncryptSample(sample);
+
+
+
+
+
+
+
+
+
+
+
+ 126 if (header_parser_ && !header_parser_->Initialize(info_->codec_config()))
+ 127 return Status(error::MUXER_FAILURE,
"Fail to read SPS and PPS data.");
+
+ 129 traf()->auxiliary_size.sample_info_sizes.clear();
+ 130 traf()->auxiliary_offset.offsets.clear();
+ 131 if (IsSubsampleEncryptionRequired()) {
+ 132 traf()->sample_encryption.flags |=
+ 133 SampleEncryption::kUseSubsampleEncryption;
+
+ 135 traf()->sample_encryption.sample_encryption_entries.clear();
+
+ 137 const bool enable_encryption = clear_time_ <= 0;
+ 138 if (!enable_encryption) {
+
+
+
+ 142 const uint32_t kClearSampleDescriptionIndex = 2;
+
+ 144 traf()->header.flags |=
+ 145 TrackFragmentHeader::kSampleDescriptionIndexPresentMask;
+ 146 traf()->header.sample_description_index = kClearSampleDescriptionIndex;
+
+
+
+
+
+
+
+
+
+ 156 DCHECK_LE(clear_time_, 0);
+
+
+ 159 DCHECK_GT(clear_time_, 0);
+ 160 clear_time_ -= fragment_duration();
+
+
+
+
+
+ 166 bool enable_encryption) {
+ 167 return (!enable_encryption || encryptor_) ? Status::OK :
CreateEncryptor();
+
-
- 171 const uint8_t per_sample_iv_size =
- 172 (protection_scheme_ == FOURCC_cbcs) ? 0 :
- 173 static_cast<uint8_t>(encryptor_->iv().size());
- 174 traf()->sample_encryption.iv_size = per_sample_iv_size;
-
-
-
- 178 saiz.sample_count = traf()->runs[0].sample_sizes.size();
- 179 if (!saiz.sample_info_sizes.empty()) {
-
- 181 &saiz.default_sample_info_size)) {
- 182 saiz.default_sample_info_size = 0;
-
-
-
-
- 187 DCHECK(!IsSubsampleEncryptionRequired());
- 188 saiz.default_sample_info_size =
static_cast<uint8_t
>(per_sample_iv_size);
-
-
-
-
- 193 if (saiz.default_sample_info_size == 0 && saiz.sample_info_sizes.empty()) {
- 194 DCHECK_EQ(protection_scheme_, FOURCC_cbcs);
- 195 DCHECK(!IsSubsampleEncryptionRequired());
-
-
-
- 199 saiz.sample_count = 0;
- 200 traf()->auxiliary_offset.offsets.clear();
-
-
-
-
- 205 DCHECK(encryption_key_);
- 206 scoped_ptr<AesCryptor> encryptor;
- 207 switch (protection_scheme_) {
-
-
-
-
-
-
-
-
- 216 crypt_byte_block(), skip_byte_block(),
-
- 218 AesCryptor::kDontUseConstantIv,
-
-
-
-
- 223 crypt_byte_block(), skip_byte_block(),
-
- 225 AesCryptor::kUseConstantIv,
-
-
-
- 229 return Status(error::MUXER_FAILURE,
"Unsupported protection scheme.");
-
-
- 232 DCHECK(!encryption_key_->iv.empty());
- 233 const bool initialized =
- 234 encryptor->InitializeWithIv(encryption_key_->key, encryption_key_->iv);
-
- 236 return Status(error::MUXER_FAILURE,
"Failed to create the encryptor.");
- 237 encryptor_ = encryptor.Pass();
-
-
-
- 241 void EncryptingFragmenter::EncryptBytes(uint8_t* data, uint32_t size) {
-
- 243 CHECK(encryptor_->Crypt(data, size, data));
-
-
- 246 Status EncryptingFragmenter::EncryptSample(scoped_refptr<MediaSample> sample) {
-
-
- 249 SampleEncryptionEntry sample_encryption_entry;
-
- 251 if (protection_scheme_ != FOURCC_cbcs)
- 252 sample_encryption_entry.initialization_vector = encryptor_->iv();
- 253 uint8_t* data = sample->writable_data();
- 254 if (IsSubsampleEncryptionRequired()) {
-
- 256 std::vector<VPxFrameInfo> vpx_frames;
- 257 if (!vpx_parser_->Parse(sample->data(), sample->data_size(),
-
- 259 return Status(error::MUXER_FAILURE,
"Failed to parse vpx frame.");
-
-
- 262 const bool is_superframe = vpx_frames.size() > 1;
- 263 for (
const VPxFrameInfo& frame : vpx_frames) {
- 264 SubsampleEntry subsample;
- 265 subsample.clear_bytes =
- 266 static_cast<uint16_t
>(frame.uncompressed_header_size);
- 267 subsample.cipher_bytes =
- 268 frame.frame_size - frame.uncompressed_header_size;
-
-
-
-
-
-
-
-
- 277 if (is_superframe || protection_scheme_ == FOURCC_cbc1 ||
- 278 protection_scheme_ == FOURCC_cens) {
- 279 const uint16_t misalign_bytes =
- 280 subsample.cipher_bytes % kCencBlockSize;
- 281 subsample.clear_bytes += misalign_bytes;
- 282 subsample.cipher_bytes -= misalign_bytes;
-
-
- 285 sample_encryption_entry.subsamples.push_back(subsample);
- 286 if (subsample.cipher_bytes > 0)
- 287 EncryptBytes(data + subsample.clear_bytes, subsample.cipher_bytes);
- 288 data += frame.frame_size;
-
-
-
- 292 size_t index_size = sample->data() + sample->data_size() - data;
- 293 DCHECK_LE(index_size, 2 + vpx_frames.size() * 4);
- 294 DCHECK_GE(index_size, 2 + vpx_frames.size() * 1);
- 295 SubsampleEntry subsample;
- 296 subsample.clear_bytes =
static_cast<uint16_t
>(index_size);
- 297 subsample.cipher_bytes = 0;
- 298 sample_encryption_entry.subsamples.push_back(subsample);
-
-
- 301 const Nalu::CodecType nalu_type =
- 302 (video_codec_ == kCodecHVC1 || video_codec_ == kCodecHEV1)
-
-
- 305 NaluReader reader(nalu_type, nalu_length_size_, data,
- 306 sample->data_size());
-
-
-
- 310 uint64_t accumulated_clear_bytes = 0;
+
+
+ 172 traf()->auxiliary_offset.offsets.push_back(0);
+
+
+ 175 const uint8_t per_sample_iv_size =
+ 176 (protection_scheme_ == FOURCC_cbcs) ? 0 :
+ 177 static_cast<uint8_t>(encryptor_->iv().size());
+ 178 traf()->sample_encryption.iv_size = per_sample_iv_size;
+
+
+
+ 182 saiz.sample_count = traf()->runs[0].sample_sizes.size();
+ 183 if (!saiz.sample_info_sizes.empty()) {
+
+ 185 &saiz.default_sample_info_size)) {
+ 186 saiz.default_sample_info_size = 0;
+
+
+
+
+ 191 DCHECK(!IsSubsampleEncryptionRequired());
+ 192 saiz.default_sample_info_size =
static_cast<uint8_t
>(per_sample_iv_size);
+
+
+
+
+ 197 if (saiz.default_sample_info_size == 0 && saiz.sample_info_sizes.empty()) {
+ 198 DCHECK_EQ(protection_scheme_, FOURCC_cbcs);
+ 199 DCHECK(!IsSubsampleEncryptionRequired());
+
+
+
+ 203 saiz.sample_count = 0;
+ 204 traf()->auxiliary_offset.offsets.clear();
+
+
+
+
+ 209 DCHECK(encryption_key_);
+ 210 std::unique_ptr<AesCryptor> encryptor;
+ 211 switch (protection_scheme_) {
+
+
+
+
+
+
+
+
+ 220 crypt_byte_block(), skip_byte_block(),
+
+ 222 AesCryptor::kDontUseConstantIv,
+
+
+
+
+ 227 crypt_byte_block(), skip_byte_block(),
+
+ 229 AesCryptor::kUseConstantIv,
+
+
+
+ 233 return Status(error::MUXER_FAILURE,
"Unsupported protection scheme.");
+
+
+ 236 DCHECK(!encryption_key_->iv.empty());
+ 237 const bool initialized =
+ 238 encryptor->InitializeWithIv(encryption_key_->key, encryption_key_->iv);
+
+ 240 return Status(error::MUXER_FAILURE,
"Failed to create the encryptor.");
+ 241 encryptor_ = std::move(encryptor);
+
+
+
+ 245 void EncryptingFragmenter::EncryptBytes(uint8_t* data, uint32_t size) {
+
+ 247 CHECK(encryptor_->Crypt(data, size, data));
+
+
+ 250 Status EncryptingFragmenter::EncryptSample(scoped_refptr<MediaSample> sample) {
+
+
+ 253 SampleEncryptionEntry sample_encryption_entry;
+
+ 255 if (protection_scheme_ != FOURCC_cbcs)
+ 256 sample_encryption_entry.initialization_vector = encryptor_->iv();
+ 257 uint8_t* data = sample->writable_data();
+ 258 if (IsSubsampleEncryptionRequired()) {
+
+ 260 std::vector<VPxFrameInfo> vpx_frames;
+ 261 if (!vpx_parser_->Parse(sample->data(), sample->data_size(),
+
+ 263 return Status(error::MUXER_FAILURE,
"Failed to parse vpx frame.");
+
+
+ 266 const bool is_superframe = vpx_frames.size() > 1;
+ 267 for (
const VPxFrameInfo& frame : vpx_frames) {
+ 268 SubsampleEntry subsample;
+ 269 subsample.clear_bytes =
+ 270 static_cast<uint16_t
>(frame.uncompressed_header_size);
+ 271 subsample.cipher_bytes =
+ 272 frame.frame_size - frame.uncompressed_header_size;
+
+
+
+
+
+
+
+
+ 281 if (is_superframe || protection_scheme_ == FOURCC_cbc1 ||
+ 282 protection_scheme_ == FOURCC_cens) {
+ 283 const uint16_t misalign_bytes =
+ 284 subsample.cipher_bytes % kCencBlockSize;
+ 285 subsample.clear_bytes += misalign_bytes;
+ 286 subsample.cipher_bytes -= misalign_bytes;
+
+
+ 289 sample_encryption_entry.subsamples.push_back(subsample);
+ 290 if (subsample.cipher_bytes > 0)
+ 291 EncryptBytes(data + subsample.clear_bytes, subsample.cipher_bytes);
+ 292 data += frame.frame_size;
+
+
+
+ 296 size_t index_size = sample->data() + sample->data_size() - data;
+ 297 DCHECK_LE(index_size, 2 + vpx_frames.size() * 4);
+ 298 DCHECK_GE(index_size, 2 + vpx_frames.size() * 1);
+ 299 SubsampleEntry subsample;
+ 300 subsample.clear_bytes =
static_cast<uint16_t
>(index_size);
+ 301 subsample.cipher_bytes = 0;
+ 302 sample_encryption_entry.subsamples.push_back(subsample);
+
+
+ 305 const Nalu::CodecType nalu_type =
+ 306 (video_codec_ == kCodecHVC1 || video_codec_ == kCodecHEV1)
+
+
+ 309 NaluReader reader(nalu_type, nalu_length_size_, data,
+ 310 sample->data_size());
-
- 313 NaluReader::Result result;
- 314 while ((result = reader.Advance(&nalu)) == NaluReader::kOk) {
- 315 if (nalu.is_video_slice()) {
-
-
-
- 319 const int64_t video_slice_header_size =
- 320 header_parser_ ? header_parser_->GetHeaderSize(nalu) : 0;
- 321 if (video_slice_header_size < 0)
- 322 return Status(error::MUXER_FAILURE,
"Failed to read slice header.");
-
- 324 uint64_t current_clear_bytes =
- 325 nalu.header_size() + video_slice_header_size;
- 326 uint64_t cipher_bytes = nalu.payload_size() - video_slice_header_size;
+
+
+ 314 uint64_t accumulated_clear_bytes = 0;
+
+
+ 317 NaluReader::Result result;
+ 318 while ((result = reader.Advance(&nalu)) == NaluReader::kOk) {
+ 319 if (nalu.is_video_slice()) {
+
+
+
+ 323 const int64_t video_slice_header_size =
+ 324 header_parser_ ? header_parser_->GetHeaderSize(nalu) : 0;
+ 325 if (video_slice_header_size < 0)
+ 326 return Status(error::MUXER_FAILURE,
"Failed to read slice header.");
-
-
-
- 331 if (protection_scheme_ == FOURCC_cbc1 ||
- 332 protection_scheme_ == FOURCC_cens) {
- 333 const uint16_t misalign_bytes = cipher_bytes % kCencBlockSize;
- 334 current_clear_bytes += misalign_bytes;
- 335 cipher_bytes -= misalign_bytes;
-
-
- 338 const uint8_t* nalu_data = nalu.data() + current_clear_bytes;
- 339 EncryptBytes(const_cast<uint8_t*>(nalu_data), cipher_bytes);
-
-
- 342 accumulated_clear_bytes + nalu_length_size_ + current_clear_bytes,
- 343 cipher_bytes, &sample_encryption_entry.subsamples);
- 344 accumulated_clear_bytes = 0;
-
-
- 347 accumulated_clear_bytes +=
- 348 nalu_length_size_ + nalu.header_size() + nalu.payload_size();
-
-
- 351 if (result != NaluReader::kEOStream)
- 352 return Status(error::MUXER_FAILURE,
"Failed to parse NAL units.");
- 353 AddSubsamples(accumulated_clear_bytes, 0,
- 354 &sample_encryption_entry.subsamples);
-
- 356 DCHECK_EQ(sample_encryption_entry.GetTotalSizeOfSubsamples(),
- 357 sample->data_size());
-
-
- 360 traf()->auxiliary_size.sample_info_sizes.push_back(
- 361 sample_encryption_entry.ComputeSize());
-
- 363 DCHECK_LE(crypt_byte_block(), 1u);
- 364 DCHECK_EQ(skip_byte_block(), 0u);
- 365 EncryptBytes(data, sample->data_size());
-
-
- 368 traf()->sample_encryption.sample_encryption_entries.push_back(
- 369 sample_encryption_entry);
- 370 encryptor_->UpdateIv();
-
-
-
- 374 bool EncryptingFragmenter::IsSubsampleEncryptionRequired() {
- 375 return vpx_parser_ || nalu_length_size_ != 0;
+ 328 uint64_t current_clear_bytes =
+ 329 nalu.header_size() + video_slice_header_size;
+ 330 uint64_t cipher_bytes = nalu.payload_size() - video_slice_header_size;
+
+
+
+
+ 335 if (protection_scheme_ == FOURCC_cbc1 ||
+ 336 protection_scheme_ == FOURCC_cens) {
+ 337 const uint16_t misalign_bytes = cipher_bytes % kCencBlockSize;
+ 338 current_clear_bytes += misalign_bytes;
+ 339 cipher_bytes -= misalign_bytes;
+
+
+ 342 const uint8_t* nalu_data = nalu.data() + current_clear_bytes;
+ 343 EncryptBytes(const_cast<uint8_t*>(nalu_data), cipher_bytes);
+
+
+ 346 accumulated_clear_bytes + nalu_length_size_ + current_clear_bytes,
+ 347 cipher_bytes, &sample_encryption_entry.subsamples);
+ 348 accumulated_clear_bytes = 0;
+
+
+ 351 accumulated_clear_bytes +=
+ 352 nalu_length_size_ + nalu.header_size() + nalu.payload_size();
+
+
+ 355 if (result != NaluReader::kEOStream)
+ 356 return Status(error::MUXER_FAILURE,
"Failed to parse NAL units.");
+ 357 AddSubsamples(accumulated_clear_bytes, 0,
+ 358 &sample_encryption_entry.subsamples);
+
+ 360 DCHECK_EQ(sample_encryption_entry.GetTotalSizeOfSubsamples(),
+ 361 sample->data_size());
+
+
+ 364 traf()->auxiliary_size.sample_info_sizes.push_back(
+ 365 sample_encryption_entry.ComputeSize());
+
+ 367 DCHECK_LE(crypt_byte_block(), 1u);
+ 368 DCHECK_EQ(skip_byte_block(), 0u);
+ 369 EncryptBytes(data, sample->data_size());
+
+
+ 372 traf()->sample_encryption.sample_encryption_entries.push_back(
+ 373 sample_encryption_entry);
+ 374 encryptor_->UpdateIv();
+
-
-
-
+ 378 bool EncryptingFragmenter::IsSubsampleEncryptionRequired() {
+ 379 return vpx_parser_ || nalu_length_size_ != 0;
+
+
+
+
+
-
-
-
+
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
+
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 307dbedc4e..34f86a32bf 100644
--- a/docs/d6/d4e/webm_2multi__segment__segmenter_8cc_source.html
+++ b/docs/d6/d4e/webm_2multi__segment__segmenter_8cc_source.html
@@ -120,8 +120,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 34 Status MultiSegmentSegmenter::DoInitialize(scoped_ptr<MkvWriter> writer) {
- 35 writer_ = writer.Pass();
+ 34 Status MultiSegmentSegmenter::DoInitialize(std::unique_ptr<MkvWriter> writer) {
+ 35 writer_ = std::move(writer);
36 return WriteSegmentHeader(0, writer_.get());
@@ -188,7 +188,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 07aae6709c..39576d8c88 100644
--- a/docs/d6/d55/aes__cryptor_8cc_source.html
+++ b/docs/d6/d55/aes__cryptor_8cc_source.html
@@ -231,7 +231,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 1d6ad28e4f..6b6c59223a 100644
--- a/docs/d6/d57/classshaka_1_1media_1_1AVCDecoderConfigurationRecord.html
+++ b/docs/d6/d57/classshaka_1_1media_1_1AVCDecoderConfigurationRecord.html
@@ -244,7 +244,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 2a346b3a5f..a9333b6bee 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 4e2db5d083..99f7cf0754 100644
--- a/docs/d6/d60/classshaka_1_1media_1_1VPCodecConfigurationRecord-members.html
+++ b/docs/d6/d60/classshaka_1_1media_1_1VPCodecConfigurationRecord-members.html
@@ -134,7 +134,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 3cd66ae497..a4f94ee952 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 ebb67670fa..0f7e43c8e8 100644
--- a/docs/d6/d6e/ts__section__pes_8cc_source.html
+++ b/docs/d6/d6e/ts__section__pes_8cc_source.html
@@ -171,13 +171,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 85 TsSectionPes::TsSectionPes(scoped_ptr<EsParser> es_parser)
- 86 : es_parser_(es_parser.release()),
-
- 88 previous_pts_valid_(false),
-
- 90 previous_dts_valid_(false),
-
+ 85 TsSectionPes::TsSectionPes(std::unique_ptr<EsParser> es_parser)
+ 86 : es_parser_(es_parser.release()),
+
+ 88 previous_pts_valid_(false),
+
+ 90 previous_dts_valid_(false),
+
@@ -405,7 +405,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d6/d71/scoped__xml__ptr_8h_source.html b/docs/d6/d71/scoped__xml__ptr_8h_source.html
index 09bdb8ae66..5818a226aa 100644
--- a/docs/d6/d71/scoped__xml__ptr_8h_source.html
+++ b/docs/d6/d71/scoped__xml__ptr_8h_source.html
@@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
10 #ifndef MPD_BASE_XML_SCOPED_XML_PTR_H_
@@ -102,13 +102,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
13 #include <libxml/tree.h>
14 #include <libxml/xmlschemas.h>
- 16 #include "packager/base/memory/scoped_ptr.h"
+
-
+
25 inline void operator()(xmlSchemaParserCtxtPtr ptr) const {
26 xmlSchemaFreeParserCtxt(ptr);
@@ -122,16 +122,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
37 template < typename XmlType>
- 38 using scoped_xml_ptr = scoped_ptr<XmlType, XmlDeleter>;
+ 38 using scoped_xml_ptr = std::unique_ptr<XmlType, XmlDeleter>;
- 42 #endif // MPD_BASE_XML_SCOPED_XML_PTR_H_
+
+ 43 #endif // MPD_BASE_XML_SCOPED_XML_PTR_H_
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 eb4ad5959e..e732efa783 100644
--- a/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html
+++ b/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html
@@ -168,8 +168,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 92 void SetMpdBuilderForTesting(scoped_ptr<MpdBuilder> mpd_builder) {
- 93 mpd_builder_ = mpd_builder.Pass();
+ 92 void SetMpdBuilderForTesting(std::unique_ptr<MpdBuilder> mpd_builder) {
+ 93 mpd_builder_ = std::move(mpd_builder);
96 std::map<std::string, std::list<AdaptationSet*>> adaptation_set_list_map_;
@@ -180,7 +180,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
103 std::string output_path_;
- 104 scoped_ptr<MpdBuilder> mpd_builder_;
+ 104 std::unique_ptr<MpdBuilder> mpd_builder_;
@@ -210,7 +210,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 8784656f99..ab9cd5da40 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 02bc2596b3..3f704ae35b 100644
--- a/docs/d6/d7b/webm__tracks__parser_8h_source.html
+++ b/docs/d6/d7b/webm__tracks__parser_8h_source.html
@@ -95,106 +95,105 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
6 #define MEDIA_FORMATS_WEBM_WEBM_TRACKS_PARSER_H_
-
-
-
-
- 13 #include "packager/base/compiler_specific.h"
- 14 #include "packager/base/memory/scoped_ptr.h"
- 15 #include "packager/base/time/time.h"
- 16 #include "packager/media/base/audio_stream_info.h"
- 17 #include "packager/media/base/text_track_config.h"
- 18 #include "packager/media/base/video_stream_info.h"
- 19 #include "packager/media/formats/webm/webm_audio_client.h"
- 20 #include "packager/media/formats/webm/webm_content_encodings_client.h"
- 21 #include "packager/media/formats/webm/webm_parser.h"
- 22 #include "packager/media/formats/webm/webm_video_client.h"
-
-
-
-
-
-
-
-
-
- 37 int Parse(
const uint8_t* buf,
int size);
-
- 39 int64_t audio_track_num()
const {
return audio_track_num_; }
- 40 int64_t video_track_num()
const {
return video_track_num_; }
-
-
- 47 int64_t GetVideoDefaultDuration(
const double timecode_scale_in_us)
const;
-
- 49 const std::set<int64_t>& ignored_tracks()
const {
return ignored_tracks_; }
-
- 51 const std::string& audio_encryption_key_id()
const {
- 52 return audio_encryption_key_id_;
-
-
- 55 scoped_refptr<AudioStreamInfo> audio_stream_info() {
- 56 return audio_stream_info_;
-
-
- 59 const std::string& video_encryption_key_id()
const {
- 60 return video_encryption_key_id_;
-
-
- 63 scoped_refptr<VideoStreamInfo> video_stream_info() {
- 64 return video_stream_info_;
-
-
- 67 typedef std::map<int, TextTrackConfig> TextTracks;
-
- 69 const TextTracks& text_tracks()
const {
-
-
-
-
-
-
- 76 bool OnListEnd(
int id)
override;
- 77 bool OnUInt(
int id, int64_t val)
override;
- 78 bool OnFloat(
int id,
double val)
override;
- 79 bool OnBinary(
int id,
const uint8_t* data,
int size)
override;
- 80 bool OnString(
int id,
const std::string& str)
override;
-
-
-
- 84 std::string track_name_;
- 85 std::string track_language_;
- 86 std::string codec_id_;
- 87 std::vector<uint8_t> codec_private_;
- 88 int64_t seek_preroll_;
-
- 90 int64_t default_duration_;
- 91 scoped_ptr<WebMContentEncodingsClient> track_content_encodings_client_;
-
- 93 int64_t audio_track_num_;
- 94 int64_t audio_default_duration_;
- 95 int64_t video_track_num_;
- 96 int64_t video_default_duration_;
- 97 bool ignore_text_tracks_;
- 98 TextTracks text_tracks_;
- 99 std::set<int64_t> ignored_tracks_;
- 100 std::string audio_encryption_key_id_;
- 101 std::string video_encryption_key_id_;
-
-
- 104 scoped_refptr<AudioStreamInfo> audio_stream_info_;
-
-
- 107 scoped_refptr<VideoStreamInfo> video_stream_info_;
-
-
-
-
-
-
-
- 115 #endif // MEDIA_FORMATS_WEBM_WEBM_TRACKS_PARSER_H_
+
+
+
+
+
+ 14 #include "packager/base/time/time.h"
+ 15 #include "packager/media/base/audio_stream_info.h"
+ 16 #include "packager/media/base/text_track_config.h"
+ 17 #include "packager/media/base/video_stream_info.h"
+ 18 #include "packager/media/formats/webm/webm_audio_client.h"
+ 19 #include "packager/media/formats/webm/webm_content_encodings_client.h"
+ 20 #include "packager/media/formats/webm/webm_parser.h"
+ 21 #include "packager/media/formats/webm/webm_video_client.h"
+
+
+
+
+
+
+
+
+
+ 36 int Parse(
const uint8_t* buf,
int size);
+
+ 38 int64_t audio_track_num()
const {
return audio_track_num_; }
+ 39 int64_t video_track_num()
const {
return video_track_num_; }
+
+
+ 46 int64_t GetVideoDefaultDuration(
const double timecode_scale_in_us)
const;
+
+ 48 const std::set<int64_t>& ignored_tracks()
const {
return ignored_tracks_; }
+
+ 50 const std::string& audio_encryption_key_id()
const {
+ 51 return audio_encryption_key_id_;
+
+
+ 54 scoped_refptr<AudioStreamInfo> audio_stream_info() {
+ 55 return audio_stream_info_;
+
+
+ 58 const std::string& video_encryption_key_id()
const {
+ 59 return video_encryption_key_id_;
+
+
+ 62 scoped_refptr<VideoStreamInfo> video_stream_info() {
+ 63 return video_stream_info_;
+
+
+ 66 typedef std::map<int, TextTrackConfig> TextTracks;
+
+ 68 const TextTracks& text_tracks()
const {
+
+
+
+
+
+
+ 75 bool OnListEnd(
int id)
override;
+ 76 bool OnUInt(
int id, int64_t val)
override;
+ 77 bool OnFloat(
int id,
double val)
override;
+ 78 bool OnBinary(
int id,
const uint8_t* data,
int size)
override;
+ 79 bool OnString(
int id,
const std::string& str)
override;
+
+
+
+ 83 std::string track_name_;
+ 84 std::string track_language_;
+ 85 std::string codec_id_;
+ 86 std::vector<uint8_t> codec_private_;
+ 87 int64_t seek_preroll_;
+
+ 89 int64_t default_duration_;
+ 90 std::unique_ptr<WebMContentEncodingsClient> track_content_encodings_client_;
+
+ 92 int64_t audio_track_num_;
+ 93 int64_t audio_default_duration_;
+ 94 int64_t video_track_num_;
+ 95 int64_t video_default_duration_;
+ 96 bool ignore_text_tracks_;
+ 97 TextTracks text_tracks_;
+ 98 std::set<int64_t> ignored_tracks_;
+ 99 std::string audio_encryption_key_id_;
+ 100 std::string video_encryption_key_id_;
+
+
+ 103 scoped_refptr<AudioStreamInfo> audio_stream_info_;
+
+
+ 106 scoped_refptr<VideoStreamInfo> video_stream_info_;
+
+
+
+
+
+
+
+ 114 #endif // MEDIA_FORMATS_WEBM_WEBM_TRACKS_PARSER_H_
-
+
@@ -202,7 +201,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 53647db03e..c4ad78f8bb 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/d86/bandwidth__estimator_8cc_source.html b/docs/d6/d86/bandwidth__estimator_8cc_source.html
index 07eddf702a..7ba4a07c9c 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/vp9__parser_8cc_source.html b/docs/d6/d8a/vp9__parser_8cc_source.html
index 06fabdba15..6022a83ba8 100644
--- a/docs/d6/d8a/vp9__parser_8cc_source.html
+++ b/docs/d6/d8a/vp9__parser_8cc_source.html
@@ -660,7 +660,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 0746aa8f7a..e0d30c62c6 100644
--- a/docs/d6/d8f/classshaka_1_1xml_1_1RepresentationBaseXmlNode-members.html
+++ b/docs/d6/d8f/classshaka_1_1xml_1_1RepresentationBaseXmlNode-members.html
@@ -111,7 +111,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 91e88f60c4..cd49917023 100644
--- a/docs/d6/d9b/h264__parser_8h_source.html
+++ b/docs/d6/d9b/h264__parser_8h_source.html
@@ -439,7 +439,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 bfbed3597c..9b3808a90e 100644
--- a/docs/d6/d9f/hls__flags_8cc_source.html
+++ b/docs/d6/d9f/hls__flags_8cc_source.html
@@ -107,7 +107,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 b0b099d5e1..e4f5ecb790 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 f77477d9f4..b666e679c7 100644
--- a/docs/d6/da3/mpd__builder_8h_source.html
+++ b/docs/d6/da3/mpd__builder_8h_source.html
@@ -164,8 +164,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
101 MediaInfo* media_info);
-
- 106 clock_ = clock.Pass();
+
+ 106 clock_ = std::move(clock);
@@ -219,7 +219,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 160 scoped_ptr<base::Clock> clock_;
+ 160 std::unique_ptr<base::Clock> clock_;
@@ -424,11 +424,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
503 uint32_t
id()
const {
return id_; }
-
+
515 const MediaInfo& media_info,
517 uint32_t representation_id,
- 518 scoped_ptr<RepresentationStateChangeListener> state_change_listener);
+ 518 std::unique_ptr<RepresentationStateChangeListener> state_change_listener);
@@ -480,7 +480,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 570 scoped_ptr<RepresentationStateChangeListener> state_change_listener_;
+ 570 std::unique_ptr<RepresentationStateChangeListener> state_change_listener_;
573 int output_suppression_flags_;
@@ -492,23 +492,22 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
580 #endif // MPD_BASE_MPD_BUILDER_H_
void OnSetFrameRateForRepresentation(uint32_t representation_id, uint32_t frame_duration, uint32_t timescale)
-RepresentationType in MPD.
+RepresentationType in MPD.
virtual void AddNewSegment(uint64_t start_time, uint64_t duration, uint64_t size)
virtual void OnSetFrameRateForRepresentation(uint32_t frame_duration, uint32_t timescale)=0
bool WriteMpdToFile(media::File *output_file)
+Representation(const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, std::unique_ptr< RepresentationStateChangeListener > state_change_listener)
AdaptationSet(uint32_t adaptation_set_id, const std::string &lang, const MpdOptions &mpd_options, MpdBuilder::MpdType mpd_type, base::AtomicSequenceNumber *representation_counter)
virtual void SetSampleDuration(uint32_t sample_duration)
virtual Representation * AddRepresentation(const MediaInfo &media_info)
This class generates DASH MPDs (Media Presentation Descriptions).
-
+
virtual void AddContentProtectionElement(const ContentProtectionElement &element)
-Representation(const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, scoped_ptr< RepresentationStateChangeListener > state_change_listener)
-void InjectClockForTesting(scoped_ptr< base::Clock > clock)
This is for testing.
virtual void AddRole(Role role)
void AddBaseUrl(const std::string &base_url)
virtual void UpdateContentProtectionPssh(const std::string &drm_uuid, const std::string &pssh)
@@ -527,6 +526,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual int Group() const
void OnNewSegmentForRepresentation(uint32_t representation_id, uint64_t start_time, uint64_t duration)
+void InjectClockForTesting(std::unique_ptr< base::Clock > clock)
This is for testing.
virtual void UpdateContentProtectionPssh(const std::string &drm_uuid, const std::string &pssh)
virtual void OnNewSegmentForRepresentation(uint64_t start_time, uint64_t duration)=0
@@ -534,7 +534,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 444bfac603..d302856c26 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 fc84edf9c2..75da80f897 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 1330dc163a..13a97b8498 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 97eadb52fd..aec7cee0d2 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_1MediaStream-members.html b/docs/d6/db1/classshaka_1_1media_1_1MediaStream-members.html
index 7057dd1d6f..ed9a20c59d 100644
--- a/docs/d6/db1/classshaka_1_1media_1_1MediaStream-members.html
+++ b/docs/d6/db1/classshaka_1_1media_1_1MediaStream-members.html
@@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html b/docs/d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html
index d417ebeaad..2125d3a3f6 100644
--- a/docs/d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html
+++ b/docs/d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html
@@ -429,7 +429,7 @@ void set_language (con
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 a602b2eebb..c1a4cfcd9c 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/dc7/classshaka_1_1media_1_1mp2t_1_1EsParserH26x-members.html b/docs/d6/dc7/classshaka_1_1media_1_1mp2t_1_1EsParserH26x-members.html
index cc0a62bbe5..201d3722d1 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
@@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
EmitSampleCB typedef (defined in shaka::media::mp2t::EsParser) | shaka::media::mp2t::EsParser | |
EsParser(uint32_t pid) (defined in shaka::media::mp2t::EsParser) | shaka::media::mp2t::EsParser | inline |
- EsParserH26x(Nalu::CodecType type, scoped_ptr< H26xByteToUnitStreamConverter > stream_converter, uint32_t pid, const EmitSampleCB &emit_sample_cb) (defined in shaka::media::mp2t::EsParserH26x) | shaka::media::mp2t::EsParserH26x | |
+ EsParserH26x(Nalu::CodecType type, std::unique_ptr< H26xByteToUnitStreamConverter > stream_converter, uint32_t pid, const EmitSampleCB &emit_sample_cb) (defined in shaka::media::mp2t::EsParserH26x) | shaka::media::mp2t::EsParserH26x | |
Flush() override (defined in shaka::media::mp2t::EsParserH26x) | shaka::media::mp2t::EsParserH26x | virtual |
NewStreamInfoCB typedef (defined in shaka::media::mp2t::EsParser) | shaka::media::mp2t::EsParser | |
Parse(const uint8_t *buf, int size, int64_t pts, int64_t dts) override (defined in shaka::media::mp2t::EsParserH26x) | shaka::media::mp2t::EsParserH26x | virtual |
@@ -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 0266b6189b..5b810d3e42 100644
--- a/docs/d6/dc8/mkv__writer_8cc_source.html
+++ b/docs/d6/dc8/mkv__writer_8cc_source.html
@@ -186,7 +186,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
@@ -195,7 +195,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 450c2a5cb1..971a2e0805 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 a922b6e66d..b45beedf4f 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 7c6643fae6..54a44ede39 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 729dd6f505..ca7666a599 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 scoped_refptr
diff --git a/docs/d6/dd0/structshaka_1_1media_1_1H264SEIMessage.html b/docs/d6/dd0/structshaka_1_1media_1_1H264SEIMessage.html
index 582c478462..4fe269bd86 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 03057ddc06..5d86a43a92 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 0d11cbc3ba..8ee26509ae 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 54bcba1bec..5b2b98aa5e 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
index b345cc0e39..d2e0ce9c79 100644
--- a/docs/d6/de8/local__file_8cc_source.html
+++ b/docs/d6/de8/local__file_8cc_source.html
@@ -211,7 +211,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d6/de8/network__util_8h_source.html b/docs/d6/de8/network__util_8h_source.html
index 7746360253..e898afb44a 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 5f7443c1f8..daa3684815 100644
--- a/docs/d6/de9/ts__segmenter_8cc_source.html
+++ b/docs/d6/de9/ts__segmenter_8cc_source.html
@@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
47 if (encryption_key_source) {
- 48 scoped_ptr<EncryptionKey> encryption_key(
new EncryptionKey());
+ 48 std::unique_ptr<EncryptionKey> encryption_key(
new EncryptionKey());
49 const KeySource::TrackType type =
50 GetTrackTypeForEncryption(stream_info, max_sd_pixels);
51 Status status = encryption_key_source->
GetKey(type, encryption_key.get());
@@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 61 encryption_key_ = encryption_key.Pass();
+ 61 encryption_key_ = std::move(encryption_key);
62 clear_lead_in_seconds_ = clear_lead_in_seconds;
@@ -198,13 +198,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
109 return WritePesPacketsToFile();
-
- 113 ts_writer_ = writer.Pass();
+
+ 113 ts_writer_ = std::move(writer);
-
- 117 scoped_ptr<PesPacketGenerator> generator) {
- 118 pes_packet_generator_ = generator.Pass();
+
+ 117 std::unique_ptr<PesPacketGenerator> generator) {
+ 118 pes_packet_generator_ = std::move(generator);
@@ -227,14 +227,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
139 Status TsSegmenter::WritePesPacketsToFile() {
140 while (pes_packet_generator_->NumberOfReadyPesPackets() > 0u) {
- 141 scoped_ptr<PesPacket> pes_packet =
+ 141 std::unique_ptr<PesPacket> pes_packet =
142 pes_packet_generator_->GetNextPesPacket();
144 Status status = OpenNewSegmentIfClosed(pes_packet->pts());
- 148 if (!ts_writer_->AddPesPacket(pes_packet.Pass()))
+ 148 if (!ts_writer_->AddPesPacket(std::move(pes_packet)))
149 return Status(error::MUXER_FAILURE,
"Failed to add PES packet.");
@@ -276,7 +276,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 190 if (!pes_packet_generator_->SetEncryptionKey(encryption_key_.Pass()))
+ 190 if (!pes_packet_generator_->SetEncryptionKey(std::move(encryption_key_)))
191 return Status(error::INTERNAL_ERROR,
"Failed to set encryption key.");
192 ts_writer_->SignalEncrypted();
@@ -295,16 +295,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
-
+
+
-
+
-
+
-
+
@@ -313,7 +313,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 d08335f49d..da8b119d95 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 f8cd225e9f..544ca35e67 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 d8cc6f4a27..9f642281a6 100644
--- a/docs/d6/dff/classshaka_1_1media_1_1Nalu.html
+++ b/docs/d6/dff/classshaka_1_1media_1_1Nalu.html
@@ -240,7 +240,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 43e53993d4..e9af968d14 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 a52fd3399a..f257f378d5 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 46a63a611a..7663708d0d 100644
--- a/docs/d7/d0b/muxer__listener__test__helper_8h_source.html
+++ b/docs/d7/d0b/muxer__listener__test__helper_8h_source.html
@@ -206,7 +206,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 56b5a5ed55..0ecae8719f 100644
--- a/docs/d7/d12/media__parser_8h_source.html
+++ b/docs/d7/d12/media__parser_8h_source.html
@@ -96,61 +96,60 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef MEDIA_BASE_MEDIA_PARSER_H_
8 #define MEDIA_BASE_MEDIA_PARSER_H_
-
-
-
+
+
+
13 #include "packager/base/callback.h"
14 #include "packager/base/compiler_specific.h"
15 #include "packager/base/memory/ref_counted.h"
- 16 #include "packager/base/memory/scoped_ptr.h"
- 17 #include "packager/media/base/container_names.h"
-
-
-
-
-
-
-
-
-
-
-
-
-
- 34 typedef base::Callback<
- 35 void(
const std::vector<scoped_refptr<StreamInfo> >& stream_info)>
InitCB;
-
- 42 typedef base::Callback<bool(uint32_t track_id,
- 43 const scoped_refptr<MediaSample>& media_sample)>
-
-
-
-
-
-
- 60 virtual bool Flush() WARN_UNUSED_RESULT = 0;
-
- 64 virtual
bool Parse(const uint8_t* buf,
int size) WARN_UNUSED_RESULT = 0;
-
-
-
-
-
-
-
-
- 73 #endif // MEDIA_BASE_MEDIA_PARSER_H_
-
-
+ 16 #include "packager/media/base/container_names.h"
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 33 typedef base::Callback<
+ 34 void(
const std::vector<scoped_refptr<StreamInfo> >& stream_info)>
InitCB;
+
+ 41 typedef base::Callback<bool(uint32_t track_id,
+ 42 const scoped_refptr<MediaSample>& media_sample)>
+
+
+
+
+
+
+ 59 virtual bool Flush() WARN_UNUSED_RESULT = 0;
+
+ 63 virtual
bool Parse(const uint8_t* buf,
int size) WARN_UNUSED_RESULT = 0;
+
+
+
+
+
+
+
+
+ 72 #endif // MEDIA_BASE_MEDIA_PARSER_H_
+
+
-
-
+
+
diff --git a/docs/d7/d15/mpd__notifier_8h_source.html b/docs/d7/d15/mpd__notifier_8h_source.html
index 1d730db446..96a37678e9 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 5ae87581d0..d48cc60122 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 0d38d2f0d0..846b516567 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 5e0206d7b1..940db3772e 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 0efa0f4c3b..0ae99a2c4c 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 4c235e86ab..b9715a412e 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/d36/classshaka_1_1media_1_1ContentEncoding-members.html b/docs/d7/d36/classshaka_1_1media_1_1ContentEncoding-members.html
index f501c4dda8..58b9415e92 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 bbb9a10961..c39dcdfec6 100644
--- a/docs/d7/d42/protection__system__specific__info_8cc_source.html
+++ b/docs/d7/d42/protection__system__specific__info_8cc_source.html
@@ -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 7e36fe4954..fe775b6f3c 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 a8ae38ac16..54f0368003 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 7ee5681026..67bb72e38b 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 07ac0465a4..8aab37acca 100644
--- a/docs/d7/d54/classshaka_1_1media_1_1H26xByteToUnitStreamConverter-members.html
+++ b/docs/d7/d54/classshaka_1_1media_1_1H26xByteToUnitStreamConverter-members.html
@@ -101,7 +101,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 802d153962..6f4cbcb38c 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 2d6536248b..49971a3728 100644
--- a/docs/d7/d6d/classshaka_1_1media_1_1MediaSample.html
+++ b/docs/d7/d6d/classshaka_1_1media_1_1MediaSample.html
@@ -198,7 +198,7 @@ class | base::RefCountedThre
Class to hold a media sample.
- Definition at line 22 of file media_sample.h.
+ Definition at line 21 of file media_sample.h.
@@ -411,7 +411,7 @@ class | base::RefCountedThre
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 b187bdd7af..deb9102604 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 ca70003cee..342f6b36d4 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/d7a/classshaka_1_1media_1_1UdpFile.html b/docs/d7/d7a/classshaka_1_1media_1_1UdpFile.html
index d730de197e..d611e3d8b3 100644
--- a/docs/d7/d7a/classshaka_1_1media_1_1UdpFile.html
+++ b/docs/d7/d7a/classshaka_1_1media_1_1UdpFile.html
@@ -463,7 +463,7 @@ Additional Inherited Members |
diff --git a/docs/d7/d7c/vlog__flags_8h_source.html b/docs/d7/d7c/vlog__flags_8h_source.html
index 59fa038ed2..a024b17ed8 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 77fe178a80..5a70c35078 100644
--- a/docs/d7/d87/video__stream__info_8h_source.html
+++ b/docs/d7/d87/video__stream__info_8h_source.html
@@ -162,7 +162,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 b35a8b88cf..7cd6a03d88 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 7ebdf6f3ff..6234d275b1 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 710ec37784..b931f41982 100644
--- a/docs/d7/da4/track__run__iterator_8h_source.html
+++ b/docs/d7/da4/track__run__iterator_8h_source.html
@@ -94,9 +94,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 #ifndef MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_
6 #define MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_
-
-
- 10 #include "packager/base/memory/scoped_ptr.h"
+
+
+
11 #include "packager/media/formats/mp4/box_definitions.h"
@@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
95 int64_t duration() const;
96 bool is_keyframe() const;
-
+
@@ -174,7 +174,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
127 #endif // MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_
-
@@ -185,6 +184,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
+
@@ -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 51d6a3cc01..55483b2598 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 cd892b6223..4d40a8a084 100644
--- a/docs/d7/db0/mpd__writer_8h_source.html
+++ b/docs/d7/db0/mpd__writer_8h_source.html
@@ -99,11 +99,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #define MPD_UTIL_MPD_WRITER_H_
-
-
-
- 16 #include "packager/base/macros.h"
- 17 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+
+ 17 #include "packager/base/macros.h"
18 #include "packager/mpd/base/mpd_notifier.h"
19 #include "packager/mpd/base/mpd_options.h"
@@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 37 virtual scoped_ptr<MpdNotifier> Create(
+ 37 virtual std::unique_ptr<MpdNotifier> Create(
38 DashProfile dash_profile,
40 const std::vector<std::string>& base_urls,
@@ -163,26 +163,27 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
78 friend class MpdWriterTest;
- 80 void SetMpdNotifierFactoryForTest(scoped_ptr<MpdNotifierFactory> factory);
-
- 82 std::list<MediaInfo> media_infos_;
- 83 std::vector<std::string> base_urls_;
-
- 85 scoped_ptr<MpdNotifierFactory> notifier_factory_;
-
-
-
-
-
-
- 92 #endif // MPD_UTIL_MPD_WRITER_H_
+ 80 void SetMpdNotifierFactoryForTest(
+ 81 std::unique_ptr<MpdNotifierFactory> factory);
+
+ 83 std::list<MediaInfo> media_infos_;
+ 84 std::vector<std::string> base_urls_;
+
+ 86 std::unique_ptr<MpdNotifierFactory> notifier_factory_;
+
+
+
+
+
+
+ 93 #endif // MPD_UTIL_MPD_WRITER_H_
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 95ebd886c5..aaf38be21e 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 4b2c161378..cf10df86ec 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 c8f5670854..7d5ce15dd1 100644
--- a/docs/d7/dc6/byte__queue_8h_source.html
+++ b/docs/d7/dc6/byte__queue_8h_source.html
@@ -96,55 +96,57 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 10 #include "packager/base/memory/scoped_ptr.h"
+
-
-
-
-
-
-
-
-
-
-
- 29 void Push(
const uint8_t* data,
int size);
-
- 33 void Peek(
const uint8_t** data,
int* size)
const;
-
-
-
-
-
- 41 uint8_t* front()
const;
-
- 43 scoped_ptr<uint8_t[]> buffer_;
+ 12 #include "packager/base/macros.h"
+
+
+
+
+
+
+
+
+
+
+
+ 31 void Push(
const uint8_t* data,
int size);
+
+ 35 void Peek(
const uint8_t** data,
int* size)
const;
+
+
+
+
+
+ 43 uint8_t* front()
const;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 60 #endif // MEDIA_BASE_BYTE_QUEUE_H_
+ 45 std::unique_ptr<uint8_t[]> buffer_;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 62 #endif // MEDIA_BASE_BYTE_QUEUE_H_
-
+
diff --git a/docs/d7/dd0/mpd__notifier__util_8h_source.html b/docs/d7/dd0/mpd__notifier__util_8h_source.html
index 8468eabcaa..22137b95fe 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 8febcb9e3d..20ac031f26 100644
--- a/docs/d7/dd4/request__signer_8h_source.html
+++ b/docs/d7/dd4/request__signer_8h_source.html
@@ -96,89 +96,90 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef MEDIA_BASE_REQUEST_SIGNER_H_
8 #define MEDIA_BASE_REQUEST_SIGNER_H_
-
-
- 12 #include "packager/base/memory/scoped_ptr.h"
-
-
-
-
- 17 class AesCbcEncryptor;
-
-
-
-
-
-
-
- 29 std::string* signature) = 0;
-
- 31 const std::string& signer_name()
const {
return signer_name_; }
-
-
-
-
-
- 37 std::string signer_name_;
-
-
-
-
-
-
-
-
-
- 50 const std::string& aes_key_hex,
- 51 const std::string& iv_hex);
-
-
- 55 std::string* signature)
override;
-
-
-
- 59 scoped_ptr<AesCbcEncryptor> encryptor);
-
- 61 scoped_ptr<AesCbcEncryptor> aes_cbc_encryptor_;
-
-
-
-
-
-
-
-
-
- 74 const std::string& pkcs1_rsa_key);
-
-
- 78 std::string* signature)
override;
-
-
-
- 82 scoped_ptr<RsaPrivateKey> rsa_private_key);
-
- 84 scoped_ptr<RsaPrivateKey> rsa_private_key_;
-
-
-
-
-
-
-
- 92 #endif // MEDIA_BASE_REQUEST_SIGNER_H_
-
-
+
+
+
+ 13 #include "packager/base/macros.h"
+
+
+
+
+ 18 class AesCbcEncryptor;
+
+
+
+
+
+
+
+ 30 std::string* signature) = 0;
+
+ 32 const std::string& signer_name()
const {
return signer_name_; }
+
+
+
+
+
+ 38 std::string signer_name_;
+
+
+
+
+
+
+
+
+
+ 51 const std::string& aes_key_hex,
+ 52 const std::string& iv_hex);
+
+
+ 56 std::string* signature)
override;
+
+
+
+ 60 std::unique_ptr<AesCbcEncryptor> encryptor);
+
+ 62 std::unique_ptr<AesCbcEncryptor> aes_cbc_encryptor_;
+
+
+
+
+
+
+
+
+
+ 75 const std::string& pkcs1_rsa_key);
+
+
+ 79 std::string* signature)
override;
+
+
+
+ 83 std::unique_ptr<RsaPrivateKey> rsa_private_key);
+
+ 85 std::unique_ptr<RsaPrivateKey> rsa_private_key_;
+
+
+
+
+
+
+
+ 93 #endif // MEDIA_BASE_REQUEST_SIGNER_H_
+
+
-
+
-
-
+
+
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 364b22585f..93b13c1ddd 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
@@ -129,7 +129,7 @@ track_id, const scoped_refptr
-
Definition at line 33 of file mp4_media_parser.h.
+
Definition at line 31 of file mp4_media_parser.h.
@@ -285,7 +285,7 @@ track_id, const scoped_refptr
diff --git a/docs/d7/dd6/key__source_8cc_source.html b/docs/d7/dd6/key__source_8cc_source.html
index 0a08a83e73..a3a8765e58 100644
--- a/docs/d7/dd6/key__source_8cc_source.html
+++ b/docs/d7/dd6/key__source_8cc_source.html
@@ -142,7 +142,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 36fbfb93a0..d96211c94c 100644
--- a/docs/d7/dda/classshaka_1_1media_1_1ByteQueue.html
+++ b/docs/d7/dda/classshaka_1_1media_1_1ByteQueue.html
@@ -114,7 +114,7 @@ void
Represents a queue of bytes. Data is added to the end of the queue via an Push() and removed via Pop(). The contents of the queue can be observed via the Peek() method. This class manages the underlying storage of the queue and tries to minimize the number of buffer copies when data is appended and removed.
- Definition at line 20 of file byte_queue.h.
+ Definition at line 22 of file byte_queue.h.
@@ -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 0f27645b0b..446848f691 100644
--- a/docs/d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html
+++ b/docs/d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html
@@ -135,7 +135,7 @@ Additional Inherited Members |
RsaRequestSigner uses RSA-PSS signing.
-
Definition at line 67 of file request_signer.h.
+
Definition at line 68 of file request_signer.h.
@@ -171,7 +171,7 @@ Additional Inherited Members
Create an RsaSigner object using a DER encoded PKCS#1 RSAPrivateKey.
- Returns
- The created RsaRequestSigner object on success, NULL otherwise.
-
Definition at line 63 of file request_signer.cc.
+
Definition at line 64 of file request_signer.cc.
@@ -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 f72fedcdf2..9766d5eff6 100644
--- a/docs/d7/de0/classshaka_1_1media_1_1HttpKeyFetcher.html
+++ b/docs/d7/de0/classshaka_1_1media_1_1HttpKeyFetcher.html
@@ -311,7 +311,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 e6312c97e4..2104d85ed9 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 9fc797a6de..faaecdeccd 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
@@ -134,7 +134,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 1a9d35e272..e9046ed8a6 100644
--- a/docs/d7/dee/mpd__generator_8cc_source.html
+++ b/docs/d7/dee/mpd__generator_8cc_source.html
@@ -227,7 +227,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 a5678c412e..052691966c 100644
--- a/docs/d7/def/mp4__media__parser_8cc_source.html
+++ b/docs/d7/def/mp4__media__parser_8cc_source.html
@@ -245,7 +245,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 159 scoped_ptr<File, FileCloser> file(
+ 159 std::unique_ptr<File, FileCloser> file(
162 LOG(ERROR) << "Unable to open media file '" << file_path << "'";
@@ -326,7 +326,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
241 if (reader.get() == NULL)
@@ -779,7 +779,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 693 scoped_ptr<DecryptConfig> decrypt_config = runs_->GetDecryptConfig();
+ 693 std::unique_ptr<DecryptConfig> decrypt_config = runs_->GetDecryptConfig();
694 if (!decrypt_config ||
695 !decryptor_source_->DecryptSampleBuffer(decrypt_config.get(),
696 stream_sample->writable_data(),
@@ -839,14 +839,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
-
+
@@ -855,7 +855,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 4e0536943b..2b941e35f0 100644
--- a/docs/d7/df9/byte__queue_8cc_source.html
+++ b/docs/d7/df9/byte__queue_8cc_source.html
@@ -130,7 +130,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
42 CHECK_GT(new_size, size_);
- 44 scoped_ptr<uint8_t[]> new_buffer( new uint8_t[new_size]);
+ 44 std::unique_ptr<uint8_t[]> new_buffer( new uint8_t[new_size]);
@@ -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 86370ce0f4..fc74f6b543 100644
--- a/docs/d8/d08/classshaka_1_1media_1_1H264ByteToUnitStreamConverter.html
+++ b/docs/d8/d08/classshaka_1_1media_1_1H264ByteToUnitStreamConverter.html
@@ -171,7 +171,7 @@ static const size_t | kUnitS
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 d815e039e8..d13af62bd3 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 bc619fb548..727c944821 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
@@ -93,18 +93,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
This is the complete list of members for shaka::media::mp2t::TsWriter, including all inherited members.
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 849189fd4f..942026d89d 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 1784401722..6ff2a52ba2 100644
--- a/docs/d8/d0d/media__sample_8cc_source.html
+++ b/docs/d8/d0d/media__sample_8cc_source.html
@@ -189,13 +189,13 @@ 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 da4ef3ae26..73a0d52475 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 72fa0dc167..25d6dec769 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 0c446add32..a2bea659ac 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 390a6bfc19..9fca256cb3 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 32be0ffab4..1f3df96786 100644
--- a/docs/d8/d16/structshaka_1_1media_1_1MuxerOptions-members.html
+++ b/docs/d8/d16/structshaka_1_1media_1_1MuxerOptions-members.html
@@ -110,7 +110,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 9ea7954f7c..c6f5bc1827 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/d20/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html b/docs/d8/d20/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html
index 5c46a6ed12..7cfa2459fd 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 9029d0a336..3201cc7588 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 6b4a515672..12bf7c631a 100644
--- a/docs/d8/d28/es__parser__h265_8h_source.html
+++ b/docs/d8/d28/es__parser__h265_8h_source.html
@@ -99,11 +99,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
-
- 15 #include "packager/base/callback.h"
- 16 #include "packager/base/compiler_specific.h"
- 17 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+ 16 #include "packager/base/callback.h"
+ 17 #include "packager/base/compiler_specific.h"
18 #include "packager/media/formats/mp2t/es_parser_h26x.h"
@@ -141,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
52 scoped_refptr<StreamInfo> last_video_decoder_config_;
53 bool decoder_config_check_pending_;
- 55 scoped_ptr<H265Parser> h265_parser_;
+ 55 std::unique_ptr<H265Parser> h265_parser_;
@@ -155,7 +155,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 392246e7c3..3e8e6fa1e1 100644
--- a/docs/d8/d33/webm__content__encodings__client_8h_source.html
+++ b/docs/d8/d33/webm__content__encodings__client_8h_source.html
@@ -94,11 +94,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 #ifndef MEDIA_FORMATS_WEBM_WEBM_CONTENT_ENCODINGS_CLIENT_H_
6 #define MEDIA_FORMATS_WEBM_WEBM_CONTENT_ENCODINGS_CLIENT_H_
-
-
- 10 #include "packager/base/callback.h"
- 11 #include "packager/base/compiler_specific.h"
- 12 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+ 11 #include "packager/base/callback.h"
+ 12 #include "packager/base/compiler_specific.h"
13 #include "packager/media/formats/webm/webm_content_encodings.h"
14 #include "packager/media/formats/webm/webm_parser.h"
@@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
33 bool OnBinary(
int id,
const uint8_t* data,
int size)
override;
- 36 scoped_ptr<ContentEncoding> cur_content_encoding_;
+ 36 std::unique_ptr<ContentEncoding> cur_content_encoding_;
37 bool content_encryption_encountered_;
38 ContentEncodings content_encodings_;
@@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d8/d3e/classshaka_1_1media_1_1StreamDescriptorCompareFn.html b/docs/d8/d3e/classshaka_1_1media_1_1StreamDescriptorCompareFn.html
index b842e0df1d..d35654e284 100644
--- a/docs/d8/d3e/classshaka_1_1media_1_1StreamDescriptorCompareFn.html
+++ b/docs/d8/d3e/classshaka_1_1media_1_1StreamDescriptorCompareFn.html
@@ -109,7 +109,7 @@ bool operator() (const
diff --git a/docs/d8/d4d/aes__decryptor_8h_source.html b/docs/d8/d4d/aes__decryptor_8h_source.html
index c35721a19c..c60771d0f1 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/d5b/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry.html b/docs/d8/d5b/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry.html
index 9140f34e0b..3da9482801 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/d5c/classshaka_1_1media_1_1MediaStream.html b/docs/d8/d5c/classshaka_1_1media_1_1MediaStream.html
index c53af52375..7d595e4b50 100644
--- a/docs/d8/d5c/classshaka_1_1media_1_1MediaStream.html
+++ b/docs/d8/d5c/classshaka_1_1media_1_1MediaStream.html
@@ -225,7 +225,7 @@ const scoped_refptr<
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 b673b23980..55e8d32aef 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 bd4622ee2a..6aa8a0661d 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 2c0e640735..d4662cb8d3 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 2d9efba1e7..f8bfe00943 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 2f308ab69b..98911ded5f 100644
--- a/docs/d8/d86/classshaka_1_1media_1_1WebMTracksParser.html
+++ b/docs/d8/d86/classshaka_1_1media_1_1WebMTracksParser.html
@@ -163,7 +163,7 @@ Additional Inherited Members |
Parser for WebM Tracks element.
-
Definition at line 28 of file webm_tracks_parser.h.
+
Definition at line 27 of file webm_tracks_parser.h.
@@ -225,7 +225,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 181fd840e8..4178467d56 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 62c13ff60e..82429af018 100644
--- a/docs/d8/d8e/classshaka_1_1AdaptationSet.html
+++ b/docs/d8/d8e/classshaka_1_1AdaptationSet.html
@@ -582,7 +582,7 @@ template<MpdBuilder::MpdType type>
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 07a2985dc8..fbeac2b3ae 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 9d39865459..1234e27ad1 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 bcfc546610..4215969cb1 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 1b1ce2b486..59b57d560b 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 35f3692f3c..11f6d3abe6 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 08e4de6da4..db5642b6c9 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 0ad7c27c18..2001b453aa 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 2fcb33bb13..5a4680856c 100644
--- a/docs/d8/d9a/fragmenter_8cc_source.html
+++ b/docs/d8/d9a/fragmenter_8cc_source.html
@@ -301,7 +301,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 e6c0d3d907..d683720206 100644
--- a/docs/d8/d9c/webm__tracks__parser_8cc_source.html
+++ b/docs/d8/d9c/webm__tracks__parser_8cc_source.html
@@ -440,7 +440,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
index 22ba63bf55..f13d043d3b 100644
--- a/docs/d8/d9f/udp__file_8h_source.html
+++ b/docs/d8/d9f/udp__file_8h_source.html
@@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 2b10ea636e..2ccf2ad5cf 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 ea9a54972f..ac8c65debd 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 dd1ffdea30..3a3ebe20dc 100644
--- a/docs/d8/da6/classshaka_1_1media_1_1NaluReader-members.html
+++ b/docs/d8/da6/classshaka_1_1media_1_1NaluReader-members.html
@@ -105,7 +105,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 6caafced23..85189216db 100644
--- a/docs/d8/daa/stream__info_8h_source.html
+++ b/docs/d8/daa/stream__info_8h_source.html
@@ -205,7 +205,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d8/daf/namespaceshaka.html b/docs/d8/daf/namespaceshaka.html
index b7b6244435..5fed2f8f37 100644
--- a/docs/d8/daf/namespaceshaka.html
+++ b/docs/d8/daf/namespaceshaka.html
@@ -566,7 +566,7 @@ const char kPsshElementNam
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 76e6be2051..d28f9621c4 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
@@ -107,18 +107,18 @@ Inheritance diagram for shaka::media::mp4::MultiSegmentSegmenter:
|
-
- | MultiSegmentSegmenter (const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov) |
- |
+
+ | MultiSegmentSegmenter (const MuxerOptions &options, std::unique_ptr< FileType > ftyp, std::unique_ptr< Movie > moov) |
+ |
|
bool | GetInitRange (size_t *offset, size_t *size) override |
|
bool | GetIndexRange (size_t *offset, size_t *size) override |
|
-
- | Segmenter (const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov) |
- |
+
+ | Segmenter (const MuxerOptions &options, std::unique_ptr< FileType > ftyp, std::unique_ptr< Movie > moov) |
+ |
Status | Initialize (const std::vector< MediaStream * > &streams, MuxerListener *muxer_listener, ProgressListener *progress_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds, double crypto_period_duration_in_seconds, FourCC protection_scheme) |
|
Status | Finalize () |
@@ -259,7 +259,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 3106f7ea17..043cc506fe 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/dc3/structshaka_1_1media_1_1mp4_1_1CueTimeBox.html b/docs/d8/dc3/structshaka_1_1media_1_1mp4_1_1CueTimeBox.html
index d27c826db2..2b15b5dab1 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 4d730975ac..b15b73ba24 100644
--- a/docs/d8/dca/ts__writer_8h_source.html
+++ b/docs/d8/dca/ts__writer_8h_source.html
@@ -98,9 +98,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
-
- 14 #include "packager/base/memory/scoped_ptr.h"
+
+
+
15 #include "packager/media/base/media_stream.h"
16 #include "packager/media/file/file.h"
17 #include "packager/media/file/file_closer.h"
@@ -125,10 +125,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 56 virtual bool AddPesPacket(scoped_ptr<PesPacket> pes_packet);
+ 56 virtual bool AddPesPacket(std::unique_ptr<PesPacket> pes_packet);
-
- 60 scoped_ptr<ProgramMapTableWriter> table_writer);
+
+ 60 std::unique_ptr<ProgramMapTableWriter> table_writer);
@@ -138,9 +138,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 70 scoped_ptr<ProgramMapTableWriter> pmt_writer_;
+ 70 std::unique_ptr<ProgramMapTableWriter> pmt_writer_;
- 72 scoped_ptr<File, FileCloser> current_file_;
+ 72 std::unique_ptr<File, FileCloser> current_file_;
@@ -152,9 +152,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
81 #endif // PACKAGER_MEDIA_FORMATS_MP2T_TS_WRITER_H_
-
+
-
+
@@ -162,7 +162,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 91a28a4015..baf1371176 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 67e2d7ad20..720ad15e24 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 f6df4418c0..d524fd49b6 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 a4d4039fbb..c764eb7f48 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 83a065dbbc..d47dcf2990 100644
--- a/docs/d8/de1/classshaka_1_1SimpleMpdNotifier.html
+++ b/docs/d8/de1/classshaka_1_1SimpleMpdNotifier.html
@@ -471,7 +471,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 bbbff455a8..4dd0f08df8 100644
--- a/docs/d8/de6/webm__crypto__helpers_8h_source.html
+++ b/docs/d8/de6/webm__crypto__helpers_8h_source.html
@@ -95,28 +95,27 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
6 #define MEDIA_FORMATS_WEBM_WEBM_CRYPTO_HELPERS_H_
-
- 10 #include "packager/base/memory/scoped_ptr.h"
- 11 #include "packager/media/base/decrypt_config.h"
-
-
-
-
- 24 bool WebMCreateDecryptConfig( const uint8_t* data,
-
- 26 const uint8_t* key_id,
-
- 28 scoped_ptr<DecryptConfig>* decrypt_config,
-
-
-
-
-
- 34 #endif // MEDIA_FORMATS_WEBM_WEBM_CRYPT_HELPERS_H_
+
+ 10 #include "packager/media/base/decrypt_config.h"
+
+
+
+
+ 23 bool WebMCreateDecryptConfig( const uint8_t* data,
+
+ 25 const uint8_t* key_id,
+
+ 27 std::unique_ptr<DecryptConfig>* decrypt_config,
+
+
+
+
+
+ 33 #endif // MEDIA_FORMATS_WEBM_WEBM_CRYPT_HELPERS_H_
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 597c76eed7..8334b50118 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/dee/classshaka_1_1media_1_1AudioTimestampHelper-members.html b/docs/d8/dee/classshaka_1_1media_1_1AudioTimestampHelper-members.html
index d21ace8c3c..650abef427 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 ffb3fe8f70..2cb6b1f8b0 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 6e1a92d54f..f1fdb7ecbb 100644
--- a/docs/d8/df0/webm_2single__segment__segmenter_8cc_source.html
+++ b/docs/d8/df0/webm_2single__segment__segmenter_8cc_source.html
@@ -107,8 +107,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
19 SingleSegmentSegmenter::~SingleSegmentSegmenter() {}
- 21 Status SingleSegmentSegmenter::DoInitialize(scoped_ptr<MkvWriter> writer) {
- 22 writer_ = writer.Pass();
+ 21 Status SingleSegmentSegmenter::DoInitialize(std::unique_ptr<MkvWriter> writer) {
+ 22 writer_ = std::move(writer);
23 Status ret = WriteSegmentHeader(0, writer_.get());
24 init_end_ = writer_->Position() - 1;
25 seek_head()->set_cluster_pos(init_end_ + 1 - segment_payload_pos());
@@ -181,7 +181,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 ffc75d09a3..be2f6ba827 100644
--- a/docs/d8/df7/classshaka_1_1media_1_1SegmentTestBase-members.html
+++ b/docs/d8/df7/classshaka_1_1media_1_1SegmentTestBase-members.html
@@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
This is the complete list of members for shaka::media::SegmentTestBase, including all inherited members.
- CreateAndInitializeSegmenter(const MuxerOptions &options, StreamInfo *info, KeySource *key_source, scoped_ptr< webm::Segmenter > *result) const | shaka::media::SegmentTestBase | inlineprotected |
+ CreateAndInitializeSegmenter(const MuxerOptions &options, StreamInfo *info, KeySource *key_source, std::unique_ptr< webm::Segmenter > *result) const | shaka::media::SegmentTestBase | inlineprotected |
CreateMuxerOptions() const | shaka::media::SegmentTestBase | protected |
CreateSample(KeyFrameFlag key_frame_flag, uint64_t duration, SideDataFlag side_data_flag) | shaka::media::SegmentTestBase | protected |
CreateVideoStreamInfo() const | shaka::media::SegmentTestBase | protected |
@@ -115,7 +115,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 26cca81614..074855d1d1 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
@@ -147,7 +147,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 40384aea60..51f83e3d7e 100644
--- a/docs/d9/d00/structshaka_1_1media_1_1OnMediaEndParameters-members.html
+++ b/docs/d9/d00/structshaka_1_1media_1_1OnMediaEndParameters-members.html
@@ -104,7 +104,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 94d6341819..c946b04f61 100644
--- a/docs/d9/d01/mp4_2single__segment__segmenter_8h_source.html
+++ b/docs/d9/d01/mp4_2single__segment__segmenter_8h_source.html
@@ -106,8 +106,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 31 scoped_ptr<FileType> ftyp,
- 32 scoped_ptr<Movie> moov);
+ 31 std::unique_ptr<FileType> ftyp,
+ 32 std::unique_ptr<Movie> moov);
37 bool GetInitRange( size_t* offset, size_t* size) override;
@@ -119,9 +119,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
44 Status DoFinalize() override;
45 Status DoFinalizeSegment() override;
- 47 scoped_ptr<SegmentIndex> vod_sidx_;
+ 47 std::unique_ptr<SegmentIndex> vod_sidx_;
48 std::string temp_file_name_;
- 49 scoped_ptr<File, FileCloser> temp_file_;
+ 49 std::unique_ptr<File, FileCloser> temp_file_;
@@ -140,7 +140,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 4c99dc9cd2..d219ff134c 100644
--- a/docs/d9/d08/mock__mpd__builder_8h_source.html
+++ b/docs/d9/d08/mock__mpd__builder_8h_source.html
@@ -180,7 +180,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 d8d70197ca..2038392c59 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 82b8c80293..286871e394 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/d13/classshaka_1_1media_1_1BufferReader.html b/docs/d9/d13/classshaka_1_1media_1_1BufferReader.html
index f8a221b2a4..4cde838ea8 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/d15/key__rotation__fragmenter_8cc_source.html b/docs/d9/d15/key__rotation__fragmenter_8cc_source.html
index 4f43cc7c92..bad21e54e1 100644
--- a/docs/d9/d15/key__rotation__fragmenter_8cc_source.html
+++ b/docs/d9/d15/key__rotation__fragmenter_8cc_source.html
@@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
@@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
55 int64_t current_crypto_period_index =
56 traf()->decode_time.decode_time / crypto_period_duration_;
57 if (current_crypto_period_index != prev_crypto_period_index_) {
- 58 scoped_ptr<EncryptionKey> encryption_key( new EncryptionKey());
+ 58 std::unique_ptr<EncryptionKey> encryption_key( new EncryptionKey());
60 current_crypto_period_index, track_type_, encryption_key.get());
@@ -155,7 +155,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
66 return Status(error::INTERNAL_ERROR, "Failed to generate random iv.");
- 69 set_encryption_key(encryption_key.Pass());
+ 69 set_encryption_key(std::move(encryption_key));
70 prev_crypto_period_index_ = current_crypto_period_index;
71 need_to_refresh_encryptor = true;
@@ -230,21 +230,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
-
+
-
+
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 a4c74ae897..d07d819cae 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 12b9f1c836..86d39a8174 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 d7630bb99e..7f1119e94e 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
@@ -109,9 +109,9 @@ Inheritance diagram for shaka::media::mp4::Segmenter:
|
-
- | Segmenter (const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov) |
- |
+
+ | Segmenter (const MuxerOptions &options, std::unique_ptr< FileType > ftyp, std::unique_ptr< Movie > moov) |
+ |
Status | Initialize (const std::vector< MediaStream * > &streams, MuxerListener *muxer_listener, ProgressListener *progress_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds, double crypto_period_duration_in_seconds, FourCC protection_scheme) |
|
Status | Finalize () |
@@ -430,7 +430,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 967c98c8e4..1d62a5b883 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
index 5fea4097fb..15cb1168cf 100644
--- a/docs/d9/d3a/classshaka_1_1media_1_1File-members.html
+++ b/docs/d9/d3a/classshaka_1_1media_1_1File-members.html
@@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d9/d3b/webm__content__encodings_8h_source.html b/docs/d9/d3b/webm__content__encodings_8h_source.html
index f0a2a286fb..562e1f003f 100644
--- a/docs/d9/d3b/webm__content__encodings_8h_source.html
+++ b/docs/d9/d3b/webm__content__encodings_8h_source.html
@@ -95,91 +95,90 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
6 #define MEDIA_FORMATS_WEBM_WEBM_CONTENT_ENCODINGS_H_
-
-
- 11 #include "packager/base/memory/scoped_ptr.h"
-
-
-
-
-
-
-
-
-
-
-
- 25 kScopeAllFrameContents = 1,
- 26 kScopeTrackPrivateData = 2,
- 27 kScopeNextContentEncodingData = 4,
-
-
-
-
-
-
-
-
-
-
-
- 39 kEncAlgoNotEncrypted = 0,
-
-
-
-
-
-
-
-
- 48 kCipherModeInvalid = 0,
-
-
-
-
-
-
- 55 int64_t order()
const {
return order_; }
- 56 void set_order(int64_t order) { order_ = order; }
-
- 58 Scope scope()
const {
return scope_; }
- 59 void set_scope(Scope scope) { scope_ = scope; }
-
- 61 Type type()
const {
return type_; }
- 62 void set_type(Type type) { type_ = type; }
-
- 64 EncryptionAlgo encryption_algo()
const {
return encryption_algo_; }
- 65 void set_encryption_algo(EncryptionAlgo encryption_algo) {
- 66 encryption_algo_ = encryption_algo;
-
-
- 69 const std::string& encryption_key_id()
const {
return encryption_key_id_; }
- 70 void SetEncryptionKeyId(
const uint8_t* encryption_key_id,
int size);
-
- 72 CipherMode cipher_mode()
const {
return cipher_mode_; }
- 73 void set_cipher_mode(CipherMode mode) { cipher_mode_ = mode; }
-
-
-
-
-
- 79 EncryptionAlgo encryption_algo_;
- 80 std::string encryption_key_id_;
- 81 CipherMode cipher_mode_;
-
- 83 DISALLOW_COPY_AND_ASSIGN(ContentEncoding);
-
-
-
-
-
- 89 #endif // MEDIA_FORMATS_WEBM_WEBM_CONTENT_ENCODINGS_H_
-
-static const int kOrderInvalid
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 24 kScopeAllFrameContents = 1,
+ 25 kScopeTrackPrivateData = 2,
+ 26 kScopeNextContentEncodingData = 4,
+
+
+
+
+
+
+
+
+
+
+
+ 38 kEncAlgoNotEncrypted = 0,
+
+
+
+
+
+
+
+
+ 47 kCipherModeInvalid = 0,
+
+
+
+
+
+
+ 54 int64_t order()
const {
return order_; }
+ 55 void set_order(int64_t order) { order_ = order; }
+
+ 57 Scope scope()
const {
return scope_; }
+ 58 void set_scope(Scope scope) { scope_ = scope; }
+
+ 60 Type type()
const {
return type_; }
+ 61 void set_type(Type type) { type_ = type; }
+
+ 63 EncryptionAlgo encryption_algo()
const {
return encryption_algo_; }
+ 64 void set_encryption_algo(EncryptionAlgo encryption_algo) {
+ 65 encryption_algo_ = encryption_algo;
+
+
+ 68 const std::string& encryption_key_id()
const {
return encryption_key_id_; }
+ 69 void SetEncryptionKeyId(
const uint8_t* encryption_key_id,
int size);
+
+ 71 CipherMode cipher_mode()
const {
return cipher_mode_; }
+ 72 void set_cipher_mode(CipherMode mode) { cipher_mode_ = mode; }
+
+
+
+
+
+ 78 EncryptionAlgo encryption_algo_;
+ 79 std::string encryption_key_id_;
+ 80 CipherMode cipher_mode_;
+
+ 82 DISALLOW_COPY_AND_ASSIGN(ContentEncoding);
+
+
+
+
+
+ 88 #endif // MEDIA_FORMATS_WEBM_WEBM_CONTENT_ENCODINGS_H_
+
+static const int kOrderInvalid
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 c45e772c99..a23e71b6ef 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 3ea33a332a..7a1ae88597 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 7ff4b0c54a..01ab3a33f3 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/d66/classshaka_1_1media_1_1mp2t_1_1EsParserAdts-members.html b/docs/d9/d66/classshaka_1_1media_1_1mp2t_1_1EsParserAdts-members.html
index ed4cbd9782..b359ecc075 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 62df4d1fb7..a9ea31b151 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 3bf4287b9a..8fe48229aa 100644
--- a/docs/d9/d6a/structshaka_1_1media_1_1H264SliceHeader-members.html
+++ b/docs/d9/d6a/structshaka_1_1media_1_1H264SliceHeader-members.html
@@ -154,7 +154,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 7236577c67..e42425e3f7 100644
--- a/docs/d9/d76/ts__muxer_8cc_source.html
+++ b/docs/d9/d76/ts__muxer_8cc_source.html
@@ -155,7 +155,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 092a7cf3cd..7f5bf3be11 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 ad7604b293..48afc0a623 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 389ea5dacb..02c0d0d593 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 761dc98526..49c0738d00 100644
--- a/docs/d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html
+++ b/docs/d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html
@@ -135,7 +135,7 @@ Additional Inherited Members
AesRequestSigner uses AES-CBC signing.
-
Definition at line 43 of file request_signer.h.
+
Definition at line 44 of file request_signer.h.
@@ -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 9db5fad579..7d7018f730 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 a2efbf4bfa..9a353c886b 100644
--- a/docs/d9/d90/text__track_8h_source.html
+++ b/docs/d9/d90/text__track_8h_source.html
@@ -94,10 +94,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 #ifndef MEDIA_BASE_TEXT_TRACK_H_
6 #define MEDIA_BASE_TEXT_TRACK_H_
-
-
- 10 #include "packager/base/callback.h"
- 11 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+ 11 #include "packager/base/callback.h"
12 #include "packager/base/time/time.h"
@@ -121,10 +121,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
33 const std::string& settings) = 0;
- 36 typedef base::Callback<scoped_ptr<TextTrack>
-
- 38 const std::string& label,
- 39 const std::string& language)> AddTextTrackCB;
+ 36 typedef base::Callback<std::unique_ptr<TextTrack>(TextKind kind,
+ 37 const std::string& label,
+ 38 const std::string& language)>
+
@@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d9/d93/media__stream_8h_source.html b/docs/d9/d93/media__stream_8h_source.html
index 1109688739..ec8b5a2d59 100644
--- a/docs/d9/d93/media__stream_8h_source.html
+++ b/docs/d9/d93/media__stream_8h_source.html
@@ -97,9 +97,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 #define MEDIA_BASE_MEDIA_STREAM_H_
-
- 12 #include "packager/base/memory/ref_counted.h"
- 13 #include "packager/base/memory/scoped_ptr.h"
+
+
+ 13 #include "packager/base/memory/ref_counted.h"
14 #include "packager/media/base/status.h"
@@ -170,7 +170,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 88a5ebcc7c..5409638b03 100644
--- a/docs/d9/da4/stream__descriptor_8h_source.html
+++ b/docs/d9/da4/stream__descriptor_8h_source.html
@@ -144,7 +144,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 faeec53d6b..831091e13c 100644
--- a/docs/d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html
+++ b/docs/d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html
@@ -513,7 +513,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 9a313d1c28..b06b412761 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 236b706349..fa7f734eea 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
@@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
options() const (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
progress_target() (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
sample_duration() const | shaka::media::mp4::Segmenter | inline |
- Segmenter(const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov) (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | |
+ Segmenter(const MuxerOptions &options, std::unique_ptr< FileType > ftyp, std::unique_ptr< Movie > moov) (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | |
set_progress_target(uint64_t progress_target) (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
SetComplete() | shaka::media::mp4::Segmenter | protected |
sidx() (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
@@ -116,7 +116,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 ece14047f9..f7febe7d39 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 0a6eb64819..15751cd3d8 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 86b0b7431d..cc3ebf2bfc 100644
--- a/docs/d9/db9/muxer_8cc_source.html
+++ b/docs/d9/db9/muxer_8cc_source.html
@@ -95,130 +95,132 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #include "packager/media/base/muxer.h"
- 9 #include "packager/media/base/fourccs.h"
- 10 #include "packager/media/base/media_sample.h"
- 11 #include "packager/media/base/media_stream.h"
-
-
-
-
- 16 Muxer::Muxer(
const MuxerOptions& options)
-
-
- 19 encryption_key_source_(NULL),
-
- 21 clear_lead_in_seconds_(0),
- 22 crypto_period_duration_in_seconds_(0),
- 23 protection_scheme_(FOURCC_NULL),
-
-
-
-
+
+
+ 11 #include "packager/media/base/fourccs.h"
+ 12 #include "packager/media/base/media_sample.h"
+ 13 #include "packager/media/base/media_stream.h"
+
+
+
+
+ 18 Muxer::Muxer(
const MuxerOptions& options)
+
+
+ 21 encryption_key_source_(NULL),
+
+ 23 clear_lead_in_seconds_(0),
+ 24 crypto_period_duration_in_seconds_(0),
+ 25 protection_scheme_(FOURCC_NULL),
+
+
-
- 30 uint32_t max_sd_pixels,
- 31 double clear_lead_in_seconds,
- 32 double crypto_period_duration_in_seconds,
- 33 FourCC protection_scheme) {
- 34 DCHECK(encryption_key_source);
- 35 encryption_key_source_ = encryption_key_source;
- 36 max_sd_pixels_ = max_sd_pixels;
- 37 clear_lead_in_seconds_ = clear_lead_in_seconds;
- 38 crypto_period_duration_in_seconds_ = crypto_period_duration_in_seconds;
- 39 protection_scheme_ = protection_scheme;
-
-
-
-
-
- 45 streams_.push_back(stream);
-
-
-
- 49 DCHECK(!streams_.empty());
-
-
-
- 53 for (std::vector<MediaStream*>::iterator it = streams_.begin();
-
-
- 56 status = (*it)->Start(MediaStream::kPull);
-
-
-
-
- 61 uint32_t current_stream_id = 0;
-
-
- 64 return Status(error::CANCELLED,
"muxer run cancelled");
-
- 66 scoped_refptr<MediaSample> sample;
- 67 status = streams_[current_stream_id]->PullSample(&sample);
-
-
- 70 status = AddSample(streams_[current_stream_id], sample);
-
-
- 73 if (status.error_code() == error::FRAGMENT_FINALIZED) {
- 74 current_stream_id = (current_stream_id + 1) % streams_.size();
-
-
-
-
- 79 return status.error_code() == error::END_OF_STREAM ? Finalize() : status;
-
-
-
-
-
-
-
- 87 muxer_listener_ = muxer_listener.Pass();
-
-
-
- 91 scoped_ptr<ProgressListener> progress_listener) {
- 92 progress_listener_ = progress_listener.Pass();
-
-
-
- 96 scoped_refptr<MediaSample> sample) {
- 97 DCHECK(std::find(streams_.begin(), streams_.end(), stream) != streams_.end());
-
-
- 100 Status status = Initialize();
-
-
-
-
- 105 if (sample->end_of_stream()) {
-
-
- 108 DCHECK_EQ(1u, streams_.size());
-
- 110 }
else if (sample->is_encrypted()) {
- 111 LOG(ERROR) <<
"Unable to multiplex encrypted media sample";
- 112 return Status(error::INTERNAL_ERROR,
"Encrypted media sample.");
-
- 114 return DoAddSample(stream, sample);
-
-
-
-
-
-
-
-
-
-
+
+
+
+ 32 uint32_t max_sd_pixels,
+ 33 double clear_lead_in_seconds,
+ 34 double crypto_period_duration_in_seconds,
+ 35 FourCC protection_scheme) {
+ 36 DCHECK(encryption_key_source);
+ 37 encryption_key_source_ = encryption_key_source;
+ 38 max_sd_pixels_ = max_sd_pixels;
+ 39 clear_lead_in_seconds_ = clear_lead_in_seconds;
+ 40 crypto_period_duration_in_seconds_ = crypto_period_duration_in_seconds;
+ 41 protection_scheme_ = protection_scheme;
+
+
+
+
+
+ 47 streams_.push_back(stream);
+
+
+
+ 51 DCHECK(!streams_.empty());
+
+
+
+ 55 for (std::vector<MediaStream*>::iterator it = streams_.begin();
+
+
+ 58 status = (*it)->Start(MediaStream::kPull);
+
+
+
+
+ 63 uint32_t current_stream_id = 0;
+
+
+ 66 return Status(error::CANCELLED,
"muxer run cancelled");
+
+ 68 scoped_refptr<MediaSample> sample;
+ 69 status = streams_[current_stream_id]->PullSample(&sample);
+
+
+ 72 status = AddSample(streams_[current_stream_id], sample);
+
+
+ 75 if (status.error_code() == error::FRAGMENT_FINALIZED) {
+ 76 current_stream_id = (current_stream_id + 1) % streams_.size();
+
+
+
+
+ 81 return status.error_code() == error::END_OF_STREAM ? Finalize() : status;
+
+
+
+
+
+
+
+ 89 muxer_listener_ = std::move(muxer_listener);
+
+
+
+ 93 std::unique_ptr<ProgressListener> progress_listener) {
+ 94 progress_listener_ = std::move(progress_listener);
+
+
+
+ 98 scoped_refptr<MediaSample> sample) {
+ 99 DCHECK(std::find(streams_.begin(), streams_.end(), stream) != streams_.end());
+
+
+ 102 Status status = Initialize();
+
+
+
+
+ 107 if (sample->end_of_stream()) {
+
+
+ 110 DCHECK_EQ(1u, streams_.size());
+
+ 112 }
else if (sample->is_encrypted()) {
+ 113 LOG(ERROR) <<
"Unable to multiplex encrypted media sample";
+ 114 return Status(error::INTERNAL_ERROR,
"Encrypted media sample.");
+
+ 116 return DoAddSample(stream, sample);
+
+
+
+
+
+
+
+
+
-
+
+
diff --git a/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.html b/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.html
index 1b3783fee2..df0fdc984f 100644
--- a/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.html
+++ b/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.html
@@ -485,7 +485,7 @@ bool
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 02c06689e3..792cc18730 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 ffe7498206..4203d2c7b1 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 a481c129d0..505b445170 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 cc14e5248b..e7d56ef5db 100644
--- a/docs/d9/dcc/webm__video__client_8h_source.html
+++ b/docs/d9/dcc/webm__video__client_8h_source.html
@@ -94,10 +94,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 #ifndef MEDIA_FORMATS_WEBM_WEBM_VIDEO_CLIENT_H_
6 #define MEDIA_FORMATS_WEBM_WEBM_VIDEO_CLIENT_H_
-
-
-
- 11 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+
12 #include "packager/media/base/video_stream_info.h"
13 #include "packager/media/formats/webm/webm_parser.h"
@@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d9/de3/muxer__listener__internal_8cc_source.html b/docs/d9/de3/muxer__listener__internal_8cc_source.html
index e1063742ae..b9bf2e02e0 100644
--- a/docs/d9/de3/muxer__listener__internal_8cc_source.html
+++ b/docs/d9/de3/muxer__listener__internal_8cc_source.html
@@ -348,7 +348,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
index 1e9325c7d8..07c4956d55 100644
--- a/docs/d9/de6/classshaka_1_1media_1_1LocalFile.html
+++ b/docs/d9/de6/classshaka_1_1media_1_1LocalFile.html
@@ -502,7 +502,7 @@ bool |
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 67263350b2..4ef50fb506 100644
--- a/docs/d9/dea/classshaka_1_1media_1_1FixedKeySource-members.html
+++ b/docs/d9/dea/classshaka_1_1media_1_1FixedKeySource-members.html
@@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
This is the complete list of members for shaka::media::FixedKeySource, including all inherited members.
- CreateFromHexStrings(const std::string &key_id_hex, const std::string &key_hex, const std::string &pssh_boxes_hex, const std::string &iv_hex) | shaka::media::FixedKeySource | static |
+ CreateFromHexStrings(const std::string &key_id_hex, const std::string &key_hex, const std::string &pssh_boxes_hex, const std::string &iv_hex) | shaka::media::FixedKeySource | static |
FetchKeys(const std::vector< uint8_t > &pssh_box) override | shaka::media::FixedKeySource | virtual |
FetchKeys(const std::vector< std::vector< uint8_t >> &key_ids) override | shaka::media::FixedKeySource | virtual |
FetchKeys(uint32_t asset_id) override | shaka::media::FixedKeySource | virtual |
@@ -116,7 +116,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 7421f1a989..0bf511dd5e 100644
--- a/docs/d9/ded/aac__audio__specific__config_8cc_source.html
+++ b/docs/d9/ded/aac__audio__specific__config_8cc_source.html
@@ -358,7 +358,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 6bffccdbb4..8d48b966af 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 d086ad7de0..f71d36c1c3 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 99b8f8400c..eb5d2bbceb 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 b9cb1a44a6..ddf9785c39 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 0a2d31beb3..ce39655bee 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 78942b4a73..d5cbaf0594 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 6f5ee35514..e236f4cd54 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/d22/key__rotation__fragmenter_8h_source.html b/docs/da/d22/key__rotation__fragmenter_8h_source.html
index 01b3d3443d..217dbda8d4 100644
--- a/docs/da/d22/key__rotation__fragmenter_8h_source.html
+++ b/docs/da/d22/key__rotation__fragmenter_8h_source.html
@@ -149,14 +149,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
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 1eaf363933..e5b85503b0 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
@@ -109,9 +109,9 @@ Inheritance diagram for shaka::media::mp2t::EsParserH26x:
|
-
- | EsParserH26x (Nalu::CodecType type, scoped_ptr< H26xByteToUnitStreamConverter > stream_converter, uint32_t pid, const EmitSampleCB &emit_sample_cb) |
- |
+
+ | EsParserH26x (Nalu::CodecType type, std::unique_ptr< H26xByteToUnitStreamConverter > stream_converter, uint32_t pid, const EmitSampleCB &emit_sample_cb) |
+ |
bool | Parse (const uint8_t *buf, int size, int64_t pts, int64_t dts) override |
|
@@ -159,7 +159,7 @@ const scoped_refptr
diff --git a/docs/da/d23/ts__muxer_8h_source.html b/docs/da/d23/ts__muxer_8h_source.html
index a08cd4abe5..37d8d1db53 100644
--- a/docs/da/d23/ts__muxer_8h_source.html
+++ b/docs/da/d23/ts__muxer_8h_source.html
@@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
32 void FireOnMediaStartEvent();
33 void FireOnMediaEndEvent();
- 35 scoped_ptr<TsSegmenter> segmenter_;
+ 35 std::unique_ptr<TsSegmenter> segmenter_;
37 DISALLOW_COPY_AND_ASSIGN( TsMuxer);
@@ -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 7532511cf2..9f065d7db4 100644
--- a/docs/da/d24/h265__parser_8h_source.html
+++ b/docs/da/d24/h265__parser_8h_source.html
@@ -97,9 +97,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 #define MEDIA_CODECS_H265_PARSER_H_
-
-
- 13 #include "packager/base/memory/scoped_ptr.h"
+
+
+
14 #include "packager/media/codecs/h26x_bit_reader.h"
@@ -450,7 +450,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 7940dabbd5..7e73e64adf 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 9922926457..b765c89308 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
@@ -108,8 +108,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Run() | shaka::media::Muxer | |
set_clock(base::Clock *clock) | shaka::media::Muxer | inline |
SetKeySource(KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds, double crypto_period_duration_in_seconds, FourCC protection_scheme) | shaka::media::Muxer | |
- SetMuxerListener(scoped_ptr< MuxerListener > muxer_listener) | shaka::media::Muxer | |
- SetProgressListener(scoped_ptr< ProgressListener > progress_listener) | shaka::media::Muxer | |
+ SetMuxerListener(std::unique_ptr< MuxerListener > muxer_listener) | shaka::media::Muxer | |
+ SetProgressListener(std::unique_ptr< ProgressListener > progress_listener) | shaka::media::Muxer | |
streams() const (defined in shaka::media::Muxer) | shaka::media::Muxer | inline |
WebMMuxer(const MuxerOptions &options) | shaka::media::webm::WebMMuxer | explicit |
~Muxer() (defined in shaka::media::Muxer) | shaka::media::Muxer | virtual |
@@ -117,7 +117,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 49ac56914c..9827bd870c 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 13e966e7a8..b65f4927c1 100644
--- a/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html
+++ b/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html
@@ -107,8 +107,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 34 scoped_ptr<FileType> ftyp,
- 35 scoped_ptr<Movie> moov);
+ 34 std::unique_ptr<FileType> ftyp,
+ 35 std::unique_ptr<Movie> moov);
40 bool GetInitRange( size_t* offset, size_t* size) override;
@@ -123,7 +123,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 53 scoped_ptr<SegmentType> styp_;
+ 53 std::unique_ptr<SegmentType> styp_;
54 uint32_t num_segments_;
@@ -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 c92b4914ea..459e1a864e 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 d4c7ff085d..836755b4ea 100644
--- a/docs/da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html
+++ b/docs/da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html
@@ -313,7 +313,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 1bb768d765..329a726849 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 8b699a1ece..1cdbc204e2 100644
--- a/docs/da/d53/es__parser__h265_8cc_source.html
+++ b/docs/da/d53/es__parser__h265_8cc_source.html
@@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
26 const NewStreamInfoCB& new_stream_info_cb,
27 const EmitSampleCB& emit_sample_cb)
28 : EsParserH26x(Nalu::kH265,
- 29 scoped_ptr<H26xByteToUnitStreamConverter>(
+ 29 std::unique_ptr<H26xByteToUnitStreamConverter>(
30 new H265ByteToUnitStreamConverter()),
@@ -256,7 +256,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 e7ae283fb7..86f2345e25 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 6836016de6..89af823ae4 100644
--- a/docs/da/d5c/widevine__key__source_8h_source.html
+++ b/docs/da/d5c/widevine__key__source_8h_source.html
@@ -97,133 +97,132 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 #define MEDIA_BASE_WIDEVINE_KEY_SOURCE_H_
-
- 12 #include "packager/base/memory/scoped_ptr.h"
- 13 #include "packager/base/synchronization/waitable_event.h"
- 14 #include "packager/base/values.h"
- 15 #include "packager/media/base/closure_thread.h"
- 16 #include "packager/media/base/key_source.h"
-
-
-
-
- 21 const uint8_t kWidevineSystemId[] = {0xed, 0xef, 0x8b, 0xa9, 0x79, 0xd6,
- 22 0x4a, 0xce, 0xa3, 0xc8, 0x27, 0xdc,
- 23 0xd5, 0x1d, 0x21, 0xed};
-
-
-
- 27 template <
class T>
class ProducerConsumerQueue;
-
-
-
-
-
-
-
-
- 41 Status FetchKeys(
const std::vector<std::vector<uint8_t>>& key_ids)
override;
-
-
-
-
-
-
-
-
-
-
- 57 const std::string& policy);
-
- 61 void set_signer(scoped_ptr<RequestSigner> signer);
-
-
-
-
-
-
-
- 71 typedef std::map<TrackType, EncryptionKey*> EncryptionKeyMap;
- 72 class RefCountedEncryptionKeyMap;
-
-
-
-
- 77 Status GetKeyInternal(uint32_t crypto_period_index,
-
-
-
-
-
-
-
- 85 Status FetchKeysInternal(
bool enable_key_rotation,
- 86 uint32_t first_crypto_period_index,
- 87 bool widevine_classic);
-
-
-
- 91 void FillRequest(
bool enable_key_rotation,
- 92 uint32_t first_crypto_period_index,
- 93 std::string* request);
-
-
- 96 Status GenerateKeyMessage(
const std::string& request, std::string* message);
-
-
- 99 bool DecodeResponse(
const std::string& raw_response, std::string* response);
-
-
-
-
- 104 bool ExtractEncryptionKey(
bool enable_key_rotation,
- 105 bool widevine_classic,
- 106 const std::string& response,
- 107 bool* transient_error);
-
- 109 bool PushToKeyPool(EncryptionKeyMap* encryption_key_map);
-
-
-
-
- 114 scoped_ptr<KeyFetcher> key_fetcher_;
- 115 std::string server_url_;
- 116 scoped_ptr<RequestSigner> signer_;
- 117 base::DictionaryValue request_dict_;
-
- 119 const uint32_t crypto_period_count_;
-
- 121 bool add_common_pssh_;
- 122 bool key_production_started_;
- 123 base::WaitableEvent start_key_production_;
- 124 uint32_t first_crypto_period_index_;
- 125 scoped_ptr<EncryptionKeyQueue> key_pool_;
- 126 EncryptionKeyMap encryption_key_map_;
- 127 Status common_encryption_request_status_;
-
-
-
-
-
-
-
- 135 #endif // MEDIA_BASE_WIDEVINE_KEY_SOURCE_H_
-
+
+ 12 #include "packager/base/synchronization/waitable_event.h"
+ 13 #include "packager/base/values.h"
+ 14 #include "packager/media/base/closure_thread.h"
+ 15 #include "packager/media/base/key_source.h"
+
+
+
+
+ 20 const uint8_t kWidevineSystemId[] = {0xed, 0xef, 0x8b, 0xa9, 0x79, 0xd6,
+ 21 0x4a, 0xce, 0xa3, 0xc8, 0x27, 0xdc,
+ 22 0xd5, 0x1d, 0x21, 0xed};
+
+
+
+ 26 template <
class T>
class ProducerConsumerQueue;
+
+
+
+
+
+
+
+
+ 40 Status FetchKeys(
const std::vector<std::vector<uint8_t>>& key_ids)
override;
+
+
+
+
+
+
+
+
+
+
+ 56 const std::string& policy);
+
+ 60 void set_signer(std::unique_ptr<RequestSigner> signer);
+
+
+
+
+
+
+
+ 70 typedef std::map<TrackType, EncryptionKey*> EncryptionKeyMap;
+ 71 class RefCountedEncryptionKeyMap;
+
+
+
+
+ 76 Status GetKeyInternal(uint32_t crypto_period_index,
+
+
+
+
+
+
+
+ 84 Status FetchKeysInternal(
bool enable_key_rotation,
+ 85 uint32_t first_crypto_period_index,
+ 86 bool widevine_classic);
+
+
+
+ 90 void FillRequest(
bool enable_key_rotation,
+ 91 uint32_t first_crypto_period_index,
+ 92 std::string* request);
+
+
+ 95 Status GenerateKeyMessage(
const std::string& request, std::string* message);
+
+
+ 98 bool DecodeResponse(
const std::string& raw_response, std::string* response);
+
+
+
+
+ 103 bool ExtractEncryptionKey(
bool enable_key_rotation,
+ 104 bool widevine_classic,
+ 105 const std::string& response,
+ 106 bool* transient_error);
+
+ 108 bool PushToKeyPool(EncryptionKeyMap* encryption_key_map);
+
+
+
+
+ 113 std::unique_ptr<KeyFetcher> key_fetcher_;
+ 114 std::string server_url_;
+ 115 std::unique_ptr<RequestSigner> signer_;
+ 116 base::DictionaryValue request_dict_;
+
+ 118 const uint32_t crypto_period_count_;
+
+ 120 bool add_common_pssh_;
+ 121 bool key_production_started_;
+ 122 base::WaitableEvent start_key_production_;
+ 123 uint32_t first_crypto_period_index_;
+ 124 std::unique_ptr<EncryptionKeyQueue> key_pool_;
+ 125 EncryptionKeyMap encryption_key_map_;
+ 126 Status common_encryption_request_status_;
+
+
+
+
+
+
+
+ 134 #endif // MEDIA_BASE_WIDEVINE_KEY_SOURCE_H_
-
-
-
+
+
+
-
+
+
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 dd76bfa1e8..13aba9f8ca 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 56ade0dd75..e0c3e61750 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
@@ -107,18 +107,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
options() const (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
progress_target() (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
sample_duration() const | shaka::media::mp4::Segmenter | inline |
- Segmenter(const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov) (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | |
+ Segmenter(const MuxerOptions &options, std::unique_ptr< FileType > ftyp, std::unique_ptr< Movie > moov) (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | |
set_progress_target(uint64_t progress_target) (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
SetComplete() | shaka::media::mp4::Segmenter | protected |
sidx() (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
- SingleSegmentSegmenter(const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov) (defined in shaka::media::mp4::SingleSegmentSegmenter) | shaka::media::mp4::SingleSegmentSegmenter | |
+ SingleSegmentSegmenter(const MuxerOptions &options, std::unique_ptr< FileType > ftyp, std::unique_ptr< Movie > moov) (defined in shaka::media::mp4::SingleSegmentSegmenter) | shaka::media::mp4::SingleSegmentSegmenter | |
UpdateProgress(uint64_t progress) | shaka::media::mp4::Segmenter | protected |
~Segmenter() (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | virtual |
~SingleSegmentSegmenter() override (defined in shaka::media::mp4::SingleSegmentSegmenter) | shaka::media::mp4::SingleSegmentSegmenter | |
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 d9a3c93020..fbc8a9de28 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 bbaa1c685c..5cf8e5caa1 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 b10483d51b..61d1d08c56 100644
--- a/docs/da/d7a/fixed__key__encryption__flags_8h_source.html
+++ b/docs/da/d7a/fixed__key__encryption__flags_8h_source.html
@@ -118,7 +118,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 336ab24c74..017539f478 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
@@ -96,15 +96,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
| AddSample(scoped_refptr< MediaSample > sample) | shaka::media::mp2t::TsSegmenter | |
Finalize() | shaka::media::mp2t::TsSegmenter | |
Initialize(const StreamInfo &stream_info, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) | shaka::media::mp2t::TsSegmenter | |
- InjectPesPacketGeneratorForTesting(scoped_ptr< PesPacketGenerator > generator) | shaka::media::mp2t::TsSegmenter | |
- InjectTsWriterForTesting(scoped_ptr< TsWriter > writer) | shaka::media::mp2t::TsSegmenter | |
+ InjectPesPacketGeneratorForTesting(std::unique_ptr< PesPacketGenerator > generator) | shaka::media::mp2t::TsSegmenter | |
+ InjectTsWriterForTesting(std::unique_ptr< TsWriter > writer) | shaka::media::mp2t::TsSegmenter | |
SetTsWriterFileOpenedForTesting(bool value) | shaka::media::mp2t::TsSegmenter | |
TsSegmenter(const MuxerOptions &options, MuxerListener *listener) | shaka::media::mp2t::TsSegmenter | |
~TsSegmenter() (defined in shaka::media::mp2t::TsSegmenter) | shaka::media::mp2t::TsSegmenter | |
diff --git a/docs/da/d88/mp4__muxer_8cc_source.html b/docs/da/d88/mp4__muxer_8cc_source.html
index d2dcf02af8..ef2c72cc54 100644
--- a/docs/da/d88/mp4__muxer_8cc_source.html
+++ b/docs/da/d88/mp4__muxer_8cc_source.html
@@ -174,8 +174,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
85 Status MP4Muxer::Initialize() {
86 DCHECK(!streams().empty());
- 88 scoped_ptr<FileType> ftyp(
new FileType);
- 89 scoped_ptr<Movie> moov(
new Movie);
+ 88 std::unique_ptr<FileType> ftyp(
new FileType);
+ 89 std::unique_ptr<Movie> moov(
new Movie);
91 ftyp->major_brand = FOURCC_dash;
92 ftyp->compatible_brands.push_back(FOURCC_iso6);
@@ -224,11 +224,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
137 if (options().single_segment) {
-
- 139 new SingleSegmentSegmenter(options(), ftyp.Pass(), moov.Pass()));
+ 138 segmenter_.reset(
new SingleSegmentSegmenter(options(), std::move(ftyp),
+
- 142 new MultiSegmentSegmenter(options(), ftyp.Pass(), moov.Pass()));
+ 142 new MultiSegmentSegmenter(options(), std::move(ftyp), std::move(moov)));
145 const Status segmenter_initialized = segmenter_->Initialize(
@@ -496,14 +496,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
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 d450180a9a..09d023b1f6 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 a831370edd..eaee0b7a03 100644
--- a/docs/da/d8e/container__names_8cc_source.html
+++ b/docs/da/d8e/container__names_8cc_source.html
@@ -1863,7 +1863,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 90359dd515..01732be19a 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 60535ac3b9..1d588c6e26 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 83a56d5b7e..e7a102e51b 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 7ecb6a17d1..35323e479b 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 de70230d0a..ed82183649 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 e1604bb8d3..c7946c5584 100644
--- a/docs/da/db2/classshaka_1_1Representation-members.html
+++ b/docs/da/db2/classshaka_1_1Representation-members.html
@@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
kSuppressHeight enum value (defined in shaka::Representation) | shaka::Representation | |
kSuppressWidth enum value (defined in shaka::Representation) | shaka::Representation | |
MpdBuilderTest (defined in shaka::Representation) | shaka::Representation | friend |
- Representation(const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, scoped_ptr< RepresentationStateChangeListener > state_change_listener) | shaka::Representation | protected |
+ Representation(const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, std::unique_ptr< RepresentationStateChangeListener > state_change_listener) | shaka::Representation | protected |
SetSampleDuration(uint32_t sample_duration) | shaka::Representation | virtual |
SuppressFlag enum name (defined in shaka::Representation) | shaka::Representation | |
SuppressOnce(SuppressFlag flag) | shaka::Representation | |
@@ -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 a7462c9f28..777b58f04a 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/dc3/status_8cc_source.html b/docs/da/dc3/status_8cc_source.html
index 2dd4b534b8..aeaf3cda9c 100644
--- a/docs/da/dc3/status_8cc_source.html
+++ b/docs/da/dc3/status_8cc_source.html
@@ -168,7 +168,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 2ac0601a03..dce158cfe0 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 d9028992b1..675efaea93 100644
--- a/docs/da/dcb/es__descriptor_8h_source.html
+++ b/docs/da/dcb/es__descriptor_8h_source.html
@@ -183,7 +183,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 66244d2930..8cf75d9d24 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 a5336b40cd..4510651f80 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 ffc344acea..8ae126995f 100644
--- a/docs/da/dd1/fragmenter_8h_source.html
+++ b/docs/da/dd1/fragmenter_8h_source.html
@@ -96,11 +96,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef MEDIA_FORMATS_MP4_FRAGMENTER_H_
8 #define MEDIA_FORMATS_MP4_FRAGMENTER_H_
-
-
- 12 #include "packager/base/logging.h"
- 13 #include "packager/base/memory/ref_counted.h"
- 14 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+ 13 #include "packager/base/logging.h"
+ 14 #include "packager/base/memory/ref_counted.h"
15 #include "packager/media/base/status.h"
@@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
93 int64_t presentation_start_time_;
94 int64_t earliest_presentation_time_;
95 int64_t first_sap_time_;
- 96 scoped_ptr<BufferWriter> data_;
+ 96 std::unique_ptr<BufferWriter> data_;
@@ -206,7 +206,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 f0866ead79..ad6f05764f 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 bd0f3af612..8ff55eacd8 100644
--- a/docs/da/dd6/classshaka_1_1media_1_1H264ByteToUnitStreamConverter-members.html
+++ b/docs/da/dd6/classshaka_1_1media_1_1H264ByteToUnitStreamConverter-members.html
@@ -103,7 +103,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 8c0240ebd0..c72428367c 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 7a17a01cdb..0a18ab82e8 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 b65872dec9..b8ac8e3dc6 100644
--- a/docs/da/ddd/classshaka_1_1media_1_1WidevineKeySource.html
+++ b/docs/da/ddd/classshaka_1_1media_1_1WidevineKeySource.html
@@ -112,10 +112,10 @@ Public Member Functions
|
Status | FetchKeys (const std::vector< uint8_t > &content_id, const std::string &policy) |
|
-void | set_signer (scoped_ptr< RequestSigner > signer) |
- |
-void | set_key_fetcher (scoped_ptr< KeyFetcher > key_fetcher) |
- |
+void | set_signer (std::unique_ptr< RequestSigner > signer) |
+ |
+void | set_key_fetcher (std::unique_ptr< KeyFetcher > key_fetcher) |
+ |
|
Status | FetchKeys (const std::vector< uint8_t > &pssh_box) override |
|
@@ -163,7 +163,7 @@ static std::string
WidevineKeySource talks to the Widevine encryption service to acquire the encryption keys.
- Definition at line 31 of file widevine_key_source.h.
+ Definition at line 30 of file widevine_key_source.h.
@@ -493,14 +493,14 @@ static std::string |
+
void shaka::media::WidevineKeySource::set_key_fetcher |
( |
- scoped_ptr< KeyFetcher > |
+ std::unique_ptr< KeyFetcher > |
key_fetcher | ) |
|
@@ -518,14 +518,14 @@ static std::string
+
void shaka::media::WidevineKeySource::set_signer |
( |
- scoped_ptr< RequestSigner > |
+ std::unique_ptr< RequestSigner > |
signer | ) |
|
@@ -550,7 +550,7 @@ static std::string
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 1f8c68f353..d39bfe42c2 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 c49e60e6b8..0d632ea23b 100644
--- a/docs/da/de2/mock__mpd__builder_8cc_source.html
+++ b/docs/da/de2/mock__mpd__builder_8cc_source.html
@@ -116,14 +116,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
27 : Representation(MediaInfo(),
- 30 scoped_ptr<RepresentationStateChangeListener>()) {}
+ 30 std::unique_ptr<RepresentationStateChangeListener>()) {}
31 MockRepresentation::~MockRepresentation() {}
diff --git a/docs/da/de4/classshaka_1_1media_1_1WebMClusterParser.html b/docs/da/de4/classshaka_1_1media_1_1WebMClusterParser.html
index 455f9b522f..fa1b93635e 100644
--- a/docs/da/de4/classshaka_1_1media_1_1WebMClusterParser.html
+++ b/docs/da/de4/classshaka_1_1media_1_1WebMClusterParser.html
@@ -365,7 +365,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 de94d7a4b1..eac3cf51b4 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 acd4f7bac6..eb9cf856ca 100644
--- a/docs/da/de8/classshaka_1_1media_1_1AudioStreamInfo-members.html
+++ b/docs/da/de8/classshaka_1_1media_1_1AudioStreamInfo-members.html
@@ -126,7 +126,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 c7408078e5..9b44dc7e3c 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 4589fbfa5a..9dcd9edfb0 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 820752c152..d189daa677 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 95902ff4fc..5a47d4b23d 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 6dd1f27bc9..db80cf12d3 100644
--- a/docs/da/df9/classshaka_1_1media_1_1AesPatternCryptor-members.html
+++ b/docs/da/df9/classshaka_1_1media_1_1AesPatternCryptor-members.html
@@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
aes_key() const (defined in shaka::media::AesCryptor) | shaka::media::AesCryptor | inlineprotected |
AesCryptor(ConstantIvFlag constant_iv_flag) | shaka::media::AesCryptor | explicit |
- AesPatternCryptor(uint8_t crypt_byte_block, uint8_t skip_byte_block, PatternEncryptionMode encryption_mode, ConstantIvFlag constant_iv_flag, scoped_ptr< AesCryptor > cryptor) | shaka::media::AesPatternCryptor | |
+ AesPatternCryptor(uint8_t crypt_byte_block, uint8_t skip_byte_block, PatternEncryptionMode encryption_mode, ConstantIvFlag constant_iv_flag, std::unique_ptr< AesCryptor > cryptor) | shaka::media::AesPatternCryptor | |
ConstantIvFlag enum name (defined in shaka::media::AesCryptor) | shaka::media::AesCryptor | |
Crypt(const std::vector< uint8_t > &text, std::vector< uint8_t > *crypt_text) (defined in shaka::media::AesCryptor) | shaka::media::AesCryptor | |
Crypt(const std::string &text, std::string *crypt_text) (defined in shaka::media::AesCryptor) | shaka::media::AesCryptor | |
@@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/db/d05/structshaka_1_1media_1_1H265SliceHeader.html b/docs/db/d05/structshaka_1_1media_1_1H265SliceHeader.html
index 3df944808e..e8164be790 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/d11/structshaka_1_1media_1_1mp4_1_1CodecConfiguration.html b/docs/db/d11/structshaka_1_1media_1_1mp4_1_1CodecConfiguration.html
index f6a213b401..8d4a38b576 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 a4ebbc76d1..2a62e4ba83 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 0de7ac57b9..c899343185 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/d21/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader.html b/docs/db/d21/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader.html
index 46e0ea29c8..aa474e99d1 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 8383f97eb3..bd5a8cecbe 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
@@ -127,10 +127,10 @@ void | |
void | Cancel () |
|
-void | SetMuxerListener (scoped_ptr< MuxerListener > muxer_listener) |
- |
-void | SetProgressListener (scoped_ptr< ProgressListener > progress_listener) |
- |
+void | SetMuxerListener (std::unique_ptr< MuxerListener > muxer_listener) |
+ |
+void | SetProgressListener (std::unique_ptr< ProgressListener > progress_listener) |
+ |
const std::vector< MediaStream * > & | streams () const |
|
@@ -179,7 +179,7 @@ FourCC protection_scheme
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 972793b75a..fb5fe786c2 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
@@ -143,7 +143,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 44140ea509..b4818f2366 100644
--- a/docs/db/d31/track__run__iterator_8cc_source.html
+++ b/docs/db/d31/track__run__iterator_8cc_source.html
@@ -677,7 +677,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
592 size_t sample_idx = sample_itr_ - run_itr_->samples.begin();
593 DCHECK_LT(sample_idx, run_itr_->sample_encryption_entries.size());
@@ -690,7 +690,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
601 if (total_size_of_subsamples != 0 &&
602 total_size_of_subsamples != static_cast<size_t>(sample_size())) {
603 LOG(ERROR) << "Incorrect CENC subsample size.";
- 604 return scoped_ptr<DecryptConfig>();
+ 604 return std::unique_ptr<DecryptConfig>();
@@ -704,10 +704,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
615 iv = track_encryption().default_constant_iv;
617 LOG(ERROR) << "IV cannot be empty.";
- 618 return scoped_ptr<DecryptConfig>();
+ 618 return std::unique_ptr<DecryptConfig>();
-
+
622 track_encryption().default_kid, iv, sample_encryption_entry.subsamples,
623 protection_scheme, track_encryption().default_crypt_byte_block,
624 track_encryption().default_skip_byte_block));
@@ -717,7 +717,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
@@ -748,6 +747,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
+
@@ -767,7 +767,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 53db58c14b..c56d655f41 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
@@ -94,18 +94,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
This is the complete list of members for shaka::media::mp2t::PesPacketGenerator, including all inherited members.
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 42e39a585e..5f5c59cf8c 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 3ebce34c10..c10655fb8b 100644
--- a/docs/db/d45/mpd__notify__muxer__listener_8h_source.html
+++ b/docs/db/d45/mpd__notify__muxer__listener_8h_source.html
@@ -99,10 +99,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #define MEDIA_EVENT_MPD_NOTIFY_MUXER_LISTENER_H_
-
-
- 15 #include "packager/base/compiler_specific.h"
- 16 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+ 16 #include "packager/base/macros.h"
17 #include "packager/media/base/muxer_options.h"
18 #include "packager/media/event/muxer_listener.h"
@@ -153,7 +153,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
71 uint32_t notification_id_;
- 72 scoped_ptr<MediaInfo> media_info_;
+ 72 std::unique_ptr<MediaInfo> media_info_;
@@ -189,7 +189,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 6eb73d55f9..16f3b256e4 100644
--- a/docs/db/d4b/classshaka_1_1MockAdaptationSet.html
+++ b/docs/db/d4b/classshaka_1_1MockAdaptationSet.html
@@ -183,7 +183,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 b65174775d..3e9251c0fd 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 d13c4dc8a1..7c92ebe129 100644
--- a/docs/db/d51/mp2t__media__parser_8h_source.html
+++ b/docs/db/d51/mp2t__media__parser_8h_source.html
@@ -96,104 +96,103 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
- 11 #include "packager/base/compiler_specific.h"
+
+
12 #include "packager/base/memory/ref_counted.h"
- 13 #include "packager/base/memory/scoped_ptr.h"
- 14 #include "packager/media/base/byte_queue.h"
- 15 #include "packager/media/base/media_parser.h"
- 16 #include "packager/media/base/stream_info.h"
-
-
-
-
-
-
-
-
-
-
-
-
- 29 typedef std::deque<scoped_refptr<MediaSample> > SampleQueue;
-
-
-
-
-
-
-
-
- 40 KeySource* decryption_key_source)
override;
- 41 bool Flush()
override WARN_UNUSED_RESULT;
- 42 bool Parse(
const uint8_t* buf,
int size)
override WARN_UNUSED_RESULT;
-
-
- 46 typedef std::map<int, PidState*> PidMap;
-
-
-
- 50 void RegisterPmt(
int program_number,
int pmt_pid);
-
-
-
-
-
- 56 void RegisterPes(
int pmt_pid,
int pes_pid,
int media_type);
-
-
-
- 60 void OnNewStreamInfo(
const scoped_refptr<StreamInfo>& new_stream_info);
-
-
-
- 64 void OnEmitSample(uint32_t pes_pid,
- 65 const scoped_refptr<MediaSample>& new_sample);
-
-
- 68 bool FinishInitializationIfNeeded();
-
- 70 bool EmitRemainingSamples();
-
- 74 void set_sbr_in_mime_type(
bool sbr_in_mimetype) {
- 75 sbr_in_mimetype_ = sbr_in_mimetype; }
-
-
-
-
-
- 81 bool sbr_in_mimetype_;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ 13 #include "packager/media/base/byte_queue.h"
+ 14 #include "packager/media/base/media_parser.h"
+ 15 #include "packager/media/base/stream_info.h"
+
+
+
+
+
+
+
+
+
+
+
+
+ 28 typedef std::deque<scoped_refptr<MediaSample> > SampleQueue;
+
+
+
+
+
+
+
+
+ 39 KeySource* decryption_key_source)
override;
+ 40 bool Flush()
override WARN_UNUSED_RESULT;
+ 41 bool Parse(
const uint8_t* buf,
int size)
override WARN_UNUSED_RESULT;
+
+
+ 45 typedef std::map<int, PidState*> PidMap;
+
+
+
+ 49 void RegisterPmt(
int program_number,
int pmt_pid);
+
+
+
+
+
+ 55 void RegisterPes(
int pmt_pid,
int pes_pid,
int media_type);
+
+
+
+ 59 void OnNewStreamInfo(
const scoped_refptr<StreamInfo>& new_stream_info);
+
+
+
+ 63 void OnEmitSample(uint32_t pes_pid,
+ 64 const scoped_refptr<MediaSample>& new_sample);
+
+
+ 67 bool FinishInitializationIfNeeded();
+
+ 69 bool EmitRemainingSamples();
+
+ 73 void set_sbr_in_mime_type(
bool sbr_in_mimetype) {
+ 74 sbr_in_mimetype_ = sbr_in_mimetype; }
+
+
+
+
+
+ 80 bool sbr_in_mimetype_;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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 d386cb8650..73121e5310 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
@@ -96,56 +96,55 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef MEDIA_FORMATS_WEBM_TWO_PASS_SINGLE_SEGMENT_SEGMENTER_H_
8 #define MEDIA_FORMATS_WEBM_TWO_PASS_SINGLE_SEGMENT_SEGMENTER_H_
-
-
- 12 #include "packager/media/formats/webm/single_segment_segmenter.h"
-
- 14 #include "packager/base/memory/scoped_ptr.h"
- 15 #include "packager/media/base/status.h"
- 16 #include "packager/media/formats/webm/mkv_writer.h"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 33 Status DoInitialize(scoped_ptr<MkvWriter> writer)
override;
- 34 Status DoFinalize()
override;
-
-
- 41 bool CopyFileWithClusterRewrite(
File* source,
-
-
-
- 45 scoped_ptr<MkvWriter> real_writer_;
- 46 std::string temp_file_name_;
-
-
-
-
-
-
-
-
- 55 #endif // MEDIA_FORMATS_WEBM_TWO_PASS_SINGLE_SEGMENT_SEGMENTER_H_
+
+
+
+ 13 #include "packager/media/base/status.h"
+ 14 #include "packager/media/formats/webm/mkv_writer.h"
+ 15 #include "packager/media/formats/webm/single_segment_segmenter.h"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 32 Status DoInitialize(std::unique_ptr<MkvWriter> writer)
override;
+ 33 Status DoFinalize()
override;
+
+
+ 40 bool CopyFileWithClusterRewrite(
File* source,
+
+
+
+ 44 std::unique_ptr<MkvWriter> real_writer_;
+ 45 std::string temp_file_name_;
+
+
+
+
+
+
+
+
+ 54 #endif // MEDIA_FORMATS_WEBM_TWO_PASS_SINGLE_SEGMENT_SEGMENTER_H_
-
+
diff --git a/docs/db/d5a/classshaka_1_1media_1_1VP9Parser.html b/docs/db/d5a/classshaka_1_1media_1_1VP9Parser.html
index 03915dfa1d..ceeb4d781e 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 37788dc945..56f9002774 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 3c7afcf47f..4a13d3c50b 100644
--- a/docs/db/d64/webvtt__media__parser_8h_source.html
+++ b/docs/db/d64/webvtt__media__parser_8h_source.html
@@ -170,18 +170,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
85 #endif // MEDIA_FORMATS_WEBVTT_WEBVTT_MEDIA_PARSER_H_
-
+
-
+
-
-
+
+
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 0dd553f782..ce2cb19f03 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/d71/http__key__fetcher_8h_source.html b/docs/db/d71/http__key__fetcher_8h_source.html
index ba674172e8..3681613bd3 100644
--- a/docs/db/d71/http__key__fetcher_8h_source.html
+++ b/docs/db/d71/http__key__fetcher_8h_source.html
@@ -150,7 +150,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 ef42bb1ebc..f324b9d1d1 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 cb1a26757a..1f8c97b974 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
@@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
cluster_length_sec() const (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
cues() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
DoFinalize() override (defined in shaka::media::webm::TwoPassSingleSegmentSegmenter) | shaka::media::webm::TwoPassSingleSegmentSegmenter | virtual |
- DoInitialize(scoped_ptr< MkvWriter > writer) override (defined in shaka::media::webm::TwoPassSingleSegmentSegmenter) | shaka::media::webm::TwoPassSingleSegmentSegmenter | virtual |
+ DoInitialize(std::unique_ptr< MkvWriter > writer) override (defined in shaka::media::webm::TwoPassSingleSegmentSegmenter) | shaka::media::webm::TwoPassSingleSegmentSegmenter | virtual |
Finalize() | shaka::media::webm::Segmenter | |
FromBMFFTimescale(uint64_t time_timescale) | shaka::media::webm::Segmenter | protected |
FromWebMTimecode(uint64_t time_webm_timecode) | shaka::media::webm::Segmenter | protected |
@@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
GetIndexRangeStartAndEnd(uint64_t *start, uint64_t *end) override | shaka::media::webm::SingleSegmentSegmenter | virtual |
GetInitRangeStartAndEnd(uint64_t *start, uint64_t *end) override | shaka::media::webm::SingleSegmentSegmenter | virtual |
info() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
- Initialize(scoped_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) | shaka::media::webm::Segmenter | |
+ Initialize(std::unique_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) | shaka::media::webm::Segmenter | |
muxer_listener() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
options() const (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
seek_head() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
@@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
set_index_start(uint64_t start) (defined in shaka::media::webm::SingleSegmentSegmenter) | shaka::media::webm::SingleSegmentSegmenter | inlineprotected |
set_init_end(uint64_t end) (defined in shaka::media::webm::SingleSegmentSegmenter) | shaka::media::webm::SingleSegmentSegmenter | inlineprotected |
set_progress_target(uint64_t target) (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
- set_writer(scoped_ptr< MkvWriter > writer) (defined in shaka::media::webm::SingleSegmentSegmenter) | shaka::media::webm::SingleSegmentSegmenter | inlineprotected |
+ set_writer(std::unique_ptr< MkvWriter > writer) (defined in shaka::media::webm::SingleSegmentSegmenter) | shaka::media::webm::SingleSegmentSegmenter | inlineprotected |
SetCluster(uint64_t start_webm_timecode, uint64_t position, MkvWriter *writer) | shaka::media::webm::Segmenter | protected |
SingleSegmentSegmenter(const MuxerOptions &options) (defined in shaka::media::webm::SingleSegmentSegmenter) | shaka::media::webm::SingleSegmentSegmenter | explicit |
track_id() const (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
@@ -130,7 +130,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 d4a88f0796..378efb25cf 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 3a0c996b6c..1abd0b3763 100644
--- a/docs/db/d7e/muxer__options_8cc_source.html
+++ b/docs/db/d7e/muxer__options_8cc_source.html
@@ -115,7 +115,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 9c4ba00ad0..21878dff35 100644
--- a/docs/db/d84/classshaka_1_1media_1_1AACAudioSpecificConfig-members.html
+++ b/docs/db/d84/classshaka_1_1media_1_1AACAudioSpecificConfig-members.html
@@ -106,7 +106,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 cfd808a315..02801c5836 100644
--- a/docs/db/d86/classshaka_1_1media_1_1NaluReader.html
+++ b/docs/db/d86/classshaka_1_1media_1_1NaluReader.html
@@ -228,7 +228,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 20b36fa358..9e2a95c924 100644
--- a/docs/db/d8f/mp4__muxer_8h_source.html
+++ b/docs/db/d8f/mp4__muxer_8h_source.html
@@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
65 uint64_t IsoTimeNow();
- 67 scoped_ptr<Segmenter> segmenter_;
+ 67 std::unique_ptr<Segmenter> segmenter_;
@@ -173,7 +173,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 f23e24b20e..7265e0d9d7 100644
--- a/docs/db/d94/classshaka_1_1media_1_1ClusterBuilder.html
+++ b/docs/db/d94/classshaka_1_1media_1_1ClusterBuilder.html
@@ -108,16 +108,16 @@ void | AddBlockGroup (in
|
void | AddBlockGroupWithoutBlockDuration (int track_num, int64_t timecode, int flags, bool is_key_frame, const uint8_t *data, int size) |
|
-
-scoped_ptr< Cluster > | Finish () |
- |
-
-scoped_ptr< Cluster > | FinishWithUnknownSize () |
- |
+
+std::unique_ptr< Cluster > | Finish () |
+ |
+
+std::unique_ptr< Cluster > | FinishWithUnknownSize () |
+ |
-
Definition at line 29 of file cluster_builder.h.
+
Definition at line 31 of file cluster_builder.h.
The documentation for this class was generated from the following files:
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 53c7f3744b..05c27b9673 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
@@ -339,7 +339,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 ca6e5eb85d..e2347881e5 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 93e0a8f6e7..e70f108173 100644
--- a/docs/db/d96/wvm__media__parser_8h_source.html
+++ b/docs/db/d96/wvm__media__parser_8h_source.html
@@ -97,11 +97,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
-
-
- 14 #include "packager/base/compiler_specific.h"
- 15 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+
+ 15 #include "packager/base/compiler_specific.h"
16 #include "packager/media/base/media_parser.h"
17 #include "packager/media/base/network_util.h"
18 #include "packager/media/codecs/h264_byte_to_unit_stream_converter.h"
@@ -338,7 +338,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
252 std::deque<DemuxStreamIdMediaSample> media_sample_queue_;
253 std::vector<uint8_t> sample_data_;
- 255 scoped_ptr<AesCbcDecryptor> content_decryptor_;
+ 255 std::unique_ptr<AesCbcDecryptor> content_decryptor_;
@@ -348,22 +348,22 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
264 #endif // MEDIA_FORMATS_WVM_WVM_MEDIA_PARSER_H_
-
+
-
-
+
+
-
-
+
+
diff --git a/docs/db/da4/classBandwidthEstimator-members.html b/docs/db/da4/classBandwidthEstimator-members.html
index b3c23e0978..2c9a74b3d7 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
index 84d345dcd8..9d3763f230 100644
--- a/docs/db/da6/memory__file_8h_source.html
+++ b/docs/db/da6/memory__file_8h_source.html
@@ -154,7 +154,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 b1a666c15b..309bfab269 100644
--- a/docs/db/dab/classshaka_1_1media_1_1TextStreamInfo.html
+++ b/docs/db/dab/classshaka_1_1media_1_1TextStreamInfo.html
@@ -282,7 +282,7 @@ void set_language (con
diff --git a/docs/db/dae/classshaka_1_1media_1_1WebMInfoParser.html b/docs/db/dae/classshaka_1_1media_1_1WebMInfoParser.html
index 9dc01603d7..e3559596c9 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 4a28a3d3dc..3f4bd17a47 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 9b33ec11d6..2bf2557842 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 624447dbaf..f3a2c53c10 100644
--- a/docs/db/db8/structshaka_1_1media_1_1OnMediaEndParameters.html
+++ b/docs/db/db8/structshaka_1_1media_1_1OnMediaEndParameters.html
@@ -130,7 +130,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 3b53235d7f..ce8ce3062f 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 8be851a2f3..95228c9ab8 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/dcc/classshaka_1_1media_1_1webm_1_1Encryptor-members.html b/docs/db/dcc/classshaka_1_1media_1_1webm_1_1Encryptor-members.html
index b8820c9f7d..912f3b6ffa 100644
--- a/docs/db/dcc/classshaka_1_1media_1_1webm_1_1Encryptor-members.html
+++ b/docs/db/dcc/classshaka_1_1media_1_1webm_1_1Encryptor-members.html
@@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/db/dcd/classshaka_1_1MpdWriter.html b/docs/db/dcd/classshaka_1_1MpdWriter.html
index f420a5010e..a91fcdea77 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 63a11814ed..e085f90bbc 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 f1b41e3dbd..c927b9c322 100644
--- a/docs/db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html
+++ b/docs/db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html
@@ -531,7 +531,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 90b407c6dd..d984ec0137 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 8aa75c0075..5e590bd6e9 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 aa64bffa51..5809d53f6e 100644
--- a/docs/db/dde/h265__parser_8cc_source.html
+++ b/docs/db/dde/h265__parser_8cc_source.html
@@ -95,8 +95,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #include "packager/media/codecs/h265_parser.h"
-
-
+
+
12 #include "packager/base/logging.h"
13 #include "packager/base/stl_util.h"
@@ -499,7 +499,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 413 scoped_ptr<H265Pps> pps(
new H265Pps);
+ 413 std::unique_ptr<H265Pps> pps(
new H265Pps);
415 TRUE_OR_RETURN(br->ReadUE(&pps->pic_parameter_set_id));
416 TRUE_OR_RETURN(br->ReadUE(&pps->seq_parameter_set_id));
@@ -609,7 +609,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 523 scoped_ptr<H265Sps> sps(
new H265Sps);
+ 523 std::unique_ptr<H265Sps> sps(
new H265Sps);
525 TRUE_OR_RETURN(br->ReadBits(4, &sps->video_parameter_set_id));
526 TRUE_OR_RETURN(br->ReadBits(3, &sps->max_sub_layers_minus1));
@@ -1221,7 +1221,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/db/dec/audio__timestamp__helper_8cc_source.html b/docs/db/dec/audio__timestamp__helper_8cc_source.html
index 28f872052e..476d23fb42 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 f7691632c2..7dc14f05d5 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 be425d3418..f558d6b659 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 10b05e7443..4ab54cac48 100644
--- a/docs/db/df6/classshaka_1_1media_1_1Cluster-members.html
+++ b/docs/db/df6/classshaka_1_1media_1_1Cluster-members.html
@@ -93,14 +93,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
This is the complete list of members for shaka::media::Cluster, including all inherited members.
diff --git a/docs/db/df6/muxer_8h_source.html b/docs/db/df6/muxer_8h_source.html
index c8990032de..5bd98153d5 100644
--- a/docs/db/df6/muxer_8h_source.html
+++ b/docs/db/df6/muxer_8h_source.html
@@ -98,10 +98,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 #ifndef MEDIA_BASE_MUXER_H_
10 #define MEDIA_BASE_MUXER_H_
-
-
- 14 #include "packager/base/memory/ref_counted.h"
- 15 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+ 15 #include "packager/base/memory/ref_counted.h"
16 #include "packager/base/time/clock.h"
17 #include "packager/media/base/fourccs.h"
18 #include "packager/media/base/muxer_options.h"
@@ -133,9 +133,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
-
+
74 const std::vector<MediaStream*>& streams()
const {
return streams_; }
@@ -185,8 +185,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
125 FourCC protection_scheme_;
- 128 scoped_ptr<MuxerListener> muxer_listener_;
- 129 scoped_ptr<ProgressListener> progress_listener_;
+ 128 std::unique_ptr<MuxerListener> muxer_listener_;
+ 129 std::unique_ptr<ProgressListener> progress_listener_;
@@ -197,22 +197,22 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
139 #endif // MEDIA_BASE_MUXER_H_
-
+
-
-
-
-
-
+
+
+
+
-
+
+
diff --git a/docs/db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html b/docs/db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html
index 22cac0a3f4..f6f7789eeb 100644
--- a/docs/db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html
+++ b/docs/db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html
@@ -171,7 +171,7 @@ static const size_t kUnitS
diff --git a/docs/db/dfb/mpd__utils_8cc_source.html b/docs/db/dfb/mpd__utils_8cc_source.html
index ce4fd4fad3..06d14f945a 100644
--- a/docs/db/dfb/mpd__utils_8cc_source.html
+++ b/docs/db/dfb/mpd__utils_8cc_source.html
@@ -444,7 +444,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html b/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html
index d28ce464ad..8939255151 100644
--- a/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html
+++ b/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html
@@ -99,8 +99,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
11 #include "packager/base/logging.h"
12 #include "packager/media/base/audio_stream_info.h"
- 13 #include "packager/media/base/video_stream_info.h"
- 14 #include "packager/media/base/protection_system_specific_info.h"
+ 13 #include "packager/media/base/protection_system_specific_info.h"
+ 14 #include "packager/media/base/video_stream_info.h"
15 #include "packager/media/event/muxer_listener_internal.h"
16 #include "packager/mpd/base/media_info.pb.h"
17 #include "packager/mpd/base/mpd_notifier.h"
@@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
63 ContainerType container_type) {
- 64 scoped_ptr<MediaInfo> media_info( new MediaInfo());
+ 64 std::unique_ptr<MediaInfo> media_info( new MediaInfo());
65 if (!internal::GenerateMediaInfo(muxer_options,
@@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 83 media_info_ = media_info.Pass();
+ 83 media_info_ = std::move(media_info);
@@ -274,7 +274,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 02c65fd71a..b4aba7b6fc 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
index 2ab1187237..ceb5da0d2d 100644
--- a/docs/dc/d02/classshaka_1_1media_1_1IoCache-members.html
+++ b/docs/dc/d02/classshaka_1_1media_1_1IoCache-members.html
@@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 eed4488de9..7795e4164c 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 f464a569b5..85f615406e 100644
--- a/docs/dc/d06/classshaka_1_1media_1_1StreamInfo-members.html
+++ b/docs/dc/d06/classshaka_1_1media_1_1StreamInfo-members.html
@@ -115,7 +115,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 75e40966fc..09080e6cd4 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 0cf34fb32d..4badd46d53 100644
--- a/docs/dc/d16/classshaka_1_1media_1_1SeekHead.html
+++ b/docs/dc/d16/classshaka_1_1media_1_1SeekHead.html
@@ -148,7 +148,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 44bbee595a..9d93d9e3c4 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
@@ -256,7 +256,7 @@ track_id, const scoped_refptr
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 32733ce35e..1c040c4038 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 2015180ff2..ca30507ebc 100644
--- a/docs/dc/d19/box_8h_source.html
+++ b/docs/dc/d19/box_8h_source.html
@@ -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 d74ff8b600..e9bc78bf91 100644
--- a/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html
+++ b/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html
@@ -394,7 +394,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 4a77932261..365146e6ef 100644
--- a/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html
+++ b/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html
@@ -166,7 +166,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 bb9945d75d..684663dc11 100644
--- a/docs/dc/d3c/webm__cluster__parser_8h_source.html
+++ b/docs/dc/d3c/webm__cluster__parser_8h_source.html
@@ -96,11 +96,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
-
-
- 13 #include "packager/base/compiler_specific.h"
- 14 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+
+ 14 #include "packager/base/compiler_specific.h"
15 #include "packager/media/base/decryptor_source.h"
16 #include "packager/media/base/media_parser.h"
17 #include "packager/media/base/media_sample.h"
@@ -243,7 +243,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
190 scoped_refptr<VideoStreamInfo> video_stream_info_;
191 std::set<int64_t> ignored_tracks_;
- 193 scoped_ptr<DecryptorSource> decryptor_source_;
+ 193 std::unique_ptr<DecryptorSource> decryptor_source_;
194 std::string audio_encryption_key_id_;
195 std::string video_encryption_key_id_;
@@ -256,12 +256,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
205 int64_t last_block_timecode_ = -1;
- 206 scoped_ptr<uint8_t[]> block_data_;
+ 206 std::unique_ptr<uint8_t[]> block_data_;
207 int block_data_size_ = -1;
208 int64_t block_duration_ = -1;
209 int64_t block_add_id_ = -1;
- 211 scoped_ptr<uint8_t[]> block_additional_data_;
+ 211 std::unique_ptr<uint8_t[]> block_additional_data_;
214 int block_additional_data_size_ = 0;
@@ -288,11 +288,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
235 #endif // MEDIA_FORMATS_WEBM_WEBM_CLUSTER_PARSER_H_
-
+
-
+
@@ -301,7 +301,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 0607d8b225..0ed386de0a 100644
--- a/docs/dc/d3f/key__source_8h_source.html
+++ b/docs/dc/d3f/key__source_8h_source.html
@@ -99,77 +99,76 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 13 #include "packager/base/memory/scoped_ptr.h"
- 14 #include "packager/media/base/protection_system_specific_info.h"
- 15 #include "packager/media/base/status.h"
-
-
-
-
-
-
-
-
- 24 std::vector<ProtectionSystemSpecificInfo> key_system_info;
- 25 std::vector<uint8_t> key_id;
- 26 std::vector<uint8_t> key;
- 27 std::vector<uint8_t> iv;
-
-
-
-
-
- 34 TRACK_TYPE_UNKNOWN = 0,
-
-
-
- 38 TRACK_TYPE_UNSPECIFIED = 4,
- 39 NUM_VALID_TRACK_TYPES = 4
-
-
-
-
-
-
-
-
- 54 const std::vector<std::vector<uint8_t>>& key_ids) = 0;
-
-
-
-
-
- 74 virtual Status GetKey( const std::vector<uint8_t>& key_id,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 101 #endif // MEDIA_BASE_KEY_SOURCE_H_
+ 13 #include "packager/media/base/protection_system_specific_info.h"
+ 14 #include "packager/media/base/status.h"
+
+
+
+
+
+
+
+
+ 23 std::vector<ProtectionSystemSpecificInfo> key_system_info;
+ 24 std::vector<uint8_t> key_id;
+ 25 std::vector<uint8_t> key;
+ 26 std::vector<uint8_t> iv;
+
+
+
+
+
+ 33 TRACK_TYPE_UNKNOWN = 0,
+
+
+
+ 37 TRACK_TYPE_UNSPECIFIED = 4,
+ 38 NUM_VALID_TRACK_TYPES = 4
+
+
+
+
+
+
+
+
+ 53 const std::vector<std::vector<uint8_t>>& key_ids) = 0;
+
+
+
+
+
+ 73 virtual Status GetKey( const std::vector<uint8_t>& key_id,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 100 #endif // MEDIA_BASE_KEY_SOURCE_H_
-
+
-
+
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 ecc19f511f..998daf2972 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 98a0c1248c..d067e53cd6 100644
--- a/docs/dc/d41/classshaka_1_1media_1_1BufferWriter.html
+++ b/docs/dc/d41/classshaka_1_1media_1_1BufferWriter.html
@@ -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 032de8c889..2751bdd898 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 7335647005..6af543a739 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 55dc0589f3..f98df47356 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
@@ -226,7 +226,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 18a1ea8dcb..4ad3c0dd49 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 07af410301..5817ba2130 100644
--- a/docs/dc/d53/webm_2segmenter_8cc_source.html
+++ b/docs/dc/d53/webm_2segmenter_8cc_source.html
@@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
47 Segmenter::~Segmenter() {}
-
+
@@ -190,7 +190,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 104 return DoInitialize(writer.Pass());
+ 104 return DoInitialize(std::move(writer));
@@ -545,7 +545,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
@@ -553,7 +553,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 8f3d584bc6..8d2035b5f0 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 fa54f47022..7259678f69 100644
--- a/docs/dc/d58/webm__media__parser_8h_source.html
+++ b/docs/dc/d58/webm__media__parser_8h_source.html
@@ -157,7 +157,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
72 bool unknown_segment_size_;
- 74 scoped_ptr<WebMClusterParser> cluster_parser_;
+ 74 std::unique_ptr<WebMClusterParser> cluster_parser_;
@@ -167,19 +167,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
83 #endif // MEDIA_FORMATS_WEBM_WEBM_MEDIA_PARSER_H_
-
-
+
+
-
-
-
+
+
+
diff --git a/docs/dc/d5c/classshaka_1_1MockMpdNotifier.html b/docs/dc/d5c/classshaka_1_1MockMpdNotifier.html
index b0d6f4498c..1123355f77 100644
--- a/docs/dc/d5c/classshaka_1_1MockMpdNotifier.html
+++ b/docs/dc/d5c/classshaka_1_1MockMpdNotifier.html
@@ -160,7 +160,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 7d67f0cd67..e0f40927e3 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 6dfa1377af..d57400ea0a 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
@@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
cluster_length_sec() const (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
cues() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
DoFinalize()=0 (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | protectedpure virtual |
- DoInitialize(scoped_ptr< MkvWriter > writer)=0 (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | protectedpure virtual |
+ DoInitialize(std::unique_ptr< MkvWriter > writer)=0 (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | protectedpure virtual |
Finalize() | shaka::media::webm::Segmenter | |
FromBMFFTimescale(uint64_t time_timescale) | shaka::media::webm::Segmenter | protected |
FromWebMTimecode(uint64_t time_webm_timecode) | shaka::media::webm::Segmenter | protected |
@@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
GetIndexRangeStartAndEnd(uint64_t *start, uint64_t *end)=0 | shaka::media::webm::Segmenter | pure virtual |
GetInitRangeStartAndEnd(uint64_t *start, uint64_t *end)=0 | shaka::media::webm::Segmenter | pure virtual |
info() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
- Initialize(scoped_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) | shaka::media::webm::Segmenter | |
+ Initialize(std::unique_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) | shaka::media::webm::Segmenter | |
muxer_listener() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
options() const (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
seek_head() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
@@ -121,7 +121,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 052d00483f..b6d651a79e 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 ac388eb5e5..94a80d891b 100644
--- a/docs/dc/d73/classshaka_1_1media_1_1MockMuxerListener.html
+++ b/docs/dc/d73/classshaka_1_1media_1_1MockMuxerListener.html
@@ -157,7 +157,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 e11ae841b1..69f99ec7c9 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 9035aac994..1910cb4990 100644
--- a/docs/dc/d7b/h264__parser_8cc_source.html
+++ b/docs/dc/d7b/h264__parser_8cc_source.html
@@ -93,8 +93,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 #include "packager/media/codecs/h264_parser.h"
- 7 #include "packager/base/logging.h"
- 8 #include "packager/base/memory/scoped_ptr.h"
+
+ 8 #include "packager/base/logging.h"
9 #include "packager/base/stl_util.h"
10 #include "packager/media/base/buffer_reader.h"
@@ -685,7 +685,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 599 scoped_ptr<H264Sps> sps(
new H264Sps());
+ 599 std::unique_ptr<H264Sps> sps(
new H264Sps());
601 READ_BITS_OR_RETURN(8, &sps->profile_idc);
602 READ_BOOL_OR_RETURN(&sps->constraint_set0_flag);
@@ -807,7 +807,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 721 scoped_ptr<H264Pps> pps(
new H264Pps());
+ 721 std::unique_ptr<H264Pps> pps(
new H264Pps());
723 READ_UE_OR_RETURN(&pps->pic_parameter_set_id);
724 READ_UE_OR_RETURN(&pps->seq_parameter_set_id);
@@ -1264,7 +1264,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 281ae04cab..5619b9f54b 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 307a81684f..228d056e11 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/da0/structshaka_1_1media_1_1mp4_1_1DTSSpecific.html b/docs/dc/da0/structshaka_1_1media_1_1mp4_1_1DTSSpecific.html
index 4238d645e8..1c1da78578 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 13958549f4..9575461779 100644
--- a/docs/dc/da1/classshaka_1_1MpdBuilder.html
+++ b/docs/dc/da1/classshaka_1_1MpdBuilder.html
@@ -132,10 +132,10 @@ Public Member Functions
|
MpdType | type () const |
|
-
-void | InjectClockForTesting (scoped_ptr< base::Clock > clock) |
- | This is for testing.
|
- |
+
+void | InjectClockForTesting (std::unique_ptr< base::Clock > clock) |
+ | This is for testing.
|
+ |
|
@@ -385,7 +385,7 @@ class DynamicMpdBuilderTes
diff --git a/docs/dc/da6/classshaka_1_1media_1_1ContentEncoding.html b/docs/dc/da6/classshaka_1_1media_1_1ContentEncoding.html
index 0bc486ec0e..2cdde2f98d 100644
--- a/docs/dc/da6/classshaka_1_1media_1_1ContentEncoding.html
+++ b/docs/dc/da6/classshaka_1_1media_1_1ContentEncoding.html
@@ -176,7 +176,7 @@ Static Public Attributes |
-
Definition at line 16 of file webm_content_encodings.h.
+
Definition at line 15 of file webm_content_encodings.h.
@@ -197,7 +197,7 @@ Static Public Attributes
@@ -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
index 74f44b5f7b..ad809b9e0c 100644
--- a/docs/dc/dbd/structshaka_1_1media_1_1FileCloser-members.html
+++ b/docs/dc/dbd/structshaka_1_1media_1_1FileCloser-members.html
@@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/dc/dbf/box__buffer_8h_source.html b/docs/dc/dbf/box__buffer_8h_source.html
index 1753a940c6..26560b316c 100644
--- a/docs/dc/dbf/box__buffer_8h_source.html
+++ b/docs/dc/dbf/box__buffer_8h_source.html
@@ -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 e7c0fa6845..dd65e0fc3c 100644
--- a/docs/dc/dc1/classshaka_1_1xml_1_1RepresentationXmlNode-members.html
+++ b/docs/dc/dc1/classshaka_1_1xml_1_1RepresentationXmlNode-members.html
@@ -117,7 +117,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 4861789ed7..81780111f0 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 b36385b0a3..b7a4a1d908 100644
--- a/docs/dc/dd9/rsa__key_8cc_source.html
+++ b/docs/dc/dd9/rsa__key_8cc_source.html
@@ -350,7 +350,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/dc/ddf/structshaka_1_1media_1_1mp4_1_1Media.html b/docs/dc/ddf/structshaka_1_1media_1_1mp4_1_1Media.html
index 336000a28d..5fb242c24c 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/ddf/udp__file__posix_8cc_source.html b/docs/dc/ddf/udp__file__posix_8cc_source.html
index 9ea5a71c84..aadc304118 100644
--- a/docs/dc/ddf/udp__file__posix_8cc_source.html
+++ b/docs/dc/ddf/udp__file__posix_8cc_source.html
@@ -322,7 +322,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/dc/de1/structshaka_1_1SegmentInfo.html b/docs/dc/de1/structshaka_1_1SegmentInfo.html
index 84cdfa687a..458afb4ac8 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 8001322dfa..bff43e8b58 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
@@ -111,7 +111,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 ab09a848ae..7f02c7ea89 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
@@ -135,7 +135,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 f1a22a5bd0..d0b50e5c41 100644
--- a/docs/dc/dec/ts__section__pmt_8cc_source.html
+++ b/docs/dc/dec/ts__section__pmt_8cc_source.html
@@ -207,7 +207,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/dc/df0/classshaka_1_1media_1_1ClosureThread.html b/docs/dc/df0/classshaka_1_1media_1_1ClosureThread.html
index 3849d831ce..06393c6707 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 1f4a87ef17..cdc8015b0d 100644
--- a/docs/dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html
+++ b/docs/dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html
@@ -256,7 +256,7 @@ track_id, const scoped_refptr
diff --git a/docs/dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html b/docs/dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html
index b749eabd7b..e342ece1fa 100644
--- a/docs/dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html
+++ b/docs/dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html
@@ -112,8 +112,8 @@ Inheritance diagram for shaka::media::mp4::EncryptingFragmenter:
|
- | EncryptingFragmenter (scoped_refptr< StreamInfo > info, TrackFragment *traf, scoped_ptr< EncryptionKey > encryption_key, int64_t clear_time, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block, MuxerListener *listener) |
- |
+ | EncryptingFragmenter (scoped_refptr< StreamInfo > info, TrackFragment *traf, std::unique_ptr< EncryptionKey > encryption_key, int64_t clear_time, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block, MuxerListener *listener) |
+ |
|
Status | AddSample (scoped_refptr< MediaSample > sample) override |
|
@@ -176,9 +176,9 @@ uint8_t crypt_byte_block
uint8_t | skip_byte_block () const |
|
-
-void | set_encryption_key (scoped_ptr< EncryptionKey > encryption_key) |
- |
+
+void | set_encryption_key (std::unique_ptr< EncryptionKey > encryption_key) |
+ |
TrackFragment * | traf () |
@@ -192,7 +192,7 @@ void | set_encryption_keyDefinition at line 28 of file encrypting_fragmenter.h.
-
+
@@ -211,7 +211,7 @@ void set_encryption_key
| |
|
- scoped_ptr< EncryptionKey > |
+ std::unique_ptr< EncryptionKey > |
encryption_key, |
@@ -301,7 +301,7 @@ void set_encryption_keyReimplemented from shaka::media::mp4::Fragmenter.
- Definition at line 102 of file encrypting_fragmenter.cc.
+Definition at line 106 of file encrypting_fragmenter.cc.
@@ -328,7 +328,7 @@ void | set_encryption_keyCreate the encryptor for the internal encryption key. The existing encryptor will be reset if it is not NULL.
- Returns
- OK on success, an error status otherwise.
-Definition at line 204 of file encrypting_fragmenter.cc.
+Definition at line 208 of file encrypting_fragmenter.cc.
@@ -364,7 +364,7 @@ void | set_encryption_keyReimplemented from shaka::media::mp4::Fragmenter.
- Definition at line 117 of file encrypting_fragmenter.cc.
+Definition at line 121 of file encrypting_fragmenter.cc.
@@ -394,7 +394,7 @@ void | set_encryption_keyReimplemented in shaka::media::mp4::KeyRotationFragmenter.
- Definition at line 161 of file encrypting_fragmenter.cc.
+Definition at line 165 of file encrypting_fragmenter.cc.
@@ -405,7 +405,7 @@ void | set_encryption_key
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 493b75bcce..749f560cf5 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
@@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
| cluster_length_sec() const (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
cues() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
DoFinalize() override (defined in shaka::media::webm::SingleSegmentSegmenter) | shaka::media::webm::SingleSegmentSegmenter | protectedvirtual |
- DoInitialize(scoped_ptr< MkvWriter > writer) override (defined in shaka::media::webm::SingleSegmentSegmenter) | shaka::media::webm::SingleSegmentSegmenter | protectedvirtual |
+ DoInitialize(std::unique_ptr< MkvWriter > writer) override (defined in shaka::media::webm::SingleSegmentSegmenter) | shaka::media::webm::SingleSegmentSegmenter | protectedvirtual |
Finalize() | shaka::media::webm::Segmenter | |
FromBMFFTimescale(uint64_t time_timescale) | shaka::media::webm::Segmenter | protected |
FromWebMTimecode(uint64_t time_webm_timecode) | shaka::media::webm::Segmenter | protected |
@@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
GetIndexRangeStartAndEnd(uint64_t *start, uint64_t *end) override | shaka::media::webm::SingleSegmentSegmenter | virtual |
GetInitRangeStartAndEnd(uint64_t *start, uint64_t *end) override | shaka::media::webm::SingleSegmentSegmenter | virtual |
info() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
- Initialize(scoped_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) | shaka::media::webm::Segmenter | |
+ Initialize(std::unique_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) | shaka::media::webm::Segmenter | |
muxer_listener() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
options() const (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
seek_head() (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
@@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
set_index_start(uint64_t start) (defined in shaka::media::webm::SingleSegmentSegmenter) | shaka::media::webm::SingleSegmentSegmenter | inlineprotected |
set_init_end(uint64_t end) (defined in shaka::media::webm::SingleSegmentSegmenter) | shaka::media::webm::SingleSegmentSegmenter | inlineprotected |
set_progress_target(uint64_t target) (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
- set_writer(scoped_ptr< MkvWriter > writer) (defined in shaka::media::webm::SingleSegmentSegmenter) | shaka::media::webm::SingleSegmentSegmenter | inlineprotected |
+ set_writer(std::unique_ptr< MkvWriter > writer) (defined in shaka::media::webm::SingleSegmentSegmenter) | shaka::media::webm::SingleSegmentSegmenter | inlineprotected |
SetCluster(uint64_t start_webm_timecode, uint64_t position, MkvWriter *writer) | shaka::media::webm::Segmenter | protected |
SingleSegmentSegmenter(const MuxerOptions &options) (defined in shaka::media::webm::SingleSegmentSegmenter) | shaka::media::webm::SingleSegmentSegmenter | explicit |
track_id() const (defined in shaka::media::webm::Segmenter) | shaka::media::webm::Segmenter | inlineprotected |
@@ -128,7 +128,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 fc04cd9651..44ba70a9cf 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 2934d33890..ed57c0b9b7 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/d06/structshaka_1_1media_1_1mp4_1_1ChunkOffset.html b/docs/dd/d06/structshaka_1_1media_1_1mp4_1_1ChunkOffset.html
index c1fa2ea9a0..bb98fbd0c3 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 cf500e7bfd..fa16abc870 100644
--- a/docs/dd/d11/mpd__builder_8cc_source.html
+++ b/docs/dd/d11/mpd__builder_8cc_source.html
@@ -101,13 +101,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
-
- 17 #include "packager/base/base64.h"
- 18 #include "packager/base/bind.h"
- 19 #include "packager/base/files/file_path.h"
- 20 #include "packager/base/logging.h"
- 21 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+ 18 #include "packager/base/base64.h"
+ 19 #include "packager/base/bind.h"
+ 20 #include "packager/base/files/file_path.h"
+ 21 #include "packager/base/logging.h"
22 #include "packager/base/strings/string_number_conversions.h"
23 #include "packager/base/strings/stringprintf.h"
24 #include "packager/base/synchronization/lock.h"
@@ -500,7 +500,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 414 scoped_ptr<AdaptationSet> adaptation_set(
+ 414 std::unique_ptr<AdaptationSet> adaptation_set(
415 new AdaptationSet(adaptation_set_counter_.GetNext(), lang, mpd_options_,
416 type_, &representation_counter_));
@@ -557,7 +557,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
468 adaptation_sets_.begin();
469 for (; adaptation_sets_it != adaptation_sets_.end(); ++adaptation_sets_it) {
470 xml::scoped_xml_ptr<xmlNode> child((*adaptation_sets_it)->GetXml());
- 471 if (!child.get() || !period.AddChild(child.Pass()))
+ 471 if (!child.get() || !period.AddChild(std::move(child)))
@@ -783,10 +783,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
694 const uint32_t representation_id = representation_counter_->GetNext();
- 697 scoped_ptr<RepresentationStateChangeListener> listener(
+ 697 std::unique_ptr<RepresentationStateChangeListener> listener(
698 new RepresentationStateChangeListenerImpl(representation_id,
this));
-
- 700 media_info, mpd_options_, representation_id, listener.Pass()));
+ 699 std::unique_ptr<Representation> representation(
new Representation(
+ 700 media_info, mpd_options_, representation_id, std::move(listener)));
702 if (!representation->Init())
@@ -915,7 +915,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
826 if (suppress_representation_frame_rate)
827 representation->SuppressOnce(Representation::kSuppressFrameRate);
828 xml::scoped_xml_ptr<xmlNode> child(representation->GetXml());
- 829 if (!child || !adaptation_set.AddChild(child.Pass()))
+ 829 if (!child || !adaptation_set.AddChild(std::move(child)))
830 return xml::scoped_xml_ptr<xmlNode>();
@@ -1121,17 +1121,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1032 base::IntToString(timescale) +
"/" + base::IntToString(frame_duration);
-
+
1036 const MediaInfo& media_info,
- 1039 scoped_ptr<RepresentationStateChangeListener> state_change_listener)
+ 1039 std::unique_ptr<RepresentationStateChangeListener> state_change_listener)
1040 : media_info_(media_info),
1043 mpd_options_(mpd_options),
- 1045 state_change_listener_(state_change_listener.Pass()),
+ 1045 state_change_listener_(std::move(state_change_listener)),
1046 output_suppression_flags_(0) {}
1048 Representation::~Representation() {}
@@ -1476,6 +1476,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual void AddNewSegment(uint64_t start_time, uint64_t duration, uint64_t size)
bool WriteMpdToFile(media::File *output_file)
+Representation(const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, std::unique_ptr< RepresentationStateChangeListener > state_change_listener)
AdaptationSet(uint32_t adaptation_set_id, const std::string &lang, const MpdOptions &mpd_options, MpdBuilder::MpdType mpd_type, base::AtomicSequenceNumber *representation_counter)
virtual void SetSampleDuration(uint32_t sample_duration)
@@ -1483,7 +1484,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
std::string LanguageToShortestForm(const std::string &language)
virtual void AddContentProtectionElement(const ContentProtectionElement &element)
-Representation(const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, scoped_ptr< RepresentationStateChangeListener > state_change_listener)
virtual void AddRole(Role role)
void AddBaseUrl(const std::string &base_url)
@@ -1508,7 +1508,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 ada05c0f02..7eb5cf5f13 100644
--- a/docs/dd/d12/mpd__writer_8cc_source.html
+++ b/docs/dd/d12/mpd__writer_8cc_source.html
@@ -124,11 +124,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
35 DashIopMpdNotifierFactory() {}
36 ~DashIopMpdNotifierFactory()
override {}
- 38 scoped_ptr<MpdNotifier> Create(DashProfile dash_profile,
- 39 const MpdOptions& mpd_options,
- 40 const std::vector<std::string>& base_urls,
- 41 const std::string& output_path)
override {
- 42 return scoped_ptr<MpdNotifier>(
new DashIopMpdNotifier(
+ 38 std::unique_ptr<MpdNotifier> Create(DashProfile dash_profile,
+ 39 const MpdOptions& mpd_options,
+ 40 const std::vector<std::string>& base_urls,
+ 41 const std::string& output_path)
override {
+ 42 return std::unique_ptr<MpdNotifier>(
new DashIopMpdNotifier(
43 dash_profile, mpd_options, base_urls, output_path));
@@ -139,11 +139,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
50 SimpleMpdNotifierFactory() {}
51 ~SimpleMpdNotifierFactory()
override {}
- 53 scoped_ptr<MpdNotifier> Create(DashProfile dash_profile,
- 54 const MpdOptions& mpd_options,
- 55 const std::vector<std::string>& base_urls,
- 56 const std::string& output_path)
override {
- 57 return scoped_ptr<MpdNotifier>(
new SimpleMpdNotifier(
+ 53 std::unique_ptr<MpdNotifier> Create(DashProfile dash_profile,
+ 54 const MpdOptions& mpd_options,
+ 55 const std::vector<std::string>& base_urls,
+ 56 const std::string& output_path)
override {
+ 57 return std::unique_ptr<MpdNotifier>(
new SimpleMpdNotifier(
58 dash_profile, mpd_options, base_urls, output_path));
@@ -185,7 +185,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
97 bool MpdWriter::WriteMpdToFile(
const char* file_name) {
- 99 scoped_ptr<MpdNotifier> notifier = notifier_factory_->Create(
+ 99 std::unique_ptr<MpdNotifier> notifier = notifier_factory_->Create(
100 kOnDemandProfile, MpdOptions(), base_urls_, file_name);
101 if (!notifier->Init()) {
102 LOG(ERROR) <<
"failed to initialize MpdNotifier.";
@@ -211,17 +211,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
124 void MpdWriter::SetMpdNotifierFactoryForTest(
- 125 scoped_ptr<MpdNotifierFactory> factory) {
- 126 notifier_factory_ = factory.Pass();
+ 125 std::unique_ptr<MpdNotifierFactory> factory) {
+ 126 notifier_factory_ = std::move(factory);
static void MakePathsRelativeToMpd(const std::string &mpd_path, MediaInfo *media_info)
-
+
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 ba211438c5..35fe38b96a 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 93dfac81ec..f420c9b13a 100644
--- a/docs/dd/d17/classshaka_1_1media_1_1Demuxer.html
+++ b/docs/dd/d17/classshaka_1_1media_1_1Demuxer.html
@@ -101,8 +101,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Public Member Functions
| Demuxer (const std::string &file_name) |
|
-void | SetKeySource (scoped_ptr< KeySource > key_source) |
- |
+void | SetKeySource (std::unique_ptr< KeySource > key_source) |
+ |
Status | Initialize () |
|
Status | Run () |
@@ -237,14 +237,14 @@ Public Member Functions
-
+
void shaka::media::Demuxer::SetKeySource |
( |
- scoped_ptr< KeySource > |
+ std::unique_ptr< KeySource > |
key_source | ) |
|
@@ -295,7 +295,7 @@ Public Member Functions
diff --git a/docs/dd/d18/es__parser__adts_8h_source.html b/docs/dd/d18/es__parser__adts_8h_source.html
index 77389fafe3..654b2bb713 100644
--- a/docs/dd/d18/es__parser__adts_8h_source.html
+++ b/docs/dd/d18/es__parser__adts_8h_source.html
@@ -95,11 +95,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
6 #define MEDIA_FORMATS_MP2T_ES_PARSER_ADTS_H_
-
-
- 11 #include "packager/base/callback.h"
- 12 #include "packager/base/compiler_specific.h"
- 13 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+ 12 #include "packager/base/callback.h"
+ 13 #include "packager/base/compiler_specific.h"
14 #include "packager/media/base/audio_stream_info.h"
15 #include "packager/media/base/byte_queue.h"
16 #include "packager/media/formats/mp2t/es_parser.h"
@@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 68 scoped_ptr<AudioTimestampHelper> audio_timestamp_helper_;
+ 68 std::unique_ptr<AudioTimestampHelper> audio_timestamp_helper_;
70 scoped_refptr<StreamInfo> last_audio_decoder_config_;
@@ -167,12 +167,12 @@ 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 589dc4cb27..45eca7f6d0 100644
--- a/docs/dd/d19/video__stream__info_8cc_source.html
+++ b/docs/dd/d19/video__stream__info_8cc_source.html
@@ -180,7 +180,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 877a432166..9953cc5045 100644
--- a/docs/dd/d30/wvm__media__parser_8cc_source.html
+++ b/docs/dd/d30/wvm__media__parser_8cc_source.html
@@ -1223,7 +1223,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1134 std::vector<uint8_t> decrypted_content_key_vec(
1135 content_key_buffer.begin() + 4,
1136 content_key_buffer.begin() + 20);
- 1137 scoped_ptr<AesCbcDecryptor> content_decryptor(
+ 1137 std::unique_ptr<AesCbcDecryptor> content_decryptor(
1138 new AesCbcDecryptor(kCtsPadding, AesCryptor::kUseConstantIv));
1139 if (!content_decryptor->InitializeWithIv(decrypted_content_key_vec,
@@ -1231,7 +1231,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 1145 content_decryptor_ = content_decryptor.Pass();
+ 1145 content_decryptor_ = std::move(content_decryptor);
@@ -1261,12 +1261,12 @@ 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 8c7a5716e8..0b168d7e5a 100644
--- a/docs/dd/d3b/mp4_2segmenter_8h_source.html
+++ b/docs/dd/d3b/mp4_2segmenter_8h_source.html
@@ -97,10 +97,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 #define MEDIA_FORMATS_MP4_SEGMENTER_H_
-
-
- 13 #include "packager/base/memory/ref_counted.h"
- 14 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+ 14 #include "packager/base/memory/ref_counted.h"
15 #include "packager/media/base/fourccs.h"
16 #include "packager/media/base/status.h"
17 #include "packager/media/formats/mp4/box_definitions.h"
@@ -124,8 +124,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 44 scoped_ptr<FileType> ftyp,
- 45 scoped_ptr<Movie> moov);
+ 44 std::unique_ptr<FileType> ftyp,
+ 45 std::unique_ptr<Movie> moov);
@@ -179,11 +179,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
129 Status FinalizeFragment(
bool finalize_segment, Fragmenter* fragment);
131 const MuxerOptions& options_;
- 132 scoped_ptr<FileType> ftyp_;
- 133 scoped_ptr<Movie> moov_;
- 134 scoped_ptr<MovieFragment> moof_;
- 135 scoped_ptr<BufferWriter> fragment_buffer_;
- 136 scoped_ptr<SegmentIndex> sidx_;
+ 132 std::unique_ptr<FileType> ftyp_;
+ 133 std::unique_ptr<Movie> moov_;
+ 134 std::unique_ptr<MovieFragment> moof_;
+ 135 std::unique_ptr<BufferWriter> fragment_buffer_;
+ 136 std::unique_ptr<SegmentIndex> sidx_;
137 std::vector<Fragmenter*> fragmenters_;
138 std::vector<uint64_t> segment_durations_;
139 std::map<const MediaStream*, uint32_t> stream_map_;
@@ -213,7 +213,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
@@ -221,7 +221,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 ecd758b35b..323b07baa7 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 4b45fbe8d8..fe2c6ccffe 100644
--- a/docs/dd/d42/encryptor_8h_source.html
+++ b/docs/dd/d42/encryptor_8h_source.html
@@ -96,69 +96,72 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
8 #define MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
- 10 #include "packager/base/memory/ref_counted.h"
- 11 #include "packager/base/memory/scoped_ptr.h"
- 12 #include "packager/media/base/key_source.h"
- 13 #include "packager/media/base/status.h"
- 14 #include "packager/media/base/stream_info.h"
- 15 #include "packager/media/codecs/vpx_parser.h"
- 16 #include "packager/media/event/muxer_listener.h"
- 17 #include "packager/third_party/libwebm/src/mkvmuxer.hpp"
-
-
-
-
- 22 class AesCtrEncryptor;
-
-
-
-
-
-
-
-
-
-
- 37 KeySource::TrackType track_type,
-
-
- 40 bool webm_subsample_encryption);
-
-
-
-
-
-
-
-
-
- 56 KeySource::TrackType track_type,
-
-
- 59 bool webm_subsample_encryption);
-
-
- 62 scoped_ptr<EncryptionKey> key_;
- 63 scoped_ptr<AesCtrEncryptor> encryptor_;
- 64 scoped_ptr<VPxParser> vpx_parser_;
-
+
+ 11 #include "packager/base/macros.h"
+ 12 #include "packager/base/memory/ref_counted.h"
+ 13 #include "packager/media/base/key_source.h"
+ 14 #include "packager/media/base/status.h"
+ 15 #include "packager/media/base/stream_info.h"
+ 16 #include "packager/media/codecs/vpx_parser.h"
+ 17 #include "packager/media/event/muxer_listener.h"
+ 18 #include "packager/third_party/libwebm/src/mkvmuxer.hpp"
+
+
+
+
+ 23 class AesCtrEncryptor;
+
+
+
+
+
+
+
+
+
+
+ 38 KeySource::TrackType track_type,
+
+
+ 41 bool webm_subsample_encryption);
+
+
+
+
+
+
+
+
+
+ 57 KeySource::TrackType track_type,
+
+
+ 60 bool webm_subsample_encryption);
+
+
+ 63 std::unique_ptr<EncryptionKey> key_;
+ 64 std::unique_ptr<AesCtrEncryptor> encryptor_;
+ 65 std::unique_ptr<VPxParser> vpx_parser_;
-
-
-
-
- 71 #endif // MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
+
+
+
+
+
+
+
+ 74 #endif // MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
-
+
-
+
diff --git a/docs/dd/d46/webm__parser_8h_source.html b/docs/dd/d46/webm__parser_8h_source.html
index 9d55fd9e36..9bd635c9f9 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 a9ccdb33e6..4c12b6d967 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 a141a3486c..f636848ce8 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 82478a922a..1b34edd92b 100644
--- a/docs/dd/d54/widevine__encryption__flags_8h_source.html
+++ b/docs/dd/d54/widevine__encryption__flags_8h_source.html
@@ -125,7 +125,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 d9db34d313..b0b29799ce 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
@@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
EmitSampleCB typedef (defined in shaka::media::mp2t::EsParser) | shaka::media::mp2t::EsParser | |
EsParser(uint32_t pid) (defined in shaka::media::mp2t::EsParser) | shaka::media::mp2t::EsParser | inline |
EsParserH265(uint32_t pid, const NewStreamInfoCB &new_stream_info_cb, const EmitSampleCB &emit_sample_cb) (defined in shaka::media::mp2t::EsParserH265) | shaka::media::mp2t::EsParserH265 | |
- EsParserH26x(Nalu::CodecType type, scoped_ptr< H26xByteToUnitStreamConverter > stream_converter, uint32_t pid, const EmitSampleCB &emit_sample_cb) (defined in shaka::media::mp2t::EsParserH26x) | shaka::media::mp2t::EsParserH26x | |
+ EsParserH26x(Nalu::CodecType type, std::unique_ptr< H26xByteToUnitStreamConverter > stream_converter, uint32_t pid, const EmitSampleCB &emit_sample_cb) (defined in shaka::media::mp2t::EsParserH26x) | shaka::media::mp2t::EsParserH26x | |
Flush() override (defined in shaka::media::mp2t::EsParserH26x) | shaka::media::mp2t::EsParserH26x | virtual |
NewStreamInfoCB typedef (defined in shaka::media::mp2t::EsParser) | shaka::media::mp2t::EsParser | |
Parse(const uint8_t *buf, int size, int64_t pts, int64_t dts) override (defined in shaka::media::mp2t::EsParserH26x) | shaka::media::mp2t::EsParserH26x | virtual |
@@ -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 2a6748cc36..7c70f434ec 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 19645e2849..98cfa41bf4 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 d06d80eee1..6a85862923 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 ba36ed6af9..6b93bafb15 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
@@ -177,7 +177,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 e10ec63b5e..1aad267849 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 b06502e8d4..263cc5fec1 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 7471e846a9..6ed7b238f6 100644
--- a/docs/dd/d7a/classshaka_1_1media_1_1MuxerListener.html
+++ b/docs/dd/d7a/classshaka_1_1media_1_1MuxerListener.html
@@ -469,7 +469,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
index a65282f930..c0788b3617 100644
--- a/docs/dd/d7c/classshaka_1_1media_1_1IoCache.html
+++ b/docs/dd/d7c/classshaka_1_1media_1_1IoCache.html
@@ -297,7 +297,7 @@ void
diff --git a/docs/dd/d80/media__sample_8h_source.html b/docs/dd/d80/media__sample_8h_source.html
index fd82cfa508..380b2eb2ae 100644
--- a/docs/dd/d80/media__sample_8h_source.html
+++ b/docs/dd/d80/media__sample_8h_source.html
@@ -102,165 +102,164 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
14 #include "packager/base/logging.h"
15 #include "packager/base/memory/ref_counted.h"
- 16 #include "packager/base/memory/scoped_ptr.h"
-
-
-
-
- 22 class MediaSample : public base::RefCountedThreadSafe<MediaSample> {
-
- 29 static scoped_refptr<MediaSample> CopyFrom( const uint8_t* data,
-
-
-
- 42 static scoped_refptr<MediaSample> CopyFrom( const uint8_t* data,
-
- 44 const uint8_t* side_data,
- 45 size_t side_data_size,
-
-
- 54 static scoped_refptr<MediaSample> FromMetadata( const uint8_t* metadata,
- 55 size_t metadata_size);
-
-
-
-
-
-
- 66 DCHECK(!end_of_stream());
-
-
-
- 70 void set_dts(int64_t dts) { dts_ = dts; }
-
-
- 73 DCHECK(!end_of_stream());
-
-
-
- 77 void set_pts(int64_t pts) { pts_ = pts; }
-
- 79 int64_t duration() const {
- 80 DCHECK(!end_of_stream());
-
-
-
- 84 void set_duration(int64_t duration) {
- 85 DCHECK(!end_of_stream());
-
-
-
- 89 bool is_key_frame() const {
- 90 DCHECK(!end_of_stream());
-
-
-
- 94 bool is_encrypted() const {
- 95 DCHECK(!end_of_stream());
-
-
- 98 const uint8_t* data() const {
- 99 DCHECK(!end_of_stream());
-
-
-
- 103 uint8_t* writable_data() {
- 104 DCHECK(!end_of_stream());
-
-
-
- 108 size_t data_size() const {
- 109 DCHECK(!end_of_stream());
-
-
-
- 113 const uint8_t* side_data() const {
- 114 return &side_data_[0];
-
-
- 117 size_t side_data_size() const {
- 118 return side_data_.size();
-
-
- 121 void set_data( const uint8_t* data, const size_t data_size) {
- 122 data_.assign(data, data + data_size);
-
-
- 125 void resize_data( const size_t data_size) {
- 126 data_.resize(data_size);
-
-
- 129 void set_is_key_frame( bool value) {
- 130 is_key_frame_ = value;
-
-
- 133 void set_is_encrypted( bool value) {
- 134 is_encrypted_ = value;
-
-
-
- 138 bool end_of_stream() const { return data_.size() == 0; }
-
- 140 const std::string& config_id() const { return config_id_; }
- 141 void set_config_id( const std::string& config_id) {
- 142 config_id_ = config_id;
-
-
-
-
-
- 149 friend class base::RefCountedThreadSafe<MediaSample>;
-
-
-
-
- 154 MediaSample( const uint8_t* data,
-
- 156 const uint8_t* side_data,
- 157 size_t side_data_size,
-
-
- 160 virtual ~MediaSample();
-
-
-
-
-
-
-
-
-
-
-
- 172 std::vector<uint8_t> data_;
-
-
-
- 176 std::vector<uint8_t> side_data_;
-
-
-
- 180 std::string config_id_;
-
- 182 DISALLOW_COPY_AND_ASSIGN(MediaSample);
-
-
- 185 typedef std::deque<scoped_refptr<MediaSample> > BufferQueue;
-
-
-
-
- 190 #endif // MEDIA_BASE_MEDIA_SAMPLE_H_
+
+
+
+
+ 21 class MediaSample : public base::RefCountedThreadSafe<MediaSample> {
+
+ 28 static scoped_refptr<MediaSample> CopyFrom( const uint8_t* data,
+
+
+
+ 41 static scoped_refptr<MediaSample> CopyFrom( const uint8_t* data,
+
+ 43 const uint8_t* side_data,
+ 44 size_t side_data_size,
+
+
+ 53 static scoped_refptr<MediaSample> FromMetadata( const uint8_t* metadata,
+ 54 size_t metadata_size);
+
+
+
+
+
+
+ 65 DCHECK(!end_of_stream());
+
+
+
+ 69 void set_dts(int64_t dts) { dts_ = dts; }
+
+
+ 72 DCHECK(!end_of_stream());
+
+
+
+ 76 void set_pts(int64_t pts) { pts_ = pts; }
+
+ 78 int64_t duration() const {
+ 79 DCHECK(!end_of_stream());
+
+
+
+ 83 void set_duration(int64_t duration) {
+ 84 DCHECK(!end_of_stream());
+
+
+
+ 88 bool is_key_frame() const {
+ 89 DCHECK(!end_of_stream());
+
+
+
+ 93 bool is_encrypted() const {
+ 94 DCHECK(!end_of_stream());
+
+
+ 97 const uint8_t* data() const {
+ 98 DCHECK(!end_of_stream());
+
+
+
+ 102 uint8_t* writable_data() {
+ 103 DCHECK(!end_of_stream());
+
+
+
+ 107 size_t data_size() const {
+ 108 DCHECK(!end_of_stream());
+
+
+
+ 112 const uint8_t* side_data() const {
+ 113 return &side_data_[0];
+
+
+ 116 size_t side_data_size() const {
+ 117 return side_data_.size();
+
+
+ 120 void set_data( const uint8_t* data, const size_t data_size) {
+ 121 data_.assign(data, data + data_size);
+
+
+ 124 void resize_data( const size_t data_size) {
+ 125 data_.resize(data_size);
+
+
+ 128 void set_is_key_frame( bool value) {
+ 129 is_key_frame_ = value;
+
+
+ 132 void set_is_encrypted( bool value) {
+ 133 is_encrypted_ = value;
+
+
+
+ 137 bool end_of_stream() const { return data_.size() == 0; }
+
+ 139 const std::string& config_id() const { return config_id_; }
+ 140 void set_config_id( const std::string& config_id) {
+ 141 config_id_ = config_id;
+
+
+
+
+
+ 148 friend class base::RefCountedThreadSafe<MediaSample>;
+
+
+
+
+ 153 MediaSample( const uint8_t* data,
+
+ 155 const uint8_t* side_data,
+ 156 size_t side_data_size,
+
+
+ 159 virtual ~MediaSample();
+
+
+
+
+
+
+
+
+
+
+
+ 171 std::vector<uint8_t> data_;
+
+
+
+ 175 std::vector<uint8_t> side_data_;
+
+
+
+ 179 std::string config_id_;
+
+ 181 DISALLOW_COPY_AND_ASSIGN(MediaSample);
+
+
+ 184 typedef std::deque<scoped_refptr<MediaSample> > BufferQueue;
+
+
+
+
+ 189 #endif // MEDIA_BASE_MEDIA_SAMPLE_H_
-
+
diff --git a/docs/dd/d87/memory__file_8cc_source.html b/docs/dd/d87/memory__file_8cc_source.html
index 33b9e717b3..b93246659a 100644
--- a/docs/dd/d87/memory__file_8cc_source.html
+++ b/docs/dd/d87/memory__file_8cc_source.html
@@ -98,9 +98,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
- 13 #include "packager/base/logging.h"
- 14 #include "packager/base/memory/scoped_ptr.h"
+
+
+ 14 #include "packager/base/logging.h"
@@ -133,13 +133,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 47 static scoped_ptr<FileSystem> g_file_system_;
+ 47 static std::unique_ptr<FileSystem> g_file_system_;
49 std::map<std::string, std::vector<uint8_t> > files_;
50 DISALLOW_COPY_AND_ASSIGN(FileSystem);
- 53 scoped_ptr<FileSystem> FileSystem::g_file_system_;
+ 53 std::unique_ptr<FileSystem> FileSystem::g_file_system_;
@@ -241,7 +241,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/dd/d88/pes__packet__generator_8h_source.html b/docs/dd/d88/pes__packet__generator_8h_source.html
index 9a2d6a7c18..ae5f60a09d 100644
--- a/docs/dd/d88/pes__packet__generator_8h_source.html
+++ b/docs/dd/d88/pes__packet__generator_8h_source.html
@@ -97,8 +97,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 #define PACKAGER_MEDIA_FORMATS_MP2T_PES_PACKET_GENERATOR_H_
-
- 12 #include "packager/base/memory/scoped_ptr.h"
+
+
13 #include "packager/base/stl_util.h"
14 #include "packager/media/base/aes_cryptor.h"
15 #include "packager/media/base/key_source.h"
@@ -125,11 +125,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
48 virtual bool PushSample(scoped_refptr<MediaSample> sample);
-
+ 54 virtual bool SetEncryptionKey(std::unique_ptr<EncryptionKey> encryption_key);
-
+
@@ -142,18 +142,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
76 double timescale_scale_ = 0.0;
- 78 scoped_ptr<NalUnitToByteStreamConverter> converter_;
- 79 scoped_ptr<AACAudioSpecificConfig> adts_converter_;
+ 78 std::unique_ptr<NalUnitToByteStreamConverter> converter_;
+ 79 std::unique_ptr<AACAudioSpecificConfig> adts_converter_;
- 83 scoped_ptr<PesPacket> current_processing_pes_;
+ 83 std::unique_ptr<PesPacket> current_processing_pes_;
85 std::list<PesPacket*> pes_packets_;
86 STLElementDeleter<decltype(pes_packets_)> pes_packets_deleter_;
- 89 scoped_ptr<AesCryptor> encryptor_;
+ 89 std::unique_ptr<AesCryptor> encryptor_;
@@ -165,16 +165,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
98 #endif // PACKAGER_MEDIA_FORMATS_MP2T_PES_PACKET_GENERATOR_H_
-
+
-
+
diff --git a/docs/dd/d8c/file__test__util_8h_source.html b/docs/dd/d8c/file__test__util_8h_source.html
index 9fd72fc368..133a330dfa 100644
--- a/docs/dd/d8c/file__test__util_8h_source.html
+++ b/docs/dd/d8c/file__test__util_8h_source.html
@@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 3cc05973d9..edaba9c3e3 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 00e3070508..759eb0db8a 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 4a3796e2f9..0aeb794270 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 388cc23baa..f130b01735 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 0d9dabcf68..01dc289b98 100644
--- a/docs/dd/d9d/classshaka_1_1MpdNotifier-members.html
+++ b/docs/dd/d9d/classshaka_1_1MpdNotifier-members.html
@@ -106,7 +106,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 36e045a5fd..9f978ea93c 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 f82b8d2429..08b91c0c67 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
@@ -111,9 +111,9 @@ Public Member Functions |
| TwoPassSingleSegmentSegmenter (const MuxerOptions &options) |
|
-
-Status | DoInitialize (scoped_ptr< MkvWriter > writer) override |
- |
+
+Status | DoInitialize (std::unique_ptr< MkvWriter > writer) override |
+ |
Status | DoFinalize () override |
|
@@ -129,8 +129,8 @@ Public Member Functions
| Segmenter (const MuxerOptions &options) |
|
-Status | Initialize (scoped_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) |
- |
+Status | Initialize (std::unique_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) |
+ |
Status | Finalize () |
|
Status | AddSample (scoped_refptr< MediaSample > sample) |
@@ -153,9 +153,9 @@ void set_index_start (
|
void | set_index_end (uint64_t end) |
|
-
-void | set_writer (scoped_ptr< MkvWriter > writer) |
- |
+
+void | set_writer (std::unique_ptr< MkvWriter > writer) |
+ |
uint64_t | FromBMFFTimescale (uint64_t time_timescale) |
|
@@ -209,7 +209,7 @@ double cluster_length_sec<
An implementation of a Segmenter for a single-segment that performs two passes. This does not use seeking and is used for non-seekable files.
- Definition at line 27 of file two_pass_single_segment_segmenter.h.
+ Definition at line 26 of file two_pass_single_segment_segmenter.h.
The documentation for this class was generated from the following files: | cluster_length_sec<
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 2fe13d4645..a9ea4a53f9 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
@@ -100,11 +100,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
11 #ifndef MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_
12 #define MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_
-
-
-
- 17 #include "packager/base/compiler_specific.h"
- 18 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+
+ 18 #include "packager/base/macros.h"
19 #include "packager/media/base/muxer_options.h"
20 #include "packager/media/event/muxer_listener.h"
@@ -150,23 +150,22 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
68 const std::string& output_file_path);
-
- 72 std::string output_file_name_;
- 73 scoped_ptr<MediaInfo> media_info_;
-
-
-
- 77 FourCC protection_scheme_;
- 78 std::string default_key_id_;
- 79 std::vector<ProtectionSystemSpecificInfo> key_system_info_;
-
-
-
-
-
-
-
- 87 #endif // MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_
+ 71 std::string output_file_name_;
+ 72 std::unique_ptr<MediaInfo> media_info_;
+
+
+
+ 76 FourCC protection_scheme_;
+ 77 std::string default_key_id_;
+ 78 std::vector<ProtectionSystemSpecificInfo> key_system_info_;
+
+
+
+
+
+
+
+ 86 #endif // MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_
@@ -181,7 +180,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 b9f2a92bf7..e2bf312d25 100644
--- a/docs/dd/dab/webm__muxer_8h_source.html
+++ b/docs/dd/dab/webm__muxer_8h_source.html
@@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
32 void FireOnMediaStartEvent();
33 void FireOnMediaEndEvent();
- 35 scoped_ptr<Segmenter> segmenter_;
+ 35 std::unique_ptr<Segmenter> segmenter_;
@@ -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 56d4f8bfa1..78dbe0cb0b 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 2abad136ea..7f6096c9d1 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 63c3d97f54..7114b9fc95 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 27e53cd791..78b698e044 100644
--- a/docs/dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html
+++ b/docs/dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html
@@ -148,7 +148,7 @@ Protected Member Functions |
This corresponds to RepresentationBaseType in MPD. RepresentationBaseType is not a concrete element type so this should not get instantiated on its own. AdaptationSet and Representation are subtypes of this.
-
Definition at line 96 of file xml_node.h.
+
Definition at line 97 of file xml_node.h.
The documentation for this class was generated from the following files:
diff --git a/docs/dd/dbc/buffer__reader_8cc_source.html b/docs/dd/dbc/buffer__reader_8cc_source.html
index 4a6b6992f6..b33420691f 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/dbd/structshaka_1_1media_1_1EncryptionKey.html b/docs/dd/dbd/structshaka_1_1media_1_1EncryptionKey.html
index d29e80980f..8f414713d0 100644
--- a/docs/dd/dbd/structshaka_1_1media_1_1EncryptionKey.html
+++ b/docs/dd/dbd/structshaka_1_1media_1_1EncryptionKey.html
@@ -112,7 +112,7 @@ std::vector< uint8_t >
- Definition at line 20 of file key_source.h.
+ Definition at line 19 of file key_source.h.
The documentation for this struct was generated from the following files: |
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 8a23675349..2ad8d6ff82 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 77ba7254b1..83a6df1e3a 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 9561e97e78..0e820afdcc 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 d9b67661a8..69a37413a7 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 7d2572a28d..ed6b6f5374 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
@@ -111,8 +111,8 @@ Public Member Functions
| Segmenter (const MuxerOptions &options) |
|
-Status | Initialize (scoped_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) |
- |
+Status | Initialize (std::unique_ptr< MkvWriter > writer, StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds) |
+ |
Status | Finalize () |
|
Status | AddSample (scoped_refptr< MediaSample > sample) |
@@ -174,9 +174,9 @@ uint64_t segment_payload_p
double | cluster_length_sec () const |
|
-
-virtual Status | DoInitialize (scoped_ptr< MkvWriter > writer)=0 |
- |
+
+virtual Status | DoInitialize (std::unique_ptr< MkvWriter > writer)=0 |
+ |
virtual Status | DoFinalize ()=0 |
|
@@ -349,14 +349,14 @@ virtual Sta
-
+
diff --git a/docs/dd/dce/structshaka_1_1media_1_1Cue.html b/docs/dd/dce/structshaka_1_1media_1_1Cue.html
index 5e21c993fb..03efd5edf4 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::vector< std::string > | |
diff --git a/docs/dd/dd2/buffer__writer_8h_source.html b/docs/dd/dd2/buffer__writer_8h_source.html
index 14008635a1..c771db92de 100644
--- a/docs/dd/dd2/buffer__writer_8h_source.html
+++ b/docs/dd/dd2/buffer__writer_8h_source.html
@@ -159,7 +159,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/dd/dd3/buffer__writer_8cc_source.html b/docs/dd/dd3/buffer__writer_8cc_source.html
index 6922f1608e..9e7615ae37 100644
--- a/docs/dd/dd3/buffer__writer_8cc_source.html
+++ b/docs/dd/dd3/buffer__writer_8cc_source.html
@@ -187,7 +187,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 e6b39eba98..c671cb4ae8 100644
--- a/docs/dd/dd6/classshaka_1_1media_1_1WebMVideoClient-members.html
+++ b/docs/dd/dd6/classshaka_1_1media_1_1WebMVideoClient-members.html
@@ -106,7 +106,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 f621202300..1662b8b320 100644
--- a/docs/dd/dd8/mock__muxer__listener_8cc_source.html
+++ b/docs/dd/dd8/mock__muxer__listener_8cc_source.html
@@ -106,7 +106,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 1c4c4ba3d1..68ff6a0d34 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/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html b/docs/dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html
index 477bc6a0be..50561a7d5b 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 a8e44a6f59..3fbf765108 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 f4fbe20cbb..5ce70f0ddb 100644
--- a/docs/dd/de7/xml__node_8h_source.html
+++ b/docs/dd/de7/xml__node_8h_source.html
@@ -104,114 +104,115 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 18 #include "packager/mpd/base/content_protection_element.h"
- 19 #include "packager/mpd/base/media_info.pb.h"
- 20 #include "packager/mpd/base/xml/scoped_xml_ptr.h"
-
-
-
-
-
-
-
-
-
- 35 explicit XmlNode( const char* name);
-
-
- 42 bool AddChild(scoped_xml_ptr<xmlNode> child);
-
- 45 bool AddElements( const std::vector<Element>& elements);
-
-
- 51 const std::string& attribute);
-
-
-
-
-
- 65 void SetId(uint32_t id);
-
-
-
-
-
-
-
-
-
-
- 88 scoped_xml_ptr<xmlNode> node_;
-
- 90 DISALLOW_COPY_AND_ASSIGN( XmlNode);
-
-
-
-
-
- 99 bool AddContentProtectionElements(
- 100 const std::list<ContentProtectionElement>& content_protection_elements);
-
-
-
-
-
- 106 bool AddContentProtectionElement(
-
-
-
-
-
-
-
-
-
-
-
- 121 const std::string& value);
-
-
-
-
-
-
-
-
-
-
- 140 bool AddVideoInfo( const MediaInfo::VideoInfo& video_info,
-
-
- 143 bool set_frame_rate);
-
- 149 bool AddAudioInfo( const MediaInfo::AudioInfo& audio_info);
-
-
-
-
- 160 const std::list<SegmentInfo>& segment_infos,
- 161 uint32_t start_number);
-
-
-
-
- 166 bool AddAudioChannelInfo( const MediaInfo::AudioInfo& audio_info);
-
-
- 169 void AddAudioSamplingRateInfo( const MediaInfo::AudioInfo& audio_info);
-
-
-
-
-
-
- 176 #endif // MPD_BASE_XML_XML_NODE_H_
+ 18 #include "packager/base/macros.h"
+ 19 #include "packager/mpd/base/content_protection_element.h"
+ 20 #include "packager/mpd/base/media_info.pb.h"
+ 21 #include "packager/mpd/base/xml/scoped_xml_ptr.h"
+
+
+
+
+
+
+
+
+
+ 36 explicit XmlNode( const char* name);
+
+
+ 43 bool AddChild(scoped_xml_ptr<xmlNode> child);
+
+ 46 bool AddElements( const std::vector<Element>& elements);
+
+
+ 52 const std::string& attribute);
+
+
+
+
+
+ 66 void SetId(uint32_t id);
+
+
+
+
+
+
+
+
+
+
+ 89 scoped_xml_ptr<xmlNode> node_;
+
+ 91 DISALLOW_COPY_AND_ASSIGN( XmlNode);
+
+
+
+
+
+ 100 bool AddContentProtectionElements(
+ 101 const std::list<ContentProtectionElement>& content_protection_elements);
+
+
+
+
+
+ 107 bool AddContentProtectionElement(
+
+
+
+
+
+
+
+
+
+
+
+ 122 const std::string& value);
+
+
+
+
+
+
+
+
+
+
+ 141 bool AddVideoInfo( const MediaInfo::VideoInfo& video_info,
+
+
+ 144 bool set_frame_rate);
+
+ 150 bool AddAudioInfo( const MediaInfo::AudioInfo& audio_info);
+
+
+
+
+ 161 const std::list<SegmentInfo>& segment_infos,
+ 162 uint32_t start_number);
+
+
+
+
+ 167 bool AddAudioChannelInfo( const MediaInfo::AudioInfo& audio_info);
+
+
+ 170 void AddAudioSamplingRateInfo( const MediaInfo::AudioInfo& audio_info);
+
+
+
+
+
+
+ 177 #endif // MPD_BASE_XML_XML_NODE_H_
bool AddVideoInfo(const MediaInfo::VideoInfo &video_info, bool set_width, bool set_height, bool set_frame_rate)
-RepresentationType in MPD.
-
+RepresentationType in MPD.
+
void SetFloatingPointAttribute(const char *attribute_name, double number)
-AdaptationSetType specified in MPD.
-
+AdaptationSetType specified in MPD.
+
scoped_xml_ptr< xmlNode > PassScopedPtr()
XmlNode(const char *name)
bool AddVODOnlyInfo(const MediaInfo &media_info)
@@ -230,7 +231,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 8b78bfee9d..1801546355 100644
--- a/docs/dd/dee/box__definitions_8cc_source.html
+++ b/docs/dd/dee/box__definitions_8cc_source.html
@@ -2944,7 +2944,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 53219f89f1..18cf308fcb 100644
--- a/docs/dd/df2/webm_2multi__segment__segmenter_8h_source.html
+++ b/docs/dd/df2/webm_2multi__segment__segmenter_8h_source.html
@@ -96,60 +96,59 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef MEDIA_FORMATS_WEBM_MULTI_SEGMENT_SEGMENTER_H_
8 #define MEDIA_FORMATS_WEBM_MULTI_SEGMENT_SEGMENTER_H_
- 10 #include "packager/media/formats/webm/segmenter.h"
-
- 12 #include "packager/base/memory/scoped_ptr.h"
- 13 #include "packager/media/base/status.h"
- 14 #include "packager/media/formats/webm/mkv_writer.h"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 38 Status DoInitialize(scoped_ptr<MkvWriter> writer) override;
- 39 Status DoFinalize() override;
-
-
-
- 43 Status NewSubsegment(uint64_t start_timescale) override;
- 44 Status NewSegment(uint64_t start_timescale) override;
-
-
-
- 48 scoped_ptr<MkvWriter> writer_;
- 49 uint32_t num_segment_;
-
-
-
-
-
-
-
-
- 58 #endif // MEDIA_FORMATS_WEBM_MULTI_SEGMENT_SEGMENTER_H_
+
+ 11 #include "packager/media/base/status.h"
+ 12 #include "packager/media/formats/webm/mkv_writer.h"
+ 13 #include "packager/media/formats/webm/segmenter.h"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 37 Status DoInitialize(std::unique_ptr<MkvWriter> writer) override;
+ 38 Status DoFinalize() override;
+
+
+
+ 42 Status NewSubsegment(uint64_t start_timescale) override;
+ 43 Status NewSegment(uint64_t start_timescale) override;
+
+
+
+ 47 std::unique_ptr<MkvWriter> writer_;
+ 48 uint32_t num_segment_;
+
+
+
+
+
+
+
+
+ 57 #endif // MEDIA_FORMATS_WEBM_MULTI_SEGMENT_SEGMENTER_H_
-
+
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 9665268aac..bbe1865318 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 8219667777..93100c3f83 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
index 2d448f8af4..23a2369344 100644
--- a/docs/de/d0f/local__file_8h_source.html
+++ b/docs/de/d0f/local__file_8h_source.html
@@ -152,7 +152,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/de/d12/container__names_8h_source.html b/docs/de/d12/container__names_8h_source.html
index 27de4d84e1..69713b4976 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 796600af53..962c9837ac 100644
--- a/docs/de/d13/ts__writer_8cc_source.html
+++ b/docs/de/d13/ts__writer_8cc_source.html
@@ -324,7 +324,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
235 return current_file_.release()->Close();
-
+
239 DCHECK(current_file_);
240 if (!WritePesToFile(*pes_packet, &elementary_stream_continuity_counter_,
241 current_file_.get())) {
@@ -336,9 +336,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
- 251 scoped_ptr<ProgramMapTableWriter> table_writer) {
- 252 pmt_writer_ = table_writer.Pass();
+
+ 251 std::unique_ptr<ProgramMapTableWriter> table_writer) {
+ 252 pmt_writer_ = std::move(table_writer);
@@ -348,10 +348,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
-
+
@@ -361,7 +361,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/de/d15/media__stream_8cc_source.html b/docs/de/d15/media__stream_8cc_source.html
index 20dabed24f..ba37123241 100644
--- a/docs/de/d15/media__stream_8cc_source.html
+++ b/docs/de/d15/media__stream_8cc_source.html
@@ -210,7 +210,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/de/d16/classshaka_1_1media_1_1TextTrackConfig-members.html b/docs/de/d16/classshaka_1_1media_1_1TextTrackConfig-members.html
index 6ddadb26f5..945b86aee5 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 393a96a512..8bc5cc17c9 100644
--- a/docs/de/d17/cluster__builder_8cc_source.html
+++ b/docs/de/d17/cluster__builder_8cc_source.html
@@ -148,8 +148,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
59 kInitialBufferSize = 32768,
- 62 Cluster::Cluster(scoped_ptr<uint8_t[]> data,
int size)
- 63 : data_(data.Pass()), size_(size) {}
+ 62 Cluster::Cluster(std::unique_ptr<uint8_t[]> data,
int size)
+ 63 : data_(std::move(data)), size_(size) {}
64 Cluster::~Cluster() {}
66 ClusterBuilder::ClusterBuilder() { Reset(); }
@@ -289,24 +289,24 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
200 memcpy(buf + 4, data, size);
- 203 scoped_ptr<Cluster> ClusterBuilder::Finish() {
+ 203 std::unique_ptr<Cluster> ClusterBuilder::Finish() {
204 DCHECK_NE(cluster_timecode_, -1);
206 UpdateUInt64(kClusterSizeOffset, bytes_used_ - (kClusterSizeOffset + 8));
- 208 scoped_ptr<Cluster> ret(
new Cluster(buffer_.Pass(), bytes_used_));
+ 208 std::unique_ptr<Cluster> ret(
new Cluster(std::move(buffer_), bytes_used_));
-
+
- 213 scoped_ptr<Cluster> ClusterBuilder::FinishWithUnknownSize() {
+ 213 std::unique_ptr<Cluster> ClusterBuilder::FinishWithUnknownSize() {
214 DCHECK_NE(cluster_timecode_, -1);
216 UpdateUInt64(kClusterSizeOffset, kWebMUnknownSize);
- 218 scoped_ptr<Cluster> ret(
new Cluster(buffer_.Pass(), bytes_used_));
+ 218 std::unique_ptr<Cluster> ret(
new Cluster(std::move(buffer_), bytes_used_));
-
+
223 void ClusterBuilder::Reset() {
@@ -323,7 +323,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
234 while ((new_buffer_size - bytes_used_) < bytes_needed)
235 new_buffer_size *= 2;
- 237 scoped_ptr<uint8_t[]> new_buffer(
new uint8_t[new_buffer_size]);
+ 237 std::unique_ptr<uint8_t[]> new_buffer(
new uint8_t[new_buffer_size]);
239 memcpy(new_buffer.get(), buffer_.get(), bytes_used_);
240 buffer_.reset(new_buffer.release());
@@ -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 e9557e13c6..bb01bbb345 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 c63d461e61..86a6f9ea67 100644
--- a/docs/de/d1e/mp4_2single__segment__segmenter_8cc_source.html
+++ b/docs/de/d1e/mp4_2single__segment__segmenter_8cc_source.html
@@ -129,9 +129,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
42 SingleSegmentSegmenter::SingleSegmentSegmenter(
const MuxerOptions& options,
- 43 scoped_ptr<FileType> ftyp,
- 44 scoped_ptr<Movie> moov)
- 45 : Segmenter(options, ftyp.Pass(), moov.Pass()) {}
+ 43 std::unique_ptr<FileType> ftyp,
+ 44 std::unique_ptr<Movie> moov)
+ 45 : Segmenter(options, std::move(ftyp), std::move(moov)) {}
47 SingleSegmentSegmenter::~SingleSegmentSegmenter() {
@@ -197,7 +197,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
108 "Cannot close the temp file " + temp_file_name_);
- 111 scoped_ptr<File, FileCloser> file(
+ 111 std::unique_ptr<File, FileCloser> file(
112 File::Open(options().output_file_name.c_str(),
"w"));
114 return Status(error::FILE_FAILURE,
@@ -208,7 +208,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 122 scoped_ptr<BufferWriter> buffer(
new BufferWriter());
+ 122 std::unique_ptr<BufferWriter> buffer(
new BufferWriter());
123 ftyp()->Write(buffer.get());
124 moov()->Write(buffer.get());
125 vod_sidx_->Write(buffer.get());
@@ -217,7 +217,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 131 scoped_ptr<File, FileCloser> temp_file(
+ 131 std::unique_ptr<File, FileCloser> temp_file(
133 if (temp_file == NULL) {
134 return Status(error::FILE_FAILURE,
@@ -228,7 +228,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
139 const uint64_t re_segment_progress_target = progress_target() * 0.5;
141 const int kBufSize = 0x200000;
- 142 scoped_ptr<uint8_t[]> buf(
new uint8_t[kBufSize]);
+ 142 std::unique_ptr<uint8_t[]> buf(
new uint8_t[kBufSize]);
144 int64_t size = temp_file->Read(buf.get(), kBufSize);
@@ -332,11 +332,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
diff --git a/docs/de/d22/aes__pattern__cryptor_8cc_source.html b/docs/de/d22/aes__pattern__cryptor_8cc_source.html
index 7cc855a4f1..2f1ae2811d 100644
--- a/docs/de/d22/aes__pattern__cryptor_8cc_source.html
+++ b/docs/de/d22/aes__pattern__cryptor_8cc_source.html
@@ -102,16 +102,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
17 uint8_t skip_byte_block,
19 ConstantIvFlag constant_iv_flag,
- 20 scoped_ptr<AesCryptor> cryptor)
+ 20 std::unique_ptr<AesCryptor> cryptor)
22 crypt_byte_block_(crypt_byte_block),
23 skip_byte_block_(skip_byte_block),
24 encryption_mode_(encryption_mode),
- 25 cryptor_(cryptor.Pass()) {
+ 25 cryptor_(std::move(cryptor)) {
@@ -190,15 +190,15 @@ 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 7f3749b93e..72ca9236b8 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 5fc3dcd23b..ae41960754 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 9b8987ec0f..94d59912a3 100644
--- a/docs/de/d33/classshaka_1_1media_1_1WebMTracksParser-members.html
+++ b/docs/de/d33/classshaka_1_1media_1_1WebMTracksParser-members.html
@@ -113,7 +113,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 62df3fa410..e68bc1b0ec 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 3ce9092481..0549342992 100644
--- a/docs/de/d34/offset__byte__queue_8h_source.html
+++ b/docs/de/d34/offset__byte__queue_8h_source.html
@@ -139,11 +139,11 @@ 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 54d1356728..6e5b607ef7 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
@@ -162,7 +162,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 19e300a7a1..e799b5060e 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 9d2f03b724..254bb42889 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 ec44ef1a14..1464772c90 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 967880cffb..e24353977f 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 c7c7244a91..32d96bd256 100644
--- a/docs/de/d49/classshaka_1_1media_1_1DecryptConfig.html
+++ b/docs/de/d49/classshaka_1_1media_1_1DecryptConfig.html
@@ -249,7 +249,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 5eb79f150f..e9dbe70da7 100644
--- a/docs/de/d4a/muxer__listener__internal_8h_source.html
+++ b/docs/de/d4a/muxer__listener__internal_8h_source.html
@@ -145,7 +145,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 6f13b4b0d6..9d278b693f 100644
--- a/docs/de/d52/classshaka_1_1Representation.html
+++ b/docs/de/d52/classshaka_1_1Representation.html
@@ -139,15 +139,15 @@ template<MpdBuilder::MpdType type> |
|
uint32_t | id () const |
|
- | Representation (const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, scoped_ptr< RepresentationStateChangeListener > state_change_listener) |
- |
+ | Representation (const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, std::unique_ptr< RepresentationStateChangeListener > state_change_listener) |
+ |
Representation class contains references to a single media stream, as well as optional ContentProtection elements for that stream.
Definition at line 428 of file mpd_builder.h.
-
+
@@ -175,7 +175,7 @@ template<MpdBuilder::MpdType type>
|
|
- scoped_ptr< RepresentationStateChangeListener > |
+ std::unique_ptr< RepresentationStateChangeListener > |
state_change_listener |
@@ -456,7 +456,7 @@ template<MpdBuilder::MpdType type>
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 86896e1351..6f4b96e006 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 625ec26aa5..7151c18ac7 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 6fbf92e9ce..956a9fbd9e 100644
--- a/docs/de/d5c/mpd__flags_8h_source.html
+++ b/docs/de/d5c/mpd__flags_8h_source.html
@@ -114,7 +114,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 47c7585509..e88b0131da 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 94b39f1017..f846877f68 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
@@ -108,19 +108,19 @@ virtual void | |
virtual bool | FinalizeSegment () |
|
-virtual bool | AddPesPacket (scoped_ptr< PesPacket > pes_packet) |
- |
-
-void | SetProgramMapTableWriterForTesting (scoped_ptr< ProgramMapTableWriter > table_writer) |
- | Only for testing.
|
- |
+virtual bool | AddPesPacket (std::unique_ptr< PesPacket > pes_packet) |
+ |
+
+void | SetProgramMapTableWriterForTesting (std::unique_ptr< ProgramMapTableWriter > table_writer) |
+ | Only for testing.
|
+ |
This class takes PesPackets, encapsulates them into TS packets, and write the data to file. This also creates PSI from StreamInfo.
Definition at line 28 of file ts_writer.h.
-
+
@@ -130,7 +130,7 @@ void bool shaka::media::mp2t::TsWriter::AddPesPacket |
( |
- scoped_ptr< PesPacket > |
+ std::unique_ptr< PesPacket > |
pes_packet | ) |
|
@@ -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 851bc4b0a0..2abfb66c9e 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 9706bd439d..237d486e46 100644
--- a/docs/de/d6e/language__utils_8h_source.html
+++ b/docs/de/d6e/language__utils_8h_source.html
@@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/de/d70/http__key__fetcher_8cc_source.html b/docs/de/d70/http__key__fetcher_8cc_source.html
index f48fc0dde1..7a8697d8be 100644
--- a/docs/de/d70/http__key__fetcher_8cc_source.html
+++ b/docs/de/d70/http__key__fetcher_8cc_source.html
@@ -238,7 +238,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 e0602586cf..cf06ff2c01 100644
--- a/docs/de/d77/webm__content__encodings__client_8cc_source.html
+++ b/docs/de/d77/webm__content__encodings__client_8cc_source.html
@@ -354,14 +354,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
-static const int kOrderInvalid
+
+static const int kOrderInvalid
WebMParserClient * OnListStart(int id) override
WebMParserClient methods.
diff --git a/docs/de/d7b/mp4__media__parser_8h_source.html b/docs/de/d7b/mp4__media__parser_8h_source.html
index 10a294a89e..123d26b242 100644
--- a/docs/de/d7b/mp4__media__parser_8h_source.html
+++ b/docs/de/d7b/mp4__media__parser_8h_source.html
@@ -99,114 +99,112 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
-
- 15 #include "packager/base/callback_forward.h"
- 16 #include "packager/base/compiler_specific.h"
- 17 #include "packager/base/memory/scoped_ptr.h"
- 18 #include "packager/base/memory/ref_counted.h"
- 19 #include "packager/base/memory/scoped_ptr.h"
- 20 #include "packager/media/base/decryptor_source.h"
- 21 #include "packager/media/base/media_parser.h"
- 22 #include "packager/media/base/offset_byte_queue.h"
-
-
-
-
-
-
- 29 class TrackRunIterator;
-
- 31 struct ProtectionSystemSpecificHeader;
-
-
-
-
-
-
-
-
- 42 KeySource* decryption_key_source)
override;
- 43 bool Flush()
override WARN_UNUSED_RESULT;
- 44 bool Parse(
const uint8_t* buf,
int size)
override WARN_UNUSED_RESULT;
-
- 53 bool LoadMoov(
const std::string& file_path);
-
-
-
-
-
-
-
-
-
- 63 bool ParseBox(
bool* err);
-
-
-
- 67 bool FetchKeysIfNecessary(
- 68 const std::vector<ProtectionSystemSpecificHeader>& headers);
-
-
-
-
-
-
-
- 76 bool ReadAndDiscardMDATsUntil(
const int64_t offset);
+
+
+
+ 16 #include "packager/base/callback_forward.h"
+ 17 #include "packager/base/memory/ref_counted.h"
+ 18 #include "packager/media/base/decryptor_source.h"
+ 19 #include "packager/media/base/media_parser.h"
+ 20 #include "packager/media/base/offset_byte_queue.h"
+
+
+
+
+
+
+ 27 class TrackRunIterator;
+
+ 29 struct ProtectionSystemSpecificHeader;
+
+
+
+
+
+
+
+
+ 40 KeySource* decryption_key_source)
override;
+ 41 bool Flush()
override WARN_UNUSED_RESULT;
+ 42 bool Parse(
const uint8_t* buf,
int size)
override WARN_UNUSED_RESULT;
+
+ 51 bool LoadMoov(
const std::string& file_path);
+
+
+
+
+
+
+
+
+
+ 61 bool ParseBox(
bool* err);
+
+
+
+ 65 bool FetchKeysIfNecessary(
+ 66 const std::vector<ProtectionSystemSpecificHeader>& headers);
+
+
+
+
+
+
+
+ 74 bool ReadAndDiscardMDATsUntil(
const int64_t offset);
+
+ 76 void ChangeState(State new_state);
- 78 void ChangeState(State new_state);
+
-
+ 80 bool EnqueueSample(
bool* err);
- 82 bool EnqueueSample(
bool* err);
+
-
-
-
-
-
-
- 90 scoped_ptr<DecryptorSource> decryptor_source_;
+
+
+
+
+ 88 std::unique_ptr<DecryptorSource> decryptor_source_;
+
+
-
-
-
-
-
-
-
-
-
-
-
-
- 104 scoped_ptr<Movie> moov_;
- 105 scoped_ptr<TrackRunIterator> runs_;
-
-
-
-
-
-
-
-
- 114 #endif // MEDIA_FORMATS_MP4_MP4_MEDIA_PARSER_H_
-
-
+
+
+
+
+
+
+
+
+
+
+ 102 std::unique_ptr<Movie> moov_;
+ 103 std::unique_ptr<TrackRunIterator> runs_;
+
+
+
+
+
+
+
+
+ 112 #endif // MEDIA_FORMATS_MP4_MP4_MEDIA_PARSER_H_
+
+
-
+
-
+
-
+
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 23f05d6724..7f36ba0fd7 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 8c1880337f..de86dc462b 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
index b202a247a4..2da67007ed 100644
--- a/docs/de/d83/classshaka_1_1media_1_1LocalFile-members.html
+++ b/docs/de/d83/classshaka_1_1media_1_1LocalFile-members.html
@@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
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 cfc1ae443a..de9a30cf2a 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 8e25a0108d..d1bd360cf8 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 82651f7e1f..377bc523bb 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 cda91e26a3..cb38e04138 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 f3002b87c2..fdbce60630 100644
--- a/docs/de/dab/es__parser__h26x_8cc_source.html
+++ b/docs/de/dab/es__parser__h26x_8cc_source.html
@@ -116,306 +116,305 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
- 31 EsParserH26x::EsParserH26x(
-
- 33 scoped_ptr<H26xByteToUnitStreamConverter> stream_converter,
-
- 35 const EmitSampleCB& emit_sample_cb)
-
- 37 emit_sample_cb_(emit_sample_cb),
-
- 39 es_queue_(new media::OffsetByteQueue()),
- 40 current_search_position_(0),
- 41 stream_converter_(stream_converter.Pass()),
- 42 pending_sample_duration_(0),
- 43 waiting_for_key_frame_(true) {}
-
- 45 EsParserH26x::~EsParserH26x() {}
-
- 47 bool EsParserH26x::Parse(
const uint8_t* buf,
-
-
-
-
-
-
-
-
-
-
-
-
- 60 DVLOG_IF(1, pts == kNoTimestamp) <<
"Each video PES should have a PTS";
- 61 if (pts != kNoTimestamp) {
- 62 TimingDesc timing_desc;
- 63 timing_desc.pts = pts;
- 64 timing_desc.dts = (dts != kNoTimestamp) ? dts : pts;
-
-
- 67 timing_desc_list_.push_back(
- 68 std::pair<int64_t, TimingDesc>(es_queue_->tail(), timing_desc));
-
-
-
- 72 es_queue_->Push(buf, size);
-
-
-
-
- 77 if (access_unit_nalus_.empty()) {
- 78 if (!SkipToFirstAccessUnit())
-
-
- 81 DCHECK(!access_unit_nalus_.empty());
- 82 DCHECK(access_unit_nalus_.front().nalu.can_start_access_unit());
-
- 84 return ParseInternal();
-
-
- 87 void EsParserH26x::Flush() {
- 88 DVLOG(1) <<
"EsParserH26x::Flush";
-
-
-
- 92 if (type_ == Nalu::kH264) {
- 93 const uint8_t aud[] = {0x00, 0x00, 0x01, 0x09};
- 94 es_queue_->Push(aud,
sizeof(aud));
-
- 96 DCHECK_EQ(Nalu::kH265, type_);
- 97 const uint8_t aud[] = {0x00, 0x00, 0x01, 0x46, 0x01};
- 98 es_queue_->Push(aud,
sizeof(aud));
-
-
- 101 CHECK(ParseInternal());
-
-
-
- 105 if (access_unit_nalus_.size() > 1 &&
- 106 !ProcessAccessUnit(access_unit_nalus_.end() - 1)) {
- 107 LOG(WARNING) <<
"Error processing last access unit.";
-
-
- 110 if (pending_sample_) {
-
- 112 DCHECK(pending_sample_duration_);
- 113 pending_sample_->set_duration(pending_sample_duration_);
- 114 emit_sample_cb_.Run(pid(), pending_sample_);
- 115 pending_sample_ = scoped_refptr<MediaSample>();
-
-
-
- 119 void EsParserH26x::Reset() {
- 120 es_queue_.reset(
new media::OffsetByteQueue());
- 121 current_search_position_ = 0;
- 122 access_unit_nalus_.clear();
- 123 timing_desc_list_.clear();
- 124 pending_sample_ = scoped_refptr<MediaSample>();
- 125 pending_sample_duration_ = 0;
- 126 waiting_for_key_frame_ =
true;
-
-
- 129 bool EsParserH26x::SkipToFirstAccessUnit() {
- 130 DCHECK(access_unit_nalus_.empty());
- 131 while (access_unit_nalus_.empty()) {
- 132 if (!SearchForNextNalu())
-
-
-
- 136 DCHECK_EQ(1u, access_unit_nalus_.size());
- 137 if (!access_unit_nalus_.back().nalu.can_start_access_unit())
- 138 access_unit_nalus_.clear();
-
-
-
-
- 143 bool EsParserH26x::SearchForNextNalu() {
-
-
- 146 es_queue_->PeekAt(current_search_position_, &es, &es_size);
-
-
- 149 uint64_t start_code_offset;
- 150 uint8_t start_code_size;
- 151 const bool start_code_found = NaluReader::FindStartCode(
- 152 es, es_size, &start_code_offset, &start_code_size);
-
- 154 if (!start_code_found) {
-
- 156 if (es_size > kStartCodeSize)
- 157 current_search_position_ += es_size - kStartCodeSize;
-
-
-
-
- 162 const uint8_t* nalu_ptr = es + start_code_offset + start_code_size;
-
- 164 const int64_t next_nalu_size = es_size - start_code_offset - start_code_size;
-
- 166 (type_ == Nalu::kH264 ? kH264NaluHeaderSize : kH265NaluHeaderSize)) {
-
-
-
-
-
- 172 if (!next_nalu.Initialize(type_, nalu_ptr, next_nalu_size)) {
-
- 174 current_search_position_ += start_code_offset + start_code_size;
- 175 return SearchForNextNalu();
-
-
- 178 current_search_position_ += start_code_offset + start_code_size;
-
-
- 181 info.position = current_search_position_ - start_code_size;
- 182 info.start_code_size = start_code_size;
- 183 info.nalu = next_nalu;
- 184 access_unit_nalus_.push_back(info);
-
-
-
-
- 189 bool EsParserH26x::ProcessAccessUnit(std::deque<NaluInfo>::iterator end) {
- 190 DCHECK(end < access_unit_nalus_.end());
- 191 auto begin = access_unit_nalus_.begin();
-
-
- 194 es_queue_->PeekAt(begin->position, &es, &es_size);
- 195 DCHECK_GE(static_cast<uint64_t>(es_size), (end->position - begin->position));
-
-
- 198 bool is_key_frame =
false;
-
- 200 for (
auto it = begin; it != end; ++it) {
- 201 if (it->nalu.nuh_layer_id() == 0) {
-
- 203 CHECK(it->nalu.Initialize(
- 204 type_, es + (it->position - begin->position) + it->start_code_size,
- 205 ((it+1)->position - it->position) - it->start_code_size));
- 206 if (!ProcessNalu(it->nalu, &is_key_frame, &pps_id))
-
-
-
-
-
- 212 waiting_for_key_frame_ =
false;
- 213 if (!waiting_for_key_frame_) {
- 214 const uint64_t access_unit_size = end->position - begin->position;
- 215 RCHECK(EmitFrame(begin->position, access_unit_size, is_key_frame, pps_id));
-
-
-
-
-
- 221 bool EsParserH26x::ParseInternal() {
-
- 223 if (!SearchForNextNalu())
-
-
-
-
-
-
-
-
-
-
-
-
- 236 DCHECK(!access_unit_nalus_.empty());
- 237 if (!access_unit_nalus_.back().nalu.is_video_slice() ||
- 238 access_unit_nalus_.back().nalu.nuh_layer_id() != 0) {
-
-
-
-
-
- 244 auto access_unit_end_rit = access_unit_nalus_.rbegin();
- 245 bool found_vcl =
false;
- 246 for (
auto rit = access_unit_nalus_.rbegin() + 1;
- 247 rit != access_unit_nalus_.rend(); ++rit) {
- 248 if (rit->nalu.is_video_slice()) {
-
-
- 251 }
else if (rit->nalu.can_start_access_unit()) {
-
-
- 254 access_unit_end_rit = rit;
-
-
-
-
-
-
-
-
- 263 auto end = (access_unit_end_rit + 1).base();
- 264 if (!ProcessAccessUnit(end))
-
-
-
- 268 es_queue_->Trim(end->position);
- 269 access_unit_nalus_.erase(access_unit_nalus_.begin(), end);
-
-
-
- 273 bool EsParserH26x::EmitFrame(int64_t access_unit_pos,
- 274 int access_unit_size,
-
-
-
- 278 TimingDesc current_timing_desc = {kNoTimestamp, kNoTimestamp};
- 279 while (!timing_desc_list_.empty() &&
- 280 timing_desc_list_.front().first <= access_unit_pos) {
- 281 current_timing_desc = timing_desc_list_.front().second;
- 282 timing_desc_list_.pop_front();
-
- 284 if (current_timing_desc.pts == kNoTimestamp)
-
-
-
- 288 DVLOG(LOG_LEVEL_ES) <<
"Emit frame: stream_pos=" << access_unit_pos
- 289 <<
" size=" << access_unit_size;
-
-
- 292 es_queue_->PeekAt(access_unit_pos, &es, &es_size);
-
-
- 295 std::vector<uint8_t> converted_frame;
- 296 if (!stream_converter_->ConvertByteStreamToNalUnitStream(
- 297 es, access_unit_size, &converted_frame)) {
- 298 DLOG(ERROR) <<
"Failure to convert video frame to unit stream format.";
-
-
-
-
- 303 RCHECK(UpdateVideoDecoderConfig(pps_id));
-
-
-
-
- 308 converted_frame.data(), converted_frame.size(), is_key_frame);
- 309 media_sample->set_dts(current_timing_desc.dts);
- 310 media_sample->set_pts(current_timing_desc.pts);
- 311 if (pending_sample_) {
- 312 DCHECK_GT(media_sample->dts(), pending_sample_->dts());
- 313 pending_sample_duration_ = media_sample->dts() - pending_sample_->dts();
- 314 pending_sample_->set_duration(pending_sample_duration_);
- 315 emit_sample_cb_.Run(pid(), pending_sample_);
-
- 317 pending_sample_ = media_sample;
-
-
-
-
-
-
-
+ 30 EsParserH26x::EsParserH26x(
+
+ 32 std::unique_ptr<H26xByteToUnitStreamConverter> stream_converter,
+
+ 34 const EmitSampleCB& emit_sample_cb)
+
+ 36 emit_sample_cb_(emit_sample_cb),
+
+ 38 es_queue_(new media::OffsetByteQueue()),
+ 39 current_search_position_(0),
+ 40 stream_converter_(std::move(stream_converter)),
+ 41 pending_sample_duration_(0),
+ 42 waiting_for_key_frame_(true) {}
+
+ 44 EsParserH26x::~EsParserH26x() {}
+
+ 46 bool EsParserH26x::Parse(
const uint8_t* buf,
+
+
+
+
+
+
+
+
+
+
+
+
+ 59 DVLOG_IF(1, pts == kNoTimestamp) <<
"Each video PES should have a PTS";
+ 60 if (pts != kNoTimestamp) {
+ 61 TimingDesc timing_desc;
+ 62 timing_desc.pts = pts;
+ 63 timing_desc.dts = (dts != kNoTimestamp) ? dts : pts;
+
+
+ 66 timing_desc_list_.push_back(
+ 67 std::pair<int64_t, TimingDesc>(es_queue_->tail(), timing_desc));
+
+
+
+ 71 es_queue_->Push(buf, size);
+
+
+
+
+ 76 if (access_unit_nalus_.empty()) {
+ 77 if (!SkipToFirstAccessUnit())
+
+
+ 80 DCHECK(!access_unit_nalus_.empty());
+ 81 DCHECK(access_unit_nalus_.front().nalu.can_start_access_unit());
+
+ 83 return ParseInternal();
+
+
+ 86 void EsParserH26x::Flush() {
+ 87 DVLOG(1) <<
"EsParserH26x::Flush";
+
+
+
+ 91 if (type_ == Nalu::kH264) {
+ 92 const uint8_t aud[] = {0x00, 0x00, 0x01, 0x09};
+ 93 es_queue_->Push(aud,
sizeof(aud));
+
+ 95 DCHECK_EQ(Nalu::kH265, type_);
+ 96 const uint8_t aud[] = {0x00, 0x00, 0x01, 0x46, 0x01};
+ 97 es_queue_->Push(aud,
sizeof(aud));
+
+
+ 100 CHECK(ParseInternal());
+
+
+
+ 104 if (access_unit_nalus_.size() > 1 &&
+ 105 !ProcessAccessUnit(access_unit_nalus_.end() - 1)) {
+ 106 LOG(WARNING) <<
"Error processing last access unit.";
+
+
+ 109 if (pending_sample_) {
+
+ 111 DCHECK(pending_sample_duration_);
+ 112 pending_sample_->set_duration(pending_sample_duration_);
+ 113 emit_sample_cb_.Run(pid(), pending_sample_);
+ 114 pending_sample_ = scoped_refptr<MediaSample>();
+
+
+
+ 118 void EsParserH26x::Reset() {
+ 119 es_queue_.reset(
new media::OffsetByteQueue());
+ 120 current_search_position_ = 0;
+ 121 access_unit_nalus_.clear();
+ 122 timing_desc_list_.clear();
+ 123 pending_sample_ = scoped_refptr<MediaSample>();
+ 124 pending_sample_duration_ = 0;
+ 125 waiting_for_key_frame_ =
true;
+
+
+ 128 bool EsParserH26x::SkipToFirstAccessUnit() {
+ 129 DCHECK(access_unit_nalus_.empty());
+ 130 while (access_unit_nalus_.empty()) {
+ 131 if (!SearchForNextNalu())
+
+
+
+ 135 DCHECK_EQ(1u, access_unit_nalus_.size());
+ 136 if (!access_unit_nalus_.back().nalu.can_start_access_unit())
+ 137 access_unit_nalus_.clear();
+
+
+
+
+ 142 bool EsParserH26x::SearchForNextNalu() {
+
+
+ 145 es_queue_->PeekAt(current_search_position_, &es, &es_size);
+
+
+ 148 uint64_t start_code_offset;
+ 149 uint8_t start_code_size;
+ 150 const bool start_code_found = NaluReader::FindStartCode(
+ 151 es, es_size, &start_code_offset, &start_code_size);
+
+ 153 if (!start_code_found) {
+
+ 155 if (es_size > kStartCodeSize)
+ 156 current_search_position_ += es_size - kStartCodeSize;
+
+
+
+
+ 161 const uint8_t* nalu_ptr = es + start_code_offset + start_code_size;
+
+ 163 const int64_t next_nalu_size = es_size - start_code_offset - start_code_size;
+
+ 165 (type_ == Nalu::kH264 ? kH264NaluHeaderSize : kH265NaluHeaderSize)) {
+
+
+
+
+
+ 171 if (!next_nalu.Initialize(type_, nalu_ptr, next_nalu_size)) {
+
+ 173 current_search_position_ += start_code_offset + start_code_size;
+ 174 return SearchForNextNalu();
+
+
+ 177 current_search_position_ += start_code_offset + start_code_size;
+
+
+ 180 info.position = current_search_position_ - start_code_size;
+ 181 info.start_code_size = start_code_size;
+ 182 info.nalu = next_nalu;
+ 183 access_unit_nalus_.push_back(info);
+
+
+
+
+ 188 bool EsParserH26x::ProcessAccessUnit(std::deque<NaluInfo>::iterator end) {
+ 189 DCHECK(end < access_unit_nalus_.end());
+ 190 auto begin = access_unit_nalus_.begin();
+
+
+ 193 es_queue_->PeekAt(begin->position, &es, &es_size);
+ 194 DCHECK_GE(static_cast<uint64_t>(es_size), (end->position - begin->position));
+
+
+ 197 bool is_key_frame =
false;
+
+ 199 for (
auto it = begin; it != end; ++it) {
+ 200 if (it->nalu.nuh_layer_id() == 0) {
+
+ 202 CHECK(it->nalu.Initialize(
+ 203 type_, es + (it->position - begin->position) + it->start_code_size,
+ 204 ((it+1)->position - it->position) - it->start_code_size));
+ 205 if (!ProcessNalu(it->nalu, &is_key_frame, &pps_id))
+
+
+
+
+
+ 211 waiting_for_key_frame_ =
false;
+ 212 if (!waiting_for_key_frame_) {
+ 213 const uint64_t access_unit_size = end->position - begin->position;
+ 214 RCHECK(EmitFrame(begin->position, access_unit_size, is_key_frame, pps_id));
+
+
+
+
+
+ 220 bool EsParserH26x::ParseInternal() {
+
+ 222 if (!SearchForNextNalu())
+
+
+
+
+
+
+
+
+
+
+
+
+ 235 DCHECK(!access_unit_nalus_.empty());
+ 236 if (!access_unit_nalus_.back().nalu.is_video_slice() ||
+ 237 access_unit_nalus_.back().nalu.nuh_layer_id() != 0) {
+
+
+
+
+
+ 243 auto access_unit_end_rit = access_unit_nalus_.rbegin();
+ 244 bool found_vcl =
false;
+ 245 for (
auto rit = access_unit_nalus_.rbegin() + 1;
+ 246 rit != access_unit_nalus_.rend(); ++rit) {
+ 247 if (rit->nalu.is_video_slice()) {
+
+
+ 250 }
else if (rit->nalu.can_start_access_unit()) {
+
+
+ 253 access_unit_end_rit = rit;
+
+
+
+
+
+
+
+
+ 262 auto end = (access_unit_end_rit + 1).base();
+ 263 if (!ProcessAccessUnit(end))
+
+
+
+ 267 es_queue_->Trim(end->position);
+ 268 access_unit_nalus_.erase(access_unit_nalus_.begin(), end);
+
+
+
+ 272 bool EsParserH26x::EmitFrame(int64_t access_unit_pos,
+ 273 int access_unit_size,
+
+
+
+ 277 TimingDesc current_timing_desc = {kNoTimestamp, kNoTimestamp};
+ 278 while (!timing_desc_list_.empty() &&
+ 279 timing_desc_list_.front().first <= access_unit_pos) {
+ 280 current_timing_desc = timing_desc_list_.front().second;
+ 281 timing_desc_list_.pop_front();
+
+ 283 if (current_timing_desc.pts == kNoTimestamp)
+
+
+
+ 287 DVLOG(LOG_LEVEL_ES) <<
"Emit frame: stream_pos=" << access_unit_pos
+ 288 <<
" size=" << access_unit_size;
+
+
+ 291 es_queue_->PeekAt(access_unit_pos, &es, &es_size);
+
+
+ 294 std::vector<uint8_t> converted_frame;
+ 295 if (!stream_converter_->ConvertByteStreamToNalUnitStream(
+ 296 es, access_unit_size, &converted_frame)) {
+ 297 DLOG(ERROR) <<
"Failure to convert video frame to unit stream format.";
+
+
+
+
+ 302 RCHECK(UpdateVideoDecoderConfig(pps_id));
+
+
+
+
+ 307 converted_frame.data(), converted_frame.size(), is_key_frame);
+ 308 media_sample->set_dts(current_timing_desc.dts);
+ 309 media_sample->set_pts(current_timing_desc.pts);
+ 310 if (pending_sample_) {
+ 311 DCHECK_GT(media_sample->dts(), pending_sample_->dts());
+ 312 pending_sample_duration_ = media_sample->dts() - pending_sample_->dts();
+ 313 pending_sample_->set_duration(pending_sample_duration_);
+ 314 emit_sample_cb_.Run(pid(), pending_sample_);
+
+ 316 pending_sample_ = media_sample;
+
+
+
+
+
+
+
diff --git a/docs/de/dad/validate__flag_8cc_source.html b/docs/de/dad/validate__flag_8cc_source.html
index 4ea2c5af00..1e14099f4b 100644
--- a/docs/de/dad/validate__flag_8cc_source.html
+++ b/docs/de/dad/validate__flag_8cc_source.html
@@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/de/db3/classshaka_1_1media_1_1TextTrackConfig.html b/docs/de/db3/classshaka_1_1media_1_1TextTrackConfig.html
index 53592a4f29..c3a2d5a15d 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 6b24a3ef34..1eac49805c 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/dc1/demuxer_8h_source.html b/docs/de/dc1/demuxer_8h_source.html
index fdd9236513..0e11f4a391 100644
--- a/docs/de/dc1/demuxer_8h_source.html
+++ b/docs/de/dc1/demuxer_8h_source.html
@@ -97,11 +97,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 #define MEDIA_BASE_DEMUXER_H_
-
-
- 13 #include "packager/base/compiler_specific.h"
- 14 #include "packager/base/memory/ref_counted.h"
- 15 #include "packager/base/memory/scoped_ptr.h"
+
+
+
+ 14 #include "packager/base/compiler_specific.h"
+ 15 #include "packager/base/memory/ref_counted.h"
16 #include "packager/media/base/container_names.h"
17 #include "packager/media/base/status.h"
@@ -121,7 +121,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
37 explicit Demuxer( const std::string& file_name);
-
+ 44 void SetKeySource(std::unique_ptr<KeySource> key_source);
@@ -160,11 +160,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
96 Status init_parsing_status_;
98 std::deque<QueuedSample> queued_samples_;
- 99 scoped_ptr<MediaParser> parser_;
+ 99 std::unique_ptr<MediaParser> parser_;
100 std::vector<MediaStream*> streams_;
101 MediaContainerName container_name_;
- 102 scoped_ptr<uint8_t[]> buffer_;
- 103 scoped_ptr<KeySource> key_source_;
+ 102 std::unique_ptr<uint8_t[]> buffer_;
+ 103 std::unique_ptr<KeySource> key_source_;
106 DISALLOW_COPY_AND_ASSIGN( Demuxer);
@@ -174,11 +174,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
112 #endif // MEDIA_BASE_DEMUXER_H_
-
+
@@ -187,7 +187,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/de/dc2/classshaka_1_1media_1_1H265Parser.html b/docs/de/dc2/classshaka_1_1media_1_1H265Parser.html
index b6b5e5c256..9b6321489f 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 72ff0d2376..e659e2276c 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 4b44fc04f6..5983a8acbb 100644
--- a/docs/de/dcb/ts__segmenter_8h_source.html
+++ b/docs/de/dcb/ts__segmenter_8h_source.html
@@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_SEGMENTER_H_
8 #define PACKAGER_MEDIA_FORMATS_MP2T_TS_SEGMENTER_H_
- 10 #include "packager/base/memory/scoped_ptr.h"
+
11 #include "packager/media/base/media_stream.h"
12 #include "packager/media/base/muxer_options.h"
13 #include "packager/media/base/status.h"
@@ -130,10 +130,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
-
- 61 scoped_ptr<PesPacketGenerator> generator);
+
+ 61 std::unique_ptr<PesPacketGenerator> generator);
@@ -168,11 +168,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
95 uint64_t segment_number_ = 0;
- 97 scoped_ptr<TsWriter> ts_writer_;
+ 97 std::unique_ptr<TsWriter> ts_writer_;
100 bool ts_writer_file_opened_ =
false;
- 101 scoped_ptr<PesPacketGenerator> pes_packet_generator_;
+ 101 std::unique_ptr<PesPacketGenerator> pes_packet_generator_;
104 uint64_t current_segment_start_time_ = 0;
@@ -180,7 +180,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
107 std::string current_segment_path_;
- 109 scoped_ptr<EncryptionKey> encryption_key_;
+ 109 std::unique_ptr<EncryptionKey> encryption_key_;
110 double clear_lead_in_seconds_ = 0;
@@ -199,19 +199,19 @@ 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 391d6c93b3..50f445aeca 100644
--- a/docs/de/dcc/mock__mpd__notifier_8cc_source.html
+++ b/docs/de/dcc/mock__mpd__notifier_8cc_source.html
@@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/de/dcf/file__closer_8h_source.html b/docs/de/dcf/file__closer_8h_source.html
index 6275c599dd..38e04b50ae 100644
--- a/docs/de/dcf/file__closer_8h_source.html
+++ b/docs/de/dcf/file__closer_8h_source.html
@@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/de/dd6/content__protection__element_8h_source.html b/docs/de/dd6/content__protection__element_8h_source.html
index 0a61d62dc3..ff5a4ffa9a 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 eac5a71f1d..3e8c7f2080 100644
--- a/docs/de/dd6/muxer__listener__test__helper_8cc_source.html
+++ b/docs/de/dd6/muxer__listener__test__helper_8cc_source.html
@@ -209,7 +209,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 853f65e3fb..6d57c31ced 100644
--- a/docs/de/ddd/classshaka_1_1media_1_1Muxer-members.html
+++ b/docs/de/ddd/classshaka_1_1media_1_1Muxer-members.html
@@ -109,14 +109,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Run() | shaka::media::Muxer | |
set_clock(base::Clock *clock) | shaka::media::Muxer | inline |
SetKeySource(KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds, double crypto_period_duration_in_seconds, FourCC protection_scheme) | shaka::media::Muxer | |
- SetMuxerListener(scoped_ptr< MuxerListener > muxer_listener) | shaka::media::Muxer | |
- SetProgressListener(scoped_ptr< ProgressListener > progress_listener) | shaka::media::Muxer | |
+ SetMuxerListener(std::unique_ptr< MuxerListener > muxer_listener) | shaka::media::Muxer | |
+ SetProgressListener(std::unique_ptr< ProgressListener > progress_listener) | shaka::media::Muxer | |
streams() const (defined in shaka::media::Muxer) | shaka::media::Muxer | inline |
~Muxer() (defined in shaka::media::Muxer) | shaka::media::Muxer | virtual |
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 f659ce8d7d..8a898b5ada 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
@@ -104,14 +104,14 @@ Public Member Functions
|
Status | AddSample (scoped_refptr< MediaSample > sample) |
|
-
-void | InjectTsWriterForTesting (scoped_ptr< TsWriter > writer) |
- | Only for testing.
|
- |
-
-void | InjectPesPacketGeneratorForTesting (scoped_ptr< PesPacketGenerator > generator) |
- | Only for testing.
|
- |
+
+void | InjectTsWriterForTesting (std::unique_ptr< TsWriter > writer) |
+ | Only for testing.
|
+ |
+
+void | InjectPesPacketGeneratorForTesting (std::unique_ptr< PesPacketGenerator > generator) |
+ | Only for testing.
|
+ |
void | SetTsWriterFileOpenedForTesting (bool value) |
| Only for testing.
|
@@ -256,7 +256,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 92b3a0dba8..4691374bae 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 84a0db6692..1e1f8b8ef7 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 3e707b4074..dd20baccec 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
@@ -109,15 +109,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
| Run() | shaka::media::Muxer | |
set_clock(base::Clock *clock) | shaka::media::Muxer | inline |
SetKeySource(KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds, double crypto_period_duration_in_seconds, FourCC protection_scheme) | shaka::media::Muxer | |
- SetMuxerListener(scoped_ptr< MuxerListener > muxer_listener) | shaka::media::Muxer | |
- SetProgressListener(scoped_ptr< ProgressListener > progress_listener) | shaka::media::Muxer | |
+ SetMuxerListener(std::unique_ptr< MuxerListener > muxer_listener) | shaka::media::Muxer | |
+ SetProgressListener(std::unique_ptr< ProgressListener > progress_listener) | shaka::media::Muxer | |
streams() const (defined in shaka::media::Muxer) | shaka::media::Muxer | inline |
~MP4Muxer() override (defined in shaka::media::mp4::MP4Muxer) | shaka::media::mp4::MP4Muxer | |
~Muxer() (defined in shaka::media::Muxer) | shaka::media::Muxer | virtual |
diff --git a/docs/de/de4/structshaka_1_1media_1_1H264Pps.html b/docs/de/de4/structshaka_1_1media_1_1H264Pps.html
index 9e8b9876f9..ce190266c9 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 fe988e6d91..58467a59cb 100644
--- a/docs/de/dea/classshaka_1_1media_1_1H26xByteToUnitStreamConverter.html
+++ b/docs/de/dea/classshaka_1_1media_1_1H26xByteToUnitStreamConverter.html
@@ -216,7 +216,7 @@ static const size_t | kUnitS
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 5e0311a9cf..aac6abfa24 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 dc0d5b4393..6b67ea6482 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
@@ -124,8 +124,8 @@ const VideoSampleEntry & video_description () const |
| Only valid if is_video() is true.
|
|
-scoped_ptr< DecryptConfig > | GetDecryptConfig () |
- |
+std::unique_ptr< DecryptConfig > | GetDecryptConfig () |
+ |
|
uint32_t | track_id () const |
@@ -294,12 +294,12 @@ bool is_keyframe () co
-
+
- scoped_ptr< DecryptConfig > shaka::media::mp4::TrackRunIterator::GetDecryptConfig |
+ std::unique_ptr< DecryptConfig > shaka::media::mp4::TrackRunIterator::GetDecryptConfig |
( |
| ) |
|
@@ -412,7 +412,7 @@ bool is_keyframe () co
diff --git a/docs/de/dfa/classshaka_1_1media_1_1webm_1_1Encryptor.html b/docs/de/dfa/classshaka_1_1media_1_1webm_1_1Encryptor.html
index 81b48422ac..975d9ed606 100644
--- a/docs/de/dfa/classshaka_1_1media_1_1webm_1_1Encryptor.html
+++ b/docs/de/dfa/classshaka_1_1media_1_1webm_1_1Encryptor.html
@@ -108,7 +108,7 @@ Public Member Functions |
A helper class used to encrypt WebM frames before being written to the Cluster. This can also handle unencrypted frames.
- Definition at line 29 of file encryptor.h.
+ Definition at line 30 of file encryptor.h.
@@ -215,7 +215,7 @@ Public Member Functions
diff --git a/docs/de/dfa/muxer__listener_8h_source.html b/docs/de/dfa/muxer__listener_8h_source.html
index f58483272e..f7715376b6 100644
--- a/docs/de/dfa/muxer__listener_8h_source.html
+++ b/docs/de/dfa/muxer__listener_8h_source.html
@@ -173,7 +173,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 8a7319dc14..40329fc909 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 2ca8c5896b..8ff2f40763 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/d05/vp__codec__configuration__record_8cc_source.html b/docs/df/d05/vp__codec__configuration__record_8cc_source.html
index 4acbe8d7ca..f9205b5f22 100644
--- a/docs/df/d05/vp__codec__configuration__record_8cc_source.html
+++ b/docs/df/d05/vp__codec__configuration__record_8cc_source.html
@@ -360,7 +360,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 b5cb6b4a59..92b601ae74 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 15585a834d..b044a40b11 100644
--- a/docs/df/d1c/classshaka_1_1media_1_1MediaSample-members.html
+++ b/docs/df/d1c/classshaka_1_1media_1_1MediaSample-members.html
@@ -123,7 +123,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 861ede15b9..92db8307c5 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 147b552b5c..a0b24ebf18 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
@@ -105,7 +105,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 b4500d0bd6..bea451fb55 100644
--- a/docs/df/d22/validate__flag_8h_source.html
+++ b/docs/df/d22/validate__flag_8h_source.html
@@ -120,7 +120,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 d08557943d..41c33a7459 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 24cf06827d..2dac9b6b4c 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 1f673a0164..276e2b3a41 100644
--- a/docs/df/d31/muxer__util_8cc_source.html
+++ b/docs/df/d31/muxer__util_8cc_source.html
@@ -264,7 +264,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 fc2fa7bcc8..5aafe8702c 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 32ed1bb845..705be898a4 100644
--- a/docs/df/d33/classshaka_1_1AdaptationSet-members.html
+++ b/docs/df/d33/classshaka_1_1AdaptationSet-members.html
@@ -119,7 +119,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 bb70c2f31e..9ad7d4e4e5 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 229f712770..7fab360092 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 c153cd1132..2521254bab 100644
--- a/docs/df/d3c/classshaka_1_1media_1_1RequestSigner.html
+++ b/docs/df/d3c/classshaka_1_1media_1_1RequestSigner.html
@@ -127,7 +127,7 @@ Protected Member Functions |
Abstract class used for signature generation.
-
Definition at line 21 of file request_signer.h.
+
Definition at line 22 of file request_signer.h.
@@ -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 103206eefb..4a7c722706 100644
--- a/docs/df/d46/classshaka_1_1media_1_1Muxer.html
+++ b/docs/df/d46/classshaka_1_1media_1_1Muxer.html
@@ -126,10 +126,10 @@ void | |
void | Cancel () |
|
-void | SetMuxerListener (scoped_ptr< MuxerListener > muxer_listener) |
- |
-void | SetProgressListener (scoped_ptr< ProgressListener > progress_listener) |
- |
+void | SetMuxerListener (std::unique_ptr< MuxerListener > muxer_listener) |
+ |
+void | SetProgressListener (std::unique_ptr< ProgressListener > progress_listener) |
+ |
const std::vector< MediaStream * > & | streams () const |
|
@@ -191,7 +191,7 @@ class MediaStream |
Cancel a muxing job in progress. Will cause Run to exit with an error status of type CANCELLED.
-
Definition at line 82 of file muxer.cc.
+
Definition at line 84 of file muxer.cc.
@@ -281,18 +281,18 @@ class MediaStream |
-Definition at line 29 of file muxer.cc.
+Definition at line 31 of file muxer.cc.
-
+
void shaka::media::Muxer::SetMuxerListener |
( |
- scoped_ptr< MuxerListener > |
+ std::unique_ptr< MuxerListener > |
muxer_listener | ) |
|
@@ -306,18 +306,18 @@ class MediaStream |
-Definition at line 86 of file muxer.cc.
+Definition at line 88 of file muxer.cc.
-
+
void shaka::media::Muxer::SetProgressListener |
( |
- scoped_ptr< ProgressListener > |
+ std::unique_ptr< ProgressListener > |
progress_listener | ) |
|
@@ -331,7 +331,7 @@ class MediaStream |
-Definition at line 90 of file muxer.cc.
+Definition at line 92 of file muxer.cc.
@@ -342,7 +342,7 @@ class MediaStream |
diff --git a/docs/df/d46/classshaka_1_1media_1_1ThreadedIoFile-members.html b/docs/df/d46/classshaka_1_1media_1_1ThreadedIoFile-members.html
index 23dc9ba3d9..ef1c11a8bd 100644
--- a/docs/df/d46/classshaka_1_1media_1_1ThreadedIoFile-members.html
+++ b/docs/df/d46/classshaka_1_1media_1_1ThreadedIoFile-members.html
@@ -113,14 +113,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Seek(uint64_t position) override | shaka::media::ThreadedIoFile | virtual |
Size() override | shaka::media::ThreadedIoFile | virtual |
Tell(uint64_t *position) override | shaka::media::ThreadedIoFile | virtual |
- ThreadedIoFile(scoped_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 | |
+ 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) override | shaka::media::ThreadedIoFile | virtual |
~File() | shaka::media::File | inlineprotectedvirtual |
~ThreadedIoFile() override (defined in shaka::media::ThreadedIoFile) | shaka::media::ThreadedIoFile | protected |
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 8a2d3f8aca..4e9b2cb912 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 88338babe2..781948153e 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/d51/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter-members.html b/docs/df/d51/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter-members.html
index 2712e87c57..c89aa1dcea 100644
--- a/docs/df/d51/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter-members.html
+++ b/docs/df/d51/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter-members.html
@@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
crypt_byte_block() const (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
data() (defined in shaka::media::mp4::Fragmenter) | shaka::media::mp4::Fragmenter | inline |
earliest_presentation_time() const (defined in shaka::media::mp4::Fragmenter) | shaka::media::mp4::Fragmenter | inline |
- EncryptingFragmenter(scoped_refptr< StreamInfo > info, TrackFragment *traf, scoped_ptr< EncryptionKey > encryption_key, int64_t clear_time, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block, MuxerListener *listener) | shaka::media::mp4::EncryptingFragmenter | |
+ EncryptingFragmenter(scoped_refptr< StreamInfo > info, TrackFragment *traf, std::unique_ptr< EncryptionKey > encryption_key, int64_t clear_time, FourCC protection_scheme, uint8_t crypt_byte_block, uint8_t skip_byte_block, MuxerListener *listener) | shaka::media::mp4::EncryptingFragmenter | |
encryption_key() const (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
encryptor() (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
FinalizeFragment() override | shaka::media::mp4::EncryptingFragmenter | virtual |
@@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
OptimizeSampleEntries(std::vector< T > *entries, T *default_value) | shaka::media::mp4::Fragmenter | protected |
PrepareFragmentForEncryption(bool enable_encryption) | shaka::media::mp4::EncryptingFragmenter | protectedvirtual |
protection_scheme() const (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
- set_encryption_key(scoped_ptr< EncryptionKey > encryption_key) (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
+ set_encryption_key(std::unique_ptr< EncryptionKey > encryption_key) (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
set_use_decoding_timestamp_in_timeline(bool use_decoding_timestamp_in_timeline) | shaka::media::mp4::Fragmenter | inline |
skip_byte_block() const (defined in shaka::media::mp4::EncryptingFragmenter) | shaka::media::mp4::EncryptingFragmenter | inlineprotected |
traf() (defined in shaka::media::mp4::Fragmenter) | shaka::media::mp4::Fragmenter | inlineprotected |
@@ -122,7 +122,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 21d503f9bc..97a97dbd47 100644
--- a/docs/df/d60/classshaka_1_1MockMpdBuilder.html
+++ b/docs/df/d60/classshaka_1_1MockMpdBuilder.html
@@ -127,10 +127,10 @@ Public Member Functions
|
MpdType | type () const |
|
-
-void | InjectClockForTesting (scoped_ptr< base::Clock > clock) |
- | This is for testing.
|
- |
+
+void | InjectClockForTesting (std::unique_ptr< base::Clock > clock) |
+ | This is for testing.
|
+ |
|
@@ -153,7 +153,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 f3761cf843..e0da19a879 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 52fcbb7f49..eaf8cee062 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 6ab68dab51..369c176742 100644
--- a/docs/df/d6a/classshaka_1_1MockMpdBuilder-members.html
+++ b/docs/df/d6a/classshaka_1_1MockMpdBuilder-members.html
@@ -95,7 +95,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 4b01ab1154..a232e23459 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 054b9479b3..e49de7b31d 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 b96c1fff7d..6c6b679ee0 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 ffb7b07a70..75aad2d6c3 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 fb2948757c..1f58a71590 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 cd597f6d9c..00d1288b8d 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 4385ab588d..0ab503209b 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 f4c96eacdf..474f16a9a7 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 395fcdce69..d9389a79d3 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 695b81bb80..be92990429 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
@@ -103,12 +103,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
GetReferenceTimeScale() const (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | |
Initialize(const std::vector< MediaStream * > &streams, MuxerListener *muxer_listener, ProgressListener *progress_listener, KeySource *encryption_key_source, uint32_t max_sd_pixels, double clear_lead_in_seconds, double crypto_period_duration_in_seconds, FourCC protection_scheme) | shaka::media::mp4::Segmenter | |
moov() (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
- MultiSegmentSegmenter(const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov) (defined in shaka::media::mp4::MultiSegmentSegmenter) | shaka::media::mp4::MultiSegmentSegmenter | |
+ MultiSegmentSegmenter(const MuxerOptions &options, std::unique_ptr< FileType > ftyp, std::unique_ptr< Movie > moov) (defined in shaka::media::mp4::MultiSegmentSegmenter) | shaka::media::mp4::MultiSegmentSegmenter | |
muxer_listener() (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
options() const (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
progress_target() (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
sample_duration() const | shaka::media::mp4::Segmenter | inline |
- Segmenter(const MuxerOptions &options, scoped_ptr< FileType > ftyp, scoped_ptr< Movie > moov) (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | |
+ Segmenter(const MuxerOptions &options, std::unique_ptr< FileType > ftyp, std::unique_ptr< Movie > moov) (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | |
set_progress_target(uint64_t progress_target) (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
SetComplete() | shaka::media::mp4::Segmenter | protected |
sidx() (defined in shaka::media::mp4::Segmenter) | shaka::media::mp4::Segmenter | inlineprotected |
@@ -118,7 +118,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 202414a8ff..938cc0c702 100644
--- a/docs/df/d8d/es__parser__h26x_8h_source.html
+++ b/docs/df/d8d/es__parser__h26x_8h_source.html
@@ -98,10 +98,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
- 13 #include "packager/base/callback.h"
- 14 #include "packager/base/compiler_specific.h"
- 15 #include "packager/base/memory/scoped_ptr.h"
+
+
+ 14 #include "packager/base/callback.h"
+ 15 #include "packager/base/compiler_specific.h"
16 #include "packager/media/codecs/nalu_reader.h"
17 #include "packager/media/formats/mp2t/es_parser.h"
@@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 31 scoped_ptr<H26xByteToUnitStreamConverter> stream_converter,
+ 31 std::unique_ptr<H26xByteToUnitStreamConverter> stream_converter,
33 const EmitSampleCB& emit_sample_cb);
@@ -188,7 +188,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
99 Nalu::CodecType type_;
- 102 scoped_ptr<media::OffsetByteQueue> es_queue_;
+ 102 std::unique_ptr<media::OffsetByteQueue> es_queue_;
103 std::list<std::pair<int64_t, TimingDesc>> timing_desc_list_;
@@ -200,7 +200,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
111 std::deque<NaluInfo> access_unit_nalus_;
- 114 scoped_ptr<H26xByteToUnitStreamConverter> stream_converter_;
+ 114 std::unique_ptr<H26xByteToUnitStreamConverter> stream_converter_;
117 scoped_refptr<MediaSample> pending_sample_;
@@ -222,7 +222,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 49c2f65dc8..1ff6554f32 100644
--- a/docs/df/d94/classshaka_1_1RepresentationStateChangeListener.html
+++ b/docs/df/d94/classshaka_1_1RepresentationStateChangeListener.html
@@ -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 c4c93bd6a0..a0d17e0205 100644
--- a/docs/df/d96/xml__node_8cc_source.html
+++ b/docs/df/d96/xml__node_8cc_source.html
@@ -101,8 +101,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
12 #include "packager/base/logging.h"
13 #include "packager/base/macros.h"
14 #include "packager/base/stl_util.h"
- 15 #include "packager/base/sys_byteorder.h"
- 16 #include "packager/base/strings/string_number_conversions.h"
+ 15 #include "packager/base/strings/string_number_conversions.h"
+ 16 #include "packager/base/sys_byteorder.h"
17 #include "packager/mpd/base/media_info.pb.h"
18 #include "packager/mpd/base/segment_info.h"
@@ -226,7 +226,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
138 DVLOG(2) <<
"Passing node_.";
-
+ 140 return std::move(node_);
@@ -467,10 +467,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
bool AddVideoInfo(const MediaInfo::VideoInfo &video_info, bool set_width, bool set_height, bool set_frame_rate)
-
+
void SetFloatingPointAttribute(const char *attribute_name, double number)
-
+
scoped_xml_ptr< xmlNode > PassScopedPtr()
XmlNode(const char *name)
bool AddVODOnlyInfo(const MediaInfo &media_info)
@@ -488,7 +488,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 15b3fe2d57..88cd79a6a2 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 9c677b5caa..2ce3ad5ae0 100644
--- a/docs/df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html
+++ b/docs/df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html
@@ -159,7 +159,7 @@ Additional Inherited Members
RepresentationType in MPD.
-
Definition at line 128 of file xml_node.h.
+
Definition at line 129 of file xml_node.h.
@@ -311,7 +311,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 9c862b3f1a..c6975d768b 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 9489bca063..9e2ac90642 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 d2c2d21352..59fdb1b827 100644
--- a/docs/df/dad/decrypt__config_8h_source.html
+++ b/docs/df/dad/decrypt__config_8h_source.html
@@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
- 13 #include "packager/base/memory/scoped_ptr.h"
+ 13 #include "packager/base/macros.h"
14 #include "packager/media/base/fourccs.h"
@@ -168,7 +168,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/df/db8/structshaka_1_1media_1_1StreamDescriptor-members.html b/docs/df/db8/structshaka_1_1media_1_1StreamDescriptor-members.html
index c274a8a082..eaaec8147f 100644
--- a/docs/df/db8/structshaka_1_1media_1_1StreamDescriptor-members.html
+++ b/docs/df/db8/structshaka_1_1media_1_1StreamDescriptor-members.html
@@ -108,7 +108,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 a6e84a6a5a..ede0377eeb 100644
--- a/docs/df/dc7/avc__decoder__configuration__record_8h_source.html
+++ b/docs/df/dc7/avc__decoder__configuration__record_8h_source.html
@@ -153,7 +153,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 a69cdd2186..c47a52be07 100644
--- a/docs/df/dd2/mpd__utils_8h_source.html
+++ b/docs/df/dd2/mpd__utils_8h_source.html
@@ -174,7 +174,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 f50e37f193..ce27060455 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/ddc/webm_2segmenter_8h_source.html b/docs/df/ddc/webm_2segmenter_8h_source.html
index 9494d296c6..e94c8b5fdf 100644
--- a/docs/df/ddc/webm_2segmenter_8h_source.html
+++ b/docs/df/ddc/webm_2segmenter_8h_source.html
@@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #ifndef MEDIA_FORMATS_WEBM_SEGMENTER_H_
8 #define MEDIA_FORMATS_WEBM_SEGMENTER_H_
- 10 #include "packager/base/memory/ref_counted.h"
- 11 #include "packager/base/memory/scoped_ptr.h"
+
+ 11 #include "packager/base/memory/ref_counted.h"
12 #include "packager/media/base/status.h"
13 #include "packager/media/formats/webm/encryptor.h"
14 #include "packager/media/formats/webm/mkv_writer.h"
@@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
@@ -165,7 +165,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
106 uint64_t segment_payload_pos()
const {
return segment_payload_pos_; }
107 double cluster_length_sec()
const {
return cluster_length_sec_; }
- 109 virtual Status DoInitialize(scoped_ptr<MkvWriter> writer) = 0;
+ 109 virtual Status DoInitialize(std::unique_ptr<MkvWriter> writer) = 0;
110 virtual Status DoFinalize() = 0;
@@ -192,10 +192,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
133 uint64_t reference_frame_timestamp_;
- 136 scoped_ptr<Encryptor> encryptor_;
+ 136 std::unique_ptr<Encryptor> encryptor_;
- 139 scoped_ptr<mkvmuxer::Cluster> cluster_;
+ 139 std::unique_ptr<mkvmuxer::Cluster> cluster_;
140 mkvmuxer::Cues cues_;
142 mkvmuxer::SegmentInfo segment_info_;
@@ -234,12 +234,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
-
+
-
+
@@ -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 43f1140db7..3f1ae91060 100644
--- a/docs/df/dde/ts__section__psi_8cc_source.html
+++ b/docs/df/dde/ts__section__psi_8cc_source.html
@@ -228,7 +228,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/df/de2/structshaka_1_1media_1_1H264SEIRecoveryPoint.html b/docs/df/de2/structshaka_1_1media_1_1H264SEIRecoveryPoint.html
index 8cff1a2f14..8c7b662615 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 9049fa8b10..461616b930 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 444d108be6..3365475ab9 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 229eb61913..97a102945d 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/dir_0494b8c96e3190a776d2b97ade9c8ddf.html b/docs/dir_0494b8c96e3190a776d2b97ade9c8ddf.html
index 3954967458..844d60f38a 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 e97b8ed90b..5ca2e9b628 100644
--- a/docs/dir_2618cd273dea54f184e42d7a562af818.html
+++ b/docs/dir_2618cd273dea54f184e42d7a562af818.html
@@ -140,7 +140,7 @@ Files
diff --git a/docs/dir_279fd47bebb21302c25cfb685e84c359.html b/docs/dir_279fd47bebb21302c25cfb685e84c359.html
index 879347a8c2..063546652d 100644
--- a/docs/dir_279fd47bebb21302c25cfb685e84c359.html
+++ b/docs/dir_279fd47bebb21302c25cfb685e84c359.html
@@ -119,7 +119,7 @@ Files
diff --git a/docs/dir_2eceb70145328c029a5f43350007537a.html b/docs/dir_2eceb70145328c029a5f43350007537a.html
index 3e8a651501..c7d666c655 100644
--- a/docs/dir_2eceb70145328c029a5f43350007537a.html
+++ b/docs/dir_2eceb70145328c029a5f43350007537a.html
@@ -93,7 +93,7 @@ Files
diff --git a/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html b/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html
index 0a10e82cd1..2219a31ae2 100644
--- a/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html
+++ b/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html
@@ -99,7 +99,7 @@ Directories
diff --git a/docs/dir_3e9291fd7a18fdecc763294cb2628910.html b/docs/dir_3e9291fd7a18fdecc763294cb2628910.html
index f047e46c2e..40a889338c 100644
--- a/docs/dir_3e9291fd7a18fdecc763294cb2628910.html
+++ b/docs/dir_3e9291fd7a18fdecc763294cb2628910.html
@@ -157,7 +157,7 @@ Files
diff --git a/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html b/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html
index fbbeaad79f..b3bc4aa626 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 f93d874f6a..967adc5ab3 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 b11b13489f..13c4fae523 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 f173a64504..5b99db858c 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 fe39a03a24..fec13d18ef 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 00b9f3eecd..1e665c96a8 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 c5e2b42636..ad91be8812 100644
--- a/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html
+++ b/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html
@@ -117,7 +117,7 @@ Files
diff --git a/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html b/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html
index 057512e2cd..aee738eb21 100644
--- a/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html
+++ b/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html
@@ -245,7 +245,7 @@ Files
diff --git a/docs/dir_d422163b96683743ed3963d4aac17747.html b/docs/dir_d422163b96683743ed3963d4aac17747.html
index b9860e7632..6abe6c77ae 100644
--- a/docs/dir_d422163b96683743ed3963d4aac17747.html
+++ b/docs/dir_d422163b96683743ed3963d4aac17747.html
@@ -135,7 +135,7 @@ Files
diff --git a/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html b/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html
index 9d781c6154..4f6c7cd1e1 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 bd52a8a881..ef6c3006f1 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 84c2c764a8..f9a394d689 100644
--- a/docs/files.html
+++ b/docs/files.html
@@ -430,7 +430,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions.html b/docs/functions.html
index 1fb391c10d..f3cfef38e4 100644
--- a/docs/functions.html
+++ b/docs/functions.html
@@ -157,7 +157,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::Representation
AddPesPacket()
-: shaka::media::mp2t::TsWriter
+: shaka::media::mp2t::TsWriter
AddRepresentation()
: shaka::AdaptationSet
@@ -216,7 +216,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::AesEncryptor
AesPatternCryptor()
-: shaka::media::AesPatternCryptor
+: shaka::media::AesPatternCryptor
AppendInt()
: shaka::media::BufferWriter
@@ -240,7 +240,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_b.html b/docs/functions_b.html
index 3ae001cde5..d53efdc055 100644
--- a/docs/functions_b.html
+++ b/docs/functions_b.html
@@ -240,7 +240,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_c.html b/docs/functions_c.html
index 933fb3e20c..aeae2579ac 100644
--- a/docs/functions_c.html
+++ b/docs/functions_c.html
@@ -201,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
, shaka::media::RsaPublicKey
CreateAndInitializeSegmenter()
-: shaka::media::SegmentTestBase
+: shaka::media::SegmentTestBase
CreateBox()
: shaka::media::ProtectionSystemSpecificInfo
@@ -216,7 +216,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::MediaSample
CreateFromHexStrings()
-: shaka::media::FixedKeySource
+: shaka::media::FixedKeySource
CreateMuxerOptions()
: shaka::media::SegmentTestBase
@@ -241,7 +241,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_d.html b/docs/functions_d.html
index bd9dbf2c91..cd29c00702 100644
--- a/docs/functions_d.html
+++ b/docs/functions_d.html
@@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_e.html b/docs/functions_e.html
index 33b3cb2fe5..9ec925fd95 100644
--- a/docs/functions_e.html
+++ b/docs/functions_e.html
@@ -140,13 +140,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::webm::Encryptor
EncryptingFragmenter()
-: shaka::media::mp4::EncryptingFragmenter
+: shaka::media::mp4::EncryptingFragmenter
diff --git a/docs/functions_enum.html b/docs/functions_enum.html
index 94dad96cac..75af0ed06d 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 40b8dda70f..003d7d8b7b 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 ae6331194b..05618b2980 100644
--- a/docs/functions_f.html
+++ b/docs/functions_f.html
@@ -193,7 +193,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func.html b/docs/functions_func.html
index bb58531fde..bfdd5b07c2 100644
--- a/docs/functions_func.html
+++ b/docs/functions_func.html
@@ -157,7 +157,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::Representation
AddPesPacket()
-: shaka::media::mp2t::TsWriter
+: shaka::media::mp2t::TsWriter
AddRepresentation()
: shaka::AdaptationSet
@@ -216,7 +216,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::AesEncryptor
AesPatternCryptor()
-: shaka::media::AesPatternCryptor
+: shaka::media::AesPatternCryptor
AppendInt()
: shaka::media::BufferWriter
@@ -240,7 +240,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_b.html b/docs/functions_func_b.html
index 21e816cc46..cf611528cc 100644
--- a/docs/functions_func_b.html
+++ b/docs/functions_func_b.html
@@ -237,7 +237,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_c.html b/docs/functions_func_c.html
index 470d398e4a..04031c67fa 100644
--- a/docs/functions_func_c.html
+++ b/docs/functions_func_c.html
@@ -201,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
, shaka::media::RsaPublicKey
CreateAndInitializeSegmenter()
-: shaka::media::SegmentTestBase
+: shaka::media::SegmentTestBase
CreateBox()
: shaka::media::ProtectionSystemSpecificInfo
@@ -216,7 +216,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::MediaSample
CreateFromHexStrings()
-: shaka::media::FixedKeySource
+: shaka::media::FixedKeySource
CreateMuxerOptions()
: shaka::media::SegmentTestBase
@@ -241,7 +241,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_d.html b/docs/functions_func_d.html
index 5c1c0bd425..2db5648051 100644
--- a/docs/functions_func_d.html
+++ b/docs/functions_func_d.html
@@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_e.html b/docs/functions_func_e.html
index 0211eb6ef8..f2843b0ac5 100644
--- a/docs/functions_func_e.html
+++ b/docs/functions_func_e.html
@@ -140,13 +140,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::webm::Encryptor
EncryptingFragmenter()
-: shaka::media::mp4::EncryptingFragmenter
+: shaka::media::mp4::EncryptingFragmenter
diff --git a/docs/functions_func_f.html b/docs/functions_func_f.html
index bb6f20a7ca..ae04904b3c 100644
--- a/docs/functions_func_f.html
+++ b/docs/functions_func_f.html
@@ -187,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 71fc72c49a..66d8b8eaaf 100644
--- a/docs/functions_func_g.html
+++ b/docs/functions_func_g.html
@@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
, shaka::media::H26xByteToUnitStreamConverter
GetDecryptConfig()
-: shaka::media::mp4::TrackRunIterator
+: shaka::media::mp4::TrackRunIterator
GetDuration()
: shaka::media::mp4::Segmenter
@@ -215,7 +215,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::mp2t::ContinuityCounter
GetNextPesPacket()
-: shaka::media::mp2t::PesPacketGenerator
+: shaka::media::mp2t::PesPacketGenerator
GetNumChannels()
: shaka::media::AACAudioSpecificConfig
@@ -259,7 +259,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_h.html b/docs/functions_func_h.html
index 6195b10aab..7a81f5f0d4 100644
--- a/docs/functions_func_h.html
+++ b/docs/functions_func_h.html
@@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_i.html b/docs/functions_func_i.html
index e048da22f4..c251749693 100644
--- a/docs/functions_func_i.html
+++ b/docs/functions_func_i.html
@@ -152,7 +152,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
, shaka::media::NalUnitToByteStreamConverter
, shaka::media::VideoSliceHeaderParser
, shaka::media::webm::Encryptor
-, shaka::media::webm::Segmenter
+, shaka::media::webm::Segmenter
InitializeFragment()
: shaka::media::mp4::EncryptingFragmenter
@@ -165,13 +165,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
, shaka::media::AesPatternCryptor
InjectClockForTesting()
-: shaka::MpdBuilder
+: shaka::MpdBuilder
InjectPesPacketGeneratorForTesting()
-: shaka::media::mp2t::TsSegmenter
+: shaka::media::mp2t::TsSegmenter
InjectTsWriterForTesting()
-: shaka::media::mp2t::TsSegmenter
+: shaka::media::mp2t::TsSegmenter
IsAAC()
: shaka::media::ESDescriptor
@@ -210,7 +210,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_k.html b/docs/functions_func_k.html
index b22b554631..9388c89db0 100644
--- a/docs/functions_func_k.html
+++ b/docs/functions_func_k.html
@@ -129,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_l.html b/docs/functions_func_l.html
index 00242bf64a..0aa5b8c480 100644
--- a/docs/functions_func_l.html
+++ b/docs/functions_func_l.html
@@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_m.html b/docs/functions_func_m.html
index 3d38817252..367b3a2aec 100644
--- a/docs/functions_func_m.html
+++ b/docs/functions_func_m.html
@@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_n.html b/docs/functions_func_n.html
index 84c6d10246..a08c558153 100644
--- a/docs/functions_func_n.html
+++ b/docs/functions_func_n.html
@@ -172,7 +172,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_o.html b/docs/functions_func_o.html
index f9adab1b25..a17452bc33 100644
--- a/docs/functions_func_o.html
+++ b/docs/functions_func_o.html
@@ -193,7 +193,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_p.html b/docs/functions_func_p.html
index 6112849d0c..527109c74c 100644
--- a/docs/functions_func_p.html
+++ b/docs/functions_func_p.html
@@ -228,7 +228,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_r.html b/docs/functions_func_r.html
index 67098c40d3..186af7d9a3 100644
--- a/docs/functions_func_r.html
+++ b/docs/functions_func_r.html
@@ -183,7 +183,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::IoCache
Representation()
-: shaka::Representation
+: shaka::Representation
Reset()
: shaka::media::ByteQueue
@@ -201,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_s.html b/docs/functions_func_s.html
index fa1e3cb822..4e227689fe 100644
--- a/docs/functions_func_s.html
+++ b/docs/functions_func_s.html
@@ -160,7 +160,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::mp2t::PesPacket
set_key_fetcher()
-: shaka::media::WidevineKeySource
+: shaka::media::WidevineKeySource
set_nalu_length_size()
: shaka::media::DecoderConfigurationRecord
@@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::mp2t::PesPacket
set_signer()
-: shaka::media::WidevineKeySource
+: shaka::media::WidevineKeySource
set_stream_id()
: shaka::media::mp2t::PesPacket
@@ -187,7 +187,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::xml::XmlNode
SetEncryptionKey()
-: shaka::media::mp2t::PesPacketGenerator
+: shaka::media::mp2t::PesPacketGenerator
SetError()
: shaka::media::Status
@@ -208,17 +208,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::AesCryptor
SetKeySource()
-: shaka::media::Demuxer
+: shaka::media::Demuxer
, shaka::media::Muxer
SetMuxerListener()
-: shaka::media::Muxer
+: shaka::media::Muxer
SetProgramMapTableWriterForTesting()
-: shaka::media::mp2t::TsWriter
+: shaka::media::mp2t::TsWriter
SetProgressListener()
-: shaka::media::Muxer
+: shaka::media::Muxer
SetSampleDuration()
: shaka::Representation
@@ -285,7 +285,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_t.html b/docs/functions_func_t.html
index 80da99cd83..c8750f9219 100644
--- a/docs/functions_func_t.html
+++ b/docs/functions_func_t.html
@@ -179,7 +179,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_u.html b/docs/functions_func_u.html
index 4a552ba4d6..f1eeb8753d 100644
--- a/docs/functions_func_u.html
+++ b/docs/functions_func_u.html
@@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_v.html b/docs/functions_func_v.html
index 192283f436..3dbae73450 100644
--- a/docs/functions_func_v.html
+++ b/docs/functions_func_v.html
@@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_w.html b/docs/functions_func_w.html
index 06083df1a7..362a57fe72 100644
--- a/docs/functions_func_w.html
+++ b/docs/functions_func_w.html
@@ -182,7 +182,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_x.html b/docs/functions_func_x.html
index 2bca485965..fac43918f7 100644
--- a/docs/functions_func_x.html
+++ b/docs/functions_func_x.html
@@ -129,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_func_~.html b/docs/functions_func_~.html
index ffab3b8b56..3c94b3950c 100644
--- a/docs/functions_func_~.html
+++ b/docs/functions_func_~.html
@@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_g.html b/docs/functions_g.html
index 56e1b9d572..66d6766ad6 100644
--- a/docs/functions_g.html
+++ b/docs/functions_g.html
@@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
, shaka::media::H26xByteToUnitStreamConverter
GetDecryptConfig()
-: shaka::media::mp4::TrackRunIterator
+: shaka::media::mp4::TrackRunIterator
GetDuration()
: shaka::media::mp4::Segmenter
@@ -215,7 +215,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::mp2t::ContinuityCounter
GetNextPesPacket()
-: shaka::media::mp2t::PesPacketGenerator
+: shaka::media::mp2t::PesPacketGenerator
GetNumChannels()
: shaka::media::AACAudioSpecificConfig
@@ -259,7 +259,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_h.html b/docs/functions_h.html
index ab7a708982..5669743a16 100644
--- a/docs/functions_h.html
+++ b/docs/functions_h.html
@@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_i.html b/docs/functions_i.html
index 9818ebe692..35acfcc1c8 100644
--- a/docs/functions_i.html
+++ b/docs/functions_i.html
@@ -155,7 +155,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
, shaka::media::NalUnitToByteStreamConverter
, shaka::media::VideoSliceHeaderParser
, shaka::media::webm::Encryptor
-, shaka::media::webm::Segmenter
+, shaka::media::webm::Segmenter
InitializeFragment()
: shaka::media::mp4::EncryptingFragmenter
@@ -168,13 +168,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
, shaka::media::AesPatternCryptor
InjectClockForTesting()
-: shaka::MpdBuilder
+: shaka::MpdBuilder
InjectPesPacketGeneratorForTesting()
-: shaka::media::mp2t::TsSegmenter
+: shaka::media::mp2t::TsSegmenter
InjectTsWriterForTesting()
-: shaka::media::mp2t::TsSegmenter
+: shaka::media::mp2t::TsSegmenter
IsAAC()
: shaka::media::ESDescriptor
@@ -213,7 +213,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_k.html b/docs/functions_k.html
index 00281db104..cf31ec7182 100644
--- a/docs/functions_k.html
+++ b/docs/functions_k.html
@@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_l.html b/docs/functions_l.html
index 6c8d0945d8..071f6da683 100644
--- a/docs/functions_l.html
+++ b/docs/functions_l.html
@@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_m.html b/docs/functions_m.html
index 385c8c2894..5b3607e7f6 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 2bf6784658..2b992bb620 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 c4231dfd01..5df0170625 100644
--- a/docs/functions_o.html
+++ b/docs/functions_o.html
@@ -196,7 +196,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_p.html b/docs/functions_p.html
index 8bc7f3f6ba..9778b39703 100644
--- a/docs/functions_p.html
+++ b/docs/functions_p.html
@@ -234,7 +234,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_r.html b/docs/functions_r.html
index 8ce25c34f7..a462c86a70 100644
--- a/docs/functions_r.html
+++ b/docs/functions_r.html
@@ -183,7 +183,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::IoCache
Representation()
-: shaka::Representation
+: shaka::Representation
Reset()
: shaka::media::ByteQueue
@@ -201,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_s.html b/docs/functions_s.html
index 8f91aeb623..c31d37a929 100644
--- a/docs/functions_s.html
+++ b/docs/functions_s.html
@@ -172,7 +172,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::mp2t::PesPacket
set_key_fetcher()
-: shaka::media::WidevineKeySource
+: shaka::media::WidevineKeySource
set_nalu_length_size()
: shaka::media::DecoderConfigurationRecord
@@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::mp2t::PesPacket
set_signer()
-: shaka::media::WidevineKeySource
+: shaka::media::WidevineKeySource
set_stream_id()
: shaka::media::mp2t::PesPacket
@@ -199,7 +199,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::xml::XmlNode
SetEncryptionKey()
-: shaka::media::mp2t::PesPacketGenerator
+: shaka::media::mp2t::PesPacketGenerator
SetError()
: shaka::media::Status
@@ -220,17 +220,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
: shaka::media::AesCryptor
SetKeySource()
-: shaka::media::Demuxer
+: shaka::media::Demuxer
, shaka::media::Muxer
SetMuxerListener()
-: shaka::media::Muxer
+: shaka::media::Muxer
SetProgramMapTableWriterForTesting()
-: shaka::media::mp2t::TsWriter
+: shaka::media::mp2t::TsWriter
SetProgressListener()
-: shaka::media::Muxer
+: shaka::media::Muxer
SetSampleDuration()
: shaka::Representation
@@ -300,7 +300,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_t.html b/docs/functions_t.html
index 3649864d1b..9e6f9087de 100644
--- a/docs/functions_t.html
+++ b/docs/functions_t.html
@@ -182,7 +182,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_type.html b/docs/functions_type.html
index 9288f94621..9207d3b187 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 a0c1a97f40..391a19a410 100644
--- a/docs/functions_u.html
+++ b/docs/functions_u.html
@@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_v.html b/docs/functions_v.html
index df68ae250a..7920c3b356 100644
--- a/docs/functions_v.html
+++ b/docs/functions_v.html
@@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_vars.html b/docs/functions_vars.html
index 0836945dd2..dccd416be3 100644
--- a/docs/functions_vars.html
+++ b/docs/functions_vars.html
@@ -145,7 +145,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_w.html b/docs/functions_w.html
index 262f209384..e57a514d3f 100644
--- a/docs/functions_w.html
+++ b/docs/functions_w.html
@@ -182,7 +182,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_x.html b/docs/functions_x.html
index 2547e4d8ad..19d80fdc31 100644
--- a/docs/functions_x.html
+++ b/docs/functions_x.html
@@ -129,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/functions_~.html b/docs/functions_~.html
index 1df7f0437e..00f38c803e 100644
--- a/docs/functions_~.html
+++ b/docs/functions_~.html
@@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/hierarchy.html b/docs/hierarchy.html
index 8c58889105..1761ade00b 100644
--- a/docs/hierarchy.html
+++ b/docs/hierarchy.html
@@ -368,7 +368,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/index.html b/docs/index.html
index 3d77d98f18..4fae1a1443 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 eff2650383..e3663702b4 100644
--- a/docs/namespacemembers.html
+++ b/docs/namespacemembers.html
@@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/namespacemembers_func.html b/docs/namespacemembers_func.html
index b6e3a5e22a..a92e25fe20 100644
--- a/docs/namespacemembers_func.html
+++ b/docs/namespacemembers_func.html
@@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/docs/namespaces.html b/docs/namespaces.html
index 1dde94701f..908d21d4fb 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_0.js b/docs/search/all_0.js
index 5e5990c7a3..fcbe6dfd1e 100644
--- a/docs/search/all_0.js
+++ b/docs/search/all_0.js
@@ -16,7 +16,7 @@ var searchData=
['addliveonlyinfo',['AddLiveOnlyInfo',['../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html#ae9ff190e1a653a348b00b5edd9d6cc60',1,'shaka::xml::RepresentationXmlNode']]],
['addnalu',['AddNalu',['../de/de0/classshaka_1_1media_1_1DecoderConfigurationRecord.html#a6b2234ce5bdffaaaad217414df314598',1,'shaka::media::DecoderConfigurationRecord']]],
['addnewsegment',['AddNewSegment',['../de/d52/classshaka_1_1Representation.html#a6ca8bbfd34ef8ca782d2ef18aeaad932',1,'shaka::Representation']]],
- ['addpespacket',['AddPesPacket',['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#a8b2b5caa68f34a332a377524a5f23e61',1,'shaka::media::mp2t::TsWriter']]],
+ ['addpespacket',['AddPesPacket',['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#a19a7699df7ac129aedfdff074a8a18a3',1,'shaka::media::mp2t::TsWriter']]],
['addrepresentation',['AddRepresentation',['../d8/d8e/classshaka_1_1AdaptationSet.html#a124e3c1ba5e3209f3214a556ecae28c3',1,'shaka::AdaptationSet']]],
['addrole',['AddRole',['../d8/d8e/classshaka_1_1AdaptationSet.html#ae96ad89ec7cc7d5ef1db467a9cf13730',1,'shaka::AdaptationSet']]],
['addroleelement',['AddRoleElement',['../d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html#a2718eede55bb89447a74ff802b95fdb1',1,'shaka::xml::AdaptationSetXmlNode']]],
@@ -39,7 +39,7 @@ var searchData=
['aesctrencryptor',['AesCtrEncryptor',['../d0/dd8/classshaka_1_1media_1_1AesCtrEncryptor.html',1,'shaka::media']]],
['aesencryptor',['AesEncryptor',['../d3/d75/classshaka_1_1media_1_1AesEncryptor.html#a873b0794baca91b36dbc484fc9c37e58',1,'shaka::media::AesEncryptor']]],
['aesencryptor',['AesEncryptor',['../d3/d75/classshaka_1_1media_1_1AesEncryptor.html',1,'shaka::media']]],
- ['aespatterncryptor',['AesPatternCryptor',['../d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html#ad76aebd0a9f7cc78f6f841cbce359107',1,'shaka::media::AesPatternCryptor']]],
+ ['aespatterncryptor',['AesPatternCryptor',['../d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html#abb94f2d6a527b12854e81839fd10e1d5',1,'shaka::media::AesPatternCryptor']]],
['aespatterncryptor',['AesPatternCryptor',['../d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html',1,'shaka::media']]],
['aesrequestsigner',['AesRequestSigner',['../d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html',1,'shaka::media']]],
['appendint',['AppendInt',['../dc/d41/classshaka_1_1media_1_1BufferWriter.html#abd8854feedd8b45146eb04dacf7d5b2f',1,'shaka::media::BufferWriter']]],
diff --git a/docs/search/all_10.js b/docs/search/all_10.js
index 6c77573f68..7dda612aaf 100644
--- a/docs/search/all_10.js
+++ b/docs/search/all_10.js
@@ -36,26 +36,26 @@ var searchData=
['segmenttype',['SegmentType',['../d3/dd0/structshaka_1_1media_1_1mp4_1_1SegmentType.html',1,'shaka::media::mp4']]],
['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']]],
- ['set_5fkey_5ffetcher',['set_key_fetcher',['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#afc5154b2994b5fe1f8f0c494bbd2bcdd',1,'shaka::media::WidevineKeySource']]],
+ ['set_5fkey_5ffetcher',['set_key_fetcher',['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#a97c0565df9381e178ebb50c193cebd04',1,'shaka::media::WidevineKeySource']]],
['set_5fnalu_5flength_5fsize',['set_nalu_length_size',['../de/de0/classshaka_1_1media_1_1DecoderConfigurationRecord.html#ab0c889c2382b6f41ad1993c136b03d07',1,'shaka::media::DecoderConfigurationRecord']]],
['set_5fpts',['set_pts',['../d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html#a02ffa1c0ad370f047e6f09b6bbc8b3b8',1,'shaka::media::mp2t::PesPacket']]],
- ['set_5fsigner',['set_signer',['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#abdff0d3cc5f59b744c68b11b0c1f6272',1,'shaka::media::WidevineKeySource']]],
+ ['set_5fsigner',['set_signer',['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#a48d182da15ecc85e2ae7fd164ba0a526',1,'shaka::media::WidevineKeySource']]],
['set_5fstream_5fid',['set_stream_id',['../d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html#ad4be259c146b57f61f41638970839fc4',1,'shaka::media::mp2t::PesPacket']]],
['set_5fuse_5fdecoding_5ftimestamp_5fin_5ftimeline',['set_use_decoding_timestamp_in_timeline',['../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#a6f9d467d7188160ee445b74b6f0905f4',1,'shaka::media::mp4::Fragmenter']]],
['setcluster',['SetCluster',['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a6060ddc97c58e4435d1db932de17e131',1,'shaka::media::webm::Segmenter']]],
['setcomplete',['SetComplete',['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#adea4bf88a29660bd8612ae3bc5048068',1,'shaka::media::mp4::Segmenter']]],
['setcontent',['SetContent',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a73d758186470e7dbcb4f4339eb53458c',1,'shaka::xml::XmlNode']]],
- ['setencryptionkey',['SetEncryptionKey',['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#a346abd50baa9a1e6e42a49ba60f5f916',1,'shaka::media::mp2t::PesPacketGenerator']]],
+ ['setencryptionkey',['SetEncryptionKey',['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#acc603c661a6e0c592091b8bde5a77e3a',1,'shaka::media::mp2t::PesPacketGenerator']]],
['seterror',['SetError',['../d0/d93/classshaka_1_1media_1_1Status.html#a26903fbb0ee18f6b8d7cd441e922b644',1,'shaka::media::Status']]],
['setfloatingpointattribute',['SetFloatingPointAttribute',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ac4b6c261b14ffe83e9820b76b16af1ba',1,'shaka::xml::XmlNode']]],
['setgroup',['SetGroup',['../d8/d8e/classshaka_1_1AdaptationSet.html#ae1f56e719f289e61c27ec51457d697af',1,'shaka::AdaptationSet']]],
['setid',['SetId',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a7479055041708fb681957a838e7ecc1f',1,'shaka::xml::XmlNode']]],
['setintegerattribute',['SetIntegerAttribute',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ab15dbcc1a051218dc16f44584276ad20',1,'shaka::xml::XmlNode']]],
['setiv',['SetIv',['../df/d87/classshaka_1_1media_1_1AesCryptor.html#a4875146da4761bb757d6b00132ae6fea',1,'shaka::media::AesCryptor']]],
- ['setkeysource',['SetKeySource',['../dd/d17/classshaka_1_1media_1_1Demuxer.html#acad9afa8ef3b5682324a4ded402ab93a',1,'shaka::media::Demuxer::SetKeySource()'],['../df/d46/classshaka_1_1media_1_1Muxer.html#a021fdae2adc98716b1c8ee7617ab917b',1,'shaka::media::Muxer::SetKeySource()']]],
- ['setmuxerlistener',['SetMuxerListener',['../df/d46/classshaka_1_1media_1_1Muxer.html#a786fbb91d7ece58c68334f5cef16ae71',1,'shaka::media::Muxer']]],
- ['setprogrammaptablewriterfortesting',['SetProgramMapTableWriterForTesting',['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#a0bead9b328bf6c7c9d5bc6997fea2971',1,'shaka::media::mp2t::TsWriter']]],
- ['setprogresslistener',['SetProgressListener',['../df/d46/classshaka_1_1media_1_1Muxer.html#a0a2dfb3924ce1307f98c339e6587369c',1,'shaka::media::Muxer']]],
+ ['setkeysource',['SetKeySource',['../dd/d17/classshaka_1_1media_1_1Demuxer.html#abfcf3a9a3f64c0e27497c72324049a1e',1,'shaka::media::Demuxer::SetKeySource()'],['../df/d46/classshaka_1_1media_1_1Muxer.html#a021fdae2adc98716b1c8ee7617ab917b',1,'shaka::media::Muxer::SetKeySource()']]],
+ ['setmuxerlistener',['SetMuxerListener',['../df/d46/classshaka_1_1media_1_1Muxer.html#a0e76dd0a5c07dd538221459365ae824a',1,'shaka::media::Muxer']]],
+ ['setprogrammaptablewriterfortesting',['SetProgramMapTableWriterForTesting',['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#a6eeeadf8e60dc09378b5df7c62eb2bf0',1,'shaka::media::mp2t::TsWriter']]],
+ ['setprogresslistener',['SetProgressListener',['../df/d46/classshaka_1_1media_1_1Muxer.html#a25a146d553c385aad70dbff6b3e87eec',1,'shaka::media::Muxer']]],
['setsampleduration',['SetSampleDuration',['../de/d52/classshaka_1_1Representation.html#a11b32833166b9c4bea78cca2c6069d98',1,'shaka::Representation']]],
['setstringattribute',['SetStringAttribute',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#afc83f9dbaedc8ba0fc9cc1153ac23329',1,'shaka::xml::XmlNode']]],
['settswriterfileopenedfortesting',['SetTsWriterFileOpenedForTesting',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#a34ab9fbaee43115d68be87e4b9e90918',1,'shaka::media::mp2t::TsSegmenter']]],
diff --git a/docs/search/all_2.js b/docs/search/all_2.js
index f2d4826b0b..98c4c094eb 100644
--- a/docs/search/all_2.js
+++ b/docs/search/all_2.js
@@ -39,12 +39,12 @@ var searchData=
['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#a3fac8e4cc8da3b34ef5f698411ec868b',1,'shaka::media::MediaSample::CopyFrom(const uint8_t *data, size_t size, bool is_key_frame)'],['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#a99f83b1803101853aa03bda8f1251e8c',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)']]],
['create',['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#adbb73df6171a6caa80cf34c7d63c650d',1,'shaka::media::SegmentTestBase']]],
+ ['createandinitializesegmenter',['CreateAndInitializeSegmenter',['../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a742824b930ae928f12214a5e350adc64',1,'shaka::media::SegmentTestBase']]],
['createbox',['CreateBox',['../d0/dd4/classshaka_1_1media_1_1ProtectionSystemSpecificInfo.html#af9b917cb91b6c10ee7a6f5b41fc7e0d9',1,'shaka::media::ProtectionSystemSpecificInfo']]],
['createemptymediasample',['CreateEmptyMediaSample',['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#a59e7bbd2ee8cfa1697093d14d16a6c4d',1,'shaka::media::MediaSample']]],
['createencryptor',['CreateEncryptor',['../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a4220479b2dd98b462ff4dd4afcf56d0e',1,'shaka::media::mp4::EncryptingFragmenter']]],
['createeosbuffer',['CreateEOSBuffer',['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#a925efca004ebbcf3cf71f690a3e43788',1,'shaka::media::MediaSample']]],
- ['createfromhexstrings',['CreateFromHexStrings',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a091b4ea22419b73f8532db862f985f99',1,'shaka::media::FixedKeySource']]],
+ ['createfromhexstrings',['CreateFromHexStrings',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a9a91ba439d785022a1e2ceeaa9ebe81a',1,'shaka::media::FixedKeySource']]],
['createmuxeroptions',['CreateMuxerOptions',['../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a89d5ae5a78134e108a4fe4adb6f79e4e',1,'shaka::media::SegmentTestBase']]],
['createsample',['CreateSample',['../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#aa6d43e2cc9d3abe023c037c87807f2ed',1,'shaka::media::SegmentTestBase']]],
['createsigner',['CreateSigner',['../d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html#a43f4cc9fad9901fa905805be81f7d58c',1,'shaka::media::AesRequestSigner::CreateSigner()'],['../d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html#af6af635a7c0a01bb638befb71b88386c',1,'shaka::media::RsaRequestSigner::CreateSigner()']]],
diff --git a/docs/search/all_4.js b/docs/search/all_4.js
index 992dc90dc6..cb70b52f7e 100644
--- a/docs/search/all_4.js
+++ b/docs/search/all_4.js
@@ -11,7 +11,7 @@ var searchData=
['encrypt',['Encrypt',['../d9/d0c/classshaka_1_1media_1_1RsaPublicKey.html#ab9dcf591f3235b8f4eaa02886f9845e3',1,'shaka::media::RsaPublicKey']]],
['encryptedsegmentpmt',['EncryptedSegmentPmt',['../dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html#a7f40bf474758b80e57fede27c2610756',1,'shaka::media::mp2t::ProgramMapTableWriter::EncryptedSegmentPmt()'],['../de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html#a14d7933ee669e7c5daeb8d03f2f0b1d0',1,'shaka::media::mp2t::H264ProgramMapTableWriter::EncryptedSegmentPmt()'],['../d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html#a37616e314cb20775644b9c5e3417f8e5',1,'shaka::media::mp2t::AacProgramMapTableWriter::EncryptedSegmentPmt()']]],
['encryptframe',['EncryptFrame',['../de/dfa/classshaka_1_1media_1_1webm_1_1Encryptor.html#a3bfe9e0d99652811cb785832529f3d3c',1,'shaka::media::webm::Encryptor']]],
- ['encryptingfragmenter',['EncryptingFragmenter',['../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a5a331edd7e75f6cd15ccbe9c688440a4',1,'shaka::media::mp4::EncryptingFragmenter']]],
+ ['encryptingfragmenter',['EncryptingFragmenter',['../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a3c1c1037b7d9e6edf1f476434705c3d5',1,'shaka::media::mp4::EncryptingFragmenter']]],
['encryptingfragmenter',['EncryptingFragmenter',['../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html',1,'shaka::media::mp4']]],
['encryptionkey',['EncryptionKey',['../dd/dbd/structshaka_1_1media_1_1EncryptionKey.html',1,'shaka::media']]],
['encryptor',['Encryptor',['../de/dfa/classshaka_1_1media_1_1webm_1_1Encryptor.html',1,'shaka::media::webm']]],
diff --git a/docs/search/all_6.js b/docs/search/all_6.js
index 91432de582..b3009b495d 100644
--- a/docs/search/all_6.js
+++ b/docs/search/all_6.js
@@ -13,7 +13,7 @@ var searchData=
['getcontenttype',['GetContentType',['../d8/daf/namespaceshaka.html#a5ea880937da26d677ff6a48c0219d090',1,'shaka']]],
['getcryptoperiodkey',['GetCryptoPeriodKey',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#afa9abf3a9104cbcb4711eac65c8a5bdf',1,'shaka::media::FixedKeySource::GetCryptoPeriodKey()'],['../d1/d1f/classshaka_1_1media_1_1KeySource.html#a18806b962c858e35ed07753687605b16',1,'shaka::media::KeySource::GetCryptoPeriodKey()'],['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#ab56a71e9f9f9e545f96e667279c05bb1',1,'shaka::media::WidevineKeySource::GetCryptoPeriodKey()']]],
['getdecoderconfigurationrecord',['GetDecoderConfigurationRecord',['../d8/d08/classshaka_1_1media_1_1H264ByteToUnitStreamConverter.html#a6a7a73841ded1942364f88aad90dcbc9',1,'shaka::media::H264ByteToUnitStreamConverter::GetDecoderConfigurationRecord()'],['../db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html#a9a866e255a2b267f2b44d0156c479de9',1,'shaka::media::H265ByteToUnitStreamConverter::GetDecoderConfigurationRecord()'],['../de/dea/classshaka_1_1media_1_1H26xByteToUnitStreamConverter.html#a57f8a71d948f27303ba41dd5aafb5445',1,'shaka::media::H26xByteToUnitStreamConverter::GetDecoderConfigurationRecord()']]],
- ['getdecryptconfig',['GetDecryptConfig',['../de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html#a1badd6160074e1bc2ef0f1e289a81524',1,'shaka::media::mp4::TrackRunIterator']]],
+ ['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::GetDuration()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a277aeb59ed41fc484a86101d565017ae',1,'shaka::media::webm::Segmenter::GetDuration()']]],
['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()']]],
@@ -24,7 +24,7 @@ var searchData=
['getkey',['GetKey',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a267d1f36d1c015fd5e8c20b93f270d0a',1,'shaka::media::FixedKeySource::GetKey(TrackType track_type, EncryptionKey *key) override'],['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a58f9eae1ce9148a82f70118879b6c3f1',1,'shaka::media::FixedKeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key) override'],['../d1/d1f/classshaka_1_1media_1_1KeySource.html#a994eb66cf09d8b08fd1c964f6afd3ab3',1,'shaka::media::KeySource::GetKey(TrackType track_type, EncryptionKey *key)=0'],['../d1/d1f/classshaka_1_1media_1_1KeySource.html#ae33f2cdbd045572095acd7b8d6c1a789',1,'shaka::media::KeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key)=0'],['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#a59a16d61c6a6d05745e8b49fd3618deb',1,'shaka::media::WidevineKeySource::GetKey(TrackType track_type, EncryptionKey *key) override'],['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#a59699cd998290adae74e6596ba44fdc3',1,'shaka::media::WidevineKeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key) override']]],
['getmaxclearoffset',['GetMaxClearOffset',['../de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html#ae7a223474c46dd542e7390030893cca4',1,'shaka::media::mp4::TrackRunIterator']]],
['getnext',['GetNext',['../d8/dd6/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter.html#a63950483c11df9c44e3cb8d559f629d9',1,'shaka::media::mp2t::ContinuityCounter']]],
- ['getnextpespacket',['GetNextPesPacket',['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#a9834c58c732715a51c57a2a6385a761b',1,'shaka::media::mp2t::PesPacketGenerator']]],
+ ['getnextpespacket',['GetNextPesPacket',['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#acf11010f62ab9d2b46308f2cce8b3650',1,'shaka::media::mp2t::PesPacketGenerator']]],
['getnumchannels',['GetNumChannels',['../d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html#a2bacb4e7337248bca9e678268e3db491',1,'shaka::media::AACAudioSpecificConfig::GetNumChannels()'],['../d3/d0c/classshaka_1_1media_1_1mp2t_1_1AdtsHeader.html#aaa01e3eb1ce9d4400aedd202b04f7160',1,'shaka::media::mp2t::AdtsHeader::GetNumChannels()']]],
['getobjecttype',['GetObjectType',['../d3/d0c/classshaka_1_1media_1_1mp2t_1_1AdtsHeader.html#a156a3288ab974557e95dfaba72e6b479',1,'shaka::media::mp2t::AdtsHeader']]],
['getoutputsamplespersecond',['GetOutputSamplesPerSecond',['../d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html#a1e34ba8152e2c09452edcdd7e5eb1bcd',1,'shaka::media::AACAudioSpecificConfig']]],
diff --git a/docs/search/all_8.js b/docs/search/all_8.js
index 530e092925..0dc60ec063 100644
--- a/docs/search/all_8.js
+++ b/docs/search/all_8.js
@@ -5,12 +5,12 @@ var searchData=
['ignorebytes',['IgnoreBytes',['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a1a0c70e3124677ae08164f7b89f6a1d4',1,'shaka::media::mp4::BoxBuffer']]],
['init',['Init',['../d3/d0a/classshaka_1_1media_1_1MediaParser.html#adc7c91bebe75879abba91a56dae52153',1,'shaka::media::MediaParser::Init()'],['../d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#aa2aff12312827aacf2b7db6e2f792c52',1,'shaka::media::mp2t::Mp2tMediaParser::Init()'],['../d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html#acc87b9752a7f6e8c739109acbc02b69d',1,'shaka::media::mp4::MP4MediaParser::Init()'],['../de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html#ae9f02c32b4e2be8fc41a20f3f00f3494',1,'shaka::media::mp4::TrackRunIterator::Init()'],['../de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html#a4d39eaf8568da29b597411c56f50d86f',1,'shaka::media::mp4::TrackRunIterator::Init(const MovieFragment &moof)'],['../d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html#a5cd5c298938e2c58c45f962b21e43b2e',1,'shaka::media::WebMMediaParser::Init()'],['../dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html#af6c0fb7de806cccd0e1f9dd92b5310f3',1,'shaka::media::WebVttMediaParser::Init()'],['../dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html#a6f931f1702724a9b19c3078a7832bc77',1,'shaka::media::wvm::WvmMediaParser::Init()'],['../d4/d70/classshaka_1_1DashIopMpdNotifier.html#a9dd9d655a538ff2618634ca1f9809478',1,'shaka::DashIopMpdNotifier::Init()'],['../de/d52/classshaka_1_1Representation.html#ae998409ae94f3ba12909a96e8f3f4f7e',1,'shaka::Representation::Init()'],['../d3/dd0/classshaka_1_1MpdNotifier.html#ad6171481d6fb437767b1f5b9e0dac1a3',1,'shaka::MpdNotifier::Init()'],['../d8/de1/classshaka_1_1SimpleMpdNotifier.html#a59bcb401b5ca8d5b893ec7da9461569f',1,'shaka::SimpleMpdNotifier::Init()']]],
['initcb',['InitCB',['../d3/d0a/classshaka_1_1media_1_1MediaParser.html#a95d25a50ad371304f1abce9971ce3704',1,'shaka::media::MediaParser']]],
- ['initialize',['Initialize',['../dd/d17/classshaka_1_1media_1_1Demuxer.html#a436ed9fd2a3ddd78056ec7cf656fd9ad',1,'shaka::media::Demuxer::Initialize()'],['../d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html#aa84e36b83b1caa2b1f726c4d3cff3d6d',1,'shaka::media::NalUnitToByteStreamConverter::Initialize()'],['../dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html#a862422cdf78f370069055037338fa53d',1,'shaka::media::VideoSliceHeaderParser::Initialize()'],['../da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html#a551bd1e2a852d1a3b23b77df8505b7f7',1,'shaka::media::H264VideoSliceHeaderParser::Initialize()'],['../d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html#a83a25520f713f4818a765ea3324a1438',1,'shaka::media::H265VideoSliceHeaderParser::Initialize()'],['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#aa0346189f99b2f0fc2c71da1543155fa',1,'shaka::media::mp2t::PesPacketGenerator::Initialize()'],['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#a412be69ae8e18c5ceb3c48d1559c79c2',1,'shaka::media::mp2t::TsSegmenter::Initialize()'],['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#a6bee605be771538f78633e2ecfc979c6',1,'shaka::media::mp2t::TsWriter::Initialize()'],['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a0440c751fd818964397d17330acc7afc',1,'shaka::media::mp4::Segmenter::Initialize()'],['../de/dfa/classshaka_1_1media_1_1webm_1_1Encryptor.html#afa6065049fad093b96643b9e3d70595f',1,'shaka::media::webm::Encryptor::Initialize()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a144b19be7c3f693b06da2fbe2e40587a',1,'shaka::media::webm::Segmenter::Initialize()']]],
+ ['initialize',['Initialize',['../dd/d17/classshaka_1_1media_1_1Demuxer.html#a436ed9fd2a3ddd78056ec7cf656fd9ad',1,'shaka::media::Demuxer::Initialize()'],['../d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html#aa84e36b83b1caa2b1f726c4d3cff3d6d',1,'shaka::media::NalUnitToByteStreamConverter::Initialize()'],['../dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html#a862422cdf78f370069055037338fa53d',1,'shaka::media::VideoSliceHeaderParser::Initialize()'],['../da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html#a551bd1e2a852d1a3b23b77df8505b7f7',1,'shaka::media::H264VideoSliceHeaderParser::Initialize()'],['../d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html#a83a25520f713f4818a765ea3324a1438',1,'shaka::media::H265VideoSliceHeaderParser::Initialize()'],['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#aa0346189f99b2f0fc2c71da1543155fa',1,'shaka::media::mp2t::PesPacketGenerator::Initialize()'],['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#a412be69ae8e18c5ceb3c48d1559c79c2',1,'shaka::media::mp2t::TsSegmenter::Initialize()'],['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#a6bee605be771538f78633e2ecfc979c6',1,'shaka::media::mp2t::TsWriter::Initialize()'],['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a0440c751fd818964397d17330acc7afc',1,'shaka::media::mp4::Segmenter::Initialize()'],['../de/dfa/classshaka_1_1media_1_1webm_1_1Encryptor.html#afa6065049fad093b96643b9e3d70595f',1,'shaka::media::webm::Encryptor::Initialize()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#aa6b32c805c4e662d97244531723ce9eb',1,'shaka::media::webm::Segmenter::Initialize()']]],
['initializefragment',['InitializeFragment',['../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a126294f104809268975fe04391902ad3',1,'shaka::media::mp4::EncryptingFragmenter::InitializeFragment()'],['../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#aa702c2af5ea5096d94f2943076a21e4a',1,'shaka::media::mp4::Fragmenter::InitializeFragment()']]],
['initializewithiv',['InitializeWithIv',['../df/d87/classshaka_1_1media_1_1AesCryptor.html#a41954df34b76b04d561892732dd0ec2f',1,'shaka::media::AesCryptor::InitializeWithIv()'],['../df/d2d/classshaka_1_1media_1_1AesCbcDecryptor.html#a71ff0b9654de96f9990b29c35fa9b7bf',1,'shaka::media::AesCbcDecryptor::InitializeWithIv()'],['../d3/d75/classshaka_1_1media_1_1AesEncryptor.html#a0695df5615cadf6977fdbac978daeffa',1,'shaka::media::AesEncryptor::InitializeWithIv()'],['../d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html#af878688f0f277f3f6757e85654439c34',1,'shaka::media::AesPatternCryptor::InitializeWithIv()']]],
- ['injectclockfortesting',['InjectClockForTesting',['../dc/da1/classshaka_1_1MpdBuilder.html#a723afe73b9d619a1178ae21e46fd7450',1,'shaka::MpdBuilder']]],
- ['injectpespacketgeneratorfortesting',['InjectPesPacketGeneratorForTesting',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#a01c6ce7398b8e7a9966959dadcd30b25',1,'shaka::media::mp2t::TsSegmenter']]],
- ['injecttswriterfortesting',['InjectTsWriterForTesting',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#a2bf9d53ebc0a42551e7c460d9464650d',1,'shaka::media::mp2t::TsSegmenter']]],
+ ['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']]],
['isaac',['IsAAC',['../d5/d13/classshaka_1_1media_1_1ESDescriptor.html#a47592ec424dc9dd2beb5cc0f505e6681',1,'shaka::media::ESDescriptor']]],
['iskeyframe',['IsKeyframe',['../d8/d14/classshaka_1_1media_1_1VP8Parser.html#afae2dcb0c2652d53f2e23c9d3c07db37',1,'shaka::media::VP8Parser::IsKeyframe()'],['../db/d5a/classshaka_1_1media_1_1VP9Parser.html#a52e6a17fa34c5676cd0cdc547cb355a5',1,'shaka::media::VP9Parser::IsKeyframe()']]],
diff --git a/docs/search/all_b.js b/docs/search/all_b.js
index 170eb47d48..a463e32d7c 100644
--- a/docs/search/all_b.js
+++ b/docs/search/all_b.js
@@ -37,8 +37,8 @@ var searchData=
['mpdnotifymuxerlistener',['MpdNotifyMuxerListener',['../d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html',1,'shaka::media']]],
['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']]],
['multisegmentsegmenter',['MultiSegmentSegmenter',['../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html',1,'shaka::media::webm']]],
+ ['multisegmentsegmenter',['MultiSegmentSegmenter',['../d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html',1,'shaka::media::mp4']]],
['mutable_5fdata',['mutable_data',['../d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html#a41aa532d0953db4ed9308ad176c6d878',1,'shaka::media::mp2t::PesPacket']]],
['muxer',['Muxer',['../df/d46/classshaka_1_1media_1_1Muxer.html',1,'shaka::media']]],
['muxerlistener',['MuxerListener',['../dd/d7a/classshaka_1_1media_1_1MuxerListener.html',1,'shaka::media']]],
diff --git a/docs/search/all_f.js b/docs/search/all_f.js
index 953ce53adf..a61850ad5b 100644
--- a/docs/search/all_f.js
+++ b/docs/search/all_f.js
@@ -19,7 +19,7 @@ var searchData=
['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#ad029323166bb60175a2369c3e887dca0',1,'shaka::Representation']]],
+ ['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']]],
['representationstatechangelistener',['RepresentationStateChangeListener',['../df/d94/classshaka_1_1RepresentationStateChangeListener.html',1,'shaka']]],
['representationxmlnode',['RepresentationXmlNode',['../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html',1,'shaka::xml']]],
diff --git a/docs/search/classes_a.js b/docs/search/classes_a.js
index 1f95a411a9..1a88d08c76 100644
--- a/docs/search/classes_a.js
+++ b/docs/search/classes_a.js
@@ -30,8 +30,8 @@ var searchData=
['mpdnotifymuxerlistener',['MpdNotifyMuxerListener',['../d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html',1,'shaka::media']]],
['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']]],
['multisegmentsegmenter',['MultiSegmentSegmenter',['../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html',1,'shaka::media::webm']]],
+ ['multisegmentsegmenter',['MultiSegmentSegmenter',['../d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html',1,'shaka::media::mp4']]],
['muxer',['Muxer',['../df/d46/classshaka_1_1media_1_1Muxer.html',1,'shaka::media']]],
['muxerlistener',['MuxerListener',['../dd/d7a/classshaka_1_1media_1_1MuxerListener.html',1,'shaka::media']]],
['muxeroptions',['MuxerOptions',['../d0/d27/structshaka_1_1media_1_1MuxerOptions.html',1,'shaka::media']]]
diff --git a/docs/search/functions_0.js b/docs/search/functions_0.js
index 6412d98eb7..25f5f48e4c 100644
--- a/docs/search/functions_0.js
+++ b/docs/search/functions_0.js
@@ -11,7 +11,7 @@ var searchData=
['addliveonlyinfo',['AddLiveOnlyInfo',['../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html#ae9ff190e1a653a348b00b5edd9d6cc60',1,'shaka::xml::RepresentationXmlNode']]],
['addnalu',['AddNalu',['../de/de0/classshaka_1_1media_1_1DecoderConfigurationRecord.html#a6b2234ce5bdffaaaad217414df314598',1,'shaka::media::DecoderConfigurationRecord']]],
['addnewsegment',['AddNewSegment',['../de/d52/classshaka_1_1Representation.html#a6ca8bbfd34ef8ca782d2ef18aeaad932',1,'shaka::Representation']]],
- ['addpespacket',['AddPesPacket',['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#a8b2b5caa68f34a332a377524a5f23e61',1,'shaka::media::mp2t::TsWriter']]],
+ ['addpespacket',['AddPesPacket',['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#a19a7699df7ac129aedfdff074a8a18a3',1,'shaka::media::mp2t::TsWriter']]],
['addrepresentation',['AddRepresentation',['../d8/d8e/classshaka_1_1AdaptationSet.html#a124e3c1ba5e3209f3214a556ecae28c3',1,'shaka::AdaptationSet']]],
['addrole',['AddRole',['../d8/d8e/classshaka_1_1AdaptationSet.html#ae96ad89ec7cc7d5ef1db467a9cf13730',1,'shaka::AdaptationSet']]],
['addroleelement',['AddRoleElement',['../d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html#a2718eede55bb89447a74ff802b95fdb1',1,'shaka::xml::AdaptationSetXmlNode']]],
@@ -28,7 +28,7 @@ var searchData=
['aescbcencryptor',['AesCbcEncryptor',['../d4/d20/classshaka_1_1media_1_1AesCbcEncryptor.html#a2cc8f20b92d884d959b3a586b527fece',1,'shaka::media::AesCbcEncryptor::AesCbcEncryptor(CbcPaddingScheme padding_scheme)'],['../d4/d20/classshaka_1_1media_1_1AesCbcEncryptor.html#adbe4df9a37be949487a806301d143230',1,'shaka::media::AesCbcEncryptor::AesCbcEncryptor(CbcPaddingScheme padding_scheme, ConstantIvFlag constant_iv_flag)']]],
['aescryptor',['AesCryptor',['../df/d87/classshaka_1_1media_1_1AesCryptor.html#a47fbdacc296fbddd899c47ec0c17e5e8',1,'shaka::media::AesCryptor']]],
['aesencryptor',['AesEncryptor',['../d3/d75/classshaka_1_1media_1_1AesEncryptor.html#a873b0794baca91b36dbc484fc9c37e58',1,'shaka::media::AesEncryptor']]],
- ['aespatterncryptor',['AesPatternCryptor',['../d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html#ad76aebd0a9f7cc78f6f841cbce359107',1,'shaka::media::AesPatternCryptor']]],
+ ['aespatterncryptor',['AesPatternCryptor',['../d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html#abb94f2d6a527b12854e81839fd10e1d5',1,'shaka::media::AesPatternCryptor']]],
['appendint',['AppendInt',['../dc/d41/classshaka_1_1media_1_1BufferWriter.html#abd8854feedd8b45146eb04dacf7d5b2f',1,'shaka::media::BufferWriter']]],
['appendnbytes',['AppendNBytes',['../dc/d41/classshaka_1_1media_1_1BufferWriter.html#ae44b09c03c9b8f0fbf58deb80355f299',1,'shaka::media::BufferWriter']]],
['audio_5fdescription',['audio_description',['../de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html#adb40e673e8025ca51740a50eb20d89b2',1,'shaka::media::mp4::TrackRunIterator']]],
diff --git a/docs/search/functions_10.js b/docs/search/functions_10.js
index 451ec98491..319aa16974 100644
--- a/docs/search/functions_10.js
+++ b/docs/search/functions_10.js
@@ -11,26 +11,26 @@ var searchData=
['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']]],
- ['set_5fkey_5ffetcher',['set_key_fetcher',['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#afc5154b2994b5fe1f8f0c494bbd2bcdd',1,'shaka::media::WidevineKeySource']]],
+ ['set_5fkey_5ffetcher',['set_key_fetcher',['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#a97c0565df9381e178ebb50c193cebd04',1,'shaka::media::WidevineKeySource']]],
['set_5fnalu_5flength_5fsize',['set_nalu_length_size',['../de/de0/classshaka_1_1media_1_1DecoderConfigurationRecord.html#ab0c889c2382b6f41ad1993c136b03d07',1,'shaka::media::DecoderConfigurationRecord']]],
['set_5fpts',['set_pts',['../d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html#a02ffa1c0ad370f047e6f09b6bbc8b3b8',1,'shaka::media::mp2t::PesPacket']]],
- ['set_5fsigner',['set_signer',['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#abdff0d3cc5f59b744c68b11b0c1f6272',1,'shaka::media::WidevineKeySource']]],
+ ['set_5fsigner',['set_signer',['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#a48d182da15ecc85e2ae7fd164ba0a526',1,'shaka::media::WidevineKeySource']]],
['set_5fstream_5fid',['set_stream_id',['../d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html#ad4be259c146b57f61f41638970839fc4',1,'shaka::media::mp2t::PesPacket']]],
['set_5fuse_5fdecoding_5ftimestamp_5fin_5ftimeline',['set_use_decoding_timestamp_in_timeline',['../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#a6f9d467d7188160ee445b74b6f0905f4',1,'shaka::media::mp4::Fragmenter']]],
['setcluster',['SetCluster',['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a6060ddc97c58e4435d1db932de17e131',1,'shaka::media::webm::Segmenter']]],
['setcomplete',['SetComplete',['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#adea4bf88a29660bd8612ae3bc5048068',1,'shaka::media::mp4::Segmenter']]],
['setcontent',['SetContent',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a73d758186470e7dbcb4f4339eb53458c',1,'shaka::xml::XmlNode']]],
- ['setencryptionkey',['SetEncryptionKey',['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#a346abd50baa9a1e6e42a49ba60f5f916',1,'shaka::media::mp2t::PesPacketGenerator']]],
+ ['setencryptionkey',['SetEncryptionKey',['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#acc603c661a6e0c592091b8bde5a77e3a',1,'shaka::media::mp2t::PesPacketGenerator']]],
['seterror',['SetError',['../d0/d93/classshaka_1_1media_1_1Status.html#a26903fbb0ee18f6b8d7cd441e922b644',1,'shaka::media::Status']]],
['setfloatingpointattribute',['SetFloatingPointAttribute',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ac4b6c261b14ffe83e9820b76b16af1ba',1,'shaka::xml::XmlNode']]],
['setgroup',['SetGroup',['../d8/d8e/classshaka_1_1AdaptationSet.html#ae1f56e719f289e61c27ec51457d697af',1,'shaka::AdaptationSet']]],
['setid',['SetId',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a7479055041708fb681957a838e7ecc1f',1,'shaka::xml::XmlNode']]],
['setintegerattribute',['SetIntegerAttribute',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ab15dbcc1a051218dc16f44584276ad20',1,'shaka::xml::XmlNode']]],
['setiv',['SetIv',['../df/d87/classshaka_1_1media_1_1AesCryptor.html#a4875146da4761bb757d6b00132ae6fea',1,'shaka::media::AesCryptor']]],
- ['setkeysource',['SetKeySource',['../dd/d17/classshaka_1_1media_1_1Demuxer.html#acad9afa8ef3b5682324a4ded402ab93a',1,'shaka::media::Demuxer::SetKeySource()'],['../df/d46/classshaka_1_1media_1_1Muxer.html#a021fdae2adc98716b1c8ee7617ab917b',1,'shaka::media::Muxer::SetKeySource()']]],
- ['setmuxerlistener',['SetMuxerListener',['../df/d46/classshaka_1_1media_1_1Muxer.html#a786fbb91d7ece58c68334f5cef16ae71',1,'shaka::media::Muxer']]],
- ['setprogrammaptablewriterfortesting',['SetProgramMapTableWriterForTesting',['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#a0bead9b328bf6c7c9d5bc6997fea2971',1,'shaka::media::mp2t::TsWriter']]],
- ['setprogresslistener',['SetProgressListener',['../df/d46/classshaka_1_1media_1_1Muxer.html#a0a2dfb3924ce1307f98c339e6587369c',1,'shaka::media::Muxer']]],
+ ['setkeysource',['SetKeySource',['../dd/d17/classshaka_1_1media_1_1Demuxer.html#abfcf3a9a3f64c0e27497c72324049a1e',1,'shaka::media::Demuxer::SetKeySource()'],['../df/d46/classshaka_1_1media_1_1Muxer.html#a021fdae2adc98716b1c8ee7617ab917b',1,'shaka::media::Muxer::SetKeySource()']]],
+ ['setmuxerlistener',['SetMuxerListener',['../df/d46/classshaka_1_1media_1_1Muxer.html#a0e76dd0a5c07dd538221459365ae824a',1,'shaka::media::Muxer']]],
+ ['setprogrammaptablewriterfortesting',['SetProgramMapTableWriterForTesting',['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#a6eeeadf8e60dc09378b5df7c62eb2bf0',1,'shaka::media::mp2t::TsWriter']]],
+ ['setprogresslistener',['SetProgressListener',['../df/d46/classshaka_1_1media_1_1Muxer.html#a25a146d553c385aad70dbff6b3e87eec',1,'shaka::media::Muxer']]],
['setsampleduration',['SetSampleDuration',['../de/d52/classshaka_1_1Representation.html#a11b32833166b9c4bea78cca2c6069d98',1,'shaka::Representation']]],
['setstringattribute',['SetStringAttribute',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#afc83f9dbaedc8ba0fc9cc1153ac23329',1,'shaka::xml::XmlNode']]],
['settswriterfileopenedfortesting',['SetTsWriterFileOpenedForTesting',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#a34ab9fbaee43115d68be87e4b9e90918',1,'shaka::media::mp2t::TsSegmenter']]],
diff --git a/docs/search/functions_2.js b/docs/search/functions_2.js
index 58d32d1a5f..822392d6b5 100644
--- a/docs/search/functions_2.js
+++ b/docs/search/functions_2.js
@@ -22,12 +22,12 @@ var searchData=
['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#a3fac8e4cc8da3b34ef5f698411ec868b',1,'shaka::media::MediaSample::CopyFrom(const uint8_t *data, size_t size, bool is_key_frame)'],['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#a99f83b1803101853aa03bda8f1251e8c',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)']]],
['create',['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#adbb73df6171a6caa80cf34c7d63c650d',1,'shaka::media::SegmentTestBase']]],
+ ['createandinitializesegmenter',['CreateAndInitializeSegmenter',['../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a742824b930ae928f12214a5e350adc64',1,'shaka::media::SegmentTestBase']]],
['createbox',['CreateBox',['../d0/dd4/classshaka_1_1media_1_1ProtectionSystemSpecificInfo.html#af9b917cb91b6c10ee7a6f5b41fc7e0d9',1,'shaka::media::ProtectionSystemSpecificInfo']]],
['createemptymediasample',['CreateEmptyMediaSample',['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#a59e7bbd2ee8cfa1697093d14d16a6c4d',1,'shaka::media::MediaSample']]],
['createencryptor',['CreateEncryptor',['../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a4220479b2dd98b462ff4dd4afcf56d0e',1,'shaka::media::mp4::EncryptingFragmenter']]],
['createeosbuffer',['CreateEOSBuffer',['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#a925efca004ebbcf3cf71f690a3e43788',1,'shaka::media::MediaSample']]],
- ['createfromhexstrings',['CreateFromHexStrings',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a091b4ea22419b73f8532db862f985f99',1,'shaka::media::FixedKeySource']]],
+ ['createfromhexstrings',['CreateFromHexStrings',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a9a91ba439d785022a1e2ceeaa9ebe81a',1,'shaka::media::FixedKeySource']]],
['createmuxeroptions',['CreateMuxerOptions',['../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a89d5ae5a78134e108a4fe4adb6f79e4e',1,'shaka::media::SegmentTestBase']]],
['createsample',['CreateSample',['../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#aa6d43e2cc9d3abe023c037c87807f2ed',1,'shaka::media::SegmentTestBase']]],
['createsigner',['CreateSigner',['../d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html#a43f4cc9fad9901fa905805be81f7d58c',1,'shaka::media::AesRequestSigner::CreateSigner()'],['../d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html#af6af635a7c0a01bb638befb71b88386c',1,'shaka::media::RsaRequestSigner::CreateSigner()']]],
diff --git a/docs/search/functions_4.js b/docs/search/functions_4.js
index f3de324b14..06640a7bb4 100644
--- a/docs/search/functions_4.js
+++ b/docs/search/functions_4.js
@@ -5,5 +5,5 @@ var searchData=
['encrypt',['Encrypt',['../d9/d0c/classshaka_1_1media_1_1RsaPublicKey.html#ab9dcf591f3235b8f4eaa02886f9845e3',1,'shaka::media::RsaPublicKey']]],
['encryptedsegmentpmt',['EncryptedSegmentPmt',['../dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html#a7f40bf474758b80e57fede27c2610756',1,'shaka::media::mp2t::ProgramMapTableWriter::EncryptedSegmentPmt()'],['../de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html#a14d7933ee669e7c5daeb8d03f2f0b1d0',1,'shaka::media::mp2t::H264ProgramMapTableWriter::EncryptedSegmentPmt()'],['../d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html#a37616e314cb20775644b9c5e3417f8e5',1,'shaka::media::mp2t::AacProgramMapTableWriter::EncryptedSegmentPmt()']]],
['encryptframe',['EncryptFrame',['../de/dfa/classshaka_1_1media_1_1webm_1_1Encryptor.html#a3bfe9e0d99652811cb785832529f3d3c',1,'shaka::media::webm::Encryptor']]],
- ['encryptingfragmenter',['EncryptingFragmenter',['../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a5a331edd7e75f6cd15ccbe9c688440a4',1,'shaka::media::mp4::EncryptingFragmenter']]]
+ ['encryptingfragmenter',['EncryptingFragmenter',['../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a3c1c1037b7d9e6edf1f476434705c3d5',1,'shaka::media::mp4::EncryptingFragmenter']]]
];
diff --git a/docs/search/functions_6.js b/docs/search/functions_6.js
index 91432de582..b3009b495d 100644
--- a/docs/search/functions_6.js
+++ b/docs/search/functions_6.js
@@ -13,7 +13,7 @@ var searchData=
['getcontenttype',['GetContentType',['../d8/daf/namespaceshaka.html#a5ea880937da26d677ff6a48c0219d090',1,'shaka']]],
['getcryptoperiodkey',['GetCryptoPeriodKey',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#afa9abf3a9104cbcb4711eac65c8a5bdf',1,'shaka::media::FixedKeySource::GetCryptoPeriodKey()'],['../d1/d1f/classshaka_1_1media_1_1KeySource.html#a18806b962c858e35ed07753687605b16',1,'shaka::media::KeySource::GetCryptoPeriodKey()'],['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#ab56a71e9f9f9e545f96e667279c05bb1',1,'shaka::media::WidevineKeySource::GetCryptoPeriodKey()']]],
['getdecoderconfigurationrecord',['GetDecoderConfigurationRecord',['../d8/d08/classshaka_1_1media_1_1H264ByteToUnitStreamConverter.html#a6a7a73841ded1942364f88aad90dcbc9',1,'shaka::media::H264ByteToUnitStreamConverter::GetDecoderConfigurationRecord()'],['../db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html#a9a866e255a2b267f2b44d0156c479de9',1,'shaka::media::H265ByteToUnitStreamConverter::GetDecoderConfigurationRecord()'],['../de/dea/classshaka_1_1media_1_1H26xByteToUnitStreamConverter.html#a57f8a71d948f27303ba41dd5aafb5445',1,'shaka::media::H26xByteToUnitStreamConverter::GetDecoderConfigurationRecord()']]],
- ['getdecryptconfig',['GetDecryptConfig',['../de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html#a1badd6160074e1bc2ef0f1e289a81524',1,'shaka::media::mp4::TrackRunIterator']]],
+ ['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::GetDuration()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a277aeb59ed41fc484a86101d565017ae',1,'shaka::media::webm::Segmenter::GetDuration()']]],
['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()']]],
@@ -24,7 +24,7 @@ var searchData=
['getkey',['GetKey',['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a267d1f36d1c015fd5e8c20b93f270d0a',1,'shaka::media::FixedKeySource::GetKey(TrackType track_type, EncryptionKey *key) override'],['../d0/dac/classshaka_1_1media_1_1FixedKeySource.html#a58f9eae1ce9148a82f70118879b6c3f1',1,'shaka::media::FixedKeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key) override'],['../d1/d1f/classshaka_1_1media_1_1KeySource.html#a994eb66cf09d8b08fd1c964f6afd3ab3',1,'shaka::media::KeySource::GetKey(TrackType track_type, EncryptionKey *key)=0'],['../d1/d1f/classshaka_1_1media_1_1KeySource.html#ae33f2cdbd045572095acd7b8d6c1a789',1,'shaka::media::KeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key)=0'],['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#a59a16d61c6a6d05745e8b49fd3618deb',1,'shaka::media::WidevineKeySource::GetKey(TrackType track_type, EncryptionKey *key) override'],['../da/ddd/classshaka_1_1media_1_1WidevineKeySource.html#a59699cd998290adae74e6596ba44fdc3',1,'shaka::media::WidevineKeySource::GetKey(const std::vector< uint8_t > &key_id, EncryptionKey *key) override']]],
['getmaxclearoffset',['GetMaxClearOffset',['../de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html#ae7a223474c46dd542e7390030893cca4',1,'shaka::media::mp4::TrackRunIterator']]],
['getnext',['GetNext',['../d8/dd6/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter.html#a63950483c11df9c44e3cb8d559f629d9',1,'shaka::media::mp2t::ContinuityCounter']]],
- ['getnextpespacket',['GetNextPesPacket',['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#a9834c58c732715a51c57a2a6385a761b',1,'shaka::media::mp2t::PesPacketGenerator']]],
+ ['getnextpespacket',['GetNextPesPacket',['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#acf11010f62ab9d2b46308f2cce8b3650',1,'shaka::media::mp2t::PesPacketGenerator']]],
['getnumchannels',['GetNumChannels',['../d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html#a2bacb4e7337248bca9e678268e3db491',1,'shaka::media::AACAudioSpecificConfig::GetNumChannels()'],['../d3/d0c/classshaka_1_1media_1_1mp2t_1_1AdtsHeader.html#aaa01e3eb1ce9d4400aedd202b04f7160',1,'shaka::media::mp2t::AdtsHeader::GetNumChannels()']]],
['getobjecttype',['GetObjectType',['../d3/d0c/classshaka_1_1media_1_1mp2t_1_1AdtsHeader.html#a156a3288ab974557e95dfaba72e6b479',1,'shaka::media::mp2t::AdtsHeader']]],
['getoutputsamplespersecond',['GetOutputSamplesPerSecond',['../d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html#a1e34ba8152e2c09452edcdd7e5eb1bcd',1,'shaka::media::AACAudioSpecificConfig']]],
diff --git a/docs/search/functions_8.js b/docs/search/functions_8.js
index 3e9a3d1a93..d553c9170d 100644
--- a/docs/search/functions_8.js
+++ b/docs/search/functions_8.js
@@ -3,12 +3,12 @@ var searchData=
['id',['id',['../de/d52/classshaka_1_1Representation.html#a6a3ba385179698e57a1451d1a26ad827',1,'shaka::Representation']]],
['ignorebytes',['IgnoreBytes',['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a1a0c70e3124677ae08164f7b89f6a1d4',1,'shaka::media::mp4::BoxBuffer']]],
['init',['Init',['../d3/d0a/classshaka_1_1media_1_1MediaParser.html#adc7c91bebe75879abba91a56dae52153',1,'shaka::media::MediaParser::Init()'],['../d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html#aa2aff12312827aacf2b7db6e2f792c52',1,'shaka::media::mp2t::Mp2tMediaParser::Init()'],['../d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html#acc87b9752a7f6e8c739109acbc02b69d',1,'shaka::media::mp4::MP4MediaParser::Init()'],['../de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html#ae9f02c32b4e2be8fc41a20f3f00f3494',1,'shaka::media::mp4::TrackRunIterator::Init()'],['../de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html#a4d39eaf8568da29b597411c56f50d86f',1,'shaka::media::mp4::TrackRunIterator::Init(const MovieFragment &moof)'],['../d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html#a5cd5c298938e2c58c45f962b21e43b2e',1,'shaka::media::WebMMediaParser::Init()'],['../dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html#af6c0fb7de806cccd0e1f9dd92b5310f3',1,'shaka::media::WebVttMediaParser::Init()'],['../dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html#a6f931f1702724a9b19c3078a7832bc77',1,'shaka::media::wvm::WvmMediaParser::Init()'],['../d4/d70/classshaka_1_1DashIopMpdNotifier.html#a9dd9d655a538ff2618634ca1f9809478',1,'shaka::DashIopMpdNotifier::Init()'],['../de/d52/classshaka_1_1Representation.html#ae998409ae94f3ba12909a96e8f3f4f7e',1,'shaka::Representation::Init()'],['../d3/dd0/classshaka_1_1MpdNotifier.html#ad6171481d6fb437767b1f5b9e0dac1a3',1,'shaka::MpdNotifier::Init()'],['../d8/de1/classshaka_1_1SimpleMpdNotifier.html#a59bcb401b5ca8d5b893ec7da9461569f',1,'shaka::SimpleMpdNotifier::Init()']]],
- ['initialize',['Initialize',['../dd/d17/classshaka_1_1media_1_1Demuxer.html#a436ed9fd2a3ddd78056ec7cf656fd9ad',1,'shaka::media::Demuxer::Initialize()'],['../d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html#aa84e36b83b1caa2b1f726c4d3cff3d6d',1,'shaka::media::NalUnitToByteStreamConverter::Initialize()'],['../dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html#a862422cdf78f370069055037338fa53d',1,'shaka::media::VideoSliceHeaderParser::Initialize()'],['../da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html#a551bd1e2a852d1a3b23b77df8505b7f7',1,'shaka::media::H264VideoSliceHeaderParser::Initialize()'],['../d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html#a83a25520f713f4818a765ea3324a1438',1,'shaka::media::H265VideoSliceHeaderParser::Initialize()'],['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#aa0346189f99b2f0fc2c71da1543155fa',1,'shaka::media::mp2t::PesPacketGenerator::Initialize()'],['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#a412be69ae8e18c5ceb3c48d1559c79c2',1,'shaka::media::mp2t::TsSegmenter::Initialize()'],['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#a6bee605be771538f78633e2ecfc979c6',1,'shaka::media::mp2t::TsWriter::Initialize()'],['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a0440c751fd818964397d17330acc7afc',1,'shaka::media::mp4::Segmenter::Initialize()'],['../de/dfa/classshaka_1_1media_1_1webm_1_1Encryptor.html#afa6065049fad093b96643b9e3d70595f',1,'shaka::media::webm::Encryptor::Initialize()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a144b19be7c3f693b06da2fbe2e40587a',1,'shaka::media::webm::Segmenter::Initialize()']]],
+ ['initialize',['Initialize',['../dd/d17/classshaka_1_1media_1_1Demuxer.html#a436ed9fd2a3ddd78056ec7cf656fd9ad',1,'shaka::media::Demuxer::Initialize()'],['../d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html#aa84e36b83b1caa2b1f726c4d3cff3d6d',1,'shaka::media::NalUnitToByteStreamConverter::Initialize()'],['../dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html#a862422cdf78f370069055037338fa53d',1,'shaka::media::VideoSliceHeaderParser::Initialize()'],['../da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html#a551bd1e2a852d1a3b23b77df8505b7f7',1,'shaka::media::H264VideoSliceHeaderParser::Initialize()'],['../d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html#a83a25520f713f4818a765ea3324a1438',1,'shaka::media::H265VideoSliceHeaderParser::Initialize()'],['../d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html#aa0346189f99b2f0fc2c71da1543155fa',1,'shaka::media::mp2t::PesPacketGenerator::Initialize()'],['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#a412be69ae8e18c5ceb3c48d1559c79c2',1,'shaka::media::mp2t::TsSegmenter::Initialize()'],['../de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html#a6bee605be771538f78633e2ecfc979c6',1,'shaka::media::mp2t::TsWriter::Initialize()'],['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a0440c751fd818964397d17330acc7afc',1,'shaka::media::mp4::Segmenter::Initialize()'],['../de/dfa/classshaka_1_1media_1_1webm_1_1Encryptor.html#afa6065049fad093b96643b9e3d70595f',1,'shaka::media::webm::Encryptor::Initialize()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#aa6b32c805c4e662d97244531723ce9eb',1,'shaka::media::webm::Segmenter::Initialize()']]],
['initializefragment',['InitializeFragment',['../dc/df3/classshaka_1_1media_1_1mp4_1_1EncryptingFragmenter.html#a126294f104809268975fe04391902ad3',1,'shaka::media::mp4::EncryptingFragmenter::InitializeFragment()'],['../db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html#aa702c2af5ea5096d94f2943076a21e4a',1,'shaka::media::mp4::Fragmenter::InitializeFragment()']]],
['initializewithiv',['InitializeWithIv',['../df/d87/classshaka_1_1media_1_1AesCryptor.html#a41954df34b76b04d561892732dd0ec2f',1,'shaka::media::AesCryptor::InitializeWithIv()'],['../df/d2d/classshaka_1_1media_1_1AesCbcDecryptor.html#a71ff0b9654de96f9990b29c35fa9b7bf',1,'shaka::media::AesCbcDecryptor::InitializeWithIv()'],['../d3/d75/classshaka_1_1media_1_1AesEncryptor.html#a0695df5615cadf6977fdbac978daeffa',1,'shaka::media::AesEncryptor::InitializeWithIv()'],['../d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html#af878688f0f277f3f6757e85654439c34',1,'shaka::media::AesPatternCryptor::InitializeWithIv()']]],
- ['injectclockfortesting',['InjectClockForTesting',['../dc/da1/classshaka_1_1MpdBuilder.html#a723afe73b9d619a1178ae21e46fd7450',1,'shaka::MpdBuilder']]],
- ['injectpespacketgeneratorfortesting',['InjectPesPacketGeneratorForTesting',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#a01c6ce7398b8e7a9966959dadcd30b25',1,'shaka::media::mp2t::TsSegmenter']]],
- ['injecttswriterfortesting',['InjectTsWriterForTesting',['../de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html#a2bf9d53ebc0a42551e7c460d9464650d',1,'shaka::media::mp2t::TsSegmenter']]],
+ ['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']]],
['isaac',['IsAAC',['../d5/d13/classshaka_1_1media_1_1ESDescriptor.html#a47592ec424dc9dd2beb5cc0f505e6681',1,'shaka::media::ESDescriptor']]],
['iskeyframe',['IsKeyframe',['../d8/d14/classshaka_1_1media_1_1VP8Parser.html#afae2dcb0c2652d53f2e23c9d3c07db37',1,'shaka::media::VP8Parser::IsKeyframe()'],['../db/d5a/classshaka_1_1media_1_1VP9Parser.html#a52e6a17fa34c5676cd0cdc547cb355a5',1,'shaka::media::VP9Parser::IsKeyframe()']]],
['isparsingcomplete',['IsParsingComplete',['../dc/dca/classshaka_1_1media_1_1WebMListParser.html#acf786fc2e07143c3f1a481401240d105',1,'shaka::media::WebMListParser']]],
diff --git a/docs/search/functions_f.js b/docs/search/functions_f.js
index 3724ce564f..d58f822997 100644
--- a/docs/search/functions_f.js
+++ b/docs/search/functions_f.js
@@ -18,7 +18,7 @@ var searchData=
['readwriteuint64nbytes',['ReadWriteUInt64NBytes',['../d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html#a53c6b6a9bce0bb0fa61b9ce95c3f5cef',1,'shaka::media::mp4::BoxBuffer']]],
['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#ad029323166bb60175a2369c3e887dca0',1,'shaka::Representation']]],
+ ['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()'],['../df/d46/classshaka_1_1media_1_1Muxer.html#adc96fbcd6a4d4ba9845f8d00974ace0f',1,'shaka::media::Muxer::Run()']]]
];