diff --git a/docs/annotated.html b/docs/annotated.html index 4669d64073..27fdbe1b9c 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -359,7 +359,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/classes.html b/docs/classes.html index 0abd7a5616..e78bf7a151 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -176,7 +176,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/d0/d03/classedash__packager_1_1media_1_1webm_1_1SingleSegmentSegmenter.html b/docs/d0/d03/classedash__packager_1_1media_1_1webm_1_1SingleSegmentSegmenter.html index dc8ca9480f..dcefc23e6a 100644 --- a/docs/d0/d03/classedash__packager_1_1media_1_1webm_1_1SingleSegmentSegmenter.html +++ b/docs/d0/d03/classedash__packager_1_1media_1_1webm_1_1SingleSegmentSegmenter.html @@ -290,7 +290,7 @@ double cluster_length_sec< diff --git a/docs/d0/d06/mpd__flags_8cc_source.html b/docs/d0/d06/mpd__flags_8cc_source.html index e26e227ea6..19cace3746 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/d08/structedash__packager_1_1media_1_1mp4_1_1CodecConfigurationRecord-members.html b/docs/d0/d08/structedash__packager_1_1media_1_1mp4_1_1CodecConfigurationRecord-members.html index 2c3ed76abc..fda86e43ce 100644 --- a/docs/d0/d08/structedash__packager_1_1media_1_1mp4_1_1CodecConfigurationRecord-members.html +++ b/docs/d0/d08/structedash__packager_1_1media_1_1mp4_1_1CodecConfigurationRecord-members.html @@ -110,7 +110,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 f8498df992..9211a520ec 100644 --- a/docs/d0/d0e/muxer__options_8h_source.html +++ b/docs/d0/d0e/muxer__options_8h_source.html @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d0e/structedash__packager_1_1media_1_1StreamDescriptor-members.html b/docs/d0/d0e/structedash__packager_1_1media_1_1StreamDescriptor-members.html index 635e838b4d..0f75a01cc2 100644 --- a/docs/d0/d0e/structedash__packager_1_1media_1_1StreamDescriptor-members.html +++ b/docs/d0/d0e/structedash__packager_1_1media_1_1StreamDescriptor-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d1a/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset-members.html b/docs/d0/d1a/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset-members.html index 6377df4d23..f6fb163180 100644 --- a/docs/d0/d1a/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset-members.html +++ b/docs/d0/d1a/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d24/structedash__packager_1_1media_1_1H264DecRefPicMarking-members.html b/docs/d0/d24/structedash__packager_1_1media_1_1H264DecRefPicMarking-members.html index 3d624c6f25..83f6a61225 100644 --- a/docs/d0/d24/structedash__packager_1_1media_1_1H264DecRefPicMarking-members.html +++ b/docs/d0/d24/structedash__packager_1_1media_1_1H264DecRefPicMarking-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d28/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html b/docs/d0/d28/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html index ddda613937..6e10e05228 100644 --- a/docs/d0/d28/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html +++ b/docs/d0/d28/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d30/mock__mpd__notifier_8h_source.html b/docs/d0/d30/mock__mpd__notifier_8h_source.html index 4904c0309d..67e5edb3d6 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 91a8d95def..a6761ccc73 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/d35/es__descriptor_8cc_source.html b/docs/d0/d35/es__descriptor_8cc_source.html index 52a299dccd..015d9f68a0 100644 --- a/docs/d0/d35/es__descriptor_8cc_source.html +++ b/docs/d0/d35/es__descriptor_8cc_source.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
6 
7 #include "packager/media/base/bit_reader.h"
8 #include "packager/media/base/buffer_writer.h"
-
9 #include "packager/media/formats/mp4/rcheck.h"
+
9 #include "packager/media/base/rcheck.h"
10 
11 namespace edash_packager {
12 namespace media {
@@ -286,7 +286,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d3a/classedash__packager_1_1media_1_1SeekHead-members.html b/docs/d0/d3a/classedash__packager_1_1media_1_1SeekHead-members.html index f79e4c511f..c49a050efb 100644 --- a/docs/d0/d3a/classedash__packager_1_1media_1_1SeekHead-members.html +++ b/docs/d0/d3a/classedash__packager_1_1media_1_1SeekHead-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d3a/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode-members.html b/docs/d0/d3a/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode-members.html index ca0bba865c..bc2047b9d3 100644 --- a/docs/d0/d3a/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode-members.html +++ b/docs/d0/d3a/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode-members.html @@ -111,7 +111,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 ac4e4b886d..dcab75f828 100644 --- a/docs/d0/d3a/webm__constants_8h_source.html +++ b/docs/d0/d3a/webm__constants_8h_source.html @@ -313,7 +313,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d42/aes__cryptor_8h_source.html b/docs/d0/d42/aes__cryptor_8h_source.html index 76a52b372d..bc8b45d3fa 100644 --- a/docs/d0/d42/aes__cryptor_8h_source.html +++ b/docs/d0/d42/aes__cryptor_8h_source.html @@ -181,7 +181,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 32900d0a70..420f8a5a78 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 0010b6740d..9e76e5a2b0 100644 --- a/docs/d0/d46/fourccs_8h_source.html +++ b/docs/d0/d46/fourccs_8h_source.html @@ -4,7 +4,7 @@ -DASH Media Packaging SDK: media/formats/mp4/fourccs.h Source File +DASH Media Packaging SDK: media/base/fourccs.h Source File @@ -79,7 +79,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
@@ -91,132 +91,132 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
-
5 #ifndef MEDIA_FORMATS_MP4_FOURCCS_H_
-
6 #define MEDIA_FORMATS_MP4_FOURCCS_H_
+
5 #ifndef PACKAGER_MEDIA_BASE_FOURCCS_H_
+
6 #define PACKAGER_MEDIA_BASE_FOURCCS_H_
7 
8 #include <string>
9 
10 namespace edash_packager {
11 namespace media {
-
12 namespace mp4 {
-
13 
-
14 // TODO(rkuroiwa): Make these case sensitive. e.g. FOURCC_avc1.
-
15 enum FourCC {
-
16  FOURCC_NULL = 0,
-
17  FOURCC_ID32 = 0x49443332,
-
18  FOURCC_PRIV = 0x50524956,
-
19  FOURCC_AC3 = 0x61632d33, // This fourcc is "ac-3".
-
20  FOURCC_AVC1 = 0x61766331,
-
21  FOURCC_AVCC = 0x61766343,
-
22  FOURCC_BLOC = 0x626C6F63,
-
23  FOURCC_CBC1 = 0x63626331,
-
24  FOURCC_CENC = 0x63656e63,
-
25  FOURCC_CO64 = 0x636f3634,
-
26  FOURCC_CTTS = 0x63747473,
-
27  FOURCC_DAC3 = 0x64616333,
-
28  FOURCC_DASH = 0x64617368,
-
29  FOURCC_DDTS = 0x64647473,
-
30  FOURCC_DEC3 = 0x64656333,
-
31  FOURCC_DINF = 0x64696e66,
-
32  FOURCC_DREF = 0x64726566,
-
33  FOURCC_DTSC = 0x64747363,
-
34  FOURCC_DTSE = 0x64747365,
-
35  FOURCC_DTSH = 0x64747368,
-
36  FOURCC_DTSL = 0x6474736c,
-
37  FOURCC_DTSM = 0x6474732d,
-
38  FOURCC_DTSP = 0x6474732b,
-
39  FOURCC_EAC3 = 0x65632d33, // This fourcc is "ec-3".
-
40  FOURCC_EDTS = 0x65647473,
-
41  FOURCC_ELST = 0x656c7374,
-
42  FOURCC_ENCA = 0x656e6361,
-
43  FOURCC_ENCV = 0x656e6376,
-
44  FOURCC_ESDS = 0x65736473,
-
45  FOURCC_FREE = 0x66726565,
-
46  FOURCC_FRMA = 0x66726d61,
-
47  FOURCC_FTYP = 0x66747970,
-
48  FOURCC_HDLR = 0x68646c72,
-
49  FOURCC_HEV1 = 0x68657631,
-
50  FOURCC_HINT = 0x68696e74,
-
51  FOURCC_HVC1 = 0x68766331,
-
52  FOURCC_HVCC = 0x68766343,
-
53  FOURCC_ISO6 = 0x69736f36,
-
54  FOURCC_IODS = 0x696f6473,
-
55  FOURCC_MDAT = 0x6d646174,
-
56  FOURCC_MDHD = 0x6d646864,
-
57  FOURCC_MDIA = 0x6d646961,
-
58  FOURCC_MECO = 0x6d65636f,
-
59  FOURCC_MEHD = 0x6d656864,
-
60  FOURCC_META = 0x6d657461,
-
61  FOURCC_MFHD = 0x6d666864,
-
62  FOURCC_MFRA = 0x6d667261,
-
63  FOURCC_MINF = 0x6d696e66,
-
64  FOURCC_MOOF = 0x6d6f6f66,
-
65  FOURCC_MOOV = 0x6d6f6f76,
-
66  FOURCC_MP41 = 0x6d703431,
-
67  FOURCC_MP4A = 0x6d703461,
-
68  FOURCC_MP4V = 0x6d703476,
-
69  FOURCC_MVEX = 0x6d766578,
-
70  FOURCC_MVHD = 0x6d766864,
-
71  FOURCC_PASP = 0x70617370,
-
72  FOURCC_PDIN = 0x7064696e,
-
73  FOURCC_PRFT = 0x70726674,
-
74  FOURCC_PSSH = 0x70737368,
-
75  FOURCC_SAIO = 0x7361696f,
-
76  FOURCC_SAIZ = 0x7361697a,
-
77  FOURCC_SBGP = 0x73626770,
-
78  FOURCC_SCHI = 0x73636869,
-
79  FOURCC_SCHM = 0x7363686d,
-
80  FOURCC_SDTP = 0x73647470,
-
81  FOURCC_SEIG = 0x73656967,
-
82  FOURCC_SENC = 0x73656e63,
-
83  FOURCC_SGPD = 0x73677064,
-
84  FOURCC_SIDX = 0x73696478,
-
85  FOURCC_SINF = 0x73696e66,
-
86  FOURCC_SKIP = 0x736b6970,
-
87  FOURCC_SMHD = 0x736d6864,
-
88  FOURCC_SOUN = 0x736f756e,
-
89  FOURCC_SSIX = 0x73736978,
-
90  FOURCC_STBL = 0x7374626c,
-
91  FOURCC_STCO = 0x7374636f,
-
92  FOURCC_STSC = 0x73747363,
-
93  FOURCC_STSD = 0x73747364,
-
94  FOURCC_STSS = 0x73747373,
-
95  FOURCC_STSZ = 0x7374737a,
-
96  FOURCC_STTS = 0x73747473,
-
97  FOURCC_STYP = 0x73747970,
-
98  FOURCC_STZ2 = 0x73747a32,
-
99  FOURCC_SUBT = 0x73756274,
-
100  FOURCC_TENC = 0x74656e63,
-
101  FOURCC_TEXT = 0x74657874,
-
102  FOURCC_TFDT = 0x74666474,
-
103  FOURCC_TFHD = 0x74666864,
-
104  FOURCC_TKHD = 0x746b6864,
-
105  FOURCC_TRAF = 0x74726166,
-
106  FOURCC_TRAK = 0x7472616b,
-
107  FOURCC_TREX = 0x74726578,
-
108  FOURCC_TRUN = 0x7472756e,
-
109  FOURCC_UDTA = 0x75647461,
-
110  FOURCC_URL = 0x75726c20,
-
111  FOURCC_URN = 0x75726e20,
-
112  FOURCC_UUID = 0x75756964,
-
113  FOURCC_VIDE = 0x76696465,
-
114  FOURCC_VMHD = 0x766d6864,
-
115  FOURCC_VP08 = 0x76703038,
-
116  FOURCC_VP09 = 0x76703039,
-
117  FOURCC_VP10 = 0x76703130,
-
118  FOURCC_VPCC = 0x76706343,
-
119  FOURCC_WIDE = 0x77696465,
-
120  FOURCC_ctim = 0x6374696d,
-
121  FOURCC_iden = 0x6964656e,
-
122  FOURCC_payl = 0x7061796c,
-
123  FOURCC_sthd = 0x73746864,
-
124  FOURCC_sttg = 0x73747467,
-
125  FOURCC_vlab = 0x766c6162,
-
126  FOURCC_vsid = 0x76736964,
-
127  FOURCC_vttC = 0x76747443,
-
128  FOURCC_vtta = 0x76747461,
-
129  FOURCC_vttc = 0x76747463,
-
130  FOURCC_vtte = 0x76747465,
+
12 
+
13 enum FourCC {
+
14  FOURCC_NULL = 0,
+
15 
+
16  FOURCC_ID32 = 0x49443332,
+
17  FOURCC_PRIV = 0x50524956,
+
18 
+
19  FOURCC_ac_3 = 0x61632d33, // "ac-3"
+
20  FOURCC_avc1 = 0x61766331,
+
21  FOURCC_avcC = 0x61766343,
+
22  FOURCC_bloc = 0x626C6F63,
+
23  FOURCC_cbc1 = 0x63626331,
+
24  FOURCC_cenc = 0x63656e63,
+
25  FOURCC_co64 = 0x636f3634,
+
26  FOURCC_ctim = 0x6374696d,
+
27  FOURCC_ctts = 0x63747473,
+
28  FOURCC_dac3 = 0x64616333,
+
29  FOURCC_dash = 0x64617368,
+
30  FOURCC_ddts = 0x64647473,
+
31  FOURCC_dec3 = 0x64656333,
+
32  FOURCC_dinf = 0x64696e66,
+
33  FOURCC_dref = 0x64726566,
+
34  FOURCC_dtsc = 0x64747363,
+
35  FOURCC_dtse = 0x64747365,
+
36  FOURCC_dtsh = 0x64747368,
+
37  FOURCC_dtsl = 0x6474736c,
+
38  FOURCC_dtsm = 0x6474732d, // "dts-"
+
39  FOURCC_dtsp = 0x6474732b, // "dts+"
+
40  FOURCC_ec_3 = 0x65632d33, // "ec-3"
+
41  FOURCC_edts = 0x65647473,
+
42  FOURCC_elst = 0x656c7374,
+
43  FOURCC_enca = 0x656e6361,
+
44  FOURCC_encv = 0x656e6376,
+
45  FOURCC_esds = 0x65736473,
+
46  FOURCC_free = 0x66726565,
+
47  FOURCC_frma = 0x66726d61,
+
48  FOURCC_ftyp = 0x66747970,
+
49  FOURCC_hdlr = 0x68646c72,
+
50  FOURCC_hev1 = 0x68657631,
+
51  FOURCC_hint = 0x68696e74,
+
52  FOURCC_hvc1 = 0x68766331,
+
53  FOURCC_hvcC = 0x68766343,
+
54  FOURCC_iden = 0x6964656e,
+
55  FOURCC_iso6 = 0x69736f36,
+
56  FOURCC_iods = 0x696f6473,
+
57  FOURCC_mdat = 0x6d646174,
+
58  FOURCC_mdhd = 0x6d646864,
+
59  FOURCC_mdia = 0x6d646961,
+
60  FOURCC_meco = 0x6d65636f,
+
61  FOURCC_mehd = 0x6d656864,
+
62  FOURCC_meta = 0x6d657461,
+
63  FOURCC_mfhd = 0x6d666864,
+
64  FOURCC_mfra = 0x6d667261,
+
65  FOURCC_minf = 0x6d696e66,
+
66  FOURCC_moof = 0x6d6f6f66,
+
67  FOURCC_moov = 0x6d6f6f76,
+
68  FOURCC_mp41 = 0x6d703431,
+
69  FOURCC_mp4a = 0x6d703461,
+
70  FOURCC_mp4v = 0x6d703476,
+
71  FOURCC_mvex = 0x6d766578,
+
72  FOURCC_mvhd = 0x6d766864,
+
73  FOURCC_pasp = 0x70617370,
+
74  FOURCC_payl = 0x7061796c,
+
75  FOURCC_pdin = 0x7064696e,
+
76  FOURCC_prft = 0x70726674,
+
77  FOURCC_pssh = 0x70737368,
+
78  FOURCC_saio = 0x7361696f,
+
79  FOURCC_saiz = 0x7361697a,
+
80  FOURCC_sbgp = 0x73626770,
+
81  FOURCC_schi = 0x73636869,
+
82  FOURCC_schm = 0x7363686d,
+
83  FOURCC_sdtp = 0x73647470,
+
84  FOURCC_seig = 0x73656967,
+
85  FOURCC_senc = 0x73656e63,
+
86  FOURCC_sgpd = 0x73677064,
+
87  FOURCC_sidx = 0x73696478,
+
88  FOURCC_sinf = 0x73696e66,
+
89  FOURCC_skip = 0x736b6970,
+
90  FOURCC_smhd = 0x736d6864,
+
91  FOURCC_soun = 0x736f756e,
+
92  FOURCC_ssix = 0x73736978,
+
93  FOURCC_stbl = 0x7374626c,
+
94  FOURCC_stco = 0x7374636f,
+
95  FOURCC_sthd = 0x73746864,
+
96  FOURCC_stsc = 0x73747363,
+
97  FOURCC_stsd = 0x73747364,
+
98  FOURCC_stss = 0x73747373,
+
99  FOURCC_stsz = 0x7374737a,
+
100  FOURCC_sttg = 0x73747467,
+
101  FOURCC_stts = 0x73747473,
+
102  FOURCC_styp = 0x73747970,
+
103  FOURCC_stz2 = 0x73747a32,
+
104  FOURCC_subt = 0x73756274,
+
105  FOURCC_tenc = 0x74656e63,
+
106  FOURCC_text = 0x74657874,
+
107  FOURCC_tfdt = 0x74666474,
+
108  FOURCC_tfhd = 0x74666864,
+
109  FOURCC_tkhd = 0x746b6864,
+
110  FOURCC_traf = 0x74726166,
+
111  FOURCC_trak = 0x7472616b,
+
112  FOURCC_trex = 0x74726578,
+
113  FOURCC_trun = 0x7472756e,
+
114  FOURCC_udta = 0x75647461,
+
115  FOURCC_url = 0x75726c20, // "url "
+
116  FOURCC_urn = 0x75726e20, // "urn "
+
117  FOURCC_uuid = 0x75756964,
+
118  FOURCC_vide = 0x76696465,
+
119  FOURCC_vlab = 0x766c6162,
+
120  FOURCC_vmhd = 0x766d6864,
+
121  FOURCC_vp08 = 0x76703038,
+
122  FOURCC_vp09 = 0x76703039,
+
123  FOURCC_vp10 = 0x76703130,
+
124  FOURCC_vpcC = 0x76706343,
+
125  FOURCC_vsid = 0x76736964,
+
126  FOURCC_vttC = 0x76747443,
+
127  FOURCC_vtta = 0x76747461,
+
128  FOURCC_vttc = 0x76747463,
+
129  FOURCC_vtte = 0x76747465,
+
130  FOURCC_wide = 0x77696465,
131  FOURCC_wvtt = 0x77767474,
132 };
133 
@@ -230,15 +230,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
141  return std::string(buf);
142 }
143 
-
144 } // namespace mp4
-
145 } // namespace media
-
146 } // namespace edash_packager
-
147 
-
148 #endif // MEDIA_FORMATS_MP4_FOURCCS_H_
+
144 } // namespace media
+
145 } // namespace edash_packager
+
146 
+
147 #endif // PACKAGER_MEDIA_BASE_FOURCCS_H_
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 952179f3cd..ed80de25d8 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 @@ -224,7 +224,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d4a/structedash__packager_1_1media_1_1mp4_1_1SampleSize-members.html b/docs/d0/d4a/structedash__packager_1_1media_1_1mp4_1_1SampleSize-members.html index 687dc0710a..279b3af255 100644 --- a/docs/d0/d4a/structedash__packager_1_1media_1_1mp4_1_1SampleSize-members.html +++ b/docs/d0/d4a/structedash__packager_1_1media_1_1mp4_1_1SampleSize-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d4c/structedash__packager_1_1media_1_1mp4_1_1CueTimeBox-members.html b/docs/d0/d4c/structedash__packager_1_1media_1_1mp4_1_1CueTimeBox-members.html index 7a113095b5..7be40c7e7f 100644 --- a/docs/d0/d4c/structedash__packager_1_1media_1_1mp4_1_1CueTimeBox-members.html +++ b/docs/d0/d4c/structedash__packager_1_1media_1_1mp4_1_1CueTimeBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d4e/libcrypto__threading_8cc_source.html b/docs/d0/d4e/libcrypto__threading_8cc_source.html index a53b79ad7c..c2fe9fb91d 100644 --- a/docs/d0/d4e/libcrypto__threading_8cc_source.html +++ b/docs/d0/d4e/libcrypto__threading_8cc_source.html @@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d53/classedash__packager_1_1media_1_1AesPatternCryptor-members.html b/docs/d0/d53/classedash__packager_1_1media_1_1AesPatternCryptor-members.html index 34622a8fe2..fb37920a89 100644 --- a/docs/d0/d53/classedash__packager_1_1media_1_1AesPatternCryptor-members.html +++ b/docs/d0/d53/classedash__packager_1_1media_1_1AesPatternCryptor-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d5b/structedash__packager_1_1media_1_1mp4_1_1VTTAdditionalTextBox-members.html b/docs/d0/d5b/structedash__packager_1_1media_1_1mp4_1_1VTTAdditionalTextBox-members.html index 08db7ce0fc..4f415090cf 100644 --- a/docs/d0/d5b/structedash__packager_1_1media_1_1mp4_1_1VTTAdditionalTextBox-members.html +++ b/docs/d0/d5b/structedash__packager_1_1media_1_1mp4_1_1VTTAdditionalTextBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d65/structedash__packager_1_1media_1_1mp4_1_1AC3Specific.html b/docs/d0/d65/structedash__packager_1_1media_1_1mp4_1_1AC3Specific.html index aa4fa00a5a..0fece2b217 100644 --- a/docs/d0/d65/structedash__packager_1_1media_1_1mp4_1_1AC3Specific.html +++ b/docs/d0/d65/structedash__packager_1_1media_1_1mp4_1_1AC3Specific.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d0/d7d/classedash__packager_1_1media_1_1H264Parser-members.html b/docs/d0/d7d/classedash__packager_1_1media_1_1H264Parser-members.html index 6593c9f76f..80f66d5cd8 100644 --- a/docs/d0/d7d/classedash__packager_1_1media_1_1H264Parser-members.html +++ b/docs/d0/d7d/classedash__packager_1_1media_1_1H264Parser-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d7d/decryptor__source_8h_source.html b/docs/d0/d7d/decryptor__source_8h_source.html index 0bf80f8665..3093003918 100644 --- a/docs/d0/d7d/decryptor__source_8h_source.html +++ b/docs/d0/d7d/decryptor__source_8h_source.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d86/classedash__packager_1_1media_1_1FixedKeySource.html b/docs/d0/d86/classedash__packager_1_1media_1_1FixedKeySource.html index bda28841bd..b0653df03a 100644 --- a/docs/d0/d86/classedash__packager_1_1media_1_1FixedKeySource.html +++ b/docs/d0/d86/classedash__packager_1_1media_1_1FixedKeySource.html @@ -479,7 +479,7 @@ Additional Inherited Members diff --git a/docs/d0/d86/structedash__packager_1_1media_1_1EncryptionKey.html b/docs/d0/d86/structedash__packager_1_1media_1_1EncryptionKey.html index b5c096f061..fb34d9737d 100644 --- a/docs/d0/d86/structedash__packager_1_1media_1_1EncryptionKey.html +++ b/docs/d0/d86/structedash__packager_1_1media_1_1EncryptionKey.html @@ -120,7 +120,7 @@ std::vector< uint8_t >  diff --git a/docs/d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html b/docs/d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html index f4534faef6..7118261ab9 100644 --- a/docs/d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html +++ b/docs/d0/d92/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d0/d93/structedash__packager_1_1media_1_1mp4_1_1SampleTable-members.html b/docs/d0/d93/structedash__packager_1_1media_1_1mp4_1_1SampleTable-members.html index 4ef4a7089a..070146e2ef 100644 --- a/docs/d0/d93/structedash__packager_1_1media_1_1mp4_1_1SampleTable-members.html +++ b/docs/d0/d93/structedash__packager_1_1media_1_1mp4_1_1SampleTable-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d96/structedash__packager_1_1ContentProtectionElement.html b/docs/d0/d96/structedash__packager_1_1ContentProtectionElement.html index b13f7c7615..2a65a47b99 100644 --- a/docs/d0/d96/structedash__packager_1_1ContentProtectionElement.html +++ b/docs/d0/d96/structedash__packager_1_1ContentProtectionElement.html @@ -123,7 +123,7 @@ std::vector< diff --git a/docs/d0/d96/structedash__packager_1_1media_1_1mp4_1_1WebVTTSourceLabelBox-members.html b/docs/d0/d96/structedash__packager_1_1media_1_1mp4_1_1WebVTTSourceLabelBox-members.html index 0f53592e52..c9d02411c1 100644 --- a/docs/d0/d96/structedash__packager_1_1media_1_1mp4_1_1WebVTTSourceLabelBox-members.html +++ b/docs/d0/d96/structedash__packager_1_1media_1_1mp4_1_1WebVTTSourceLabelBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/da4/classedash__packager_1_1media_1_1WebMVideoClient-members.html b/docs/d0/da4/classedash__packager_1_1media_1_1WebMVideoClient-members.html index 1231cd900f..3befe24685 100644 --- a/docs/d0/da4/classedash__packager_1_1media_1_1WebMVideoClient-members.html +++ b/docs/d0/da4/classedash__packager_1_1media_1_1WebMVideoClient-members.html @@ -106,7 +106,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 3905ad2125..48f35c73b7 100644 --- a/docs/d0/da6/stream__descriptor_8cc_source.html +++ b/docs/d0/da6/stream__descriptor_8cc_source.html @@ -243,7 +243,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/da9/classedash__packager_1_1MockRepresentation.html b/docs/d0/da9/classedash__packager_1_1MockRepresentation.html index 53899e13bc..6cc2b09e55 100644 --- a/docs/d0/da9/classedash__packager_1_1MockRepresentation.html +++ b/docs/d0/da9/classedash__packager_1_1MockRepresentation.html @@ -160,7 +160,7 @@ Additional Inherited Members diff --git a/docs/d0/da9/classedash__packager_1_1media_1_1webm_1_1WebMMuxer-members.html b/docs/d0/da9/classedash__packager_1_1media_1_1webm_1_1WebMMuxer-members.html index 2f579d38fb..1f0dc41f02 100644 --- a/docs/d0/da9/classedash__packager_1_1media_1_1webm_1_1WebMMuxer-members.html +++ b/docs/d0/da9/classedash__packager_1_1media_1_1webm_1_1WebMMuxer-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dae/classedash__packager_1_1media_1_1BufferWriter-members.html b/docs/d0/dae/classedash__packager_1_1media_1_1BufferWriter-members.html index 618f513f09..2caa64773a 100644 --- a/docs/d0/dae/classedash__packager_1_1media_1_1BufferWriter-members.html +++ b/docs/d0/dae/classedash__packager_1_1media_1_1BufferWriter-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/db7/structedash__packager_1_1media_1_1mp4_1_1DTSSpecific.html b/docs/d0/db7/structedash__packager_1_1media_1_1mp4_1_1DTSSpecific.html index 16557b9d3f..b778f4f232 100644 --- a/docs/d0/db7/structedash__packager_1_1media_1_1mp4_1_1DTSSpecific.html +++ b/docs/d0/db7/structedash__packager_1_1media_1_1mp4_1_1DTSSpecific.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/d0/dd1/classedash__packager_1_1SimpleMpdNotifier-members.html b/docs/d0/dd1/classedash__packager_1_1SimpleMpdNotifier-members.html index 0eb6316105..f3a8f8b0f1 100644 --- a/docs/d0/dd1/classedash__packager_1_1SimpleMpdNotifier-members.html +++ b/docs/d0/dd1/classedash__packager_1_1SimpleMpdNotifier-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dd4/structedash__packager_1_1media_1_1SubsampleEntry-members.html b/docs/d0/dd4/structedash__packager_1_1media_1_1SubsampleEntry-members.html index e1521ffe99..18d7b61d7e 100644 --- a/docs/d0/dd4/structedash__packager_1_1media_1_1SubsampleEntry-members.html +++ b/docs/d0/dd4/structedash__packager_1_1media_1_1SubsampleEntry-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dd6/webm__crypto__helpers_8cc_source.html b/docs/d0/dd6/webm__crypto__helpers_8cc_source.html index 46f76621fd..adf707e0bd 100644 --- a/docs/d0/dd6/webm__crypto__helpers_8cc_source.html +++ b/docs/d0/dd6/webm__crypto__helpers_8cc_source.html @@ -158,7 +158,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/ddc/structedash__packager_1_1media_1_1FileCloser.html b/docs/d0/ddc/structedash__packager_1_1media_1_1FileCloser.html index b21d6906f2..ca696c754b 100644 --- a/docs/d0/ddc/structedash__packager_1_1media_1_1FileCloser.html +++ b/docs/d0/ddc/structedash__packager_1_1media_1_1FileCloser.html @@ -112,7 +112,7 @@ void operator() ( diff --git a/docs/d0/de0/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry-members.html b/docs/d0/de0/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry-members.html index 602e4cef37..0ef79cd4f7 100644 --- a/docs/d0/de0/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry-members.html +++ b/docs/d0/de0/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/de4/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html b/docs/d0/de4/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html index d5c13ceffc..9d6c6a97fd 100644 --- a/docs/d0/de4/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html +++ b/docs/d0/de4/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/de6/classedash__packager_1_1media_1_1TracksBuilder.html b/docs/d0/de6/classedash__packager_1_1media_1_1TracksBuilder.html index 840eb99881..124a91afc7 100644 --- a/docs/d0/de6/classedash__packager_1_1media_1_1TracksBuilder.html +++ b/docs/d0/de6/classedash__packager_1_1media_1_1TracksBuilder.html @@ -123,7 +123,7 @@ std::vector< uint8_t >  diff --git a/docs/d0/de8/structedash__packager_1_1media_1_1mp4_1_1VTTCueBox-members.html b/docs/d0/de8/structedash__packager_1_1media_1_1mp4_1_1VTTCueBox-members.html index 59575403a9..3776152c84 100644 --- a/docs/d0/de8/structedash__packager_1_1media_1_1mp4_1_1VTTCueBox-members.html +++ b/docs/d0/de8/structedash__packager_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/dea/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html b/docs/d0/dea/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html index 622ef74446..f67d0402df 100644 --- a/docs/d0/dea/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html +++ b/docs/d0/dea/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dee/segmenter__test__base_8h_source.html b/docs/d0/dee/segmenter__test__base_8h_source.html index 61583852b2..d44a115721 100644 --- a/docs/d0/dee/segmenter__test__base_8h_source.html +++ b/docs/d0/dee/segmenter__test__base_8h_source.html @@ -215,7 +215,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 2fbbec1a6d..08101a1570 100644 --- a/docs/d0/df3/packager__util_8cc_source.html +++ b/docs/d0/df3/packager__util_8cc_source.html @@ -332,7 +332,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/df6/structedash__packager_1_1media_1_1mp4_1_1MovieExtends-members.html b/docs/d0/df6/structedash__packager_1_1media_1_1mp4_1_1MovieExtends-members.html index 385ea9227e..f93a732a67 100644 --- a/docs/d0/df6/structedash__packager_1_1media_1_1mp4_1_1MovieExtends-members.html +++ b/docs/d0/df6/structedash__packager_1_1media_1_1mp4_1_1MovieExtends-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dfa/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html b/docs/d0/dfa/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html index dcce6dd065..9a7323c3c8 100644 --- a/docs/d0/dfa/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html +++ b/docs/d0/dfa/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html @@ -116,7 +116,7 @@ scoped_refptr< diff --git a/docs/d1/d02/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer-members.html b/docs/d1/d02/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer-members.html index 2547b43435..085cf76229 100644 --- a/docs/d1/d02/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer-members.html +++ b/docs/d1/d02/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer-members.html @@ -121,7 +121,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 a89628a8de..81a9a7b02b 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/d16/structedash__packager_1_1xml_1_1XmlDeleter-members.html b/docs/d1/d16/structedash__packager_1_1xml_1_1XmlDeleter-members.html index d6ce6faff2..956efd05be 100644 --- a/docs/d1/d16/structedash__packager_1_1xml_1_1XmlDeleter-members.html +++ b/docs/d1/d16/structedash__packager_1_1xml_1_1XmlDeleter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d1c/two__pass__single__segment__segmenter_8cc_source.html b/docs/d1/d1c/two__pass__single__segment__segmenter_8cc_source.html index d1d60873ae..0ba0192cb4 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 @@ -275,7 +275,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d1d/muxer__flags_8cc_source.html b/docs/d1/d1d/muxer__flags_8cc_source.html index 31dd904dc8..49848c7528 100644 --- a/docs/d1/d1d/muxer__flags_8cc_source.html +++ b/docs/d1/d1d/muxer__flags_8cc_source.html @@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d27/key__fetcher_8h_source.html b/docs/d1/d27/key__fetcher_8h_source.html index aedab1f899..59f4c5e318 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/classedash__packager_1_1media_1_1WebMTracksParser-members.html b/docs/d1/d28/classedash__packager_1_1media_1_1WebMTracksParser-members.html index b29cfeee69..9e358538f0 100644 --- a/docs/d1/d28/classedash__packager_1_1media_1_1WebMTracksParser-members.html +++ b/docs/d1/d28/classedash__packager_1_1media_1_1WebMTracksParser-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d28/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator-members.html b/docs/d1/d28/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator-members.html index c91cd41a83..bdf4a06e8a 100644 --- a/docs/d1/d28/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator-members.html +++ b/docs/d1/d28/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d2a/decryptor__source_8cc_source.html b/docs/d1/d2a/decryptor__source_8cc_source.html index db81991ddd..0376cf5bbf 100644 --- a/docs/d1/d2a/decryptor__source_8cc_source.html +++ b/docs/d1/d2a/decryptor__source_8cc_source.html @@ -190,7 +190,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d2a/structedash__packager_1_1media_1_1mp4_1_1TrackExtends-members.html b/docs/d1/d2a/structedash__packager_1_1media_1_1mp4_1_1TrackExtends-members.html index bdc108adf5..b68e0d062e 100644 --- a/docs/d1/d2a/structedash__packager_1_1media_1_1mp4_1_1TrackExtends-members.html +++ b/docs/d1/d2a/structedash__packager_1_1media_1_1mp4_1_1TrackExtends-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d2f/webvtt__media__parser_8cc_source.html b/docs/d1/d2f/webvtt__media__parser_8cc_source.html index 5225624227..29401a4b9d 100644 --- a/docs/d1/d2f/webvtt__media__parser_8cc_source.html +++ b/docs/d1/d2f/webvtt__media__parser_8cc_source.html @@ -491,7 +491,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d31/structedash__packager_1_1media_1_1mp4_1_1CodecConfigurationRecord.html b/docs/d1/d31/structedash__packager_1_1media_1_1mp4_1_1CodecConfigurationRecord.html index a193c7190f..fae71c147f 100644 --- a/docs/d1/d31/structedash__packager_1_1media_1_1mp4_1_1CodecConfigurationRecord.html +++ b/docs/d1/d31/structedash__packager_1_1media_1_1mp4_1_1CodecConfigurationRecord.html @@ -176,7 +176,7 @@ Additional Inherited Members diff --git a/docs/d1/d37/es__parser__h264_8h_source.html b/docs/d1/d37/es__parser__h264_8h_source.html index 2d46ac7398..8ab3837293 100644 --- a/docs/d1/d37/es__parser__h264_8h_source.html +++ b/docs/d1/d37/es__parser__h264_8h_source.html @@ -200,7 +200,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d38/classedash__packager_1_1MockRepresentation-members.html b/docs/d1/d38/classedash__packager_1_1MockRepresentation-members.html index 58e9772e67..56ab1771d5 100644 --- a/docs/d1/d38/classedash__packager_1_1MockRepresentation-members.html +++ b/docs/d1/d38/classedash__packager_1_1MockRepresentation-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d3b/mpd__generator__flags_8h_source.html b/docs/d1/d3b/mpd__generator__flags_8h_source.html index b59b74e9ee..28ede4898f 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/d45/decoding__time__iterator_8cc_source.html b/docs/d1/d45/decoding__time__iterator_8cc_source.html index c4e15195ac..aa717cda83 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 9af94df6a9..21d598550d 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/d4b/classedash__packager_1_1media_1_1mp2t_1_1TsPacket.html b/docs/d1/d4b/classedash__packager_1_1media_1_1mp2t_1_1TsPacket.html index 853b0bcdf3..6f93a5bb99 100644 --- a/docs/d1/d4b/classedash__packager_1_1media_1_1mp2t_1_1TsPacket.html +++ b/docs/d1/d4b/classedash__packager_1_1media_1_1mp2t_1_1TsPacket.html @@ -145,7 +145,7 @@ static const int kPacketSi diff --git a/docs/d1/d5d/structedash__packager_1_1MpdOptions.html b/docs/d1/d5d/structedash__packager_1_1MpdOptions.html index d2645deb37..5c0a0bf19c 100644 --- a/docs/d1/d5d/structedash__packager_1_1MpdOptions.html +++ b/docs/d1/d5d/structedash__packager_1_1MpdOptions.html @@ -130,7 +130,7 @@ std::string packager_versi diff --git a/docs/d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html b/docs/d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html index e733c702ca..22d4792454 100644 --- a/docs/d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html +++ b/docs/d1/d65/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup.html @@ -188,7 +188,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 0203820417..1c555362ef 100644 --- a/docs/d1/d70/vp8__parser_8cc_source.html +++ b/docs/d1/d70/vp8__parser_8cc_source.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 
9 #include "packager/base/logging.h"
10 #include "packager/media/base/bit_reader.h"
-
11 #include "packager/media/formats/mp4/rcheck.h"
+
11 #include "packager/media/base/rcheck.h"
12 
13 namespace edash_packager {
14 namespace media {
@@ -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 3383cc66bb..2062f14ec3 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/d72/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry-members.html b/docs/d1/d72/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry-members.html index be714c9dbb..065652806a 100644 --- a/docs/d1/d72/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry-members.html +++ b/docs/d1/d72/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d72/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatio-members.html b/docs/d1/d72/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatio-members.html index 0831059770..1ae02b425e 100644 --- a/docs/d1/d72/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatio-members.html +++ b/docs/d1/d72/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatio-members.html @@ -110,7 +110,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 82cec04cc9..dc8cb83e88 100644 --- a/docs/d1/d74/mp2t__media__parser_8cc_source.html +++ b/docs/d1/d74/mp2t__media__parser_8cc_source.html @@ -529,7 +529,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk-members.html b/docs/d1/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk-members.html index 84fcc6b7ef..7b0f9ea977 100644 --- a/docs/d1/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk-members.html +++ b/docs/d1/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d78/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer.html b/docs/d1/d78/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer.html index cbfabaa492..35e797e7de 100644 --- a/docs/d1/d78/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer.html +++ b/docs/d1/d78/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer.html @@ -171,7 +171,7 @@ EncryptionMode encryption_

Detailed Description

Implements MP4 Muxer for ISO-BMFF. Please refer to ISO/IEC 14496-12: ISO base media file format for details.

-

Definition at line 31 of file mp4_muxer.h.

+

Definition at line 30 of file mp4_muxer.h.


The documentation for this class was generated from the following files:
  • media/formats/mp4/mp4_muxer.h
  • media/formats/mp4/mp4_muxer.cc
  • @@ -179,7 +179,7 @@ EncryptionMode encryption_ diff --git a/docs/d1/d7d/webm__video__client_8cc_source.html b/docs/d1/d7d/webm__video__client_8cc_source.html index 664844224c..025f5e07ed 100644 --- a/docs/d1/d7d/webm__video__client_8cc_source.html +++ b/docs/d1/d7d/webm__video__client_8cc_source.html @@ -266,7 +266,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d7f/classedash__packager_1_1media_1_1BitReader-members.html b/docs/d1/d7f/classedash__packager_1_1media_1_1BitReader-members.html index a02e3a0169..7f56c99085 100644 --- a/docs/d1/d7f/classedash__packager_1_1media_1_1BitReader-members.html +++ b/docs/d1/d7f/classedash__packager_1_1media_1_1BitReader-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html b/docs/d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html index 4453ca4ee0..5d40515337 100644 --- a/docs/d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html +++ b/docs/d1/d81/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex.html @@ -194,7 +194,7 @@ Additional Inherited Members diff --git a/docs/d1/d82/adts__constants_8h_source.html b/docs/d1/d82/adts__constants_8h_source.html index c4f7a9eb4d..1b65b5cafe 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/d86/classedash__packager_1_1media_1_1RsaPublicKey.html b/docs/d1/d86/classedash__packager_1_1media_1_1RsaPublicKey.html index 64a1dad127..66b8bc4236 100644 --- a/docs/d1/d86/classedash__packager_1_1media_1_1RsaPublicKey.html +++ b/docs/d1/d86/classedash__packager_1_1media_1_1RsaPublicKey.html @@ -218,7 +218,7 @@ Static Public Member Functions diff --git a/docs/d1/d86/structedash__packager_1_1media_1_1mp4_1_1SubtitleMediaHeader.html b/docs/d1/d86/structedash__packager_1_1media_1_1mp4_1_1SubtitleMediaHeader.html index 74d00269b6..44ed32e039 100644 --- a/docs/d1/d86/structedash__packager_1_1media_1_1mp4_1_1SubtitleMediaHeader.html +++ b/docs/d1/d86/structedash__packager_1_1media_1_1mp4_1_1SubtitleMediaHeader.html @@ -175,7 +175,7 @@ uint32_t flags diff --git a/docs/d1/d8e/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html b/docs/d1/d8e/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html index b4ae6f653b..0d1b36f80b 100644 --- a/docs/d1/d8e/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html +++ b/docs/d1/d8e/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html @@ -113,7 +113,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 8b4136888b..cf8c5775b5 100644 --- a/docs/d1/d8e/webm__audio__client_8cc_source.html +++ b/docs/d1/d8e/webm__audio__client_8cc_source.html @@ -211,7 +211,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d91/structedash__packager_1_1media_1_1H265SliceHeader-members.html b/docs/d1/d91/structedash__packager_1_1media_1_1H265SliceHeader-members.html index d9602f7942..478599ae26 100644 --- a/docs/d1/d91/structedash__packager_1_1media_1_1H265SliceHeader-members.html +++ b/docs/d1/d91/structedash__packager_1_1media_1_1H265SliceHeader-members.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html b/docs/d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html index e7c84d5c43..b39035cdba 100644 --- a/docs/d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html +++ b/docs/d1/d92/classedash__packager_1_1media_1_1OffsetByteQueue.html @@ -242,7 +242,7 @@ false if max_offset > diff --git a/docs/d1/d9d/tracks__builder_8h_source.html b/docs/d1/d9d/tracks__builder_8h_source.html index abf9767a9f..f325c1582d 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/dc2/h26x__bit__reader_8h_source.html b/docs/d1/dc2/h26x__bit__reader_8h_source.html index ca8a1b6388..92244f6b23 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/dc3/classedash__packager_1_1media_1_1LocalFile-members.html b/docs/d1/dc3/classedash__packager_1_1media_1_1LocalFile-members.html index 5e96cade49..7c72272f41 100644 --- a/docs/d1/dc3/classedash__packager_1_1media_1_1LocalFile-members.html +++ b/docs/d1/dc3/classedash__packager_1_1media_1_1LocalFile-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dc4/classedash__packager_1_1media_1_1mp4_1_1H265VideoSliceHeaderParser-members.html b/docs/d1/dc4/classedash__packager_1_1media_1_1mp4_1_1H265VideoSliceHeaderParser-members.html index 0c5be7cb3a..336294d027 100644 --- a/docs/d1/dc4/classedash__packager_1_1media_1_1mp4_1_1H265VideoSliceHeaderParser-members.html +++ b/docs/d1/dc4/classedash__packager_1_1media_1_1mp4_1_1H265VideoSliceHeaderParser-members.html @@ -102,7 +102,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 a9afe23885..5ca3a4eb2f 100644 --- a/docs/d1/dcb/encrypting__fragmenter_8h_source.html +++ b/docs/d1/dcb/encrypting__fragmenter_8h_source.html @@ -184,7 +184,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html b/docs/d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html index d2ef033c69..69e7e0e08f 100644 --- a/docs/d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html +++ b/docs/d1/dcd/structedash__packager_1_1media_1_1mp4_1_1FileType.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d1/dd0/classedash__packager_1_1media_1_1mp4_1_1VideoSliceHeaderParser.html b/docs/d1/dd0/classedash__packager_1_1media_1_1mp4_1_1VideoSliceHeaderParser.html index 4972705827..1d3a77a351 100644 --- a/docs/d1/dd0/classedash__packager_1_1media_1_1mp4_1_1VideoSliceHeaderParser.html +++ b/docs/d1/dd0/classedash__packager_1_1media_1_1mp4_1_1VideoSliceHeaderParser.html @@ -150,7 +150,7 @@ virtual int64_t  diff --git a/docs/d1/dd0/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup-members.html b/docs/d1/dd0/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup-members.html index 7a8d8fbc58..869b03294e 100644 --- a/docs/d1/dd0/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup-members.html +++ b/docs/d1/dd0/structedash__packager_1_1media_1_1mp4_1_1SampleToGroup-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dd5/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode.html b/docs/d1/dd5/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode.html index 888d12b004..e6e091dc79 100644 --- a/docs/d1/dd5/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode.html +++ b/docs/d1/dd5/classedash__packager_1_1xml_1_1RepresentationBaseXmlNode.html @@ -156,7 +156,7 @@ Protected Member Functions diff --git a/docs/d1/ddb/structedash__packager_1_1media_1_1mp4_1_1TextSampleEntry-members.html b/docs/d1/ddb/structedash__packager_1_1media_1_1mp4_1_1TextSampleEntry-members.html index 2368bcfbf7..99141f82f0 100644 --- a/docs/d1/ddb/structedash__packager_1_1media_1_1mp4_1_1TextSampleEntry-members.html +++ b/docs/d1/ddb/structedash__packager_1_1media_1_1mp4_1_1TextSampleEntry-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/ddc/classedash__packager_1_1media_1_1VP9Parser-members.html b/docs/d1/ddc/classedash__packager_1_1media_1_1VP9Parser-members.html index a965089394..f0483bc274 100644 --- a/docs/d1/ddc/classedash__packager_1_1media_1_1VP9Parser-members.html +++ b/docs/d1/ddc/classedash__packager_1_1media_1_1VP9Parser-members.html @@ -104,7 +104,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 5d9eb8b611..70e50251e6 100644 --- a/docs/d1/de2/composition__offset__iterator_8cc_source.html +++ b/docs/d1/de2/composition__offset__iterator_8cc_source.html @@ -159,7 +159,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/df0/aes__encryptor_8h_source.html b/docs/d1/df0/aes__encryptor_8h_source.html index a8534d8436..a0a0ad16a9 100644 --- a/docs/d1/df0/aes__encryptor_8h_source.html +++ b/docs/d1/df0/aes__encryptor_8h_source.html @@ -202,7 +202,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/df2/structedash__packager_1_1media_1_1mp4_1_1CueSettingsBox.html b/docs/d1/df2/structedash__packager_1_1media_1_1mp4_1_1CueSettingsBox.html index dc6c39dae5..21199af7bc 100644 --- a/docs/d1/df2/structedash__packager_1_1media_1_1mp4_1_1CueSettingsBox.html +++ b/docs/d1/df2/structedash__packager_1_1media_1_1mp4_1_1CueSettingsBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d1/df5/nalu__reader_8cc_source.html b/docs/d1/df5/nalu__reader_8cc_source.html index ed4dc9a1bc..8ccc34b0fb 100644 --- a/docs/d1/df5/nalu__reader_8cc_source.html +++ b/docs/d1/df5/nalu__reader_8cc_source.html @@ -417,7 +417,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dfc/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html b/docs/d1/dfc/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html index 3489347b5f..91ce8bef53 100644 --- a/docs/d1/dfc/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html +++ b/docs/d1/dfc/structedash__packager_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d02/timestamp_8h_source.html b/docs/d2/d02/timestamp_8h_source.html index e0dc1d5431..610b75decc 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/d06/structedash__packager_1_1media_1_1mp4_1_1Metadata.html b/docs/d2/d06/structedash__packager_1_1media_1_1mp4_1_1Metadata.html index 5d275047b5..ebb98492fe 100644 --- a/docs/d2/d06/structedash__packager_1_1media_1_1mp4_1_1Metadata.html +++ b/docs/d2/d06/structedash__packager_1_1media_1_1mp4_1_1Metadata.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/d2/d09/decoder__configuration_8h_source.html b/docs/d2/d09/decoder__configuration_8h_source.html index 4b5809f752..82d0ac0552 100644 --- a/docs/d2/d09/decoder__configuration_8h_source.html +++ b/docs/d2/d09/decoder__configuration_8h_source.html @@ -166,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d0f/structedash__packager_1_1media_1_1mp4_1_1MediaInformation-members.html b/docs/d2/d0f/structedash__packager_1_1media_1_1mp4_1_1MediaInformation-members.html index 1ec6c6802e..fef66d6ca3 100644 --- a/docs/d2/d0f/structedash__packager_1_1media_1_1mp4_1_1MediaInformation-members.html +++ b/docs/d2/d0f/structedash__packager_1_1media_1_1mp4_1_1MediaInformation-members.html @@ -113,7 +113,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 435a4d3223..775c68a4a7 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 b96b48c4fe..52e0828a61 100644 --- a/docs/d2/d23/threaded__io__file_8cc_source.html +++ b/docs/d2/d23/threaded__io__file_8cc_source.html @@ -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 ef8697e669..d2e28ecaec 100644 --- a/docs/d2/d24/packager__util_8h_source.html +++ b/docs/d2/d24/packager__util_8h_source.html @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html b/docs/d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html index 50489e0c46..580b0a4c0d 100644 --- a/docs/d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html +++ b/docs/d2/d26/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription.html @@ -186,7 +186,7 @@ Additional Inherited Members diff --git a/docs/d2/d28/classedash__packager_1_1media_1_1SegmentTestBase.html b/docs/d2/d28/classedash__packager_1_1media_1_1SegmentTestBase.html index 7a5f6af90d..2333b8dc5c 100644 --- a/docs/d2/d28/classedash__packager_1_1media_1_1SegmentTestBase.html +++ b/docs/d2/d28/classedash__packager_1_1media_1_1SegmentTestBase.html @@ -180,7 +180,7 @@ bool single_segment_ diff --git a/docs/d2/d2d/classedash__packager_1_1media_1_1mp2t_1_1ContinuityCounter-members.html b/docs/d2/d2d/classedash__packager_1_1media_1_1mp2t_1_1ContinuityCounter-members.html index a277b0dccc..4fddb5ec24 100644 --- a/docs/d2/d2d/classedash__packager_1_1media_1_1mp2t_1_1ContinuityCounter-members.html +++ b/docs/d2/d2d/classedash__packager_1_1media_1_1mp2t_1_1ContinuityCounter-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d2d/structedash__packager_1_1media_1_1mp4_1_1MediaHeader-members.html b/docs/d2/d2d/structedash__packager_1_1media_1_1mp4_1_1MediaHeader-members.html index 02610bb2b5..2ce9200123 100644 --- a/docs/d2/d2d/structedash__packager_1_1media_1_1mp4_1_1MediaHeader-members.html +++ b/docs/d2/d2d/structedash__packager_1_1media_1_1mp4_1_1MediaHeader-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d30/tracks__builder_8cc_source.html b/docs/d2/d30/tracks__builder_8cc_source.html index 5cc1069bba..a4e0666fde 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 8bd4578006..7e7d78be5a 100644 --- a/docs/d2/d33/video__slice__header__parser_8h_source.html +++ b/docs/d2/d33/video__slice__header__parser_8h_source.html @@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d48/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader-members.html b/docs/d2/d48/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader-members.html index 55a9e8d4b1..9cf8eaa1df 100644 --- a/docs/d2/d48/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader-members.html +++ b/docs/d2/d48/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d4b/structedash__packager_1_1media_1_1FileCloser-members.html b/docs/d2/d4b/structedash__packager_1_1media_1_1FileCloser-members.html index cbb7e3618b..205cff58c0 100644 --- a/docs/d2/d4b/structedash__packager_1_1media_1_1FileCloser-members.html +++ b/docs/d2/d4b/structedash__packager_1_1media_1_1FileCloser-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d4c/nal__unit__to__byte__stream__converter_8cc_source.html b/docs/d2/d4c/nal__unit__to__byte__stream__converter_8cc_source.html index 180d186b68..f53cbb6734 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 7e330ceb30..9da9b405cd 100644 --- a/docs/d2/d4d/file_8h_source.html +++ b/docs/d2/d4d/file_8h_source.html @@ -190,7 +190,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d50/structedash__packager_1_1media_1_1H264DecRefPicMarking.html b/docs/d2/d50/structedash__packager_1_1media_1_1H264DecRefPicMarking.html index 5751ea7741..4153d183dd 100644 --- a/docs/d2/d50/structedash__packager_1_1media_1_1H264DecRefPicMarking.html +++ b/docs/d2/d50/structedash__packager_1_1media_1_1H264DecRefPicMarking.html @@ -121,7 +121,7 @@ int max_long_term_frame_id diff --git a/docs/d2/d51/classedash__packager_1_1media_1_1WebVttMediaParser.html b/docs/d2/d51/classedash__packager_1_1media_1_1WebVttMediaParser.html index a751b1b68d..7069153a4f 100644 --- a/docs/d2/d51/classedash__packager_1_1media_1_1WebVttMediaParser.html +++ b/docs/d2/d51/classedash__packager_1_1media_1_1WebVttMediaParser.html @@ -256,7 +256,7 @@ track_id, const scoped_refptr
    diff --git a/docs/d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html b/docs/d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html index cf34e6302c..4bb1fe195f 100644 --- a/docs/d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html +++ b/docs/d2/d51/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html @@ -188,7 +188,7 @@ Additional Inherited Members diff --git a/docs/d2/d5b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt.html b/docs/d2/d5b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt.html index f79c1bac4b..4a6975b554 100644 --- a/docs/d2/d5b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt.html +++ b/docs/d2/d5b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt.html @@ -155,7 +155,7 @@ void Reset () override diff --git a/docs/d2/d5d/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader-members.html b/docs/d2/d5d/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader-members.html index 58ca9284d0..e867686184 100644 --- a/docs/d2/d5d/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader-members.html +++ b/docs/d2/d5d/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader-members.html @@ -116,7 +116,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 fa12d940b7..f4f9bee980 100644 --- a/docs/d2/d62/simple__mpd__notifier_8h_source.html +++ b/docs/d2/d62/simple__mpd__notifier_8h_source.html @@ -186,7 +186,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d6f/classBandwidthEstimator.html b/docs/d2/d6f/classBandwidthEstimator.html index 686a806cf4..c1a10a36fb 100644 --- a/docs/d2/d6f/classBandwidthEstimator.html +++ b/docs/d2/d6f/classBandwidthEstimator.html @@ -151,7 +151,7 @@ static const int kUseAllBl diff --git a/docs/d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html b/docs/d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html index c5e18446c1..f727e538a5 100644 --- a/docs/d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html +++ b/docs/d2/d6f/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d2/d72/classedash__packager_1_1media_1_1Nalu.html b/docs/d2/d72/classedash__packager_1_1media_1_1Nalu.html index 132fe53197..74e2f4542a 100644 --- a/docs/d2/d72/classedash__packager_1_1media_1_1Nalu.html +++ b/docs/d2/d72/classedash__packager_1_1media_1_1Nalu.html @@ -197,7 +197,7 @@ bool is_video_slice () diff --git a/docs/d2/d76/classedash__packager_1_1media_1_1webm_1_1Encryptor.html b/docs/d2/d76/classedash__packager_1_1media_1_1webm_1_1Encryptor.html index 015a676a02..accb9058f0 100644 --- a/docs/d2/d76/classedash__packager_1_1media_1_1webm_1_1Encryptor.html +++ b/docs/d2/d76/classedash__packager_1_1media_1_1webm_1_1Encryptor.html @@ -203,7 +203,7 @@ Public Member Functions diff --git a/docs/d2/d7b/simple__mpd__notifier_8cc_source.html b/docs/d2/d7b/simple__mpd__notifier_8cc_source.html index a2c5d34b06..6cb3f20d90 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 48d2cfb1b2..406383fa69 100644 --- a/docs/d2/d7e/aac__audio__specific__config_8h_source.html +++ b/docs/d2/d7e/aac__audio__specific__config_8h_source.html @@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d90/classedash__packager_1_1media_1_1Status.html b/docs/d2/d90/classedash__packager_1_1media_1_1Status.html index 4e1e5b1d64..d8ec568c79 100644 --- a/docs/d2/d90/classedash__packager_1_1media_1_1Status.html +++ b/docs/d2/d90/classedash__packager_1_1media_1_1Status.html @@ -302,7 +302,7 @@ static const diff --git a/docs/d2/d92/box__reader_8h_source.html b/docs/d2/d92/box__reader_8h_source.html index ab69f53f87..19008ce436 100644 --- a/docs/d2/d92/box__reader_8h_source.html +++ b/docs/d2/d92/box__reader_8h_source.html @@ -100,8 +100,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
    11 #include "packager/base/compiler_specific.h"
    12 #include "packager/base/logging.h"
    13 #include "packager/media/base/buffer_reader.h"
    -
    14 #include "packager/media/formats/mp4/fourccs.h"
    -
    15 #include "packager/media/formats/mp4/rcheck.h"
    +
    14 #include "packager/media/base/fourccs.h"
    +
    15 #include "packager/media/base/rcheck.h"
    16 
    17 namespace edash_packager {
    18 namespace media {
    @@ -249,7 +249,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d98/avc__decoder__configuration_8h_source.html b/docs/d2/d98/avc__decoder__configuration_8h_source.html index 4c49680531..37f6e2b7c7 100644 --- a/docs/d2/d98/avc__decoder__configuration_8h_source.html +++ b/docs/d2/d98/avc__decoder__configuration_8h_source.html @@ -153,7 +153,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/da6/threaded__io__file_8h_source.html b/docs/d2/da6/threaded__io__file_8h_source.html index bfd2b4f5ab..11b30b9c7f 100644 --- a/docs/d2/da6/threaded__io__file_8h_source.html +++ b/docs/d2/da6/threaded__io__file_8h_source.html @@ -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 fc327f5ec3..f1a4350fdd 100644 --- a/docs/d2/da8/mp4_2segmenter_8cc_source.html +++ b/docs/d2/da8/mp4_2segmenter_8cc_source.html @@ -144,9 +144,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
    55  sinf->format.format = old_type;
    56 
    57  if (encryption_mode == kEncryptionModeAesCtr){
    -
    58  sinf->type.type = FOURCC_CENC;
    +
    58  sinf->type.type = FOURCC_cenc;
    59  } else if (encryption_mode == kEncryptionModeAesCbc) {
    -
    60  sinf->type.type = FOURCC_CBC1;
    +
    60  sinf->type.type = FOURCC_cbc1;
    61  }
    62 
    63  sinf->type.version = kCencSchemeVersion;
    @@ -171,7 +171,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
    82  // Convert the first entry to an encrypted entry.
    83  VideoSampleEntry& entry = description->video_entries[0];
    84  GenerateSinf(encryption_key, entry.format, encryption_mode, &entry.sinf);
    -
    85  entry.format = FOURCC_ENCV;
    +
    85  entry.format = FOURCC_encv;
    86  } else {
    87  DCHECK_EQ(kAudio, description->type);
    88  DCHECK_EQ(1u, description->audio_entries.size());
    @@ -183,7 +183,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
    94  // Convert the first entry to an encrypted entry.
    95  AudioSampleEntry& entry = description->audio_entries[0];
    96  GenerateSinf(encryption_key, entry.format, encryption_mode, &entry.sinf);
    -
    97  entry.format = FOURCC_ENCA;
    +
    97  entry.format = FOURCC_enca;
    98  }
    99 }
    100 
    @@ -546,7 +546,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 e8a9867e7d..b0edad6b77 100644 --- a/docs/d2/dae/webm__muxer_8cc_source.html +++ b/docs/d2/dae/webm__muxer_8cc_source.html @@ -223,7 +223,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/db7/classedash__packager_1_1media_1_1NaluReader-members.html b/docs/d2/db7/classedash__packager_1_1media_1_1NaluReader-members.html index 5b793a5a4a..d6f3fd0b87 100644 --- a/docs/d2/db7/classedash__packager_1_1media_1_1NaluReader-members.html +++ b/docs/d2/db7/classedash__packager_1_1media_1_1NaluReader-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dc5/structedash__packager_1_1media_1_1mp4_1_1CueSettingsBox-members.html b/docs/d2/dc5/structedash__packager_1_1media_1_1mp4_1_1CueSettingsBox-members.html index 96e74ea4a1..90501502b5 100644 --- a/docs/d2/dc5/structedash__packager_1_1media_1_1mp4_1_1CueSettingsBox-members.html +++ b/docs/d2/dc5/structedash__packager_1_1media_1_1mp4_1_1CueSettingsBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dd6/mkv__writer_8h_source.html b/docs/d2/dd6/mkv__writer_8h_source.html index bd4a6cd8a2..cbf153e2db 100644 --- a/docs/d2/dd6/mkv__writer_8h_source.html +++ b/docs/d2/dd6/mkv__writer_8h_source.html @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dd9/structedash__packager_1_1media_1_1VideoStreamInfoParameters.html b/docs/d2/dd9/structedash__packager_1_1media_1_1VideoStreamInfoParameters.html index b4b7e7e28f..1937b1cb92 100644 --- a/docs/d2/dd9/structedash__packager_1_1media_1_1VideoStreamInfoParameters.html +++ b/docs/d2/dd9/structedash__packager_1_1media_1_1VideoStreamInfoParameters.html @@ -146,7 +146,7 @@ bool is_encrypted diff --git a/docs/d2/dda/vp__codec__configuration_8cc_source.html b/docs/d2/dda/vp__codec__configuration_8cc_source.html index cef40b7f19..f45ba2e9fc 100644 --- a/docs/d2/dda/vp__codec__configuration_8cc_source.html +++ b/docs/d2/dda/vp__codec__configuration_8cc_source.html @@ -99,8 +99,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
    10 #include "packager/base/strings/string_util.h"
    11 #include "packager/media/base/bit_reader.h"
    12 #include "packager/media/base/buffer_writer.h"
    -
    13 #include "packager/base/strings/stringprintf.h"
    -
    14 #include "packager/media/formats/mp4/rcheck.h"
    +
    13 #include "packager/media/base/rcheck.h"
    +
    14 #include "packager/base/strings/stringprintf.h"
    15 
    16 namespace edash_packager {
    17 namespace media {
    @@ -217,7 +217,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/de6/packager__main_8cc_source.html b/docs/d2/de6/packager__main_8cc_source.html index 208a5f1f46..63fc642585 100644 --- a/docs/d2/de6/packager__main_8cc_source.html +++ b/docs/d2/de6/packager__main_8cc_source.html @@ -587,7 +587,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 ec0cc69ad5..829afc384e 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/pes__packet__generator_8cc_source.html b/docs/d2/dee/pes__packet__generator_8cc_source.html index ce0e2123a9..662bbe9cae 100644 --- a/docs/d2/dee/pes__packet__generator_8cc_source.html +++ b/docs/d2/dee/pes__packet__generator_8cc_source.html @@ -215,7 +215,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/df3/structedash__packager_1_1media_1_1mp4_1_1Edit-members.html b/docs/d2/df3/structedash__packager_1_1media_1_1mp4_1_1Edit-members.html index 910a678203..6c4aca70bb 100644 --- a/docs/d2/df3/structedash__packager_1_1media_1_1mp4_1_1Edit-members.html +++ b/docs/d2/df3/structedash__packager_1_1media_1_1mp4_1_1Edit-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/df8/structedash__packager_1_1media_1_1mp4_1_1CueSourceIDBox.html b/docs/d2/df8/structedash__packager_1_1media_1_1mp4_1_1CueSourceIDBox.html index d38d87b12a..0389dea7bf 100644 --- a/docs/d2/df8/structedash__packager_1_1media_1_1mp4_1_1CueSourceIDBox.html +++ b/docs/d2/df8/structedash__packager_1_1media_1_1mp4_1_1CueSourceIDBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d2/dfa/classedash__packager_1_1RepresentationStateChangeListener.html b/docs/d2/dfa/classedash__packager_1_1RepresentationStateChangeListener.html index 1c09008d1b..3ddfecde3a 100644 --- a/docs/d2/dfa/classedash__packager_1_1RepresentationStateChangeListener.html +++ b/docs/d2/dfa/classedash__packager_1_1RepresentationStateChangeListener.html @@ -195,7 +195,7 @@ Public Member Functions diff --git a/docs/d2/dfd/adts__header_8h_source.html b/docs/d2/dfd/adts__header_8h_source.html index 41072b4141..73efd4b6d3 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/d2/dfd/classedash__packager_1_1media_1_1MediaStream.html b/docs/d2/dfd/classedash__packager_1_1media_1_1MediaStream.html index 3da1e5a989..5b84e5d284 100644 --- a/docs/d2/dfd/classedash__packager_1_1media_1_1MediaStream.html +++ b/docs/d2/dfd/classedash__packager_1_1media_1_1MediaStream.html @@ -225,7 +225,7 @@ const scoped_refptr< diff --git a/docs/d3/d00/structedash__packager_1_1media_1_1VPxFrameInfo-members.html b/docs/d3/d00/structedash__packager_1_1media_1_1VPxFrameInfo-members.html index d60af373a1..7df9549e8e 100644 --- a/docs/d3/d00/structedash__packager_1_1media_1_1VPxFrameInfo-members.html +++ b/docs/d3/d00/structedash__packager_1_1media_1_1VPxFrameInfo-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d04/classedash__packager_1_1media_1_1WebMAudioClient-members.html b/docs/d3/d04/classedash__packager_1_1media_1_1WebMAudioClient-members.html index 693211acb6..08d25b3090 100644 --- a/docs/d3/d04/classedash__packager_1_1media_1_1WebMAudioClient-members.html +++ b/docs/d3/d04/classedash__packager_1_1media_1_1WebMAudioClient-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d0e/classedash__packager_1_1media_1_1MpdNotifyMuxerListener.html b/docs/d3/d0e/classedash__packager_1_1media_1_1MpdNotifyMuxerListener.html index eb0d2f663d..5c670c1848 100644 --- a/docs/d3/d0e/classedash__packager_1_1media_1_1MpdNotifyMuxerListener.html +++ b/docs/d3/d0e/classedash__packager_1_1media_1_1MpdNotifyMuxerListener.html @@ -213,7 +213,7 @@ Additional Inherited Members diff --git a/docs/d3/d11/structedash__packager_1_1media_1_1H265Pps.html b/docs/d3/d11/structedash__packager_1_1media_1_1H265Pps.html index 75e2ec048f..8c1317ea2f 100644 --- a/docs/d3/d11/structedash__packager_1_1media_1_1H265Pps.html +++ b/docs/d3/d11/structedash__packager_1_1media_1_1H265Pps.html @@ -224,7 +224,7 @@ bool chroma_qp_offset_list diff --git a/docs/d3/d15/udp__file__win_8cc_source.html b/docs/d3/d15/udp__file__win_8cc_source.html index e66f1f6725..fd2c4fa67d 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/d19/io__cache_8h_source.html b/docs/d3/d19/io__cache_8h_source.html index 29105c8aa8..ccd5879f10 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/d1c/structedash__packager_1_1media_1_1mp4_1_1VTTEmptyCueBox.html b/docs/d3/d1c/structedash__packager_1_1media_1_1mp4_1_1VTTEmptyCueBox.html index 5acf350622..097b8ad9f8 100644 --- a/docs/d3/d1c/structedash__packager_1_1media_1_1mp4_1_1VTTEmptyCueBox.html +++ b/docs/d3/d1c/structedash__packager_1_1media_1_1mp4_1_1VTTEmptyCueBox.html @@ -166,7 +166,7 @@ Additional Inherited Members diff --git a/docs/d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html b/docs/d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html index e875fafa17..1a5eeb7b62 100644 --- a/docs/d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html +++ b/docs/d3/d2c/structedash__packager_1_1media_1_1mp4_1_1TrackExtends.html @@ -194,7 +194,7 @@ Additional Inherited Members diff --git a/docs/d3/d2f/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption-members.html b/docs/d3/d2f/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption-members.html index 32dc5610ec..badc52755f 100644 --- a/docs/d3/d2f/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption-members.html +++ b/docs/d3/d2f/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption-members.html @@ -115,7 +115,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 f906f02c15..7dcfc83152 100644 --- a/docs/d3/d35/video__slice__header__parser_8cc_source.html +++ b/docs/d3/d35/video__slice__header__parser_8cc_source.html @@ -95,9 +95,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
    6 
    7 #include "packager/media/formats/mp4/video_slice_header_parser.h"
    8 
    -
    9 #include "packager/media/filters/avc_decoder_configuration.h"
    -
    10 #include "packager/media/filters/hevc_decoder_configuration.h"
    -
    11 #include "packager/media/formats/mp4/rcheck.h"
    +
    9 #include "packager/media/base/rcheck.h"
    +
    10 #include "packager/media/filters/avc_decoder_configuration.h"
    +
    11 #include "packager/media/filters/hevc_decoder_configuration.h"
    12 
    13 namespace edash_packager {
    14 namespace media {
    @@ -201,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d39/structedash__packager_1_1media_1_1H265ReferencePictureListModifications.html b/docs/d3/d39/structedash__packager_1_1media_1_1H265ReferencePictureListModifications.html index ff33b424a6..f8da8e7b96 100644 --- a/docs/d3/d39/structedash__packager_1_1media_1_1H265ReferencePictureListModifications.html +++ b/docs/d3/d39/structedash__packager_1_1media_1_1H265ReferencePictureListModifications.html @@ -119,7 +119,7 @@ std::vector< int > l diff --git a/docs/d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html b/docs/d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html index adec8d44c9..d3d9bdf80d 100644 --- a/docs/d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html +++ b/docs/d3/d3e/classedash__packager_1_1media_1_1HttpKeyFetcher.html @@ -311,7 +311,7 @@ KeyFetcher implementation overrides. diff --git a/docs/d3/d43/structedash__packager_1_1media_1_1mp4_1_1EC3Specific.html b/docs/d3/d43/structedash__packager_1_1media_1_1mp4_1_1EC3Specific.html index ae15bad4dd..976ca4de97 100644 --- a/docs/d3/d43/structedash__packager_1_1media_1_1mp4_1_1EC3Specific.html +++ b/docs/d3/d43/structedash__packager_1_1media_1_1mp4_1_1EC3Specific.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d3/d48/structedash__packager_1_1media_1_1mp4_1_1EditList-members.html b/docs/d3/d48/structedash__packager_1_1media_1_1mp4_1_1EditList-members.html index 636b4cd363..54e940d0f2 100644 --- a/docs/d3/d48/structedash__packager_1_1media_1_1mp4_1_1EditList-members.html +++ b/docs/d3/d48/structedash__packager_1_1media_1_1mp4_1_1EditList-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d52/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html b/docs/d3/d52/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html index 8d18a48ac1..516086037c 100644 --- a/docs/d3/d52/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html +++ b/docs/d3/d52/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d56/decrypt__config_8cc_source.html b/docs/d3/d56/decrypt__config_8cc_source.html index 765a6606db..ad98fecc70 100644 --- a/docs/d3/d56/decrypt__config_8cc_source.html +++ b/docs/d3/d56/decrypt__config_8cc_source.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d59/structedash__packager_1_1media_1_1mp4_1_1PrivFrame.html b/docs/d3/d59/structedash__packager_1_1media_1_1mp4_1_1PrivFrame.html index ae01fdfd10..3fe6b44745 100644 --- a/docs/d3/d59/structedash__packager_1_1media_1_1mp4_1_1PrivFrame.html +++ b/docs/d3/d59/structedash__packager_1_1media_1_1mp4_1_1PrivFrame.html @@ -129,7 +129,7 @@ std::string value diff --git a/docs/d3/d62/rcheck_8h_source.html b/docs/d3/d62/rcheck_8h_source.html index 2585e8e07b..f28b22647b 100644 --- a/docs/d3/d62/rcheck_8h_source.html +++ b/docs/d3/d62/rcheck_8h_source.html @@ -4,7 +4,7 @@ -DASH Media Packaging SDK: media/formats/mp4/rcheck.h Source File +DASH Media Packaging SDK: media/base/rcheck.h Source File @@ -79,7 +79,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
@@ -91,24 +91,24 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
-
5 #ifndef MEDIA_FORMATS_MP4_RCHECK_H_
-
6 #define MEDIA_FORMATS_MP4_RCHECK_H_
+
5 #ifndef PACKAGER_MEDIA_BASE_RCHECK_H_
+
6 #define PACKAGER_MEDIA_BASE_RCHECK_H_
7 
8 #include "packager/base/logging.h"
9 
-
10 #define RCHECK(x) \
-
11  do { \
-
12  if (!(x)) { \
-
13  LOG(ERROR) << "Failure while processing MP4: " << #x; \
-
14  return false; \
-
15  } \
+
10 #define RCHECK(x) \
+
11  do { \
+
12  if (!(x)) { \
+
13  LOG(ERROR) << "Failure while processing: " << #x; \
+
14  return false; \
+
15  } \
16  } while (0)
17 
-
18 #endif // MEDIA_FORMATS_MP4_RCHECK_H_
+
18 #endif // PACKAGER_MEDIA_BASE_RCHECK_H_
diff --git a/docs/d3/d67/structedash__packager_1_1media_1_1mp4_1_1PrivFrame-members.html b/docs/d3/d67/structedash__packager_1_1media_1_1mp4_1_1PrivFrame-members.html index 93abb2a16e..ad47e4c057 100644 --- a/docs/d3/d67/structedash__packager_1_1media_1_1mp4_1_1PrivFrame-members.html +++ b/docs/d3/d67/structedash__packager_1_1media_1_1mp4_1_1PrivFrame-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d69/classedash__packager_1_1media_1_1ClusterBuilder.html b/docs/d3/d69/classedash__packager_1_1media_1_1ClusterBuilder.html index f05eae535e..82ca436c42 100644 --- a/docs/d3/d69/classedash__packager_1_1media_1_1ClusterBuilder.html +++ b/docs/d3/d69/classedash__packager_1_1media_1_1ClusterBuilder.html @@ -125,7 +125,7 @@ scoped_ptr< diff --git a/docs/d3/d6a/classedash__packager_1_1media_1_1NaluReader.html b/docs/d3/d6a/classedash__packager_1_1media_1_1NaluReader.html index 2a777233a8..c71908845d 100644 --- a/docs/d3/d6a/classedash__packager_1_1media_1_1NaluReader.html +++ b/docs/d3/d6a/classedash__packager_1_1media_1_1NaluReader.html @@ -232,7 +232,7 @@ static bool FindStartCode< diff --git a/docs/d3/d6b/classedash__packager_1_1media_1_1IoCache.html b/docs/d3/d6b/classedash__packager_1_1media_1_1IoCache.html index 3d4fa6d732..63e6705448 100644 --- a/docs/d3/d6b/classedash__packager_1_1media_1_1IoCache.html +++ b/docs/d3/d6b/classedash__packager_1_1media_1_1IoCache.html @@ -297,7 +297,7 @@ void  diff --git a/docs/d3/d6b/fixed__key__source_8cc_source.html b/docs/d3/d6b/fixed__key__source_8cc_source.html index c30f5b594c..6bb02327f3 100644 --- a/docs/d3/d6b/fixed__key__source_8cc_source.html +++ b/docs/d3/d6b/fixed__key__source_8cc_source.html @@ -232,7 +232,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
143 } // namespace media
144 } // namespace edash_packager
Status GetCryptoPeriodKey(uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key) override
-
static bool ParseBoxes(const uint8_t *data, size_t data_size, std::vector< ProtectionSystemSpecificInfo > *pssh_boxes)
+
static bool ParseBoxes(const uint8_t *data, size_t data_size, std::vector< ProtectionSystemSpecificInfo > *pssh_boxes)
@@ -243,7 +243,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d72/fixed__key__source_8h_source.html b/docs/d3/d72/fixed__key__source_8h_source.html index 965209f780..e8401cd3dc 100644 --- a/docs/d3/d72/fixed__key__source_8h_source.html +++ b/docs/d3/d72/fixed__key__source_8h_source.html @@ -160,7 +160,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html b/docs/d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html index 92bba50150..4df09202bc 100644 --- a/docs/d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html +++ b/docs/d3/d74/structedash__packager_1_1media_1_1mp4_1_1SampleDescription.html @@ -191,7 +191,7 @@ Additional Inherited Members diff --git a/docs/d3/d76/muxer__flags_8h_source.html b/docs/d3/d76/muxer__flags_8h_source.html index 17dc100686..60b0724bd3 100644 --- a/docs/d3/d76/muxer__flags_8h_source.html +++ b/docs/d3/d76/muxer__flags_8h_source.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html b/docs/d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html index 539d8fd8e9..ddc97c19c6 100644 --- a/docs/d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html +++ b/docs/d3/d77/structedash__packager_1_1media_1_1mp4_1_1SampleTable.html @@ -191,7 +191,7 @@ Additional Inherited Members diff --git a/docs/d3/d80/muxer__util_8h_source.html b/docs/d3/d80/muxer__util_8h_source.html index ef8fa9201d..4efa2b708f 100644 --- a/docs/d3/d80/muxer__util_8h_source.html +++ b/docs/d3/d80/muxer__util_8h_source.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d81/classedash__packager_1_1media_1_1MemoryFile.html b/docs/d3/d81/classedash__packager_1_1media_1_1MemoryFile.html index 8e1dea7fcc..dbe5a6abe7 100644 --- a/docs/d3/d81/classedash__packager_1_1media_1_1MemoryFile.html +++ b/docs/d3/d81/classedash__packager_1_1media_1_1MemoryFile.html @@ -485,7 +485,7 @@ bool  diff --git a/docs/d3/d8a/classedash__packager_1_1RepresentationStateChangeListener-members.html b/docs/d3/d8a/classedash__packager_1_1RepresentationStateChangeListener-members.html index 81be9e6af4..2950511ad6 100644 --- a/docs/d3/d8a/classedash__packager_1_1RepresentationStateChangeListener-members.html +++ b/docs/d3/d8a/classedash__packager_1_1RepresentationStateChangeListener-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d8d/webm__audio__client_8h_source.html b/docs/d3/d8d/webm__audio__client_8h_source.html index 64468945db..380607b1e6 100644 --- a/docs/d3/d8d/webm__audio__client_8h_source.html +++ b/docs/d3/d8d/webm__audio__client_8h_source.html @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d8e/classedash__packager_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter-members.html b/docs/d3/d8e/classedash__packager_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter-members.html index a360605e06..85667da0c4 100644 --- a/docs/d3/d8e/classedash__packager_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter-members.html +++ b/docs/d3/d8e/classedash__packager_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter-members.html @@ -129,7 +129,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 6d046d5b40..92d4c74f81 100644 --- a/docs/d3/d90/ec3__audio__util_8cc_source.html +++ b/docs/d3/d90/ec3__audio__util_8cc_source.html @@ -94,8 +94,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #include "packager/media/base/bit_reader.h"
-
8 #include "packager/media/filters/ec3_audio_util.h"
-
9 #include "packager/media/formats/mp4/rcheck.h"
+
8 #include "packager/media/base/rcheck.h"
+
9 #include "packager/media/filters/ec3_audio_util.h"
10 
11 namespace edash_packager {
12 namespace media {
@@ -245,7 +245,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d9b/structedash__packager_1_1media_1_1VideoStreamInfoParameters-members.html b/docs/d3/d9b/structedash__packager_1_1media_1_1VideoStreamInfoParameters-members.html index 4e53b2e36d..859ceb9013 100644 --- a/docs/d3/d9b/structedash__packager_1_1media_1_1VideoStreamInfoParameters-members.html +++ b/docs/d3/d9b/structedash__packager_1_1media_1_1VideoStreamInfoParameters-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d9f/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor-members.html b/docs/d3/d9f/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor-members.html index da8d1c9129..c28f8544e1 100644 --- a/docs/d3/d9f/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor-members.html +++ b/docs/d3/d9f/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/da0/ec3__audio__util_8h_source.html b/docs/d3/da0/ec3__audio__util_8h_source.html index c04368fb93..5f8386dd89 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/db6/webm__parser_8cc_source.html b/docs/d3/db6/webm__parser_8cc_source.html index 06296ef7b4..63eda2e1bb 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 27449e023a..abe19f817a 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/dbc/structedash__packager_1_1media_1_1H264WeightingFactors.html b/docs/d3/dbc/structedash__packager_1_1media_1_1H264WeightingFactors.html index 64a4020cde..8e07059a41 100644 --- a/docs/d3/dbc/structedash__packager_1_1media_1_1H264WeightingFactors.html +++ b/docs/d3/dbc/structedash__packager_1_1media_1_1H264WeightingFactors.html @@ -124,7 +124,7 @@ int chroma_offset [32] diff --git a/docs/d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html b/docs/d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html index 9e734f81b1..d0e41b245d 100644 --- a/docs/d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html +++ b/docs/d3/dbd/structedash__packager_1_1media_1_1mp4_1_1HandlerReference.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d3/dbe/classedash__packager_1_1media_1_1WebMMediaParser-members.html b/docs/d3/dbe/classedash__packager_1_1media_1_1WebMMediaParser-members.html index cf6705fa2d..e97a7e6d4a 100644 --- a/docs/d3/dbe/classedash__packager_1_1media_1_1WebMMediaParser-members.html +++ b/docs/d3/dbe/classedash__packager_1_1media_1_1WebMMediaParser-members.html @@ -105,7 +105,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 1464d96b66..fdd8ed8e91 100644 --- a/docs/d3/dbe/demuxer_8cc_source.html +++ b/docs/d3/dbe/demuxer_8cc_source.html @@ -345,7 +345,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/dc0/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html b/docs/d3/dc0/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html index f59ff3f5db..8913e296f0 100644 --- a/docs/d3/dc0/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html +++ b/docs/d3/dc0/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/dcc/classedash__packager_1_1media_1_1ProgressListener-members.html b/docs/d3/dcc/classedash__packager_1_1media_1_1ProgressListener-members.html index 92c971b61a..2e5e57f3be 100644 --- a/docs/d3/dcc/classedash__packager_1_1media_1_1ProgressListener-members.html +++ b/docs/d3/dcc/classedash__packager_1_1media_1_1ProgressListener-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/dd0/classedash__packager_1_1media_1_1mp4_1_1BoxReader-members.html b/docs/d3/dd0/classedash__packager_1_1media_1_1mp4_1_1BoxReader-members.html index bd38a77ead..cff19c07f5 100644 --- a/docs/d3/dd0/classedash__packager_1_1media_1_1mp4_1_1BoxReader-members.html +++ b/docs/d3/dd0/classedash__packager_1_1media_1_1mp4_1_1BoxReader-members.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html b/docs/d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html index b03dda7b4c..e72b127844 100644 --- a/docs/d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html +++ b/docs/d3/de1/structedash__packager_1_1media_1_1mp4_1_1Track.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d3/de4/seek__head_8h_source.html b/docs/d3/de4/seek__head_8h_source.html index 24483dcfb4..860e5eca25 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/de7/structedash__packager_1_1media_1_1OnMediaEndParameters.html b/docs/d3/de7/structedash__packager_1_1media_1_1OnMediaEndParameters.html index 2b998bac60..e939f306e7 100644 --- a/docs/d3/de7/structedash__packager_1_1media_1_1OnMediaEndParameters.html +++ b/docs/d3/de7/structedash__packager_1_1media_1_1OnMediaEndParameters.html @@ -130,7 +130,7 @@ uint64_t file_size diff --git a/docs/d3/dec/classedash__packager_1_1media_1_1H26xBitReader.html b/docs/d3/dec/classedash__packager_1_1media_1_1H26xBitReader.html index c17d303adc..1cce347ad8 100644 --- a/docs/d3/dec/classedash__packager_1_1media_1_1H26xBitReader.html +++ b/docs/d3/dec/classedash__packager_1_1media_1_1H26xBitReader.html @@ -134,7 +134,7 @@ size_t NumEmulationPrevent diff --git a/docs/d3/df1/box__reader_8cc_source.html b/docs/d3/df1/box__reader_8cc_source.html index 75777e715d..83b3178b17 100644 --- a/docs/d3/df1/box__reader_8cc_source.html +++ b/docs/d3/df1/box__reader_8cc_source.html @@ -131,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
42  return NULL;
43 
44  // We don't require the complete box to be available for MDAT box.
-
45  if (reader->type() == FOURCC_MDAT)
+
45  if (reader->type() == FOURCC_mdat)
46  return reader.release();
47 
48  if (!IsValidTopLevelBox(reader->type())) {
@@ -166,21 +166,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
77 // static
78 bool BoxReader::IsValidTopLevelBox(const FourCC& type) {
79  switch (type) {
-
80  case FOURCC_FTYP:
-
81  case FOURCC_PDIN:
-
82  case FOURCC_BLOC:
-
83  case FOURCC_MOOV:
-
84  case FOURCC_MOOF:
-
85  case FOURCC_MFRA:
-
86  case FOURCC_MDAT:
-
87  case FOURCC_FREE:
-
88  case FOURCC_SKIP:
-
89  case FOURCC_META:
-
90  case FOURCC_MECO:
-
91  case FOURCC_STYP:
-
92  case FOURCC_SIDX:
-
93  case FOURCC_SSIX:
-
94  case FOURCC_PRFT:
+
80  case FOURCC_ftyp:
+
81  case FOURCC_pdin:
+
82  case FOURCC_bloc:
+
83  case FOURCC_moov:
+
84  case FOURCC_moof:
+
85  case FOURCC_mfra:
+
86  case FOURCC_mdat:
+
87  case FOURCC_free:
+
88  case FOURCC_skip:
+
89  case FOURCC_meta:
+
90  case FOURCC_meco:
+
91  case FOURCC_styp:
+
92  case FOURCC_sidx:
+
93  case FOURCC_ssix:
+
94  case FOURCC_prft:
95  return true;
96  default:
97  // Hex is used to show nonprintable characters and aid in debugging
@@ -262,7 +262,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
173 
174  // 'mdat' box could have a 64-bit size; other boxes should be very small.
175  if (size > static_cast<uint64_t>(std::numeric_limits<int32_t>::max()) &&
-
176  type_ != FOURCC_MDAT) {
+
176  type_ != FOURCC_mdat) {
177  LOG(ERROR) << base::StringPrintf("Box '%s' size (%" PRIu64
178  ") is too large.",
179  FourCCToString(type_).c_str(),
@@ -296,7 +296,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/dfa/classedash__packager_1_1MpdBuilder.html b/docs/d3/dfa/classedash__packager_1_1MpdBuilder.html index 69690e4cba..5aeefc5cc3 100644 --- a/docs/d3/dfa/classedash__packager_1_1MpdBuilder.html +++ b/docs/d3/dfa/classedash__packager_1_1MpdBuilder.html @@ -385,7 +385,7 @@ class DynamicMpdBuilderTes diff --git a/docs/d3/dfa/structedash__packager_1_1media_1_1H264SliceHeader-members.html b/docs/d3/dfa/structedash__packager_1_1media_1_1H264SliceHeader-members.html index 0d8f1df245..61c39c6943 100644 --- a/docs/d3/dfa/structedash__packager_1_1media_1_1H264SliceHeader-members.html +++ b/docs/d3/dfa/structedash__packager_1_1media_1_1H264SliceHeader-members.html @@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html b/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html index c665af657d..c541be5046 100644 --- a/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html +++ b/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html @@ -303,7 +303,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d0b/structedash__packager_1_1media_1_1mp4_1_1Media-members.html b/docs/d4/d0b/structedash__packager_1_1media_1_1mp4_1_1Media-members.html index 73c38edee7..bb7a5293fc 100644 --- a/docs/d4/d0b/structedash__packager_1_1media_1_1mp4_1_1Media-members.html +++ b/docs/d4/d0b/structedash__packager_1_1media_1_1mp4_1_1Media-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d1d/classedash__packager_1_1media_1_1Muxer.html b/docs/d4/d1d/classedash__packager_1_1media_1_1Muxer.html index 8b5ac1999f..7d61a198b9 100644 --- a/docs/d4/d1d/classedash__packager_1_1media_1_1Muxer.html +++ b/docs/d4/d1d/classedash__packager_1_1media_1_1Muxer.html @@ -341,7 +341,7 @@ class MediaStream diff --git a/docs/d4/d25/classedash__packager_1_1media_1_1mp2t_1_1TsWriter-members.html b/docs/d4/d25/classedash__packager_1_1media_1_1mp2t_1_1TsWriter-members.html index a45ba948b2..ba9e0f91be 100644 --- a/docs/d4/d25/classedash__packager_1_1media_1_1mp2t_1_1TsWriter-members.html +++ b/docs/d4/d25/classedash__packager_1_1media_1_1mp2t_1_1TsWriter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d26/classedash__packager_1_1media_1_1mp2t_1_1TsWriter.html b/docs/d4/d26/classedash__packager_1_1media_1_1mp2t_1_1TsWriter.html index 21ac4e3297..af3a993fe9 100644 --- a/docs/d4/d26/classedash__packager_1_1media_1_1mp2t_1_1TsWriter.html +++ b/docs/d4/d26/classedash__packager_1_1media_1_1mp2t_1_1TsWriter.html @@ -242,7 +242,7 @@ Public Member Functions diff --git a/docs/d4/d37/io__cache_8cc_source.html b/docs/d4/d37/io__cache_8cc_source.html index 771e6e3493..5329dce0af 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/d3d/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatio.html b/docs/d4/d3d/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatio.html index d2cee3ad63..91a99233d2 100644 --- a/docs/d4/d3d/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatio.html +++ b/docs/d4/d3d/structedash__packager_1_1media_1_1mp4_1_1PixelAspectRatio.html @@ -176,7 +176,7 @@ Additional Inherited Members diff --git a/docs/d4/d43/classedash__packager_1_1media_1_1KeyFetcher.html b/docs/d4/d43/classedash__packager_1_1media_1_1KeyFetcher.html index 15e7019668..b5d35e8f30 100644 --- a/docs/d4/d43/classedash__packager_1_1media_1_1KeyFetcher.html +++ b/docs/d4/d43/classedash__packager_1_1media_1_1KeyFetcher.html @@ -177,7 +177,7 @@ Public Member Functions diff --git a/docs/d4/d4a/structedash__packager_1_1media_1_1H265Sps-members.html b/docs/d4/d4a/structedash__packager_1_1media_1_1H265Sps-members.html index d4970b9c68..f1d40fae4e 100644 --- a/docs/d4/d4a/structedash__packager_1_1media_1_1H265Sps-members.html +++ b/docs/d4/d4a/structedash__packager_1_1media_1_1H265Sps-members.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d67/structedash__packager_1_1media_1_1mp4_1_1MovieFragment-members.html b/docs/d4/d67/structedash__packager_1_1media_1_1mp4_1_1MovieFragment-members.html index a4bbcf756e..ba76e6ac05 100644 --- a/docs/d4/d67/structedash__packager_1_1media_1_1mp4_1_1MovieFragment-members.html +++ b/docs/d4/d67/structedash__packager_1_1media_1_1mp4_1_1MovieFragment-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d72/classedash__packager_1_1media_1_1webm_1_1SingleSegmentSegmenter-members.html b/docs/d4/d72/classedash__packager_1_1media_1_1webm_1_1SingleSegmentSegmenter-members.html index b6ebb59aa0..37ca2aa366 100644 --- a/docs/d4/d72/classedash__packager_1_1media_1_1webm_1_1SingleSegmentSegmenter-members.html +++ b/docs/d4/d72/classedash__packager_1_1media_1_1webm_1_1SingleSegmentSegmenter-members.html @@ -127,7 +127,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 4a2b3b195a..e303da31a9 100644 --- a/docs/d4/d87/nalu__reader_8h_source.html +++ b/docs/d4/d87/nalu__reader_8h_source.html @@ -280,7 +280,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d8c/classedash__packager_1_1media_1_1MkvWriter.html b/docs/d4/d8c/classedash__packager_1_1media_1_1MkvWriter.html index 88681d538f..1d3745d540 100644 --- a/docs/d4/d8c/classedash__packager_1_1media_1_1MkvWriter.html +++ b/docs/d4/d8c/classedash__packager_1_1media_1_1MkvWriter.html @@ -372,7 +372,7 @@ Public Member Functions diff --git a/docs/d4/d8f/structedash__packager_1_1media_1_1mp4_1_1MovieHeader-members.html b/docs/d4/d8f/structedash__packager_1_1media_1_1mp4_1_1MovieHeader-members.html index ae670a7f83..e33371eb6a 100644 --- a/docs/d4/d8f/structedash__packager_1_1media_1_1mp4_1_1MovieHeader-members.html +++ b/docs/d4/d8f/structedash__packager_1_1media_1_1mp4_1_1MovieHeader-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d90/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator.html b/docs/d4/d90/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator.html index 702cc841a6..ac37e96705 100644 --- a/docs/d4/d90/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator.html +++ b/docs/d4/d90/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator.html @@ -235,7 +235,7 @@ Public Member Functions diff --git a/docs/d4/d92/structedash__packager_1_1media_1_1mp4_1_1MediaData.html b/docs/d4/d92/structedash__packager_1_1media_1_1mp4_1_1MediaData.html index 7c9ae5c94b..dba09b584c 100644 --- a/docs/d4/d92/structedash__packager_1_1media_1_1mp4_1_1MediaData.html +++ b/docs/d4/d92/structedash__packager_1_1media_1_1mp4_1_1MediaData.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d4/d93/structedash__packager_1_1media_1_1H264SEIMessage.html b/docs/d4/d93/structedash__packager_1_1media_1_1H264SEIMessage.html index 8130d91995..722ae36a28 100644 --- a/docs/d4/d93/structedash__packager_1_1media_1_1H264SEIMessage.html +++ b/docs/d4/d93/structedash__packager_1_1media_1_1H264SEIMessage.html @@ -127,7 +127,7 @@ union { diff --git a/docs/d4/d9b/classedash__packager_1_1AdaptationSet-members.html b/docs/d4/d9b/classedash__packager_1_1AdaptationSet-members.html index d8bc350cbb..f00b43754d 100644 --- a/docs/d4/d9b/classedash__packager_1_1AdaptationSet-members.html +++ b/docs/d4/d9b/classedash__packager_1_1AdaptationSet-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/da1/classedash__packager_1_1media_1_1DecryptConfig.html b/docs/d4/da1/classedash__packager_1_1media_1_1DecryptConfig.html index 515c3e8046..e34203e324 100644 --- a/docs/d4/da1/classedash__packager_1_1media_1_1DecryptConfig.html +++ b/docs/d4/da1/classedash__packager_1_1media_1_1DecryptConfig.html @@ -183,7 +183,7 @@ static const size_t  diff --git a/docs/d4/da7/segmenter__test__base_8cc_source.html b/docs/d4/da7/segmenter__test__base_8cc_source.html index 7a5107a08f..c0cb472986 100644 --- a/docs/d4/da7/segmenter__test__base_8cc_source.html +++ b/docs/d4/da7/segmenter__test__base_8cc_source.html @@ -309,7 +309,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 cb83647b24..e3d7be4b97 100644 --- a/docs/d4/db2/cluster__builder_8h_source.html +++ b/docs/d4/db2/cluster__builder_8h_source.html @@ -176,7 +176,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dbe/classedash__packager_1_1media_1_1NalUnitToByteStreamConverter.html b/docs/d4/dbe/classedash__packager_1_1media_1_1NalUnitToByteStreamConverter.html index d66c3527fb..3012846238 100644 --- a/docs/d4/dbe/classedash__packager_1_1media_1_1NalUnitToByteStreamConverter.html +++ b/docs/d4/dbe/classedash__packager_1_1media_1_1NalUnitToByteStreamConverter.html @@ -229,7 +229,7 @@ class NalUnitToByteStreamC diff --git a/docs/d4/dca/structedash__packager_1_1media_1_1H264SEIRecoveryPoint.html b/docs/d4/dca/structedash__packager_1_1media_1_1H264SEIRecoveryPoint.html index 09dc349942..6a7a35639a 100644 --- a/docs/d4/dca/structedash__packager_1_1media_1_1H264SEIRecoveryPoint.html +++ b/docs/d4/dca/structedash__packager_1_1media_1_1H264SEIRecoveryPoint.html @@ -118,7 +118,7 @@ int changing_slice_group_i diff --git a/docs/d4/dcb/classedash__packager_1_1media_1_1Status-members.html b/docs/d4/dcb/classedash__packager_1_1media_1_1Status-members.html index 5e1cecfdcd..9fa2ab8191 100644 --- a/docs/d4/dcb/classedash__packager_1_1media_1_1Status-members.html +++ b/docs/d4/dcb/classedash__packager_1_1media_1_1Status-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html b/docs/d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html index 0070bb86e0..f88e64f4d9 100644 --- a/docs/d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html +++ b/docs/d4/dcc/structedash__packager_1_1media_1_1mp4_1_1SchemeType.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/d4/dcd/classedash__packager_1_1media_1_1OffsetByteQueue-members.html b/docs/d4/dcd/classedash__packager_1_1media_1_1OffsetByteQueue-members.html index a234f4cc49..87bcaa79a3 100644 --- a/docs/d4/dcd/classedash__packager_1_1media_1_1OffsetByteQueue-members.html +++ b/docs/d4/dcd/classedash__packager_1_1media_1_1OffsetByteQueue-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dce/structedash__packager_1_1media_1_1mp4_1_1SegmentReference.html b/docs/d4/dce/structedash__packager_1_1media_1_1mp4_1_1SegmentReference.html index 5750fb8885..de31a59f3d 100644 --- a/docs/d4/dce/structedash__packager_1_1media_1_1mp4_1_1SegmentReference.html +++ b/docs/d4/dce/structedash__packager_1_1media_1_1mp4_1_1SegmentReference.html @@ -143,7 +143,7 @@ uint64_t earliest_presenta diff --git a/docs/d4/dd3/bit__reader_8h_source.html b/docs/d4/dd3/bit__reader_8h_source.html index ce37d9d7bd..816a28560b 100644 --- a/docs/d4/dd3/bit__reader_8h_source.html +++ b/docs/d4/dd3/bit__reader_8h_source.html @@ -178,7 +178,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html b/docs/d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html index e725d5937c..7b9cdabebb 100644 --- a/docs/d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html +++ b/docs/d4/dd9/structedash__packager_1_1media_1_1mp4_1_1TrackFragment.html @@ -197,7 +197,7 @@ Additional Inherited Members diff --git a/docs/d4/dde/webvtt__util_8h_source.html b/docs/d4/dde/webvtt__util_8h_source.html index 9ac32c13c1..fcbf3dafeb 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/de0/structedash__packager_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html b/docs/d4/de0/structedash__packager_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html index c8e9eb6824..a6dc060cca 100644 --- a/docs/d4/de0/structedash__packager_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html +++ b/docs/d4/de0/structedash__packager_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html @@ -112,7 +112,7 @@ int delta_poc_msb_cycle_lt diff --git a/docs/d4/de4/structedash__packager_1_1media_1_1SubsampleEntry.html b/docs/d4/de4/structedash__packager_1_1media_1_1SubsampleEntry.html index a471da7e51..6b56decac4 100644 --- a/docs/d4/de4/structedash__packager_1_1media_1_1SubsampleEntry.html +++ b/docs/d4/de4/structedash__packager_1_1media_1_1SubsampleEntry.html @@ -122,7 +122,7 @@ uint32_t cipher_bytes< diff --git a/docs/d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html b/docs/d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html index 787c0fcd67..b450155a7f 100644 --- a/docs/d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html +++ b/docs/d4/de5/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator.html @@ -225,7 +225,7 @@ Public Member Functions diff --git a/docs/d4/de7/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html b/docs/d4/de7/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html index 29d803bfb1..bdaa9f7d46 100644 --- a/docs/d4/de7/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html +++ b/docs/d4/de7/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html @@ -115,7 +115,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 3c9d7ead82..6e0134581f 100644 --- a/docs/d4/df5/request__signer_8cc_source.html +++ b/docs/d4/df5/request__signer_8cc_source.html @@ -178,7 +178,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/df9/structedash__packager_1_1MpdOptions-members.html b/docs/d4/df9/structedash__packager_1_1MpdOptions-members.html index 235fbf3aaf..de74a4942e 100644 --- a/docs/d4/df9/structedash__packager_1_1MpdOptions-members.html +++ b/docs/d4/df9/structedash__packager_1_1MpdOptions-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dff/webm__media__parser_8cc_source.html b/docs/d4/dff/webm__media__parser_8cc_source.html index b4ea867d71..5f827adc07 100644 --- a/docs/d4/dff/webm__media__parser_8cc_source.html +++ b/docs/d4/dff/webm__media__parser_8cc_source.html @@ -364,7 +364,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html b/docs/d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html index c3743629e1..424326d333 100644 --- a/docs/d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html +++ b/docs/d5/d02/classedash__packager_1_1media_1_1ProducerConsumerQueue.html @@ -501,7 +501,7 @@ template<class T > diff --git a/docs/d5/d15/producer__consumer__queue_8h_source.html b/docs/d5/d15/producer__consumer__queue_8h_source.html index 4ecfb845ff..5992a76a13 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/d18/structedash__packager_1_1media_1_1mp4_1_1CueIDBox-members.html b/docs/d5/d18/structedash__packager_1_1media_1_1mp4_1_1CueIDBox-members.html index 7605c4839f..5af89532d4 100644 --- a/docs/d5/d18/structedash__packager_1_1media_1_1mp4_1_1CueIDBox-members.html +++ b/docs/d5/d18/structedash__packager_1_1media_1_1mp4_1_1CueIDBox-members.html @@ -109,7 +109,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 0c2fb19e47..159b6372a1 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/d1f/classedash__packager_1_1media_1_1BufferReader-members.html b/docs/d5/d1f/classedash__packager_1_1media_1_1BufferReader-members.html index 1ef56e3f85..b1a314dbb1 100644 --- a/docs/d5/d1f/classedash__packager_1_1media_1_1BufferReader-members.html +++ b/docs/d5/d1f/classedash__packager_1_1media_1_1BufferReader-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d26/classedash__packager_1_1media_1_1MediaParser-members.html b/docs/d5/d26/classedash__packager_1_1media_1_1MediaParser-members.html index 81c0acaa99..c3f1085b98 100644 --- a/docs/d5/d26/classedash__packager_1_1media_1_1MediaParser-members.html +++ b/docs/d5/d26/classedash__packager_1_1media_1_1MediaParser-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d27/key__fetcher_8cc_source.html b/docs/d5/d27/key__fetcher_8cc_source.html index 9c97b7190f..ccbcbc136b 100644 --- a/docs/d5/d27/key__fetcher_8cc_source.html +++ b/docs/d5/d27/key__fetcher_8cc_source.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d30/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter.html b/docs/d5/d30/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter.html index 2f1ed4b59e..23e5a30aa2 100644 --- a/docs/d5/d30/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter.html +++ b/docs/d5/d30/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter.html @@ -192,7 +192,7 @@ static const size_t kUnitS diff --git a/docs/d5/d3e/structedash__packager_1_1media_1_1H265ReferencePictureSet-members.html b/docs/d5/d3e/structedash__packager_1_1media_1_1H265ReferencePictureSet-members.html index 0b4d742246..7248ad6790 100644 --- a/docs/d5/d3e/structedash__packager_1_1media_1_1H265ReferencePictureSet-members.html +++ b/docs/d5/d3e/structedash__packager_1_1media_1_1H265ReferencePictureSet-members.html @@ -103,7 +103,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 99286fc1fd..56bde23ef5 100644 --- a/docs/d5/d40/webm_2single__segment__segmenter_8h_source.html +++ b/docs/d5/d40/webm_2single__segment__segmenter_8h_source.html @@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d41/hevc__decoder__configuration_8cc_source.html b/docs/d5/d41/hevc__decoder__configuration_8cc_source.html index 11b9d70462..33661848ab 100644 --- a/docs/d5/d41/hevc__decoder__configuration_8cc_source.html +++ b/docs/d5/d41/hevc__decoder__configuration_8cc_source.html @@ -98,7 +98,7 @@ 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/base/buffer_reader.h"
-
12 #include "packager/media/formats/mp4/rcheck.h"
+
12 #include "packager/media/base/rcheck.h"
13 
14 namespace edash_packager {
15 namespace media {
@@ -256,7 +256,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d4a/classedash__packager_1_1media_1_1mp2t_1_1TsPacket-members.html b/docs/d5/d4a/classedash__packager_1_1media_1_1mp2t_1_1TsPacket-members.html index 495865f96f..ca7c8c93ba 100644 --- a/docs/d5/d4a/classedash__packager_1_1media_1_1mp2t_1_1TsPacket-members.html +++ b/docs/d5/d4a/classedash__packager_1_1media_1_1mp2t_1_1TsPacket-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d4d/box_8cc_source.html b/docs/d5/d4d/box_8cc_source.html index d365ffb156..54c134806f 100644 --- a/docs/d5/d4d/box_8cc_source.html +++ b/docs/d5/d4d/box_8cc_source.html @@ -199,7 +199,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 2168f94130..81bb719d7e 100644 --- a/docs/d5/d52/ts__section__pes_8h_source.html +++ b/docs/d5/d52/ts__section__pes_8h_source.html @@ -161,7 +161,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d54/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig-members.html b/docs/d5/d54/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig-members.html index 583d703474..cbfa795a9d 100644 --- a/docs/d5/d54/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig-members.html +++ b/docs/d5/d54/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d62/classedash__packager_1_1media_1_1RsaPrivateKey.html b/docs/d5/d62/classedash__packager_1_1media_1_1RsaPrivateKey.html index 7c827393cb..20afada804 100644 --- a/docs/d5/d62/classedash__packager_1_1media_1_1RsaPrivateKey.html +++ b/docs/d5/d62/classedash__packager_1_1media_1_1RsaPrivateKey.html @@ -224,7 +224,7 @@ Static Public Member Functions diff --git a/docs/d5/d63/network__util_8cc_source.html b/docs/d5/d63/network__util_8cc_source.html index 52465c475f..2b44f51373 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/d65/encryption__modes_8h_source.html b/docs/d5/d65/encryption__modes_8h_source.html index 8698acb621..ac1512745e 100644 --- a/docs/d5/d65/encryption__modes_8h_source.html +++ b/docs/d5/d65/encryption__modes_8h_source.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d6e/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html b/docs/d5/d6e/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html index 69c67859cb..177d27eb7c 100644 --- a/docs/d5/d6e/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html +++ b/docs/d5/d6e/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d6f/vlog__flags_8cc_source.html b/docs/d5/d6f/vlog__flags_8cc_source.html index ca3a6c021d..b40c86ffee 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/d73/vp__codec__configuration_8h_source.html b/docs/d5/d73/vp__codec__configuration_8h_source.html index 6ce722a360..ed6bde97be 100644 --- a/docs/d5/d73/vp__codec__configuration_8h_source.html +++ b/docs/d5/d73/vp__codec__configuration_8h_source.html @@ -192,7 +192,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d78/structedash__packager_1_1media_1_1mp4_1_1SampleEncryption.html b/docs/d5/d78/structedash__packager_1_1media_1_1mp4_1_1SampleEncryption.html index 32ab77885d..5a12673655 100644 --- a/docs/d5/d78/structedash__packager_1_1media_1_1mp4_1_1SampleEncryption.html +++ b/docs/d5/d78/structedash__packager_1_1media_1_1mp4_1_1SampleEncryption.html @@ -250,7 +250,7 @@ Additional Inherited Members diff --git a/docs/d5/d7a/structedash__packager_1_1Element.html b/docs/d5/d7a/structedash__packager_1_1Element.html index b8c154a3cf..723f80d6c0 100644 --- a/docs/d5/d7a/structedash__packager_1_1Element.html +++ b/docs/d5/d7a/structedash__packager_1_1Element.html @@ -120,7 +120,7 @@ std::vector< diff --git a/docs/d5/d7b/box__definitions_8h_source.html b/docs/d5/d7b/box__definitions_8h_source.html index 8e1f0446c9..5bbb862248 100644 --- a/docs/d5/d7b/box__definitions_8h_source.html +++ b/docs/d5/d7b/box__definitions_8h_source.html @@ -97,10 +97,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 #include <vector>
9 
10 #include "packager/media/base/decrypt_config.h"
-
11 #include "packager/media/formats/mp4/aac_audio_specific_config.h"
-
12 #include "packager/media/formats/mp4/box.h"
-
13 #include "packager/media/formats/mp4/es_descriptor.h"
-
14 #include "packager/media/formats/mp4/fourccs.h"
+
11 #include "packager/media/base/fourccs.h"
+
12 #include "packager/media/formats/mp4/aac_audio_specific_config.h"
+
13 #include "packager/media/formats/mp4/box.h"
+
14 #include "packager/media/formats/mp4/es_descriptor.h"
15 
16 namespace edash_packager {
17 namespace media {
@@ -340,7 +340,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
277  DECLARE_BOX_METHODS(VideoSampleEntry);
278  // Returns actual format of this sample entry.
279  FourCC GetActualFormat() const {
-
280  return format == FOURCC_ENCV ? sinf.format.format : format;
+
280  return format == FOURCC_encv ? sinf.format.format : format;
281  }
282 
283  FourCC format;
@@ -386,7 +386,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
323  DECLARE_BOX_METHODS(AudioSampleEntry);
324  // Returns actual format of this sample entry.
325  FourCC GetActualFormat() const {
-
326  return format == FOURCC_ENCA ? sinf.format.format : format;
+
326  return format == FOURCC_enca ? sinf.format.format : format;
327  }
328 
329  FourCC format;
@@ -945,7 +945,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d89/widevine__key__source_8cc_source.html b/docs/d5/d89/widevine__key__source_8cc_source.html index 10114e658a..ae0bbfedc6 100644 --- a/docs/d5/d89/widevine__key__source_8cc_source.html +++ b/docs/d5/d89/widevine__key__source_8cc_source.html @@ -107,631 +107,624 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
18 #include "packager/media/base/http_key_fetcher.h"
19 #include "packager/media/base/producer_consumer_queue.h"
20 #include "packager/media/base/protection_system_specific_info.h"
-
21 #include "packager/media/base/request_signer.h"
-
22 #include "packager/media/base/widevine_pssh_data.pb.h"
-
23 
-
24 #define RCHECK(x) \
-
25  do { \
-
26  if (!(x)) { \
-
27  LOG(ERROR) << "Failure while processing: " << #x; \
-
28  return false; \
-
29  } \
-
30  } while (0)
-
31 
-
32 namespace edash_packager {
-
33 namespace {
+
21 #include "packager/media/base/rcheck.h"
+
22 #include "packager/media/base/request_signer.h"
+
23 #include "packager/media/base/widevine_pssh_data.pb.h"
+
24 
+
25 namespace edash_packager {
+
26 namespace {
+
27 
+
28 const bool kEnableKeyRotation = true;
+
29 
+
30 const char kLicenseStatusOK[] = "OK";
+
31 // Server may return INTERNAL_ERROR intermittently, which is a transient error
+
32 // and the next client request may succeed without problem.
+
33 const char kLicenseStatusTransientError[] = "INTERNAL_ERROR";
34 
-
35 const bool kEnableKeyRotation = true;
-
36 
-
37 const char kLicenseStatusOK[] = "OK";
-
38 // Server may return INTERNAL_ERROR intermittently, which is a transient error
-
39 // and the next client request may succeed without problem.
-
40 const char kLicenseStatusTransientError[] = "INTERNAL_ERROR";
-
41 
-
42 // Number of times to retry requesting keys in case of a transient error from
-
43 // the server.
-
44 const int kNumTransientErrorRetries = 5;
-
45 const int kFirstRetryDelayMilliseconds = 1000;
-
46 
-
47 // Default crypto period count, which is the number of keys to fetch on every
-
48 // key rotation enabled request.
-
49 const int kDefaultCryptoPeriodCount = 10;
-
50 const int kGetKeyTimeoutInSeconds = 5 * 60; // 5 minutes.
-
51 const int kKeyFetchTimeoutInSeconds = 60; // 1 minute.
-
52 
-
53 const uint8_t kWidevineSystemId[] = {0xed, 0xef, 0x8b, 0xa9, 0x79, 0xd6,
-
54  0x4a, 0xce, 0xa3, 0xc8, 0x27, 0xdc,
-
55  0xd5, 0x1d, 0x21, 0xed};
-
56 
-
57 bool Base64StringToBytes(const std::string& base64_string,
-
58  std::vector<uint8_t>* bytes) {
-
59  DCHECK(bytes);
-
60  std::string str;
-
61  if (!base::Base64Decode(base64_string, &str))
-
62  return false;
-
63  bytes->assign(str.begin(), str.end());
-
64  return true;
-
65 }
-
66 
-
67 void BytesToBase64String(const std::vector<uint8_t>& bytes,
-
68  std::string* base64_string) {
-
69  DCHECK(base64_string);
-
70  base::Base64Encode(base::StringPiece(reinterpret_cast<const char*>
-
71  (bytes.data()), bytes.size()),
-
72  base64_string);
-
73 }
-
74 
-
75 bool GetKeyFromTrack(const base::DictionaryValue& track_dict,
-
76  std::vector<uint8_t>* key) {
-
77  DCHECK(key);
-
78  std::string key_base64_string;
-
79  RCHECK(track_dict.GetString("key", &key_base64_string));
-
80  VLOG(2) << "Key:" << key_base64_string;
-
81  RCHECK(Base64StringToBytes(key_base64_string, key));
-
82  return true;
-
83 }
-
84 
-
85 bool GetKeyIdFromTrack(const base::DictionaryValue& track_dict,
-
86  std::vector<uint8_t>* key_id) {
-
87  DCHECK(key_id);
-
88  std::string key_id_base64_string;
-
89  RCHECK(track_dict.GetString("key_id", &key_id_base64_string));
-
90  VLOG(2) << "Keyid:" << key_id_base64_string;
-
91  RCHECK(Base64StringToBytes(key_id_base64_string, key_id));
-
92  return true;
-
93 }
-
94 
-
95 bool GetPsshDataFromTrack(const base::DictionaryValue& track_dict,
-
96  std::vector<uint8_t>* pssh_data) {
-
97  DCHECK(pssh_data);
-
98 
-
99  const base::ListValue* pssh_list;
-
100  RCHECK(track_dict.GetList("pssh", &pssh_list));
-
101  // Invariant check. We don't want to crash in release mode if possible.
-
102  // The following code handles it gracefully if GetSize() does not return 1.
-
103  DCHECK_EQ(1u, pssh_list->GetSize());
-
104 
-
105  const base::DictionaryValue* pssh_dict;
-
106  RCHECK(pssh_list->GetDictionary(0, &pssh_dict));
-
107  std::string drm_type;
-
108  RCHECK(pssh_dict->GetString("drm_type", &drm_type));
-
109  if (drm_type != "WIDEVINE") {
-
110  LOG(ERROR) << "Expecting drm_type 'WIDEVINE', get '" << drm_type << "'.";
-
111  return false;
-
112  }
-
113  std::string pssh_data_base64_string;
-
114  RCHECK(pssh_dict->GetString("data", &pssh_data_base64_string));
+
35 // Number of times to retry requesting keys in case of a transient error from
+
36 // the server.
+
37 const int kNumTransientErrorRetries = 5;
+
38 const int kFirstRetryDelayMilliseconds = 1000;
+
39 
+
40 // Default crypto period count, which is the number of keys to fetch on every
+
41 // key rotation enabled request.
+
42 const int kDefaultCryptoPeriodCount = 10;
+
43 const int kGetKeyTimeoutInSeconds = 5 * 60; // 5 minutes.
+
44 const int kKeyFetchTimeoutInSeconds = 60; // 1 minute.
+
45 
+
46 const uint8_t kWidevineSystemId[] = {0xed, 0xef, 0x8b, 0xa9, 0x79, 0xd6,
+
47  0x4a, 0xce, 0xa3, 0xc8, 0x27, 0xdc,
+
48  0xd5, 0x1d, 0x21, 0xed};
+
49 
+
50 bool Base64StringToBytes(const std::string& base64_string,
+
51  std::vector<uint8_t>* bytes) {
+
52  DCHECK(bytes);
+
53  std::string str;
+
54  if (!base::Base64Decode(base64_string, &str))
+
55  return false;
+
56  bytes->assign(str.begin(), str.end());
+
57  return true;
+
58 }
+
59 
+
60 void BytesToBase64String(const std::vector<uint8_t>& bytes,
+
61  std::string* base64_string) {
+
62  DCHECK(base64_string);
+
63  base::Base64Encode(base::StringPiece(reinterpret_cast<const char*>
+
64  (bytes.data()), bytes.size()),
+
65  base64_string);
+
66 }
+
67 
+
68 bool GetKeyFromTrack(const base::DictionaryValue& track_dict,
+
69  std::vector<uint8_t>* key) {
+
70  DCHECK(key);
+
71  std::string key_base64_string;
+
72  RCHECK(track_dict.GetString("key", &key_base64_string));
+
73  VLOG(2) << "Key:" << key_base64_string;
+
74  RCHECK(Base64StringToBytes(key_base64_string, key));
+
75  return true;
+
76 }
+
77 
+
78 bool GetKeyIdFromTrack(const base::DictionaryValue& track_dict,
+
79  std::vector<uint8_t>* key_id) {
+
80  DCHECK(key_id);
+
81  std::string key_id_base64_string;
+
82  RCHECK(track_dict.GetString("key_id", &key_id_base64_string));
+
83  VLOG(2) << "Keyid:" << key_id_base64_string;
+
84  RCHECK(Base64StringToBytes(key_id_base64_string, key_id));
+
85  return true;
+
86 }
+
87 
+
88 bool GetPsshDataFromTrack(const base::DictionaryValue& track_dict,
+
89  std::vector<uint8_t>* pssh_data) {
+
90  DCHECK(pssh_data);
+
91 
+
92  const base::ListValue* pssh_list;
+
93  RCHECK(track_dict.GetList("pssh", &pssh_list));
+
94  // Invariant check. We don't want to crash in release mode if possible.
+
95  // The following code handles it gracefully if GetSize() does not return 1.
+
96  DCHECK_EQ(1u, pssh_list->GetSize());
+
97 
+
98  const base::DictionaryValue* pssh_dict;
+
99  RCHECK(pssh_list->GetDictionary(0, &pssh_dict));
+
100  std::string drm_type;
+
101  RCHECK(pssh_dict->GetString("drm_type", &drm_type));
+
102  if (drm_type != "WIDEVINE") {
+
103  LOG(ERROR) << "Expecting drm_type 'WIDEVINE', get '" << drm_type << "'.";
+
104  return false;
+
105  }
+
106  std::string pssh_data_base64_string;
+
107  RCHECK(pssh_dict->GetString("data", &pssh_data_base64_string));
+
108 
+
109  VLOG(2) << "Pssh Data:" << pssh_data_base64_string;
+
110  RCHECK(Base64StringToBytes(pssh_data_base64_string, pssh_data));
+
111  return true;
+
112 }
+
113 
+
114 } // namespace
115 
-
116  VLOG(2) << "Pssh Data:" << pssh_data_base64_string;
-
117  RCHECK(Base64StringToBytes(pssh_data_base64_string, pssh_data));
-
118  return true;
-
119 }
-
120 
-
121 } // namespace
-
122 
-
123 namespace media {
-
124 
-
125 // A ref counted wrapper for EncryptionKeyMap.
-
126 class WidevineKeySource::RefCountedEncryptionKeyMap
-
127  : public base::RefCountedThreadSafe<RefCountedEncryptionKeyMap> {
-
128  public:
-
129  explicit RefCountedEncryptionKeyMap(EncryptionKeyMap* encryption_key_map) {
-
130  DCHECK(encryption_key_map);
-
131  encryption_key_map_.swap(*encryption_key_map);
-
132  }
+
116 namespace media {
+
117 
+
118 // A ref counted wrapper for EncryptionKeyMap.
+
119 class WidevineKeySource::RefCountedEncryptionKeyMap
+
120  : public base::RefCountedThreadSafe<RefCountedEncryptionKeyMap> {
+
121  public:
+
122  explicit RefCountedEncryptionKeyMap(EncryptionKeyMap* encryption_key_map) {
+
123  DCHECK(encryption_key_map);
+
124  encryption_key_map_.swap(*encryption_key_map);
+
125  }
+
126 
+
127  std::map<KeySource::TrackType, EncryptionKey*>& map() {
+
128  return encryption_key_map_;
+
129  }
+
130 
+
131  private:
+
132  friend class base::RefCountedThreadSafe<RefCountedEncryptionKeyMap>;
133 
-
134  std::map<KeySource::TrackType, EncryptionKey*>& map() {
-
135  return encryption_key_map_;
-
136  }
+
134  ~RefCountedEncryptionKeyMap() { STLDeleteValues(&encryption_key_map_); }
+
135 
+
136  EncryptionKeyMap encryption_key_map_;
137 
-
138  private:
-
139  friend class base::RefCountedThreadSafe<RefCountedEncryptionKeyMap>;
+
138  DISALLOW_COPY_AND_ASSIGN(RefCountedEncryptionKeyMap);
+
139 };
140 
-
141  ~RefCountedEncryptionKeyMap() { STLDeleteValues(&encryption_key_map_); }
-
142 
-
143  EncryptionKeyMap encryption_key_map_;
-
144 
-
145  DISALLOW_COPY_AND_ASSIGN(RefCountedEncryptionKeyMap);
-
146 };
-
147 
-
148 WidevineKeySource::WidevineKeySource(const std::string& server_url,
-
149  bool add_common_pssh)
-
150  : key_production_thread_("KeyProductionThread",
-
151  base::Bind(&WidevineKeySource::FetchKeysTask,
-
152  base::Unretained(this))),
-
153  key_fetcher_(new HttpKeyFetcher(kKeyFetchTimeoutInSeconds)),
-
154  server_url_(server_url),
-
155  crypto_period_count_(kDefaultCryptoPeriodCount),
-
156  add_common_pssh_(add_common_pssh),
-
157  key_production_started_(false),
-
158  start_key_production_(false, false),
-
159  first_crypto_period_index_(0) {
-
160  key_production_thread_.Start();
-
161 }
-
162 
-
163 WidevineKeySource::~WidevineKeySource() {
-
164  if (key_pool_)
-
165  key_pool_->Stop();
-
166  if (key_production_thread_.HasBeenStarted()) {
-
167  // Signal the production thread to start key production if it is not
-
168  // signaled yet so the thread can be joined.
-
169  start_key_production_.Signal();
-
170  key_production_thread_.Join();
-
171  }
-
172  STLDeleteValues(&encryption_key_map_);
-
173 }
-
174 
-
175 Status WidevineKeySource::FetchKeys(const std::vector<uint8_t>& content_id,
-
176  const std::string& policy) {
-
177  base::AutoLock scoped_lock(lock_);
-
178  request_dict_.Clear();
-
179  std::string content_id_base64_string;
-
180  BytesToBase64String(content_id, &content_id_base64_string);
-
181  request_dict_.SetString("content_id", content_id_base64_string);
-
182  request_dict_.SetString("policy", policy);
-
183  return FetchKeysInternal(!kEnableKeyRotation, 0, false);
-
184 }
-
185 
-
186 Status WidevineKeySource::FetchKeys(const std::vector<uint8_t>& pssh_box) {
-
187  const std::vector<uint8_t> widevine_system_id(
-
188  kWidevineSystemId, kWidevineSystemId + arraysize(kWidevineSystemId));
-
189 
- -
191  if (!info.Parse(pssh_box.data(), pssh_box.size()))
-
192  return Status(error::PARSER_FAILURE, "Error parsing the PSSH box.");
-
193 
-
194  if (info.system_id() == widevine_system_id) {
-
195  base::AutoLock scoped_lock(lock_);
-
196  request_dict_.Clear();
-
197  std::string pssh_data_base64_string;
-
198 
-
199  BytesToBase64String(info.pssh_data(), &pssh_data_base64_string);
-
200  request_dict_.SetString("pssh_data", pssh_data_base64_string);
-
201  return FetchKeysInternal(!kEnableKeyRotation, 0, false);
-
202  } else if (!info.key_ids().empty()) {
-
203  // This is not a Widevine PSSH box. Try making the request for the key-IDs.
-
204  // Even if this is a different key-system, it should still work. Either
-
205  // the server will not recognize it and return an error, or it will
-
206  // recognize it and the key must be correct (or the content is bad).
-
207  return FetchKeys(info.key_ids());
-
208  } else {
-
209  return Status(error::NOT_FOUND, "No key IDs given in PSSH box.");
-
210  }
-
211 }
-
212 
- -
214  const std::vector<std::vector<uint8_t>>& key_ids) {
-
215  base::AutoLock scoped_lock(lock_);
-
216  request_dict_.Clear();
-
217  std::string pssh_data_base64_string;
-
218 
-
219  // Generate Widevine PSSH data from the key-IDs.
-
220  WidevinePsshData widevine_pssh_data;
-
221  for (size_t i = 0; i < key_ids.size(); i++) {
-
222  widevine_pssh_data.add_key_id(key_ids[i].data(), key_ids[i].size());
-
223  }
-
224 
-
225  const std::string serialized_string = widevine_pssh_data.SerializeAsString();
-
226  std::vector<uint8_t> pssh_data(serialized_string.begin(),
-
227  serialized_string.end());
-
228 
-
229  BytesToBase64String(pssh_data, &pssh_data_base64_string);
-
230  request_dict_.SetString("pssh_data", pssh_data_base64_string);
-
231  return FetchKeysInternal(!kEnableKeyRotation, 0, false);
-
232 }
-
233 
- -
235  base::AutoLock scoped_lock(lock_);
-
236  request_dict_.Clear();
-
237  // Javascript/JSON does not support int64_t or unsigned numbers. Use double
-
238  // instead as 32-bit integer can be lossless represented using double.
-
239  request_dict_.SetDouble("asset_id", asset_id);
-
240  return FetchKeysInternal(!kEnableKeyRotation, 0, true);
-
241 }
-
242 
-
243 Status WidevineKeySource::GetKey(TrackType track_type, EncryptionKey* key) {
-
244  DCHECK(key);
-
245  if (encryption_key_map_.find(track_type) == encryption_key_map_.end()) {
-
246  return Status(error::INTERNAL_ERROR,
-
247  "Cannot find key of type " + TrackTypeToString(track_type));
-
248  }
-
249  *key = *encryption_key_map_[track_type];
-
250  return Status::OK;
-
251 }
-
252 
-
253 Status WidevineKeySource::GetKey(const std::vector<uint8_t>& key_id,
-
254  EncryptionKey* key) {
-
255  DCHECK(key);
-
256  for (std::map<TrackType, EncryptionKey*>::iterator iter =
-
257  encryption_key_map_.begin();
-
258  iter != encryption_key_map_.end();
-
259  ++iter) {
-
260  if (iter->second->key_id == key_id) {
-
261  *key = *iter->second;
-
262  return Status::OK;
-
263  }
-
264  }
-
265  return Status(error::INTERNAL_ERROR,
-
266  "Cannot find key with specified key ID");
-
267 }
-
268 
-
269 Status WidevineKeySource::GetCryptoPeriodKey(uint32_t crypto_period_index,
-
270  TrackType track_type,
-
271  EncryptionKey* key) {
-
272  DCHECK(key_production_thread_.HasBeenStarted());
-
273  // TODO(kqyang): This is not elegant. Consider refactoring later.
-
274  {
-
275  base::AutoLock scoped_lock(lock_);
-
276  if (!key_production_started_) {
-
277  // Another client may have a slightly smaller starting crypto period
-
278  // index. Set the initial value to account for that.
-
279  first_crypto_period_index_ =
-
280  crypto_period_index ? crypto_period_index - 1 : 0;
-
281  DCHECK(!key_pool_);
-
282  key_pool_.reset(new EncryptionKeyQueue(crypto_period_count_,
-
283  first_crypto_period_index_));
-
284  start_key_production_.Signal();
-
285  key_production_started_ = true;
-
286  }
-
287  }
-
288  return GetKeyInternal(crypto_period_index, track_type, key);
-
289 }
-
290 
-
291 void WidevineKeySource::set_signer(scoped_ptr<RequestSigner> signer) {
-
292  signer_ = signer.Pass();
-
293 }
-
294 
-
295 void WidevineKeySource::set_key_fetcher(scoped_ptr<KeyFetcher> key_fetcher) {
-
296  key_fetcher_ = key_fetcher.Pass();
-
297 }
-
298 
-
299 Status WidevineKeySource::GetKeyInternal(uint32_t crypto_period_index,
-
300  TrackType track_type,
-
301  EncryptionKey* key) {
-
302  DCHECK(key_pool_);
-
303  DCHECK(key);
-
304  DCHECK_LE(track_type, NUM_VALID_TRACK_TYPES);
-
305  DCHECK_NE(track_type, TRACK_TYPE_UNKNOWN);
-
306 
-
307  scoped_refptr<RefCountedEncryptionKeyMap> ref_counted_encryption_key_map;
-
308  Status status =
-
309  key_pool_->Peek(crypto_period_index, &ref_counted_encryption_key_map,
-
310  kGetKeyTimeoutInSeconds * 1000);
-
311  if (!status.ok()) {
-
312  if (status.error_code() == error::STOPPED) {
-
313  CHECK(!common_encryption_request_status_.ok());
-
314  return common_encryption_request_status_;
-
315  }
-
316  return status;
-
317  }
-
318 
-
319  EncryptionKeyMap& encryption_key_map = ref_counted_encryption_key_map->map();
-
320  if (encryption_key_map.find(track_type) == encryption_key_map.end()) {
-
321  return Status(error::INTERNAL_ERROR,
-
322  "Cannot find key of type " + TrackTypeToString(track_type));
-
323  }
-
324  *key = *encryption_key_map[track_type];
-
325  return Status::OK;
-
326 }
-
327 
-
328 void WidevineKeySource::FetchKeysTask() {
-
329  // Wait until key production is signaled.
-
330  start_key_production_.Wait();
-
331  if (!key_pool_ || key_pool_->Stopped())
-
332  return;
-
333 
-
334  Status status = FetchKeysInternal(kEnableKeyRotation,
-
335  first_crypto_period_index_,
-
336  false);
-
337  while (status.ok()) {
-
338  first_crypto_period_index_ += crypto_period_count_;
-
339  status = FetchKeysInternal(kEnableKeyRotation,
-
340  first_crypto_period_index_,
-
341  false);
-
342  }
-
343  common_encryption_request_status_ = status;
-
344  key_pool_->Stop();
-
345 }
-
346 
-
347 Status WidevineKeySource::FetchKeysInternal(bool enable_key_rotation,
-
348  uint32_t first_crypto_period_index,
-
349  bool widevine_classic) {
-
350  std::string request;
-
351  FillRequest(enable_key_rotation,
-
352  first_crypto_period_index,
-
353  &request);
-
354 
-
355  std::string message;
-
356  Status status = GenerateKeyMessage(request, &message);
-
357  if (!status.ok())
-
358  return status;
-
359  VLOG(1) << "Message: " << message;
-
360 
-
361  std::string raw_response;
-
362  int64_t sleep_duration = kFirstRetryDelayMilliseconds;
+
141 WidevineKeySource::WidevineKeySource(const std::string& server_url,
+
142  bool add_common_pssh)
+
143  : key_production_thread_("KeyProductionThread",
+
144  base::Bind(&WidevineKeySource::FetchKeysTask,
+
145  base::Unretained(this))),
+
146  key_fetcher_(new HttpKeyFetcher(kKeyFetchTimeoutInSeconds)),
+
147  server_url_(server_url),
+
148  crypto_period_count_(kDefaultCryptoPeriodCount),
+
149  add_common_pssh_(add_common_pssh),
+
150  key_production_started_(false),
+
151  start_key_production_(false, false),
+
152  first_crypto_period_index_(0) {
+
153  key_production_thread_.Start();
+
154 }
+
155 
+
156 WidevineKeySource::~WidevineKeySource() {
+
157  if (key_pool_)
+
158  key_pool_->Stop();
+
159  if (key_production_thread_.HasBeenStarted()) {
+
160  // Signal the production thread to start key production if it is not
+
161  // signaled yet so the thread can be joined.
+
162  start_key_production_.Signal();
+
163  key_production_thread_.Join();
+
164  }
+
165  STLDeleteValues(&encryption_key_map_);
+
166 }
+
167 
+
168 Status WidevineKeySource::FetchKeys(const std::vector<uint8_t>& content_id,
+
169  const std::string& policy) {
+
170  base::AutoLock scoped_lock(lock_);
+
171  request_dict_.Clear();
+
172  std::string content_id_base64_string;
+
173  BytesToBase64String(content_id, &content_id_base64_string);
+
174  request_dict_.SetString("content_id", content_id_base64_string);
+
175  request_dict_.SetString("policy", policy);
+
176  return FetchKeysInternal(!kEnableKeyRotation, 0, false);
+
177 }
+
178 
+
179 Status WidevineKeySource::FetchKeys(const std::vector<uint8_t>& pssh_box) {
+
180  const std::vector<uint8_t> widevine_system_id(
+
181  kWidevineSystemId, kWidevineSystemId + arraysize(kWidevineSystemId));
+
182 
+ +
184  if (!info.Parse(pssh_box.data(), pssh_box.size()))
+
185  return Status(error::PARSER_FAILURE, "Error parsing the PSSH box.");
+
186 
+
187  if (info.system_id() == widevine_system_id) {
+
188  base::AutoLock scoped_lock(lock_);
+
189  request_dict_.Clear();
+
190  std::string pssh_data_base64_string;
+
191 
+
192  BytesToBase64String(info.pssh_data(), &pssh_data_base64_string);
+
193  request_dict_.SetString("pssh_data", pssh_data_base64_string);
+
194  return FetchKeysInternal(!kEnableKeyRotation, 0, false);
+
195  } else if (!info.key_ids().empty()) {
+
196  // This is not a Widevine PSSH box. Try making the request for the key-IDs.
+
197  // Even if this is a different key-system, it should still work. Either
+
198  // the server will not recognize it and return an error, or it will
+
199  // recognize it and the key must be correct (or the content is bad).
+
200  return FetchKeys(info.key_ids());
+
201  } else {
+
202  return Status(error::NOT_FOUND, "No key IDs given in PSSH box.");
+
203  }
+
204 }
+
205 
+ +
207  const std::vector<std::vector<uint8_t>>& key_ids) {
+
208  base::AutoLock scoped_lock(lock_);
+
209  request_dict_.Clear();
+
210  std::string pssh_data_base64_string;
+
211 
+
212  // Generate Widevine PSSH data from the key-IDs.
+
213  WidevinePsshData widevine_pssh_data;
+
214  for (size_t i = 0; i < key_ids.size(); i++) {
+
215  widevine_pssh_data.add_key_id(key_ids[i].data(), key_ids[i].size());
+
216  }
+
217 
+
218  const std::string serialized_string = widevine_pssh_data.SerializeAsString();
+
219  std::vector<uint8_t> pssh_data(serialized_string.begin(),
+
220  serialized_string.end());
+
221 
+
222  BytesToBase64String(pssh_data, &pssh_data_base64_string);
+
223  request_dict_.SetString("pssh_data", pssh_data_base64_string);
+
224  return FetchKeysInternal(!kEnableKeyRotation, 0, false);
+
225 }
+
226 
+ +
228  base::AutoLock scoped_lock(lock_);
+
229  request_dict_.Clear();
+
230  // Javascript/JSON does not support int64_t or unsigned numbers. Use double
+
231  // instead as 32-bit integer can be lossless represented using double.
+
232  request_dict_.SetDouble("asset_id", asset_id);
+
233  return FetchKeysInternal(!kEnableKeyRotation, 0, true);
+
234 }
+
235 
+
236 Status WidevineKeySource::GetKey(TrackType track_type, EncryptionKey* key) {
+
237  DCHECK(key);
+
238  if (encryption_key_map_.find(track_type) == encryption_key_map_.end()) {
+
239  return Status(error::INTERNAL_ERROR,
+
240  "Cannot find key of type " + TrackTypeToString(track_type));
+
241  }
+
242  *key = *encryption_key_map_[track_type];
+
243  return Status::OK;
+
244 }
+
245 
+
246 Status WidevineKeySource::GetKey(const std::vector<uint8_t>& key_id,
+
247  EncryptionKey* key) {
+
248  DCHECK(key);
+
249  for (std::map<TrackType, EncryptionKey*>::iterator iter =
+
250  encryption_key_map_.begin();
+
251  iter != encryption_key_map_.end();
+
252  ++iter) {
+
253  if (iter->second->key_id == key_id) {
+
254  *key = *iter->second;
+
255  return Status::OK;
+
256  }
+
257  }
+
258  return Status(error::INTERNAL_ERROR,
+
259  "Cannot find key with specified key ID");
+
260 }
+
261 
+
262 Status WidevineKeySource::GetCryptoPeriodKey(uint32_t crypto_period_index,
+
263  TrackType track_type,
+
264  EncryptionKey* key) {
+
265  DCHECK(key_production_thread_.HasBeenStarted());
+
266  // TODO(kqyang): This is not elegant. Consider refactoring later.
+
267  {
+
268  base::AutoLock scoped_lock(lock_);
+
269  if (!key_production_started_) {
+
270  // Another client may have a slightly smaller starting crypto period
+
271  // index. Set the initial value to account for that.
+
272  first_crypto_period_index_ =
+
273  crypto_period_index ? crypto_period_index - 1 : 0;
+
274  DCHECK(!key_pool_);
+
275  key_pool_.reset(new EncryptionKeyQueue(crypto_period_count_,
+
276  first_crypto_period_index_));
+
277  start_key_production_.Signal();
+
278  key_production_started_ = true;
+
279  }
+
280  }
+
281  return GetKeyInternal(crypto_period_index, track_type, key);
+
282 }
+
283 
+
284 void WidevineKeySource::set_signer(scoped_ptr<RequestSigner> signer) {
+
285  signer_ = signer.Pass();
+
286 }
+
287 
+
288 void WidevineKeySource::set_key_fetcher(scoped_ptr<KeyFetcher> key_fetcher) {
+
289  key_fetcher_ = key_fetcher.Pass();
+
290 }
+
291 
+
292 Status WidevineKeySource::GetKeyInternal(uint32_t crypto_period_index,
+
293  TrackType track_type,
+
294  EncryptionKey* key) {
+
295  DCHECK(key_pool_);
+
296  DCHECK(key);
+
297  DCHECK_LE(track_type, NUM_VALID_TRACK_TYPES);
+
298  DCHECK_NE(track_type, TRACK_TYPE_UNKNOWN);
+
299 
+
300  scoped_refptr<RefCountedEncryptionKeyMap> ref_counted_encryption_key_map;
+
301  Status status =
+
302  key_pool_->Peek(crypto_period_index, &ref_counted_encryption_key_map,
+
303  kGetKeyTimeoutInSeconds * 1000);
+
304  if (!status.ok()) {
+
305  if (status.error_code() == error::STOPPED) {
+
306  CHECK(!common_encryption_request_status_.ok());
+
307  return common_encryption_request_status_;
+
308  }
+
309  return status;
+
310  }
+
311 
+
312  EncryptionKeyMap& encryption_key_map = ref_counted_encryption_key_map->map();
+
313  if (encryption_key_map.find(track_type) == encryption_key_map.end()) {
+
314  return Status(error::INTERNAL_ERROR,
+
315  "Cannot find key of type " + TrackTypeToString(track_type));
+
316  }
+
317  *key = *encryption_key_map[track_type];
+
318  return Status::OK;
+
319 }
+
320 
+
321 void WidevineKeySource::FetchKeysTask() {
+
322  // Wait until key production is signaled.
+
323  start_key_production_.Wait();
+
324  if (!key_pool_ || key_pool_->Stopped())
+
325  return;
+
326 
+
327  Status status = FetchKeysInternal(kEnableKeyRotation,
+
328  first_crypto_period_index_,
+
329  false);
+
330  while (status.ok()) {
+
331  first_crypto_period_index_ += crypto_period_count_;
+
332  status = FetchKeysInternal(kEnableKeyRotation,
+
333  first_crypto_period_index_,
+
334  false);
+
335  }
+
336  common_encryption_request_status_ = status;
+
337  key_pool_->Stop();
+
338 }
+
339 
+
340 Status WidevineKeySource::FetchKeysInternal(bool enable_key_rotation,
+
341  uint32_t first_crypto_period_index,
+
342  bool widevine_classic) {
+
343  std::string request;
+
344  FillRequest(enable_key_rotation,
+
345  first_crypto_period_index,
+
346  &request);
+
347 
+
348  std::string message;
+
349  Status status = GenerateKeyMessage(request, &message);
+
350  if (!status.ok())
+
351  return status;
+
352  VLOG(1) << "Message: " << message;
+
353 
+
354  std::string raw_response;
+
355  int64_t sleep_duration = kFirstRetryDelayMilliseconds;
+
356 
+
357  // Perform client side retries if seeing server transient error to workaround
+
358  // server limitation.
+
359  for (int i = 0; i < kNumTransientErrorRetries; ++i) {
+
360  status = key_fetcher_->FetchKeys(server_url_, message, &raw_response);
+
361  if (status.ok()) {
+
362  VLOG(1) << "Retry [" << i << "] Response:" << raw_response;
363 
-
364  // Perform client side retries if seeing server transient error to workaround
-
365  // server limitation.
-
366  for (int i = 0; i < kNumTransientErrorRetries; ++i) {
-
367  status = key_fetcher_->FetchKeys(server_url_, message, &raw_response);
-
368  if (status.ok()) {
-
369  VLOG(1) << "Retry [" << i << "] Response:" << raw_response;
-
370 
-
371  std::string response;
-
372  if (!DecodeResponse(raw_response, &response)) {
-
373  return Status(error::SERVER_ERROR,
-
374  "Failed to decode response '" + raw_response + "'.");
-
375  }
+
364  std::string response;
+
365  if (!DecodeResponse(raw_response, &response)) {
+
366  return Status(error::SERVER_ERROR,
+
367  "Failed to decode response '" + raw_response + "'.");
+
368  }
+
369 
+
370  bool transient_error = false;
+
371  if (ExtractEncryptionKey(enable_key_rotation,
+
372  widevine_classic,
+
373  response,
+
374  &transient_error))
+
375  return Status::OK;
376 
-
377  bool transient_error = false;
-
378  if (ExtractEncryptionKey(enable_key_rotation,
-
379  widevine_classic,
-
380  response,
-
381  &transient_error))
-
382  return Status::OK;
-
383 
-
384  if (!transient_error) {
-
385  return Status(
-
386  error::SERVER_ERROR,
-
387  "Failed to extract encryption key from '" + response + "'.");
-
388  }
-
389  } else if (status.error_code() != error::TIME_OUT) {
-
390  return status;
+
377  if (!transient_error) {
+
378  return Status(
+
379  error::SERVER_ERROR,
+
380  "Failed to extract encryption key from '" + response + "'.");
+
381  }
+
382  } else if (status.error_code() != error::TIME_OUT) {
+
383  return status;
+
384  }
+
385 
+
386  // Exponential backoff.
+
387  if (i != kNumTransientErrorRetries - 1) {
+
388  base::PlatformThread::Sleep(
+
389  base::TimeDelta::FromMilliseconds(sleep_duration));
+
390  sleep_duration *= 2;
391  }
-
392 
-
393  // Exponential backoff.
-
394  if (i != kNumTransientErrorRetries - 1) {
-
395  base::PlatformThread::Sleep(
-
396  base::TimeDelta::FromMilliseconds(sleep_duration));
-
397  sleep_duration *= 2;
-
398  }
-
399  }
-
400  return Status(error::SERVER_ERROR,
-
401  "Failed to recover from server internal error.");
-
402 }
-
403 
-
404 void WidevineKeySource::FillRequest(bool enable_key_rotation,
-
405  uint32_t first_crypto_period_index,
-
406  std::string* request) {
-
407  DCHECK(request);
-
408  DCHECK(!request_dict_.empty());
-
409 
-
410  // Build tracks.
-
411  base::ListValue* tracks = new base::ListValue();
-
412 
-
413  base::DictionaryValue* track_sd = new base::DictionaryValue();
-
414  track_sd->SetString("type", "SD");
-
415  tracks->Append(track_sd);
-
416  base::DictionaryValue* track_hd = new base::DictionaryValue();
-
417  track_hd->SetString("type", "HD");
-
418  tracks->Append(track_hd);
-
419  base::DictionaryValue* track_audio = new base::DictionaryValue();
-
420  track_audio->SetString("type", "AUDIO");
-
421  tracks->Append(track_audio);
+
392  }
+
393  return Status(error::SERVER_ERROR,
+
394  "Failed to recover from server internal error.");
+
395 }
+
396 
+
397 void WidevineKeySource::FillRequest(bool enable_key_rotation,
+
398  uint32_t first_crypto_period_index,
+
399  std::string* request) {
+
400  DCHECK(request);
+
401  DCHECK(!request_dict_.empty());
+
402 
+
403  // Build tracks.
+
404  base::ListValue* tracks = new base::ListValue();
+
405 
+
406  base::DictionaryValue* track_sd = new base::DictionaryValue();
+
407  track_sd->SetString("type", "SD");
+
408  tracks->Append(track_sd);
+
409  base::DictionaryValue* track_hd = new base::DictionaryValue();
+
410  track_hd->SetString("type", "HD");
+
411  tracks->Append(track_hd);
+
412  base::DictionaryValue* track_audio = new base::DictionaryValue();
+
413  track_audio->SetString("type", "AUDIO");
+
414  tracks->Append(track_audio);
+
415 
+
416  request_dict_.Set("tracks", tracks);
+
417 
+
418  // Build DRM types.
+
419  base::ListValue* drm_types = new base::ListValue();
+
420  drm_types->AppendString("WIDEVINE");
+
421  request_dict_.Set("drm_types", drm_types);
422 
-
423  request_dict_.Set("tracks", tracks);
-
424 
-
425  // Build DRM types.
-
426  base::ListValue* drm_types = new base::ListValue();
-
427  drm_types->AppendString("WIDEVINE");
-
428  request_dict_.Set("drm_types", drm_types);
-
429 
-
430  // Build key rotation fields.
-
431  if (enable_key_rotation) {
-
432  // Javascript/JSON does not support int64_t or unsigned numbers. Use double
-
433  // instead as 32-bit integer can be lossless represented using double.
-
434  request_dict_.SetDouble("first_crypto_period_index",
-
435  first_crypto_period_index);
-
436  request_dict_.SetInteger("crypto_period_count", crypto_period_count_);
-
437  }
+
423  // Build key rotation fields.
+
424  if (enable_key_rotation) {
+
425  // Javascript/JSON does not support int64_t or unsigned numbers. Use double
+
426  // instead as 32-bit integer can be lossless represented using double.
+
427  request_dict_.SetDouble("first_crypto_period_index",
+
428  first_crypto_period_index);
+
429  request_dict_.SetInteger("crypto_period_count", crypto_period_count_);
+
430  }
+
431 
+
432  base::JSONWriter::WriteWithOptions(
+
433  request_dict_,
+
434  // Write doubles that have no fractional part as a normal integer, i.e.
+
435  // without using exponential notation or appending a '.0'.
+
436  base::JSONWriter::OPTIONS_OMIT_DOUBLE_TYPE_PRESERVATION, request);
+
437 }
438 
-
439  base::JSONWriter::WriteWithOptions(
-
440  request_dict_,
-
441  // Write doubles that have no fractional part as a normal integer, i.e.
-
442  // without using exponential notation or appending a '.0'.
-
443  base::JSONWriter::OPTIONS_OMIT_DOUBLE_TYPE_PRESERVATION, request);
-
444 }
+
439 Status WidevineKeySource::GenerateKeyMessage(const std::string& request,
+
440  std::string* message) {
+
441  DCHECK(message);
+
442 
+
443  std::string request_base64_string;
+
444  base::Base64Encode(request, &request_base64_string);
445 
-
446 Status WidevineKeySource::GenerateKeyMessage(const std::string& request,
-
447  std::string* message) {
-
448  DCHECK(message);
-
449 
-
450  std::string request_base64_string;
-
451  base::Base64Encode(request, &request_base64_string);
-
452 
-
453  base::DictionaryValue request_dict;
-
454  request_dict.SetString("request", request_base64_string);
-
455 
-
456  // Sign the request.
-
457  if (signer_) {
-
458  std::string signature;
-
459  if (!signer_->GenerateSignature(request, &signature))
-
460  return Status(error::INTERNAL_ERROR, "Signature generation failed.");
+
446  base::DictionaryValue request_dict;
+
447  request_dict.SetString("request", request_base64_string);
+
448 
+
449  // Sign the request.
+
450  if (signer_) {
+
451  std::string signature;
+
452  if (!signer_->GenerateSignature(request, &signature))
+
453  return Status(error::INTERNAL_ERROR, "Signature generation failed.");
+
454 
+
455  std::string signature_base64_string;
+
456  base::Base64Encode(signature, &signature_base64_string);
+
457 
+
458  request_dict.SetString("signature", signature_base64_string);
+
459  request_dict.SetString("signer", signer_->signer_name());
+
460  }
461 
-
462  std::string signature_base64_string;
-
463  base::Base64Encode(signature, &signature_base64_string);
-
464 
-
465  request_dict.SetString("signature", signature_base64_string);
-
466  request_dict.SetString("signer", signer_->signer_name());
-
467  }
-
468 
-
469  base::JSONWriter::Write(request_dict, message);
-
470  return Status::OK;
-
471 }
-
472 
-
473 bool WidevineKeySource::DecodeResponse(
-
474  const std::string& raw_response,
-
475  std::string* response) {
-
476  DCHECK(response);
-
477 
-
478  // Extract base64 formatted response from JSON formatted raw response.
-
479  scoped_ptr<base::Value> root(base::JSONReader::Read(raw_response));
-
480  if (!root) {
-
481  LOG(ERROR) << "'" << raw_response << "' is not in JSON format.";
-
482  return false;
-
483  }
-
484  const base::DictionaryValue* response_dict = NULL;
-
485  RCHECK(root->GetAsDictionary(&response_dict));
-
486 
-
487  std::string response_base64_string;
-
488  RCHECK(response_dict->GetString("response", &response_base64_string));
-
489  RCHECK(base::Base64Decode(response_base64_string, response));
-
490  return true;
-
491 }
-
492 
-
493 bool WidevineKeySource::ExtractEncryptionKey(
-
494  bool enable_key_rotation,
-
495  bool widevine_classic,
-
496  const std::string& response,
-
497  bool* transient_error) {
-
498  DCHECK(transient_error);
-
499  *transient_error = false;
-
500 
-
501  scoped_ptr<base::Value> root(base::JSONReader::Read(response));
-
502  if (!root) {
-
503  LOG(ERROR) << "'" << response << "' is not in JSON format.";
-
504  return false;
-
505  }
-
506 
-
507  const base::DictionaryValue* license_dict = NULL;
-
508  RCHECK(root->GetAsDictionary(&license_dict));
-
509 
-
510  std::string license_status;
-
511  RCHECK(license_dict->GetString("status", &license_status));
-
512  if (license_status != kLicenseStatusOK) {
-
513  LOG(ERROR) << "Received non-OK license response: " << response;
-
514  *transient_error = (license_status == kLicenseStatusTransientError);
-
515  return false;
-
516  }
-
517 
-
518  const base::ListValue* tracks;
-
519  RCHECK(license_dict->GetList("tracks", &tracks));
-
520  // Should have at least one track per crypto_period.
-
521  RCHECK(enable_key_rotation ? tracks->GetSize() >= 1 * crypto_period_count_
-
522  : tracks->GetSize() >= 1);
+
462  base::JSONWriter::Write(request_dict, message);
+
463  return Status::OK;
+
464 }
+
465 
+
466 bool WidevineKeySource::DecodeResponse(
+
467  const std::string& raw_response,
+
468  std::string* response) {
+
469  DCHECK(response);
+
470 
+
471  // Extract base64 formatted response from JSON formatted raw response.
+
472  scoped_ptr<base::Value> root(base::JSONReader::Read(raw_response));
+
473  if (!root) {
+
474  LOG(ERROR) << "'" << raw_response << "' is not in JSON format.";
+
475  return false;
+
476  }
+
477  const base::DictionaryValue* response_dict = NULL;
+
478  RCHECK(root->GetAsDictionary(&response_dict));
+
479 
+
480  std::string response_base64_string;
+
481  RCHECK(response_dict->GetString("response", &response_base64_string));
+
482  RCHECK(base::Base64Decode(response_base64_string, response));
+
483  return true;
+
484 }
+
485 
+
486 bool WidevineKeySource::ExtractEncryptionKey(
+
487  bool enable_key_rotation,
+
488  bool widevine_classic,
+
489  const std::string& response,
+
490  bool* transient_error) {
+
491  DCHECK(transient_error);
+
492  *transient_error = false;
+
493 
+
494  scoped_ptr<base::Value> root(base::JSONReader::Read(response));
+
495  if (!root) {
+
496  LOG(ERROR) << "'" << response << "' is not in JSON format.";
+
497  return false;
+
498  }
+
499 
+
500  const base::DictionaryValue* license_dict = NULL;
+
501  RCHECK(root->GetAsDictionary(&license_dict));
+
502 
+
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);
+
508  return false;
+
509  }
+
510 
+
511  const base::ListValue* tracks;
+
512  RCHECK(license_dict->GetList("tracks", &tracks));
+
513  // Should have at least one track per crypto_period.
+
514  RCHECK(enable_key_rotation ? tracks->GetSize() >= 1 * crypto_period_count_
+
515  : tracks->GetSize() >= 1);
+
516 
+
517  int current_crypto_period_index = first_crypto_period_index_;
+
518 
+
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));
523 
-
524  int current_crypto_period_index = first_crypto_period_index_;
-
525 
-
526  EncryptionKeyMap encryption_key_map;
-
527  for (size_t i = 0; i < tracks->GetSize(); ++i) {
-
528  const base::DictionaryValue* track_dict;
-
529  RCHECK(tracks->GetDictionary(i, &track_dict));
-
530 
-
531  if (enable_key_rotation) {
-
532  int crypto_period_index;
-
533  RCHECK(
-
534  track_dict->GetInteger("crypto_period_index", &crypto_period_index));
-
535  if (crypto_period_index != current_crypto_period_index) {
-
536  if (crypto_period_index != current_crypto_period_index + 1) {
-
537  LOG(ERROR) << "Expecting crypto period index "
-
538  << current_crypto_period_index << " or "
-
539  << current_crypto_period_index + 1 << "; Seen "
-
540  << crypto_period_index << " at track " << i;
-
541  return false;
-
542  }
-
543  if (!PushToKeyPool(&encryption_key_map))
-
544  return false;
-
545  ++current_crypto_period_index;
-
546  }
-
547  }
-
548 
-
549  std::string track_type_str;
-
550  RCHECK(track_dict->GetString("type", &track_type_str));
-
551  TrackType track_type = GetTrackTypeFromString(track_type_str);
-
552  DCHECK_NE(TRACK_TYPE_UNKNOWN, track_type);
-
553  RCHECK(encryption_key_map.find(track_type) == encryption_key_map.end());
-
554 
-
555  scoped_ptr<EncryptionKey> encryption_key(new EncryptionKey());
-
556 
-
557  if (!GetKeyFromTrack(*track_dict, &encryption_key->key))
-
558  return false;
-
559 
-
560  // Get key ID and PSSH data for CENC content only.
-
561  if (!widevine_classic) {
-
562  if (!GetKeyIdFromTrack(*track_dict, &encryption_key->key_id))
-
563  return false;
-
564 
-
565  ProtectionSystemSpecificInfo info;
-
566  info.add_key_id(encryption_key->key_id);
-
567  info.set_system_id(kWidevineSystemId, arraysize(kWidevineSystemId));
-
568  info.set_pssh_box_version(0);
-
569 
-
570  std::vector<uint8_t> pssh_data;
-
571  if (!GetPsshDataFromTrack(*track_dict, &pssh_data))
-
572  return false;
-
573  info.set_pssh_data(pssh_data);
-
574 
-
575  encryption_key->key_system_info.push_back(info);
-
576  }
-
577  encryption_key_map[track_type] = encryption_key.release();
-
578  }
-
579 
-
580  // If the flag exists, create a common system ID PSSH box that contains the
-
581  // key IDs of all the keys.
-
582  if (add_common_pssh_ && !widevine_classic) {
-
583  std::set<std::vector<uint8_t>> key_ids;
-
584  for (const EncryptionKeyMap::value_type& pair : encryption_key_map) {
-
585  key_ids.insert(pair.second->key_id);
-
586  }
-
587 
-
588  // Create a common system PSSH box.
-
589  ProtectionSystemSpecificInfo info;
-
590  info.set_system_id(kCommonSystemId, arraysize(kCommonSystemId));
-
591  info.set_pssh_box_version(1);
-
592  for (const std::vector<uint8_t>& key_id : key_ids) {
-
593  info.add_key_id(key_id);
-
594  }
-
595 
-
596  for (const EncryptionKeyMap::value_type& pair : encryption_key_map) {
-
597  pair.second->key_system_info.push_back(info);
-
598  }
-
599  }
-
600 
-
601  DCHECK(!encryption_key_map.empty());
-
602  if (!enable_key_rotation) {
-
603  encryption_key_map_ = encryption_key_map;
-
604  return true;
-
605  }
-
606  return PushToKeyPool(&encryption_key_map);
-
607 }
-
608 
-
609 bool WidevineKeySource::PushToKeyPool(
-
610  EncryptionKeyMap* encryption_key_map) {
-
611  DCHECK(key_pool_);
-
612  DCHECK(encryption_key_map);
-
613  Status status =
-
614  key_pool_->Push(scoped_refptr<RefCountedEncryptionKeyMap>(
-
615  new RefCountedEncryptionKeyMap(encryption_key_map)),
-
616  kInfiniteTimeout);
-
617  encryption_key_map->clear();
-
618  if (!status.ok()) {
-
619  DCHECK_EQ(error::STOPPED, status.error_code());
-
620  return false;
-
621  }
-
622  return true;
-
623 }
-
624 
-
625 } // namespace media
-
626 } // namespace edash_packager
- +
524  if (enable_key_rotation) {
+
525  int crypto_period_index;
+
526  RCHECK(
+
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;
+
534  return false;
+
535  }
+
536  if (!PushToKeyPool(&encryption_key_map))
+
537  return false;
+
538  ++current_crypto_period_index;
+
539  }
+
540  }
+
541 
+
542  std::string track_type_str;
+
543  RCHECK(track_dict->GetString("type", &track_type_str));
+
544  TrackType track_type = GetTrackTypeFromString(track_type_str);
+
545  DCHECK_NE(TRACK_TYPE_UNKNOWN, track_type);
+
546  RCHECK(encryption_key_map.find(track_type) == encryption_key_map.end());
+
547 
+
548  scoped_ptr<EncryptionKey> encryption_key(new EncryptionKey());
+
549 
+
550  if (!GetKeyFromTrack(*track_dict, &encryption_key->key))
+
551  return false;
+
552 
+
553  // Get key ID and PSSH data for CENC content only.
+
554  if (!widevine_classic) {
+
555  if (!GetKeyIdFromTrack(*track_dict, &encryption_key->key_id))
+
556  return false;
+
557 
+
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);
+
562 
+
563  std::vector<uint8_t> pssh_data;
+
564  if (!GetPsshDataFromTrack(*track_dict, &pssh_data))
+
565  return false;
+
566  info.set_pssh_data(pssh_data);
+
567 
+
568  encryption_key->key_system_info.push_back(info);
+
569  }
+
570  encryption_key_map[track_type] = encryption_key.release();
+
571  }
+
572 
+
573  // If the flag exists, create a common system ID PSSH box that contains the
+
574  // key IDs of all the keys.
+
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);
+
579  }
+
580 
+
581  // Create a common system PSSH box.
+
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);
+
587  }
+
588 
+
589  for (const EncryptionKeyMap::value_type& pair : encryption_key_map) {
+
590  pair.second->key_system_info.push_back(info);
+
591  }
+
592  }
+
593 
+
594  DCHECK(!encryption_key_map.empty());
+
595  if (!enable_key_rotation) {
+
596  encryption_key_map_ = encryption_key_map;
+
597  return true;
+
598  }
+
599  return PushToKeyPool(&encryption_key_map);
+
600 }
+
601 
+
602 bool WidevineKeySource::PushToKeyPool(
+
603  EncryptionKeyMap* encryption_key_map) {
+
604  DCHECK(key_pool_);
+
605  DCHECK(encryption_key_map);
+
606  Status status =
+
607  key_pool_->Push(scoped_refptr<RefCountedEncryptionKeyMap>(
+
608  new RefCountedEncryptionKeyMap(encryption_key_map)),
+
609  kInfiniteTimeout);
+
610  encryption_key_map->clear();
+
611  if (!status.ok()) {
+
612  DCHECK_EQ(error::STOPPED, status.error_code());
+
613  return false;
+
614  }
+
615  return true;
+
616 }
+
617 
+
618 } // namespace media
+
619 } // namespace edash_packager
+ -
void set_signer(scoped_ptr< RequestSigner > signer)
-
Status GetKey(TrackType track_type, EncryptionKey *key) override
-
Status FetchKeys(const std::vector< uint8_t > &pssh_box) override
-
void set_key_fetcher(scoped_ptr< KeyFetcher > key_fetcher)
+
void set_signer(scoped_ptr< RequestSigner > signer)
+
Status GetKey(TrackType track_type, EncryptionKey *key) override
+
Status FetchKeys(const std::vector< uint8_t > &pssh_box) override
+
void set_key_fetcher(scoped_ptr< KeyFetcher > key_fetcher)
-
WidevineKeySource(const std::string &server_url, bool add_common_pssh)
-
Status GetCryptoPeriodKey(uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key) override
+
WidevineKeySource(const std::string &server_url, bool add_common_pssh)
+
Status GetCryptoPeriodKey(uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key) override
static TrackType GetTrackTypeFromString(const std::string &track_type_string)
Convert string representation of track type to enum representation.
Definition: key_source.cc:19
static std::string TrackTypeToString(TrackType track_type)
Convert TrackType to string.
Definition: key_source.cc:33
diff --git a/docs/d5/d8f/webm__cluster__parser_8cc_source.html b/docs/d5/d8f/webm__cluster__parser_8cc_source.html index da9ccddf02..ff6518bce5 100644 --- a/docs/d5/d8f/webm__cluster__parser_8cc_source.html +++ b/docs/d5/d8f/webm__cluster__parser_8cc_source.html @@ -740,7 +740,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 1994f1dbe9..643dc2ef93 100644 --- a/docs/d5/d91/es__parser__adts_8cc_source.html +++ b/docs/d5/d91/es__parser__adts_8cc_source.html @@ -376,7 +376,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 251fae2d5d..49a70caeb4 100644 --- a/docs/d5/d98/encryptor_8cc_source.html +++ b/docs/d5/d98/encryptor_8cc_source.html @@ -233,7 +233,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d98/structedash__packager_1_1media_1_1H264Pps-members.html b/docs/d5/d98/structedash__packager_1_1media_1_1H264Pps-members.html index b220e41f11..4f2a206892 100644 --- a/docs/d5/d98/structedash__packager_1_1media_1_1H264Pps-members.html +++ b/docs/d5/d98/structedash__packager_1_1media_1_1H264Pps-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d9c/classedash__packager_1_1MpdNotifierFactory-members.html b/docs/d5/d9c/classedash__packager_1_1MpdNotifierFactory-members.html index cd3dfc7df2..23a8f2598b 100644 --- a/docs/d5/d9c/classedash__packager_1_1MpdNotifierFactory-members.html +++ b/docs/d5/d9c/classedash__packager_1_1MpdNotifierFactory-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d9f/structedash__packager_1_1media_1_1H265Pps-members.html b/docs/d5/d9f/structedash__packager_1_1media_1_1H265Pps-members.html index 3ef091d059..9b7c75f04a 100644 --- a/docs/d5/d9f/structedash__packager_1_1media_1_1H265Pps-members.html +++ b/docs/d5/d9f/structedash__packager_1_1media_1_1H265Pps-members.html @@ -137,7 +137,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/da4/aes__encryptor_8cc_source.html b/docs/d5/da4/aes__encryptor_8cc_source.html index 531735544f..01cd622de8 100644 --- a/docs/d5/da4/aes__encryptor_8cc_source.html +++ b/docs/d5/da4/aes__encryptor_8cc_source.html @@ -361,7 +361,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/db7/classedash__packager_1_1xml_1_1AdaptationSetXmlNode-members.html b/docs/d5/db7/classedash__packager_1_1xml_1_1AdaptationSetXmlNode-members.html index 308eec5287..e2786b4ffa 100644 --- a/docs/d5/db7/classedash__packager_1_1xml_1_1AdaptationSetXmlNode-members.html +++ b/docs/d5/db7/classedash__packager_1_1xml_1_1AdaptationSetXmlNode-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dba/ts__packet_8cc_source.html b/docs/d5/dba/ts__packet_8cc_source.html index fe87857c6c..8118c5f891 100644 --- a/docs/d5/dba/ts__packet_8cc_source.html +++ b/docs/d5/dba/ts__packet_8cc_source.html @@ -304,7 +304,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dc1/webm__webvtt__parser_8cc_source.html b/docs/d5/dc1/webm__webvtt__parser_8cc_source.html index 768d260dd5..a6961f17da 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/dc9/classedash__packager_1_1media_1_1AesCbcDecryptor-members.html b/docs/d5/dc9/classedash__packager_1_1media_1_1AesCbcDecryptor-members.html index c7728e0379..34cc6282d9 100644 --- a/docs/d5/dc9/classedash__packager_1_1media_1_1AesCbcDecryptor-members.html +++ b/docs/d5/dc9/classedash__packager_1_1media_1_1AesCbcDecryptor-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dcb/classedash__packager_1_1media_1_1AesCbcDecryptor.html b/docs/d5/dcb/classedash__packager_1_1media_1_1AesCbcDecryptor.html index 19ab867899..a5d50a2ff2 100644 --- a/docs/d5/dcb/classedash__packager_1_1media_1_1AesCbcDecryptor.html +++ b/docs/d5/dcb/classedash__packager_1_1media_1_1AesCbcDecryptor.html @@ -290,7 +290,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/d5/dce/classedash__packager_1_1media_1_1Demuxer.html b/docs/d5/dce/classedash__packager_1_1media_1_1Demuxer.html index 165014d7a6..6b82d841b0 100644 --- a/docs/d5/dce/classedash__packager_1_1media_1_1Demuxer.html +++ b/docs/d5/dce/classedash__packager_1_1media_1_1Demuxer.html @@ -295,7 +295,7 @@ Public Member Functions diff --git a/docs/d5/dce/classedash__packager_1_1media_1_1VP8Parser.html b/docs/d5/dce/classedash__packager_1_1media_1_1VP8Parser.html index cdf7af3f36..c46e86259d 100644 --- a/docs/d5/dce/classedash__packager_1_1media_1_1VP8Parser.html +++ b/docs/d5/dce/classedash__packager_1_1media_1_1VP8Parser.html @@ -235,7 +235,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 6397c2db8d..2cea68cc1b 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/dd2/classedash__packager_1_1media_1_1VPxParser.html b/docs/d5/dd2/classedash__packager_1_1media_1_1VPxParser.html index 9aa6552b38..1129e4a1aa 100644 --- a/docs/d5/dd2/classedash__packager_1_1media_1_1VPxParser.html +++ b/docs/d5/dd2/classedash__packager_1_1media_1_1VPxParser.html @@ -205,7 +205,7 @@ Protected Member Functions diff --git a/docs/d5/dda/ts__section__psi_8h_source.html b/docs/d5/dda/ts__section__psi_8h_source.html index d08c865dc5..c0f17b0e58 100644 --- a/docs/d5/dda/ts__section__psi_8h_source.html +++ b/docs/d5/dda/ts__section__psi_8h_source.html @@ -151,7 +151,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/de0/bit__reader_8cc_source.html b/docs/d5/de0/bit__reader_8cc_source.html index ce0f9b6862..466019c0e5 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/dec/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser-members.html b/docs/d5/dec/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser-members.html index 43a06fd5b8..b3c034e7dd 100644 --- a/docs/d5/dec/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser-members.html +++ b/docs/d5/dec/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser-members.html @@ -105,7 +105,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 0f11233983..4d807ead4f 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/dfc/file_8cc_source.html b/docs/d5/dfc/file_8cc_source.html index 701a6dd07f..61b6d71889 100644 --- a/docs/d5/dfc/file_8cc_source.html +++ b/docs/d5/dfc/file_8cc_source.html @@ -376,7 +376,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d00/structedash__packager_1_1media_1_1mp4_1_1Box-members.html b/docs/d6/d00/structedash__packager_1_1media_1_1mp4_1_1Box-members.html index a88717001d..3327b3b46e 100644 --- a/docs/d6/d00/structedash__packager_1_1media_1_1mp4_1_1Box-members.html +++ b/docs/d6/d00/structedash__packager_1_1media_1_1mp4_1_1Box-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d05/structedash__packager_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo-members.html b/docs/d6/d05/structedash__packager_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo-members.html index 9cf8f1ffb9..9264fddc47 100644 --- a/docs/d6/d05/structedash__packager_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo-members.html +++ b/docs/d6/d05/structedash__packager_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/d06/classedash__packager_1_1media_1_1StreamInfo.html b/docs/d6/d06/classedash__packager_1_1media_1_1StreamInfo.html index 3b5184532b..7609b8f93b 100644 --- a/docs/d6/d06/classedash__packager_1_1media_1_1StreamInfo.html +++ b/docs/d6/d06/classedash__packager_1_1media_1_1StreamInfo.html @@ -229,7 +229,7 @@ class base::RefCountedThre diff --git a/docs/d6/d09/aes__pattern__cryptor_8h_source.html b/docs/d6/d09/aes__pattern__cryptor_8h_source.html index 07b0d121ce..d13fbc7e8b 100644 --- a/docs/d6/d09/aes__pattern__cryptor_8h_source.html +++ b/docs/d6/d09/aes__pattern__cryptor_8h_source.html @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d09/classedash__packager_1_1media_1_1H265Parser-members.html b/docs/d6/d09/classedash__packager_1_1media_1_1H265Parser-members.html index 931d2384be..4153a81f8d 100644 --- a/docs/d6/d09/classedash__packager_1_1media_1_1H265Parser-members.html +++ b/docs/d6/d09/classedash__packager_1_1media_1_1H265Parser-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d10/classedash__packager_1_1media_1_1VideoStreamInfo-members.html b/docs/d6/d10/classedash__packager_1_1media_1_1VideoStreamInfo-members.html index 513a27acb9..9bc8f071dd 100644 --- a/docs/d6/d10/classedash__packager_1_1media_1_1VideoStreamInfo-members.html +++ b/docs/d6/d10/classedash__packager_1_1media_1_1VideoStreamInfo-members.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d12/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat-members.html b/docs/d6/d12/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat-members.html index de26ee9ae1..6770d74063 100644 --- a/docs/d6/d12/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat-members.html +++ b/docs/d6/d12/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d13/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html b/docs/d6/d13/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html index 3cd98597e4..ec27457e07 100644 --- a/docs/d6/d13/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html +++ b/docs/d6/d13/classedash__packager_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d16/text__stream__info_8cc_source.html b/docs/d6/d16/text__stream__info_8cc_source.html index 001d400774..feaeb32cf3 100644 --- a/docs/d6/d16/text__stream__info_8cc_source.html +++ b/docs/d6/d16/text__stream__info_8cc_source.html @@ -132,7 +132,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 17c3f71fe8..9a736f2200 100644 --- a/docs/d6/d17/es__parser__h264_8cc_source.html +++ b/docs/d6/d17/es__parser__h264_8cc_source.html @@ -484,7 +484,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d19/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription-members.html b/docs/d6/d19/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription-members.html index f93ec56840..6139a80328 100644 --- a/docs/d6/d19/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription-members.html +++ b/docs/d6/d19/structedash__packager_1_1media_1_1mp4_1_1SampleGroupDescription-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d1b/classedash__packager_1_1media_1_1ClosureThread-members.html b/docs/d6/d1b/classedash__packager_1_1media_1_1ClosureThread-members.html index db2d81ff16..3048bedf77 100644 --- a/docs/d6/d1b/classedash__packager_1_1media_1_1ClosureThread-members.html +++ b/docs/d6/d1b/classedash__packager_1_1media_1_1ClosureThread-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d1d/structedash__packager_1_1media_1_1H265ReferencePictureListModifications-members.html b/docs/d6/d1d/structedash__packager_1_1media_1_1H265ReferencePictureListModifications-members.html index 8cf0e034e6..4283da05fe 100644 --- a/docs/d6/d1d/structedash__packager_1_1media_1_1H265ReferencePictureListModifications-members.html +++ b/docs/d6/d1d/structedash__packager_1_1media_1_1H265ReferencePictureListModifications-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d29/classedash__packager_1_1media_1_1AesCryptor-members.html b/docs/d6/d29/classedash__packager_1_1media_1_1AesCryptor-members.html index f01ea7e375..a03b439254 100644 --- a/docs/d6/d29/classedash__packager_1_1media_1_1AesCryptor-members.html +++ b/docs/d6/d29/classedash__packager_1_1media_1_1AesCryptor-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d2e/mpd__notifier__util_8cc_source.html b/docs/d6/d2e/mpd__notifier__util_8cc_source.html index 480ff468b1..26ebed1f1e 100644 --- a/docs/d6/d2e/mpd__notifier__util_8cc_source.html +++ b/docs/d6/d2e/mpd__notifier__util_8cc_source.html @@ -170,7 +170,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d35/webm__content__encodings_8cc_source.html b/docs/d6/d35/webm__content__encodings_8cc_source.html index ef694694b0..6c56c7e347 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/d37/classedash__packager_1_1xml_1_1AdaptationSetXmlNode.html b/docs/d6/d37/classedash__packager_1_1xml_1_1AdaptationSetXmlNode.html index 4ea5be078d..d8c6d94f59 100644 --- a/docs/d6/d37/classedash__packager_1_1xml_1_1AdaptationSetXmlNode.html +++ b/docs/d6/d37/classedash__packager_1_1xml_1_1AdaptationSetXmlNode.html @@ -197,7 +197,7 @@ Additional Inherited Members diff --git a/docs/d6/d3a/classedash__packager_1_1media_1_1AesRequestSigner-members.html b/docs/d6/d3a/classedash__packager_1_1media_1_1AesRequestSigner-members.html index 21d4a5d44a..a01a304abd 100644 --- a/docs/d6/d3a/classedash__packager_1_1media_1_1AesRequestSigner-members.html +++ b/docs/d6/d3a/classedash__packager_1_1media_1_1AesRequestSigner-members.html @@ -102,7 +102,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 6f40ba5f25..28726d2a3f 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/d3e/classedash__packager_1_1media_1_1mp2t_1_1PesPacket.html b/docs/d6/d3e/classedash__packager_1_1media_1_1mp2t_1_1PesPacket.html index f1037ec959..b70534208d 100644 --- a/docs/d6/d3e/classedash__packager_1_1media_1_1mp2t_1_1PesPacket.html +++ b/docs/d6/d3e/classedash__packager_1_1media_1_1mp2t_1_1PesPacket.html @@ -387,7 +387,7 @@ const std::vector< uint8_t > &  diff --git a/docs/d6/d41/encrypting__fragmenter_8cc_source.html b/docs/d6/d41/encrypting__fragmenter_8cc_source.html index e7411be742..4bfd421a63 100644 --- a/docs/d6/d41/encrypting__fragmenter_8cc_source.html +++ b/docs/d6/d41/encrypting__fragmenter_8cc_source.html @@ -434,7 +434,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d48/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl-members.html b/docs/d6/d48/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl-members.html index 0cea4f9c53..b37e26459f 100644 --- a/docs/d6/d48/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl-members.html +++ b/docs/d6/d48/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d49/classedash__packager_1_1media_1_1AVCDecoderConfiguration.html b/docs/d6/d49/classedash__packager_1_1media_1_1AVCDecoderConfiguration.html index 25e6a9c66b..0eebf48a30 100644 --- a/docs/d6/d49/classedash__packager_1_1media_1_1AVCDecoderConfiguration.html +++ b/docs/d6/d49/classedash__packager_1_1media_1_1AVCDecoderConfiguration.html @@ -244,7 +244,7 @@ void  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 9e1c9bfc65..81f3599c98 100644 --- a/docs/d6/d4e/webm_2multi__segment__segmenter_8cc_source.html +++ b/docs/d6/d4e/webm_2multi__segment__segmenter_8cc_source.html @@ -183,7 +183,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 803643921b..aeb9faf571 100644 --- a/docs/d6/d55/aes__cryptor_8cc_source.html +++ b/docs/d6/d55/aes__cryptor_8cc_source.html @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); 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 7c98a6406c..7dcc40981e 100644 --- a/docs/d6/d59/protection__system__specific__info_8h_source.html +++ b/docs/d6/d59/protection__system__specific__info_8h_source.html @@ -156,14 +156,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
73 
74 #endif // MEDIA_BASE_PSSH_H_
75 
- -
static bool ParseBoxes(const uint8_t *data, size_t data_size, std::vector< ProtectionSystemSpecificInfo > *pssh_boxes)
+ +
static bool ParseBoxes(const uint8_t *data, size_t data_size, std::vector< ProtectionSystemSpecificInfo > *pssh_boxes)
-
std::vector< uint8_t > CreateBox() const
Creates a PSSH box for the current data.
+
std::vector< uint8_t > CreateBox() const
Creates a PSSH box for the current data.
diff --git a/docs/d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html b/docs/d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html index 918c05c184..c5fe812896 100644 --- a/docs/d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html +++ b/docs/d6/d59/structedash__packager_1_1media_1_1mp4_1_1DataInformation.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d6/d5d/classedash__packager_1_1media_1_1HEVCDecoderConfiguration.html b/docs/d6/d5d/classedash__packager_1_1media_1_1HEVCDecoderConfiguration.html index c4649a91cd..b5875d2937 100644 --- a/docs/d6/d5d/classedash__packager_1_1media_1_1HEVCDecoderConfiguration.html +++ b/docs/d6/d5d/classedash__packager_1_1media_1_1HEVCDecoderConfiguration.html @@ -171,7 +171,7 @@ void  diff --git a/docs/d6/d5e/structedash__packager_1_1media_1_1H264SEIRecoveryPoint-members.html b/docs/d6/d5e/structedash__packager_1_1media_1_1H264SEIRecoveryPoint-members.html index a9ad3a94db..36ccb3c7af 100644 --- a/docs/d6/d5e/structedash__packager_1_1media_1_1H264SEIRecoveryPoint-members.html +++ b/docs/d6/d5e/structedash__packager_1_1media_1_1H264SEIRecoveryPoint-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d5e/structedash__packager_1_1media_1_1mp4_1_1DTSSpecific-members.html b/docs/d6/d5e/structedash__packager_1_1media_1_1mp4_1_1DTSSpecific-members.html index 37fc1bc1fe..383143caf1 100644 --- a/docs/d6/d5e/structedash__packager_1_1media_1_1mp4_1_1DTSSpecific-members.html +++ b/docs/d6/d5e/structedash__packager_1_1media_1_1mp4_1_1DTSSpecific-members.html @@ -113,7 +113,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 a4dbdc98c1..fe44fd544f 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/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html b/docs/d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html index cc1e6d68ef..63f2ced1b6 100644 --- a/docs/d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html +++ b/docs/d6/d6c/structedash__packager_1_1media_1_1mp4_1_1DataEntryUrl.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d6/d6e/ts__section__pes_8cc_source.html b/docs/d6/d6e/ts__section__pes_8cc_source.html index 2efbff23a0..b4b55baf31 100644 --- a/docs/d6/d6e/ts__section__pes_8cc_source.html +++ b/docs/d6/d6e/ts__section__pes_8cc_source.html @@ -405,7 +405,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d71/scoped__xml__ptr_8h_source.html b/docs/d6/d71/scoped__xml__ptr_8h_source.html index f72004135e..3e2f023d8f 100644 --- a/docs/d6/d71/scoped__xml__ptr_8h_source.html +++ b/docs/d6/d71/scoped__xml__ptr_8h_source.html @@ -131,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d74/structedash__packager_1_1media_1_1mp4_1_1VTTCueBox.html b/docs/d6/d74/structedash__packager_1_1media_1_1mp4_1_1VTTCueBox.html index 1b7c26e83a..759862c038 100644 --- a/docs/d6/d74/structedash__packager_1_1media_1_1mp4_1_1VTTCueBox.html +++ b/docs/d6/d74/structedash__packager_1_1media_1_1mp4_1_1VTTCueBox.html @@ -185,7 +185,7 @@ Additional Inherited Members 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 69e3156ddd..5c5d652d4b 100644 --- a/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html +++ b/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html @@ -210,7 +210,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html b/docs/d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html index 2a7e0a34d0..a625804685 100644 --- a/docs/d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html +++ b/docs/d6/d79/structedash__packager_1_1media_1_1mp4_1_1ChunkOffset.html @@ -180,7 +180,7 @@ uint32_t flags diff --git a/docs/d6/d7b/webm__tracks__parser_8h_source.html b/docs/d6/d7b/webm__tracks__parser_8h_source.html index 3cc3c56e26..e5e3e9135d 100644 --- a/docs/d6/d7b/webm__tracks__parser_8h_source.html +++ b/docs/d6/d7b/webm__tracks__parser_8h_source.html @@ -202,7 +202,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d80/classedash__packager_1_1media_1_1Demuxer-members.html b/docs/d6/d80/classedash__packager_1_1media_1_1Demuxer-members.html index bdd36d6b53..ee9e56d8cf 100644 --- a/docs/d6/d80/classedash__packager_1_1media_1_1Demuxer-members.html +++ b/docs/d6/d80/classedash__packager_1_1media_1_1Demuxer-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d81/classedash__packager_1_1media_1_1LibcryptoThreading-members.html b/docs/d6/d81/classedash__packager_1_1media_1_1LibcryptoThreading-members.html index 62a9257210..4da73b2a5b 100644 --- a/docs/d6/d81/classedash__packager_1_1media_1_1LibcryptoThreading-members.html +++ b/docs/d6/d81/classedash__packager_1_1media_1_1LibcryptoThreading-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d86/bandwidth__estimator_8cc_source.html b/docs/d6/d86/bandwidth__estimator_8cc_source.html index b32de2bdb7..2fe6218c54 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 acd5a85308..1db6cc4d41 100644 --- a/docs/d6/d8a/vp9__parser_8cc_source.html +++ b/docs/d6/d8a/vp9__parser_8cc_source.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 
9 #include "packager/base/logging.h"
10 #include "packager/media/base/bit_reader.h"
-
11 #include "packager/media/formats/mp4/rcheck.h"
+
11 #include "packager/media/base/rcheck.h"
12 
13 namespace edash_packager {
14 namespace media {
@@ -659,7 +659,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html b/docs/d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html index 4cd47e87c1..4c95477aa2 100644 --- a/docs/d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html +++ b/docs/d6/d8b/structedash__packager_1_1media_1_1mp4_1_1MovieExtends.html @@ -176,7 +176,7 @@ Additional Inherited Members diff --git a/docs/d6/d8f/structedash__packager_1_1media_1_1mp4_1_1FullBox.html b/docs/d6/d8f/structedash__packager_1_1media_1_1mp4_1_1FullBox.html index c23e90162e..4b8838a431 100644 --- a/docs/d6/d8f/structedash__packager_1_1media_1_1mp4_1_1FullBox.html +++ b/docs/d6/d8f/structedash__packager_1_1media_1_1mp4_1_1FullBox.html @@ -245,7 +245,7 @@ Protected Member Functions diff --git a/docs/d6/d92/classedash__packager_1_1media_1_1webm_1_1Segmenter-members.html b/docs/d6/d92/classedash__packager_1_1media_1_1webm_1_1Segmenter-members.html index cdfe0a596b..b83262229b 100644 --- a/docs/d6/d92/classedash__packager_1_1media_1_1webm_1_1Segmenter-members.html +++ b/docs/d6/d92/classedash__packager_1_1media_1_1webm_1_1Segmenter-members.html @@ -121,7 +121,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d96/structedash__packager_1_1media_1_1mp4_1_1SampleDescription-members.html b/docs/d6/d96/structedash__packager_1_1media_1_1mp4_1_1SampleDescription-members.html index 1d09178f89..9ab20d444d 100644 --- a/docs/d6/d96/structedash__packager_1_1media_1_1mp4_1_1SampleDescription-members.html +++ b/docs/d6/d96/structedash__packager_1_1media_1_1mp4_1_1SampleDescription-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d97/classedash__packager_1_1media_1_1UdpFile-members.html b/docs/d6/d97/classedash__packager_1_1media_1_1UdpFile-members.html index 8c0343d4c9..5ea53f5be1 100644 --- a/docs/d6/d97/classedash__packager_1_1media_1_1UdpFile-members.html +++ b/docs/d6/d97/classedash__packager_1_1media_1_1UdpFile-members.html @@ -117,7 +117,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 e3ce1eca3d..33f42bde4b 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/d9c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes-members.html b/docs/d6/d9c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes-members.html index c4e33ed2cf..858db2e7d5 100644 --- a/docs/d6/d9c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes-members.html +++ b/docs/d6/d9c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes-members.html @@ -108,7 +108,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 d081fb3de1..35ede295bf 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/classedash__packager_1_1media_1_1H264Parser.html b/docs/d6/da3/classedash__packager_1_1media_1_1H264Parser.html index c745237d4d..d6fa119f04 100644 --- a/docs/d6/da3/classedash__packager_1_1media_1_1H264Parser.html +++ b/docs/d6/da3/classedash__packager_1_1media_1_1H264Parser.html @@ -135,7 +135,7 @@ Result ParseSEI (const diff --git a/docs/d6/da3/mpd__builder_8h_source.html b/docs/d6/da3/mpd__builder_8h_source.html index d13ae5ed29..634284d85a 100644 --- a/docs/d6/da3/mpd__builder_8h_source.html +++ b/docs/d6/da3/mpd__builder_8h_source.html @@ -534,7 +534,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/da8/classedash__packager_1_1media_1_1WebMWebVTTParser-members.html b/docs/d6/da8/classedash__packager_1_1media_1_1WebMWebVTTParser-members.html index 5efeb71113..bfee809b29 100644 --- a/docs/d6/da8/classedash__packager_1_1media_1_1WebMWebVTTParser-members.html +++ b/docs/d6/da8/classedash__packager_1_1media_1_1WebMWebVTTParser-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dba/classedash__packager_1_1media_1_1ThreadedIoFile-members.html b/docs/d6/dba/classedash__packager_1_1media_1_1ThreadedIoFile-members.html index 8e3fbc0fd0..99f4582004 100644 --- a/docs/d6/dba/classedash__packager_1_1media_1_1ThreadedIoFile-members.html +++ b/docs/d6/dba/classedash__packager_1_1media_1_1ThreadedIoFile-members.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dbb/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset-members.html b/docs/d6/dbb/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset-members.html index c5eee697d6..b7caebf886 100644 --- a/docs/d6/dbb/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset-members.html +++ b/docs/d6/dbb/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dbd/structedash__packager_1_1media_1_1Cue-members.html b/docs/d6/dbd/structedash__packager_1_1media_1_1Cue-members.html index 343fab8871..38fe0ffad3 100644 --- a/docs/d6/dbd/structedash__packager_1_1media_1_1Cue-members.html +++ b/docs/d6/dbd/structedash__packager_1_1media_1_1Cue-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dc2/classedash__packager_1_1media_1_1TextTrackConfig-members.html b/docs/d6/dc2/classedash__packager_1_1media_1_1TextTrackConfig-members.html index fa825e534c..d14c79862e 100644 --- a/docs/d6/dc2/classedash__packager_1_1media_1_1TextTrackConfig-members.html +++ b/docs/d6/dc2/classedash__packager_1_1media_1_1TextTrackConfig-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dc2/classedash__packager_1_1media_1_1mp4_1_1H264VideoSliceHeaderParser.html b/docs/d6/dc2/classedash__packager_1_1media_1_1mp4_1_1H264VideoSliceHeaderParser.html index 88a877f634..eb4efa8c51 100644 --- a/docs/d6/dc2/classedash__packager_1_1media_1_1mp4_1_1H264VideoSliceHeaderParser.html +++ b/docs/d6/dc2/classedash__packager_1_1media_1_1mp4_1_1H264VideoSliceHeaderParser.html @@ -152,7 +152,7 @@ int64_t  diff --git a/docs/d6/dc8/mkv__writer_8cc_source.html b/docs/d6/dc8/mkv__writer_8cc_source.html index 4591d47d9d..89fa467636 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'); diff --git a/docs/d6/dd6/classedash__packager_1_1media_1_1WebMListParser.html b/docs/d6/dd6/classedash__packager_1_1media_1_1WebMListParser.html index 677a3ad6ac..41ac00aded 100644 --- a/docs/d6/dd6/classedash__packager_1_1media_1_1WebMListParser.html +++ b/docs/d6/dd6/classedash__packager_1_1media_1_1WebMListParser.html @@ -210,7 +210,7 @@ void  diff --git a/docs/d6/dd7/classedash__packager_1_1media_1_1TextStreamInfo.html b/docs/d6/dd7/classedash__packager_1_1media_1_1TextStreamInfo.html index 9d5c68c361..f94ea8fde5 100644 --- a/docs/d6/dd7/classedash__packager_1_1media_1_1TextStreamInfo.html +++ b/docs/d6/dd7/classedash__packager_1_1media_1_1TextStreamInfo.html @@ -276,7 +276,7 @@ void set_language (con diff --git a/docs/d6/de6/classedash__packager_1_1media_1_1KeyFetcher-members.html b/docs/d6/de6/classedash__packager_1_1media_1_1KeyFetcher-members.html index d2447db5e0..88c9912adb 100644 --- a/docs/d6/de6/classedash__packager_1_1media_1_1KeyFetcher-members.html +++ b/docs/d6/de6/classedash__packager_1_1media_1_1KeyFetcher-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/de8/local__file_8cc_source.html b/docs/d6/de8/local__file_8cc_source.html index ccf4077ebf..7da69463b8 100644 --- a/docs/d6/de8/local__file_8cc_source.html +++ b/docs/d6/de8/local__file_8cc_source.html @@ -191,7 +191,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 b7cdf778b1..b36341d229 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 bf22579445..0b7e0f6d96 100644 --- a/docs/d6/de9/ts__segmenter_8cc_source.html +++ b/docs/d6/de9/ts__segmenter_8cc_source.html @@ -238,7 +238,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html b/docs/d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html index ca827a6fa2..f7b0ecb6e4 100644 --- a/docs/d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html +++ b/docs/d6/dec/structedash__packager_1_1media_1_1mp4_1_1Movie.html @@ -186,7 +186,7 @@ Additional Inherited Members diff --git a/docs/d6/ded/ts__packet_8h_source.html b/docs/d6/ded/ts__packet_8h_source.html index 5165750af7..6e8bf0f83f 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 48b4809df9..9c5a0cc6c0 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/df4/classedash__packager_1_1media_1_1webm_1_1MultiSegmentSegmenter-members.html b/docs/d6/df4/classedash__packager_1_1media_1_1webm_1_1MultiSegmentSegmenter-members.html index bfa7bfedaf..48957e886e 100644 --- a/docs/d6/df4/classedash__packager_1_1media_1_1webm_1_1MultiSegmentSegmenter-members.html +++ b/docs/d6/df4/classedash__packager_1_1media_1_1webm_1_1MultiSegmentSegmenter-members.html @@ -123,7 +123,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/df9/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser-members.html b/docs/d6/df9/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser-members.html index d5e0ec0893..eb18c6a92c 100644 --- a/docs/d6/df9/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser-members.html +++ b/docs/d6/df9/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dff/classedash__packager_1_1media_1_1H265Parser.html b/docs/d6/dff/classedash__packager_1_1media_1_1H265Parser.html index 2d38a7372f..f97caaf6e3 100644 --- a/docs/d6/dff/classedash__packager_1_1media_1_1H265Parser.html +++ b/docs/d6/dff/classedash__packager_1_1media_1_1H265Parser.html @@ -256,7 +256,7 @@ Public Member Functions 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 3c8333c692..701c0945b0 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/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html b/docs/d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html index ec22a3f2b4..fdca1a73d1 100644 --- a/docs/d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html +++ b/docs/d7/d0d/structedash__packager_1_1media_1_1mp4_1_1DataReference.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d7/d12/media__parser_8h_source.html b/docs/d7/d12/media__parser_8h_source.html index 62d047a8b4..407311afe1 100644 --- a/docs/d7/d12/media__parser_8h_source.html +++ b/docs/d7/d12/media__parser_8h_source.html @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d15/classedash__packager_1_1Representation.html b/docs/d7/d15/classedash__packager_1_1Representation.html index 93c305d4c0..44d48d5466 100644 --- a/docs/d7/d15/classedash__packager_1_1Representation.html +++ b/docs/d7/d15/classedash__packager_1_1Representation.html @@ -456,7 +456,7 @@ template<MpdBuilder::MpdType type> diff --git a/docs/d7/d15/mpd__notifier_8h_source.html b/docs/d7/d15/mpd__notifier_8h_source.html index c880fd3cfe..f796d9562f 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/d1c/classedash__packager_1_1media_1_1AesCbcEncryptor-members.html b/docs/d7/d1c/classedash__packager_1_1media_1_1AesCbcEncryptor-members.html index b75dbbd10f..b2d303fec9 100644 --- a/docs/d7/d1c/classedash__packager_1_1media_1_1AesCbcEncryptor-members.html +++ b/docs/d7/d1c/classedash__packager_1_1media_1_1AesCbcEncryptor-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d1c/structedash__packager_1_1media_1_1mp4_1_1DecodingTime.html b/docs/d7/d1c/structedash__packager_1_1media_1_1mp4_1_1DecodingTime.html index d90d1f95ca..120b7d3948 100644 --- a/docs/d7/d1c/structedash__packager_1_1media_1_1mp4_1_1DecodingTime.html +++ b/docs/d7/d1c/structedash__packager_1_1media_1_1mp4_1_1DecodingTime.html @@ -112,7 +112,7 @@ uint32_t sample_delta< diff --git a/docs/d7/d22/libcrypto__threading_8h_source.html b/docs/d7/d22/libcrypto__threading_8h_source.html index 6f28bd4427..458398b196 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/d2a/classedash__packager_1_1media_1_1DecryptorSource-members.html b/docs/d7/d2a/classedash__packager_1_1media_1_1DecryptorSource-members.html index f7e665894c..5e1e33f0cf 100644 --- a/docs/d7/d2a/classedash__packager_1_1media_1_1DecryptorSource-members.html +++ b/docs/d7/d2a/classedash__packager_1_1media_1_1DecryptorSource-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d39/structedash__packager_1_1media_1_1mp4_1_1Movie-members.html b/docs/d7/d39/structedash__packager_1_1media_1_1mp4_1_1Movie-members.html index faa5aa2c12..ea86d91082 100644 --- a/docs/d7/d39/structedash__packager_1_1media_1_1mp4_1_1Movie-members.html +++ b/docs/d7/d39/structedash__packager_1_1media_1_1mp4_1_1Movie-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html b/docs/d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html index 4f18e25948..c15bcffc35 100644 --- a/docs/d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html +++ b/docs/d7/d3a/classedash__packager_1_1media_1_1VideoStreamInfo.html @@ -429,7 +429,7 @@ void set_language (con diff --git a/docs/d7/d40/classedash__packager_1_1media_1_1WebMClusterParser-members.html b/docs/d7/d40/classedash__packager_1_1media_1_1WebMClusterParser-members.html index f55a1389c9..ad745a571f 100644 --- a/docs/d7/d40/classedash__packager_1_1media_1_1WebMClusterParser-members.html +++ b/docs/d7/d40/classedash__packager_1_1media_1_1WebMClusterParser-members.html @@ -110,7 +110,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 5123754049..58efe9c20f 100644 --- a/docs/d7/d42/protection__system__specific__info_8cc_source.html +++ b/docs/d7/d42/protection__system__specific__info_8cc_source.html @@ -96,121 +96,120 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #include "packager/media/base/protection_system_specific_info.h"
8 
9 #include "packager/media/base/buffer_writer.h"
-
10 // Header-only files:
-
11 #include "packager/media/formats/mp4/fourccs.h"
-
12 #include "packager/media/formats/mp4/rcheck.h"
-
13 
-
14 namespace edash_packager {
-
15 namespace media {
-
16 
-
17 namespace {
-
18 const size_t kSystemIdSize = 16u;
-
19 const size_t kKeyIdSize = 16u;
-
20 } // namespace
-
21 
-
22 ProtectionSystemSpecificInfo::ProtectionSystemSpecificInfo()
-
23  : version_(0) {}
-
24 ProtectionSystemSpecificInfo::~ProtectionSystemSpecificInfo() {}
-
25 
- -
27  const uint8_t* data,
-
28  size_t data_size,
-
29  std::vector<ProtectionSystemSpecificInfo>* pssh_boxes) {
-
30  pssh_boxes->clear();
-
31  BufferReader reader(data, data_size);
-
32  while (reader.HasBytes(1)) {
-
33  size_t start_position = reader.pos();
-
34  uint32_t size;
-
35  RCHECK(reader.Read4(&size));
-
36  RCHECK(reader.SkipBytes(size - 4));
-
37 
-
38  pssh_boxes->push_back(ProtectionSystemSpecificInfo());
-
39  RCHECK(pssh_boxes->back().Parse(data + start_position, size));
-
40  }
-
41 
-
42  return true;
-
43 }
-
44 
-
45 bool ProtectionSystemSpecificInfo::Parse(const uint8_t* data,
-
46  size_t data_size) {
-
47  uint32_t size;
-
48  uint32_t box_type;
-
49  uint32_t version_and_flags;
-
50  BufferReader reader(data, data_size);
-
51 
-
52  RCHECK(reader.Read4(&size));
-
53  RCHECK(reader.Read4(&box_type));
-
54  RCHECK(size == data_size);
-
55  RCHECK(box_type == mp4::FOURCC_PSSH);
-
56  RCHECK(reader.Read4(&version_and_flags));
-
57 
-
58  version_ = (version_and_flags >> 24);
-
59  RCHECK(version_ < 2);
-
60  RCHECK(reader.ReadToVector(&system_id_, kSystemIdSize));
-
61 
-
62  if (version_ == 1) {
-
63  uint32_t key_id_count;
-
64  RCHECK(reader.Read4(&key_id_count));
-
65 
-
66  key_ids_.resize(key_id_count);
-
67  for (uint32_t i = 0; i < key_id_count; i++) {
-
68  RCHECK(reader.ReadToVector(&key_ids_[i], kKeyIdSize));
-
69  }
-
70  }
-
71 
-
72  // TODO: Consider parsing key IDs from Widevine PSSH data.
-
73  uint32_t pssh_data_size;
-
74  RCHECK(reader.Read4(&pssh_data_size));
-
75  RCHECK(reader.ReadToVector(&pssh_data_, pssh_data_size));
-
76 
-
77  // We should be at the end of the data. The reader should be initialized to
-
78  // the data and size according to the size field of the box; therefore it
-
79  // is an error if there are bytes remaining.
-
80  RCHECK(!reader.HasBytes(1));
-
81  return true;
-
82 }
-
83 
-
84 std::vector<uint8_t> ProtectionSystemSpecificInfo::CreateBox() const {
-
85  DCHECK_EQ(kSystemIdSize, system_id_.size());
-
86 
-
87  const uint32_t box_type = mp4::FOURCC_PSSH;
-
88  const uint32_t version_and_flags = (static_cast<uint32_t>(version_) << 24);
-
89  const uint32_t pssh_data_size = pssh_data_.size();
-
90 
-
91  const uint32_t key_id_count = key_ids_.size();
-
92  const uint32_t key_ids_size =
-
93  sizeof(key_id_count) + kKeyIdSize * key_id_count;
-
94  const uint32_t extra_size = version_ == 1 ? key_ids_size : 0;
-
95 
-
96  const uint32_t total_size =
-
97  sizeof(total_size) + sizeof(box_type) + sizeof(version_and_flags) +
-
98  kSystemIdSize + extra_size + sizeof(pssh_data_size) + pssh_data_size;
-
99 
-
100  BufferWriter writer;
-
101  writer.AppendInt(total_size);
-
102  writer.AppendInt(box_type);
-
103  writer.AppendInt(version_and_flags);
-
104  writer.AppendVector(system_id_);
-
105  if (version_ == 1) {
-
106  writer.AppendInt(key_id_count);
-
107  for (size_t i = 0; i < key_id_count; i++) {
-
108  DCHECK_EQ(kKeyIdSize, key_ids_[i].size());
-
109  writer.AppendVector(key_ids_[i]);
-
110  }
-
111  }
-
112  writer.AppendInt(pssh_data_size);
-
113  writer.AppendVector(pssh_data_);
-
114 
-
115  DCHECK_EQ(total_size, writer.Size());
-
116  return std::vector<uint8_t>(writer.Buffer(), writer.Buffer() + writer.Size());
-
117 }
-
118 
-
119 } // namespace media
-
120 } // namespace edash_packager
- -
static bool ParseBoxes(const uint8_t *data, size_t data_size, std::vector< ProtectionSystemSpecificInfo > *pssh_boxes)
+
10 #include "packager/media/base/fourccs.h"
+
11 #include "packager/media/base/rcheck.h"
+
12 
+
13 namespace edash_packager {
+
14 namespace media {
+
15 
+
16 namespace {
+
17 const size_t kSystemIdSize = 16u;
+
18 const size_t kKeyIdSize = 16u;
+
19 } // namespace
+
20 
+
21 ProtectionSystemSpecificInfo::ProtectionSystemSpecificInfo()
+
22  : version_(0) {}
+
23 ProtectionSystemSpecificInfo::~ProtectionSystemSpecificInfo() {}
+
24 
+ +
26  const uint8_t* data,
+
27  size_t data_size,
+
28  std::vector<ProtectionSystemSpecificInfo>* pssh_boxes) {
+
29  pssh_boxes->clear();
+
30  BufferReader reader(data, data_size);
+
31  while (reader.HasBytes(1)) {
+
32  size_t start_position = reader.pos();
+
33  uint32_t size;
+
34  RCHECK(reader.Read4(&size));
+
35  RCHECK(reader.SkipBytes(size - 4));
+
36 
+
37  pssh_boxes->push_back(ProtectionSystemSpecificInfo());
+
38  RCHECK(pssh_boxes->back().Parse(data + start_position, size));
+
39  }
+
40 
+
41  return true;
+
42 }
+
43 
+
44 bool ProtectionSystemSpecificInfo::Parse(const uint8_t* data,
+
45  size_t data_size) {
+
46  uint32_t size;
+
47  uint32_t box_type;
+
48  uint32_t version_and_flags;
+
49  BufferReader reader(data, data_size);
+
50 
+
51  RCHECK(reader.Read4(&size));
+
52  RCHECK(reader.Read4(&box_type));
+
53  RCHECK(size == data_size);
+
54  RCHECK(box_type == FOURCC_pssh);
+
55  RCHECK(reader.Read4(&version_and_flags));
+
56 
+
57  version_ = (version_and_flags >> 24);
+
58  RCHECK(version_ < 2);
+
59  RCHECK(reader.ReadToVector(&system_id_, kSystemIdSize));
+
60 
+
61  if (version_ == 1) {
+
62  uint32_t key_id_count;
+
63  RCHECK(reader.Read4(&key_id_count));
+
64 
+
65  key_ids_.resize(key_id_count);
+
66  for (uint32_t i = 0; i < key_id_count; i++) {
+
67  RCHECK(reader.ReadToVector(&key_ids_[i], kKeyIdSize));
+
68  }
+
69  }
+
70 
+
71  // TODO: Consider parsing key IDs from Widevine PSSH data.
+
72  uint32_t pssh_data_size;
+
73  RCHECK(reader.Read4(&pssh_data_size));
+
74  RCHECK(reader.ReadToVector(&pssh_data_, pssh_data_size));
+
75 
+
76  // We should be at the end of the data. The reader should be initialized to
+
77  // the data and size according to the size field of the box; therefore it
+
78  // is an error if there are bytes remaining.
+
79  RCHECK(!reader.HasBytes(1));
+
80  return true;
+
81 }
+
82 
+
83 std::vector<uint8_t> ProtectionSystemSpecificInfo::CreateBox() const {
+
84  DCHECK_EQ(kSystemIdSize, system_id_.size());
+
85 
+
86  const uint32_t box_type = FOURCC_pssh;
+
87  const uint32_t version_and_flags = (static_cast<uint32_t>(version_) << 24);
+
88  const uint32_t pssh_data_size = pssh_data_.size();
+
89 
+
90  const uint32_t key_id_count = key_ids_.size();
+
91  const uint32_t key_ids_size =
+
92  sizeof(key_id_count) + kKeyIdSize * key_id_count;
+
93  const uint32_t extra_size = version_ == 1 ? key_ids_size : 0;
+
94 
+
95  const uint32_t total_size =
+
96  sizeof(total_size) + sizeof(box_type) + sizeof(version_and_flags) +
+
97  kSystemIdSize + extra_size + sizeof(pssh_data_size) + pssh_data_size;
+
98 
+
99  BufferWriter writer;
+
100  writer.AppendInt(total_size);
+
101  writer.AppendInt(box_type);
+
102  writer.AppendInt(version_and_flags);
+
103  writer.AppendVector(system_id_);
+
104  if (version_ == 1) {
+
105  writer.AppendInt(key_id_count);
+
106  for (size_t i = 0; i < key_id_count; i++) {
+
107  DCHECK_EQ(kKeyIdSize, key_ids_[i].size());
+
108  writer.AppendVector(key_ids_[i]);
+
109  }
+
110  }
+
111  writer.AppendInt(pssh_data_size);
+
112  writer.AppendVector(pssh_data_);
+
113 
+
114  DCHECK_EQ(total_size, writer.Size());
+
115  return std::vector<uint8_t>(writer.Buffer(), writer.Buffer() + writer.Size());
+
116 }
+
117 
+
118 } // namespace media
+
119 } // namespace edash_packager
+ +
static bool ParseBoxes(const uint8_t *data, size_t data_size, std::vector< ProtectionSystemSpecificInfo > *pssh_boxes)
-
std::vector< uint8_t > CreateBox() const
Creates a PSSH box for the current data.
+
std::vector< uint8_t > CreateBox() const
Creates a PSSH box for the current data.
bool SkipBytes(size_t num_bytes) WARN_UNUSED_RESULT
const uint8_t * Buffer() const
Definition: buffer_writer.h:59
@@ -220,7 +219,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d44/classedash__packager_1_1MockMpdNotifier.html b/docs/d7/d44/classedash__packager_1_1MockMpdNotifier.html index 6c0c72b9f5..dd6232ba29 100644 --- a/docs/d7/d44/classedash__packager_1_1MockMpdNotifier.html +++ b/docs/d7/d44/classedash__packager_1_1MockMpdNotifier.html @@ -160,7 +160,7 @@ Public Member Functions diff --git a/docs/d7/d49/structedash__packager_1_1media_1_1mp4_1_1CuePayloadBox.html b/docs/d7/d49/structedash__packager_1_1media_1_1mp4_1_1CuePayloadBox.html index fa6053a244..19c256fc8e 100644 --- a/docs/d7/d49/structedash__packager_1_1media_1_1mp4_1_1CuePayloadBox.html +++ b/docs/d7/d49/structedash__packager_1_1media_1_1mp4_1_1CuePayloadBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html b/docs/d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html index 5077dec489..9dadaf85fb 100644 --- a/docs/d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html +++ b/docs/d7/d4f/structedash__packager_1_1media_1_1mp4_1_1Edit.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d7/d50/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter-members.html b/docs/d7/d50/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter-members.html index 9db69e2830..2b2401279c 100644 --- a/docs/d7/d50/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter-members.html +++ b/docs/d7/d50/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d52/classedash__packager_1_1media_1_1WebMListParser-members.html b/docs/d7/d52/classedash__packager_1_1media_1_1WebMListParser-members.html index e54247ecf6..27d7b708d2 100644 --- a/docs/d7/d52/classedash__packager_1_1media_1_1WebMListParser-members.html +++ b/docs/d7/d52/classedash__packager_1_1media_1_1WebMListParser-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d55/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html b/docs/d7/d55/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html index f10f8d7840..2514d494a5 100644 --- a/docs/d7/d55/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html +++ b/docs/d7/d55/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html @@ -116,7 +116,7 @@ std::vector< uint8_t >  diff --git a/docs/d7/d56/structedash__packager_1_1media_1_1mp4_1_1EC3Specific-members.html b/docs/d7/d56/structedash__packager_1_1media_1_1mp4_1_1EC3Specific-members.html index 288a1d580f..cdc97c5d7e 100644 --- a/docs/d7/d56/structedash__packager_1_1media_1_1mp4_1_1EC3Specific-members.html +++ b/docs/d7/d56/structedash__packager_1_1media_1_1mp4_1_1EC3Specific-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d5a/classedash__packager_1_1media_1_1AesEncryptor-members.html b/docs/d7/d5a/classedash__packager_1_1media_1_1AesEncryptor-members.html index 95d65f50d8..e12f28c816 100644 --- a/docs/d7/d5a/classedash__packager_1_1media_1_1AesEncryptor-members.html +++ b/docs/d7/d5a/classedash__packager_1_1media_1_1AesEncryptor-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d79/structedash__packager_1_1media_1_1mp4_1_1MediaData-members.html b/docs/d7/d79/structedash__packager_1_1media_1_1mp4_1_1MediaData-members.html index a9cd8dd426..03430112a8 100644 --- a/docs/d7/d79/structedash__packager_1_1media_1_1mp4_1_1MediaData-members.html +++ b/docs/d7/d79/structedash__packager_1_1media_1_1mp4_1_1MediaData-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d7b/structedash__packager_1_1media_1_1mp4_1_1DecodingTime-members.html b/docs/d7/d7b/structedash__packager_1_1media_1_1mp4_1_1DecodingTime-members.html index 9ffd4e1d38..0fdbb194c1 100644 --- a/docs/d7/d7b/structedash__packager_1_1media_1_1mp4_1_1DecodingTime-members.html +++ b/docs/d7/d7b/structedash__packager_1_1media_1_1mp4_1_1DecodingTime-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d7c/vlog__flags_8h_source.html b/docs/d7/d7c/vlog__flags_8h_source.html index c87a7ee9f1..cd772804ec 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/d82/classedash__packager_1_1MpdBuilder-members.html b/docs/d7/d82/classedash__packager_1_1MpdBuilder-members.html index 7482c7e676..a42ec8dfbd 100644 --- a/docs/d7/d82/classedash__packager_1_1MpdBuilder-members.html +++ b/docs/d7/d82/classedash__packager_1_1MpdBuilder-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d85/classedash__packager_1_1media_1_1VPCodecConfiguration.html b/docs/d7/d85/classedash__packager_1_1media_1_1VPCodecConfiguration.html index 5d361571a0..dc94ed59f2 100644 --- a/docs/d7/d85/classedash__packager_1_1media_1_1VPCodecConfiguration.html +++ b/docs/d7/d85/classedash__packager_1_1media_1_1VPCodecConfiguration.html @@ -255,7 +255,7 @@ bool video_full_range_flag diff --git a/docs/d7/d87/video__stream__info_8h_source.html b/docs/d7/d87/video__stream__info_8h_source.html index 681d52042c..89ef4eaf4e 100644 --- a/docs/d7/d87/video__stream__info_8h_source.html +++ b/docs/d7/d87/video__stream__info_8h_source.html @@ -188,7 +188,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html b/docs/d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html index 3f75ca9344..b4f98f7e81 100644 --- a/docs/d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html +++ b/docs/d7/d8a/structedash__packager_1_1media_1_1mp4_1_1Box.html @@ -384,7 +384,7 @@ class BoxBuffer diff --git a/docs/d7/d8f/structedash__packager_1_1media_1_1mp4_1_1CueSourceIDBox-members.html b/docs/d7/d8f/structedash__packager_1_1media_1_1mp4_1_1CueSourceIDBox-members.html index fc9a93d727..b037cb97ce 100644 --- a/docs/d7/d8f/structedash__packager_1_1media_1_1mp4_1_1CueSourceIDBox-members.html +++ b/docs/d7/d8f/structedash__packager_1_1media_1_1mp4_1_1CueSourceIDBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d9d/progress__listener_8h_source.html b/docs/d7/d9d/progress__listener_8h_source.html index be457a4c50..466d87bc2c 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 7ab37b434a..a05f7d5fae 100644 --- a/docs/d7/da4/track__run__iterator_8h_source.html +++ b/docs/d7/da4/track__run__iterator_8h_source.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html b/docs/d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html index ff07aafad9..304ff8ff60 100644 --- a/docs/d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html +++ b/docs/d7/da5/structedash__packager_1_1media_1_1mp4_1_1SampleSize.html @@ -188,7 +188,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 e9c4bb71fa..fb3f62272f 100644 --- a/docs/d7/db0/mpd__writer_8h_source.html +++ b/docs/d7/db0/mpd__writer_8h_source.html @@ -184,7 +184,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/db3/structedash__packager_1_1Element-members.html b/docs/d7/db3/structedash__packager_1_1Element-members.html index 61c08f9209..f8c63eb16f 100644 --- a/docs/d7/db3/structedash__packager_1_1Element-members.html +++ b/docs/d7/db3/structedash__packager_1_1Element-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dc6/byte__queue_8h_source.html b/docs/d7/dc6/byte__queue_8h_source.html index 44852125a1..81be72fe5d 100644 --- a/docs/d7/dc6/byte__queue_8h_source.html +++ b/docs/d7/dc6/byte__queue_8h_source.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dcc/structedash__packager_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html b/docs/d7/dcc/structedash__packager_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html index 2e255638d1..69770286b0 100644 --- a/docs/d7/dcc/structedash__packager_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html +++ b/docs/d7/dcc/structedash__packager_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d7/dd0/mpd__notifier__util_8h_source.html b/docs/d7/dd0/mpd__notifier__util_8h_source.html index e8bd511164..0639e35079 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/dd2/classedash__packager_1_1media_1_1VPxParser-members.html b/docs/d7/dd2/classedash__packager_1_1media_1_1VPxParser-members.html index ab36f8d10b..8db764477a 100644 --- a/docs/d7/dd2/classedash__packager_1_1media_1_1VPxParser-members.html +++ b/docs/d7/dd2/classedash__packager_1_1media_1_1VPxParser-members.html @@ -101,7 +101,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 8a0c2962f9..bfa9d39f26 100644 --- a/docs/d7/dd4/request__signer_8h_source.html +++ b/docs/d7/dd4/request__signer_8h_source.html @@ -178,7 +178,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dd6/key__source_8cc_source.html b/docs/d7/dd6/key__source_8cc_source.html index a9e38dcf30..61aaf61b92 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/de3/structedash__packager_1_1xml_1_1XmlDeleter.html b/docs/d7/de3/structedash__packager_1_1xml_1_1XmlDeleter.html index 86b8daa7e4..d5f5e0815c 100644 --- a/docs/d7/de3/structedash__packager_1_1xml_1_1XmlDeleter.html +++ b/docs/d7/de3/structedash__packager_1_1xml_1_1XmlDeleter.html @@ -127,7 +127,7 @@ void operator() (xmlCh diff --git a/docs/d7/de6/structedash__packager_1_1media_1_1H265SliceHeader.html b/docs/d7/de6/structedash__packager_1_1media_1_1H265SliceHeader.html index 0a7aa981fd..e6891e61f1 100644 --- a/docs/d7/de6/structedash__packager_1_1media_1_1H265SliceHeader.html +++ b/docs/d7/de6/structedash__packager_1_1media_1_1H265SliceHeader.html @@ -236,7 +236,7 @@ std::vector< int > e 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 86333fe821..c776875069 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 @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html b/docs/d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html index 05e6c097e7..7156bb6b67 100644 --- a/docs/d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html +++ b/docs/d7/dec/structedash__packager_1_1media_1_1mp4_1_1MediaHeader.html @@ -194,7 +194,7 @@ Additional Inherited Members diff --git a/docs/d7/dee/mpd__generator_8cc_source.html b/docs/d7/dee/mpd__generator_8cc_source.html index 993ff266e0..e05fbabac1 100644 --- a/docs/d7/dee/mpd__generator_8cc_source.html +++ b/docs/d7/dee/mpd__generator_8cc_source.html @@ -199,7 +199,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 f0dd54768a..5b2997b19e 100644 --- a/docs/d7/def/mp4__media__parser_8cc_source.html +++ b/docs/d7/def/mp4__media__parser_8cc_source.html @@ -106,16 +106,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
17 #include "packager/media/base/key_source.h"
18 #include "packager/media/base/macros.h"
19 #include "packager/media/base/media_sample.h"
-
20 #include "packager/media/base/video_stream_info.h"
-
21 #include "packager/media/file/file.h"
-
22 #include "packager/media/file/file_closer.h"
-
23 #include "packager/media/filters/avc_decoder_configuration.h"
-
24 #include "packager/media/filters/hevc_decoder_configuration.h"
-
25 #include "packager/media/filters/vp_codec_configuration.h"
-
26 #include "packager/media/formats/mp4/box_definitions.h"
-
27 #include "packager/media/formats/mp4/box_reader.h"
-
28 #include "packager/media/formats/mp4/es_descriptor.h"
-
29 #include "packager/media/formats/mp4/rcheck.h"
+
20 #include "packager/media/base/rcheck.h"
+
21 #include "packager/media/base/video_stream_info.h"
+
22 #include "packager/media/file/file.h"
+
23 #include "packager/media/file/file_closer.h"
+
24 #include "packager/media/filters/avc_decoder_configuration.h"
+
25 #include "packager/media/filters/hevc_decoder_configuration.h"
+
26 #include "packager/media/filters/vp_codec_configuration.h"
+
27 #include "packager/media/formats/mp4/box_definitions.h"
+
28 #include "packager/media/formats/mp4/box_reader.h"
+
29 #include "packager/media/formats/mp4/es_descriptor.h"
30 #include "packager/media/formats/mp4/track_run_iterator.h"
31 
32 namespace edash_packager {
@@ -131,17 +131,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
42 
43 VideoCodec FourCCToVideoCodec(FourCC fourcc) {
44  switch (fourcc) {
-
45  case FOURCC_AVC1:
+
45  case FOURCC_avc1:
46  return kCodecH264;
-
47  case FOURCC_HEV1:
+
47  case FOURCC_hev1:
48  return kCodecHEV1;
-
49  case FOURCC_HVC1:
+
49  case FOURCC_hvc1:
50  return kCodecHVC1;
-
51  case FOURCC_VP08:
+
51  case FOURCC_vp08:
52  return kCodecVP8;
-
53  case FOURCC_VP09:
+
53  case FOURCC_vp09:
54  return kCodecVP9;
-
55  case FOURCC_VP10:
+
55  case FOURCC_vp10:
56  return kCodecVP10;
57  default:
58  return kUnknownVideoCodec;
@@ -150,21 +150,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
61 
62 AudioCodec FourCCToAudioCodec(FourCC fourcc) {
63  switch(fourcc) {
-
64  case FOURCC_DTSC:
+
64  case FOURCC_dtsc:
65  return kCodecDTSC;
-
66  case FOURCC_DTSH:
+
66  case FOURCC_dtsh:
67  return kCodecDTSH;
-
68  case FOURCC_DTSL:
+
68  case FOURCC_dtsl:
69  return kCodecDTSL;
-
70  case FOURCC_DTSE:
+
70  case FOURCC_dtse:
71  return kCodecDTSE;
-
72  case FOURCC_DTSP:
+
72  case FOURCC_dtsp:
73  return kCodecDTSP;
-
74  case FOURCC_DTSM:
+
74  case FOURCC_dtsm:
75  return kCodecDTSM;
-
76  case FOURCC_AC3:
+
76  case FOURCC_ac_3:
77  return kCodecAC3;
-
78  case FOURCC_EAC3:
+
78  case FOURCC_ec_3:
79  return kCodecEAC3;
80  default:
81  return kUnknownAudioCodec;
@@ -284,9 +284,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
195  << "'";
196  return false;
197  }
-
198  if (box_type == FOURCC_MDAT) {
+
198  if (box_type == FOURCC_mdat) {
199  mdat_seen = true;
-
200  } else if (box_type == FOURCC_MOOV) {
+
200  } else if (box_type == FOURCC_moov) {
201  if (!mdat_seen) {
202  // 'moov' is before 'mdat'. Nothing to do.
203  break;
@@ -335,7 +335,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
246  if (reader.get() == NULL)
247  return false;
248 
-
249  if (reader->type() == FOURCC_MDAT) {
+
249  if (reader->type() == FOURCC_mdat) {
250  // The code ends up here only if a MOOV box is not yet seen.
251  DCHECK(!moov_);
252 
@@ -347,9 +347,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
258  // Set up mdat offset for ReadMDATsUntil().
259  mdat_tail_ = queue_.head() + reader->size();
260 
-
261  if (reader->type() == FOURCC_MOOV) {
+
261  if (reader->type() == FOURCC_moov) {
262  *err = !ParseMoov(reader.get());
-
263  } else if (reader->type() == FOURCC_MOOF) {
+
263  } else if (reader->type() == FOURCC_moof) {
264  moof_head_ = queue_.head();
265  *err = !ParseMoof(reader.get());
266 
@@ -439,7 +439,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
350  std::vector<uint8_t> extra_data;
351 
352  switch (actual_format) {
-
353  case FOURCC_MP4A:
+
353  case FOURCC_mp4a:
354  // Check if it is MPEG4 AAC defined in ISO 14496 Part 3 or
355  // supported MPEG2 AAC variants.
356  if (entry.esds.es_descriptor.IsAAC()) {
@@ -488,27 +488,27 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
399  return false;
400  }
401  break;
-
402  case FOURCC_DTSC:
+
402  case FOURCC_dtsc:
403  FALLTHROUGH_INTENDED;
-
404  case FOURCC_DTSH:
+
404  case FOURCC_dtsh:
405  FALLTHROUGH_INTENDED;
-
406  case FOURCC_DTSL:
+
406  case FOURCC_dtsl:
407  FALLTHROUGH_INTENDED;
-
408  case FOURCC_DTSE:
+
408  case FOURCC_dtse:
409  FALLTHROUGH_INTENDED;
-
410  case FOURCC_DTSM:
+
410  case FOURCC_dtsm:
411  extra_data = entry.ddts.extra_data;
412  max_bitrate = entry.ddts.max_bitrate;
413  avg_bitrate = entry.ddts.avg_bitrate;
414  num_channels = entry.channelcount;
415  sampling_frequency = entry.samplerate;
416  break;
-
417  case FOURCC_AC3:
+
417  case FOURCC_ac_3:
418  extra_data = entry.dac3.data;
419  num_channels = entry.channelcount;
420  sampling_frequency = entry.samplerate;
421  break;
-
422  case FOURCC_EAC3:
+
422  case FOURCC_ec_3:
423  extra_data = entry.dec3.data;
424  num_channels = entry.channelcount;
425  sampling_frequency = entry.samplerate;
@@ -558,7 +558,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
469  const FourCC actual_format = entry.GetActualFormat();
470  const VideoCodec video_codec = FourCCToVideoCodec(actual_format);
471  switch (actual_format) {
-
472  case FOURCC_AVC1: {
+
472  case FOURCC_avc1: {
473  AVCDecoderConfiguration avc_config;
474  if (!avc_config.Parse(entry.codec_config_record.data)) {
475  LOG(ERROR) << "Failed to parse avcc.";
@@ -594,8 +594,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
505  }
506  break;
507  }
-
508  case FOURCC_HEV1:
-
509  case FOURCC_HVC1: {
+
508  case FOURCC_hev1:
+
509  case FOURCC_hvc1: {
510  HEVCDecoderConfiguration hevc_config;
511  if (!hevc_config.Parse(entry.codec_config_record.data)) {
512  LOG(ERROR) << "Failed to parse hevc.";
@@ -605,9 +605,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
516  nalu_length_size = hevc_config.nalu_length_size();
517  break;
518  }
-
519  case FOURCC_VP08:
-
520  case FOURCC_VP09:
-
521  case FOURCC_VP10: {
+
519  case FOURCC_vp08:
+
520  case FOURCC_vp09:
+
521  case FOURCC_vp10: {
522  VPCodecConfiguration vp_config;
523  if (!vp_config.Parse(entry.codec_config_record.data)) {
524  LOG(ERROR) << "Failed to parse vpcc.";
@@ -829,7 +829,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/df1/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex-members.html b/docs/d7/df1/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex-members.html index 47e75a4ca1..49d59b8923 100644 --- a/docs/d7/df1/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex-members.html +++ b/docs/d7/df1/structedash__packager_1_1media_1_1mp4_1_1SegmentIndex-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/df3/classedash__packager_1_1media_1_1File-members.html b/docs/d7/df3/classedash__packager_1_1media_1_1File-members.html index 57756367cc..f9a11b8e47 100644 --- a/docs/d7/df3/classedash__packager_1_1media_1_1File-members.html +++ b/docs/d7/df3/classedash__packager_1_1media_1_1File-members.html @@ -116,7 +116,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 6fa2764c2c..9cc2881c7d 100644 --- a/docs/d7/df9/byte__queue_8cc_source.html +++ b/docs/d7/df9/byte__queue_8cc_source.html @@ -182,7 +182,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dfa/classedash__packager_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter.html b/docs/d7/dfa/classedash__packager_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter.html index 9b26480847..2d4aa8dd5b 100644 --- a/docs/d7/dfa/classedash__packager_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter.html +++ b/docs/d7/dfa/classedash__packager_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter.html @@ -214,7 +214,7 @@ double cluster_length_sec< diff --git a/docs/d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html b/docs/d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html index d8db4d01c9..00c1bf1bf8 100644 --- a/docs/d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html +++ b/docs/d8/d0d/classedash__packager_1_1media_1_1mp4_1_1MP4MediaParser.html @@ -285,7 +285,7 @@ track_id, const scoped_refptr
diff --git a/docs/d8/d0d/media__sample_8cc_source.html b/docs/d8/d0d/media__sample_8cc_source.html index 17c51a4338..2e7b89b601 100644 --- a/docs/d8/d0d/media__sample_8cc_source.html +++ b/docs/d8/d0d/media__sample_8cc_source.html @@ -195,7 +195,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 c1d0435651..1467158bfa 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/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html b/docs/d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html index 5592cebff2..50dd110c27 100644 --- a/docs/d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html +++ b/docs/d8/d1e/classedash__packager_1_1media_1_1mp4_1_1EncryptingFragmenter.html @@ -372,7 +372,7 @@ void set_encryption_key diff --git a/docs/d8/d21/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo.html b/docs/d8/d21/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo.html index f09f92a7f6..09e12b7264 100644 --- a/docs/d8/d21/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo.html +++ b/docs/d8/d21/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo.html @@ -115,7 +115,7 @@ uint32_t sample_descriptio diff --git a/docs/d8/d22/classedash__packager_1_1media_1_1HttpKeyFetcher-members.html b/docs/d8/d22/classedash__packager_1_1media_1_1HttpKeyFetcher-members.html index 4223f721af..f659c61887 100644 --- a/docs/d8/d22/classedash__packager_1_1media_1_1HttpKeyFetcher-members.html +++ b/docs/d8/d22/classedash__packager_1_1media_1_1HttpKeyFetcher-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d25/classedash__packager_1_1media_1_1ProducerConsumerQueue-members.html b/docs/d8/d25/classedash__packager_1_1media_1_1ProducerConsumerQueue-members.html index 956a763eca..3cbe574b85 100644 --- a/docs/d8/d25/classedash__packager_1_1media_1_1ProducerConsumerQueue-members.html +++ b/docs/d8/d25/classedash__packager_1_1media_1_1ProducerConsumerQueue-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d26/structedash__packager_1_1media_1_1mp4_1_1SegmentType-members.html b/docs/d8/d26/structedash__packager_1_1media_1_1mp4_1_1SegmentType-members.html index 81da91e08f..c85911b744 100644 --- a/docs/d8/d26/structedash__packager_1_1media_1_1mp4_1_1SegmentType-members.html +++ b/docs/d8/d26/structedash__packager_1_1media_1_1mp4_1_1SegmentType-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d2e/classedash__packager_1_1media_1_1ByteQueue.html b/docs/d8/d2e/classedash__packager_1_1media_1_1ByteQueue.html index a77a6c21e8..4b4d706e57 100644 --- a/docs/d8/d2e/classedash__packager_1_1media_1_1ByteQueue.html +++ b/docs/d8/d2e/classedash__packager_1_1media_1_1ByteQueue.html @@ -177,7 +177,7 @@ void  diff --git a/docs/d8/d32/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize-members.html b/docs/d8/d32/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize-members.html index 3ed5887935..553520b9e8 100644 --- a/docs/d8/d32/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize-members.html +++ b/docs/d8/d32/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize-members.html @@ -114,7 +114,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 48ef1fbf65..ccf278ecb5 100644 --- a/docs/d8/d33/webm__content__encodings__client_8h_source.html +++ b/docs/d8/d33/webm__content__encodings__client_8h_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d34/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html b/docs/d8/d34/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html index 1e13018985..f1e532c401 100644 --- a/docs/d8/d34/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html +++ b/docs/d8/d34/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d37/classedash__packager_1_1media_1_1mp2t_1_1ContinuityCounter.html b/docs/d8/d37/classedash__packager_1_1media_1_1mp2t_1_1ContinuityCounter.html index 992ac60a5c..3f217cec30 100644 --- a/docs/d8/d37/classedash__packager_1_1media_1_1mp2t_1_1ContinuityCounter.html +++ b/docs/d8/d37/classedash__packager_1_1media_1_1mp2t_1_1ContinuityCounter.html @@ -129,7 +129,7 @@ Public Member Functions diff --git a/docs/d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html b/docs/d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html index 3652fffba9..fc3f9c4f97 100644 --- a/docs/d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html +++ b/docs/d8/d4a/structedash__packager_1_1media_1_1mp4_1_1EditList.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d8/d4d/aes__decryptor_8h_source.html b/docs/d8/d4d/aes__decryptor_8h_source.html index 18499afa4a..59352edb4d 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/d6a/classedash__packager_1_1media_1_1AudioStreamInfo-members.html b/docs/d8/d6a/classedash__packager_1_1media_1_1AudioStreamInfo-members.html index da7de6ec8a..e629f46fd4 100644 --- a/docs/d8/d6a/classedash__packager_1_1media_1_1AudioStreamInfo-members.html +++ b/docs/d8/d6a/classedash__packager_1_1media_1_1AudioStreamInfo-members.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d6c/classedash__packager_1_1media_1_1MediaSample.html b/docs/d8/d6c/classedash__packager_1_1media_1_1MediaSample.html index 0374f3e22d..6f34cd98ec 100644 --- a/docs/d8/d6c/classedash__packager_1_1media_1_1MediaSample.html +++ b/docs/d8/d6c/classedash__packager_1_1media_1_1MediaSample.html @@ -411,7 +411,7 @@ class base::RefCountedThre diff --git a/docs/d8/d6f/classedash__packager_1_1MockAdaptationSet-members.html b/docs/d8/d6f/classedash__packager_1_1MockAdaptationSet-members.html index c9153fdf1f..187fffef11 100644 --- a/docs/d8/d6f/classedash__packager_1_1MockAdaptationSet-members.html +++ b/docs/d8/d6f/classedash__packager_1_1MockAdaptationSet-members.html @@ -126,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d6f/structedash__packager_1_1media_1_1mp4_1_1TrackFragment-members.html b/docs/d8/d6f/structedash__packager_1_1media_1_1mp4_1_1TrackFragment-members.html index a079ef299d..bd919a4844 100644 --- a/docs/d8/d6f/structedash__packager_1_1media_1_1mp4_1_1TrackFragment-members.html +++ b/docs/d8/d6f/structedash__packager_1_1media_1_1mp4_1_1TrackFragment-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html b/docs/d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html index bb223c0f62..c550f634fd 100644 --- a/docs/d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html +++ b/docs/d8/d71/classedash__packager_1_1media_1_1mp4_1_1ChunkInfoIterator.html @@ -320,7 +320,7 @@ Public Member Functions diff --git a/docs/d8/d74/classedash__packager_1_1Representation-members.html b/docs/d8/d74/classedash__packager_1_1Representation-members.html index 7618e33fd6..5af495396e 100644 --- a/docs/d8/d74/classedash__packager_1_1Representation-members.html +++ b/docs/d8/d74/classedash__packager_1_1Representation-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d75/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html b/docs/d8/d75/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html index 9604d179ab..ed967f6097 100644 --- a/docs/d8/d75/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html +++ b/docs/d8/d75/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d78/classedash__packager_1_1MockAdaptationSet.html b/docs/d8/d78/classedash__packager_1_1MockAdaptationSet.html index 664ec6766e..622a6b2280 100644 --- a/docs/d8/d78/classedash__packager_1_1MockAdaptationSet.html +++ b/docs/d8/d78/classedash__packager_1_1MockAdaptationSet.html @@ -183,7 +183,7 @@ Additional Inherited Members diff --git a/docs/d8/d78/classedash__packager_1_1media_1_1WebMContentEncodingsClient.html b/docs/d8/d78/classedash__packager_1_1media_1_1WebMContentEncodingsClient.html index e182b05019..277efd1295 100644 --- a/docs/d8/d78/classedash__packager_1_1media_1_1WebMContentEncodingsClient.html +++ b/docs/d8/d78/classedash__packager_1_1media_1_1WebMContentEncodingsClient.html @@ -152,7 +152,7 @@ Additional Inherited Members diff --git a/docs/d8/d82/classedash__packager_1_1media_1_1MpdNotifyMuxerListener-members.html b/docs/d8/d82/classedash__packager_1_1media_1_1MpdNotifyMuxerListener-members.html index af49453859..1e99ab8980 100644 --- a/docs/d8/d82/classedash__packager_1_1media_1_1MpdNotifyMuxerListener-members.html +++ b/docs/d8/d82/classedash__packager_1_1media_1_1MpdNotifyMuxerListener-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d8e/classedash__packager_1_1media_1_1mp2t_1_1TsSection.html b/docs/d8/d8e/classedash__packager_1_1media_1_1mp2t_1_1TsSection.html index 0150da9f53..8abfa20170 100644 --- a/docs/d8/d8e/classedash__packager_1_1media_1_1mp2t_1_1TsSection.html +++ b/docs/d8/d8e/classedash__packager_1_1media_1_1mp2t_1_1TsSection.html @@ -141,7 +141,7 @@ virtual void Reset ()= diff --git a/docs/d8/d94/adts__constants_8cc_source.html b/docs/d8/d94/adts__constants_8cc_source.html index 36cd64f215..7569b0342b 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/classedash__packager_1_1media_1_1mp2t_1_1PesPacketGenerator-members.html b/docs/d8/d94/classedash__packager_1_1media_1_1mp2t_1_1PesPacketGenerator-members.html index 579fcb4af2..7045c7a295 100644 --- a/docs/d8/d94/classedash__packager_1_1media_1_1mp2t_1_1PesPacketGenerator-members.html +++ b/docs/d8/d94/classedash__packager_1_1media_1_1mp2t_1_1PesPacketGenerator-members.html @@ -104,7 +104,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 d62ddfb290..1c46d2b4fe 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/d97/structedash__packager_1_1ContentProtectionElement-members.html b/docs/d8/d97/structedash__packager_1_1ContentProtectionElement-members.html index de061fb69d..94848e4889 100644 --- a/docs/d8/d97/structedash__packager_1_1ContentProtectionElement-members.html +++ b/docs/d8/d97/structedash__packager_1_1ContentProtectionElement-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d9a/fragmenter_8cc_source.html b/docs/d8/d9a/fragmenter_8cc_source.html index a3f5ba4167..50e42c5c03 100644 --- a/docs/d8/d9a/fragmenter_8cc_source.html +++ b/docs/d8/d9a/fragmenter_8cc_source.html @@ -251,7 +251,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 a8600aa05f..fdf803345d 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 6bad1ac8fc..5ebcaf68de 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/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html b/docs/d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html index e64a8a57ba..73142c8301 100644 --- a/docs/d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html +++ b/docs/d8/da0/classedash__packager_1_1media_1_1wvm_1_1WvmMediaParser.html @@ -256,7 +256,7 @@ track_id, const scoped_refptr
diff --git a/docs/d8/da1/classedash__packager_1_1media_1_1WidevineKeySource-members.html b/docs/d8/da1/classedash__packager_1_1media_1_1WidevineKeySource-members.html index 42f18379aa..fa3084d3ce 100644 --- a/docs/d8/da1/classedash__packager_1_1media_1_1WidevineKeySource-members.html +++ b/docs/d8/da1/classedash__packager_1_1media_1_1WidevineKeySource-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/da6/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader-members.html b/docs/d8/da6/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader-members.html index d5c58355bc..3df271bcd0 100644 --- a/docs/d8/da6/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader-members.html +++ b/docs/d8/da6/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader-members.html @@ -113,7 +113,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 4f7bb4a6f4..a95693767e 100644 --- a/docs/d8/daa/stream__info_8h_source.html +++ b/docs/d8/daa/stream__info_8h_source.html @@ -185,7 +185,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dbb/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData-members.html b/docs/d8/dbb/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData-members.html index d7d0576701..71de026a4d 100644 --- a/docs/d8/dbb/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData-members.html +++ b/docs/d8/dbb/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dc7/classedash__packager_1_1media_1_1UdpFile.html b/docs/d8/dc7/classedash__packager_1_1media_1_1UdpFile.html index 0672049ce7..82aafddb43 100644 --- a/docs/d8/dc7/classedash__packager_1_1media_1_1UdpFile.html +++ b/docs/d8/dc7/classedash__packager_1_1media_1_1UdpFile.html @@ -463,7 +463,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 d6f95f45c2..64deeef4bf 100644 --- a/docs/d8/dca/ts__writer_8h_source.html +++ b/docs/d8/dca/ts__writer_8h_source.html @@ -165,7 +165,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dcc/classedash__packager_1_1media_1_1AesRequestSigner.html b/docs/d8/dcc/classedash__packager_1_1media_1_1AesRequestSigner.html index 13de0b0f29..2481fe96a2 100644 --- a/docs/d8/dcc/classedash__packager_1_1media_1_1AesRequestSigner.html +++ b/docs/d8/dcc/classedash__packager_1_1media_1_1AesRequestSigner.html @@ -188,7 +188,7 @@ Additional Inherited Members diff --git a/docs/d8/dcf/classedash__packager_1_1media_1_1RsaRequestSigner-members.html b/docs/d8/dcf/classedash__packager_1_1media_1_1RsaRequestSigner-members.html index f778e42517..bd6b9213c6 100644 --- a/docs/d8/dcf/classedash__packager_1_1media_1_1RsaRequestSigner-members.html +++ b/docs/d8/dcf/classedash__packager_1_1media_1_1RsaRequestSigner-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/de5/structedash__packager_1_1media_1_1mp4_1_1SampleEncryptionEntry.html b/docs/d8/de5/structedash__packager_1_1media_1_1mp4_1_1SampleEncryptionEntry.html index 935c93f541..c915af6914 100644 --- a/docs/d8/de5/structedash__packager_1_1media_1_1mp4_1_1SampleEncryptionEntry.html +++ b/docs/d8/de5/structedash__packager_1_1media_1_1mp4_1_1SampleEncryptionEntry.html @@ -250,7 +250,7 @@ std::vector< diff --git a/docs/d8/de6/webm__crypto__helpers_8h_source.html b/docs/d8/de6/webm__crypto__helpers_8h_source.html index ee27b89d62..da02330692 100644 --- a/docs/d8/de6/webm__crypto__helpers_8h_source.html +++ b/docs/d8/de6/webm__crypto__helpers_8h_source.html @@ -116,7 +116,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 f96ec00634..9e0e9c95d4 100644 --- a/docs/d8/df0/webm_2single__segment__segmenter_8cc_source.html +++ b/docs/d8/df0/webm_2single__segment__segmenter_8cc_source.html @@ -180,7 +180,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/df1/classedash__packager_1_1MpdWriter-members.html b/docs/d8/df1/classedash__packager_1_1MpdWriter-members.html index b7c0f307b9..379fddf9b9 100644 --- a/docs/d8/df1/classedash__packager_1_1MpdWriter-members.html +++ b/docs/d8/df1/classedash__packager_1_1MpdWriter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/df4/classedash__packager_1_1media_1_1mp2t_1_1TsSegmenter-members.html b/docs/d8/df4/classedash__packager_1_1media_1_1mp2t_1_1TsSegmenter-members.html index 538ba5e128..a02659590e 100644 --- a/docs/d8/df4/classedash__packager_1_1media_1_1mp2t_1_1TsSegmenter-members.html +++ b/docs/d8/df4/classedash__packager_1_1media_1_1mp2t_1_1TsSegmenter-members.html @@ -104,7 +104,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 c2d36a774e..8fbcc72008 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 @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dfb/classedash__packager_1_1media_1_1DecoderConfiguration.html b/docs/d8/dfb/classedash__packager_1_1media_1_1DecoderConfiguration.html index 6b08e27f26..d6e099ce83 100644 --- a/docs/d8/dfb/classedash__packager_1_1media_1_1DecoderConfiguration.html +++ b/docs/d8/dfb/classedash__packager_1_1media_1_1DecoderConfiguration.html @@ -333,7 +333,7 @@ void  diff --git a/docs/d8/dfd/structedash__packager_1_1media_1_1VPxFrameInfo.html b/docs/d8/dfd/structedash__packager_1_1media_1_1VPxFrameInfo.html index e0e420c8c0..9225ae03b3 100644 --- a/docs/d8/dfd/structedash__packager_1_1media_1_1VPxFrameInfo.html +++ b/docs/d8/dfd/structedash__packager_1_1media_1_1VPxFrameInfo.html @@ -121,7 +121,7 @@ uint32_t height 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 e996644ec9..065d05be21 100644 --- a/docs/d9/d01/mp4_2single__segment__segmenter_8h_source.html +++ b/docs/d9/d01/mp4_2single__segment__segmenter_8h_source.html @@ -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 ec1d1ba2fb..0867d7065c 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/d15/key__rotation__fragmenter_8cc_source.html b/docs/d9/d15/key__rotation__fragmenter_8cc_source.html index 1b162bfdbc..e7956bee48 100644 --- a/docs/d9/d15/key__rotation__fragmenter_8cc_source.html +++ b/docs/d9/d15/key__rotation__fragmenter_8cc_source.html @@ -186,7 +186,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
97  // i.e. there is at most one key for the fragment. So there should be only
98  // one entry in SampleGroupDescription box and one entry in SampleToGroup box.
99  // Fill in SampleGroupDescription box information.
-
100  traf()->sample_group_description.grouping_type = FOURCC_SEIG;
+
100  traf()->sample_group_description.grouping_type = FOURCC_seig;
101  traf()->sample_group_description.entries.resize(1);
102  traf()->sample_group_description.entries[0].is_encrypted = true;
103  traf()->sample_group_description.entries[0].iv_size =
@@ -194,7 +194,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
105  traf()->sample_group_description.entries[0].key_id = encryption_key()->key_id;
106 
107  // Fill in SampleToGroup box information.
-
108  traf()->sample_to_group.grouping_type = FOURCC_SEIG;
+
108  traf()->sample_to_group.grouping_type = FOURCC_seig;
109  traf()->sample_to_group.entries.resize(1);
110  // sample_count is adjusted in |FinalizeFragment| later.
111  traf()->sample_to_group.entries[0].group_description_index =
@@ -230,7 +230,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d17/classedash__packager_1_1DashIopMpdNotifier-members.html b/docs/d9/d17/classedash__packager_1_1DashIopMpdNotifier-members.html index 210f49c10e..d4aac3c06c 100644 --- a/docs/d9/d17/classedash__packager_1_1DashIopMpdNotifier-members.html +++ b/docs/d9/d17/classedash__packager_1_1DashIopMpdNotifier-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html b/docs/d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html index 0b8a99bc64..5c745b17fd 100644 --- a/docs/d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html +++ b/docs/d9/d18/structedash__packager_1_1media_1_1mp4_1_1SyncSample.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d9/d21/structedash__packager_1_1media_1_1mp4_1_1ID3v2.html b/docs/d9/d21/structedash__packager_1_1media_1_1mp4_1_1ID3v2.html index 7fb4d124d0..c92092c795 100644 --- a/docs/d9/d21/structedash__packager_1_1media_1_1mp4_1_1ID3v2.html +++ b/docs/d9/d21/structedash__packager_1_1media_1_1mp4_1_1ID3v2.html @@ -189,7 +189,7 @@ Additional Inherited Members diff --git a/docs/d9/d2c/classedash__packager_1_1media_1_1ProgressListener.html b/docs/d9/d2c/classedash__packager_1_1media_1_1ProgressListener.html index 389f227da3..18735163b2 100644 --- a/docs/d9/d2c/classedash__packager_1_1media_1_1ProgressListener.html +++ b/docs/d9/d2c/classedash__packager_1_1media_1_1ProgressListener.html @@ -146,7 +146,7 @@ Public Member Functions diff --git a/docs/d9/d3b/classedash__packager_1_1media_1_1MemoryFile-members.html b/docs/d9/d3b/classedash__packager_1_1media_1_1MemoryFile-members.html index 6bd7baddce..f31cd98bca 100644 --- a/docs/d9/d3b/classedash__packager_1_1media_1_1MemoryFile-members.html +++ b/docs/d9/d3b/classedash__packager_1_1media_1_1MemoryFile-members.html @@ -119,7 +119,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 c6c8c43d43..dca76b6f11 100644 --- a/docs/d9/d3b/webm__content__encodings_8h_source.html +++ b/docs/d9/d3b/webm__content__encodings_8h_source.html @@ -179,7 +179,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d46/classedash__packager_1_1media_1_1BufferReader.html b/docs/d9/d46/classedash__packager_1_1media_1_1BufferReader.html index 26c4fbafcb..6019eda22b 100644 --- a/docs/d9/d46/classedash__packager_1_1media_1_1BufferReader.html +++ b/docs/d9/d46/classedash__packager_1_1media_1_1BufferReader.html @@ -276,7 +276,7 @@ bool ReadNBytesInto8s diff --git a/docs/d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html b/docs/d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html index 4ba164a5e4..3d771c726e 100644 --- a/docs/d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html +++ b/docs/d9/d47/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader.html @@ -222,7 +222,7 @@ Additional Inherited Members diff --git a/docs/d9/d5b/structedash__packager_1_1SegmentInfo-members.html b/docs/d9/d5b/structedash__packager_1_1SegmentInfo-members.html index d806993429..c05ebf2597 100644 --- a/docs/d9/d5b/structedash__packager_1_1SegmentInfo-members.html +++ b/docs/d9/d5b/structedash__packager_1_1SegmentInfo-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d60/classedash__packager_1_1media_1_1AesCryptor.html b/docs/d9/d60/classedash__packager_1_1media_1_1AesCryptor.html index d5a1604e75..4ea48292e2 100644 --- a/docs/d9/d60/classedash__packager_1_1media_1_1AesCryptor.html +++ b/docs/d9/d60/classedash__packager_1_1media_1_1AesCryptor.html @@ -319,7 +319,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/d9/d65/classedash__packager_1_1media_1_1TextTrack-members.html b/docs/d9/d65/classedash__packager_1_1media_1_1TextTrack-members.html index f9ee9c9633..c89033a165 100644 --- a/docs/d9/d65/classedash__packager_1_1media_1_1TextTrack-members.html +++ b/docs/d9/d65/classedash__packager_1_1media_1_1TextTrack-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d76/structedash__packager_1_1media_1_1H264ModificationOfPicNum.html b/docs/d9/d76/structedash__packager_1_1media_1_1H264ModificationOfPicNum.html index 8ae9e8dfb3..083fe3ba9e 100644 --- a/docs/d9/d76/structedash__packager_1_1media_1_1H264ModificationOfPicNum.html +++ b/docs/d9/d76/structedash__packager_1_1media_1_1H264ModificationOfPicNum.html @@ -119,7 +119,7 @@ union { diff --git a/docs/d9/d76/ts__muxer_8cc_source.html b/docs/d9/d76/ts__muxer_8cc_source.html index 56b371fe27..f9ed954fa5 100644 --- a/docs/d9/d76/ts__muxer_8cc_source.html +++ b/docs/d9/d76/ts__muxer_8cc_source.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d7b/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData.html b/docs/d9/d7b/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData.html index c9eedd58e6..d4df399888 100644 --- a/docs/d9/d7b/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData.html +++ b/docs/d9/d7b/structedash__packager_1_1media_1_1wvm_1_1PrevSampleData.html @@ -132,7 +132,7 @@ int64_t video_sample_durat diff --git a/docs/d9/d86/limits_8h_source.html b/docs/d9/d86/limits_8h_source.html index dadca4635e..88536ac126 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/d8b/classedash__packager_1_1media_1_1KeySource.html b/docs/d9/d8b/classedash__packager_1_1media_1_1KeySource.html index 28c88b7672..569b1eabd9 100644 --- a/docs/d9/d8b/classedash__packager_1_1media_1_1KeySource.html +++ b/docs/d9/d8b/classedash__packager_1_1media_1_1KeySource.html @@ -407,7 +407,7 @@ static std::string  diff --git a/docs/d9/d90/text__track_8h_source.html b/docs/d9/d90/text__track_8h_source.html index 38cc5e39a3..838b40634c 100644 --- a/docs/d9/d90/text__track_8h_source.html +++ b/docs/d9/d90/text__track_8h_source.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d93/media__stream_8h_source.html b/docs/d9/d93/media__stream_8h_source.html index 25484c68ca..f737af135e 100644 --- a/docs/d9/d93/media__stream_8h_source.html +++ b/docs/d9/d93/media__stream_8h_source.html @@ -170,7 +170,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d95/classedash__packager_1_1media_1_1MediaStream-members.html b/docs/d9/d95/classedash__packager_1_1media_1_1MediaStream-members.html index bd591a898c..3c58a5579b 100644 --- a/docs/d9/d95/classedash__packager_1_1media_1_1MediaStream-members.html +++ b/docs/d9/d95/classedash__packager_1_1media_1_1MediaStream-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d99/classedash__packager_1_1media_1_1DecryptConfig-members.html b/docs/d9/d99/classedash__packager_1_1media_1_1DecryptConfig-members.html index e1647c4a49..ed42534bcd 100644 --- a/docs/d9/d99/classedash__packager_1_1media_1_1DecryptConfig-members.html +++ b/docs/d9/d99/classedash__packager_1_1media_1_1DecryptConfig-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d9b/structedash__packager_1_1SegmentInfo.html b/docs/d9/d9b/structedash__packager_1_1SegmentInfo.html index 743903de7b..bbea0c21a1 100644 --- a/docs/d9/d9b/structedash__packager_1_1SegmentInfo.html +++ b/docs/d9/d9b/structedash__packager_1_1SegmentInfo.html @@ -118,7 +118,7 @@ uint64_t repeat diff --git a/docs/d9/da4/stream__descriptor_8h_source.html b/docs/d9/da4/stream__descriptor_8h_source.html index 8a423bb9b3..7c8d92f467 100644 --- a/docs/d9/da4/stream__descriptor_8h_source.html +++ b/docs/d9/da4/stream__descriptor_8h_source.html @@ -141,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/da7/classedash__packager_1_1media_1_1H26xBitReader-members.html b/docs/d9/da7/classedash__packager_1_1media_1_1H26xBitReader-members.html index 290ce5b8b5..976cf4debb 100644 --- a/docs/d9/da7/classedash__packager_1_1media_1_1H26xBitReader-members.html +++ b/docs/d9/da7/classedash__packager_1_1media_1_1H26xBitReader-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/db4/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener.html b/docs/d9/db4/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener.html index cd8c83465d..bb2548ca50 100644 --- a/docs/d9/db4/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener.html +++ b/docs/d9/db4/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener.html @@ -231,7 +231,7 @@ Additional Inherited Members diff --git a/docs/d9/db9/content__protection__element_8cc_source.html b/docs/d9/db9/content__protection__element_8cc_source.html index 7ec63170ae..7d2bdf9cda 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 9608100c88..8ed571401a 100644 --- a/docs/d9/db9/muxer_8cc_source.html +++ b/docs/d9/db9/muxer_8cc_source.html @@ -217,7 +217,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/dbf/classedash__packager_1_1media_1_1TextStreamInfo-members.html b/docs/d9/dbf/classedash__packager_1_1media_1_1TextStreamInfo-members.html index ee2f4f21c4..095b6ddda0 100644 --- a/docs/d9/dbf/classedash__packager_1_1media_1_1TextStreamInfo-members.html +++ b/docs/d9/dbf/classedash__packager_1_1media_1_1TextStreamInfo-members.html @@ -116,7 +116,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 04bd53ad08..644e8cd49f 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/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html b/docs/d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html index 79bb63bc64..d47dd65adb 100644 --- a/docs/d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html +++ b/docs/d9/dcc/structedash__packager_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/d9/dcc/webm__video__client_8h_source.html b/docs/d9/dcc/webm__video__client_8h_source.html index 6cffccddfa..3be8f57d90 100644 --- a/docs/d9/dcc/webm__video__client_8h_source.html +++ b/docs/d9/dcc/webm__video__client_8h_source.html @@ -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 4cb69969a0..0988232897 100644 --- a/docs/d9/de3/muxer__listener__internal_8cc_source.html +++ b/docs/d9/de3/muxer__listener__internal_8cc_source.html @@ -343,7 +343,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/dec/classedash__packager_1_1media_1_1RequestSigner-members.html b/docs/d9/dec/classedash__packager_1_1media_1_1RequestSigner-members.html index 2a485b2244..6fd83d45fe 100644 --- a/docs/d9/dec/classedash__packager_1_1media_1_1RequestSigner-members.html +++ b/docs/d9/dec/classedash__packager_1_1media_1_1RequestSigner-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/ded/aac__audio__specific__config_8cc_source.html b/docs/d9/ded/aac__audio__specific__config_8cc_source.html index 4841b38a76..272ce4397d 100644 --- a/docs/d9/ded/aac__audio__specific__config_8cc_source.html +++ b/docs/d9/ded/aac__audio__specific__config_8cc_source.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 
9 #include "packager/base/logging.h"
10 #include "packager/media/base/bit_reader.h"
-
11 #include "packager/media/formats/mp4/rcheck.h"
+
11 #include "packager/media/base/rcheck.h"
12 
13 namespace {
14 
@@ -357,7 +357,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d00/structedash__packager_1_1media_1_1mp4_1_1SubtitleMediaHeader-members.html b/docs/da/d00/structedash__packager_1_1media_1_1mp4_1_1SubtitleMediaHeader-members.html index 9a892743ff..fbc333f8d1 100644 --- a/docs/da/d00/structedash__packager_1_1media_1_1mp4_1_1SubtitleMediaHeader-members.html +++ b/docs/da/d00/structedash__packager_1_1media_1_1mp4_1_1SubtitleMediaHeader-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d02/structedash__packager_1_1media_1_1H264WeightingFactors-members.html b/docs/da/d02/structedash__packager_1_1media_1_1H264WeightingFactors-members.html index e2406660ee..96adcece04 100644 --- a/docs/da/d02/structedash__packager_1_1media_1_1H264WeightingFactors-members.html +++ b/docs/da/d02/structedash__packager_1_1media_1_1H264WeightingFactors-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d02/structedash__packager_1_1media_1_1mp4_1_1SyncSample-members.html b/docs/da/d02/structedash__packager_1_1media_1_1mp4_1_1SyncSample-members.html index 7b643ce078..09266a17a8 100644 --- a/docs/da/d02/structedash__packager_1_1media_1_1mp4_1_1SyncSample-members.html +++ b/docs/da/d02/structedash__packager_1_1media_1_1mp4_1_1SyncSample-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d04/audio__stream__info_8cc_source.html b/docs/da/d04/audio__stream__info_8cc_source.html index 10505bc1c8..75e09e3baa 100644 --- a/docs/da/d04/audio__stream__info_8cc_source.html +++ b/docs/da/d04/audio__stream__info_8cc_source.html @@ -225,7 +225,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d09/classedash__packager_1_1media_1_1SegmentTestBase-members.html b/docs/da/d09/classedash__packager_1_1media_1_1SegmentTestBase-members.html index 2b72cd17c3..c63f134c9b 100644 --- a/docs/da/d09/classedash__packager_1_1media_1_1SegmentTestBase-members.html +++ b/docs/da/d09/classedash__packager_1_1media_1_1SegmentTestBase-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d0b/classedash__packager_1_1media_1_1FixedKeySource-members.html b/docs/da/d0b/classedash__packager_1_1media_1_1FixedKeySource-members.html index 66c8709f5e..7369eb9f03 100644 --- a/docs/da/d0b/classedash__packager_1_1media_1_1FixedKeySource-members.html +++ b/docs/da/d0b/classedash__packager_1_1media_1_1FixedKeySource-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d14/classedash__packager_1_1media_1_1webm_1_1Segmenter.html b/docs/da/d14/classedash__packager_1_1media_1_1webm_1_1Segmenter.html index ae62bac169..e7a9379984 100644 --- a/docs/da/d14/classedash__packager_1_1media_1_1webm_1_1Segmenter.html +++ b/docs/da/d14/classedash__packager_1_1media_1_1webm_1_1Segmenter.html @@ -427,7 +427,7 @@ virtual diff --git a/docs/da/d15/structedash__packager_1_1media_1_1mp4_1_1HandlerReference-members.html b/docs/da/d15/structedash__packager_1_1media_1_1mp4_1_1HandlerReference-members.html index f21815f049..aa0b4aa56f 100644 --- a/docs/da/d15/structedash__packager_1_1media_1_1mp4_1_1HandlerReference-members.html +++ b/docs/da/d15/structedash__packager_1_1media_1_1mp4_1_1HandlerReference-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html b/docs/da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html index b3b2a906c1..22b066277d 100644 --- a/docs/da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html +++ b/docs/da/d17/structedash__packager_1_1media_1_1mp4_1_1MovieExtendsHeader.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/da/d1e/classedash__packager_1_1media_1_1StreamInfo-members.html b/docs/da/d1e/classedash__packager_1_1media_1_1StreamInfo-members.html index 37ded910c7..8ed150bc9a 100644 --- a/docs/da/d1e/classedash__packager_1_1media_1_1StreamInfo-members.html +++ b/docs/da/d1e/classedash__packager_1_1media_1_1StreamInfo-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d22/key__rotation__fragmenter_8h_source.html b/docs/da/d22/key__rotation__fragmenter_8h_source.html index c88c30c1cf..af73935526 100644 --- a/docs/da/d22/key__rotation__fragmenter_8h_source.html +++ b/docs/da/d22/key__rotation__fragmenter_8h_source.html @@ -156,7 +156,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d23/ts__muxer_8h_source.html b/docs/da/d23/ts__muxer_8h_source.html index a0ebed48e1..1f5689504d 100644 --- a/docs/da/d23/ts__muxer_8h_source.html +++ b/docs/da/d23/ts__muxer_8h_source.html @@ -135,7 +135,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 429db0c244..a7ae46381e 100644 --- a/docs/da/d24/h265__parser_8h_source.html +++ b/docs/da/d24/h265__parser_8h_source.html @@ -412,7 +412,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d25/classedash__packager_1_1media_1_1mp2t_1_1TsMuxer-members.html b/docs/da/d25/classedash__packager_1_1media_1_1mp2t_1_1TsMuxer-members.html index 332a2b5203..d0006f0d5b 100644 --- a/docs/da/d25/classedash__packager_1_1media_1_1mp2t_1_1TsMuxer-members.html +++ b/docs/da/d25/classedash__packager_1_1media_1_1mp2t_1_1TsMuxer-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html b/docs/da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html index 4d1999033b..700ba2814b 100644 --- a/docs/da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html +++ b/docs/da/d27/classedash__packager_1_1media_1_1AudioStreamInfo.html @@ -307,7 +307,7 @@ Static Public Member Functions diff --git a/docs/da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html b/docs/da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html index 11e19a3207..8441f058c3 100644 --- a/docs/da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html +++ b/docs/da/d2a/structedash__packager_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/da/d2a/text__stream__info_8h_source.html b/docs/da/d2a/text__stream__info_8h_source.html index 9999478409..2c74a65a0e 100644 --- a/docs/da/d2a/text__stream__info_8h_source.html +++ b/docs/da/d2a/text__stream__info_8h_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d2c/decoder__configuration_8cc_source.html b/docs/da/d2c/decoder__configuration_8cc_source.html index 9bb94680ed..562b4884c4 100644 --- a/docs/da/d2c/decoder__configuration_8cc_source.html +++ b/docs/da/d2c/decoder__configuration_8cc_source.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d2e/classedash__packager_1_1media_1_1mp4_1_1H264VideoSliceHeaderParser-members.html b/docs/da/d2e/classedash__packager_1_1media_1_1mp4_1_1H264VideoSliceHeaderParser-members.html index bad3ecf89b..603d2c8ba5 100644 --- a/docs/da/d2e/classedash__packager_1_1media_1_1mp4_1_1H264VideoSliceHeaderParser-members.html +++ b/docs/da/d2e/classedash__packager_1_1media_1_1mp4_1_1H264VideoSliceHeaderParser-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d37/classedash__packager_1_1media_1_1IoCache-members.html b/docs/da/d37/classedash__packager_1_1media_1_1IoCache-members.html index 7f3768f8c9..04f31b60ea 100644 --- a/docs/da/d37/classedash__packager_1_1media_1_1IoCache-members.html +++ b/docs/da/d37/classedash__packager_1_1media_1_1IoCache-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d38/classedash__packager_1_1MpdNotifier.html b/docs/da/d38/classedash__packager_1_1MpdNotifier.html index 863e229f48..d6aa0d5bdf 100644 --- a/docs/da/d38/classedash__packager_1_1MpdNotifier.html +++ b/docs/da/d38/classedash__packager_1_1MpdNotifier.html @@ -472,7 +472,7 @@ Public Member Functions diff --git a/docs/da/d40/classedash__packager_1_1media_1_1RsaPrivateKey-members.html b/docs/da/d40/classedash__packager_1_1media_1_1RsaPrivateKey-members.html index 10cae7e228..6a9b85157a 100644 --- a/docs/da/d40/classedash__packager_1_1media_1_1RsaPrivateKey-members.html +++ b/docs/da/d40/classedash__packager_1_1media_1_1RsaPrivateKey-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html b/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html index e89d70547e..bb34b063e1 100644 --- a/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html +++ b/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html @@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d49/classedash__packager_1_1DashIopMpdNotifier.html b/docs/da/d49/classedash__packager_1_1DashIopMpdNotifier.html index f07f28f73e..ff7a17f3a1 100644 --- a/docs/da/d49/classedash__packager_1_1DashIopMpdNotifier.html +++ b/docs/da/d49/classedash__packager_1_1DashIopMpdNotifier.html @@ -473,7 +473,7 @@ class DashIopMpdNotifierTe diff --git a/docs/da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html b/docs/da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html index 930456e291..ba458546aa 100644 --- a/docs/da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html +++ b/docs/da/d4b/structedash__packager_1_1media_1_1mp4_1_1OriginalFormat.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html b/docs/da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html index 1be5243655..6e945e47f3 100644 --- a/docs/da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html +++ b/docs/da/d54/structedash__packager_1_1media_1_1mp4_1_1CompositionTimeToSample.html @@ -182,7 +182,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 bc11f15a71..aa41439722 100644 --- a/docs/da/d5c/widevine__key__source_8h_source.html +++ b/docs/da/d5c/widevine__key__source_8h_source.html @@ -206,19 +206,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); -
void set_signer(scoped_ptr< RequestSigner > signer)
+
void set_signer(scoped_ptr< RequestSigner > signer)
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:31
-
Status GetKey(TrackType track_type, EncryptionKey *key) override
-
Status FetchKeys(const std::vector< uint8_t > &pssh_box) override
-
void set_key_fetcher(scoped_ptr< KeyFetcher > key_fetcher)
+
Status GetKey(TrackType track_type, EncryptionKey *key) override
+
Status FetchKeys(const std::vector< uint8_t > &pssh_box) override
+
void set_key_fetcher(scoped_ptr< KeyFetcher > key_fetcher)
-
WidevineKeySource(const std::string &server_url, bool add_common_pssh)
-
Status GetCryptoPeriodKey(uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key) override
+
WidevineKeySource(const std::string &server_url, bool add_common_pssh)
+
Status GetCryptoPeriodKey(uint32_t crypto_period_index, TrackType track_type, EncryptionKey *key) override
diff --git a/docs/da/d5f/classedash__packager_1_1media_1_1VP9Parser.html b/docs/da/d5f/classedash__packager_1_1media_1_1VP9Parser.html index b9c2041ac4..fe38a9bc35 100644 --- a/docs/da/d5f/classedash__packager_1_1media_1_1VP9Parser.html +++ b/docs/da/d5f/classedash__packager_1_1media_1_1VP9Parser.html @@ -238,7 +238,7 @@ Additional Inherited Members diff --git a/docs/da/d60/structedash__packager_1_1media_1_1EncryptionKey-members.html b/docs/da/d60/structedash__packager_1_1media_1_1EncryptionKey-members.html index b864569406..dfa30a77cd 100644 --- a/docs/da/d60/structedash__packager_1_1media_1_1EncryptionKey-members.html +++ b/docs/da/d60/structedash__packager_1_1media_1_1EncryptionKey-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d72/classedash__packager_1_1media_1_1mp2t_1_1EsParser-members.html b/docs/da/d72/classedash__packager_1_1media_1_1mp2t_1_1EsParser-members.html index 4e56607786..05f7fbe5ce 100644 --- a/docs/da/d72/classedash__packager_1_1media_1_1mp2t_1_1EsParser-members.html +++ b/docs/da/d72/classedash__packager_1_1media_1_1mp2t_1_1EsParser-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html b/docs/da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html index 00f0a6d9fb..6d1717a5be 100644 --- a/docs/da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html +++ b/docs/da/d75/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html @@ -259,7 +259,7 @@ void set_progress_target diff --git a/docs/da/d78/structedash__packager_1_1media_1_1mp4_1_1Metadata-members.html b/docs/da/d78/structedash__packager_1_1media_1_1mp4_1_1Metadata-members.html index 09934b9225..9cfa458e1b 100644 --- a/docs/da/d78/structedash__packager_1_1media_1_1mp4_1_1Metadata-members.html +++ b/docs/da/d78/structedash__packager_1_1media_1_1mp4_1_1Metadata-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d7a/classedash__packager_1_1media_1_1AVCDecoderConfiguration-members.html b/docs/da/d7a/classedash__packager_1_1media_1_1AVCDecoderConfiguration-members.html index 8aabcac94c..d9dee53728 100644 --- a/docs/da/d7a/classedash__packager_1_1media_1_1AVCDecoderConfiguration-members.html +++ b/docs/da/d7a/classedash__packager_1_1media_1_1AVCDecoderConfiguration-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); 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 91b3518c90..3be8631a43 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/d7d/classedash__packager_1_1media_1_1StreamDescriptorCompareFn.html b/docs/da/d7d/classedash__packager_1_1media_1_1StreamDescriptorCompareFn.html index cb25a78531..7f8672b497 100644 --- a/docs/da/d7d/classedash__packager_1_1media_1_1StreamDescriptorCompareFn.html +++ b/docs/da/d7d/classedash__packager_1_1media_1_1StreamDescriptorCompareFn.html @@ -109,7 +109,7 @@ bool operator() (const diff --git a/docs/da/d7f/classedash__packager_1_1media_1_1AesCbcEncryptor.html b/docs/da/d7f/classedash__packager_1_1media_1_1AesCbcEncryptor.html index 116dd43bdb..3b9a1937b2 100644 --- a/docs/da/d7f/classedash__packager_1_1media_1_1AesCbcEncryptor.html +++ b/docs/da/d7f/classedash__packager_1_1media_1_1AesCbcEncryptor.html @@ -248,7 +248,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/da/d7f/hevc__decoder__configuration_8h_source.html b/docs/da/d7f/hevc__decoder__configuration_8h_source.html index 33da2d982c..078cf8cad6 100644 --- a/docs/da/d7f/hevc__decoder__configuration_8h_source.html +++ b/docs/da/d7f/hevc__decoder__configuration_8h_source.html @@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html b/docs/da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html index 94e7fcd79e..4c43dd1ebc 100644 --- a/docs/da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html +++ b/docs/da/d81/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/da/d88/mp4__muxer_8cc_source.html b/docs/da/d88/mp4__muxer_8cc_source.html index 6e9890d00a..537d8e486e 100644 --- a/docs/da/d88/mp4__muxer_8cc_source.html +++ b/docs/da/d88/mp4__muxer_8cc_source.html @@ -99,15 +99,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #include "packager/base/time/time.h"
11 #include "packager/media/base/aes_encryptor.h"
12 #include "packager/media/base/audio_stream_info.h"
-
13 #include "packager/media/base/key_source.h"
-
14 #include "packager/media/base/media_sample.h"
-
15 #include "packager/media/base/media_stream.h"
-
16 #include "packager/media/base/video_stream_info.h"
-
17 #include "packager/media/event/muxer_listener.h"
-
18 #include "packager/media/file/file.h"
-
19 #include "packager/media/formats/mp4/box_definitions.h"
-
20 #include "packager/media/formats/mp4/es_descriptor.h"
-
21 #include "packager/media/formats/mp4/fourccs.h"
+
13 #include "packager/media/base/fourccs.h"
+
14 #include "packager/media/base/key_source.h"
+
15 #include "packager/media/base/media_sample.h"
+
16 #include "packager/media/base/media_stream.h"
+
17 #include "packager/media/base/video_stream_info.h"
+
18 #include "packager/media/event/muxer_listener.h"
+
19 #include "packager/media/file/file.h"
+
20 #include "packager/media/formats/mp4/box_definitions.h"
+
21 #include "packager/media/formats/mp4/es_descriptor.h"
22 #include "packager/media/formats/mp4/multi_segment_segmenter.h"
23 #include "packager/media/formats/mp4/single_segment_segmenter.h"
24 
@@ -132,17 +132,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
43 FourCC VideoCodecToFourCC(VideoCodec codec) {
44  switch (codec) {
45  case kCodecH264:
-
46  return FOURCC_AVC1;
+
46  return FOURCC_avc1;
47  case kCodecHEV1:
-
48  return FOURCC_HEV1;
+
48  return FOURCC_hev1;
49  case kCodecHVC1:
-
50  return FOURCC_HVC1;
+
50  return FOURCC_hvc1;
51  case kCodecVP8:
-
52  return FOURCC_VP08;
+
52  return FOURCC_vp08;
53  case kCodecVP9:
-
54  return FOURCC_VP09;
+
54  return FOURCC_vp09;
55  case kCodecVP10:
-
56  return FOURCC_VP10;
+
56  return FOURCC_vp10;
57  default:
58  return FOURCC_NULL;
59  }
@@ -151,21 +151,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
62 FourCC AudioCodecToFourCC(AudioCodec codec) {
63  switch (codec) {
64  case kCodecAAC:
-
65  return FOURCC_MP4A;
+
65  return FOURCC_mp4a;
66  case kCodecAC3:
-
67  return FOURCC_AC3;
+
67  return FOURCC_ac_3;
68  case kCodecDTSC:
-
69  return FOURCC_DTSC;
+
69  return FOURCC_dtsc;
70  case kCodecDTSH:
-
71  return FOURCC_DTSH;
+
71  return FOURCC_dtsh;
72  case kCodecDTSL:
-
73  return FOURCC_DTSL;
+
73  return FOURCC_dtsl;
74  case kCodecDTSE:
-
75  return FOURCC_DTSE;
+
75  return FOURCC_dtse;
76  case kCodecDTSM:
-
77  return FOURCC_DTSM;
+
77  return FOURCC_dtsm;
78  case kCodecEAC3:
-
79  return FOURCC_EAC3;
+
79  return FOURCC_ec_3;
80  default:
81  return FOURCC_NULL;
82  }
@@ -182,9 +182,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
93  scoped_ptr<FileType> ftyp(new FileType);
94  scoped_ptr<Movie> moov(new Movie);
95 
-
96  ftyp->major_brand = FOURCC_DASH;
-
97  ftyp->compatible_brands.push_back(FOURCC_ISO6);
-
98  ftyp->compatible_brands.push_back(FOURCC_MP41);
+
96  ftyp->major_brand = FOURCC_dash;
+
97  ftyp->compatible_brands.push_back(FOURCC_iso6);
+
98  ftyp->compatible_brands.push_back(FOURCC_mp41);
99  if (streams().size() == 1 &&
100  streams()[0]->info()->stream_type() == kStreamVideo) {
101  const FourCC codec_fourcc = VideoCodecToFourCC(
@@ -477,7 +477,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 0f284b78e0..e7c72fc68f 100644 --- a/docs/da/d8e/container__names_8cc_source.html +++ b/docs/da/d8e/container__names_8cc_source.html @@ -103,1744 +103,1739 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
14 #include "packager/base/logging.h"
15 #include "packager/base/strings/string_util.h"
16 #include "packager/media/base/bit_reader.h"
-
17 #include "packager/mpd/base/xml/scoped_xml_ptr.h"
-
18 
-
19 namespace edash_packager {
-
20 namespace media {
-
21 
-
22 #define TAG(a, b, c, d) \
-
23  ((static_cast<uint32_t>(static_cast<uint8_t>(a)) << 24) | \
-
24  (static_cast<uint8_t>(b) << 16) | (static_cast<uint8_t>(c) << 8) | \
-
25  (static_cast<uint8_t>(d)))
-
26 
-
27 #define RCHECK(x) \
-
28  do { \
-
29  if (!(x)) \
-
30  return false; \
-
31  } while (0)
-
32 
-
33 #define UTF8_BYTE_ORDER_MARK "\xef\xbb\xbf"
-
34 
-
35 // Helper function to read 2 bytes (16 bits, big endian) from a buffer.
-
36 static int Read16(const uint8_t* p) {
-
37  return p[0] << 8 | p[1];
+
17 #include "packager/media/base/rcheck.h"
+
18 #include "packager/mpd/base/xml/scoped_xml_ptr.h"
+
19 
+
20 namespace edash_packager {
+
21 namespace media {
+
22 
+
23 #define TAG(a, b, c, d) \
+
24  ((static_cast<uint32_t>(static_cast<uint8_t>(a)) << 24) | \
+
25  (static_cast<uint8_t>(b) << 16) | (static_cast<uint8_t>(c) << 8) | \
+
26  (static_cast<uint8_t>(d)))
+
27 
+
28 #define UTF8_BYTE_ORDER_MARK "\xef\xbb\xbf"
+
29 
+
30 // Helper function to read 2 bytes (16 bits, big endian) from a buffer.
+
31 static int Read16(const uint8_t* p) {
+
32  return p[0] << 8 | p[1];
+
33 }
+
34 
+
35 // Helper function to read 3 bytes (24 bits, big endian) from a buffer.
+
36 static uint32_t Read24(const uint8_t* p) {
+
37  return p[0] << 16 | p[1] << 8 | p[2];
38 }
39 
-
40 // Helper function to read 3 bytes (24 bits, big endian) from a buffer.
-
41 static uint32_t Read24(const uint8_t* p) {
-
42  return p[0] << 16 | p[1] << 8 | p[2];
+
40 // Helper function to read 4 bytes (32 bits, big endian) from a buffer.
+
41 static uint32_t Read32(const uint8_t* p) {
+
42  return p[0] << 24 | p[1] << 16 | p[2] << 8 | p[3];
43 }
44 
-
45 // Helper function to read 4 bytes (32 bits, big endian) from a buffer.
-
46 static uint32_t Read32(const uint8_t* p) {
-
47  return p[0] << 24 | p[1] << 16 | p[2] << 8 | p[3];
+
45 // Helper function to read 4 bytes (32 bits, little endian) from a buffer.
+
46 static uint32_t Read32LE(const uint8_t* p) {
+
47  return p[3] << 24 | p[2] << 16 | p[1] << 8 | p[0];
48 }
49 
-
50 // Helper function to read 4 bytes (32 bits, little endian) from a buffer.
-
51 static uint32_t Read32LE(const uint8_t* p) {
-
52  return p[3] << 24 | p[2] << 16 | p[1] << 8 | p[0];
-
53 }
-
54 
-
55 // Helper function to do buffer comparisons with a string without going off the
-
56 // end of the buffer.
-
57 static bool StartsWith(const uint8_t* buffer,
-
58  size_t buffer_size,
-
59  const char* prefix) {
-
60  size_t prefix_size = strlen(prefix);
-
61  return (prefix_size <= buffer_size &&
-
62  memcmp(buffer, prefix, prefix_size) == 0);
-
63 }
-
64 
-
65 // Helper function to do buffer comparisons with another buffer (to allow for
-
66 // embedded \0 in the comparison) without going off the end of the buffer.
-
67 static bool StartsWith(const uint8_t* buffer,
-
68  size_t buffer_size,
-
69  const uint8_t* prefix,
-
70  size_t prefix_size) {
-
71  return (prefix_size <= buffer_size &&
-
72  memcmp(buffer, prefix, prefix_size) == 0);
-
73 }
-
74 
-
75 // Helper function to read up to 64 bits from a bit stream.
-
76 static uint64_t ReadBits(BitReader* reader, int num_bits) {
-
77  DCHECK_GE(reader->bits_available(), num_bits);
-
78  DCHECK((num_bits > 0) && (num_bits <= 64));
-
79  uint64_t value;
-
80  reader->ReadBits(num_bits, &value);
-
81  return value;
-
82 }
-
83 
-
84 const int kAc3FrameSizeTable[38][3] = {
-
85  { 128, 138, 192 }, { 128, 140, 192 }, { 160, 174, 240 }, { 160, 176, 240 },
-
86  { 192, 208, 288 }, { 192, 210, 288 }, { 224, 242, 336 }, { 224, 244, 336 },
-
87  { 256, 278, 384 }, { 256, 280, 384 }, { 320, 348, 480 }, { 320, 350, 480 },
-
88  { 384, 416, 576 }, { 384, 418, 576 }, { 448, 486, 672 }, { 448, 488, 672 },
-
89  { 512, 556, 768 }, { 512, 558, 768 }, { 640, 696, 960 }, { 640, 698, 960 },
-
90  { 768, 834, 1152 }, { 768, 836, 1152 }, { 896, 974, 1344 },
-
91  { 896, 976, 1344 }, { 1024, 1114, 1536 }, { 1024, 1116, 1536 },
-
92  { 1280, 1392, 1920 }, { 1280, 1394, 1920 }, { 1536, 1670, 2304 },
-
93  { 1536, 1672, 2304 }, { 1792, 1950, 2688 }, { 1792, 1952, 2688 },
-
94  { 2048, 2228, 3072 }, { 2048, 2230, 3072 }, { 2304, 2506, 3456 },
-
95  { 2304, 2508, 3456 }, { 2560, 2768, 3840 }, { 2560, 2770, 3840 }
-
96 };
-
97 
-
98 // Checks for an ADTS AAC container.
-
99 static bool CheckAac(const uint8_t* buffer, int buffer_size) {
-
100  // Audio Data Transport Stream (ADTS) header is 7 or 9 bytes
-
101  // (from http://wiki.multimedia.cx/index.php?title=ADTS)
-
102  RCHECK(buffer_size > 6);
-
103 
-
104  int offset = 0;
-
105  while (offset + 6 < buffer_size) {
-
106  BitReader reader(buffer + offset, 6);
-
107 
-
108  // Syncword must be 0xfff.
-
109  RCHECK(ReadBits(&reader, 12) == 0xfff);
-
110 
-
111  // Skip MPEG version.
-
112  reader.SkipBits(1);
-
113 
-
114  // Layer is always 0.
-
115  RCHECK(ReadBits(&reader, 2) == 0);
-
116 
-
117  // Skip protection + profile.
-
118  reader.SkipBits(1 + 2);
-
119 
-
120  // Check sampling frequency index.
-
121  RCHECK(ReadBits(&reader, 4) != 15); // Forbidden.
-
122 
-
123  // Skip private stream, channel configuration, originality, home,
-
124  // copyrighted stream, and copyright_start.
-
125  reader.SkipBits(1 + 3 + 1 + 1 + 1 + 1);
-
126 
-
127  // Get frame length (includes header).
-
128  int size = ReadBits(&reader, 13);
-
129  RCHECK(size > 0);
-
130  offset += size;
-
131  }
-
132  return true;
-
133 }
-
134 
-
135 const uint16_t kAc3SyncWord = 0x0b77;
-
136 
-
137 // Checks for an AC3 container.
-
138 static bool CheckAc3(const uint8_t* buffer, int buffer_size) {
-
139  // Reference: ATSC Standard: Digital Audio Compression (AC-3, E-AC-3)
-
140  // Doc. A/52:2012
-
141  // (http://www.atsc.org/cms/standards/A52-2012(12-17).pdf)
-
142 
-
143  // AC3 container looks like syncinfo | bsi | audblk * 6 | aux | check.
-
144  RCHECK(buffer_size > 6);
-
145 
-
146  int offset = 0;
-
147  while (offset + 6 < buffer_size) {
-
148  BitReader reader(buffer + offset, 6);
-
149 
-
150  // Check syncinfo.
-
151  RCHECK(ReadBits(&reader, 16) == kAc3SyncWord);
-
152 
-
153  // Skip crc1.
-
154  reader.SkipBits(16);
-
155 
-
156  // Verify fscod.
-
157  int sample_rate_code = ReadBits(&reader, 2);
-
158  RCHECK(sample_rate_code != 3); // Reserved.
-
159 
-
160  // Verify frmsizecod.
-
161  int frame_size_code = ReadBits(&reader, 6);
-
162  RCHECK(frame_size_code < 38); // Undefined.
-
163 
-
164  // Verify bsid.
-
165  RCHECK(ReadBits(&reader, 5) < 10); // Normally 8 or 6, 16 used by EAC3.
+
50 // Helper function to do buffer comparisons with a string without going off the
+
51 // end of the buffer.
+
52 static bool StartsWith(const uint8_t* buffer,
+
53  size_t buffer_size,
+
54  const char* prefix) {
+
55  size_t prefix_size = strlen(prefix);
+
56  return (prefix_size <= buffer_size &&
+
57  memcmp(buffer, prefix, prefix_size) == 0);
+
58 }
+
59 
+
60 // Helper function to do buffer comparisons with another buffer (to allow for
+
61 // embedded \0 in the comparison) without going off the end of the buffer.
+
62 static bool StartsWith(const uint8_t* buffer,
+
63  size_t buffer_size,
+
64  const uint8_t* prefix,
+
65  size_t prefix_size) {
+
66  return (prefix_size <= buffer_size &&
+
67  memcmp(buffer, prefix, prefix_size) == 0);
+
68 }
+
69 
+
70 // Helper function to read up to 64 bits from a bit stream.
+
71 static uint64_t ReadBits(BitReader* reader, int num_bits) {
+
72  DCHECK_GE(reader->bits_available(), num_bits);
+
73  DCHECK((num_bits > 0) && (num_bits <= 64));
+
74  uint64_t value;
+
75  reader->ReadBits(num_bits, &value);
+
76  return value;
+
77 }
+
78 
+
79 const int kAc3FrameSizeTable[38][3] = {
+
80  { 128, 138, 192 }, { 128, 140, 192 }, { 160, 174, 240 }, { 160, 176, 240 },
+
81  { 192, 208, 288 }, { 192, 210, 288 }, { 224, 242, 336 }, { 224, 244, 336 },
+
82  { 256, 278, 384 }, { 256, 280, 384 }, { 320, 348, 480 }, { 320, 350, 480 },
+
83  { 384, 416, 576 }, { 384, 418, 576 }, { 448, 486, 672 }, { 448, 488, 672 },
+
84  { 512, 556, 768 }, { 512, 558, 768 }, { 640, 696, 960 }, { 640, 698, 960 },
+
85  { 768, 834, 1152 }, { 768, 836, 1152 }, { 896, 974, 1344 },
+
86  { 896, 976, 1344 }, { 1024, 1114, 1536 }, { 1024, 1116, 1536 },
+
87  { 1280, 1392, 1920 }, { 1280, 1394, 1920 }, { 1536, 1670, 2304 },
+
88  { 1536, 1672, 2304 }, { 1792, 1950, 2688 }, { 1792, 1952, 2688 },
+
89  { 2048, 2228, 3072 }, { 2048, 2230, 3072 }, { 2304, 2506, 3456 },
+
90  { 2304, 2508, 3456 }, { 2560, 2768, 3840 }, { 2560, 2770, 3840 }
+
91 };
+
92 
+
93 // Checks for an ADTS AAC container.
+
94 static bool CheckAac(const uint8_t* buffer, int buffer_size) {
+
95  // Audio Data Transport Stream (ADTS) header is 7 or 9 bytes
+
96  // (from http://wiki.multimedia.cx/index.php?title=ADTS)
+
97  RCHECK(buffer_size > 6);
+
98 
+
99  int offset = 0;
+
100  while (offset + 6 < buffer_size) {
+
101  BitReader reader(buffer + offset, 6);
+
102 
+
103  // Syncword must be 0xfff.
+
104  RCHECK(ReadBits(&reader, 12) == 0xfff);
+
105 
+
106  // Skip MPEG version.
+
107  reader.SkipBits(1);
+
108 
+
109  // Layer is always 0.
+
110  RCHECK(ReadBits(&reader, 2) == 0);
+
111 
+
112  // Skip protection + profile.
+
113  reader.SkipBits(1 + 2);
+
114 
+
115  // Check sampling frequency index.
+
116  RCHECK(ReadBits(&reader, 4) != 15); // Forbidden.
+
117 
+
118  // Skip private stream, channel configuration, originality, home,
+
119  // copyrighted stream, and copyright_start.
+
120  reader.SkipBits(1 + 3 + 1 + 1 + 1 + 1);
+
121 
+
122  // Get frame length (includes header).
+
123  int size = ReadBits(&reader, 13);
+
124  RCHECK(size > 0);
+
125  offset += size;
+
126  }
+
127  return true;
+
128 }
+
129 
+
130 const uint16_t kAc3SyncWord = 0x0b77;
+
131 
+
132 // Checks for an AC3 container.
+
133 static bool CheckAc3(const uint8_t* buffer, int buffer_size) {
+
134  // Reference: ATSC Standard: Digital Audio Compression (AC-3, E-AC-3)
+
135  // Doc. A/52:2012
+
136  // (http://www.atsc.org/cms/standards/A52-2012(12-17).pdf)
+
137 
+
138  // AC3 container looks like syncinfo | bsi | audblk * 6 | aux | check.
+
139  RCHECK(buffer_size > 6);
+
140 
+
141  int offset = 0;
+
142  while (offset + 6 < buffer_size) {
+
143  BitReader reader(buffer + offset, 6);
+
144 
+
145  // Check syncinfo.
+
146  RCHECK(ReadBits(&reader, 16) == kAc3SyncWord);
+
147 
+
148  // Skip crc1.
+
149  reader.SkipBits(16);
+
150 
+
151  // Verify fscod.
+
152  int sample_rate_code = ReadBits(&reader, 2);
+
153  RCHECK(sample_rate_code != 3); // Reserved.
+
154 
+
155  // Verify frmsizecod.
+
156  int frame_size_code = ReadBits(&reader, 6);
+
157  RCHECK(frame_size_code < 38); // Undefined.
+
158 
+
159  // Verify bsid.
+
160  RCHECK(ReadBits(&reader, 5) < 10); // Normally 8 or 6, 16 used by EAC3.
+
161 
+
162  offset += kAc3FrameSizeTable[frame_size_code][sample_rate_code];
+
163  }
+
164  return true;
+
165 }
166 
-
167  offset += kAc3FrameSizeTable[frame_size_code][sample_rate_code];
-
168  }
-
169  return true;
-
170 }
-
171 
-
172 // Checks for an EAC3 container (very similar to AC3)
-
173 static bool CheckEac3(const uint8_t* buffer, int buffer_size) {
-
174  // Reference: ATSC Standard: Digital Audio Compression (AC-3, E-AC-3)
-
175  // Doc. A/52:2012
-
176  // (http://www.atsc.org/cms/standards/A52-2012(12-17).pdf)
-
177 
-
178  // EAC3 container looks like syncinfo | bsi | audfrm | audblk* | aux | check.
-
179  RCHECK(buffer_size > 6);
-
180 
-
181  int offset = 0;
-
182  while (offset + 6 < buffer_size) {
-
183  BitReader reader(buffer + offset, 6);
-
184 
-
185  // Check syncinfo.
-
186  RCHECK(ReadBits(&reader, 16) == kAc3SyncWord);
-
187 
-
188  // Verify strmtyp.
-
189  RCHECK(ReadBits(&reader, 2) != 3);
-
190 
-
191  // Skip substreamid.
-
192  reader.SkipBits(3);
-
193 
-
194  // Get frmsize. Include syncinfo size and convert to bytes.
-
195  int frame_size = (ReadBits(&reader, 11) + 1) * 2;
-
196  RCHECK(frame_size >= 7);
-
197 
-
198  // Skip fscod, fscod2, acmod, and lfeon.
-
199  reader.SkipBits(2 + 2 + 3 + 1);
-
200 
-
201  // Verify bsid.
-
202  int bit_stream_id = ReadBits(&reader, 5);
-
203  RCHECK(bit_stream_id >= 11 && bit_stream_id <= 16);
+
167 // Checks for an EAC3 container (very similar to AC3)
+
168 static bool CheckEac3(const uint8_t* buffer, int buffer_size) {
+
169  // Reference: ATSC Standard: Digital Audio Compression (AC-3, E-AC-3)
+
170  // Doc. A/52:2012
+
171  // (http://www.atsc.org/cms/standards/A52-2012(12-17).pdf)
+
172 
+
173  // EAC3 container looks like syncinfo | bsi | audfrm | audblk* | aux | check.
+
174  RCHECK(buffer_size > 6);
+
175 
+
176  int offset = 0;
+
177  while (offset + 6 < buffer_size) {
+
178  BitReader reader(buffer + offset, 6);
+
179 
+
180  // Check syncinfo.
+
181  RCHECK(ReadBits(&reader, 16) == kAc3SyncWord);
+
182 
+
183  // Verify strmtyp.
+
184  RCHECK(ReadBits(&reader, 2) != 3);
+
185 
+
186  // Skip substreamid.
+
187  reader.SkipBits(3);
+
188 
+
189  // Get frmsize. Include syncinfo size and convert to bytes.
+
190  int frame_size = (ReadBits(&reader, 11) + 1) * 2;
+
191  RCHECK(frame_size >= 7);
+
192 
+
193  // Skip fscod, fscod2, acmod, and lfeon.
+
194  reader.SkipBits(2 + 2 + 3 + 1);
+
195 
+
196  // Verify bsid.
+
197  int bit_stream_id = ReadBits(&reader, 5);
+
198  RCHECK(bit_stream_id >= 11 && bit_stream_id <= 16);
+
199 
+
200  offset += frame_size;
+
201  }
+
202  return true;
+
203 }
204 
-
205  offset += frame_size;
-
206  }
-
207  return true;
-
208 }
+
205 // Additional checks for a BINK container.
+
206 static bool CheckBink(const uint8_t* buffer, int buffer_size) {
+
207  // Reference: http://wiki.multimedia.cx/index.php?title=Bink_Container
+
208  RCHECK(buffer_size >= 44);
209 
-
210 // Additional checks for a BINK container.
-
211 static bool CheckBink(const uint8_t* buffer, int buffer_size) {
-
212  // Reference: http://wiki.multimedia.cx/index.php?title=Bink_Container
-
213  RCHECK(buffer_size >= 44);
-
214 
-
215  // Verify number of frames specified.
-
216  RCHECK(Read32LE(buffer + 8) > 0);
-
217 
-
218  // Verify width in range.
-
219  int width = Read32LE(buffer + 20);
-
220  RCHECK(width > 0 && width <= 32767);
-
221 
-
222  // Verify height in range.
-
223  int height = Read32LE(buffer + 24);
-
224  RCHECK(height > 0 && height <= 32767);
-
225 
-
226  // Verify frames per second specified.
-
227  RCHECK(Read32LE(buffer + 28) > 0);
-
228 
-
229  // Verify video frames per second specified.
-
230  RCHECK(Read32LE(buffer + 32) > 0);
-
231 
-
232  // Number of audio tracks must be 256 or less.
-
233  return (Read32LE(buffer + 40) <= 256);
-
234 }
-
235 
-
236 // Additional checks for a CAF container.
-
237 static bool CheckCaf(const uint8_t* buffer, int buffer_size) {
-
238  // Reference: Apple Core Audio Format Specification 1.0
-
239  // (https://developer.apple.com/library/mac/#documentation/MusicAudio/Reference/CAFSpec/CAF_spec/CAF_spec.html)
-
240  RCHECK(buffer_size >= 52);
-
241  BitReader reader(buffer, buffer_size);
-
242 
-
243  // mFileType should be "caff".
-
244  RCHECK(ReadBits(&reader, 32) == TAG('c', 'a', 'f', 'f'));
-
245 
-
246  // mFileVersion should be 1.
-
247  RCHECK(ReadBits(&reader, 16) == 1);
-
248 
-
249  // Skip mFileFlags.
-
250  reader.SkipBits(16);
-
251 
-
252  // First chunk should be Audio Description chunk, size 32l.
-
253  RCHECK(ReadBits(&reader, 32) == TAG('d', 'e', 's', 'c'));
-
254  RCHECK(ReadBits(&reader, 64) == 32);
-
255 
-
256  // CAFAudioFormat.mSampleRate(float64) not 0
-
257  RCHECK(ReadBits(&reader, 64) != 0);
-
258 
-
259  // CAFAudioFormat.mFormatID not 0
-
260  RCHECK(ReadBits(&reader, 32) != 0);
-
261 
-
262  // Skip CAFAudioFormat.mBytesPerPacket and mFramesPerPacket.
-
263  reader.SkipBits(32 + 32);
+
210  // Verify number of frames specified.
+
211  RCHECK(Read32LE(buffer + 8) > 0);
+
212 
+
213  // Verify width in range.
+
214  int width = Read32LE(buffer + 20);
+
215  RCHECK(width > 0 && width <= 32767);
+
216 
+
217  // Verify height in range.
+
218  int height = Read32LE(buffer + 24);
+
219  RCHECK(height > 0 && height <= 32767);
+
220 
+
221  // Verify frames per second specified.
+
222  RCHECK(Read32LE(buffer + 28) > 0);
+
223 
+
224  // Verify video frames per second specified.
+
225  RCHECK(Read32LE(buffer + 32) > 0);
+
226 
+
227  // Number of audio tracks must be 256 or less.
+
228  return (Read32LE(buffer + 40) <= 256);
+
229 }
+
230 
+
231 // Additional checks for a CAF container.
+
232 static bool CheckCaf(const uint8_t* buffer, int buffer_size) {
+
233  // Reference: Apple Core Audio Format Specification 1.0
+
234  // (https://developer.apple.com/library/mac/#documentation/MusicAudio/Reference/CAFSpec/CAF_spec/CAF_spec.html)
+
235  RCHECK(buffer_size >= 52);
+
236  BitReader reader(buffer, buffer_size);
+
237 
+
238  // mFileType should be "caff".
+
239  RCHECK(ReadBits(&reader, 32) == TAG('c', 'a', 'f', 'f'));
+
240 
+
241  // mFileVersion should be 1.
+
242  RCHECK(ReadBits(&reader, 16) == 1);
+
243 
+
244  // Skip mFileFlags.
+
245  reader.SkipBits(16);
+
246 
+
247  // First chunk should be Audio Description chunk, size 32l.
+
248  RCHECK(ReadBits(&reader, 32) == TAG('d', 'e', 's', 'c'));
+
249  RCHECK(ReadBits(&reader, 64) == 32);
+
250 
+
251  // CAFAudioFormat.mSampleRate(float64) not 0
+
252  RCHECK(ReadBits(&reader, 64) != 0);
+
253 
+
254  // CAFAudioFormat.mFormatID not 0
+
255  RCHECK(ReadBits(&reader, 32) != 0);
+
256 
+
257  // Skip CAFAudioFormat.mBytesPerPacket and mFramesPerPacket.
+
258  reader.SkipBits(32 + 32);
+
259 
+
260  // CAFAudioFormat.mChannelsPerFrame not 0
+
261  RCHECK(ReadBits(&reader, 32) != 0);
+
262  return true;
+
263 }
264 
-
265  // CAFAudioFormat.mChannelsPerFrame not 0
-
266  RCHECK(ReadBits(&reader, 32) != 0);
-
267  return true;
-
268 }
-
269 
-
270 static bool kSamplingFrequencyValid[16] = { false, true, true, true, false,
-
271  false, true, true, true, false,
-
272  false, true, true, true, false,
-
273  false };
-
274 static bool kExtAudioIdValid[8] = { true, false, true, false, false, false,
-
275  true, false };
-
276 
-
277 // Additional checks for a DTS container.
-
278 static bool CheckDts(const uint8_t* buffer, int buffer_size) {
-
279  // Reference: ETSI TS 102 114 V1.3.1 (2011-08)
-
280  // (http://www.etsi.org/deliver/etsi_ts/102100_102199/102114/01.03.01_60/ts_102114v010301p.pdf)
-
281  RCHECK(buffer_size > 11);
-
282 
-
283  int offset = 0;
-
284  while (offset + 11 < buffer_size) {
-
285  BitReader reader(buffer + offset, 11);
-
286 
-
287  // Verify sync word.
-
288  RCHECK(ReadBits(&reader, 32) == 0x7ffe8001);
-
289 
-
290  // Skip frame type and deficit sample count.
-
291  reader.SkipBits(1 + 5);
-
292 
-
293  // Verify CRC present flag.
-
294  RCHECK(ReadBits(&reader, 1) == 0); // CPF must be 0.
-
295 
-
296  // Verify number of PCM sample blocks.
-
297  RCHECK(ReadBits(&reader, 7) >= 5);
-
298 
-
299  // Verify primary frame byte size.
-
300  int frame_size = ReadBits(&reader, 14);
-
301  RCHECK(frame_size >= 95);
-
302 
-
303  // Skip audio channel arrangement.
-
304  reader.SkipBits(6);
-
305 
-
306  // Verify core audio sampling frequency is an allowed value.
-
307  RCHECK(kSamplingFrequencyValid[ReadBits(&reader, 4)]);
-
308 
-
309  // Verify transmission bit rate is valid.
-
310  RCHECK(ReadBits(&reader, 5) <= 25);
-
311 
-
312  // Verify reserved field is 0.
-
313  RCHECK(ReadBits(&reader, 1) == 0);
-
314 
-
315  // Skip dynamic range flag, time stamp flag, auxiliary data flag, and HDCD.
-
316  reader.SkipBits(1 + 1 + 1 + 1);
-
317 
-
318  // Verify extension audio descriptor flag is an allowed value.
-
319  RCHECK(kExtAudioIdValid[ReadBits(&reader, 3)]);
-
320 
-
321  // Skip extended coding flag and audio sync word insertion flag.
-
322  reader.SkipBits(1 + 1);
-
323 
-
324  // Verify low frequency effects flag is an allowed value.
-
325  RCHECK(ReadBits(&reader, 2) != 3);
+
265 static bool kSamplingFrequencyValid[16] = { false, true, true, true, false,
+
266  false, true, true, true, false,
+
267  false, true, true, true, false,
+
268  false };
+
269 static bool kExtAudioIdValid[8] = { true, false, true, false, false, false,
+
270  true, false };
+
271 
+
272 // Additional checks for a DTS container.
+
273 static bool CheckDts(const uint8_t* buffer, int buffer_size) {
+
274  // Reference: ETSI TS 102 114 V1.3.1 (2011-08)
+
275  // (http://www.etsi.org/deliver/etsi_ts/102100_102199/102114/01.03.01_60/ts_102114v010301p.pdf)
+
276  RCHECK(buffer_size > 11);
+
277 
+
278  int offset = 0;
+
279  while (offset + 11 < buffer_size) {
+
280  BitReader reader(buffer + offset, 11);
+
281 
+
282  // Verify sync word.
+
283  RCHECK(ReadBits(&reader, 32) == 0x7ffe8001);
+
284 
+
285  // Skip frame type and deficit sample count.
+
286  reader.SkipBits(1 + 5);
+
287 
+
288  // Verify CRC present flag.
+
289  RCHECK(ReadBits(&reader, 1) == 0); // CPF must be 0.
+
290 
+
291  // Verify number of PCM sample blocks.
+
292  RCHECK(ReadBits(&reader, 7) >= 5);
+
293 
+
294  // Verify primary frame byte size.
+
295  int frame_size = ReadBits(&reader, 14);
+
296  RCHECK(frame_size >= 95);
+
297 
+
298  // Skip audio channel arrangement.
+
299  reader.SkipBits(6);
+
300 
+
301  // Verify core audio sampling frequency is an allowed value.
+
302  RCHECK(kSamplingFrequencyValid[ReadBits(&reader, 4)]);
+
303 
+
304  // Verify transmission bit rate is valid.
+
305  RCHECK(ReadBits(&reader, 5) <= 25);
+
306 
+
307  // Verify reserved field is 0.
+
308  RCHECK(ReadBits(&reader, 1) == 0);
+
309 
+
310  // Skip dynamic range flag, time stamp flag, auxiliary data flag, and HDCD.
+
311  reader.SkipBits(1 + 1 + 1 + 1);
+
312 
+
313  // Verify extension audio descriptor flag is an allowed value.
+
314  RCHECK(kExtAudioIdValid[ReadBits(&reader, 3)]);
+
315 
+
316  // Skip extended coding flag and audio sync word insertion flag.
+
317  reader.SkipBits(1 + 1);
+
318 
+
319  // Verify low frequency effects flag is an allowed value.
+
320  RCHECK(ReadBits(&reader, 2) != 3);
+
321 
+
322  offset += frame_size + 1;
+
323  }
+
324  return true;
+
325 }
326 
-
327  offset += frame_size + 1;
-
328  }
-
329  return true;
-
330 }
-
331 
-
332 // Checks for a DV container.
-
333 static bool CheckDV(const uint8_t* buffer, int buffer_size) {
-
334  // Reference: SMPTE 314M (Annex A has differences with IEC 61834).
-
335  // (http://standards.smpte.org/content/978-1-61482-454-1/st-314-2005/SEC1.body.pdf)
-
336  RCHECK(buffer_size > 11);
-
337 
-
338  int offset = 0;
-
339  int current_sequence_number = -1;
-
340  int last_block_number[6];
-
341  while (offset + 11 < buffer_size) {
-
342  BitReader reader(buffer + offset, 11);
-
343 
-
344  // Decode ID data. Sections 5, 6, and 7 are reserved.
-
345  int section = ReadBits(&reader, 3);
-
346  RCHECK(section < 5);
-
347 
-
348  // Next bit must be 1.
-
349  RCHECK(ReadBits(&reader, 1) == 1);
+
327 // Checks for a DV container.
+
328 static bool CheckDV(const uint8_t* buffer, int buffer_size) {
+
329  // Reference: SMPTE 314M (Annex A has differences with IEC 61834).
+
330  // (http://standards.smpte.org/content/978-1-61482-454-1/st-314-2005/SEC1.body.pdf)
+
331  RCHECK(buffer_size > 11);
+
332 
+
333  int offset = 0;
+
334  int current_sequence_number = -1;
+
335  int last_block_number[6];
+
336  while (offset + 11 < buffer_size) {
+
337  BitReader reader(buffer + offset, 11);
+
338 
+
339  // Decode ID data. Sections 5, 6, and 7 are reserved.
+
340  int section = ReadBits(&reader, 3);
+
341  RCHECK(section < 5);
+
342 
+
343  // Next bit must be 1.
+
344  RCHECK(ReadBits(&reader, 1) == 1);
+
345 
+
346  // Skip arbitrary bits.
+
347  reader.SkipBits(4);
+
348 
+
349  int sequence_number = ReadBits(&reader, 4);
350 
-
351  // Skip arbitrary bits.
-
352  reader.SkipBits(4);
+
351  // Skip FSC.
+
352  reader.SkipBits(1);
353 
-
354  int sequence_number = ReadBits(&reader, 4);
-
355 
-
356  // Skip FSC.
-
357  reader.SkipBits(1);
+
354  // Next 3 bits must be 1.
+
355  RCHECK(ReadBits(&reader, 3) == 7);
+
356 
+
357  int block_number = ReadBits(&reader, 8);
358 
-
359  // Next 3 bits must be 1.
-
360  RCHECK(ReadBits(&reader, 3) == 7);
-
361 
-
362  int block_number = ReadBits(&reader, 8);
-
363 
-
364  if (section == 0) { // Header.
-
365  // Validate the reserved bits in the next 8 bytes.
-
366  reader.SkipBits(1);
-
367  RCHECK(ReadBits(&reader, 1) == 0);
-
368  RCHECK(ReadBits(&reader, 11) == 0x7ff);
-
369  reader.SkipBits(4);
-
370  RCHECK(ReadBits(&reader, 4) == 0xf);
-
371  reader.SkipBits(4);
-
372  RCHECK(ReadBits(&reader, 4) == 0xf);
-
373  reader.SkipBits(4);
-
374  RCHECK(ReadBits(&reader, 4) == 0xf);
-
375  reader.SkipBits(3);
-
376  RCHECK(ReadBits(&reader, 24) == 0xffffff);
-
377  current_sequence_number = sequence_number;
-
378  for (size_t i = 0; i < arraysize(last_block_number); ++i)
-
379  last_block_number[i] = -1;
-
380  } else {
-
381  // Sequence number must match (this will also fail if no header seen).
-
382  RCHECK(sequence_number == current_sequence_number);
-
383  // Block number should be increasing.
-
384  RCHECK(block_number > last_block_number[section]);
-
385  last_block_number[section] = block_number;
-
386  }
-
387 
-
388  // Move to next block.
-
389  offset += 80;
-
390  }
-
391  return true;
-
392 }
-
393 
-
394 
-
395 // Checks for a GSM container.
-
396 static bool CheckGsm(const uint8_t* buffer, int buffer_size) {
-
397  // Reference: ETSI EN 300 961 V8.1.1
-
398  // (http://www.etsi.org/deliver/etsi_en/300900_300999/300961/08.01.01_60/en_300961v080101p.pdf)
-
399  // also http://tools.ietf.org/html/rfc3551#page-24
-
400  // GSM files have a 33 byte block, only first 4 bits are fixed.
-
401  RCHECK(buffer_size >= 1024); // Need enough data to do a decent check.
-
402 
-
403  int offset = 0;
-
404  while (offset < buffer_size) {
-
405  // First 4 bits of each block are xD.
-
406  RCHECK((buffer[offset] & 0xf0) == 0xd0);
-
407  offset += 33;
-
408  }
-
409  return true;
-
410 }
-
411 
-
412 // Advance to the first set of |num_bits| bits that match |start_code|. |offset|
-
413 // is the current location in the buffer, and is updated. |bytes_needed| is the
-
414 // number of bytes that must remain in the buffer when |start_code| is found.
-
415 // Returns true if start_code found (and enough space in the buffer after it),
-
416 // false otherwise.
-
417 static bool AdvanceToStartCode(const uint8_t* buffer,
-
418  int buffer_size,
-
419  int* offset,
-
420  int bytes_needed,
-
421  int num_bits,
-
422  uint32_t start_code) {
-
423  DCHECK_GE(bytes_needed, 3);
-
424  DCHECK_LE(num_bits, 24); // Only supports up to 24 bits.
-
425 
-
426  // Create a mask to isolate |num_bits| bits, once shifted over.
-
427  uint32_t bits_to_shift = 24 - num_bits;
-
428  uint32_t mask = (1 << num_bits) - 1;
-
429  while (*offset + bytes_needed < buffer_size) {
-
430  uint32_t next = Read24(buffer + *offset);
-
431  if (((next >> bits_to_shift) & mask) == start_code)
-
432  return true;
-
433  ++(*offset);
-
434  }
-
435  return false;
-
436 }
-
437 
-
438 // Checks for an H.261 container.
-
439 static bool CheckH261(const uint8_t* buffer, int buffer_size) {
-
440  // Reference: ITU-T Recommendation H.261 (03/1993)
-
441  // (http://www.itu.int/rec/T-REC-H.261-199303-I/en)
-
442  RCHECK(buffer_size > 16);
-
443 
-
444  int offset = 0;
-
445  bool seen_start_code = false;
-
446  while (true) {
-
447  // Advance to picture_start_code, if there is one.
-
448  if (!AdvanceToStartCode(buffer, buffer_size, &offset, 4, 20, 0x10)) {
-
449  // No start code found (or off end of buffer), so success if
-
450  // there was at least one valid header.
-
451  return seen_start_code;
-
452  }
+
359  if (section == 0) { // Header.
+
360  // Validate the reserved bits in the next 8 bytes.
+
361  reader.SkipBits(1);
+
362  RCHECK(ReadBits(&reader, 1) == 0);
+
363  RCHECK(ReadBits(&reader, 11) == 0x7ff);
+
364  reader.SkipBits(4);
+
365  RCHECK(ReadBits(&reader, 4) == 0xf);
+
366  reader.SkipBits(4);
+
367  RCHECK(ReadBits(&reader, 4) == 0xf);
+
368  reader.SkipBits(4);
+
369  RCHECK(ReadBits(&reader, 4) == 0xf);
+
370  reader.SkipBits(3);
+
371  RCHECK(ReadBits(&reader, 24) == 0xffffff);
+
372  current_sequence_number = sequence_number;
+
373  for (size_t i = 0; i < arraysize(last_block_number); ++i)
+
374  last_block_number[i] = -1;
+
375  } else {
+
376  // Sequence number must match (this will also fail if no header seen).
+
377  RCHECK(sequence_number == current_sequence_number);
+
378  // Block number should be increasing.
+
379  RCHECK(block_number > last_block_number[section]);
+
380  last_block_number[section] = block_number;
+
381  }
+
382 
+
383  // Move to next block.
+
384  offset += 80;
+
385  }
+
386  return true;
+
387 }
+
388 
+
389 
+
390 // Checks for a GSM container.
+
391 static bool CheckGsm(const uint8_t* buffer, int buffer_size) {
+
392  // Reference: ETSI EN 300 961 V8.1.1
+
393  // (http://www.etsi.org/deliver/etsi_en/300900_300999/300961/08.01.01_60/en_300961v080101p.pdf)
+
394  // also http://tools.ietf.org/html/rfc3551#page-24
+
395  // GSM files have a 33 byte block, only first 4 bits are fixed.
+
396  RCHECK(buffer_size >= 1024); // Need enough data to do a decent check.
+
397 
+
398  int offset = 0;
+
399  while (offset < buffer_size) {
+
400  // First 4 bits of each block are xD.
+
401  RCHECK((buffer[offset] & 0xf0) == 0xd0);
+
402  offset += 33;
+
403  }
+
404  return true;
+
405 }
+
406 
+
407 // Advance to the first set of |num_bits| bits that match |start_code|. |offset|
+
408 // is the current location in the buffer, and is updated. |bytes_needed| is the
+
409 // number of bytes that must remain in the buffer when |start_code| is found.
+
410 // Returns true if start_code found (and enough space in the buffer after it),
+
411 // false otherwise.
+
412 static bool AdvanceToStartCode(const uint8_t* buffer,
+
413  int buffer_size,
+
414  int* offset,
+
415  int bytes_needed,
+
416  int num_bits,
+
417  uint32_t start_code) {
+
418  DCHECK_GE(bytes_needed, 3);
+
419  DCHECK_LE(num_bits, 24); // Only supports up to 24 bits.
+
420 
+
421  // Create a mask to isolate |num_bits| bits, once shifted over.
+
422  uint32_t bits_to_shift = 24 - num_bits;
+
423  uint32_t mask = (1 << num_bits) - 1;
+
424  while (*offset + bytes_needed < buffer_size) {
+
425  uint32_t next = Read24(buffer + *offset);
+
426  if (((next >> bits_to_shift) & mask) == start_code)
+
427  return true;
+
428  ++(*offset);
+
429  }
+
430  return false;
+
431 }
+
432 
+
433 // Checks for an H.261 container.
+
434 static bool CheckH261(const uint8_t* buffer, int buffer_size) {
+
435  // Reference: ITU-T Recommendation H.261 (03/1993)
+
436  // (http://www.itu.int/rec/T-REC-H.261-199303-I/en)
+
437  RCHECK(buffer_size > 16);
+
438 
+
439  int offset = 0;
+
440  bool seen_start_code = false;
+
441  while (true) {
+
442  // Advance to picture_start_code, if there is one.
+
443  if (!AdvanceToStartCode(buffer, buffer_size, &offset, 4, 20, 0x10)) {
+
444  // No start code found (or off end of buffer), so success if
+
445  // there was at least one valid header.
+
446  return seen_start_code;
+
447  }
+
448 
+
449  // Now verify the block. AdvanceToStartCode() made sure that there are
+
450  // at least 4 bytes remaining in the buffer.
+
451  BitReader reader(buffer + offset, buffer_size - offset);
+
452  RCHECK(ReadBits(&reader, 20) == 0x10);
453 
-
454  // Now verify the block. AdvanceToStartCode() made sure that there are
-
455  // at least 4 bytes remaining in the buffer.
-
456  BitReader reader(buffer + offset, buffer_size - offset);
-
457  RCHECK(ReadBits(&reader, 20) == 0x10);
-
458 
-
459  // Skip the temporal reference and PTYPE.
-
460  reader.SkipBits(5 + 6);
-
461 
-
462  // Skip any extra insertion information. Since this is open-ended, if we run
-
463  // out of bits assume that the buffer is correctly formatted.
-
464  int extra = ReadBits(&reader, 1);
-
465  while (extra == 1) {
-
466  if (!reader.SkipBits(8))
-
467  return seen_start_code;
-
468  if (!reader.ReadBits(1, &extra))
-
469  return seen_start_code;
-
470  }
-
471 
-
472  // Next should be a Group of Blocks start code. Again, if we run out of
-
473  // bits, then assume that the buffer up to here is correct, and the buffer
-
474  // just happened to end in the middle of a header.
-
475  int next;
-
476  if (!reader.ReadBits(16, &next))
-
477  return seen_start_code;
-
478  RCHECK(next == 1);
-
479 
-
480  // Move to the next block.
-
481  seen_start_code = true;
-
482  offset += 4;
-
483  }
-
484 }
-
485 
-
486 // Checks for an H.263 container.
-
487 static bool CheckH263(const uint8_t* buffer, int buffer_size) {
-
488  // Reference: ITU-T Recommendation H.263 (01/2005)
-
489  // (http://www.itu.int/rec/T-REC-H.263-200501-I/en)
-
490  // header is PSC(22b) + TR(8b) + PTYPE(8+b).
-
491  RCHECK(buffer_size > 16);
-
492 
-
493  int offset = 0;
-
494  bool seen_start_code = false;
-
495  while (true) {
-
496  // Advance to picture_start_code, if there is one.
-
497  if (!AdvanceToStartCode(buffer, buffer_size, &offset, 9, 22, 0x20)) {
-
498  // No start code found (or off end of buffer), so success if
-
499  // there was at least one valid header.
-
500  return seen_start_code;
-
501  }
+
454  // Skip the temporal reference and PTYPE.
+
455  reader.SkipBits(5 + 6);
+
456 
+
457  // Skip any extra insertion information. Since this is open-ended, if we run
+
458  // out of bits assume that the buffer is correctly formatted.
+
459  int extra = ReadBits(&reader, 1);
+
460  while (extra == 1) {
+
461  if (!reader.SkipBits(8))
+
462  return seen_start_code;
+
463  if (!reader.ReadBits(1, &extra))
+
464  return seen_start_code;
+
465  }
+
466 
+
467  // Next should be a Group of Blocks start code. Again, if we run out of
+
468  // bits, then assume that the buffer up to here is correct, and the buffer
+
469  // just happened to end in the middle of a header.
+
470  int next;
+
471  if (!reader.ReadBits(16, &next))
+
472  return seen_start_code;
+
473  RCHECK(next == 1);
+
474 
+
475  // Move to the next block.
+
476  seen_start_code = true;
+
477  offset += 4;
+
478  }
+
479 }
+
480 
+
481 // Checks for an H.263 container.
+
482 static bool CheckH263(const uint8_t* buffer, int buffer_size) {
+
483  // Reference: ITU-T Recommendation H.263 (01/2005)
+
484  // (http://www.itu.int/rec/T-REC-H.263-200501-I/en)
+
485  // header is PSC(22b) + TR(8b) + PTYPE(8+b).
+
486  RCHECK(buffer_size > 16);
+
487 
+
488  int offset = 0;
+
489  bool seen_start_code = false;
+
490  while (true) {
+
491  // Advance to picture_start_code, if there is one.
+
492  if (!AdvanceToStartCode(buffer, buffer_size, &offset, 9, 22, 0x20)) {
+
493  // No start code found (or off end of buffer), so success if
+
494  // there was at least one valid header.
+
495  return seen_start_code;
+
496  }
+
497 
+
498  // Now verify the block. AdvanceToStartCode() made sure that there are
+
499  // at least 9 bytes remaining in the buffer.
+
500  BitReader reader(buffer + offset, 9);
+
501  RCHECK(ReadBits(&reader, 22) == 0x20);
502 
-
503  // Now verify the block. AdvanceToStartCode() made sure that there are
-
504  // at least 9 bytes remaining in the buffer.
-
505  BitReader reader(buffer + offset, 9);
-
506  RCHECK(ReadBits(&reader, 22) == 0x20);
-
507 
-
508  // Skip the temporal reference.
-
509  reader.SkipBits(8);
-
510 
-
511  // Verify that the first 2 bits of PTYPE are 10b.
-
512  RCHECK(ReadBits(&reader, 2) == 2);
-
513 
-
514  // Skip the split screen indicator, document camera indicator, and full
-
515  // picture freeze release.
-
516  reader.SkipBits(1 + 1 + 1);
-
517 
-
518  // Verify Source Format.
-
519  int format = ReadBits(&reader, 3);
-
520  RCHECK(format != 0 && format != 6); // Forbidden or reserved.
-
521 
-
522  if (format == 7) {
-
523  // Verify full extended PTYPE.
-
524  int ufep = ReadBits(&reader, 3);
-
525  if (ufep == 1) {
-
526  // Verify the optional part of PLUSPTYPE.
-
527  format = ReadBits(&reader, 3);
-
528  RCHECK(format != 0 && format != 7); // Reserved.
-
529  reader.SkipBits(11);
-
530  // Next 4 bits should be b1000.
-
531  RCHECK(ReadBits(&reader, 4) == 8); // Not allowed.
-
532  } else {
-
533  RCHECK(ufep == 0); // Only 0 and 1 allowed.
-
534  }
-
535 
-
536  // Verify picture type code is not a reserved value.
-
537  int picture_type_code = ReadBits(&reader, 3);
-
538  RCHECK(picture_type_code != 6 && picture_type_code != 7); // Reserved.
-
539 
-
540  // Skip picture resampling mode, reduced resolution mode,
-
541  // and rounding type.
-
542  reader.SkipBits(1 + 1 + 1);
-
543 
-
544  // Next 3 bits should be b001.
-
545  RCHECK(ReadBits(&reader, 3) == 1); // Not allowed.
-
546  }
-
547 
-
548  // Move to the next block.
-
549  seen_start_code = true;
-
550  offset += 9;
-
551  }
-
552 }
-
553 
-
554 // Checks for an H.264 container.
-
555 static bool CheckH264(const uint8_t* buffer, int buffer_size) {
-
556  // Reference: ITU-T Recommendation H.264 (01/2012)
-
557  // (http://www.itu.int/rec/T-REC-H.264)
-
558  // Section B.1: Byte stream NAL unit syntax and semantics.
-
559  RCHECK(buffer_size > 4);
-
560 
-
561  int offset = 0;
-
562  int parameter_count = 0;
-
563  while (true) {
-
564  // Advance to picture_start_code, if there is one.
-
565  if (!AdvanceToStartCode(buffer, buffer_size, &offset, 4, 24, 1)) {
-
566  // No start code found (or off end of buffer), so success if
-
567  // there was at least one valid header.
-
568  return parameter_count > 0;
-
569  }
+
503  // Skip the temporal reference.
+
504  reader.SkipBits(8);
+
505 
+
506  // Verify that the first 2 bits of PTYPE are 10b.
+
507  RCHECK(ReadBits(&reader, 2) == 2);
+
508 
+
509  // Skip the split screen indicator, document camera indicator, and full
+
510  // picture freeze release.
+
511  reader.SkipBits(1 + 1 + 1);
+
512 
+
513  // Verify Source Format.
+
514  int format = ReadBits(&reader, 3);
+
515  RCHECK(format != 0 && format != 6); // Forbidden or reserved.
+
516 
+
517  if (format == 7) {
+
518  // Verify full extended PTYPE.
+
519  int ufep = ReadBits(&reader, 3);
+
520  if (ufep == 1) {
+
521  // Verify the optional part of PLUSPTYPE.
+
522  format = ReadBits(&reader, 3);
+
523  RCHECK(format != 0 && format != 7); // Reserved.
+
524  reader.SkipBits(11);
+
525  // Next 4 bits should be b1000.
+
526  RCHECK(ReadBits(&reader, 4) == 8); // Not allowed.
+
527  } else {
+
528  RCHECK(ufep == 0); // Only 0 and 1 allowed.
+
529  }
+
530 
+
531  // Verify picture type code is not a reserved value.
+
532  int picture_type_code = ReadBits(&reader, 3);
+
533  RCHECK(picture_type_code != 6 && picture_type_code != 7); // Reserved.
+
534 
+
535  // Skip picture resampling mode, reduced resolution mode,
+
536  // and rounding type.
+
537  reader.SkipBits(1 + 1 + 1);
+
538 
+
539  // Next 3 bits should be b001.
+
540  RCHECK(ReadBits(&reader, 3) == 1); // Not allowed.
+
541  }
+
542 
+
543  // Move to the next block.
+
544  seen_start_code = true;
+
545  offset += 9;
+
546  }
+
547 }
+
548 
+
549 // Checks for an H.264 container.
+
550 static bool CheckH264(const uint8_t* buffer, int buffer_size) {
+
551  // Reference: ITU-T Recommendation H.264 (01/2012)
+
552  // (http://www.itu.int/rec/T-REC-H.264)
+
553  // Section B.1: Byte stream NAL unit syntax and semantics.
+
554  RCHECK(buffer_size > 4);
+
555 
+
556  int offset = 0;
+
557  int parameter_count = 0;
+
558  while (true) {
+
559  // Advance to picture_start_code, if there is one.
+
560  if (!AdvanceToStartCode(buffer, buffer_size, &offset, 4, 24, 1)) {
+
561  // No start code found (or off end of buffer), so success if
+
562  // there was at least one valid header.
+
563  return parameter_count > 0;
+
564  }
+
565 
+
566  // Now verify the block. AdvanceToStartCode() made sure that there are
+
567  // at least 4 bytes remaining in the buffer.
+
568  BitReader reader(buffer + offset, 4);
+
569  RCHECK(ReadBits(&reader, 24) == 1);
570 
-
571  // Now verify the block. AdvanceToStartCode() made sure that there are
-
572  // at least 4 bytes remaining in the buffer.
-
573  BitReader reader(buffer + offset, 4);
-
574  RCHECK(ReadBits(&reader, 24) == 1);
-
575 
-
576  // Verify forbidden_zero_bit.
-
577  RCHECK(ReadBits(&reader, 1) == 0);
-
578 
-
579  // Extract nal_ref_idc and nal_unit_type.
-
580  int nal_ref_idc = ReadBits(&reader, 2);
-
581  int nal_unit_type = ReadBits(&reader, 5);
-
582 
-
583  switch (nal_unit_type) {
-
584  case 5: // Coded slice of an IDR picture.
-
585  RCHECK(nal_ref_idc != 0);
-
586  break;
-
587  case 6: // Supplemental enhancement information (SEI).
-
588  case 9: // Access unit delimiter.
-
589  case 10: // End of sequence.
-
590  case 11: // End of stream.
-
591  case 12: // Filler data.
-
592  RCHECK(nal_ref_idc == 0);
-
593  break;
-
594  case 7: // Sequence parameter set.
-
595  case 8: // Picture parameter set.
-
596  ++parameter_count;
-
597  break;
-
598  }
+
571  // Verify forbidden_zero_bit.
+
572  RCHECK(ReadBits(&reader, 1) == 0);
+
573 
+
574  // Extract nal_ref_idc and nal_unit_type.
+
575  int nal_ref_idc = ReadBits(&reader, 2);
+
576  int nal_unit_type = ReadBits(&reader, 5);
+
577 
+
578  switch (nal_unit_type) {
+
579  case 5: // Coded slice of an IDR picture.
+
580  RCHECK(nal_ref_idc != 0);
+
581  break;
+
582  case 6: // Supplemental enhancement information (SEI).
+
583  case 9: // Access unit delimiter.
+
584  case 10: // End of sequence.
+
585  case 11: // End of stream.
+
586  case 12: // Filler data.
+
587  RCHECK(nal_ref_idc == 0);
+
588  break;
+
589  case 7: // Sequence parameter set.
+
590  case 8: // Picture parameter set.
+
591  ++parameter_count;
+
592  break;
+
593  }
+
594 
+
595  // Skip the current start_code_prefix and move to the next.
+
596  offset += 4;
+
597  }
+
598 }
599 
-
600  // Skip the current start_code_prefix and move to the next.
-
601  offset += 4;
-
602  }
-
603 }
+
600 static const char kHlsSignature[] = "#EXTM3U";
+
601 static const char kHls1[] = "#EXT-X-STREAM-INF:";
+
602 static const char kHls2[] = "#EXT-X-TARGETDURATION:";
+
603 static const char kHls3[] = "#EXT-X-MEDIA-SEQUENCE:";
604 
-
605 static const char kHlsSignature[] = "#EXTM3U";
-
606 static const char kHls1[] = "#EXT-X-STREAM-INF:";
-
607 static const char kHls2[] = "#EXT-X-TARGETDURATION:";
-
608 static const char kHls3[] = "#EXT-X-MEDIA-SEQUENCE:";
-
609 
-
610 // Additional checks for a HLS container.
-
611 static bool CheckHls(const uint8_t* buffer, int buffer_size) {
-
612  // HLS is simply a play list used for Apple HTTP Live Streaming.
-
613  // Reference: Apple HTTP Live Streaming Overview
-
614  // (http://goo.gl/MIwxj)
-
615 
-
616  if (StartsWith(buffer, buffer_size, kHlsSignature)) {
-
617  // Need to find "#EXT-X-STREAM-INF:", "#EXT-X-TARGETDURATION:", or
-
618  // "#EXT-X-MEDIA-SEQUENCE:" somewhere in the buffer. Other playlists (like
-
619  // WinAmp) only have additional lines with #EXTINF
-
620  // (http://en.wikipedia.org/wiki/M3U).
-
621  int offset = strlen(kHlsSignature);
-
622  while (offset < buffer_size) {
-
623  if (buffer[offset] == '#') {
-
624  if (StartsWith(buffer + offset, buffer_size - offset, kHls1) ||
-
625  StartsWith(buffer + offset, buffer_size - offset, kHls2) ||
-
626  StartsWith(buffer + offset, buffer_size - offset, kHls3)) {
-
627  return true;
-
628  }
-
629  }
-
630  ++offset;
-
631  }
-
632  }
-
633  return false;
-
634 }
-
635 
-
636 // Checks for a MJPEG stream.
-
637 static bool CheckMJpeg(const uint8_t* buffer, int buffer_size) {
-
638  // Reference: ISO/IEC 10918-1 : 1993(E), Annex B
-
639  // (http://www.w3.org/Graphics/JPEG/itu-t81.pdf)
-
640  RCHECK(buffer_size >= 16);
-
641 
-
642  int offset = 0;
-
643  int last_restart = -1;
-
644  int num_codes = 0;
-
645  while (offset + 5 < buffer_size) {
-
646  // Marker codes are always a two byte code with the first byte xFF.
-
647  RCHECK(buffer[offset] == 0xff);
-
648  uint8_t code = buffer[offset + 1];
-
649  RCHECK(code >= 0xc0 || code == 1);
-
650 
-
651  // Skip sequences of xFF.
-
652  if (code == 0xff) {
-
653  ++offset;
-
654  continue;
-
655  }
-
656 
-
657  // Success if the next marker code is EOI (end of image)
-
658  if (code == 0xd9)
-
659  return true;
-
660 
-
661  // Check remaining codes.
-
662  if (code == 0xd8 || code == 1) {
-
663  // SOI (start of image) / TEM (private use). No other data with header.
-
664  offset += 2;
-
665  } else if (code >= 0xd0 && code <= 0xd7) {
-
666  // RST (restart) codes must be in sequence. No other data with header.
-
667  int restart = code & 0x07;
-
668  if (last_restart >= 0)
-
669  RCHECK(restart == (last_restart + 1) % 8);
-
670  last_restart = restart;
-
671  offset += 2;
-
672  } else {
-
673  // All remaining marker codes are followed by a length of the header.
-
674  int length = Read16(buffer + offset + 2) + 2;
-
675 
-
676  // Special handling of SOS (start of scan) marker since the entropy
-
677  // coded data follows the SOS. Any xFF byte in the data block must be
-
678  // followed by x00 in the data.
-
679  if (code == 0xda) {
-
680  int number_components = buffer[offset + 4];
-
681  RCHECK(length == 8 + 2 * number_components);
-
682 
-
683  // Advance to the next marker.
-
684  offset += length;
-
685  while (offset + 2 < buffer_size) {
-
686  if (buffer[offset] == 0xff && buffer[offset + 1] != 0)
-
687  break;
-
688  ++offset;
-
689  }
-
690  } else {
-
691  // Skip over the marker data for the other marker codes.
-
692  offset += length;
-
693  }
-
694  }
-
695  ++num_codes;
-
696  }
-
697  return (num_codes > 1);
-
698 }
+
605 // Additional checks for a HLS container.
+
606 static bool CheckHls(const uint8_t* buffer, int buffer_size) {
+
607  // HLS is simply a play list used for Apple HTTP Live Streaming.
+
608  // Reference: Apple HTTP Live Streaming Overview
+
609  // (http://goo.gl/MIwxj)
+
610 
+
611  if (StartsWith(buffer, buffer_size, kHlsSignature)) {
+
612  // Need to find "#EXT-X-STREAM-INF:", "#EXT-X-TARGETDURATION:", or
+
613  // "#EXT-X-MEDIA-SEQUENCE:" somewhere in the buffer. Other playlists (like
+
614  // WinAmp) only have additional lines with #EXTINF
+
615  // (http://en.wikipedia.org/wiki/M3U).
+
616  int offset = strlen(kHlsSignature);
+
617  while (offset < buffer_size) {
+
618  if (buffer[offset] == '#') {
+
619  if (StartsWith(buffer + offset, buffer_size - offset, kHls1) ||
+
620  StartsWith(buffer + offset, buffer_size - offset, kHls2) ||
+
621  StartsWith(buffer + offset, buffer_size - offset, kHls3)) {
+
622  return true;
+
623  }
+
624  }
+
625  ++offset;
+
626  }
+
627  }
+
628  return false;
+
629 }
+
630 
+
631 // Checks for a MJPEG stream.
+
632 static bool CheckMJpeg(const uint8_t* buffer, int buffer_size) {
+
633  // Reference: ISO/IEC 10918-1 : 1993(E), Annex B
+
634  // (http://www.w3.org/Graphics/JPEG/itu-t81.pdf)
+
635  RCHECK(buffer_size >= 16);
+
636 
+
637  int offset = 0;
+
638  int last_restart = -1;
+
639  int num_codes = 0;
+
640  while (offset + 5 < buffer_size) {
+
641  // Marker codes are always a two byte code with the first byte xFF.
+
642  RCHECK(buffer[offset] == 0xff);
+
643  uint8_t code = buffer[offset + 1];
+
644  RCHECK(code >= 0xc0 || code == 1);
+
645 
+
646  // Skip sequences of xFF.
+
647  if (code == 0xff) {
+
648  ++offset;
+
649  continue;
+
650  }
+
651 
+
652  // Success if the next marker code is EOI (end of image)
+
653  if (code == 0xd9)
+
654  return true;
+
655 
+
656  // Check remaining codes.
+
657  if (code == 0xd8 || code == 1) {
+
658  // SOI (start of image) / TEM (private use). No other data with header.
+
659  offset += 2;
+
660  } else if (code >= 0xd0 && code <= 0xd7) {
+
661  // RST (restart) codes must be in sequence. No other data with header.
+
662  int restart = code & 0x07;
+
663  if (last_restart >= 0)
+
664  RCHECK(restart == (last_restart + 1) % 8);
+
665  last_restart = restart;
+
666  offset += 2;
+
667  } else {
+
668  // All remaining marker codes are followed by a length of the header.
+
669  int length = Read16(buffer + offset + 2) + 2;
+
670 
+
671  // Special handling of SOS (start of scan) marker since the entropy
+
672  // coded data follows the SOS. Any xFF byte in the data block must be
+
673  // followed by x00 in the data.
+
674  if (code == 0xda) {
+
675  int number_components = buffer[offset + 4];
+
676  RCHECK(length == 8 + 2 * number_components);
+
677 
+
678  // Advance to the next marker.
+
679  offset += length;
+
680  while (offset + 2 < buffer_size) {
+
681  if (buffer[offset] == 0xff && buffer[offset + 1] != 0)
+
682  break;
+
683  ++offset;
+
684  }
+
685  } else {
+
686  // Skip over the marker data for the other marker codes.
+
687  offset += length;
+
688  }
+
689  }
+
690  ++num_codes;
+
691  }
+
692  return (num_codes > 1);
+
693 }
+
694 
+
695 enum Mpeg2StartCodes {
+
696  PROGRAM_END_CODE = 0xb9,
+
697  PACK_START_CODE = 0xba
+
698 };
699 
-
700 enum Mpeg2StartCodes {
-
701  PROGRAM_END_CODE = 0xb9,
-
702  PACK_START_CODE = 0xba
-
703 };
+
700 // Checks for a MPEG2 Program Stream.
+
701 static bool CheckMpeg2ProgramStream(const uint8_t* buffer, int buffer_size) {
+
702  // Reference: ISO/IEC 13818-1 : 2000 (E) / ITU-T Rec. H.222.0 (2000 E).
+
703  RCHECK(buffer_size > 14);
704 
-
705 // Checks for a MPEG2 Program Stream.
-
706 static bool CheckMpeg2ProgramStream(const uint8_t* buffer, int buffer_size) {
-
707  // Reference: ISO/IEC 13818-1 : 2000 (E) / ITU-T Rec. H.222.0 (2000 E).
-
708  RCHECK(buffer_size > 14);
-
709 
-
710  int offset = 0;
-
711  while (offset + 14 < buffer_size) {
-
712  BitReader reader(buffer + offset, 14);
-
713 
-
714  // Must start with pack_start_code.
-
715  RCHECK(ReadBits(&reader, 24) == 1);
-
716  RCHECK(ReadBits(&reader, 8) == PACK_START_CODE);
-
717 
-
718  // Determine MPEG version (MPEG1 has b0010, while MPEG2 has b01).
-
719  int mpeg_version = ReadBits(&reader, 2);
-
720  if (mpeg_version == 0) {
-
721  // MPEG1, 10 byte header
-
722  // Validate rest of version code
-
723  RCHECK(ReadBits(&reader, 2) == 2);
-
724  } else {
-
725  RCHECK(mpeg_version == 1);
-
726  }
-
727 
-
728  // Skip system_clock_reference_base [32..30].
-
729  reader.SkipBits(3);
-
730 
-
731  // Verify marker bit.
-
732  RCHECK(ReadBits(&reader, 1) == 1);
-
733 
-
734  // Skip system_clock_reference_base [29..15].
-
735  reader.SkipBits(15);
-
736 
-
737  // Verify next marker bit.
-
738  RCHECK(ReadBits(&reader, 1) == 1);
-
739 
-
740  // Skip system_clock_reference_base [14..0].
-
741  reader.SkipBits(15);
-
742 
-
743  // Verify next marker bit.
-
744  RCHECK(ReadBits(&reader, 1) == 1);
-
745 
-
746  if (mpeg_version == 0) {
-
747  // Verify second marker bit.
-
748  RCHECK(ReadBits(&reader, 1) == 1);
-
749 
-
750  // Skip mux_rate.
-
751  reader.SkipBits(22);
-
752 
-
753  // Verify next marker bit.
-
754  RCHECK(ReadBits(&reader, 1) == 1);
-
755 
-
756  // Update offset to be after this header.
-
757  offset += 12;
-
758  } else {
-
759  // Must be MPEG2.
-
760  // Skip program_mux_rate.
-
761  reader.SkipBits(22);
-
762 
-
763  // Verify pair of marker bits.
-
764  RCHECK(ReadBits(&reader, 2) == 3);
-
765 
-
766  // Skip reserved.
-
767  reader.SkipBits(5);
+
705  int offset = 0;
+
706  while (offset + 14 < buffer_size) {
+
707  BitReader reader(buffer + offset, 14);
+
708 
+
709  // Must start with pack_start_code.
+
710  RCHECK(ReadBits(&reader, 24) == 1);
+
711  RCHECK(ReadBits(&reader, 8) == PACK_START_CODE);
+
712 
+
713  // Determine MPEG version (MPEG1 has b0010, while MPEG2 has b01).
+
714  int mpeg_version = ReadBits(&reader, 2);
+
715  if (mpeg_version == 0) {
+
716  // MPEG1, 10 byte header
+
717  // Validate rest of version code
+
718  RCHECK(ReadBits(&reader, 2) == 2);
+
719  } else {
+
720  RCHECK(mpeg_version == 1);
+
721  }
+
722 
+
723  // Skip system_clock_reference_base [32..30].
+
724  reader.SkipBits(3);
+
725 
+
726  // Verify marker bit.
+
727  RCHECK(ReadBits(&reader, 1) == 1);
+
728 
+
729  // Skip system_clock_reference_base [29..15].
+
730  reader.SkipBits(15);
+
731 
+
732  // Verify next marker bit.
+
733  RCHECK(ReadBits(&reader, 1) == 1);
+
734 
+
735  // Skip system_clock_reference_base [14..0].
+
736  reader.SkipBits(15);
+
737 
+
738  // Verify next marker bit.
+
739  RCHECK(ReadBits(&reader, 1) == 1);
+
740 
+
741  if (mpeg_version == 0) {
+
742  // Verify second marker bit.
+
743  RCHECK(ReadBits(&reader, 1) == 1);
+
744 
+
745  // Skip mux_rate.
+
746  reader.SkipBits(22);
+
747 
+
748  // Verify next marker bit.
+
749  RCHECK(ReadBits(&reader, 1) == 1);
+
750 
+
751  // Update offset to be after this header.
+
752  offset += 12;
+
753  } else {
+
754  // Must be MPEG2.
+
755  // Skip program_mux_rate.
+
756  reader.SkipBits(22);
+
757 
+
758  // Verify pair of marker bits.
+
759  RCHECK(ReadBits(&reader, 2) == 3);
+
760 
+
761  // Skip reserved.
+
762  reader.SkipBits(5);
+
763 
+
764  // Update offset to be after this header.
+
765  int pack_stuffing_length = ReadBits(&reader, 3);
+
766  offset += 14 + pack_stuffing_length;
+
767  }
768 
-
769  // Update offset to be after this header.
-
770  int pack_stuffing_length = ReadBits(&reader, 3);
-
771  offset += 14 + pack_stuffing_length;
-
772  }
+
769  // Check for system headers and PES_packets.
+
770  while (offset + 6 < buffer_size && Read24(buffer + offset) == 1) {
+
771  // Next 8 bits determine stream type.
+
772  int stream_id = buffer[offset + 3];
773 
-
774  // Check for system headers and PES_packets.
-
775  while (offset + 6 < buffer_size && Read24(buffer + offset) == 1) {
-
776  // Next 8 bits determine stream type.
-
777  int stream_id = buffer[offset + 3];
-
778 
-
779  // Some stream types are reserved and shouldn't occur.
-
780  if (mpeg_version == 0)
-
781  RCHECK(stream_id != 0xbc && stream_id < 0xf0);
-
782  else
-
783  RCHECK(stream_id != 0xfc && stream_id != 0xfd && stream_id != 0xfe);
-
784 
-
785  // Some stream types are used for pack headers.
-
786  if (stream_id == PACK_START_CODE) // back to outer loop.
-
787  break;
-
788  if (stream_id == PROGRAM_END_CODE) // end of stream.
-
789  return true;
-
790 
-
791  int pes_length = Read16(buffer + offset + 4);
-
792  RCHECK(pes_length > 0);
-
793  offset = offset + 6 + pes_length;
-
794  }
-
795  }
-
796  // Success as we are off the end of the buffer and liked everything
-
797  // in the buffer.
-
798  return true;
-
799 }
-
800 
-
801 const uint8_t kMpeg2SyncWord = 0x47;
-
802 
-
803 // Checks for a MPEG2 Transport Stream.
-
804 static bool CheckMpeg2TransportStream(const uint8_t* buffer, int buffer_size) {
-
805  // Spec: ISO/IEC 13818-1 : 2000 (E) / ITU-T Rec. H.222.0 (2000 E).
-
806  // Normal packet size is 188 bytes. However, some systems add various error
-
807  // correction data at the end, resulting in packet of length 192/204/208
-
808  // (https://en.wikipedia.org/wiki/MPEG_transport_stream). Determine the
-
809  // length with the first packet.
-
810  RCHECK(buffer_size >= 250); // Want more than 1 packet to check.
-
811 
-
812  int offset = 0;
-
813  int packet_length = -1;
-
814  while (buffer[offset] != kMpeg2SyncWord && offset < 20) {
-
815  // Skip over any header in the first 20 bytes.
-
816  ++offset;
-
817  }
-
818 
-
819  while (offset + 6 < buffer_size) {
-
820  BitReader reader(buffer + offset, 6);
-
821 
-
822  // Must start with sync byte.
-
823  RCHECK(ReadBits(&reader, 8) == kMpeg2SyncWord);
-
824 
-
825  // Skip transport_error_indicator, payload_unit_start_indicator, and
-
826  // transport_priority.
-
827  reader.SkipBits(1 + 1 + 1);
-
828 
-
829  // Verify the pid is not a reserved value.
-
830  int pid = ReadBits(&reader, 13);
-
831  RCHECK(pid < 3 || pid > 15);
-
832 
-
833  // Skip transport_scrambling_control.
-
834  reader.SkipBits(2);
-
835 
-
836  // Adaptation_field_control can not be 0.
-
837  int adaptation_field_control = ReadBits(&reader, 2);
-
838  RCHECK(adaptation_field_control != 0);
+
774  // Some stream types are reserved and shouldn't occur.
+
775  if (mpeg_version == 0)
+
776  RCHECK(stream_id != 0xbc && stream_id < 0xf0);
+
777  else
+
778  RCHECK(stream_id != 0xfc && stream_id != 0xfd && stream_id != 0xfe);
+
779 
+
780  // Some stream types are used for pack headers.
+
781  if (stream_id == PACK_START_CODE) // back to outer loop.
+
782  break;
+
783  if (stream_id == PROGRAM_END_CODE) // end of stream.
+
784  return true;
+
785 
+
786  int pes_length = Read16(buffer + offset + 4);
+
787  RCHECK(pes_length > 0);
+
788  offset = offset + 6 + pes_length;
+
789  }
+
790  }
+
791  // Success as we are off the end of the buffer and liked everything
+
792  // in the buffer.
+
793  return true;
+
794 }
+
795 
+
796 const uint8_t kMpeg2SyncWord = 0x47;
+
797 
+
798 // Checks for a MPEG2 Transport Stream.
+
799 static bool CheckMpeg2TransportStream(const uint8_t* buffer, int buffer_size) {
+
800  // Spec: ISO/IEC 13818-1 : 2000 (E) / ITU-T Rec. H.222.0 (2000 E).
+
801  // Normal packet size is 188 bytes. However, some systems add various error
+
802  // correction data at the end, resulting in packet of length 192/204/208
+
803  // (https://en.wikipedia.org/wiki/MPEG_transport_stream). Determine the
+
804  // length with the first packet.
+
805  RCHECK(buffer_size >= 250); // Want more than 1 packet to check.
+
806 
+
807  int offset = 0;
+
808  int packet_length = -1;
+
809  while (buffer[offset] != kMpeg2SyncWord && offset < 20) {
+
810  // Skip over any header in the first 20 bytes.
+
811  ++offset;
+
812  }
+
813 
+
814  while (offset + 6 < buffer_size) {
+
815  BitReader reader(buffer + offset, 6);
+
816 
+
817  // Must start with sync byte.
+
818  RCHECK(ReadBits(&reader, 8) == kMpeg2SyncWord);
+
819 
+
820  // Skip transport_error_indicator, payload_unit_start_indicator, and
+
821  // transport_priority.
+
822  reader.SkipBits(1 + 1 + 1);
+
823 
+
824  // Verify the pid is not a reserved value.
+
825  int pid = ReadBits(&reader, 13);
+
826  RCHECK(pid < 3 || pid > 15);
+
827 
+
828  // Skip transport_scrambling_control.
+
829  reader.SkipBits(2);
+
830 
+
831  // Adaptation_field_control can not be 0.
+
832  int adaptation_field_control = ReadBits(&reader, 2);
+
833  RCHECK(adaptation_field_control != 0);
+
834 
+
835  // If there is an adaptation_field, verify it.
+
836  if (adaptation_field_control >= 2) {
+
837  // Skip continuity_counter.
+
838  reader.SkipBits(4);
839 
-
840  // If there is an adaptation_field, verify it.
-
841  if (adaptation_field_control >= 2) {
-
842  // Skip continuity_counter.
-
843  reader.SkipBits(4);
-
844 
-
845  // Get adaptation_field_length and verify it.
-
846  int adaptation_field_length = ReadBits(&reader, 8);
-
847  if (adaptation_field_control == 2)
-
848  RCHECK(adaptation_field_length == 183);
-
849  else
-
850  RCHECK(adaptation_field_length <= 182);
-
851  }
-
852 
-
853  // Attempt to determine the packet length on the first packet.
-
854  if (packet_length < 0) {
-
855  if (buffer[offset + 188] == kMpeg2SyncWord)
-
856  packet_length = 188;
-
857  else if (buffer[offset + 192] == kMpeg2SyncWord)
-
858  packet_length = 192;
-
859  else if (buffer[offset + 204] == kMpeg2SyncWord)
-
860  packet_length = 204;
-
861  else
-
862  packet_length = 208;
-
863  }
-
864  offset += packet_length;
-
865  }
-
866  return true;
-
867 }
-
868 
-
869 enum Mpeg4StartCodes {
-
870  VISUAL_OBJECT_SEQUENCE_START_CODE = 0xb0,
-
871  VISUAL_OBJECT_SEQUENCE_END_CODE = 0xb1,
-
872  VISUAL_OBJECT_START_CODE = 0xb5,
-
873  VOP_START_CODE = 0xb6
-
874 };
-
875 
-
876 // Checks for a raw MPEG4 bitstream container.
-
877 static bool CheckMpeg4BitStream(const uint8_t* buffer, int buffer_size) {
-
878  // Defined in ISO/IEC 14496-2:2001.
-
879  // However, no length ... simply scan for start code values.
-
880  // Note tags are very similar to H.264.
-
881  RCHECK(buffer_size > 4);
-
882 
-
883  int offset = 0;
-
884  int sequence_start_count = 0;
-
885  int sequence_end_count = 0;
-
886  int visual_object_count = 0;
-
887  int vop_count = 0;
-
888  while (true) {
-
889  // Advance to start_code, if there is one.
-
890  if (!AdvanceToStartCode(buffer, buffer_size, &offset, 6, 24, 1)) {
-
891  // Not a complete sequence in memory, so return true if we've seen a
-
892  // visual_object_sequence_start_code and a visual_object_start_code.
-
893  return (sequence_start_count > 0 && visual_object_count > 0);
-
894  }
+
840  // Get adaptation_field_length and verify it.
+
841  int adaptation_field_length = ReadBits(&reader, 8);
+
842  if (adaptation_field_control == 2)
+
843  RCHECK(adaptation_field_length == 183);
+
844  else
+
845  RCHECK(adaptation_field_length <= 182);
+
846  }
+
847 
+
848  // Attempt to determine the packet length on the first packet.
+
849  if (packet_length < 0) {
+
850  if (buffer[offset + 188] == kMpeg2SyncWord)
+
851  packet_length = 188;
+
852  else if (buffer[offset + 192] == kMpeg2SyncWord)
+
853  packet_length = 192;
+
854  else if (buffer[offset + 204] == kMpeg2SyncWord)
+
855  packet_length = 204;
+
856  else
+
857  packet_length = 208;
+
858  }
+
859  offset += packet_length;
+
860  }
+
861  return true;
+
862 }
+
863 
+
864 enum Mpeg4StartCodes {
+
865  VISUAL_OBJECT_SEQUENCE_START_CODE = 0xb0,
+
866  VISUAL_OBJECT_SEQUENCE_END_CODE = 0xb1,
+
867  VISUAL_OBJECT_START_CODE = 0xb5,
+
868  VOP_START_CODE = 0xb6
+
869 };
+
870 
+
871 // Checks for a raw MPEG4 bitstream container.
+
872 static bool CheckMpeg4BitStream(const uint8_t* buffer, int buffer_size) {
+
873  // Defined in ISO/IEC 14496-2:2001.
+
874  // However, no length ... simply scan for start code values.
+
875  // Note tags are very similar to H.264.
+
876  RCHECK(buffer_size > 4);
+
877 
+
878  int offset = 0;
+
879  int sequence_start_count = 0;
+
880  int sequence_end_count = 0;
+
881  int visual_object_count = 0;
+
882  int vop_count = 0;
+
883  while (true) {
+
884  // Advance to start_code, if there is one.
+
885  if (!AdvanceToStartCode(buffer, buffer_size, &offset, 6, 24, 1)) {
+
886  // Not a complete sequence in memory, so return true if we've seen a
+
887  // visual_object_sequence_start_code and a visual_object_start_code.
+
888  return (sequence_start_count > 0 && visual_object_count > 0);
+
889  }
+
890 
+
891  // Now verify the block. AdvanceToStartCode() made sure that there are
+
892  // at least 6 bytes remaining in the buffer.
+
893  BitReader reader(buffer + offset, 6);
+
894  RCHECK(ReadBits(&reader, 24) == 1);
895 
-
896  // Now verify the block. AdvanceToStartCode() made sure that there are
-
897  // at least 6 bytes remaining in the buffer.
-
898  BitReader reader(buffer + offset, 6);
-
899  RCHECK(ReadBits(&reader, 24) == 1);
-
900 
-
901  int start_code = ReadBits(&reader, 8);
-
902  RCHECK(start_code < 0x30 || start_code > 0xaf); // 30..AF and
-
903  RCHECK(start_code < 0xb7 || start_code > 0xb9); // B7..B9 reserved
-
904 
-
905  switch (start_code) {
-
906  case VISUAL_OBJECT_SEQUENCE_START_CODE: {
-
907  ++sequence_start_count;
-
908  // Verify profile in not one of many reserved values.
-
909  int profile = ReadBits(&reader, 8);
-
910  RCHECK(profile > 0);
-
911  RCHECK(profile < 0x04 || profile > 0x10);
-
912  RCHECK(profile < 0x13 || profile > 0x20);
-
913  RCHECK(profile < 0x23 || profile > 0x31);
-
914  RCHECK(profile < 0x35 || profile > 0x41);
-
915  RCHECK(profile < 0x43 || profile > 0x60);
-
916  RCHECK(profile < 0x65 || profile > 0x70);
-
917  RCHECK(profile < 0x73 || profile > 0x80);
-
918  RCHECK(profile < 0x83 || profile > 0x90);
-
919  RCHECK(profile < 0x95 || profile > 0xa0);
-
920  RCHECK(profile < 0xa4 || profile > 0xb0);
-
921  RCHECK(profile < 0xb5 || profile > 0xc0);
-
922  RCHECK(profile < 0xc3 || profile > 0xd0);
-
923  RCHECK(profile < 0xe4);
+
896  int start_code = ReadBits(&reader, 8);
+
897  RCHECK(start_code < 0x30 || start_code > 0xaf); // 30..AF and
+
898  RCHECK(start_code < 0xb7 || start_code > 0xb9); // B7..B9 reserved
+
899 
+
900  switch (start_code) {
+
901  case VISUAL_OBJECT_SEQUENCE_START_CODE: {
+
902  ++sequence_start_count;
+
903  // Verify profile in not one of many reserved values.
+
904  int profile = ReadBits(&reader, 8);
+
905  RCHECK(profile > 0);
+
906  RCHECK(profile < 0x04 || profile > 0x10);
+
907  RCHECK(profile < 0x13 || profile > 0x20);
+
908  RCHECK(profile < 0x23 || profile > 0x31);
+
909  RCHECK(profile < 0x35 || profile > 0x41);
+
910  RCHECK(profile < 0x43 || profile > 0x60);
+
911  RCHECK(profile < 0x65 || profile > 0x70);
+
912  RCHECK(profile < 0x73 || profile > 0x80);
+
913  RCHECK(profile < 0x83 || profile > 0x90);
+
914  RCHECK(profile < 0x95 || profile > 0xa0);
+
915  RCHECK(profile < 0xa4 || profile > 0xb0);
+
916  RCHECK(profile < 0xb5 || profile > 0xc0);
+
917  RCHECK(profile < 0xc3 || profile > 0xd0);
+
918  RCHECK(profile < 0xe4);
+
919  break;
+
920  }
+
921 
+
922  case VISUAL_OBJECT_SEQUENCE_END_CODE:
+
923  RCHECK(++sequence_end_count == sequence_start_count);
924  break;
-
925  }
-
926 
-
927  case VISUAL_OBJECT_SEQUENCE_END_CODE:
-
928  RCHECK(++sequence_end_count == sequence_start_count);
-
929  break;
-
930 
-
931  case VISUAL_OBJECT_START_CODE: {
-
932  ++visual_object_count;
-
933  if (ReadBits(&reader, 1) == 1) {
-
934  int visual_object_verid = ReadBits(&reader, 4);
-
935  RCHECK(visual_object_verid > 0 && visual_object_verid < 3);
-
936  RCHECK(ReadBits(&reader, 3) != 0);
-
937  }
-
938  int visual_object_type = ReadBits(&reader, 4);
-
939  RCHECK(visual_object_type > 0 && visual_object_type < 6);
+
925 
+
926  case VISUAL_OBJECT_START_CODE: {
+
927  ++visual_object_count;
+
928  if (ReadBits(&reader, 1) == 1) {
+
929  int visual_object_verid = ReadBits(&reader, 4);
+
930  RCHECK(visual_object_verid > 0 && visual_object_verid < 3);
+
931  RCHECK(ReadBits(&reader, 3) != 0);
+
932  }
+
933  int visual_object_type = ReadBits(&reader, 4);
+
934  RCHECK(visual_object_type > 0 && visual_object_type < 6);
+
935  break;
+
936  }
+
937 
+
938  case VOP_START_CODE:
+
939  RCHECK(++vop_count <= visual_object_count);
940  break;
-
941  }
-
942 
-
943  case VOP_START_CODE:
-
944  RCHECK(++vop_count <= visual_object_count);
-
945  break;
-
946  }
-
947  // Skip this block.
-
948  offset += 6;
-
949  }
-
950 }
-
951 
-
952 // Additional checks for a MOV/QuickTime/MPEG4 container.
-
953 static bool CheckMov(const uint8_t* buffer, int buffer_size) {
-
954  // Reference: ISO/IEC 14496-12:2005(E).
-
955  // (http://standards.iso.org/ittf/PubliclyAvailableStandards/c061988_ISO_IEC_14496-12_2012.zip)
-
956  RCHECK(buffer_size > 8);
-
957 
-
958  int offset = 0;
-
959  while (offset + 8 < buffer_size) {
-
960  int atomsize = Read32(buffer + offset);
-
961  uint32_t atomtype = Read32(buffer + offset + 4);
-
962  // Only need to check for ones that are valid at the top level.
-
963  switch (atomtype) {
-
964  case TAG('f','t','y','p'):
-
965  case TAG('p','d','i','n'):
-
966  case TAG('m','o','o','v'):
-
967  case TAG('m','o','o','f'):
-
968  case TAG('m','f','r','a'):
-
969  case TAG('m','d','a','t'):
-
970  case TAG('f','r','e','e'):
-
971  case TAG('s','k','i','p'):
-
972  case TAG('m','e','t','a'):
-
973  case TAG('m','e','c','o'):
-
974  case TAG('s','t','y','p'):
-
975  case TAG('s','i','d','x'):
-
976  case TAG('s','s','i','x'):
-
977  case TAG('p','r','f','t'):
-
978  case TAG('b','l','o','c'):
-
979  break;
-
980  default:
-
981  return false;
-
982  }
-
983  if (atomsize == 1) {
-
984  // Indicates that the length is the next 64bits.
-
985  if (offset + 16 > buffer_size)
-
986  break;
-
987  if (Read32(buffer + offset + 8) != 0)
-
988  break; // Offset is way past buffer size.
-
989  atomsize = Read32(buffer + offset + 12);
-
990  }
-
991  if (atomsize <= 0)
-
992  break; // Indicates the last atom or length too big.
-
993  offset += atomsize;
-
994  }
-
995  return true;
-
996 }
-
997 
-
998 enum MPEGVersion {
-
999  VERSION_25 = 0,
-
1000  VERSION_RESERVED,
-
1001  VERSION_2,
-
1002  VERSION_1
-
1003 };
-
1004 enum MPEGLayer {
-
1005  L_RESERVED = 0,
-
1006  LAYER_3,
-
1007  LAYER_2,
-
1008  LAYER_1
-
1009 };
-
1010 
-
1011 static int kSampleRateTable[4][4] = { { 11025, 12000, 8000, 0 }, // v2.5
-
1012  { 0, 0, 0, 0 }, // not used
-
1013  { 22050, 24000, 16000, 0 }, // v2
-
1014  { 44100, 48000, 32000, 0 } // v1
-
1015 };
-
1016 
-
1017 static int kBitRateTableV1L1[16] = { 0, 32, 64, 96, 128, 160, 192, 224, 256,
-
1018  288, 320, 352, 384, 416, 448, 0 };
-
1019 static int kBitRateTableV1L2[16] = { 0, 32, 48, 56, 64, 80, 96, 112, 128, 160,
-
1020  192, 224, 256, 320, 384, 0 };
-
1021 static int kBitRateTableV1L3[16] = { 0, 32, 40, 48, 56, 64, 80, 96, 112, 128,
-
1022  160, 192, 224, 256, 320, 0 };
-
1023 static int kBitRateTableV2L1[16] = { 0, 32, 48, 56, 64, 80, 96, 112, 128, 144,
-
1024  160, 176, 192, 224, 256, 0 };
-
1025 static int kBitRateTableV2L23[16] = { 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96,
-
1026  112, 128, 144, 160, 0 };
-
1027 
-
1028 static bool ValidMpegAudioFrameHeader(const uint8_t* header,
-
1029  int header_size,
-
1030  int* framesize) {
-
1031  // Reference: http://mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm.
-
1032  DCHECK_GE(header_size, 4);
-
1033  *framesize = 0;
-
1034  BitReader reader(header, 4); // Header can only be 4 bytes long.
-
1035 
-
1036  // Verify frame sync (11 bits) are all set.
-
1037  RCHECK(ReadBits(&reader, 11) == 0x7ff);
-
1038 
-
1039  // Verify MPEG audio version id.
-
1040  int version = ReadBits(&reader, 2);
-
1041  RCHECK(version != 1); // Reserved.
-
1042 
-
1043  // Verify layer.
-
1044  int layer = ReadBits(&reader, 2);
-
1045  RCHECK(layer != 0);
-
1046 
-
1047  // Skip protection bit.
-
1048  reader.SkipBits(1);
-
1049 
-
1050  // Verify bitrate index.
-
1051  int bitrate_index = ReadBits(&reader, 4);
-
1052  RCHECK(bitrate_index != 0xf);
-
1053 
-
1054  // Verify sampling rate frequency index.
-
1055  int sampling_index = ReadBits(&reader, 2);
-
1056  RCHECK(sampling_index != 3);
-
1057 
-
1058  // Get padding bit.
-
1059  int padding = ReadBits(&reader, 1);
-
1060 
-
1061  // Frame size:
-
1062  // For Layer I files = (12 * BitRate / SampleRate + Padding) * 4
-
1063  // For others = 144 * BitRate / SampleRate + Padding
-
1064  // Unfortunately, BitRate and SampleRate are coded.
-
1065  int sampling_rate = kSampleRateTable[version][sampling_index];
-
1066  int bitrate;
-
1067  if (version == VERSION_1) {
-
1068  if (layer == LAYER_1)
-
1069  bitrate = kBitRateTableV1L1[bitrate_index];
-
1070  else if (layer == LAYER_2)
-
1071  bitrate = kBitRateTableV1L2[bitrate_index];
+
941  }
+
942  // Skip this block.
+
943  offset += 6;
+
944  }
+
945 }
+
946 
+
947 // Additional checks for a MOV/QuickTime/MPEG4 container.
+
948 static bool CheckMov(const uint8_t* buffer, int buffer_size) {
+
949  // Reference: ISO/IEC 14496-12:2005(E).
+
950  // (http://standards.iso.org/ittf/PubliclyAvailableStandards/c061988_ISO_IEC_14496-12_2012.zip)
+
951  RCHECK(buffer_size > 8);
+
952 
+
953  int offset = 0;
+
954  while (offset + 8 < buffer_size) {
+
955  int atomsize = Read32(buffer + offset);
+
956  uint32_t atomtype = Read32(buffer + offset + 4);
+
957  // Only need to check for ones that are valid at the top level.
+
958  switch (atomtype) {
+
959  case TAG('f','t','y','p'):
+
960  case TAG('p','d','i','n'):
+
961  case TAG('m','o','o','v'):
+
962  case TAG('m','o','o','f'):
+
963  case TAG('m','f','r','a'):
+
964  case TAG('m','d','a','t'):
+
965  case TAG('f','r','e','e'):
+
966  case TAG('s','k','i','p'):
+
967  case TAG('m','e','t','a'):
+
968  case TAG('m','e','c','o'):
+
969  case TAG('s','t','y','p'):
+
970  case TAG('s','i','d','x'):
+
971  case TAG('s','s','i','x'):
+
972  case TAG('p','r','f','t'):
+
973  case TAG('b','l','o','c'):
+
974  break;
+
975  default:
+
976  return false;
+
977  }
+
978  if (atomsize == 1) {
+
979  // Indicates that the length is the next 64bits.
+
980  if (offset + 16 > buffer_size)
+
981  break;
+
982  if (Read32(buffer + offset + 8) != 0)
+
983  break; // Offset is way past buffer size.
+
984  atomsize = Read32(buffer + offset + 12);
+
985  }
+
986  if (atomsize <= 0)
+
987  break; // Indicates the last atom or length too big.
+
988  offset += atomsize;
+
989  }
+
990  return true;
+
991 }
+
992 
+
993 enum MPEGVersion {
+
994  VERSION_25 = 0,
+
995  VERSION_RESERVED,
+
996  VERSION_2,
+
997  VERSION_1
+
998 };
+
999 enum MPEGLayer {
+
1000  L_RESERVED = 0,
+
1001  LAYER_3,
+
1002  LAYER_2,
+
1003  LAYER_1
+
1004 };
+
1005 
+
1006 static int kSampleRateTable[4][4] = { { 11025, 12000, 8000, 0 }, // v2.5
+
1007  { 0, 0, 0, 0 }, // not used
+
1008  { 22050, 24000, 16000, 0 }, // v2
+
1009  { 44100, 48000, 32000, 0 } // v1
+
1010 };
+
1011 
+
1012 static int kBitRateTableV1L1[16] = { 0, 32, 64, 96, 128, 160, 192, 224, 256,
+
1013  288, 320, 352, 384, 416, 448, 0 };
+
1014 static int kBitRateTableV1L2[16] = { 0, 32, 48, 56, 64, 80, 96, 112, 128, 160,
+
1015  192, 224, 256, 320, 384, 0 };
+
1016 static int kBitRateTableV1L3[16] = { 0, 32, 40, 48, 56, 64, 80, 96, 112, 128,
+
1017  160, 192, 224, 256, 320, 0 };
+
1018 static int kBitRateTableV2L1[16] = { 0, 32, 48, 56, 64, 80, 96, 112, 128, 144,
+
1019  160, 176, 192, 224, 256, 0 };
+
1020 static int kBitRateTableV2L23[16] = { 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96,
+
1021  112, 128, 144, 160, 0 };
+
1022 
+
1023 static bool ValidMpegAudioFrameHeader(const uint8_t* header,
+
1024  int header_size,
+
1025  int* framesize) {
+
1026  // Reference: http://mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm.
+
1027  DCHECK_GE(header_size, 4);
+
1028  *framesize = 0;
+
1029  BitReader reader(header, 4); // Header can only be 4 bytes long.
+
1030 
+
1031  // Verify frame sync (11 bits) are all set.
+
1032  RCHECK(ReadBits(&reader, 11) == 0x7ff);
+
1033 
+
1034  // Verify MPEG audio version id.
+
1035  int version = ReadBits(&reader, 2);
+
1036  RCHECK(version != 1); // Reserved.
+
1037 
+
1038  // Verify layer.
+
1039  int layer = ReadBits(&reader, 2);
+
1040  RCHECK(layer != 0);
+
1041 
+
1042  // Skip protection bit.
+
1043  reader.SkipBits(1);
+
1044 
+
1045  // Verify bitrate index.
+
1046  int bitrate_index = ReadBits(&reader, 4);
+
1047  RCHECK(bitrate_index != 0xf);
+
1048 
+
1049  // Verify sampling rate frequency index.
+
1050  int sampling_index = ReadBits(&reader, 2);
+
1051  RCHECK(sampling_index != 3);
+
1052 
+
1053  // Get padding bit.
+
1054  int padding = ReadBits(&reader, 1);
+
1055 
+
1056  // Frame size:
+
1057  // For Layer I files = (12 * BitRate / SampleRate + Padding) * 4
+
1058  // For others = 144 * BitRate / SampleRate + Padding
+
1059  // Unfortunately, BitRate and SampleRate are coded.
+
1060  int sampling_rate = kSampleRateTable[version][sampling_index];
+
1061  int bitrate;
+
1062  if (version == VERSION_1) {
+
1063  if (layer == LAYER_1)
+
1064  bitrate = kBitRateTableV1L1[bitrate_index];
+
1065  else if (layer == LAYER_2)
+
1066  bitrate = kBitRateTableV1L2[bitrate_index];
+
1067  else
+
1068  bitrate = kBitRateTableV1L3[bitrate_index];
+
1069  } else {
+
1070  if (layer == LAYER_1)
+
1071  bitrate = kBitRateTableV2L1[bitrate_index];
1072  else
-
1073  bitrate = kBitRateTableV1L3[bitrate_index];
-
1074  } else {
-
1075  if (layer == LAYER_1)
-
1076  bitrate = kBitRateTableV2L1[bitrate_index];
-
1077  else
-
1078  bitrate = kBitRateTableV2L23[bitrate_index];
-
1079  }
-
1080  if (layer == LAYER_1)
-
1081  *framesize = ((12000 * bitrate) / sampling_rate + padding) * 4;
-
1082  else
-
1083  *framesize = (144000 * bitrate) / sampling_rate + padding;
-
1084  return (bitrate > 0 && sampling_rate > 0);
-
1085 }
-
1086 
-
1087 // Extract a size encoded the MP3 way.
-
1088 static int GetMp3HeaderSize(const uint8_t* buffer, int buffer_size) {
-
1089  DCHECK_GE(buffer_size, 9);
-
1090  int size = ((buffer[6] & 0x7f) << 21) + ((buffer[7] & 0x7f) << 14) +
-
1091  ((buffer[8] & 0x7f) << 7) + (buffer[9] & 0x7f) + 10;
-
1092  if (buffer[5] & 0x10) // Footer added?
-
1093  size += 10;
-
1094  return size;
-
1095 }
-
1096 
-
1097 // Additional checks for a MP3 container.
-
1098 static bool CheckMp3(const uint8_t* buffer, int buffer_size, bool seenHeader) {
-
1099  RCHECK(buffer_size >= 10); // Must be enough to read the initial header.
-
1100 
-
1101  int framesize;
-
1102  int numSeen = 0;
-
1103  int offset = 0;
-
1104  if (seenHeader) {
-
1105  offset = GetMp3HeaderSize(buffer, buffer_size);
-
1106  } else {
-
1107  // Skip over leading 0's.
-
1108  while (offset < buffer_size && buffer[offset] == 0)
-
1109  ++offset;
-
1110  }
-
1111 
-
1112  while (offset + 3 < buffer_size) {
-
1113  RCHECK(ValidMpegAudioFrameHeader(
-
1114  buffer + offset, buffer_size - offset, &framesize));
-
1115 
-
1116  // Have we seen enough valid headers?
-
1117  if (++numSeen > 10)
-
1118  return true;
-
1119  offset += framesize;
-
1120  }
-
1121  // Off the end of the buffer, return success if a few valid headers seen.
-
1122  return numSeen > 2;
-
1123 }
-
1124 
-
1125 // Check that the next characters in |buffer| represent a number. The format
-
1126 // accepted is optional whitespace followed by 1 or more digits. |max_digits|
-
1127 // specifies the maximum number of digits to process. Returns true if a valid
-
1128 // number is found, false otherwise.
-
1129 static bool VerifyNumber(const uint8_t* buffer,
-
1130  int buffer_size,
-
1131  int* offset,
-
1132  int max_digits) {
-
1133  RCHECK(*offset < buffer_size);
-
1134 
-
1135  // Skip over any leading space.
-
1136  while (isspace(buffer[*offset])) {
-
1137  ++(*offset);
-
1138  RCHECK(*offset < buffer_size);
-
1139  }
-
1140 
-
1141  // Need to process up to max_digits digits.
-
1142  int numSeen = 0;
-
1143  while (--max_digits >= 0 && isdigit(buffer[*offset])) {
-
1144  ++numSeen;
-
1145  ++(*offset);
-
1146  if (*offset >= buffer_size)
-
1147  return true; // Out of space but seen a digit.
-
1148  }
-
1149 
-
1150  // Success if at least one digit seen.
-
1151  return (numSeen > 0);
-
1152 }
-
1153 
-
1154 // Check that the next character in |buffer| is one of |c1| or |c2|. |c2| is
-
1155 // optional. Returns true if there is a match, false if no match or out of
-
1156 // space.
-
1157 static inline bool VerifyCharacters(const uint8_t* buffer,
-
1158  int buffer_size,
-
1159  int* offset,
-
1160  char c1,
-
1161  char c2) {
-
1162  RCHECK(*offset < buffer_size);
-
1163  char c = static_cast<char>(buffer[(*offset)++]);
-
1164  return (c == c1 || (c == c2 && c2 != 0));
-
1165 }
+
1073  bitrate = kBitRateTableV2L23[bitrate_index];
+
1074  }
+
1075  if (layer == LAYER_1)
+
1076  *framesize = ((12000 * bitrate) / sampling_rate + padding) * 4;
+
1077  else
+
1078  *framesize = (144000 * bitrate) / sampling_rate + padding;
+
1079  return (bitrate > 0 && sampling_rate > 0);
+
1080 }
+
1081 
+
1082 // Extract a size encoded the MP3 way.
+
1083 static int GetMp3HeaderSize(const uint8_t* buffer, int buffer_size) {
+
1084  DCHECK_GE(buffer_size, 9);
+
1085  int size = ((buffer[6] & 0x7f) << 21) + ((buffer[7] & 0x7f) << 14) +
+
1086  ((buffer[8] & 0x7f) << 7) + (buffer[9] & 0x7f) + 10;
+
1087  if (buffer[5] & 0x10) // Footer added?
+
1088  size += 10;
+
1089  return size;
+
1090 }
+
1091 
+
1092 // Additional checks for a MP3 container.
+
1093 static bool CheckMp3(const uint8_t* buffer, int buffer_size, bool seenHeader) {
+
1094  RCHECK(buffer_size >= 10); // Must be enough to read the initial header.
+
1095 
+
1096  int framesize;
+
1097  int numSeen = 0;
+
1098  int offset = 0;
+
1099  if (seenHeader) {
+
1100  offset = GetMp3HeaderSize(buffer, buffer_size);
+
1101  } else {
+
1102  // Skip over leading 0's.
+
1103  while (offset < buffer_size && buffer[offset] == 0)
+
1104  ++offset;
+
1105  }
+
1106 
+
1107  while (offset + 3 < buffer_size) {
+
1108  RCHECK(ValidMpegAudioFrameHeader(
+
1109  buffer + offset, buffer_size - offset, &framesize));
+
1110 
+
1111  // Have we seen enough valid headers?
+
1112  if (++numSeen > 10)
+
1113  return true;
+
1114  offset += framesize;
+
1115  }
+
1116  // Off the end of the buffer, return success if a few valid headers seen.
+
1117  return numSeen > 2;
+
1118 }
+
1119 
+
1120 // Check that the next characters in |buffer| represent a number. The format
+
1121 // accepted is optional whitespace followed by 1 or more digits. |max_digits|
+
1122 // specifies the maximum number of digits to process. Returns true if a valid
+
1123 // number is found, false otherwise.
+
1124 static bool VerifyNumber(const uint8_t* buffer,
+
1125  int buffer_size,
+
1126  int* offset,
+
1127  int max_digits) {
+
1128  RCHECK(*offset < buffer_size);
+
1129 
+
1130  // Skip over any leading space.
+
1131  while (isspace(buffer[*offset])) {
+
1132  ++(*offset);
+
1133  RCHECK(*offset < buffer_size);
+
1134  }
+
1135 
+
1136  // Need to process up to max_digits digits.
+
1137  int numSeen = 0;
+
1138  while (--max_digits >= 0 && isdigit(buffer[*offset])) {
+
1139  ++numSeen;
+
1140  ++(*offset);
+
1141  if (*offset >= buffer_size)
+
1142  return true; // Out of space but seen a digit.
+
1143  }
+
1144 
+
1145  // Success if at least one digit seen.
+
1146  return (numSeen > 0);
+
1147 }
+
1148 
+
1149 // Check that the next character in |buffer| is one of |c1| or |c2|. |c2| is
+
1150 // optional. Returns true if there is a match, false if no match or out of
+
1151 // space.
+
1152 static inline bool VerifyCharacters(const uint8_t* buffer,
+
1153  int buffer_size,
+
1154  int* offset,
+
1155  char c1,
+
1156  char c2) {
+
1157  RCHECK(*offset < buffer_size);
+
1158  char c = static_cast<char>(buffer[(*offset)++]);
+
1159  return (c == c1 || (c == c2 && c2 != 0));
+
1160 }
+
1161 
+
1162 // Checks for a SRT container.
+
1163 static bool CheckSrt(const uint8_t* buffer, int buffer_size) {
+
1164  // Reference: http://en.wikipedia.org/wiki/SubRip
+
1165  RCHECK(buffer_size > 20);
1166 
-
1167 // Checks for a SRT container.
-
1168 static bool CheckSrt(const uint8_t* buffer, int buffer_size) {
-
1169  // Reference: http://en.wikipedia.org/wiki/SubRip
-
1170  RCHECK(buffer_size > 20);
+
1167  // First line should just be the subtitle sequence number.
+
1168  int offset = StartsWith(buffer, buffer_size, UTF8_BYTE_ORDER_MARK) ? 3 : 0;
+
1169  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100));
+
1170  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '\n', '\r'));
1171 
-
1172  // First line should just be the subtitle sequence number.
-
1173  int offset = StartsWith(buffer, buffer_size, UTF8_BYTE_ORDER_MARK) ? 3 : 0;
-
1174  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100));
-
1175  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '\n', '\r'));
-
1176 
-
1177  // Skip any additional \n\r.
-
1178  while (VerifyCharacters(buffer, buffer_size, &offset, '\n', '\r')) {}
-
1179  --offset; // Since VerifyCharacters() gobbled up the next non-CR/LF.
-
1180 
-
1181  // Second line should look like the following:
-
1182  // 00:00:10,500 --> 00:00:13,000
-
1183  // Units separator can be , or .
-
1184  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100));
-
1185  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0));
-
1186  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2));
-
1187  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0));
-
1188  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2));
-
1189  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ',', '.'));
-
1190  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 3));
-
1191  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ' ', 0));
-
1192  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '-', 0));
-
1193  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '-', 0));
-
1194  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '>', 0));
-
1195  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ' ', 0));
-
1196  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100));
-
1197  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0));
-
1198  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2));
-
1199  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0));
-
1200  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2));
-
1201  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ',', '.'));
-
1202  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 3));
-
1203  return true;
-
1204 }
-
1205 
-
1206 // Read a Matroska Element Id.
-
1207 static int GetElementId(BitReader* reader) {
-
1208  // Element ID is coded with the leading zero bits (max 3) determining size.
-
1209  // If it is an invalid encoding or the end of the buffer is reached,
-
1210  // return -1 as a tag that won't be expected.
-
1211  if (reader->bits_available() >= 8) {
-
1212  int num_bits_to_read = 0;
-
1213  static int prefix[] = { 0x80, 0x4000, 0x200000, 0x10000000 };
-
1214  for (int i = 0; i < 4; ++i) {
-
1215  num_bits_to_read += 7;
-
1216  if (ReadBits(reader, 1) == 1) {
-
1217  if (reader->bits_available() < num_bits_to_read)
-
1218  break;
-
1219  // prefix[] adds back the bits read individually.
-
1220  return ReadBits(reader, num_bits_to_read) | prefix[i];
-
1221  }
-
1222  }
-
1223  }
-
1224  // Invalid encoding, return something not expected.
-
1225  return -1;
-
1226 }
-
1227 
-
1228 // Read a Matroska Unsigned Integer (VINT).
-
1229 static uint64_t GetVint(BitReader* reader) {
-
1230  // Values are coded with the leading zero bits (max 7) determining size.
-
1231  // If it is an invalid coding or the end of the buffer is reached,
-
1232  // return something that will go off the end of the buffer.
-
1233  if (reader->bits_available() >= 8) {
-
1234  int num_bits_to_read = 0;
-
1235  for (int i = 0; i < 8; ++i) {
-
1236  num_bits_to_read += 7;
-
1237  if (ReadBits(reader, 1) == 1) {
-
1238  if (reader->bits_available() < num_bits_to_read)
-
1239  break;
-
1240  return ReadBits(reader, num_bits_to_read);
-
1241  }
-
1242  }
-
1243  }
-
1244  // Incorrect format (more than 7 leading 0's) or off the end of the buffer.
-
1245  // Since the return value is used as a byte size, return a value that will
-
1246  // cause a failure when used.
-
1247  return (reader->bits_available() / 8) + 2;
-
1248 }
+
1172  // Skip any additional \n\r.
+
1173  while (VerifyCharacters(buffer, buffer_size, &offset, '\n', '\r')) {}
+
1174  --offset; // Since VerifyCharacters() gobbled up the next non-CR/LF.
+
1175 
+
1176  // Second line should look like the following:
+
1177  // 00:00:10,500 --> 00:00:13,000
+
1178  // Units separator can be , or .
+
1179  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100));
+
1180  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0));
+
1181  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2));
+
1182  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0));
+
1183  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2));
+
1184  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ',', '.'));
+
1185  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 3));
+
1186  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ' ', 0));
+
1187  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '-', 0));
+
1188  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '-', 0));
+
1189  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '>', 0));
+
1190  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ' ', 0));
+
1191  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100));
+
1192  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0));
+
1193  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2));
+
1194  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0));
+
1195  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2));
+
1196  RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ',', '.'));
+
1197  RCHECK(VerifyNumber(buffer, buffer_size, &offset, 3));
+
1198  return true;
+
1199 }
+
1200 
+
1201 // Read a Matroska Element Id.
+
1202 static int GetElementId(BitReader* reader) {
+
1203  // Element ID is coded with the leading zero bits (max 3) determining size.
+
1204  // If it is an invalid encoding or the end of the buffer is reached,
+
1205  // return -1 as a tag that won't be expected.
+
1206  if (reader->bits_available() >= 8) {
+
1207  int num_bits_to_read = 0;
+
1208  static int prefix[] = { 0x80, 0x4000, 0x200000, 0x10000000 };
+
1209  for (int i = 0; i < 4; ++i) {
+
1210  num_bits_to_read += 7;
+
1211  if (ReadBits(reader, 1) == 1) {
+
1212  if (reader->bits_available() < num_bits_to_read)
+
1213  break;
+
1214  // prefix[] adds back the bits read individually.
+
1215  return ReadBits(reader, num_bits_to_read) | prefix[i];
+
1216  }
+
1217  }
+
1218  }
+
1219  // Invalid encoding, return something not expected.
+
1220  return -1;
+
1221 }
+
1222 
+
1223 // Read a Matroska Unsigned Integer (VINT).
+
1224 static uint64_t GetVint(BitReader* reader) {
+
1225  // Values are coded with the leading zero bits (max 7) determining size.
+
1226  // If it is an invalid coding or the end of the buffer is reached,
+
1227  // return something that will go off the end of the buffer.
+
1228  if (reader->bits_available() >= 8) {
+
1229  int num_bits_to_read = 0;
+
1230  for (int i = 0; i < 8; ++i) {
+
1231  num_bits_to_read += 7;
+
1232  if (ReadBits(reader, 1) == 1) {
+
1233  if (reader->bits_available() < num_bits_to_read)
+
1234  break;
+
1235  return ReadBits(reader, num_bits_to_read);
+
1236  }
+
1237  }
+
1238  }
+
1239  // Incorrect format (more than 7 leading 0's) or off the end of the buffer.
+
1240  // Since the return value is used as a byte size, return a value that will
+
1241  // cause a failure when used.
+
1242  return (reader->bits_available() / 8) + 2;
+
1243 }
+
1244 
+
1245 // Additional checks for a WEBM container.
+
1246 static bool CheckWebm(const uint8_t* buffer, int buffer_size) {
+
1247  // Reference: http://www.matroska.org/technical/specs/index.html
+
1248  RCHECK(buffer_size > 12);
1249 
-
1250 // Additional checks for a WEBM container.
-
1251 static bool CheckWebm(const uint8_t* buffer, int buffer_size) {
-
1252  // Reference: http://www.matroska.org/technical/specs/index.html
-
1253  RCHECK(buffer_size > 12);
+
1250  BitReader reader(buffer, buffer_size);
+
1251 
+
1252  // Verify starting Element Id.
+
1253  RCHECK(GetElementId(&reader) == 0x1a45dfa3);
1254 
-
1255  BitReader reader(buffer, buffer_size);
-
1256 
-
1257  // Verify starting Element Id.
-
1258  RCHECK(GetElementId(&reader) == 0x1a45dfa3);
-
1259 
-
1260  // Get the header size, and ensure there are enough bits to check.
-
1261  int header_size = GetVint(&reader);
-
1262  RCHECK(reader.bits_available() / 8 >= header_size);
-
1263 
-
1264  // Loop through the header.
-
1265  while (reader.bits_available() > 0) {
-
1266  int tag = GetElementId(&reader);
-
1267  int tagsize = GetVint(&reader);
-
1268  switch (tag) {
-
1269  case 0x4286: // EBMLVersion
-
1270  case 0x42f7: // EBMLReadVersion
-
1271  case 0x42f2: // EBMLMaxIdLength
-
1272  case 0x42f3: // EBMLMaxSizeLength
-
1273  case 0x4287: // DocTypeVersion
-
1274  case 0x4285: // DocTypeReadVersion
-
1275  case 0xec: // void
-
1276  case 0xbf: // CRC32
-
1277  RCHECK(reader.SkipBits(tagsize * 8));
-
1278  break;
-
1279 
-
1280  case 0x4282: // EBMLDocType
-
1281  // Need to see "webm" or "matroska" next.
-
1282  switch (ReadBits(&reader, 32)) {
-
1283  case TAG('w', 'e', 'b', 'm') :
-
1284  return true;
-
1285  case TAG('m', 'a', 't', 'r') :
-
1286  return (ReadBits(&reader, 32) == TAG('o', 's', 'k', 'a'));
-
1287  }
-
1288  return false;
-
1289 
-
1290  default: // Unrecognized tag
-
1291  return false;
-
1292  }
-
1293  }
-
1294  return false;
-
1295 }
-
1296 
-
1297 enum VC1StartCodes {
-
1298  VC1_FRAME_START_CODE = 0x0d,
-
1299  VC1_ENTRY_POINT_START_CODE = 0x0e,
-
1300  VC1_SEQUENCE_START_CODE = 0x0f
-
1301 };
-
1302 
-
1303 // Checks for a VC1 bitstream container.
-
1304 static bool CheckVC1(const uint8_t* buffer, int buffer_size) {
-
1305  // Reference: SMPTE 421M
-
1306  // (http://standards.smpte.org/content/978-1-61482-555-5/st-421-2006/SEC1.body.pdf)
-
1307  // However, no length ... simply scan for start code values.
-
1308  // Expect to see SEQ | [ [ ENTRY ] PIC* ]*
-
1309  // Note tags are very similar to H.264.
-
1310 
-
1311  RCHECK(buffer_size >= 24);
-
1312 
-
1313  // First check for Bitstream Metadata Serialization (Annex L)
-
1314  if (buffer[0] == 0xc5 &&
-
1315  Read32(buffer + 4) == 0x04 &&
-
1316  Read32(buffer + 20) == 0x0c) {
-
1317  // Verify settings in STRUCT_C and STRUCT_A
-
1318  BitReader reader(buffer + 8, 12);
+
1255  // Get the header size, and ensure there are enough bits to check.
+
1256  int header_size = GetVint(&reader);
+
1257  RCHECK(reader.bits_available() / 8 >= header_size);
+
1258 
+
1259  // Loop through the header.
+
1260  while (reader.bits_available() > 0) {
+
1261  int tag = GetElementId(&reader);
+
1262  int tagsize = GetVint(&reader);
+
1263  switch (tag) {
+
1264  case 0x4286: // EBMLVersion
+
1265  case 0x42f7: // EBMLReadVersion
+
1266  case 0x42f2: // EBMLMaxIdLength
+
1267  case 0x42f3: // EBMLMaxSizeLength
+
1268  case 0x4287: // DocTypeVersion
+
1269  case 0x4285: // DocTypeReadVersion
+
1270  case 0xec: // void
+
1271  case 0xbf: // CRC32
+
1272  RCHECK(reader.SkipBits(tagsize * 8));
+
1273  break;
+
1274 
+
1275  case 0x4282: // EBMLDocType
+
1276  // Need to see "webm" or "matroska" next.
+
1277  switch (ReadBits(&reader, 32)) {
+
1278  case TAG('w', 'e', 'b', 'm') :
+
1279  return true;
+
1280  case TAG('m', 'a', 't', 'r') :
+
1281  return (ReadBits(&reader, 32) == TAG('o', 's', 'k', 'a'));
+
1282  }
+
1283  return false;
+
1284 
+
1285  default: // Unrecognized tag
+
1286  return false;
+
1287  }
+
1288  }
+
1289  return false;
+
1290 }
+
1291 
+
1292 enum VC1StartCodes {
+
1293  VC1_FRAME_START_CODE = 0x0d,
+
1294  VC1_ENTRY_POINT_START_CODE = 0x0e,
+
1295  VC1_SEQUENCE_START_CODE = 0x0f
+
1296 };
+
1297 
+
1298 // Checks for a VC1 bitstream container.
+
1299 static bool CheckVC1(const uint8_t* buffer, int buffer_size) {
+
1300  // Reference: SMPTE 421M
+
1301  // (http://standards.smpte.org/content/978-1-61482-555-5/st-421-2006/SEC1.body.pdf)
+
1302  // However, no length ... simply scan for start code values.
+
1303  // Expect to see SEQ | [ [ ENTRY ] PIC* ]*
+
1304  // Note tags are very similar to H.264.
+
1305 
+
1306  RCHECK(buffer_size >= 24);
+
1307 
+
1308  // First check for Bitstream Metadata Serialization (Annex L)
+
1309  if (buffer[0] == 0xc5 &&
+
1310  Read32(buffer + 4) == 0x04 &&
+
1311  Read32(buffer + 20) == 0x0c) {
+
1312  // Verify settings in STRUCT_C and STRUCT_A
+
1313  BitReader reader(buffer + 8, 12);
+
1314 
+
1315  int profile = ReadBits(&reader, 4);
+
1316  if (profile == 0 || profile == 4) { // simple or main
+
1317  // Skip FRMRTQ_POSTPROC, BITRTQ_POSTPROC, and LOOPFILTER.
+
1318  reader.SkipBits(3 + 5 + 1);
1319 
-
1320  int profile = ReadBits(&reader, 4);
-
1321  if (profile == 0 || profile == 4) { // simple or main
-
1322  // Skip FRMRTQ_POSTPROC, BITRTQ_POSTPROC, and LOOPFILTER.
-
1323  reader.SkipBits(3 + 5 + 1);
-
1324 
-
1325  // Next bit must be 0.
-
1326  RCHECK(ReadBits(&reader, 1) == 0);
-
1327 
-
1328  // Skip MULTIRES.
-
1329  reader.SkipBits(1);
-
1330 
-
1331  // Next bit must be 1.
-
1332  RCHECK(ReadBits(&reader, 1) == 1);
-
1333 
-
1334  // Skip FASTUVMC, EXTENDED_MV, DQUANT, and VSTRANSFORM.
-
1335  reader.SkipBits(1 + 1 + 2 + 1);
-
1336 
-
1337  // Next bit must be 0.
-
1338  RCHECK(ReadBits(&reader, 1) == 0);
-
1339 
-
1340  // Skip OVERLAP, SYNCMARKER, RANGERED, MAXBFRAMES, QUANTIZER, and
-
1341  // FINTERPFLAG.
-
1342  reader.SkipBits(1 + 1 + 1 + 3 + 2 + 1);
-
1343 
-
1344  // Next bit must be 1.
-
1345  RCHECK(ReadBits(&reader, 1) == 1);
+
1320  // Next bit must be 0.
+
1321  RCHECK(ReadBits(&reader, 1) == 0);
+
1322 
+
1323  // Skip MULTIRES.
+
1324  reader.SkipBits(1);
+
1325 
+
1326  // Next bit must be 1.
+
1327  RCHECK(ReadBits(&reader, 1) == 1);
+
1328 
+
1329  // Skip FASTUVMC, EXTENDED_MV, DQUANT, and VSTRANSFORM.
+
1330  reader.SkipBits(1 + 1 + 2 + 1);
+
1331 
+
1332  // Next bit must be 0.
+
1333  RCHECK(ReadBits(&reader, 1) == 0);
+
1334 
+
1335  // Skip OVERLAP, SYNCMARKER, RANGERED, MAXBFRAMES, QUANTIZER, and
+
1336  // FINTERPFLAG.
+
1337  reader.SkipBits(1 + 1 + 1 + 3 + 2 + 1);
+
1338 
+
1339  // Next bit must be 1.
+
1340  RCHECK(ReadBits(&reader, 1) == 1);
+
1341 
+
1342  } else {
+
1343  RCHECK(profile == 12); // Other profile values not allowed.
+
1344  RCHECK(ReadBits(&reader, 28) == 0);
+
1345  }
1346 
-
1347  } else {
-
1348  RCHECK(profile == 12); // Other profile values not allowed.
-
1349  RCHECK(ReadBits(&reader, 28) == 0);
-
1350  }
-
1351 
-
1352  // Now check HORIZ_SIZE and VERT_SIZE, which must be 8192 or less.
-
1353  RCHECK(ReadBits(&reader, 32) <= 8192);
-
1354  RCHECK(ReadBits(&reader, 32) <= 8192);
-
1355  return true;
-
1356  }
-
1357 
-
1358  // Buffer isn't Bitstream Metadata, so scan for start codes.
-
1359  int offset = 0;
-
1360  int sequence_start_code = 0;
-
1361  int frame_start_code = 0;
-
1362  while (true) {
-
1363  // Advance to start_code, if there is one.
-
1364  if (!AdvanceToStartCode(buffer, buffer_size, &offset, 5, 24, 1)) {
-
1365  // Not a complete sequence in memory, so return true if we've seen a
-
1366  // sequence start and a frame start (not checking entry points since
-
1367  // they only occur in advanced profiles).
-
1368  return (sequence_start_code > 0 && frame_start_code > 0);
-
1369  }
+
1347  // Now check HORIZ_SIZE and VERT_SIZE, which must be 8192 or less.
+
1348  RCHECK(ReadBits(&reader, 32) <= 8192);
+
1349  RCHECK(ReadBits(&reader, 32) <= 8192);
+
1350  return true;
+
1351  }
+
1352 
+
1353  // Buffer isn't Bitstream Metadata, so scan for start codes.
+
1354  int offset = 0;
+
1355  int sequence_start_code = 0;
+
1356  int frame_start_code = 0;
+
1357  while (true) {
+
1358  // Advance to start_code, if there is one.
+
1359  if (!AdvanceToStartCode(buffer, buffer_size, &offset, 5, 24, 1)) {
+
1360  // Not a complete sequence in memory, so return true if we've seen a
+
1361  // sequence start and a frame start (not checking entry points since
+
1362  // they only occur in advanced profiles).
+
1363  return (sequence_start_code > 0 && frame_start_code > 0);
+
1364  }
+
1365 
+
1366  // Now verify the block. AdvanceToStartCode() made sure that there are
+
1367  // at least 5 bytes remaining in the buffer.
+
1368  BitReader reader(buffer + offset, 5);
+
1369  RCHECK(ReadBits(&reader, 24) == 1);
1370 
-
1371  // Now verify the block. AdvanceToStartCode() made sure that there are
-
1372  // at least 5 bytes remaining in the buffer.
-
1373  BitReader reader(buffer + offset, 5);
-
1374  RCHECK(ReadBits(&reader, 24) == 1);
-
1375 
-
1376  // Keep track of the number of certain types received.
-
1377  switch (ReadBits(&reader, 8)) {
-
1378  case VC1_SEQUENCE_START_CODE: {
-
1379  ++sequence_start_code;
-
1380  switch (ReadBits(&reader, 2)) {
-
1381  case 0: // simple
-
1382  case 1: // main
-
1383  RCHECK(ReadBits(&reader, 2) == 0);
-
1384  break;
-
1385  case 2: // complex
-
1386  return false;
-
1387  case 3: // advanced
-
1388  RCHECK(ReadBits(&reader, 3) <= 4); // Verify level = 0..4
-
1389  RCHECK(ReadBits(&reader, 2) == 1); // Verify colordiff_format = 1
-
1390  break;
-
1391  }
-
1392  break;
-
1393  }
-
1394 
-
1395  case VC1_ENTRY_POINT_START_CODE:
-
1396  // No fields in entry data to check. However, it must occur after
-
1397  // sequence header.
-
1398  RCHECK(sequence_start_code > 0);
-
1399  break;
-
1400 
-
1401  case VC1_FRAME_START_CODE:
-
1402  ++frame_start_code;
-
1403  break;
-
1404  }
-
1405  offset += 5;
-
1406  }
-
1407 }
-
1408 
-
1409 // For some formats the signature is a bunch of characters. They are defined
-
1410 // below. Note that the first 4 characters of the string may be used as a TAG
-
1411 // in LookupContainerByFirst4. For signatures that contain embedded \0, use
-
1412 // uint8_t[].
-
1413 static const char kAmrSignature[] = "#!AMR";
-
1414 static const uint8_t kAsfSignature[] = {0x30, 0x26, 0xb2, 0x75, 0x8e, 0x66,
-
1415  0xcf, 0x11, 0xa6, 0xd9, 0x00, 0xaa,
-
1416  0x00, 0x62, 0xce, 0x6c};
-
1417 static const char kAssSignature[] = "[Script Info]";
-
1418 static const char kAssBomSignature[] = UTF8_BYTE_ORDER_MARK "[Script Info]";
-
1419 static const uint8_t kWtvSignature[] = {0xb7, 0xd8, 0x00, 0x20, 0x37, 0x49,
-
1420  0xda, 0x11, 0xa6, 0x4e, 0x00, 0x07,
-
1421  0xe9, 0x5e, 0xad, 0x8d};
-
1422 
-
1423 // Attempt to determine the container type from the buffer provided. This is
-
1424 // a simple pass, that uses the first 4 bytes of the buffer as an index to get
-
1425 // a rough idea of the container format.
-
1426 static MediaContainerName LookupContainerByFirst4(const uint8_t* buffer,
-
1427  int buffer_size) {
-
1428  // Minimum size that the code expects to exist without checking size.
-
1429  if (buffer_size < 12)
-
1430  return CONTAINER_UNKNOWN;
-
1431 
-
1432  uint32_t first4 = Read32(buffer);
-
1433  switch (first4) {
-
1434  case 0x1a45dfa3:
-
1435  if (CheckWebm(buffer, buffer_size))
-
1436  return CONTAINER_WEBM;
-
1437  break;
-
1438 
-
1439  case 0x3026b275:
-
1440  if (StartsWith(buffer,
-
1441  buffer_size,
-
1442  kAsfSignature,
-
1443  sizeof(kAsfSignature))) {
-
1444  return CONTAINER_ASF;
-
1445  }
+
1371  // Keep track of the number of certain types received.
+
1372  switch (ReadBits(&reader, 8)) {
+
1373  case VC1_SEQUENCE_START_CODE: {
+
1374  ++sequence_start_code;
+
1375  switch (ReadBits(&reader, 2)) {
+
1376  case 0: // simple
+
1377  case 1: // main
+
1378  RCHECK(ReadBits(&reader, 2) == 0);
+
1379  break;
+
1380  case 2: // complex
+
1381  return false;
+
1382  case 3: // advanced
+
1383  RCHECK(ReadBits(&reader, 3) <= 4); // Verify level = 0..4
+
1384  RCHECK(ReadBits(&reader, 2) == 1); // Verify colordiff_format = 1
+
1385  break;
+
1386  }
+
1387  break;
+
1388  }
+
1389 
+
1390  case VC1_ENTRY_POINT_START_CODE:
+
1391  // No fields in entry data to check. However, it must occur after
+
1392  // sequence header.
+
1393  RCHECK(sequence_start_code > 0);
+
1394  break;
+
1395 
+
1396  case VC1_FRAME_START_CODE:
+
1397  ++frame_start_code;
+
1398  break;
+
1399  }
+
1400  offset += 5;
+
1401  }
+
1402 }
+
1403 
+
1404 // For some formats the signature is a bunch of characters. They are defined
+
1405 // below. Note that the first 4 characters of the string may be used as a TAG
+
1406 // in LookupContainerByFirst4. For signatures that contain embedded \0, use
+
1407 // uint8_t[].
+
1408 static const char kAmrSignature[] = "#!AMR";
+
1409 static const uint8_t kAsfSignature[] = {0x30, 0x26, 0xb2, 0x75, 0x8e, 0x66,
+
1410  0xcf, 0x11, 0xa6, 0xd9, 0x00, 0xaa,
+
1411  0x00, 0x62, 0xce, 0x6c};
+
1412 static const char kAssSignature[] = "[Script Info]";
+
1413 static const char kAssBomSignature[] = UTF8_BYTE_ORDER_MARK "[Script Info]";
+
1414 static const uint8_t kWtvSignature[] = {0xb7, 0xd8, 0x00, 0x20, 0x37, 0x49,
+
1415  0xda, 0x11, 0xa6, 0x4e, 0x00, 0x07,
+
1416  0xe9, 0x5e, 0xad, 0x8d};
+
1417 
+
1418 // Attempt to determine the container type from the buffer provided. This is
+
1419 // a simple pass, that uses the first 4 bytes of the buffer as an index to get
+
1420 // a rough idea of the container format.
+
1421 static MediaContainerName LookupContainerByFirst4(const uint8_t* buffer,
+
1422  int buffer_size) {
+
1423  // Minimum size that the code expects to exist without checking size.
+
1424  if (buffer_size < 12)
+
1425  return CONTAINER_UNKNOWN;
+
1426 
+
1427  uint32_t first4 = Read32(buffer);
+
1428  switch (first4) {
+
1429  case 0x1a45dfa3:
+
1430  if (CheckWebm(buffer, buffer_size))
+
1431  return CONTAINER_WEBM;
+
1432  break;
+
1433 
+
1434  case 0x3026b275:
+
1435  if (StartsWith(buffer,
+
1436  buffer_size,
+
1437  kAsfSignature,
+
1438  sizeof(kAsfSignature))) {
+
1439  return CONTAINER_ASF;
+
1440  }
+
1441  break;
+
1442 
+
1443  case TAG('#','!','A','M'):
+
1444  if (StartsWith(buffer, buffer_size, kAmrSignature))
+
1445  return CONTAINER_AMR;
1446  break;
1447 
-
1448  case TAG('#','!','A','M'):
-
1449  if (StartsWith(buffer, buffer_size, kAmrSignature))
-
1450  return CONTAINER_AMR;
+
1448  case TAG('#','E','X','T'):
+
1449  if (CheckHls(buffer, buffer_size))
+
1450  return CONTAINER_HLS;
1451  break;
1452 
-
1453  case TAG('#','E','X','T'):
-
1454  if (CheckHls(buffer, buffer_size))
-
1455  return CONTAINER_HLS;
+
1453  case TAG('.','R','M','F'):
+
1454  if (buffer[4] == 0 && buffer[5] == 0)
+
1455  return CONTAINER_RM;
1456  break;
1457 
-
1458  case TAG('.','R','M','F'):
-
1459  if (buffer[4] == 0 && buffer[5] == 0)
-
1460  return CONTAINER_RM;
-
1461  break;
-
1462 
-
1463  case TAG('.','r','a','\xfd'):
-
1464  return CONTAINER_RM;
-
1465 
-
1466  case TAG('B','I','K','b'):
-
1467  case TAG('B','I','K','d'):
-
1468  case TAG('B','I','K','f'):
-
1469  case TAG('B','I','K','g'):
-
1470  case TAG('B','I','K','h'):
-
1471  case TAG('B','I','K','i'):
-
1472  if (CheckBink(buffer, buffer_size))
-
1473  return CONTAINER_BINK;
+
1458  case TAG('.','r','a','\xfd'):
+
1459  return CONTAINER_RM;
+
1460 
+
1461  case TAG('B','I','K','b'):
+
1462  case TAG('B','I','K','d'):
+
1463  case TAG('B','I','K','f'):
+
1464  case TAG('B','I','K','g'):
+
1465  case TAG('B','I','K','h'):
+
1466  case TAG('B','I','K','i'):
+
1467  if (CheckBink(buffer, buffer_size))
+
1468  return CONTAINER_BINK;
+
1469  break;
+
1470 
+
1471  case TAG('c','a','f','f'):
+
1472  if (CheckCaf(buffer, buffer_size))
+
1473  return CONTAINER_CAF;
1474  break;
1475 
-
1476  case TAG('c','a','f','f'):
-
1477  if (CheckCaf(buffer, buffer_size))
-
1478  return CONTAINER_CAF;
-
1479  break;
-
1480 
-
1481  case TAG('D','E','X','A'):
-
1482  if (buffer_size > 15 &&
-
1483  Read16(buffer + 11) <= 2048 &&
-
1484  Read16(buffer + 13) <= 2048) {
-
1485  return CONTAINER_DXA;
-
1486  }
+
1476  case TAG('D','E','X','A'):
+
1477  if (buffer_size > 15 &&
+
1478  Read16(buffer + 11) <= 2048 &&
+
1479  Read16(buffer + 13) <= 2048) {
+
1480  return CONTAINER_DXA;
+
1481  }
+
1482  break;
+
1483 
+
1484  case TAG('D','T','S','H'):
+
1485  if (Read32(buffer + 4) == TAG('D','H','D','R'))
+
1486  return CONTAINER_DTSHD;
1487  break;
1488 
-
1489  case TAG('D','T','S','H'):
-
1490  if (Read32(buffer + 4) == TAG('D','H','D','R'))
-
1491  return CONTAINER_DTSHD;
-
1492  break;
-
1493 
-
1494  case 0x64a30100:
-
1495  case 0x64a30200:
-
1496  case 0x64a30300:
-
1497  case 0x64a30400:
-
1498  case 0x0001a364:
-
1499  case 0x0002a364:
-
1500  case 0x0003a364:
-
1501  if (Read32(buffer + 4) != 0 && Read32(buffer + 8) != 0)
-
1502  return CONTAINER_IRCAM;
-
1503  break;
-
1504 
-
1505  case TAG('f','L','a','C'):
-
1506  return CONTAINER_FLAC;
-
1507 
-
1508  case TAG('F','L','V',0):
-
1509  case TAG('F','L','V',1):
-
1510  case TAG('F','L','V',2):
-
1511  case TAG('F','L','V',3):
-
1512  case TAG('F','L','V',4):
-
1513  if (buffer[5] == 0 && Read32(buffer + 5) > 8)
-
1514  return CONTAINER_FLV;
-
1515  break;
-
1516 
-
1517  case TAG('F','O','R','M'):
-
1518  switch (Read32(buffer + 8)) {
-
1519  case TAG('A','I','F','F'):
-
1520  case TAG('A','I','F','C'):
-
1521  return CONTAINER_AIFF;
-
1522  }
-
1523  break;
-
1524 
-
1525  case TAG('M','A','C',' '):
-
1526  return CONTAINER_APE;
+
1489  case 0x64a30100:
+
1490  case 0x64a30200:
+
1491  case 0x64a30300:
+
1492  case 0x64a30400:
+
1493  case 0x0001a364:
+
1494  case 0x0002a364:
+
1495  case 0x0003a364:
+
1496  if (Read32(buffer + 4) != 0 && Read32(buffer + 8) != 0)
+
1497  return CONTAINER_IRCAM;
+
1498  break;
+
1499 
+
1500  case TAG('f','L','a','C'):
+
1501  return CONTAINER_FLAC;
+
1502 
+
1503  case TAG('F','L','V',0):
+
1504  case TAG('F','L','V',1):
+
1505  case TAG('F','L','V',2):
+
1506  case TAG('F','L','V',3):
+
1507  case TAG('F','L','V',4):
+
1508  if (buffer[5] == 0 && Read32(buffer + 5) > 8)
+
1509  return CONTAINER_FLV;
+
1510  break;
+
1511 
+
1512  case TAG('F','O','R','M'):
+
1513  switch (Read32(buffer + 8)) {
+
1514  case TAG('A','I','F','F'):
+
1515  case TAG('A','I','F','C'):
+
1516  return CONTAINER_AIFF;
+
1517  }
+
1518  break;
+
1519 
+
1520  case TAG('M','A','C',' '):
+
1521  return CONTAINER_APE;
+
1522 
+
1523  case TAG('O','N','2',' '):
+
1524  if (Read32(buffer + 8) == TAG('O','N','2','f'))
+
1525  return CONTAINER_AVI;
+
1526  break;
1527 
-
1528  case TAG('O','N','2',' '):
-
1529  if (Read32(buffer + 8) == TAG('O','N','2','f'))
-
1530  return CONTAINER_AVI;
+
1528  case TAG('O','g','g','S'):
+
1529  if (buffer[5] <= 7)
+
1530  return CONTAINER_OGG;
1531  break;
1532 
-
1533  case TAG('O','g','g','S'):
-
1534  if (buffer[5] <= 7)
-
1535  return CONTAINER_OGG;
+
1533  case TAG('R','F','6','4'):
+
1534  if (buffer_size > 16 && Read32(buffer + 12) == TAG('d','s','6','4'))
+
1535  return CONTAINER_WAV;
1536  break;
1537 
-
1538  case TAG('R','F','6','4'):
-
1539  if (buffer_size > 16 && Read32(buffer + 12) == TAG('d','s','6','4'))
-
1540  return CONTAINER_WAV;
-
1541  break;
-
1542 
-
1543  case TAG('R','I','F','F'):
-
1544  switch (Read32(buffer + 8)) {
-
1545  case TAG('A','V','I',' '):
-
1546  case TAG('A','V','I','X'):
-
1547  case TAG('A','V','I','\x19'):
-
1548  case TAG('A','M','V',' '):
-
1549  return CONTAINER_AVI;
-
1550  case TAG('W','A','V','E'):
-
1551  return CONTAINER_WAV;
-
1552  }
+
1538  case TAG('R','I','F','F'):
+
1539  switch (Read32(buffer + 8)) {
+
1540  case TAG('A','V','I',' '):
+
1541  case TAG('A','V','I','X'):
+
1542  case TAG('A','V','I','\x19'):
+
1543  case TAG('A','M','V',' '):
+
1544  return CONTAINER_AVI;
+
1545  case TAG('W','A','V','E'):
+
1546  return CONTAINER_WAV;
+
1547  }
+
1548  break;
+
1549 
+
1550  case TAG('[','S','c','r'):
+
1551  if (StartsWith(buffer, buffer_size, kAssSignature))
+
1552  return CONTAINER_ASS;
1553  break;
1554 
-
1555  case TAG('[','S','c','r'):
-
1556  if (StartsWith(buffer, buffer_size, kAssSignature))
+
1555  case TAG('\xef','\xbb','\xbf','['):
+
1556  if (StartsWith(buffer, buffer_size, kAssBomSignature))
1557  return CONTAINER_ASS;
1558  break;
1559 
-
1560  case TAG('\xef','\xbb','\xbf','['):
-
1561  if (StartsWith(buffer, buffer_size, kAssBomSignature))
-
1562  return CONTAINER_ASS;
-
1563  break;
-
1564 
-
1565  case 0x7ffe8001:
-
1566  case 0xfe7f0180:
-
1567  case 0x1fffe800:
-
1568  case 0xff1f00e8:
-
1569  if (CheckDts(buffer, buffer_size))
-
1570  return CONTAINER_DTS;
-
1571  break;
-
1572 
-
1573  case 0xb7d80020:
-
1574  if (StartsWith(buffer,
-
1575  buffer_size,
-
1576  kWtvSignature,
-
1577  sizeof(kWtvSignature))) {
-
1578  return CONTAINER_WTV;
-
1579  }
-
1580  break;
-
1581  case 0x000001ba:
-
1582  return CONTAINER_MPEG2PS;
-
1583  }
-
1584 
-
1585  // Now try a few different ones that look at something other
-
1586  // than the first 4 bytes.
-
1587  uint32_t first3 = first4 & 0xffffff00;
-
1588  switch (first3) {
-
1589  case TAG('C','W','S',0):
-
1590  case TAG('F','W','S',0):
-
1591  return CONTAINER_SWF;
-
1592 
-
1593  case TAG('I','D','3',0):
-
1594  if (CheckMp3(buffer, buffer_size, true))
-
1595  return CONTAINER_MP3;
-
1596  break;
-
1597  }
-
1598 
-
1599  // Maybe the first 2 characters are something we can use.
-
1600  uint32_t first2 = Read16(buffer);
-
1601  switch (first2) {
-
1602  case kAc3SyncWord:
-
1603  if (CheckAc3(buffer, buffer_size))
-
1604  return CONTAINER_AC3;
-
1605  if (CheckEac3(buffer, buffer_size))
-
1606  return CONTAINER_EAC3;
-
1607  break;
-
1608 
-
1609  case 0xfff0:
-
1610  case 0xfff1:
-
1611  case 0xfff8:
-
1612  case 0xfff9:
-
1613  if (CheckAac(buffer, buffer_size))
-
1614  return CONTAINER_AAC;
-
1615  break;
-
1616  }
-
1617 
-
1618  // Check if the file is in MP3 format without the header.
-
1619  if (CheckMp3(buffer, buffer_size, false))
-
1620  return CONTAINER_MP3;
-
1621 
-
1622  return CONTAINER_UNKNOWN;
-
1623 }
-
1624 
-
1625 namespace {
-
1626 const char kWebVtt[] = "WEBVTT";
-
1627 
-
1628 bool CheckWebVtt(const uint8_t* buffer, int buffer_size) {
-
1629  const int offset =
-
1630  StartsWith(buffer, buffer_size, UTF8_BYTE_ORDER_MARK) ? 3 : 0;
+
1560  case 0x7ffe8001:
+
1561  case 0xfe7f0180:
+
1562  case 0x1fffe800:
+
1563  case 0xff1f00e8:
+
1564  if (CheckDts(buffer, buffer_size))
+
1565  return CONTAINER_DTS;
+
1566  break;
+
1567 
+
1568  case 0xb7d80020:
+
1569  if (StartsWith(buffer,
+
1570  buffer_size,
+
1571  kWtvSignature,
+
1572  sizeof(kWtvSignature))) {
+
1573  return CONTAINER_WTV;
+
1574  }
+
1575  break;
+
1576  case 0x000001ba:
+
1577  return CONTAINER_MPEG2PS;
+
1578  }
+
1579 
+
1580  // Now try a few different ones that look at something other
+
1581  // than the first 4 bytes.
+
1582  uint32_t first3 = first4 & 0xffffff00;
+
1583  switch (first3) {
+
1584  case TAG('C','W','S',0):
+
1585  case TAG('F','W','S',0):
+
1586  return CONTAINER_SWF;
+
1587 
+
1588  case TAG('I','D','3',0):
+
1589  if (CheckMp3(buffer, buffer_size, true))
+
1590  return CONTAINER_MP3;
+
1591  break;
+
1592  }
+
1593 
+
1594  // Maybe the first 2 characters are something we can use.
+
1595  uint32_t first2 = Read16(buffer);
+
1596  switch (first2) {
+
1597  case kAc3SyncWord:
+
1598  if (CheckAc3(buffer, buffer_size))
+
1599  return CONTAINER_AC3;
+
1600  if (CheckEac3(buffer, buffer_size))
+
1601  return CONTAINER_EAC3;
+
1602  break;
+
1603 
+
1604  case 0xfff0:
+
1605  case 0xfff1:
+
1606  case 0xfff8:
+
1607  case 0xfff9:
+
1608  if (CheckAac(buffer, buffer_size))
+
1609  return CONTAINER_AAC;
+
1610  break;
+
1611  }
+
1612 
+
1613  // Check if the file is in MP3 format without the header.
+
1614  if (CheckMp3(buffer, buffer_size, false))
+
1615  return CONTAINER_MP3;
+
1616 
+
1617  return CONTAINER_UNKNOWN;
+
1618 }
+
1619 
+
1620 namespace {
+
1621 const char kWebVtt[] = "WEBVTT";
+
1622 
+
1623 bool CheckWebVtt(const uint8_t* buffer, int buffer_size) {
+
1624  const int offset =
+
1625  StartsWith(buffer, buffer_size, UTF8_BYTE_ORDER_MARK) ? 3 : 0;
+
1626 
+
1627  return StartsWith(buffer + offset, buffer_size - offset,
+
1628  reinterpret_cast<const uint8_t*>(kWebVtt),
+
1629  arraysize(kWebVtt) - 1);
+
1630 }
1631 
-
1632  return StartsWith(buffer + offset, buffer_size - offset,
-
1633  reinterpret_cast<const uint8_t*>(kWebVtt),
-
1634  arraysize(kWebVtt) - 1);
-
1635 }
+
1632 bool CheckTtml(const uint8_t* buffer, int buffer_size) {
+
1633  // Sanity check first before reading the entire thing.
+
1634  if (!StartsWith(buffer, buffer_size, "<?xml"))
+
1635  return false;
1636 
-
1637 bool CheckTtml(const uint8_t* buffer, int buffer_size) {
-
1638  // Sanity check first before reading the entire thing.
-
1639  if (!StartsWith(buffer, buffer_size, "<?xml"))
-
1640  return false;
-
1641 
-
1642  // Make sure that it can be parsed so that it doesn't error later in the
-
1643  // process. Not doing a schema check to allow TTMLs that makes some sense but
-
1644  // not necessarily compliant to the schema.
-
1645  xml::scoped_xml_ptr<xmlDoc> doc(
-
1646  xmlParseMemory(reinterpret_cast<const char*>(buffer), buffer_size));
-
1647  if (!doc)
-
1648  return false;
-
1649 
-
1650  xmlNodePtr root_node = xmlDocGetRootElement(doc.get());
-
1651  std::string root_node_name(reinterpret_cast<const char*>(root_node->name));
-
1652  // "tt" is supposed to be the top level element for ttml.
-
1653  return root_node_name == "tt";
-
1654 }
-
1655 
-
1656 } // namespace
-
1657 
-
1658 // Attempt to determine the container name from the buffer provided.
-
1659 MediaContainerName DetermineContainer(const uint8_t* buffer, int buffer_size) {
-
1660  DCHECK(buffer);
-
1661 
-
1662  // Since MOV/QuickTime/MPEG4 streams are common, check for them first.
-
1663  if (CheckMov(buffer, buffer_size))
-
1664  return CONTAINER_MOV;
-
1665 
-
1666  // Next attempt the simple checks, that typically look at just the
-
1667  // first few bytes of the file.
-
1668  MediaContainerName result = LookupContainerByFirst4(buffer, buffer_size);
-
1669  if (result != CONTAINER_UNKNOWN)
-
1670  return result;
-
1671 
-
1672  // WebVTT check only checks for the first few bytes.
-
1673  if (CheckWebVtt(buffer, buffer_size))
-
1674  return CONTAINER_WEBVTT;
-
1675 
-
1676  // Additional checks that may scan a portion of the buffer.
-
1677  if (CheckMpeg2ProgramStream(buffer, buffer_size))
-
1678  return CONTAINER_MPEG2PS;
-
1679  if (CheckMpeg2TransportStream(buffer, buffer_size))
-
1680  return CONTAINER_MPEG2TS;
-
1681  if (CheckMJpeg(buffer, buffer_size))
-
1682  return CONTAINER_MJPEG;
-
1683  if (CheckDV(buffer, buffer_size))
-
1684  return CONTAINER_DV;
-
1685  if (CheckH261(buffer, buffer_size))
-
1686  return CONTAINER_H261;
-
1687  if (CheckH263(buffer, buffer_size))
-
1688  return CONTAINER_H263;
-
1689  if (CheckH264(buffer, buffer_size))
-
1690  return CONTAINER_H264;
-
1691  if (CheckMpeg4BitStream(buffer, buffer_size))
-
1692  return CONTAINER_MPEG4BS;
-
1693  if (CheckVC1(buffer, buffer_size))
-
1694  return CONTAINER_VC1;
-
1695  if (CheckSrt(buffer, buffer_size))
-
1696  return CONTAINER_SRT;
-
1697  if (CheckGsm(buffer, buffer_size))
-
1698  return CONTAINER_GSM;
-
1699 
-
1700  // AC3/EAC3 might not start at the beginning of the stream,
-
1701  // so scan for a start code.
-
1702  int offset = 1; // No need to start at byte 0 due to First4 check.
-
1703  if (AdvanceToStartCode(buffer, buffer_size, &offset, 4, 16, kAc3SyncWord)) {
-
1704  if (CheckAc3(buffer + offset, buffer_size - offset))
-
1705  return CONTAINER_AC3;
-
1706  if (CheckEac3(buffer + offset, buffer_size - offset))
-
1707  return CONTAINER_EAC3;
-
1708  }
+
1637  // Make sure that it can be parsed so that it doesn't error later in the
+
1638  // process. Not doing a schema check to allow TTMLs that makes some sense but
+
1639  // not necessarily compliant to the schema.
+
1640  xml::scoped_xml_ptr<xmlDoc> doc(
+
1641  xmlParseMemory(reinterpret_cast<const char*>(buffer), buffer_size));
+
1642  if (!doc)
+
1643  return false;
+
1644 
+
1645  xmlNodePtr root_node = xmlDocGetRootElement(doc.get());
+
1646  std::string root_node_name(reinterpret_cast<const char*>(root_node->name));
+
1647  // "tt" is supposed to be the top level element for ttml.
+
1648  return root_node_name == "tt";
+
1649 }
+
1650 
+
1651 } // namespace
+
1652 
+
1653 // Attempt to determine the container name from the buffer provided.
+
1654 MediaContainerName DetermineContainer(const uint8_t* buffer, int buffer_size) {
+
1655  DCHECK(buffer);
+
1656 
+
1657  // Since MOV/QuickTime/MPEG4 streams are common, check for them first.
+
1658  if (CheckMov(buffer, buffer_size))
+
1659  return CONTAINER_MOV;
+
1660 
+
1661  // Next attempt the simple checks, that typically look at just the
+
1662  // first few bytes of the file.
+
1663  MediaContainerName result = LookupContainerByFirst4(buffer, buffer_size);
+
1664  if (result != CONTAINER_UNKNOWN)
+
1665  return result;
+
1666 
+
1667  // WebVTT check only checks for the first few bytes.
+
1668  if (CheckWebVtt(buffer, buffer_size))
+
1669  return CONTAINER_WEBVTT;
+
1670 
+
1671  // Additional checks that may scan a portion of the buffer.
+
1672  if (CheckMpeg2ProgramStream(buffer, buffer_size))
+
1673  return CONTAINER_MPEG2PS;
+
1674  if (CheckMpeg2TransportStream(buffer, buffer_size))
+
1675  return CONTAINER_MPEG2TS;
+
1676  if (CheckMJpeg(buffer, buffer_size))
+
1677  return CONTAINER_MJPEG;
+
1678  if (CheckDV(buffer, buffer_size))
+
1679  return CONTAINER_DV;
+
1680  if (CheckH261(buffer, buffer_size))
+
1681  return CONTAINER_H261;
+
1682  if (CheckH263(buffer, buffer_size))
+
1683  return CONTAINER_H263;
+
1684  if (CheckH264(buffer, buffer_size))
+
1685  return CONTAINER_H264;
+
1686  if (CheckMpeg4BitStream(buffer, buffer_size))
+
1687  return CONTAINER_MPEG4BS;
+
1688  if (CheckVC1(buffer, buffer_size))
+
1689  return CONTAINER_VC1;
+
1690  if (CheckSrt(buffer, buffer_size))
+
1691  return CONTAINER_SRT;
+
1692  if (CheckGsm(buffer, buffer_size))
+
1693  return CONTAINER_GSM;
+
1694 
+
1695  // AC3/EAC3 might not start at the beginning of the stream,
+
1696  // so scan for a start code.
+
1697  int offset = 1; // No need to start at byte 0 due to First4 check.
+
1698  if (AdvanceToStartCode(buffer, buffer_size, &offset, 4, 16, kAc3SyncWord)) {
+
1699  if (CheckAc3(buffer + offset, buffer_size - offset))
+
1700  return CONTAINER_AC3;
+
1701  if (CheckEac3(buffer + offset, buffer_size - offset))
+
1702  return CONTAINER_EAC3;
+
1703  }
+
1704 
+
1705  // To do a TTML check, it parses the XML which requires scanning
+
1706  // the whole content.
+
1707  if (CheckTtml(buffer, buffer_size))
+
1708  return CONTAINER_TTML;
1709 
-
1710  // To do a TTML check, it parses the XML which requires scanning
-
1711  // the whole content.
-
1712  if (CheckTtml(buffer, buffer_size))
-
1713  return CONTAINER_TTML;
-
1714 
-
1715  return CONTAINER_UNKNOWN;
-
1716 }
-
1717 
-
1718 MediaContainerName DetermineContainerFromFormatName(
-
1719  const std::string& format_name) {
-
1720  if (base::EqualsCaseInsensitiveASCII(format_name, "webm")) {
-
1721  return CONTAINER_WEBM;
-
1722  } else if (base::EqualsCaseInsensitiveASCII(format_name, "m4a") ||
-
1723  base::EqualsCaseInsensitiveASCII(format_name, "m4v") ||
-
1724  base::EqualsCaseInsensitiveASCII(format_name, "mp4") ||
-
1725  base::EqualsCaseInsensitiveASCII(format_name, "mov")) {
-
1726  return CONTAINER_MOV;
-
1727  } else {
-
1728  return CONTAINER_UNKNOWN;
-
1729  }
-
1730 }
-
1731 
-
1732 MediaContainerName DetermineContainerFromFileName(
-
1733  const std::string& file_name) {
-
1734  if (base::EndsWith(file_name, ".webm",
-
1735  base::CompareCase::INSENSITIVE_ASCII)) {
-
1736  return CONTAINER_WEBM;
-
1737  } else if (base::EndsWith(file_name, ".mp4",
-
1738  base::CompareCase::INSENSITIVE_ASCII) ||
-
1739  base::EndsWith(file_name, ".m4a",
-
1740  base::CompareCase::INSENSITIVE_ASCII) ||
-
1741  base::EndsWith(file_name, ".m4v",
-
1742  base::CompareCase::INSENSITIVE_ASCII)) {
-
1743  return CONTAINER_MOV;
-
1744  } else {
-
1745  return CONTAINER_UNKNOWN;
-
1746  }
-
1747 }
-
1748 
-
1749 } // namespace media
-
1750 } // namespace edash_packager
+
1710  return CONTAINER_UNKNOWN;
+
1711 }
+
1712 
+
1713 MediaContainerName DetermineContainerFromFormatName(
+
1714  const std::string& format_name) {
+
1715  if (base::EqualsCaseInsensitiveASCII(format_name, "webm")) {
+
1716  return CONTAINER_WEBM;
+
1717  } else if (base::EqualsCaseInsensitiveASCII(format_name, "m4a") ||
+
1718  base::EqualsCaseInsensitiveASCII(format_name, "m4v") ||
+
1719  base::EqualsCaseInsensitiveASCII(format_name, "mp4") ||
+
1720  base::EqualsCaseInsensitiveASCII(format_name, "mov")) {
+
1721  return CONTAINER_MOV;
+
1722  } else {
+
1723  return CONTAINER_UNKNOWN;
+
1724  }
+
1725 }
+
1726 
+
1727 MediaContainerName DetermineContainerFromFileName(
+
1728  const std::string& file_name) {
+
1729  if (base::EndsWith(file_name, ".webm",
+
1730  base::CompareCase::INSENSITIVE_ASCII)) {
+
1731  return CONTAINER_WEBM;
+
1732  } else if (base::EndsWith(file_name, ".mp4",
+
1733  base::CompareCase::INSENSITIVE_ASCII) ||
+
1734  base::EndsWith(file_name, ".m4a",
+
1735  base::CompareCase::INSENSITIVE_ASCII) ||
+
1736  base::EndsWith(file_name, ".m4v",
+
1737  base::CompareCase::INSENSITIVE_ASCII)) {
+
1738  return CONTAINER_MOV;
+
1739  } else {
+
1740  return CONTAINER_UNKNOWN;
+
1741  }
+
1742 }
+
1743 
+
1744 } // namespace media
+
1745 } // namespace edash_packager
diff --git a/docs/da/d95/classedash__packager_1_1media_1_1MkvWriter-members.html b/docs/da/d95/classedash__packager_1_1media_1_1MkvWriter-members.html index e20541d4f9..7ea474b30e 100644 --- a/docs/da/d95/classedash__packager_1_1media_1_1MkvWriter-members.html +++ b/docs/da/d95/classedash__packager_1_1media_1_1MkvWriter-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d99/classedash__packager_1_1media_1_1webm_1_1Encryptor-members.html b/docs/da/d99/classedash__packager_1_1media_1_1webm_1_1Encryptor-members.html index 51922ca2f6..57c60ec23c 100644 --- a/docs/da/d99/classedash__packager_1_1media_1_1webm_1_1Encryptor-members.html +++ b/docs/da/d99/classedash__packager_1_1media_1_1webm_1_1Encryptor-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html b/docs/da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html index 8a5a4cbb31..830c0a88a9 100644 --- a/docs/da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html +++ b/docs/da/db0/structedash__packager_1_1media_1_1mp4_1_1SoundMediaHeader.html @@ -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 4ca23e1347..a4fde5ea1b 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/dcb/es__descriptor_8h_source.html b/docs/da/dcb/es__descriptor_8h_source.html index 284663ea08..a3502f09b3 100644 --- a/docs/da/dcb/es__descriptor_8h_source.html +++ b/docs/da/dcb/es__descriptor_8h_source.html @@ -187,7 +187,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dd0/webm__info__parser_8h_source.html b/docs/da/dd0/webm__info__parser_8h_source.html index 8a9fc538aa..4c186ca1fa 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 aef986520d..f75a231551 100644 --- a/docs/da/dd1/fragmenter_8h_source.html +++ b/docs/da/dd1/fragmenter_8h_source.html @@ -197,7 +197,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/de2/mock__mpd__builder_8cc_source.html b/docs/da/de2/mock__mpd__builder_8cc_source.html index 05bcae94ff..67a2970e2d 100644 --- a/docs/da/de2/mock__mpd__builder_8cc_source.html +++ b/docs/da/de2/mock__mpd__builder_8cc_source.html @@ -123,7 +123,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/de4/classedash__packager_1_1media_1_1AudioTimestampHelper.html b/docs/da/de4/classedash__packager_1_1media_1_1AudioTimestampHelper.html index 7991b339cc..ac8fc50486 100644 --- a/docs/da/de4/classedash__packager_1_1media_1_1AudioTimestampHelper.html +++ b/docs/da/de4/classedash__packager_1_1media_1_1AudioTimestampHelper.html @@ -131,7 +131,7 @@ int64_t GetFramesToTarget< diff --git a/docs/da/df0/classedash__packager_1_1media_1_1NalUnitToByteStreamConverter-members.html b/docs/da/df0/classedash__packager_1_1media_1_1NalUnitToByteStreamConverter-members.html index a329452ac2..2add8d2866 100644 --- a/docs/da/df0/classedash__packager_1_1media_1_1NalUnitToByteStreamConverter-members.html +++ b/docs/da/df0/classedash__packager_1_1media_1_1NalUnitToByteStreamConverter-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/df4/aes__decryptor_8cc_source.html b/docs/da/df4/aes__decryptor_8cc_source.html index 9170d50bad..b7710f051a 100644 --- a/docs/da/df4/aes__decryptor_8cc_source.html +++ b/docs/da/df4/aes__decryptor_8cc_source.html @@ -255,7 +255,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dfe/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset.html b/docs/da/dfe/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset.html index 087486ddbf..956f10d84d 100644 --- a/docs/da/dfe/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset.html +++ b/docs/da/dfe/structedash__packager_1_1media_1_1mp4_1_1CompositionOffset.html @@ -112,7 +112,7 @@ int64_t sample_offset< diff --git a/docs/db/d01/avc__decoder__configuration_8cc_source.html b/docs/db/d01/avc__decoder__configuration_8cc_source.html index 1b1a891c96..22617bf521 100644 --- a/docs/db/d01/avc__decoder__configuration_8cc_source.html +++ b/docs/db/d01/avc__decoder__configuration_8cc_source.html @@ -98,8 +98,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/base/buffer_reader.h"
-
12 #include "packager/media/filters/h264_parser.h"
-
13 #include "packager/media/formats/mp4/rcheck.h"
+
12 #include "packager/media/base/rcheck.h"
+
13 #include "packager/media/filters/h264_parser.h"
14 
15 namespace edash_packager {
16 namespace media {
@@ -203,7 +203,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d01/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator.html b/docs/db/d01/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator.html index 3d3bec9b2a..501c93796c 100644 --- a/docs/db/d01/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator.html +++ b/docs/db/d01/classedash__packager_1_1media_1_1mp4_1_1SyncSampleIterator.html @@ -177,7 +177,7 @@ Public Member Functions diff --git a/docs/db/d09/namespaceedash__packager.html b/docs/db/d09/namespaceedash__packager.html index 826dc47780..1a6d1f30af 100644 --- a/docs/db/d09/namespaceedash__packager.html +++ b/docs/db/d09/namespaceedash__packager.html @@ -559,7 +559,7 @@ const char kEncryptedMp4Va diff --git a/docs/db/d11/classedash__packager_1_1media_1_1ContentEncoding-members.html b/docs/db/d11/classedash__packager_1_1media_1_1ContentEncoding-members.html index 5c3980dd2f..f1294f9934 100644 --- a/docs/db/d11/classedash__packager_1_1media_1_1ContentEncoding-members.html +++ b/docs/db/d11/classedash__packager_1_1media_1_1ContentEncoding-members.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d15/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html b/docs/db/d15/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html index 0fc3293c62..2e437a4994 100644 --- a/docs/db/d15/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html +++ b/docs/db/d15/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d23/classedash__packager_1_1media_1_1WebMTracksParser.html b/docs/db/d23/classedash__packager_1_1media_1_1WebMTracksParser.html index f08c1a9745..bf160f3d86 100644 --- a/docs/db/d23/classedash__packager_1_1media_1_1WebMTracksParser.html +++ b/docs/db/d23/classedash__packager_1_1media_1_1WebMTracksParser.html @@ -225,7 +225,7 @@ The number of bytes parsed on success. diff --git a/docs/db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html b/docs/db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html index 608f9e5a13..3be4016a61 100644 --- a/docs/db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html +++ b/docs/db/d26/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator.html @@ -412,7 +412,7 @@ bool is_keyframe () co diff --git a/docs/db/d2e/classedash__packager_1_1MockMpdBuilder.html b/docs/db/d2e/classedash__packager_1_1MockMpdBuilder.html index aa5b3090a1..d6deac05ca 100644 --- a/docs/db/d2e/classedash__packager_1_1MockMpdBuilder.html +++ b/docs/db/d2e/classedash__packager_1_1MockMpdBuilder.html @@ -153,7 +153,7 @@ Additional Inherited Members diff --git a/docs/db/d31/track__run__iterator_8cc_source.html b/docs/db/d31/track__run__iterator_8cc_source.html index a3bc8c87d0..818cf2e869 100644 --- a/docs/db/d31/track__run__iterator_8cc_source.html +++ b/docs/db/d31/track__run__iterator_8cc_source.html @@ -98,10 +98,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 
10 #include "packager/media/base/buffer_reader.h"
11 #include "packager/media/base/encryption_modes.h"
-
12 #include "packager/media/formats/mp4/chunk_info_iterator.h"
-
13 #include "packager/media/formats/mp4/composition_offset_iterator.h"
-
14 #include "packager/media/formats/mp4/decoding_time_iterator.h"
-
15 #include "packager/media/formats/mp4/rcheck.h"
+
12 #include "packager/media/base/rcheck.h"
+
13 #include "packager/media/formats/mp4/chunk_info_iterator.h"
+
14 #include "packager/media/formats/mp4/composition_offset_iterator.h"
+
15 #include "packager/media/formats/mp4/decoding_time_iterator.h"
16 #include "packager/media/formats/mp4/sync_sample_iterator.h"
17 
18 namespace {
@@ -691,10 +691,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
602  : video_description().sinf.type.type;
603  EncryptionMode decryption_mode;
604  switch (protection_scheme) {
-
605  case FOURCC_CENC:
+
605  case FOURCC_cenc:
606  decryption_mode = kEncryptionModeAesCtr;
607  break;
-
608  case FOURCC_CBC1:
+
608  case FOURCC_cbc1:
609  decryption_mode = kEncryptionModeAesCbc;
610  break;
611  default:
@@ -763,7 +763,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d44/structedash__packager_1_1media_1_1mp4_1_1DataReference-members.html b/docs/db/d44/structedash__packager_1_1media_1_1mp4_1_1DataReference-members.html index 1f23b5f636..87cb498387 100644 --- a/docs/db/d44/structedash__packager_1_1media_1_1mp4_1_1DataReference-members.html +++ b/docs/db/d44/structedash__packager_1_1media_1_1mp4_1_1DataReference-members.html @@ -113,7 +113,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 f01dadefc9..22f7ca0281 100644 --- a/docs/db/d45/mpd__notify__muxer__listener_8h_source.html +++ b/docs/db/d45/mpd__notify__muxer__listener_8h_source.html @@ -179,7 +179,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d4e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi.html b/docs/db/d4e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi.html index 0263cafacd..0ffd6a4e99 100644 --- a/docs/db/d4e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi.html +++ b/docs/db/d4e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi.html @@ -147,7 +147,7 @@ Additional Inherited Members diff --git a/docs/db/d51/mp2t__media__parser_8h_source.html b/docs/db/d51/mp2t__media__parser_8h_source.html index b2f15709ea..fa75bdec00 100644 --- a/docs/db/d51/mp2t__media__parser_8h_source.html +++ b/docs/db/d51/mp2t__media__parser_8h_source.html @@ -193,7 +193,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d51/two__pass__single__segment__segmenter_8h_source.html b/docs/db/d51/two__pass__single__segment__segmenter_8h_source.html index 9b6d808db7..ee26ef8349 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 @@ -145,7 +145,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d52/classedash__packager_1_1media_1_1ProtectionSystemSpecificInfo-members.html b/docs/db/d52/classedash__packager_1_1media_1_1ProtectionSystemSpecificInfo-members.html index 9dbd7d572a..2c3e8a28d8 100644 --- a/docs/db/d52/classedash__packager_1_1media_1_1ProtectionSystemSpecificInfo-members.html +++ b/docs/db/d52/classedash__packager_1_1media_1_1ProtectionSystemSpecificInfo-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d56/classedash__packager_1_1SimpleMpdNotifier.html b/docs/db/d56/classedash__packager_1_1SimpleMpdNotifier.html index 16a67f10cf..5fecb3a8eb 100644 --- a/docs/db/d56/classedash__packager_1_1SimpleMpdNotifier.html +++ b/docs/db/d56/classedash__packager_1_1SimpleMpdNotifier.html @@ -471,7 +471,7 @@ class SimpleMpdNotifierTes diff --git a/docs/db/d5a/structedash__packager_1_1media_1_1mp4_1_1SampleEncryptionEntry-members.html b/docs/db/d5a/structedash__packager_1_1media_1_1mp4_1_1SampleEncryptionEntry-members.html index d48f292775..f36d374bb3 100644 --- a/docs/db/d5a/structedash__packager_1_1media_1_1mp4_1_1SampleEncryptionEntry-members.html +++ b/docs/db/d5a/structedash__packager_1_1media_1_1mp4_1_1SampleEncryptionEntry-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d5b/classedash__packager_1_1media_1_1HEVCDecoderConfiguration-members.html b/docs/db/d5b/classedash__packager_1_1media_1_1HEVCDecoderConfiguration-members.html index f8f98ff389..8d501b7447 100644 --- a/docs/db/d5b/classedash__packager_1_1media_1_1HEVCDecoderConfiguration-members.html +++ b/docs/db/d5b/classedash__packager_1_1media_1_1HEVCDecoderConfiguration-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d60/mpd__options_8h_source.html b/docs/db/d60/mpd__options_8h_source.html index 91b17f0873..1a82098632 100644 --- a/docs/db/d60/mpd__options_8h_source.html +++ b/docs/db/d60/mpd__options_8h_source.html @@ -130,7 +130,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d61/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html b/docs/db/d61/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html index 02131983bb..2bdb82f06a 100644 --- a/docs/db/d61/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html +++ b/docs/db/d61/classedash__packager_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html @@ -118,7 +118,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 836168d0ce..690ca51af3 100644 --- a/docs/db/d64/webvtt__media__parser_8h_source.html +++ b/docs/db/d64/webvtt__media__parser_8h_source.html @@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html b/docs/db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html index 6b7423bd01..aa081b8553 100644 --- a/docs/db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html +++ b/docs/db/d69/classedash__packager_1_1media_1_1mp2t_1_1AdtsHeader.html @@ -336,7 +336,7 @@ Static Public Member Functions diff --git a/docs/db/d6b/structedash__packager_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html b/docs/db/d6b/structedash__packager_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html index 84d4c4785e..8cbb29c3d3 100644 --- a/docs/db/d6b/structedash__packager_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html +++ b/docs/db/d6b/structedash__packager_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html b/docs/db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html index 02ca7e6a63..209c4eea76 100644 --- a/docs/db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html +++ b/docs/db/d6c/classedash__packager_1_1media_1_1mp4_1_1BoxReader.html @@ -497,7 +497,7 @@ template<typename T > diff --git a/docs/db/d71/http__key__fetcher_8h_source.html b/docs/db/d71/http__key__fetcher_8h_source.html index a134d31c5d..f66c7aac4a 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/d79/structedash__packager_1_1media_1_1mp4_1_1EditListEntry-members.html b/docs/db/d79/structedash__packager_1_1media_1_1mp4_1_1EditListEntry-members.html index 4e948d7e5e..46ddd6dd76 100644 --- a/docs/db/d79/structedash__packager_1_1media_1_1mp4_1_1EditListEntry-members.html +++ b/docs/db/d79/structedash__packager_1_1media_1_1mp4_1_1EditListEntry-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d7b/structedash__packager_1_1media_1_1H264Pps.html b/docs/db/d7b/structedash__packager_1_1media_1_1H264Pps.html index 0d11772f85..56063a3106 100644 --- a/docs/db/d7b/structedash__packager_1_1media_1_1H264Pps.html +++ b/docs/db/d7b/structedash__packager_1_1media_1_1H264Pps.html @@ -167,7 +167,7 @@ int second_chroma_qp_index diff --git a/docs/db/d7e/muxer__options_8cc_source.html b/docs/db/d7e/muxer__options_8cc_source.html index f35320a2af..78d7a0c1db 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/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html b/docs/db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html index fc7f1972eb..e898107e8a 100644 --- a/docs/db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html +++ b/docs/db/d89/structedash__packager_1_1media_1_1mp4_1_1CompactSampleSize.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/db/d8f/mp4__muxer_8h_source.html b/docs/db/d8f/mp4__muxer_8h_source.html index e437ae304d..b344fc9d5e 100644 --- a/docs/db/d8f/mp4__muxer_8h_source.html +++ b/docs/db/d8f/mp4__muxer_8h_source.html @@ -99,71 +99,70 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #include <vector>
11 
12 #include "packager/media/base/muxer.h"
-
13 #include "packager/media/formats/mp4/fourccs.h"
-
14 
-
15 namespace edash_packager {
-
16 namespace media {
-
17 
-
18 class AudioStreamInfo;
-
19 class StreamInfo;
-
20 class VideoStreamInfo;
-
21 
-
22 namespace mp4 {
-
23 
-
24 class Segmenter;
-
25 
-
26 struct ProtectionSchemeInfo;
-
27 struct Track;
-
28 
-
31 class MP4Muxer : public Muxer {
-
32  public:
-
34  explicit MP4Muxer(const MuxerOptions& options);
-
35  ~MP4Muxer() override;
-
36 
-
37  private:
-
38  // Muxer implementation overrides.
-
39  Status Initialize() override;
-
40  Status Finalize() override;
-
41  Status DoAddSample(const MediaStream* stream,
-
42  scoped_refptr<MediaSample> sample) override;
-
43 
-
44  // Generate Audio/Video Track box.
-
45  void InitializeTrak(const StreamInfo* info, Track* trak);
-
46  void GenerateAudioTrak(const AudioStreamInfo* audio_info,
-
47  Track* trak,
-
48  uint32_t track_id);
-
49  void GenerateVideoTrak(const VideoStreamInfo* video_info,
-
50  Track* trak,
-
51  uint32_t track_id);
-
52 
-
53  // Gets |start| and |end| initialization range. Returns true if there is an
-
54  // init range and sets start-end byte-range-spec specified in RFC2616.
-
55  bool GetInitRangeStartAndEnd(uint32_t* start, uint32_t* end);
-
56 
-
57  // Gets |start| and |end| index range. Returns true if there is an index range
-
58  // and sets start-end byte-range-spec specified in RFC2616.
-
59  bool GetIndexRangeStartAndEnd(uint32_t* start, uint32_t* end);
-
60 
-
61  // Fire events if there are no errors and Muxer::muxer_listener() is not NULL.
-
62  void FireOnMediaStartEvent();
-
63  void FireOnMediaEndEvent();
-
64 
-
65  // Get time in seconds since midnight, Jan. 1, 1904, in UTC Time.
-
66  uint64_t IsoTimeNow();
-
67 
-
68  scoped_ptr<Segmenter> segmenter_;
-
69 
-
70  DISALLOW_COPY_AND_ASSIGN(MP4Muxer);
-
71 };
-
72 
-
73 } // namespace mp4
-
74 } // namespace media
-
75 } // namespace edash_packager
-
76 
-
77 #endif // MEDIA_FORMATS_MP4_MP4_MUXER_H_
+
13 
+
14 namespace edash_packager {
+
15 namespace media {
+
16 
+
17 class AudioStreamInfo;
+
18 class StreamInfo;
+
19 class VideoStreamInfo;
+
20 
+
21 namespace mp4 {
+
22 
+
23 class Segmenter;
+
24 
+
25 struct ProtectionSchemeInfo;
+
26 struct Track;
+
27 
+
30 class MP4Muxer : public Muxer {
+
31  public:
+
33  explicit MP4Muxer(const MuxerOptions& options);
+
34  ~MP4Muxer() override;
+
35 
+
36  private:
+
37  // Muxer implementation overrides.
+
38  Status Initialize() override;
+
39  Status Finalize() override;
+
40  Status DoAddSample(const MediaStream* stream,
+
41  scoped_refptr<MediaSample> sample) override;
+
42 
+
43  // Generate Audio/Video Track box.
+
44  void InitializeTrak(const StreamInfo* info, Track* trak);
+
45  void GenerateAudioTrak(const AudioStreamInfo* audio_info,
+
46  Track* trak,
+
47  uint32_t track_id);
+
48  void GenerateVideoTrak(const VideoStreamInfo* video_info,
+
49  Track* trak,
+
50  uint32_t track_id);
+
51 
+
52  // Gets |start| and |end| initialization range. Returns true if there is an
+
53  // init range and sets start-end byte-range-spec specified in RFC2616.
+
54  bool GetInitRangeStartAndEnd(uint32_t* start, uint32_t* end);
+
55 
+
56  // Gets |start| and |end| index range. Returns true if there is an index range
+
57  // and sets start-end byte-range-spec specified in RFC2616.
+
58  bool GetIndexRangeStartAndEnd(uint32_t* start, uint32_t* end);
+
59 
+
60  // Fire events if there are no errors and Muxer::muxer_listener() is not NULL.
+
61  void FireOnMediaStartEvent();
+
62  void FireOnMediaEndEvent();
+
63 
+
64  // Get time in seconds since midnight, Jan. 1, 1904, in UTC Time.
+
65  uint64_t IsoTimeNow();
+
66 
+
67  scoped_ptr<Segmenter> segmenter_;
+
68 
+
69  DISALLOW_COPY_AND_ASSIGN(MP4Muxer);
+
70 };
+
71 
+
72 } // namespace mp4
+
73 } // namespace media
+
74 } // namespace edash_packager
+
75 
+
76 #endif // MEDIA_FORMATS_MP4_MP4_MUXER_H_
MP4Muxer(const MuxerOptions &options)
Create a MP4Muxer object from MuxerOptions.
Definition: mp4_muxer.cc:87
Holds audio stream information.
- +
Abstract class holds stream information.
Definition: stream_info.h:26
@@ -174,7 +173,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d96/wvm__media__parser_8h_source.html b/docs/db/d96/wvm__media__parser_8h_source.html index 7b141f06a9..1425033354 100644 --- a/docs/db/d96/wvm__media__parser_8h_source.html +++ b/docs/db/d96/wvm__media__parser_8h_source.html @@ -363,7 +363,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d97/classedash__packager_1_1media_1_1WebMContentEncodingsClient-members.html b/docs/db/d97/classedash__packager_1_1media_1_1WebMContentEncodingsClient-members.html index 891badd80c..fb69fa01e5 100644 --- a/docs/db/d97/classedash__packager_1_1media_1_1WebMContentEncodingsClient-members.html +++ b/docs/db/d97/classedash__packager_1_1media_1_1WebMContentEncodingsClient-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/da0/classedash__packager_1_1media_1_1ProtectionSystemSpecificInfo.html b/docs/db/da0/classedash__packager_1_1media_1_1ProtectionSystemSpecificInfo.html index acb99c230f..2535e48aa3 100644 --- a/docs/db/da0/classedash__packager_1_1media_1_1ProtectionSystemSpecificInfo.html +++ b/docs/db/da0/classedash__packager_1_1media_1_1ProtectionSystemSpecificInfo.html @@ -167,7 +167,7 @@ Static Public Member Functions

Parses the given PSSH box into this object.

Returns
true on success; false on failure.
-

Definition at line 45 of file protection_system_specific_info.cc.

+

Definition at line 44 of file protection_system_specific_info.cc.

@@ -211,7 +211,7 @@ Static Public Member Functions

Parses multiple PSSH boxes from data. These boxes should be concatenated together. Any non-PSSH box is an error.

Returns
true on success; false on failure.
-

Definition at line 26 of file protection_system_specific_info.cc.

+

Definition at line 25 of file protection_system_specific_info.cc.

@@ -222,7 +222,7 @@ Static Public Member Functions diff --git a/docs/db/da0/classedash__packager_1_1media_1_1WebMClusterParser.html b/docs/db/da0/classedash__packager_1_1media_1_1WebMClusterParser.html index edd08dc387..c01010eaae 100644 --- a/docs/db/da0/classedash__packager_1_1media_1_1WebMClusterParser.html +++ b/docs/db/da0/classedash__packager_1_1media_1_1WebMClusterParser.html @@ -365,7 +365,7 @@ The number of bytes parsed on success. diff --git a/docs/db/da4/classBandwidthEstimator-members.html b/docs/db/da4/classBandwidthEstimator-members.html index a9ab214e88..d8dd410a4f 100644 --- a/docs/db/da4/classBandwidthEstimator-members.html +++ b/docs/db/da4/classBandwidthEstimator-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html b/docs/db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html index 23fc63eb95..8e70e60f5f 100644 --- a/docs/db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html +++ b/docs/db/da4/classedash__packager_1_1media_1_1WidevineKeySource.html @@ -195,7 +195,7 @@ static std::string 148 of file widevine_key_source.cc.

+

Definition at line 141 of file widevine_key_source.cc.

@@ -232,7 +232,7 @@ static std::string edash_packager::media::KeySource.

-

Definition at line 186 of file widevine_key_source.cc.

+

Definition at line 179 of file widevine_key_source.cc.

@@ -268,7 +268,7 @@ static std::string edash_packager::media::KeySource.

-

Definition at line 213 of file widevine_key_source.cc.

+

Definition at line 206 of file widevine_key_source.cc.

@@ -304,7 +304,7 @@ static std::string edash_packager::media::KeySource.

-

Definition at line 234 of file widevine_key_source.cc.

+

Definition at line 227 of file widevine_key_source.cc.

@@ -341,7 +341,7 @@ static std::string 
Returns
OK on success, an error status otherwise.
-

Definition at line 175 of file widevine_key_source.cc.

+

Definition at line 168 of file widevine_key_source.cc.

@@ -395,7 +395,7 @@ static std::string edash_packager::media::KeySource.

-

Definition at line 269 of file widevine_key_source.cc.

+

Definition at line 262 of file widevine_key_source.cc.

@@ -442,7 +442,7 @@ static std::string edash_packager::media::KeySource.

-

Definition at line 243 of file widevine_key_source.cc.

+

Definition at line 236 of file widevine_key_source.cc.

@@ -489,7 +489,7 @@ static std::string edash_packager::media::KeySource.

-

Definition at line 253 of file widevine_key_source.cc.

+

Definition at line 246 of file widevine_key_source.cc.

@@ -514,7 +514,7 @@ static std::string 295 of file widevine_key_source.cc.

+

Definition at line 288 of file widevine_key_source.cc.

@@ -539,7 +539,7 @@ static std::string 291 of file widevine_key_source.cc.

+

Definition at line 284 of file widevine_key_source.cc.

@@ -550,7 +550,7 @@ static std::string  diff --git a/docs/db/da5/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html b/docs/db/da5/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html index d114605917..184695d546 100644 --- a/docs/db/da5/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html +++ b/docs/db/da5/structedash__packager_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/da6/memory__file_8h_source.html b/docs/db/da6/memory__file_8h_source.html index 6a1f0cde7f..e68e84103b 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/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html b/docs/db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html index 673fbaec05..f1a2f6f537 100644 --- a/docs/db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html +++ b/docs/db/dae/classedash__packager_1_1media_1_1mp4_1_1Fragmenter.html @@ -299,7 +299,7 @@ template<typename T > diff --git a/docs/db/db8/structedash__packager_1_1media_1_1mp4_1_1ID3v2-members.html b/docs/db/db8/structedash__packager_1_1media_1_1mp4_1_1ID3v2-members.html index 692f4aa2a5..c7d6ddc669 100644 --- a/docs/db/db8/structedash__packager_1_1media_1_1mp4_1_1ID3v2-members.html +++ b/docs/db/db8/structedash__packager_1_1media_1_1mp4_1_1ID3v2-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dbf/classedash__packager_1_1media_1_1mp4_1_1H265VideoSliceHeaderParser.html b/docs/db/dbf/classedash__packager_1_1media_1_1mp4_1_1H265VideoSliceHeaderParser.html index 09af6ada37..afdd8a61b7 100644 --- a/docs/db/dbf/classedash__packager_1_1media_1_1mp4_1_1H265VideoSliceHeaderParser.html +++ b/docs/db/dbf/classedash__packager_1_1media_1_1mp4_1_1H265VideoSliceHeaderParser.html @@ -152,7 +152,7 @@ int64_t  diff --git a/docs/db/dc8/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt-members.html b/docs/db/dc8/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt-members.html index f531980b81..b47d1439f1 100644 --- a/docs/db/dc8/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt-members.html +++ b/docs/db/dc8/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPmt-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dd1/structedash__packager_1_1media_1_1mp4_1_1SampleEncryption-members.html b/docs/db/dd1/structedash__packager_1_1media_1_1mp4_1_1SampleEncryption-members.html index 278d10602f..748d6a3d3a 100644 --- a/docs/db/dd1/structedash__packager_1_1media_1_1mp4_1_1SampleEncryption-members.html +++ b/docs/db/dd1/structedash__packager_1_1media_1_1mp4_1_1SampleEncryption-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dd2/chunk__info__iterator_8h_source.html b/docs/db/dd2/chunk__info__iterator_8h_source.html index c13e2db9d1..1f9b97533b 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 d390e234c1..01fe9225f0 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 7997ad1cd4..e46f7373c1 100644 --- a/docs/db/dde/h265__parser_8cc_source.html +++ b/docs/db/dde/h265__parser_8cc_source.html @@ -948,7 +948,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/de4/classedash__packager_1_1AdaptationSet.html b/docs/db/de4/classedash__packager_1_1AdaptationSet.html index 8e43a3b155..b2b74041cc 100644 --- a/docs/db/de4/classedash__packager_1_1AdaptationSet.html +++ b/docs/db/de4/classedash__packager_1_1AdaptationSet.html @@ -582,7 +582,7 @@ template<MpdBuilder::MpdType type> diff --git a/docs/db/de9/classedash__packager_1_1media_1_1StreamDescriptorCompareFn-members.html b/docs/db/de9/classedash__packager_1_1media_1_1StreamDescriptorCompareFn-members.html index 3d0a0a77fb..d36f62d06f 100644 --- a/docs/db/de9/classedash__packager_1_1media_1_1StreamDescriptorCompareFn-members.html +++ b/docs/db/de9/classedash__packager_1_1media_1_1StreamDescriptorCompareFn-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dec/audio__timestamp__helper_8cc_source.html b/docs/db/dec/audio__timestamp__helper_8cc_source.html index 0f0fc655ad..e3d114b6b2 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 3625c4a0c3..4417a25219 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/classedash__packager_1_1media_1_1mp2t_1_1EsParser.html b/docs/db/df2/classedash__packager_1_1media_1_1mp2t_1_1EsParser.html index a856a60de1..1860a97934 100644 --- a/docs/db/df2/classedash__packager_1_1media_1_1mp2t_1_1EsParser.html +++ b/docs/db/df2/classedash__packager_1_1media_1_1mp2t_1_1EsParser.html @@ -144,7 +144,7 @@ uint32_t pid () diff --git a/docs/db/df6/muxer_8h_source.html b/docs/db/df6/muxer_8h_source.html index 3f735758f1..41d85d60c0 100644 --- a/docs/db/df6/muxer_8h_source.html +++ b/docs/db/df6/muxer_8h_source.html @@ -212,7 +212,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/df7/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi-members.html b/docs/db/df7/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi-members.html index 909e2e7917..057eabc642 100644 --- a/docs/db/df7/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi-members.html +++ b/docs/db/df7/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPsi-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html b/docs/db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html index 15399bdd6e..463a1b91dd 100644 --- a/docs/db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html +++ b/docs/db/df7/structedash__packager_1_1media_1_1mp4_1_1VideoMediaHeader.html @@ -191,7 +191,7 @@ Additional Inherited Members diff --git a/docs/db/dfb/mpd__utils_8cc_source.html b/docs/db/dfb/mpd__utils_8cc_source.html index 2b1ef4d157..e0175c8d27 100644 --- a/docs/db/dfb/mpd__utils_8cc_source.html +++ b/docs/db/dfb/mpd__utils_8cc_source.html @@ -443,7 +443,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 626b6245b6..6b6a8ab1d8 100644 --- a/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html +++ b/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html @@ -259,7 +259,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html b/docs/dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html index 7cb19501bb..8ea80fa998 100644 --- a/docs/dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html +++ b/docs/dc/d05/classedash__packager_1_1xml_1_1RepresentationXmlNode.html @@ -311,7 +311,7 @@ Additional Inherited Members diff --git a/docs/dc/d0c/classedash__packager_1_1media_1_1WebMVideoClient.html b/docs/dc/d0c/classedash__packager_1_1media_1_1WebMVideoClient.html index 05b7430dce..40eaf1ac0a 100644 --- a/docs/dc/d0c/classedash__packager_1_1media_1_1WebMVideoClient.html +++ b/docs/dc/d0c/classedash__packager_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/dc/d0d/structedash__packager_1_1media_1_1mp4_1_1EditListEntry.html b/docs/dc/d0d/structedash__packager_1_1media_1_1mp4_1_1EditListEntry.html index c1e7338adb..529cac7137 100644 --- a/docs/dc/d0d/structedash__packager_1_1media_1_1mp4_1_1EditListEntry.html +++ b/docs/dc/d0d/structedash__packager_1_1media_1_1mp4_1_1EditListEntry.html @@ -118,7 +118,7 @@ int16_t media_rate_fractio diff --git a/docs/dc/d19/box_8h_source.html b/docs/dc/d19/box_8h_source.html index a797403983..0c54d3f969 100644 --- a/docs/dc/d19/box_8h_source.html +++ b/docs/dc/d19/box_8h_source.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 
10 #include <stdint.h>
11 
-
12 #include "packager/media/formats/mp4/fourccs.h"
+
12 #include "packager/media/base/fourccs.h"
13 
14 namespace edash_packager {
15 namespace media {
@@ -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 6b39509cd3..2dc2be7d8e 100644 --- a/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html +++ b/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html @@ -397,7 +397,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d23/classedash__packager_1_1MockMpdNotifier-members.html b/docs/dc/d23/classedash__packager_1_1MockMpdNotifier-members.html index 7f879c1f80..871f83e082 100644 --- a/docs/dc/d23/classedash__packager_1_1MockMpdNotifier-members.html +++ b/docs/dc/d23/classedash__packager_1_1MockMpdNotifier-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d2f/classedash__packager_1_1media_1_1KeySource-members.html b/docs/dc/d2f/classedash__packager_1_1media_1_1KeySource-members.html index 7bfd2302da..8347680794 100644 --- a/docs/dc/d2f/classedash__packager_1_1media_1_1KeySource-members.html +++ b/docs/dc/d2f/classedash__packager_1_1media_1_1KeySource-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d31/classedash__packager_1_1media_1_1ClusterBuilder-members.html b/docs/dc/d31/classedash__packager_1_1media_1_1ClusterBuilder-members.html index d736f359f8..60d231ad0c 100644 --- a/docs/dc/d31/classedash__packager_1_1media_1_1ClusterBuilder-members.html +++ b/docs/dc/d31/classedash__packager_1_1media_1_1ClusterBuilder-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d35/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html b/docs/dc/d35/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html index 68d86fbb6c..cd6444af47 100644 --- a/docs/dc/d35/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html +++ b/docs/dc/d35/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html @@ -105,7 +105,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 1d66cf646a..ccb26e9297 100644 --- a/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html +++ b/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html @@ -157,7 +157,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 174e073e21..ee0e07b91a 100644 --- a/docs/dc/d3c/webm__cluster__parser_8h_source.html +++ b/docs/dc/d3c/webm__cluster__parser_8h_source.html @@ -298,7 +298,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 ecc1d87246..b87d9ae21c 100644 --- a/docs/dc/d3f/key__source_8h_source.html +++ b/docs/dc/d3f/key__source_8h_source.html @@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d41/classedash__packager_1_1xml_1_1RepresentationXmlNode-members.html b/docs/dc/d41/classedash__packager_1_1xml_1_1RepresentationXmlNode-members.html index 6fd6fe0f62..4e2290eb75 100644 --- a/docs/dc/d41/classedash__packager_1_1xml_1_1RepresentationXmlNode-members.html +++ b/docs/dc/d41/classedash__packager_1_1xml_1_1RepresentationXmlNode-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d44/classedash__packager_1_1xml_1_1XmlNode-members.html b/docs/dc/d44/classedash__packager_1_1xml_1_1XmlNode-members.html index 6bf3a400de..393c7becbe 100644 --- a/docs/dc/d44/classedash__packager_1_1xml_1_1XmlNode-members.html +++ b/docs/dc/d44/classedash__packager_1_1xml_1_1XmlNode-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d46/classedash__packager_1_1media_1_1Cluster-members.html b/docs/dc/d46/classedash__packager_1_1media_1_1Cluster-members.html index 9fb0e007d0..dc9bc8ae93 100644 --- a/docs/dc/d46/classedash__packager_1_1media_1_1Cluster-members.html +++ b/docs/dc/d46/classedash__packager_1_1media_1_1Cluster-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d48/classedash__packager_1_1media_1_1MediaParser.html b/docs/dc/d48/classedash__packager_1_1media_1_1MediaParser.html index 46aba31856..a5afe4c66c 100644 --- a/docs/dc/d48/classedash__packager_1_1media_1_1MediaParser.html +++ b/docs/dc/d48/classedash__packager_1_1media_1_1MediaParser.html @@ -298,7 +298,7 @@ Public Member Functions diff --git a/docs/dc/d4a/structedash__packager_1_1media_1_1mp4_1_1WebVTTConfigurationBox-members.html b/docs/dc/d4a/structedash__packager_1_1media_1_1mp4_1_1WebVTTConfigurationBox-members.html index 0c5c556bd0..79de1b1d23 100644 --- a/docs/dc/d4a/structedash__packager_1_1media_1_1mp4_1_1WebVTTConfigurationBox-members.html +++ b/docs/dc/d4a/structedash__packager_1_1media_1_1mp4_1_1WebVTTConfigurationBox-members.html @@ -109,7 +109,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 9abc7c2ec0..5a9c80e7a7 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 84da38c6e5..9f94a57e33 100644 --- a/docs/dc/d53/webm_2segmenter_8cc_source.html +++ b/docs/dc/d53/webm_2segmenter_8cc_source.html @@ -536,7 +536,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d54/classedash__packager_1_1media_1_1AesPatternCryptor.html b/docs/dc/d54/classedash__packager_1_1media_1_1AesPatternCryptor.html index fb1ead9aae..d2bbff1479 100644 --- a/docs/dc/d54/classedash__packager_1_1media_1_1AesPatternCryptor.html +++ b/docs/dc/d54/classedash__packager_1_1media_1_1AesPatternCryptor.html @@ -316,7 +316,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/dc/d55/structedash__packager_1_1media_1_1H264SEIMessage-members.html b/docs/dc/d55/structedash__packager_1_1media_1_1H264SEIMessage-members.html index fd1ef19b2f..db1e5d736a 100644 --- a/docs/dc/d55/structedash__packager_1_1media_1_1H264SEIMessage-members.html +++ b/docs/dc/d55/structedash__packager_1_1media_1_1H264SEIMessage-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d58/webm__media__parser_8h_source.html b/docs/dc/d58/webm__media__parser_8h_source.html index 7e0bfadf1d..ea6c55ff85 100644 --- a/docs/dc/d58/webm__media__parser_8h_source.html +++ b/docs/dc/d58/webm__media__parser_8h_source.html @@ -179,7 +179,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d73/classedash__packager_1_1media_1_1RequestSigner.html b/docs/dc/d73/classedash__packager_1_1media_1_1RequestSigner.html index b2459c34ad..48f53f94a8 100644 --- a/docs/dc/d73/classedash__packager_1_1media_1_1RequestSigner.html +++ b/docs/dc/d73/classedash__packager_1_1media_1_1RequestSigner.html @@ -180,7 +180,7 @@ Protected Member Functions diff --git a/docs/dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html b/docs/dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html index 197ccdcba8..d520f9a6b0 100644 --- a/docs/dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html +++ b/docs/dc/d7a/classedash__packager_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html @@ -259,7 +259,7 @@ void set_progress_target diff --git a/docs/dc/d7b/closure__thread_8cc_source.html b/docs/dc/d7b/closure__thread_8cc_source.html index 79d9a06fba..c664d2fa3b 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 4bf127ec58..24c5b0182d 100644 --- a/docs/dc/d7b/h264__parser_8cc_source.html +++ b/docs/dc/d7b/h264__parser_8cc_source.html @@ -1267,7 +1267,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d81/classedash__packager_1_1MpdWriter.html b/docs/dc/d81/classedash__packager_1_1MpdWriter.html index 0dd8a193cd..45f0f7b456 100644 --- a/docs/dc/d81/classedash__packager_1_1MpdWriter.html +++ b/docs/dc/d81/classedash__packager_1_1MpdWriter.html @@ -123,7 +123,7 @@ class MpdWriterTest diff --git a/docs/dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html b/docs/dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html index 65b1622b32..0901713408 100644 --- a/docs/dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html +++ b/docs/dc/d8a/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter.html @@ -301,7 +301,7 @@ void set_encryption_key diff --git a/docs/dc/d92/classedash__packager_1_1media_1_1AesEncryptor.html b/docs/dc/d92/classedash__packager_1_1media_1_1AesEncryptor.html index a731578c78..69d18ef84c 100644 --- a/docs/dc/d92/classedash__packager_1_1media_1_1AesEncryptor.html +++ b/docs/dc/d92/classedash__packager_1_1media_1_1AesEncryptor.html @@ -221,7 +221,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/dc/d96/structedash__packager_1_1media_1_1H265Sps.html b/docs/dc/d96/structedash__packager_1_1media_1_1H265Sps.html index af0b789b4d..0cbf094480 100644 --- a/docs/dc/d96/structedash__packager_1_1media_1_1H265Sps.html +++ b/docs/dc/d96/structedash__packager_1_1media_1_1H265Sps.html @@ -250,7 +250,7 @@ bool strong_intra_smoothin diff --git a/docs/dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html b/docs/dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html index 0ef9ea3d17..14b25fde39 100644 --- a/docs/dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html +++ b/docs/dc/dab/classedash__packager_1_1media_1_1mp2t_1_1Mp2tMediaParser.html @@ -256,7 +256,7 @@ track_id, const scoped_refptr
diff --git a/docs/dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html b/docs/dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html index 3e7555ca33..f24e953554 100644 --- a/docs/dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html +++ b/docs/dc/db7/structedash__packager_1_1media_1_1mp4_1_1DecodingTimeToSample.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/dc/dbf/box__buffer_8h_source.html b/docs/dc/dbf/box__buffer_8h_source.html index 0828eddb7b..60c812c38f 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/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html b/docs/dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html index 0415851473..9dbce0d7f8 100644 --- a/docs/dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html +++ b/docs/dc/dc6/classedash__packager_1_1media_1_1mp4_1_1AACAudioSpecificConfig.html @@ -329,7 +329,7 @@ static const size_t  diff --git a/docs/dc/dc8/classedash__packager_1_1media_1_1WebMWebVTTParser.html b/docs/dc/dc8/classedash__packager_1_1media_1_1WebMWebVTTParser.html index ed1b00a04c..e1b733f687 100644 --- a/docs/dc/dc8/classedash__packager_1_1media_1_1WebMWebVTTParser.html +++ b/docs/dc/dc8/classedash__packager_1_1media_1_1WebMWebVTTParser.html @@ -111,7 +111,7 @@ static void  diff --git a/docs/dc/dd4/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html b/docs/dc/dd4/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html index b311fc81e2..961df9f39e 100644 --- a/docs/dc/dd4/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html +++ b/docs/dc/dd4/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/dd9/rsa__key_8cc_source.html b/docs/dc/dd9/rsa__key_8cc_source.html index 120000b6aa..00a4352a17 100644 --- a/docs/dc/dd9/rsa__key_8cc_source.html +++ b/docs/dc/dd9/rsa__key_8cc_source.html @@ -350,7 +350,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/ddf/classedash__packager_1_1media_1_1WebMInfoParser-members.html b/docs/dc/ddf/classedash__packager_1_1media_1_1WebMInfoParser-members.html index 3d05a3c3ef..e1050f4297 100644 --- a/docs/dc/ddf/classedash__packager_1_1media_1_1WebMInfoParser-members.html +++ b/docs/dc/ddf/classedash__packager_1_1media_1_1WebMInfoParser-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/ddf/udp__file__posix_8cc_source.html b/docs/dc/ddf/udp__file__posix_8cc_source.html index 4563369783..67be837219 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/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html b/docs/dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html index 634e8906ec..a983867347 100644 --- a/docs/dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html +++ b/docs/dc/de1/classedash__packager_1_1media_1_1mp4_1_1Segmenter.html @@ -429,7 +429,7 @@ void set_progress_target diff --git a/docs/dc/dec/ts__section__pmt_8cc_source.html b/docs/dc/dec/ts__section__pmt_8cc_source.html index d81829f63e..92d459630c 100644 --- a/docs/dc/dec/ts__section__pmt_8cc_source.html +++ b/docs/dc/dec/ts__section__pmt_8cc_source.html @@ -207,7 +207,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/def/structedash__packager_1_1media_1_1mp4_1_1DataInformation-members.html b/docs/dc/def/structedash__packager_1_1media_1_1mp4_1_1DataInformation-members.html index 5b20ec00e1..484c6bf32b 100644 --- a/docs/dc/def/structedash__packager_1_1media_1_1mp4_1_1DataInformation-members.html +++ b/docs/dc/def/structedash__packager_1_1media_1_1mp4_1_1DataInformation-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/df1/classedash__packager_1_1media_1_1DecryptorSource.html b/docs/dc/df1/classedash__packager_1_1media_1_1DecryptorSource.html index 0d467b99b2..9bd91ba195 100644 --- a/docs/dc/df1/classedash__packager_1_1media_1_1DecryptorSource.html +++ b/docs/dc/df1/classedash__packager_1_1media_1_1DecryptorSource.html @@ -119,7 +119,7 @@ bool DecryptSampleBuffer diff --git a/docs/dc/df8/closure__thread_8h_source.html b/docs/dc/df8/closure__thread_8h_source.html index c2e364fb2b..6b1fd0d006 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/dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html b/docs/dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html index 6cb3e07f1f..b82741e4af 100644 --- a/docs/dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html +++ b/docs/dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html @@ -438,7 +438,7 @@ Additional Inherited Members diff --git a/docs/dc/dfc/classedash__packager_1_1media_1_1Muxer-members.html b/docs/dc/dfc/classedash__packager_1_1media_1_1Muxer-members.html index 693c27b1d2..179724aea5 100644 --- a/docs/dc/dfc/classedash__packager_1_1media_1_1Muxer-members.html +++ b/docs/dc/dfc/classedash__packager_1_1media_1_1Muxer-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d0c/classedash__packager_1_1media_1_1SegmentTestBase_1_1ClusterParser-members.html b/docs/dd/d0c/classedash__packager_1_1media_1_1SegmentTestBase_1_1ClusterParser-members.html index ee7990c929..4f88cbb82f 100644 --- a/docs/dd/d0c/classedash__packager_1_1media_1_1SegmentTestBase_1_1ClusterParser-members.html +++ b/docs/dd/d0c/classedash__packager_1_1media_1_1SegmentTestBase_1_1ClusterParser-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264.html b/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264.html index d7056723d4..bc585f9082 100644 --- a/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264.html +++ b/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264.html @@ -149,7 +149,7 @@ const scoped_refptr
diff --git a/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat.html b/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat.html index 54c887ff11..a7fae8e24e 100644 --- a/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat.html +++ b/docs/dd/d0e/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat.html @@ -155,7 +155,7 @@ void Reset () override diff --git a/docs/dd/d11/mpd__builder_8cc_source.html b/docs/dd/d11/mpd__builder_8cc_source.html index cc7aae9326..7b47c6cfb1 100644 --- a/docs/dd/d11/mpd__builder_8cc_source.html +++ b/docs/dd/d11/mpd__builder_8cc_source.html @@ -1503,7 +1503,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 32e7a9aba8..7821735ae9 100644 --- a/docs/dd/d12/mpd__writer_8cc_source.html +++ b/docs/dd/d12/mpd__writer_8cc_source.html @@ -224,7 +224,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d12/structedash__packager_1_1media_1_1mp4_1_1CueTimeBox.html b/docs/dd/d12/structedash__packager_1_1media_1_1mp4_1_1CueTimeBox.html index 9bfba42161..b7504b3b77 100644 --- a/docs/dd/d12/structedash__packager_1_1media_1_1mp4_1_1CueTimeBox.html +++ b/docs/dd/d12/structedash__packager_1_1media_1_1mp4_1_1CueTimeBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html b/docs/dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html index ce115b9f24..c3fc5c3132 100644 --- a/docs/dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html +++ b/docs/dd/d14/structedash__packager_1_1media_1_1mp4_1_1MovieHeader.html @@ -200,7 +200,7 @@ Additional Inherited Members diff --git a/docs/dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html b/docs/dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html index acf4c202be..21aac3e821 100644 --- a/docs/dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html +++ b/docs/dd/d15/structedash__packager_1_1media_1_1mp4_1_1TrackHeader.html @@ -215,7 +215,7 @@ Additional Inherited Members diff --git a/docs/dd/d18/es__parser__adts_8h_source.html b/docs/dd/d18/es__parser__adts_8h_source.html index edf787bfc9..682c39e86e 100644 --- a/docs/dd/d18/es__parser__adts_8h_source.html +++ b/docs/dd/d18/es__parser__adts_8h_source.html @@ -172,7 +172,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d19/video__stream__info_8cc_source.html b/docs/dd/d19/video__stream__info_8cc_source.html index ceccb8fa4d..a694844048 100644 --- a/docs/dd/d19/video__stream__info_8cc_source.html +++ b/docs/dd/d19/video__stream__info_8cc_source.html @@ -197,7 +197,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d1a/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter-members.html b/docs/dd/d1a/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter-members.html index 8fc75e2b27..f76b02b723 100644 --- a/docs/dd/d1a/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter-members.html +++ b/docs/dd/d1a/classedash__packager_1_1media_1_1H264ByteToUnitStreamConverter-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html b/docs/dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html index d96b174482..5f71374a37 100644 --- a/docs/dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html +++ b/docs/dd/d2b/classedash__packager_1_1media_1_1ClosureThread.html @@ -179,7 +179,7 @@ void  diff --git a/docs/dd/d30/wvm__media__parser_8cc_source.html b/docs/dd/d30/wvm__media__parser_8cc_source.html index 70611f7449..55d03508ec 100644 --- a/docs/dd/d30/wvm__media__parser_8cc_source.html +++ b/docs/dd/d30/wvm__media__parser_8cc_source.html @@ -1261,7 +1261,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d36/classedash__packager_1_1media_1_1MediaSample-members.html b/docs/dd/d36/classedash__packager_1_1media_1_1MediaSample-members.html index dcffc3086f..ccb59348c9 100644 --- a/docs/dd/d36/classedash__packager_1_1media_1_1MediaSample-members.html +++ b/docs/dd/d36/classedash__packager_1_1media_1_1MediaSample-members.html @@ -123,7 +123,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d3b/mp4_2segmenter_8h_source.html b/docs/dd/d3b/mp4_2segmenter_8h_source.html index 4c8e1030c0..616db62369 100644 --- a/docs/dd/d3b/mp4_2segmenter_8h_source.html +++ b/docs/dd/d3b/mp4_2segmenter_8h_source.html @@ -221,7 +221,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d42/encryptor_8h_source.html b/docs/dd/d42/encryptor_8h_source.html index 6a8848fdd6..278481fba3 100644 --- a/docs/dd/d42/encryptor_8h_source.html +++ b/docs/dd/d42/encryptor_8h_source.html @@ -151,7 +151,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d44/structedash__packager_1_1media_1_1mp4_1_1SegmentReference-members.html b/docs/dd/d44/structedash__packager_1_1media_1_1mp4_1_1SegmentReference-members.html index 174adce27a..991e68ce4b 100644 --- a/docs/dd/d44/structedash__packager_1_1media_1_1mp4_1_1SegmentReference-members.html +++ b/docs/dd/d44/structedash__packager_1_1media_1_1mp4_1_1SegmentReference-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d46/webm__parser_8h_source.html b/docs/dd/d46/webm__parser_8h_source.html index 67dccb1f72..7dc462b380 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/d47/classedash__packager_1_1media_1_1WebMInfoParser.html b/docs/dd/d47/classedash__packager_1_1media_1_1WebMInfoParser.html index f5fdf5a191..f64babc082 100644 --- a/docs/dd/d47/classedash__packager_1_1media_1_1WebMInfoParser.html +++ b/docs/dd/d47/classedash__packager_1_1media_1_1WebMInfoParser.html @@ -175,7 +175,7 @@ The number of bytes parsed on success. diff --git a/docs/dd/d48/classedash__packager_1_1media_1_1mp2t_1_1TsMuxer.html b/docs/dd/d48/classedash__packager_1_1media_1_1mp2t_1_1TsMuxer.html index 18dc943e1f..6eb7aaa36b 100644 --- a/docs/dd/d48/classedash__packager_1_1media_1_1mp2t_1_1TsMuxer.html +++ b/docs/dd/d48/classedash__packager_1_1media_1_1mp2t_1_1TsMuxer.html @@ -178,7 +178,7 @@ EncryptionMode encryption_ diff --git a/docs/dd/d4c/structedash__packager_1_1media_1_1mp4_1_1FullBox-members.html b/docs/dd/d4c/structedash__packager_1_1media_1_1mp4_1_1FullBox-members.html index 9264003157..7878acd83e 100644 --- a/docs/dd/d4c/structedash__packager_1_1media_1_1mp4_1_1FullBox-members.html +++ b/docs/dd/d4c/structedash__packager_1_1media_1_1mp4_1_1FullBox-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html b/docs/dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html index 04a42d19c5..f47f7c4dda 100644 --- a/docs/dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html +++ b/docs/dd/d4f/classedash__packager_1_1media_1_1mp4_1_1BoxBuffer.html @@ -589,7 +589,7 @@ bool ReadWriteInt64 (i diff --git a/docs/dd/d54/widevine__encryption__flags_8h_source.html b/docs/dd/d54/widevine__encryption__flags_8h_source.html index 72072dbc8e..68546458ad 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/d5e/structedash__packager_1_1media_1_1mp4_1_1CuePayloadBox-members.html b/docs/dd/d5e/structedash__packager_1_1media_1_1mp4_1_1CuePayloadBox-members.html index 7a0bcb2ff5..33dbbd5912 100644 --- a/docs/dd/d5e/structedash__packager_1_1media_1_1mp4_1_1CuePayloadBox-members.html +++ b/docs/dd/d5e/structedash__packager_1_1media_1_1mp4_1_1CuePayloadBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d60/structedash__packager_1_1media_1_1mp4_1_1VTTEmptyCueBox-members.html b/docs/dd/d60/structedash__packager_1_1media_1_1mp4_1_1VTTEmptyCueBox-members.html index b78785830a..035a378a9e 100644 --- a/docs/dd/d60/structedash__packager_1_1media_1_1mp4_1_1VTTEmptyCueBox-members.html +++ b/docs/dd/d60/structedash__packager_1_1media_1_1mp4_1_1VTTEmptyCueBox-members.html @@ -108,7 +108,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 157ea7db21..0d2119f407 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 d516689639..8374578209 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 @@ -215,7 +215,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html b/docs/dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html index b20597dd8c..d946ca5ad7 100644 --- a/docs/dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html +++ b/docs/dd/d79/classedash__packager_1_1media_1_1AesCtrEncryptor.html @@ -215,7 +215,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/dd/d7d/structedash__packager_1_1media_1_1mp4_1_1TextSampleEntry.html b/docs/dd/d7d/structedash__packager_1_1media_1_1mp4_1_1TextSampleEntry.html index f4bd2a69cc..e997c3d084 100644 --- a/docs/dd/d7d/structedash__packager_1_1media_1_1mp4_1_1TextSampleEntry.html +++ b/docs/dd/d7d/structedash__packager_1_1media_1_1mp4_1_1TextSampleEntry.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/dd/d7f/classedash__packager_1_1media_1_1DecoderConfiguration-members.html b/docs/dd/d7f/classedash__packager_1_1media_1_1DecoderConfiguration-members.html index 412a83b20b..11a313d3d7 100644 --- a/docs/dd/d7f/classedash__packager_1_1media_1_1DecoderConfiguration-members.html +++ b/docs/dd/d7f/classedash__packager_1_1media_1_1DecoderConfiguration-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d80/media__sample_8h_source.html b/docs/dd/d80/media__sample_8h_source.html index a6fc1d2e32..54f0d8cbac 100644 --- a/docs/dd/d80/media__sample_8h_source.html +++ b/docs/dd/d80/media__sample_8h_source.html @@ -260,7 +260,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d85/classedash__packager_1_1xml_1_1XmlNode.html b/docs/dd/d85/classedash__packager_1_1xml_1_1XmlNode.html index 639c58fa18..f9c67cde1e 100644 --- a/docs/dd/d85/classedash__packager_1_1xml_1_1XmlNode.html +++ b/docs/dd/d85/classedash__packager_1_1xml_1_1XmlNode.html @@ -419,7 +419,7 @@ bool  diff --git a/docs/dd/d85/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html b/docs/dd/d85/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html index 6a0466dc5d..ef08c53da0 100644 --- a/docs/dd/d85/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html +++ b/docs/dd/d85/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d87/memory__file_8cc_source.html b/docs/dd/d87/memory__file_8cc_source.html index d9c6f7d4f6..797e451893 100644 --- a/docs/dd/d87/memory__file_8cc_source.html +++ b/docs/dd/d87/memory__file_8cc_source.html @@ -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 b2b27533b5..fdb333a7c9 100644 --- a/docs/dd/d88/pes__packet__generator_8h_source.html +++ b/docs/dd/d88/pes__packet__generator_8h_source.html @@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d8c/file__test__util_8h_source.html b/docs/dd/d8c/file__test__util_8h_source.html index b2c39dd13b..cd24e2a922 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/d8e/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter-members.html b/docs/dd/d8e/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter-members.html index c6b64e221f..0019842122 100644 --- a/docs/dd/d8e/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter-members.html +++ b/docs/dd/d8e/classedash__packager_1_1media_1_1mp4_1_1KeyRotationFragmenter-members.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d98/classedash__packager_1_1media_1_1LocalFile.html b/docs/dd/d98/classedash__packager_1_1media_1_1LocalFile.html index fced116c9d..5bedbdd7bb 100644 --- a/docs/dd/d98/classedash__packager_1_1media_1_1LocalFile.html +++ b/docs/dd/d98/classedash__packager_1_1media_1_1LocalFile.html @@ -502,7 +502,7 @@ bool  diff --git a/docs/dd/d98/structedash__packager_1_1media_1_1H264Sps-members.html b/docs/dd/d98/structedash__packager_1_1media_1_1H264Sps-members.html index 937f57f427..8efce07ce7 100644 --- a/docs/dd/d98/structedash__packager_1_1media_1_1H264Sps-members.html +++ b/docs/dd/d98/structedash__packager_1_1media_1_1H264Sps-members.html @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d99/classedash__packager_1_1media_1_1WebMMediaParser.html b/docs/dd/d99/classedash__packager_1_1media_1_1WebMMediaParser.html index 166983e824..33b9de80b7 100644 --- a/docs/dd/d99/classedash__packager_1_1media_1_1WebMMediaParser.html +++ b/docs/dd/d99/classedash__packager_1_1media_1_1WebMMediaParser.html @@ -256,7 +256,7 @@ track_id, const scoped_refptr
diff --git a/docs/dd/d9a/audio__timestamp__helper_8h_source.html b/docs/dd/d9a/audio__timestamp__helper_8h_source.html index a71c4f45dc..ba3d17559c 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/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html b/docs/dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html index 42b828e782..8684b87ebf 100644 --- a/docs/dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html +++ b/docs/dd/da2/structedash__packager_1_1media_1_1mp4_1_1MovieFragment.html @@ -180,7 +180,7 @@ Additional Inherited Members diff --git a/docs/dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html b/docs/dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html index 36f32b86e0..8e3d38dcf8 100644 --- a/docs/dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html +++ b/docs/dd/da6/structedash__packager_1_1media_1_1mp4_1_1SegmentType.html @@ -177,7 +177,7 @@ std::vector< FourCC > < diff --git a/docs/dd/da8/classedash__packager_1_1media_1_1RsaRequestSigner.html b/docs/dd/da8/classedash__packager_1_1media_1_1RsaRequestSigner.html index f2e5cbf5a4..3628ba6b19 100644 --- a/docs/dd/da8/classedash__packager_1_1media_1_1RsaRequestSigner.html +++ b/docs/dd/da8/classedash__packager_1_1media_1_1RsaRequestSigner.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/dd/daa/vod__media__info__dump__muxer__listener_8h_source.html b/docs/dd/daa/vod__media__info__dump__muxer__listener_8h_source.html index ee1eed9523..8728e146b5 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 @@ -171,7 +171,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dab/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry.html b/docs/dd/dab/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry.html index bd50d07029..f69d65b4ca 100644 --- a/docs/dd/dab/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry.html +++ b/docs/dd/dab/structedash__packager_1_1media_1_1mp4_1_1SampleToGroupEntry.html @@ -120,7 +120,7 @@ uint32_t group_description diff --git a/docs/dd/dab/webm__muxer_8h_source.html b/docs/dd/dab/webm__muxer_8h_source.html index 681e559bc4..76f132c912 100644 --- a/docs/dd/dab/webm__muxer_8h_source.html +++ b/docs/dd/dab/webm__muxer_8h_source.html @@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dad/classedash__packager_1_1media_1_1WebMParserClient-members.html b/docs/dd/dad/classedash__packager_1_1media_1_1WebMParserClient-members.html index cdd1f84b3c..60e547f987 100644 --- a/docs/dd/dad/classedash__packager_1_1media_1_1WebMParserClient-members.html +++ b/docs/dd/dad/classedash__packager_1_1media_1_1WebMParserClient-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dbc/buffer__reader_8cc_source.html b/docs/dd/dbc/buffer__reader_8cc_source.html index e80e90fc82..4510ca3a37 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/classedash__packager_1_1media_1_1AesCtrEncryptor-members.html b/docs/dd/dbd/classedash__packager_1_1media_1_1AesCtrEncryptor-members.html index c5f066f318..09bf9ea4fd 100644 --- a/docs/dd/dbd/classedash__packager_1_1media_1_1AesCtrEncryptor-members.html +++ b/docs/dd/dbd/classedash__packager_1_1media_1_1AesCtrEncryptor-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html b/docs/dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html index 544f24199b..41f6c49d62 100644 --- a/docs/dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html +++ b/docs/dd/dbd/structedash__packager_1_1media_1_1mp4_1_1MediaInformation.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/dd/dbf/classedash__packager_1_1MpdNotifier-members.html b/docs/dd/dbf/classedash__packager_1_1MpdNotifier-members.html index 6fd7ba50d2..f91144e785 100644 --- a/docs/dd/dbf/classedash__packager_1_1MpdNotifier-members.html +++ b/docs/dd/dbf/classedash__packager_1_1MpdNotifier-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dbf/webm__webvtt__parser_8h_source.html b/docs/dd/dbf/webm__webvtt__parser_8h_source.html index 914130d90e..604d09234a 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/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html b/docs/dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html index de1d595f9f..447a59f47c 100644 --- a/docs/dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html +++ b/docs/dd/dc9/structedash__packager_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html @@ -179,7 +179,7 @@ Additional Inherited Members diff --git a/docs/dd/dcb/classedash__packager_1_1MpdNotifierFactory.html b/docs/dd/dcb/classedash__packager_1_1MpdNotifierFactory.html index 13a7d80e8c..b74ef6bb14 100644 --- a/docs/dd/dcb/classedash__packager_1_1MpdNotifierFactory.html +++ b/docs/dd/dcb/classedash__packager_1_1MpdNotifierFactory.html @@ -112,7 +112,7 @@ virtual scoped_ptr< diff --git a/docs/dd/dd2/buffer__writer_8h_source.html b/docs/dd/dd2/buffer__writer_8h_source.html index fe0e1d2588..03406d8008 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 701bab68a7..5142a2b38c 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/ddb/classedash__packager_1_1media_1_1mp4_1_1VideoSliceHeaderParser-members.html b/docs/dd/ddb/classedash__packager_1_1media_1_1mp4_1_1VideoSliceHeaderParser-members.html index ab51b128c1..3fb6641407 100644 --- a/docs/dd/ddb/classedash__packager_1_1media_1_1mp4_1_1VideoSliceHeaderParser-members.html +++ b/docs/dd/ddb/classedash__packager_1_1media_1_1mp4_1_1VideoSliceHeaderParser-members.html @@ -100,7 +100,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 f1921d8d22..0e8200142c 100644 --- a/docs/dd/de7/xml__node_8h_source.html +++ b/docs/dd/de7/xml__node_8h_source.html @@ -230,7 +230,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dec/structedash__packager_1_1media_1_1OnMediaEndParameters-members.html b/docs/dd/dec/structedash__packager_1_1media_1_1OnMediaEndParameters-members.html index d14369fab0..a9f9ce3905 100644 --- a/docs/dd/dec/structedash__packager_1_1media_1_1OnMediaEndParameters-members.html +++ b/docs/dd/dec/structedash__packager_1_1media_1_1OnMediaEndParameters-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dee/box__definitions_8cc_source.html b/docs/dd/dee/box__definitions_8cc_source.html index dfe726ce75..c3e50bc22f 100644 --- a/docs/dd/dee/box__definitions_8cc_source.html +++ b/docs/dd/dee/box__definitions_8cc_source.html @@ -98,8 +98,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 #include "packager/base/logging.h"
10 #include "packager/media/base/bit_reader.h"
11 #include "packager/media/base/macros.h"
-
12 #include "packager/media/formats/mp4/box_buffer.h"
-
13 #include "packager/media/formats/mp4/rcheck.h"
+
12 #include "packager/media/base/rcheck.h"
+
13 #include "packager/media/formats/mp4/box_buffer.h"
14 
15 namespace {
16 const uint32_t kFourCCSize = 4;
@@ -188,11 +188,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
99 
100 TrackType FourCCToTrackType(FourCC fourcc) {
101  switch (fourcc) {
-
102  case FOURCC_VIDE:
+
102  case FOURCC_vide:
103  return kVideo;
-
104  case FOURCC_SOUN:
+
104  case FOURCC_soun:
105  return kAudio;
-
106  case FOURCC_TEXT:
+
106  case FOURCC_text:
107  return kText;
108  default:
109  return kInvalid;
@@ -202,11 +202,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
113 FourCC TrackTypeToFourCC(TrackType track_type) {
114  switch (track_type) {
115  case kVideo:
-
116  return FOURCC_VIDE;
+
116  return FOURCC_vide;
117  case kAudio:
-
118  return FOURCC_SOUN;
+
118  return FOURCC_soun;
119  case kText:
-
120  return FOURCC_TEXT;
+
120  return FOURCC_text;
121  default:
122  return FOURCC_NULL;
123  }
@@ -216,7 +216,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
127 
128 FileType::FileType() : major_brand(FOURCC_NULL), minor_version(0) {}
129 FileType::~FileType() {}
-
130 FourCC FileType::BoxType() const { return FOURCC_FTYP; }
+
130 FourCC FileType::BoxType() const { return FOURCC_ftyp; }
131 
132 bool FileType::ReadWriteInternal(BoxBuffer* buffer) {
133  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -240,11 +240,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
151  kFourCCSize * compatible_brands.size();
152 }
153 
-
154 FourCC SegmentType::BoxType() const { return FOURCC_STYP; }
+
154 FourCC SegmentType::BoxType() const { return FOURCC_styp; }
155 
156 ProtectionSystemSpecificHeader::ProtectionSystemSpecificHeader() {}
157 ProtectionSystemSpecificHeader::~ProtectionSystemSpecificHeader() {}
-
158 FourCC ProtectionSystemSpecificHeader::BoxType() const { return FOURCC_PSSH; }
+
158 FourCC ProtectionSystemSpecificHeader::BoxType() const { return FOURCC_pssh; }
159 
160 bool ProtectionSystemSpecificHeader::ReadWriteInternal(BoxBuffer* buffer) {
161  if (buffer->Reading()) {
@@ -265,7 +265,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
176 
177 SampleAuxiliaryInformationOffset::SampleAuxiliaryInformationOffset() {}
178 SampleAuxiliaryInformationOffset::~SampleAuxiliaryInformationOffset() {}
-
179 FourCC SampleAuxiliaryInformationOffset::BoxType() const { return FOURCC_SAIO; }
+
179 FourCC SampleAuxiliaryInformationOffset::BoxType() const { return FOURCC_saio; }
180 
181 bool SampleAuxiliaryInformationOffset::ReadWriteInternal(BoxBuffer* buffer) {
182  RCHECK(ReadWriteHeaderInternal(buffer));
@@ -293,7 +293,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
204 SampleAuxiliaryInformationSize::SampleAuxiliaryInformationSize()
205  : default_sample_info_size(0), sample_count(0) {}
206 SampleAuxiliaryInformationSize::~SampleAuxiliaryInformationSize() {}
-
207 FourCC SampleAuxiliaryInformationSize::BoxType() const { return FOURCC_SAIZ; }
+
207 FourCC SampleAuxiliaryInformationSize::BoxType() const { return FOURCC_saiz; }
208 
209 bool SampleAuxiliaryInformationSize::ReadWriteInternal(BoxBuffer* buffer) {
210  RCHECK(ReadWriteHeaderInternal(buffer));
@@ -386,7 +386,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
297 
298 SampleEncryption::SampleEncryption() : iv_size(0) {}
299 SampleEncryption::~SampleEncryption() {}
-
300 FourCC SampleEncryption::BoxType() const { return FOURCC_SENC; }
+
300 FourCC SampleEncryption::BoxType() const { return FOURCC_senc; }
301 
302 bool SampleEncryption::ReadWriteInternal(BoxBuffer* buffer) {
303  RCHECK(ReadWriteHeaderInternal(buffer));
@@ -455,7 +455,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
366 
367 OriginalFormat::OriginalFormat() : format(FOURCC_NULL) {}
368 OriginalFormat::~OriginalFormat() {}
-
369 FourCC OriginalFormat::BoxType() const { return FOURCC_FRMA; }
+
369 FourCC OriginalFormat::BoxType() const { return FOURCC_frma; }
370 
371 bool OriginalFormat::ReadWriteInternal(BoxBuffer* buffer) {
372  return ReadWriteHeaderInternal(buffer) && buffer->ReadWriteFourCC(&format);
@@ -467,7 +467,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
378 
379 SchemeType::SchemeType() : type(FOURCC_NULL), version(0) {}
380 SchemeType::~SchemeType() {}
-
381 FourCC SchemeType::BoxType() const { return FOURCC_SCHM; }
+
381 FourCC SchemeType::BoxType() const { return FOURCC_schm; }
382 
383 bool SchemeType::ReadWriteInternal(BoxBuffer* buffer) {
384  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -483,7 +483,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
394 TrackEncryption::TrackEncryption()
395  : is_encrypted(false), default_iv_size(0), default_kid(16, 0) {}
396 TrackEncryption::~TrackEncryption() {}
-
397 FourCC TrackEncryption::BoxType() const { return FOURCC_TENC; }
+
397 FourCC TrackEncryption::BoxType() const { return FOURCC_tenc; }
398 
399 bool TrackEncryption::ReadWriteInternal(BoxBuffer* buffer) {
400  if (!buffer->Reading()) {
@@ -518,7 +518,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
429 
430 SchemeInfo::SchemeInfo() {}
431 SchemeInfo::~SchemeInfo() {}
-
432 FourCC SchemeInfo::BoxType() const { return FOURCC_SCHI; }
+
432 FourCC SchemeInfo::BoxType() const { return FOURCC_schi; }
433 
434 bool SchemeInfo::ReadWriteInternal(BoxBuffer* buffer) {
435  RCHECK(ReadWriteHeaderInternal(buffer) && buffer->PrepareChildren() &&
@@ -532,14 +532,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
443 
444 ProtectionSchemeInfo::ProtectionSchemeInfo() {}
445 ProtectionSchemeInfo::~ProtectionSchemeInfo() {}
-
446 FourCC ProtectionSchemeInfo::BoxType() const { return FOURCC_SINF; }
+
446 FourCC ProtectionSchemeInfo::BoxType() const { return FOURCC_sinf; }
447 
448 bool ProtectionSchemeInfo::ReadWriteInternal(BoxBuffer* buffer) {
449  RCHECK(ReadWriteHeaderInternal(buffer) &&
450  buffer->PrepareChildren() &&
451  buffer->ReadWriteChild(&format) &&
452  buffer->ReadWriteChild(&type));
-
453  if (type.type == FOURCC_CENC || type.type == FOURCC_CBC1)
+
453  if (type.type == FOURCC_cenc || type.type == FOURCC_cbc1)
454  RCHECK(buffer->ReadWriteChild(&info));
455  // Other protection schemes are silently ignored. Since the protection scheme
456  // type can't be determined until this box is opened, we return 'true' for
@@ -565,7 +565,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
476  volume(1 << 8),
477  next_track_id(0) {}
478 MovieHeader::~MovieHeader() {}
-
479 FourCC MovieHeader::BoxType() const { return FOURCC_MVHD; }
+
479 FourCC MovieHeader::BoxType() const { return FOURCC_mvhd; }
480 
481 bool MovieHeader::ReadWriteInternal(BoxBuffer* buffer) {
482  RCHECK(ReadWriteHeaderInternal(buffer));
@@ -608,7 +608,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
519  flags = kTrackEnabled | kTrackInMovie;
520 }
521 TrackHeader::~TrackHeader() {}
-
522 FourCC TrackHeader::BoxType() const { return FOURCC_TKHD; }
+
522 FourCC TrackHeader::BoxType() const { return FOURCC_tkhd; }
523 
524 bool TrackHeader::ReadWriteInternal(BoxBuffer* buffer) {
525  RCHECK(ReadWriteHeaderInternal(buffer));
@@ -648,7 +648,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
559 
560 SampleDescription::SampleDescription() : type(kInvalid) {}
561 SampleDescription::~SampleDescription() {}
-
562 FourCC SampleDescription::BoxType() const { return FOURCC_STSD; }
+
562 FourCC SampleDescription::BoxType() const { return FOURCC_stsd; }
563 
564 bool SampleDescription::ReadWriteInternal(BoxBuffer* buffer) {
565  uint32_t count = 0;
@@ -721,7 +721,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
632 
633 DecodingTimeToSample::DecodingTimeToSample() {}
634 DecodingTimeToSample::~DecodingTimeToSample() {}
-
635 FourCC DecodingTimeToSample::BoxType() const { return FOURCC_STTS; }
+
635 FourCC DecodingTimeToSample::BoxType() const { return FOURCC_stts; }
636 
637 bool DecodingTimeToSample::ReadWriteInternal(BoxBuffer* buffer) {
638  uint32_t count = decoding_time.size();
@@ -743,7 +743,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
654 
655 CompositionTimeToSample::CompositionTimeToSample() {}
656 CompositionTimeToSample::~CompositionTimeToSample() {}
-
657 FourCC CompositionTimeToSample::BoxType() const { return FOURCC_CTTS; }
+
657 FourCC CompositionTimeToSample::BoxType() const { return FOURCC_ctts; }
658 
659 bool CompositionTimeToSample::ReadWriteInternal(BoxBuffer* buffer) {
660  uint32_t count = composition_offset.size();
@@ -794,7 +794,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
705 
706 SampleToChunk::SampleToChunk() {}
707 SampleToChunk::~SampleToChunk() {}
-
708 FourCC SampleToChunk::BoxType() const { return FOURCC_STSC; }
+
708 FourCC SampleToChunk::BoxType() const { return FOURCC_stsc; }
709 
710 bool SampleToChunk::ReadWriteInternal(BoxBuffer* buffer) {
711  uint32_t count = chunk_info.size();
@@ -820,7 +820,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
731 
732 SampleSize::SampleSize() : sample_size(0), sample_count(0) {}
733 SampleSize::~SampleSize() {}
-
734 FourCC SampleSize::BoxType() const { return FOURCC_STSZ; }
+
734 FourCC SampleSize::BoxType() const { return FOURCC_stsz; }
735 
736 bool SampleSize::ReadWriteInternal(BoxBuffer* buffer) {
737  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -845,7 +845,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
756 
757 CompactSampleSize::CompactSampleSize() : field_size(0) {}
758 CompactSampleSize::~CompactSampleSize() {}
-
759 FourCC CompactSampleSize::BoxType() const { return FOURCC_STZ2; }
+
759 FourCC CompactSampleSize::BoxType() const { return FOURCC_stz2; }
760 
761 bool CompactSampleSize::ReadWriteInternal(BoxBuffer* buffer) {
762  uint32_t sample_count = sizes.size();
@@ -900,7 +900,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
811 
812 ChunkOffset::ChunkOffset() {}
813 ChunkOffset::~ChunkOffset() {}
-
814 FourCC ChunkOffset::BoxType() const { return FOURCC_STCO; }
+
814 FourCC ChunkOffset::BoxType() const { return FOURCC_stco; }
815 
816 bool ChunkOffset::ReadWriteInternal(BoxBuffer* buffer) {
817  uint32_t count = offsets.size();
@@ -919,7 +919,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
830 
831 ChunkLargeOffset::ChunkLargeOffset() {}
832 ChunkLargeOffset::~ChunkLargeOffset() {}
-
833 FourCC ChunkLargeOffset::BoxType() const { return FOURCC_CO64; }
+
833 FourCC ChunkLargeOffset::BoxType() const { return FOURCC_co64; }
834 
835 bool ChunkLargeOffset::ReadWriteInternal(BoxBuffer* buffer) {
836  uint32_t count = offsets.size();
@@ -955,7 +955,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
866 
867 SyncSample::SyncSample() {}
868 SyncSample::~SyncSample() {}
-
869 FourCC SyncSample::BoxType() const { return FOURCC_STSS; }
+
869 FourCC SyncSample::BoxType() const { return FOURCC_stss; }
870 
871 bool SyncSample::ReadWriteInternal(BoxBuffer* buffer) {
872  uint32_t count = sample_number.size();
@@ -978,7 +978,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
889 
890 SampleTable::SampleTable() {}
891 SampleTable::~SampleTable() {}
-
892 FourCC SampleTable::BoxType() const { return FOURCC_STBL; }
+
892 FourCC SampleTable::BoxType() const { return FOURCC_stbl; }
893 
894 bool SampleTable::ReadWriteInternal(BoxBuffer* buffer) {
895  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -1029,7 +1029,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
940 
941 EditList::EditList() {}
942 EditList::~EditList() {}
-
943 FourCC EditList::BoxType() const { return FOURCC_ELST; }
+
943 FourCC EditList::BoxType() const { return FOURCC_elst; }
944 
945 bool EditList::ReadWriteInternal(BoxBuffer* buffer) {
946  uint32_t count = edits.size();
@@ -1066,7 +1066,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
977 
978 Edit::Edit() {}
979 Edit::~Edit() {}
-
980 FourCC Edit::BoxType() const { return FOURCC_EDTS; }
+
980 FourCC Edit::BoxType() const { return FOURCC_edts; }
981 
982 bool Edit::ReadWriteInternal(BoxBuffer* buffer) {
983  return ReadWriteHeaderInternal(buffer) &&
@@ -1083,21 +1083,21 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
994 
995 HandlerReference::HandlerReference() : handler_type(FOURCC_NULL) {}
996 HandlerReference::~HandlerReference() {}
-
997 FourCC HandlerReference::BoxType() const { return FOURCC_HDLR; }
+
997 FourCC HandlerReference::BoxType() const { return FOURCC_hdlr; }
998 
999 bool HandlerReference::ReadWriteInternal(BoxBuffer* buffer) {
1000  std::vector<uint8_t> handler_name;
1001  if (!buffer->Reading()) {
1002  switch (handler_type) {
-
1003  case FOURCC_VIDE:
+
1003  case FOURCC_vide:
1004  handler_name.assign(kVideoHandlerName,
1005  kVideoHandlerName + arraysize(kVideoHandlerName));
1006  break;
-
1007  case FOURCC_SOUN:
+
1007  case FOURCC_soun:
1008  handler_name.assign(kAudioHandlerName,
1009  kAudioHandlerName + arraysize(kAudioHandlerName));
1010  break;
-
1011  case FOURCC_TEXT:
+
1011  case FOURCC_text:
1012  handler_name.assign(kTextHandlerName,
1013  kTextHandlerName + arraysize(kTextHandlerName));
1014  break;
@@ -1121,13 +1121,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1032 uint32_t HandlerReference::ComputeSizeInternal() {
1033  uint32_t box_size = HeaderSize() + kFourCCSize + 16; // 16 bytes Reserved
1034  switch (handler_type) {
-
1035  case FOURCC_VIDE:
+
1035  case FOURCC_vide:
1036  box_size += sizeof(kVideoHandlerName);
1037  break;
-
1038  case FOURCC_SOUN:
+
1038  case FOURCC_soun:
1039  box_size += sizeof(kAudioHandlerName);
1040  break;
-
1041  case FOURCC_TEXT:
+
1041  case FOURCC_text:
1042  box_size += sizeof(kTextHandlerName);
1043  break;
1044  case FOURCC_ID32:
@@ -1257,7 +1257,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1168 Metadata::~Metadata() {}
1169 
1170 FourCC Metadata::BoxType() const {
-
1171  return FOURCC_META;
+
1171  return FOURCC_meta;
1172 }
1173 
1174 bool Metadata::ReadWriteInternal(BoxBuffer* buffer) {
@@ -1301,7 +1301,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1212 
1213 PixelAspectRatio::PixelAspectRatio() : h_spacing(0), v_spacing(0) {}
1214 PixelAspectRatio::~PixelAspectRatio() {}
-
1215 FourCC PixelAspectRatio::BoxType() const { return FOURCC_PASP; }
+
1215 FourCC PixelAspectRatio::BoxType() const { return FOURCC_pasp; }
1216 
1217 bool PixelAspectRatio::ReadWriteInternal(BoxBuffer* buffer) {
1218  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -1341,20 +1341,20 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1252 
1253  const FourCC actual_format = GetActualFormat();
1254  switch (actual_format) {
-
1255  case FOURCC_AVC1:
+
1255  case FOURCC_avc1:
1256  compressor_name.assign(
1257  kAvcCompressorName,
1258  kAvcCompressorName + arraysize(kAvcCompressorName));
1259  break;
-
1260  case FOURCC_HEV1:
-
1261  case FOURCC_HVC1:
+
1260  case FOURCC_hev1:
+
1261  case FOURCC_hvc1:
1262  compressor_name.assign(
1263  kHevcCompressorName,
1264  kHevcCompressorName + arraysize(kHevcCompressorName));
1265  break;
-
1266  case FOURCC_VP08:
-
1267  case FOURCC_VP09:
-
1268  case FOURCC_VP10:
+
1266  case FOURCC_vp08:
+
1267  case FOURCC_vp09:
+
1268  case FOURCC_vp10:
1269  compressor_name.assign(
1270  kVpcCompressorName,
1271  kVpcCompressorName + arraysize(kVpcCompressorName));
@@ -1385,11 +1385,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1296 
1297  RCHECK(buffer->PrepareChildren());
1298 
-
1299  if (format == FOURCC_ENCV) {
+
1299  if (format == FOURCC_encv) {
1300  if (buffer->Reading()) {
1301  // Continue scanning until a recognized protection scheme is found,
1302  // or until we run out of protection schemes.
-
1303  while (sinf.type.type != FOURCC_CENC && sinf.type.type != FOURCC_CBC1) {
+
1303  while (sinf.type.type != FOURCC_cenc && sinf.type.type != FOURCC_cbc1) {
1304  if (!buffer->ReadWriteChild(&sinf))
1305  return false;
1306  }
@@ -1400,17 +1400,17 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1311 
1312  const FourCC actual_format = GetActualFormat();
1313  switch (actual_format) {
-
1314  case FOURCC_AVC1:
-
1315  codec_config_record.box_type = FOURCC_AVCC;
+
1314  case FOURCC_avc1:
+
1315  codec_config_record.box_type = FOURCC_avcC;
1316  break;
-
1317  case FOURCC_HEV1:
-
1318  case FOURCC_HVC1:
-
1319  codec_config_record.box_type = FOURCC_HVCC;
+
1317  case FOURCC_hev1:
+
1318  case FOURCC_hvc1:
+
1319  codec_config_record.box_type = FOURCC_hvcC;
1320  break;
-
1321  case FOURCC_VP08:
-
1322  case FOURCC_VP09:
-
1323  case FOURCC_VP10:
-
1324  codec_config_record.box_type = FOURCC_VPCC;
+
1321  case FOURCC_vp08:
+
1322  case FOURCC_vp09:
+
1323  case FOURCC_vp10:
+
1324  codec_config_record.box_type = FOURCC_vpcC;
1325  break;
1326  default:
1327  LOG(ERROR) << FourCCToString(actual_format) << " is not supported.";
@@ -1432,7 +1432,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1343 
1344 ElementaryStreamDescriptor::ElementaryStreamDescriptor() {}
1345 ElementaryStreamDescriptor::~ElementaryStreamDescriptor() {}
-
1346 FourCC ElementaryStreamDescriptor::BoxType() const { return FOURCC_ESDS; }
+
1346 FourCC ElementaryStreamDescriptor::BoxType() const { return FOURCC_esds; }
1347 
1348 bool ElementaryStreamDescriptor::ReadWriteInternal(BoxBuffer* buffer) {
1349  RCHECK(ReadWriteHeaderInternal(buffer));
@@ -1464,7 +1464,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1375  avg_bitrate(0),
1376  pcm_sample_depth(0) {}
1377 DTSSpecific::~DTSSpecific() {}
-
1378 FourCC DTSSpecific::BoxType() const { return FOURCC_DDTS; }
+
1378 FourCC DTSSpecific::BoxType() const { return FOURCC_ddts; }
1379 
1380 bool DTSSpecific::ReadWriteInternal(BoxBuffer* buffer) {
1381  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -1497,7 +1497,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1408 AC3Specific::AC3Specific() {}
1409 AC3Specific::~AC3Specific() {}
1410 
-
1411 FourCC AC3Specific::BoxType() const { return FOURCC_DAC3; }
+
1411 FourCC AC3Specific::BoxType() const { return FOURCC_dac3; }
1412 
1413 bool AC3Specific::ReadWriteInternal(BoxBuffer* buffer) {
1414  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -1516,7 +1516,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1427 EC3Specific::EC3Specific() {}
1428 EC3Specific::~EC3Specific() {}
1429 
-
1430 FourCC EC3Specific::BoxType() const { return FOURCC_DEC3; }
+
1430 FourCC EC3Specific::BoxType() const { return FOURCC_dec3; }
1431 
1432 bool EC3Specific::ReadWriteInternal(BoxBuffer* buffer) {
1433  RCHECK(ReadWriteHeaderInternal(buffer));
@@ -1570,11 +1570,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1481  samplerate >>= 16;
1482 
1483  RCHECK(buffer->PrepareChildren());
-
1484  if (format == FOURCC_ENCA) {
+
1484  if (format == FOURCC_enca) {
1485  if (buffer->Reading()) {
1486  // Continue scanning until a recognized protection scheme is found,
1487  // or until we run out of protection schemes.
-
1488  while (sinf.type.type != FOURCC_CENC && sinf.type.type != FOURCC_CBC1) {
+
1488  while (sinf.type.type != FOURCC_cenc && sinf.type.type != FOURCC_cbc1) {
1489  if (!buffer->ReadWriteChild(&sinf))
1490  return false;
1491  }
@@ -1676,7 +1676,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1587 MediaHeader::MediaHeader()
1588  : creation_time(0), modification_time(0), timescale(0), duration(0) {}
1589 MediaHeader::~MediaHeader() {}
-
1590 FourCC MediaHeader::BoxType() const { return FOURCC_MDHD; }
+
1590 FourCC MediaHeader::BoxType() const { return FOURCC_mdhd; }
1591 
1592 bool MediaHeader::ReadWriteInternal(BoxBuffer* buffer) {
1593  RCHECK(ReadWriteHeaderInternal(buffer));
@@ -1704,7 +1704,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1615  flags = kVideoMediaHeaderFlags;
1616 }
1617 VideoMediaHeader::~VideoMediaHeader() {}
-
1618 FourCC VideoMediaHeader::BoxType() const { return FOURCC_VMHD; }
+
1618 FourCC VideoMediaHeader::BoxType() const { return FOURCC_vmhd; }
1619 bool VideoMediaHeader::ReadWriteInternal(BoxBuffer* buffer) {
1620  RCHECK(ReadWriteHeaderInternal(buffer) &&
1621  buffer->ReadWriteUInt16(&graphicsmode) &&
@@ -1721,7 +1721,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1632 
1633 SoundMediaHeader::SoundMediaHeader() : balance(0) {}
1634 SoundMediaHeader::~SoundMediaHeader() {}
-
1635 FourCC SoundMediaHeader::BoxType() const { return FOURCC_SMHD; }
+
1635 FourCC SoundMediaHeader::BoxType() const { return FOURCC_smhd; }
1636 bool SoundMediaHeader::ReadWriteInternal(BoxBuffer* buffer) {
1637  RCHECK(ReadWriteHeaderInternal(buffer) &&
1638  buffer->ReadWriteUInt16(&balance) &&
@@ -1751,7 +1751,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1662  flags = kDataEntryUrlFlags;
1663 }
1664 DataEntryUrl::~DataEntryUrl() {}
-
1665 FourCC DataEntryUrl::BoxType() const { return FOURCC_URL; }
+
1665 FourCC DataEntryUrl::BoxType() const { return FOURCC_url; }
1666 bool DataEntryUrl::ReadWriteInternal(BoxBuffer* buffer) {
1667  RCHECK(ReadWriteHeaderInternal(buffer));
1668  if (buffer->Reading()) {
@@ -1771,7 +1771,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1682  data_entry.resize(1);
1683 }
1684 DataReference::~DataReference() {}
-
1685 FourCC DataReference::BoxType() const { return FOURCC_DREF; }
+
1685 FourCC DataReference::BoxType() const { return FOURCC_dref; }
1686 bool DataReference::ReadWriteInternal(BoxBuffer* buffer) {
1687  uint32_t entry_count = data_entry.size();
1688  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -1793,7 +1793,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1704 
1705 DataInformation::DataInformation() {}
1706 DataInformation::~DataInformation() {}
-
1707 FourCC DataInformation::BoxType() const { return FOURCC_DINF; }
+
1707 FourCC DataInformation::BoxType() const { return FOURCC_dinf; }
1708 
1709 bool DataInformation::ReadWriteInternal(BoxBuffer* buffer) {
1710  return ReadWriteHeaderInternal(buffer) &&
@@ -1807,7 +1807,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1718 
1719 MediaInformation::MediaInformation() {}
1720 MediaInformation::~MediaInformation() {}
-
1721 FourCC MediaInformation::BoxType() const { return FOURCC_MINF; }
+
1721 FourCC MediaInformation::BoxType() const { return FOURCC_minf; }
1722 
1723 bool MediaInformation::ReadWriteInternal(BoxBuffer* buffer) {
1724  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -1852,7 +1852,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1763 
1764 Media::Media() {}
1765 Media::~Media() {}
-
1766 FourCC Media::BoxType() const { return FOURCC_MDIA; }
+
1766 FourCC Media::BoxType() const { return FOURCC_mdia; }
1767 
1768 bool Media::ReadWriteInternal(BoxBuffer* buffer) {
1769  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -1887,7 +1887,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1798 
1799 Track::Track() {}
1800 Track::~Track() {}
-
1801 FourCC Track::BoxType() const { return FOURCC_TRAK; }
+
1801 FourCC Track::BoxType() const { return FOURCC_trak; }
1802 
1803 bool Track::ReadWriteInternal(BoxBuffer* buffer) {
1804  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -1906,7 +1906,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1817 
1818 MovieExtendsHeader::MovieExtendsHeader() : fragment_duration(0) {}
1819 MovieExtendsHeader::~MovieExtendsHeader() {}
-
1820 FourCC MovieExtendsHeader::BoxType() const { return FOURCC_MEHD; }
+
1820 FourCC MovieExtendsHeader::BoxType() const { return FOURCC_mehd; }
1821 
1822 bool MovieExtendsHeader::ReadWriteInternal(BoxBuffer* buffer) {
1823  RCHECK(ReadWriteHeaderInternal(buffer));
@@ -1930,7 +1930,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1841  default_sample_size(0),
1842  default_sample_flags(0) {}
1843 TrackExtends::~TrackExtends() {}
-
1844 FourCC TrackExtends::BoxType() const { return FOURCC_TREX; }
+
1844 FourCC TrackExtends::BoxType() const { return FOURCC_trex; }
1845 
1846 bool TrackExtends::ReadWriteInternal(BoxBuffer* buffer) {
1847  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -1951,7 +1951,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1862 
1863 MovieExtends::MovieExtends() {}
1864 MovieExtends::~MovieExtends() {}
-
1865 FourCC MovieExtends::BoxType() const { return FOURCC_MVEX; }
+
1865 FourCC MovieExtends::BoxType() const { return FOURCC_mvex; }
1866 
1867 bool MovieExtends::ReadWriteInternal(BoxBuffer* buffer) {
1868  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -1979,7 +1979,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1890 
1891 Movie::Movie() {}
1892 Movie::~Movie() {}
-
1893 FourCC Movie::BoxType() const { return FOURCC_MOOV; }
+
1893 FourCC Movie::BoxType() const { return FOURCC_moov; }
1894 
1895 bool Movie::ReadWriteInternal(BoxBuffer* buffer) {
1896  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -2013,7 +2013,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1924 
1925 TrackFragmentDecodeTime::TrackFragmentDecodeTime() : decode_time(0) {}
1926 TrackFragmentDecodeTime::~TrackFragmentDecodeTime() {}
-
1927 FourCC TrackFragmentDecodeTime::BoxType() const { return FOURCC_TFDT; }
+
1927 FourCC TrackFragmentDecodeTime::BoxType() const { return FOURCC_tfdt; }
1928 
1929 bool TrackFragmentDecodeTime::ReadWriteInternal(BoxBuffer* buffer) {
1930  RCHECK(ReadWriteHeaderInternal(buffer));
@@ -2029,7 +2029,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1940 
1941 MovieFragmentHeader::MovieFragmentHeader() : sequence_number(0) {}
1942 MovieFragmentHeader::~MovieFragmentHeader() {}
-
1943 FourCC MovieFragmentHeader::BoxType() const { return FOURCC_MFHD; }
+
1943 FourCC MovieFragmentHeader::BoxType() const { return FOURCC_mfhd; }
1944 
1945 bool MovieFragmentHeader::ReadWriteInternal(BoxBuffer* buffer) {
1946  return ReadWriteHeaderInternal(buffer) &&
@@ -2048,7 +2048,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
1959  default_sample_flags(0) {}
1960 
1961 TrackFragmentHeader::~TrackFragmentHeader() {}
-
1962 FourCC TrackFragmentHeader::BoxType() const { return FOURCC_TFHD; }
+
1962 FourCC TrackFragmentHeader::BoxType() const { return FOURCC_tfhd; }
1963 
1964 bool TrackFragmentHeader::ReadWriteInternal(BoxBuffer* buffer) {
1965  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -2103,7 +2103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2014 
2015 TrackFragmentRun::TrackFragmentRun() : sample_count(0), data_offset(0) {}
2016 TrackFragmentRun::~TrackFragmentRun() {}
-
2017 FourCC TrackFragmentRun::BoxType() const { return FOURCC_TRUN; }
+
2017 FourCC TrackFragmentRun::BoxType() const { return FOURCC_trun; }
2018 
2019 bool TrackFragmentRun::ReadWriteInternal(BoxBuffer* buffer) {
2020  if (!buffer->Reading()) {
@@ -2224,7 +2224,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2135 
2136 SampleToGroup::SampleToGroup() : grouping_type(0), grouping_type_parameter(0) {}
2137 SampleToGroup::~SampleToGroup() {}
-
2138 FourCC SampleToGroup::BoxType() const { return FOURCC_SBGP; }
+
2138 FourCC SampleToGroup::BoxType() const { return FOURCC_sbgp; }
2139 
2140 bool SampleToGroup::ReadWriteInternal(BoxBuffer* buffer) {
2141  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -2232,7 +2232,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2143  if (version == 1)
2144  RCHECK(buffer->ReadWriteUInt32(&grouping_type_parameter));
2145 
-
2146  if (grouping_type != FOURCC_SEIG) {
+
2146  if (grouping_type != FOURCC_seig) {
2147  DCHECK(buffer->Reading());
2148  DLOG(WARNING) << "Sample group "
2149  << FourCCToString(static_cast<FourCC>(grouping_type))
@@ -2266,13 +2266,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2177 
2178 SampleGroupDescription::SampleGroupDescription() : grouping_type(0) {}
2179 SampleGroupDescription::~SampleGroupDescription() {}
-
2180 FourCC SampleGroupDescription::BoxType() const { return FOURCC_SGPD; }
+
2180 FourCC SampleGroupDescription::BoxType() const { return FOURCC_sgpd; }
2181 
2182 bool SampleGroupDescription::ReadWriteInternal(BoxBuffer* buffer) {
2183  RCHECK(ReadWriteHeaderInternal(buffer) &&
2184  buffer->ReadWriteUInt32(&grouping_type));
2185 
-
2186  if (grouping_type != FOURCC_SEIG) {
+
2186  if (grouping_type != FOURCC_seig) {
2187  DCHECK(buffer->Reading());
2188  DLOG(WARNING) << "Sample group '" << grouping_type << "' is not supported.";
2189  return true;
@@ -2343,7 +2343,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2254 
2255 TrackFragment::TrackFragment() : decode_time_absent(false) {}
2256 TrackFragment::~TrackFragment() {}
-
2257 FourCC TrackFragment::BoxType() const { return FOURCC_TRAF; }
+
2257 FourCC TrackFragment::BoxType() const { return FOURCC_traf; }
2258 
2259 bool TrackFragment::ReadWriteInternal(BoxBuffer* buffer) {
2260  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -2360,11 +2360,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2271  // with different grouping types. For common encryption, the relevant
2272  // grouping type is 'seig'. Continue reading until 'seig' is found, or
2273  // until running out of child boxes.
-
2274  while (sample_to_group.grouping_type != FOURCC_SEIG &&
+
2274  while (sample_to_group.grouping_type != FOURCC_seig &&
2275  buffer->reader()->ChildExist(&sample_to_group)) {
2276  RCHECK(buffer->reader()->ReadChild(&sample_to_group));
2277  }
-
2278  while (sample_group_description.grouping_type != FOURCC_SEIG &&
+
2278  while (sample_group_description.grouping_type != FOURCC_seig &&
2279  buffer->reader()->ChildExist(&sample_group_description)) {
2280  RCHECK(buffer->reader()->ReadChild(&sample_group_description));
2281  }
@@ -2394,7 +2394,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2305 
2306 MovieFragment::MovieFragment() {}
2307 MovieFragment::~MovieFragment() {}
-
2308 FourCC MovieFragment::BoxType() const { return FOURCC_MOOF; }
+
2308 FourCC MovieFragment::BoxType() const { return FOURCC_moof; }
2309 
2310 bool MovieFragment::ReadWriteInternal(BoxBuffer* buffer) {
2311  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -2429,7 +2429,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2340  earliest_presentation_time(0),
2341  first_offset(0) {}
2342 SegmentIndex::~SegmentIndex() {}
-
2343 FourCC SegmentIndex::BoxType() const { return FOURCC_SIDX; }
+
2343 FourCC SegmentIndex::BoxType() const { return FOURCC_sidx; }
2344 
2345 bool SegmentIndex::ReadWriteInternal(BoxBuffer* buffer) {
2346  RCHECK(ReadWriteHeaderInternal(buffer) &&
@@ -2481,7 +2481,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2392 
2393 MediaData::MediaData() : data_size(0) {}
2394 MediaData::~MediaData() {}
-
2395 FourCC MediaData::BoxType() const { return FOURCC_MDAT; }
+
2395 FourCC MediaData::BoxType() const { return FOURCC_mdat; }
2396 
2397 bool MediaData::ReadWriteInternal(BoxBuffer* buffer) {
2398  NOTIMPLEMENTED() << "Actual data is parsed and written separately.";
@@ -2751,7 +2751,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/def/classedash__packager_1_1media_1_1TextTrackConfig.html b/docs/dd/def/classedash__packager_1_1media_1_1TextTrackConfig.html index 124f236643..b44c31cb4f 100644 --- a/docs/dd/def/classedash__packager_1_1media_1_1TextTrackConfig.html +++ b/docs/dd/def/classedash__packager_1_1media_1_1TextTrackConfig.html @@ -125,7 +125,7 @@ const std::string & id 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 a9420d12ba..b8222caf62 100644 --- a/docs/dd/df2/webm_2multi__segment__segmenter_8h_source.html +++ b/docs/dd/df2/webm_2multi__segment__segmenter_8h_source.html @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dfa/structedash__packager_1_1media_1_1MuxerOptions-members.html b/docs/dd/dfa/structedash__packager_1_1media_1_1MuxerOptions-members.html index c3736a84a7..fe8faeba18 100644 --- a/docs/dd/dfa/structedash__packager_1_1media_1_1MuxerOptions-members.html +++ b/docs/dd/dfa/structedash__packager_1_1media_1_1MuxerOptions-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d07/structedash__packager_1_1media_1_1mp4_1_1CueIDBox.html b/docs/de/d07/structedash__packager_1_1media_1_1mp4_1_1CueIDBox.html index cb64f5f44a..ecc250148d 100644 --- a/docs/de/d07/structedash__packager_1_1media_1_1mp4_1_1CueIDBox.html +++ b/docs/de/d07/structedash__packager_1_1media_1_1mp4_1_1CueIDBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/de/d0b/structedash__packager_1_1media_1_1H265ReferencePictureSet.html b/docs/de/d0b/structedash__packager_1_1media_1_1H265ReferencePictureSet.html index d12e3910b8..0f565ac7c7 100644 --- a/docs/de/d0b/structedash__packager_1_1media_1_1H265ReferencePictureSet.html +++ b/docs/de/d0b/structedash__packager_1_1media_1_1H265ReferencePictureSet.html @@ -127,7 +127,7 @@ int num_delta_pocs diff --git a/docs/de/d0f/local__file_8h_source.html b/docs/de/d0f/local__file_8h_source.html index c4c9d3f900..6449ef41d8 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 b016483932..c65b658f97 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 d4bef9c158..a8dae145da 100644 --- a/docs/de/d13/ts__writer_8cc_source.html +++ b/docs/de/d13/ts__writer_8cc_source.html @@ -584,7 +584,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 206addda3e..173e2761ee 100644 --- a/docs/de/d15/media__stream_8cc_source.html +++ b/docs/de/d15/media__stream_8cc_source.html @@ -210,7 +210,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d17/cluster__builder_8cc_source.html b/docs/de/d17/cluster__builder_8cc_source.html index 9ad77765bb..0c1739d735 100644 --- a/docs/de/d17/cluster__builder_8cc_source.html +++ b/docs/de/d17/cluster__builder_8cc_source.html @@ -330,7 +330,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d18/classedash__packager_1_1media_1_1WebVttMediaParser-members.html b/docs/de/d18/classedash__packager_1_1media_1_1WebVttMediaParser-members.html index d4eebf2cc6..1104745347 100644 --- a/docs/de/d18/classedash__packager_1_1media_1_1WebVttMediaParser-members.html +++ b/docs/de/d18/classedash__packager_1_1media_1_1WebVttMediaParser-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d19/classedash__packager_1_1media_1_1File.html b/docs/de/d19/classedash__packager_1_1media_1_1File.html index c706b89350..b4d2d1540e 100644 --- a/docs/de/d19/classedash__packager_1_1media_1_1File.html +++ b/docs/de/d19/classedash__packager_1_1media_1_1File.html @@ -811,7 +811,7 @@ class ThreadedIoFile diff --git a/docs/de/d1a/classedash__packager_1_1media_1_1mp2t_1_1PesPacketGenerator.html b/docs/de/d1a/classedash__packager_1_1media_1_1mp2t_1_1PesPacketGenerator.html index 142362ea96..0ac7b04091 100644 --- a/docs/de/d1a/classedash__packager_1_1media_1_1mp2t_1_1PesPacketGenerator.html +++ b/docs/de/d1a/classedash__packager_1_1media_1_1mp2t_1_1PesPacketGenerator.html @@ -270,7 +270,7 @@ class PesPacketGeneratorTe 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 2332b82628..452f263d8a 100644 --- a/docs/de/d1e/mp4_2single__segment__segmenter_8cc_source.html +++ b/docs/de/d1e/mp4_2single__segment__segmenter_8cc_source.html @@ -333,7 +333,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d1f/structedash__packager_1_1media_1_1StreamDescriptor.html b/docs/de/d1f/structedash__packager_1_1media_1_1StreamDescriptor.html index 1b99087c8d..f68031fff5 100644 --- a/docs/de/d1f/structedash__packager_1_1media_1_1StreamDescriptor.html +++ b/docs/de/d1f/structedash__packager_1_1media_1_1StreamDescriptor.html @@ -131,7 +131,7 @@ MediaContainerName output_ diff --git a/docs/de/d22/aes__pattern__cryptor_8cc_source.html b/docs/de/d22/aes__pattern__cryptor_8cc_source.html index 4513c47dc3..8e2edb8b87 100644 --- a/docs/de/d22/aes__pattern__cryptor_8cc_source.html +++ b/docs/de/d22/aes__pattern__cryptor_8cc_source.html @@ -179,7 +179,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d34/offset__byte__queue_8h_source.html b/docs/de/d34/offset__byte__queue_8h_source.html index 492faae47e..66904a77de 100644 --- a/docs/de/d34/offset__byte__queue_8h_source.html +++ b/docs/de/d34/offset__byte__queue_8h_source.html @@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d3c/macros_8h_source.html b/docs/de/d3c/macros_8h_source.html index 0e1ca26a13..29fdc0389b 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 0a3e47b2cd..2bbff54f32 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/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html b/docs/de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html index 16b3055e2f..f0269e2544 100644 --- a/docs/de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html +++ b/docs/de/d44/structedash__packager_1_1media_1_1mp4_1_1TrackEncryption.html @@ -188,7 +188,7 @@ Additional Inherited Members diff --git a/docs/de/d48/classedash__packager_1_1media_1_1VP8Parser-members.html b/docs/de/d48/classedash__packager_1_1media_1_1VP8Parser-members.html index 45acab9baa..c080eda66b 100644 --- a/docs/de/d48/classedash__packager_1_1media_1_1VP8Parser-members.html +++ b/docs/de/d48/classedash__packager_1_1media_1_1VP8Parser-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d4a/muxer__listener__internal_8h_source.html b/docs/de/d4a/muxer__listener__internal_8h_source.html index 0560418179..52a963b0ea 100644 --- a/docs/de/d4a/muxer__listener__internal_8h_source.html +++ b/docs/de/d4a/muxer__listener__internal_8h_source.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d4c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat-members.html b/docs/de/d4c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat-members.html index 69e4931984..2e3082b828 100644 --- a/docs/de/d4c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat-members.html +++ b/docs/de/d4c/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPat-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d57/structedash__packager_1_1media_1_1MuxerOptions.html b/docs/de/d57/structedash__packager_1_1media_1_1MuxerOptions.html index e62b639667..c66c21c9b6 100644 --- a/docs/de/d57/structedash__packager_1_1media_1_1MuxerOptions.html +++ b/docs/de/d57/structedash__packager_1_1media_1_1MuxerOptions.html @@ -275,7 +275,7 @@ std::string  diff --git a/docs/de/d59/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts.html b/docs/de/d59/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts.html index 58767b53b1..90f7348ac2 100644 --- a/docs/de/d59/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts.html +++ b/docs/de/d59/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts.html @@ -148,7 +148,7 @@ const scoped_refptr
diff --git a/docs/de/d5a/structedash__packager_1_1media_1_1mp4_1_1SchemeType-members.html b/docs/de/d5a/structedash__packager_1_1media_1_1mp4_1_1SchemeType-members.html index 0ab8457897..5553152baa 100644 --- a/docs/de/d5a/structedash__packager_1_1media_1_1mp4_1_1SchemeType-members.html +++ b/docs/de/d5a/structedash__packager_1_1media_1_1mp4_1_1SchemeType-members.html @@ -113,7 +113,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 9fa71059c5..b88a6ba8e4 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 9a461c405b..7fbd6875a3 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/d68/structedash__packager_1_1media_1_1mp4_1_1Track-members.html b/docs/de/d68/structedash__packager_1_1media_1_1mp4_1_1Track-members.html index d04111b5df..75590ebc97 100644 --- a/docs/de/d68/structedash__packager_1_1media_1_1mp4_1_1Track-members.html +++ b/docs/de/d68/structedash__packager_1_1media_1_1mp4_1_1Track-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d6a/classedash__packager_1_1media_1_1webm_1_1WebMMuxer.html b/docs/de/d6a/classedash__packager_1_1media_1_1webm_1_1WebMMuxer.html index f4b45e81ec..27de114dc8 100644 --- a/docs/de/d6a/classedash__packager_1_1media_1_1webm_1_1WebMMuxer.html +++ b/docs/de/d6a/classedash__packager_1_1media_1_1webm_1_1WebMMuxer.html @@ -182,7 +182,7 @@ EncryptionMode encryption_ diff --git a/docs/de/d6e/language__utils_8h_source.html b/docs/de/d6e/language__utils_8h_source.html index 93c42cdd6f..25b4f0e0e8 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 5962e392ec..71c2f60801 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/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html b/docs/de/d77/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html index b46ea54d48..9c94f46c95 100644 --- a/docs/de/d77/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html +++ b/docs/de/d77/classedash__packager_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html @@ -111,7 +111,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 6bc030898e..15a5ee7d84 100644 --- a/docs/de/d77/webm__content__encodings__client_8cc_source.html +++ b/docs/de/d77/webm__content__encodings__client_8cc_source.html @@ -361,7 +361,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d7b/mp4__media__parser_8h_source.html b/docs/de/d7b/mp4__media__parser_8h_source.html index cbf8329540..b3b3a64db7 100644 --- a/docs/de/d7b/mp4__media__parser_8h_source.html +++ b/docs/de/d7b/mp4__media__parser_8h_source.html @@ -206,7 +206,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d83/box__definitions__comparison_8h_source.html b/docs/de/d83/box__definitions__comparison_8h_source.html index b63ac735b4..984cf676a1 100644 --- a/docs/de/d83/box__definitions__comparison_8h_source.html +++ b/docs/de/d83/box__definitions__comparison_8h_source.html @@ -575,7 +575,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d87/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo-members.html b/docs/de/d87/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo-members.html index 7201224469..86cf05ddb4 100644 --- a/docs/de/d87/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo-members.html +++ b/docs/de/d87/structedash__packager_1_1media_1_1mp4_1_1ChunkInfo-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d8b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes.html b/docs/de/d8b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes.html index c0712429f7..c4f3ab5752 100644 --- a/docs/de/d8b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes.html +++ b/docs/de/d8b/classedash__packager_1_1media_1_1mp2t_1_1TsSectionPes.html @@ -142,7 +142,7 @@ Additional Inherited Members diff --git a/docs/de/d8d/structedash__packager_1_1media_1_1H264SliceHeader.html b/docs/de/d8d/structedash__packager_1_1media_1_1H264SliceHeader.html index 59998af7ef..63dfcf4faf 100644 --- a/docs/de/d8d/structedash__packager_1_1media_1_1H264SliceHeader.html +++ b/docs/de/d8d/structedash__packager_1_1media_1_1H264SliceHeader.html @@ -276,7 +276,7 @@ int slice_beta_offset_div2 diff --git a/docs/de/d93/classedash__packager_1_1media_1_1ByteQueue-members.html b/docs/de/d93/classedash__packager_1_1media_1_1ByteQueue-members.html index 00a22c05c5..847b164bfe 100644 --- a/docs/de/d93/classedash__packager_1_1media_1_1ByteQueue-members.html +++ b/docs/de/d93/classedash__packager_1_1media_1_1ByteQueue-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d98/classedash__packager_1_1media_1_1WebMAudioClient.html b/docs/de/d98/classedash__packager_1_1media_1_1WebMAudioClient.html index 44277c2cc7..c3c1a4b851 100644 --- a/docs/de/d98/classedash__packager_1_1media_1_1WebMAudioClient.html +++ b/docs/de/d98/classedash__packager_1_1media_1_1WebMAudioClient.html @@ -199,7 +199,7 @@ An empty scoped_refptr if there was unexpected values in the provided parameters diff --git a/docs/de/d9b/structedash__packager_1_1media_1_1H264Sps.html b/docs/de/d9b/structedash__packager_1_1media_1_1H264Sps.html index 53ecb5a00b..6e67c5f2a6 100644 --- a/docs/de/d9b/structedash__packager_1_1media_1_1H264Sps.html +++ b/docs/de/d9b/structedash__packager_1_1media_1_1H264Sps.html @@ -242,7 +242,7 @@ int chroma_array_type< diff --git a/docs/de/d9d/classedash__packager_1_1media_1_1TracksBuilder-members.html b/docs/de/d9d/classedash__packager_1_1media_1_1TracksBuilder-members.html index 276f5825cf..47923a3623 100644 --- a/docs/de/d9d/classedash__packager_1_1media_1_1TracksBuilder-members.html +++ b/docs/de/d9d/classedash__packager_1_1media_1_1TracksBuilder-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d9e/classedash__packager_1_1media_1_1TextTrack.html b/docs/de/d9e/classedash__packager_1_1media_1_1TextTrack.html index 790debf022..6a83f737af 100644 --- a/docs/de/d9e/classedash__packager_1_1media_1_1TextTrack.html +++ b/docs/de/d9e/classedash__packager_1_1media_1_1TextTrack.html @@ -109,7 +109,7 @@ virtual void addWebVTTCue< diff --git a/docs/de/da5/classedash__packager_1_1media_1_1WebMParserClient.html b/docs/de/da5/classedash__packager_1_1media_1_1WebMParserClient.html index 93be8901dd..15c93e865d 100644 --- a/docs/de/da5/classedash__packager_1_1media_1_1WebMParserClient.html +++ b/docs/de/da5/classedash__packager_1_1media_1_1WebMParserClient.html @@ -151,7 +151,7 @@ Protected Member Functions diff --git a/docs/de/da6/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html b/docs/de/da6/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html index 46716fbd2a..ca311b42d2 100644 --- a/docs/de/da6/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html +++ b/docs/de/da6/classedash__packager_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/da7/classedash__packager_1_1media_1_1AudioTimestampHelper-members.html b/docs/de/da7/classedash__packager_1_1media_1_1AudioTimestampHelper-members.html index 9c82760010..57c372d021 100644 --- a/docs/de/da7/classedash__packager_1_1media_1_1AudioTimestampHelper-members.html +++ b/docs/de/da7/classedash__packager_1_1media_1_1AudioTimestampHelper-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dab/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun-members.html b/docs/de/dab/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun-members.html index 658bcbe62f..b66e43fd3b 100644 --- a/docs/de/dab/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun-members.html +++ b/docs/de/dab/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun-members.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dad/validate__flag_8cc_source.html b/docs/de/dad/validate__flag_8cc_source.html index 99a55db855..db396a006b 100644 --- a/docs/de/dad/validate__flag_8cc_source.html +++ b/docs/de/dad/validate__flag_8cc_source.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/db1/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor.html b/docs/de/db1/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor.html index 4d710a1c14..0f3c9982e3 100644 --- a/docs/de/db1/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor.html +++ b/docs/de/db1/classedash__packager_1_1media_1_1mp4_1_1ESDescriptor.html @@ -181,7 +181,7 @@ bool IsDTS () const diff --git a/docs/de/db4/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo-members.html b/docs/de/db4/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo-members.html index 183ebd1951..b8b5639758 100644 --- a/docs/de/db4/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo-members.html +++ b/docs/de/db4/structedash__packager_1_1media_1_1mp4_1_1SchemeInfo-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dc1/demuxer_8h_source.html b/docs/de/dc1/demuxer_8h_source.html index 4b05453145..a595434bdd 100644 --- a/docs/de/dc1/demuxer_8h_source.html +++ b/docs/de/dc1/demuxer_8h_source.html @@ -187,7 +187,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html b/docs/de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html index 1e152bcaf3..8dde5a1fa3 100644 --- a/docs/de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html +++ b/docs/de/dc4/structedash__packager_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/de/dcb/ts__segmenter_8h_source.html b/docs/de/dcb/ts__segmenter_8h_source.html index 47b441a3f8..d0c5bfdf81 100644 --- a/docs/de/dcb/ts__segmenter_8h_source.html +++ b/docs/de/dcb/ts__segmenter_8h_source.html @@ -176,7 +176,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dcc/mock__mpd__notifier_8cc_source.html b/docs/de/dcc/mock__mpd__notifier_8cc_source.html index 2b6b06d41e..eee1169271 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 a05ab2ac14..91f63b8099 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/dd4/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer-members.html b/docs/de/dd4/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer-members.html index 04cfbc8e35..0bcf402a3f 100644 --- a/docs/de/dd4/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer-members.html +++ b/docs/de/dd4/classedash__packager_1_1media_1_1mp4_1_1MP4Muxer-members.html @@ -117,7 +117,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 6a4201ed2a..91193f3c9e 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 e046f833f4..edd68d80f0 100644 --- a/docs/de/dd6/muxer__listener__test__helper_8cc_source.html +++ b/docs/de/dd6/muxer__listener__test__helper_8cc_source.html @@ -221,7 +221,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html b/docs/de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html index 42600423d4..c3dd5583ff 100644 --- a/docs/de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html +++ b/docs/de/de7/structedash__packager_1_1media_1_1mp4_1_1Media.html @@ -179,7 +179,7 @@ Additional Inherited Members diff --git a/docs/de/de9/classedash__packager_1_1media_1_1LibcryptoThreading.html b/docs/de/de9/classedash__packager_1_1media_1_1LibcryptoThreading.html index 09be7fcb08..09db2fda50 100644 --- a/docs/de/de9/classedash__packager_1_1media_1_1LibcryptoThreading.html +++ b/docs/de/de9/classedash__packager_1_1media_1_1LibcryptoThreading.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dfa/muxer__listener_8h_source.html b/docs/de/dfa/muxer__listener_8h_source.html index c235e001ca..7c9828443c 100644 --- a/docs/de/dfa/muxer__listener_8h_source.html +++ b/docs/de/dfa/muxer__listener_8h_source.html @@ -198,7 +198,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dfb/structedash__packager_1_1media_1_1H264ModificationOfPicNum-members.html b/docs/de/dfb/structedash__packager_1_1media_1_1H264ModificationOfPicNum-members.html index d28eba7a28..1708c00595 100644 --- a/docs/de/dfb/structedash__packager_1_1media_1_1H264ModificationOfPicNum-members.html +++ b/docs/de/dfb/structedash__packager_1_1media_1_1H264ModificationOfPicNum-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dfc/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264-members.html b/docs/de/dfc/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264-members.html index 9d35a4597c..b9ac251d43 100644 --- a/docs/de/dfc/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264-members.html +++ b/docs/de/dfc/classedash__packager_1_1media_1_1mp2t_1_1EsParserH264-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dfd/stream__info_8cc_source.html b/docs/de/dfd/stream__info_8cc_source.html index 8693844d25..88f4027af6 100644 --- a/docs/de/dfd/stream__info_8cc_source.html +++ b/docs/de/dfd/stream__info_8cc_source.html @@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d0c/classedash__packager_1_1media_1_1VPCodecConfiguration-members.html b/docs/df/d0c/classedash__packager_1_1media_1_1VPCodecConfiguration-members.html index 8ff85d328b..9ccb6a020c 100644 --- a/docs/df/d0c/classedash__packager_1_1media_1_1VPCodecConfiguration-members.html +++ b/docs/df/d0c/classedash__packager_1_1media_1_1VPCodecConfiguration-members.html @@ -131,7 +131,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 171c1ebf16..06b3a5eeb8 100644 --- a/docs/df/d1a/offset__byte__queue_8cc_source.html +++ b/docs/df/d1a/offset__byte__queue_8cc_source.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d1c/composition__offset__iterator_8h_source.html b/docs/df/d1c/composition__offset__iterator_8h_source.html index 6e2b5b7b0c..f6f53d96f0 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/d1f/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator-members.html b/docs/df/d1f/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator-members.html index 77c896b6e3..4402510353 100644 --- a/docs/df/d1f/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator-members.html +++ b/docs/df/d1f/classedash__packager_1_1media_1_1mp4_1_1TrackRunIterator-members.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html b/docs/df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html index c8cde5982c..fe9504330d 100644 --- a/docs/df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html +++ b/docs/df/d21/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentRun.html @@ -212,7 +212,7 @@ Additional Inherited Members diff --git a/docs/df/d22/validate__flag_8h_source.html b/docs/df/d22/validate__flag_8h_source.html index eae9627e2f..a7c75dfd20 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/d2f/structedash__packager_1_1media_1_1mp4_1_1Language.html b/docs/df/d2f/structedash__packager_1_1media_1_1mp4_1_1Language.html index e1c907ddd0..9a8daff39b 100644 --- a/docs/df/d2f/structedash__packager_1_1media_1_1mp4_1_1Language.html +++ b/docs/df/d2f/structedash__packager_1_1media_1_1mp4_1_1Language.html @@ -120,7 +120,7 @@ std::string code< diff --git a/docs/df/d30/classedash__packager_1_1media_1_1ContentEncoding.html b/docs/df/d30/classedash__packager_1_1media_1_1ContentEncoding.html index 900ebfb585..7d713373a3 100644 --- a/docs/df/d30/classedash__packager_1_1media_1_1ContentEncoding.html +++ b/docs/df/d30/classedash__packager_1_1media_1_1ContentEncoding.html @@ -208,7 +208,7 @@ Static Public Attributes diff --git a/docs/df/d31/muxer__util_8cc_source.html b/docs/df/d31/muxer__util_8cc_source.html index 9415c6d3b8..1674537eef 100644 --- a/docs/df/d31/muxer__util_8cc_source.html +++ b/docs/df/d31/muxer__util_8cc_source.html @@ -247,7 +247,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d32/audio__stream__info_8h_source.html b/docs/df/d32/audio__stream__info_8h_source.html index bfd489c742..665b31dd0d 100644 --- a/docs/df/d32/audio__stream__info_8h_source.html +++ b/docs/df/d32/audio__stream__info_8h_source.html @@ -187,7 +187,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d3c/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html b/docs/df/d3c/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html index f14dd61e3a..f6466b897a 100644 --- a/docs/df/d3c/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html +++ b/docs/df/d3c/structedash__packager_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d40/classedash__packager_1_1media_1_1Cluster.html b/docs/df/d40/classedash__packager_1_1media_1_1Cluster.html index 150cbae2e8..d9afd137ef 100644 --- a/docs/df/d40/classedash__packager_1_1media_1_1Cluster.html +++ b/docs/df/d40/classedash__packager_1_1media_1_1Cluster.html @@ -116,7 +116,7 @@ int size () const diff --git a/docs/df/d43/classedash__packager_1_1media_1_1mp4_1_1Segmenter-members.html b/docs/df/d43/classedash__packager_1_1media_1_1mp4_1_1Segmenter-members.html index 16470724d5..e0328c7bf9 100644 --- a/docs/df/d43/classedash__packager_1_1media_1_1mp4_1_1Segmenter-members.html +++ b/docs/df/d43/classedash__packager_1_1media_1_1mp4_1_1Segmenter-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d4e/classedash__packager_1_1media_1_1webm_1_1MultiSegmentSegmenter.html b/docs/df/d4e/classedash__packager_1_1media_1_1webm_1_1MultiSegmentSegmenter.html index a07b7e8ab3..0365d91672 100644 --- a/docs/df/d4e/classedash__packager_1_1media_1_1webm_1_1MultiSegmentSegmenter.html +++ b/docs/df/d4e/classedash__packager_1_1media_1_1webm_1_1MultiSegmentSegmenter.html @@ -277,7 +277,7 @@ double cluster_length_sec< diff --git a/docs/df/d5b/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts-members.html b/docs/df/d5b/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts-members.html index 36a05db6eb..307796bc5f 100644 --- a/docs/df/d5b/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts-members.html +++ b/docs/df/d5b/classedash__packager_1_1media_1_1mp2t_1_1EsParserAdts-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d5e/classedash__packager_1_1media_1_1mp2t_1_1TsSection-members.html b/docs/df/d5e/classedash__packager_1_1media_1_1mp2t_1_1TsSection-members.html index c6b4c1bced..cb597a18fc 100644 --- a/docs/df/d5e/classedash__packager_1_1media_1_1mp2t_1_1TsSection-members.html +++ b/docs/df/d5e/classedash__packager_1_1media_1_1mp2t_1_1TsSection-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html b/docs/df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html index 810927a3fe..31dc62ed75 100644 --- a/docs/df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html +++ b/docs/df/d62/structedash__packager_1_1media_1_1mp4_1_1AudioSampleEntry.html @@ -203,7 +203,7 @@ Additional Inherited Members diff --git a/docs/df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html b/docs/df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html index c5c8f3e1b9..4e9d3d27f5 100644 --- a/docs/df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html +++ b/docs/df/d6a/structedash__packager_1_1media_1_1mp4_1_1VideoSampleEntry.html @@ -194,7 +194,7 @@ Additional Inherited Members diff --git a/docs/df/d6e/structedash__packager_1_1media_1_1mp4_1_1Language-members.html b/docs/df/d6e/structedash__packager_1_1media_1_1mp4_1_1Language-members.html index 64b9477d49..e8ffb4faf5 100644 --- a/docs/df/d6e/structedash__packager_1_1media_1_1mp4_1_1Language-members.html +++ b/docs/df/d6e/structedash__packager_1_1media_1_1mp4_1_1Language-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html b/docs/df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html index 9ce9f32f6d..a3a2046bee 100644 --- a/docs/df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html +++ b/docs/df/d76/structedash__packager_1_1media_1_1mp4_1_1SampleToChunk.html @@ -182,7 +182,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 b94af733b0..02271f78c7 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/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html b/docs/df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html index fe11390543..83eacd1f7c 100644 --- a/docs/df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html +++ b/docs/df/d86/structedash__packager_1_1media_1_1mp4_1_1MovieFragmentHeader.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/df/d89/classedash__packager_1_1media_1_1SegmentTestBase_1_1ClusterParser.html b/docs/df/d89/classedash__packager_1_1media_1_1SegmentTestBase_1_1ClusterParser.html index 765f114c02..452e1ac0a9 100644 --- a/docs/df/d89/classedash__packager_1_1media_1_1SegmentTestBase_1_1ClusterParser.html +++ b/docs/df/d89/classedash__packager_1_1media_1_1SegmentTestBase_1_1ClusterParser.html @@ -128,7 +128,7 @@ int cluster_count () c diff --git a/docs/df/d8a/vp9__parser_8h_source.html b/docs/df/d8a/vp9__parser_8h_source.html index 0502b079b1..3b632b7f41 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 7ffabada07..78310016f9 100644 --- a/docs/df/d8a/vpx__parser_8h_source.html +++ b/docs/df/d8a/vpx__parser_8h_source.html @@ -145,7 +145,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d96/xml__node_8cc_source.html b/docs/df/d96/xml__node_8cc_source.html index a1f5fa0862..b94cf00f15 100644 --- a/docs/df/d96/xml__node_8cc_source.html +++ b/docs/df/d96/xml__node_8cc_source.html @@ -492,7 +492,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/da9/classedash__packager_1_1media_1_1mp4_1_1Fragmenter-members.html b/docs/df/da9/classedash__packager_1_1media_1_1mp4_1_1Fragmenter-members.html index d679352b25..638f9c8398 100644 --- a/docs/df/da9/classedash__packager_1_1media_1_1mp4_1_1Fragmenter-members.html +++ b/docs/df/da9/classedash__packager_1_1media_1_1mp4_1_1Fragmenter-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/da9/structedash__packager_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html b/docs/df/da9/structedash__packager_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html index 6ff294e7d7..2a4b70b302 100644 --- a/docs/df/da9/structedash__packager_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html +++ b/docs/df/da9/structedash__packager_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/df/dad/decrypt__config_8h_source.html b/docs/df/dad/decrypt__config_8h_source.html index 7a8f783eda..85cd8ff8a6 100644 --- a/docs/df/dad/decrypt__config_8h_source.html +++ b/docs/df/dad/decrypt__config_8h_source.html @@ -156,7 +156,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/db4/classedash__packager_1_1media_1_1BitReader.html b/docs/df/db4/classedash__packager_1_1media_1_1BitReader.html index 51e7139688..85d2efa7d7 100644 --- a/docs/df/db4/classedash__packager_1_1media_1_1BitReader.html +++ b/docs/df/db4/classedash__packager_1_1media_1_1BitReader.html @@ -362,7 +362,7 @@ template<typename T > diff --git a/docs/df/db8/structedash__packager_1_1media_1_1mp4_1_1AC3Specific-members.html b/docs/df/db8/structedash__packager_1_1media_1_1mp4_1_1AC3Specific-members.html index c08de43b70..3472080acf 100644 --- a/docs/df/db8/structedash__packager_1_1media_1_1mp4_1_1AC3Specific-members.html +++ b/docs/df/db8/structedash__packager_1_1media_1_1mp4_1_1AC3Specific-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dbc/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html b/docs/df/dbc/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html index e208adb768..1edf4f29ae 100644 --- a/docs/df/dbc/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html +++ b/docs/df/dbc/structedash__packager_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dd1/structedash__packager_1_1media_1_1mp4_1_1FileType-members.html b/docs/df/dd1/structedash__packager_1_1media_1_1mp4_1_1FileType-members.html index 7b493b10cc..90c909cacb 100644 --- a/docs/df/dd1/structedash__packager_1_1media_1_1mp4_1_1FileType-members.html +++ b/docs/df/dd1/structedash__packager_1_1media_1_1mp4_1_1FileType-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dd2/classedash__packager_1_1MockMpdBuilder-members.html b/docs/df/dd2/classedash__packager_1_1MockMpdBuilder-members.html index d551479e4f..90efb6d411 100644 --- a/docs/df/dd2/classedash__packager_1_1MockMpdBuilder-members.html +++ b/docs/df/dd2/classedash__packager_1_1MockMpdBuilder-members.html @@ -112,7 +112,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 dbbe678dd5..040412548b 100644 --- a/docs/df/dd2/mpd__utils_8h_source.html +++ b/docs/df/dd2/mpd__utils_8h_source.html @@ -175,7 +175,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dda/structedash__packager_1_1media_1_1Cue.html b/docs/df/dda/structedash__packager_1_1media_1_1Cue.html index c6a70d90dd..0e6eab778d 100644 --- a/docs/df/dda/structedash__packager_1_1media_1_1Cue.html +++ b/docs/df/dda/structedash__packager_1_1media_1_1Cue.html @@ -125,7 +125,7 @@ std::vector< std::string >  diff --git a/docs/df/ddc/webm_2segmenter_8h_source.html b/docs/df/ddc/webm_2segmenter_8h_source.html index fcd9ecbb1e..3331d4cbeb 100644 --- a/docs/df/ddc/webm_2segmenter_8h_source.html +++ b/docs/df/ddc/webm_2segmenter_8h_source.html @@ -250,7 +250,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dde/classedash__packager_1_1media_1_1BufferWriter.html b/docs/df/dde/classedash__packager_1_1media_1_1BufferWriter.html index 46ebd84d94..6b5170c6e8 100644 --- a/docs/df/dde/classedash__packager_1_1media_1_1BufferWriter.html +++ b/docs/df/dde/classedash__packager_1_1media_1_1BufferWriter.html @@ -301,7 +301,7 @@ void AppendInt (int64_ diff --git a/docs/df/dde/ts__section__psi_8cc_source.html b/docs/df/dde/ts__section__psi_8cc_source.html index 4358e4156d..35469a0587 100644 --- a/docs/df/dde/ts__section__psi_8cc_source.html +++ b/docs/df/dde/ts__section__psi_8cc_source.html @@ -228,7 +228,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/de3/structedash__packager_1_1media_1_1mp4_1_1TrackHeader-members.html b/docs/df/de3/structedash__packager_1_1media_1_1mp4_1_1TrackHeader-members.html index 35f89d3c9b..4eb3dd6649 100644 --- a/docs/df/de3/structedash__packager_1_1media_1_1mp4_1_1TrackHeader-members.html +++ b/docs/df/de3/structedash__packager_1_1media_1_1mp4_1_1TrackHeader-members.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/de3/text__track__config_8cc_source.html b/docs/df/de3/text__track__config_8cc_source.html index 5fc801e8f3..3a4974846d 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/de6/classedash__packager_1_1media_1_1mp2t_1_1PesPacket-members.html b/docs/df/de6/classedash__packager_1_1media_1_1mp2t_1_1PesPacket-members.html index 57d550ed58..8e3303fb1b 100644 --- a/docs/df/de6/classedash__packager_1_1media_1_1mp2t_1_1PesPacket-members.html +++ b/docs/df/de6/classedash__packager_1_1media_1_1mp2t_1_1PesPacket-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/de7/classedash__packager_1_1media_1_1MuxerListener.html b/docs/df/de7/classedash__packager_1_1media_1_1MuxerListener.html index 302b8e163e..c42c713968 100644 --- a/docs/df/de7/classedash__packager_1_1media_1_1MuxerListener.html +++ b/docs/df/de7/classedash__packager_1_1media_1_1MuxerListener.html @@ -177,7 +177,7 @@ virtual void OnNewSegment< diff --git a/docs/df/de9/segment__info_8h_source.html b/docs/df/de9/segment__info_8h_source.html index 2d1c92f66e..50df872f4f 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/dec/classedash__packager_1_1media_1_1MuxerListener-members.html b/docs/df/dec/classedash__packager_1_1media_1_1MuxerListener-members.html index 361f3a4fad..a63825fcde 100644 --- a/docs/df/dec/classedash__packager_1_1media_1_1MuxerListener-members.html +++ b/docs/df/dec/classedash__packager_1_1media_1_1MuxerListener-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/df0/classedash__packager_1_1media_1_1mp2t_1_1TsSegmenter.html b/docs/df/df0/classedash__packager_1_1media_1_1mp2t_1_1TsSegmenter.html index 893d334075..9a4e27af17 100644 --- a/docs/df/df0/classedash__packager_1_1media_1_1mp2t_1_1TsSegmenter.html +++ b/docs/df/df0/classedash__packager_1_1media_1_1mp2t_1_1TsSegmenter.html @@ -231,7 +231,7 @@ void  diff --git a/docs/df/df4/classedash__packager_1_1media_1_1SeekHead.html b/docs/df/df4/classedash__packager_1_1media_1_1SeekHead.html index 25adc0c297..5ce6a12ee6 100644 --- a/docs/df/df4/classedash__packager_1_1media_1_1SeekHead.html +++ b/docs/df/df4/classedash__packager_1_1media_1_1SeekHead.html @@ -148,7 +148,7 @@ void set_tracks_pos (u diff --git a/docs/df/df8/classedash__packager_1_1media_1_1Nalu-members.html b/docs/df/df8/classedash__packager_1_1media_1_1Nalu-members.html index 97a4b73a09..a9172151dc 100644 --- a/docs/df/df8/classedash__packager_1_1media_1_1Nalu-members.html +++ b/docs/df/df8/classedash__packager_1_1media_1_1Nalu-members.html @@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dfa/classedash__packager_1_1media_1_1RsaPublicKey-members.html b/docs/df/dfa/classedash__packager_1_1media_1_1RsaPublicKey-members.html index 7027880583..0b4449e04a 100644 --- a/docs/df/dfa/classedash__packager_1_1media_1_1RsaPublicKey-members.html +++ b/docs/df/dfa/classedash__packager_1_1media_1_1RsaPublicKey-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dir_2618cd273dea54f184e42d7a562af818.html b/docs/dir_2618cd273dea54f184e42d7a562af818.html index 2f16c5d365..828f84c066 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 69e0454eb9..78ef18f9ec 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 4211511f21..94ce03c371 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 dad3d3662f..527378396b 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 a9db5a2d42..956b987fa5 100644 --- a/docs/dir_3e9291fd7a18fdecc763294cb2628910.html +++ b/docs/dir_3e9291fd7a18fdecc763294cb2628910.html @@ -125,8 +125,6 @@ Files   file  es_descriptor.h [code]   -file  fourccs.h [code] -  file  fragmenter.cc [code]   file  fragmenter.h [code] @@ -147,8 +145,6 @@ Files   file  multi_segment_segmenter.h [code]   -file  rcheck.h [code] -  file  segmenter.cc [code]   file  segmenter.h [code] @@ -173,7 +169,7 @@ Files diff --git a/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html b/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html index 80af7e96e9..409e53f1e7 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 d04b9ea3bc..970bfa56a7 100644 --- a/docs/dir_5039d854a18988ed1f1dbebc120ffbf7.html +++ b/docs/dir_5039d854a18988ed1f1dbebc120ffbf7.html @@ -181,7 +181,7 @@ Files diff --git a/docs/dir_5eb2e460866db0ed29e32d64402e5c22.html b/docs/dir_5eb2e460866db0ed29e32d64402e5c22.html index 0ceaf198ba..b536563b3d 100644 --- a/docs/dir_5eb2e460866db0ed29e32d64402e5c22.html +++ b/docs/dir_5eb2e460866db0ed29e32d64402e5c22.html @@ -145,7 +145,7 @@ Files diff --git a/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html b/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html index 8d1458f226..e294a528f6 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 4ef1828892..42a5ed0bd3 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 4523b8b187..9e95cd9d42 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 9be3bf6397..649a3258f9 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 136637ffab..ce04b5d9ee 100644 --- a/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html +++ b/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html @@ -109,7 +109,7 @@ Files diff --git a/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html b/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html index 1c7a4a6458..c4476d8541 100644 --- a/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html +++ b/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html @@ -151,6 +151,8 @@ Files   file  fixed_key_source.h [code]   +file  fourccs.h [code] +  file  http_key_fetcher.cc [code]   file  http_key_fetcher.h [code] @@ -203,6 +205,8 @@ Files   file  protection_system_specific_info.h [code]   +file  rcheck.h [code] +  file  request_signer.cc [code]   file  request_signer.h [code] @@ -243,7 +247,7 @@ Files diff --git a/docs/dir_d422163b96683743ed3963d4aac17747.html b/docs/dir_d422163b96683743ed3963d4aac17747.html index 92fa3d7a26..0319375606 100644 --- a/docs/dir_d422163b96683743ed3963d4aac17747.html +++ b/docs/dir_d422163b96683743ed3963d4aac17747.html @@ -131,7 +131,7 @@ Files diff --git a/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html b/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html index f4836f7392..e01f204f80 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 94a600c82b..40e79f8772 100644 --- a/docs/dir_f7dcbe7025bbacfc4b9a7dff6ad41d72.html +++ b/docs/dir_f7dcbe7025bbacfc4b9a7dff6ad41d72.html @@ -151,7 +151,7 @@ Files diff --git a/docs/files.html b/docs/files.html index 59aff8a406..c01fee8033 100644 --- a/docs/files.html +++ b/docs/files.html @@ -142,50 +142,52 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); ||o*encryption_modes.h ||o*fixed_key_source.cc ||o*fixed_key_source.h -||o*http_key_fetcher.cc -||o*http_key_fetcher.h -||o*key_fetcher.cc -||o*key_fetcher.h -||o*key_source.cc -||o*key_source.h -||o*limits.h -||o*macros.h -||o*media_parser.h -||o*media_sample.cc -||o*media_sample.h -||o*media_stream.cc -||o*media_stream.h -||o*muxer.cc -||o*muxer.h -||o*muxer_options.cc -||o*muxer_options.h -||o*muxer_util.cc -||o*muxer_util.h -||o*network_util.cc -||o*network_util.h -||o*offset_byte_queue.cc -||o*offset_byte_queue.h -||o*producer_consumer_queue.h -||o*protection_system_specific_info.cc -||o*protection_system_specific_info.h -||o*request_signer.cc -||o*request_signer.h -||o*rsa_key.cc -||o*rsa_key.h -||o*status.cc -||o*status.h -||o*stream_info.cc -||o*stream_info.h -||o*text_stream_info.cc -||o*text_stream_info.h -||o*text_track.h -||o*text_track_config.cc -||o*text_track_config.h -||o*timestamp.h -||o*video_stream_info.cc -||o*video_stream_info.h -||o*widevine_key_source.cc -||\*widevine_key_source.h +||o*fourccs.h +||o*http_key_fetcher.cc +||o*http_key_fetcher.h +||o*key_fetcher.cc +||o*key_fetcher.h +||o*key_source.cc +||o*key_source.h +||o*limits.h +||o*macros.h +||o*media_parser.h +||o*media_sample.cc +||o*media_sample.h +||o*media_stream.cc +||o*media_stream.h +||o*muxer.cc +||o*muxer.h +||o*muxer_options.cc +||o*muxer_options.h +||o*muxer_util.cc +||o*muxer_util.h +||o*network_util.cc +||o*network_util.h +||o*offset_byte_queue.cc +||o*offset_byte_queue.h +||o*producer_consumer_queue.h +||o*protection_system_specific_info.cc +||o*protection_system_specific_info.h +||o*rcheck.h +||o*request_signer.cc +||o*request_signer.h +||o*rsa_key.cc +||o*rsa_key.h +||o*status.cc +||o*status.h +||o*stream_info.cc +||o*stream_info.h +||o*text_stream_info.cc +||o*text_stream_info.h +||o*text_track.h +||o*text_track_config.cc +||o*text_track_config.h +||o*timestamp.h +||o*video_stream_info.cc +||o*video_stream_info.h +||o*widevine_key_source.cc +||\*widevine_key_source.h |o+event ||o*mpd_notify_muxer_listener.cc ||o*mpd_notify_muxer_listener.h @@ -296,28 +298,26 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |o*encrypting_fragmenter.h | |o*es_descriptor.cc | |o*es_descriptor.h -| |o*fourccs.h -| |o*fragmenter.cc -| |o*fragmenter.h -| |o*key_rotation_fragmenter.cc -| |o*key_rotation_fragmenter.h -| |o*mp4_media_parser.cc -| |o*mp4_media_parser.h -| |o*mp4_muxer.cc -| |o*mp4_muxer.h -| |o*multi_segment_segmenter.cc -| |o*multi_segment_segmenter.h -| |o*rcheck.h -| |o*segmenter.cc -| |o*segmenter.h -| |o*single_segment_segmenter.cc -| |o*single_segment_segmenter.h -| |o*sync_sample_iterator.cc -| |o*sync_sample_iterator.h -| |o*track_run_iterator.cc -| |o*track_run_iterator.h -| |o*video_slice_header_parser.cc -| |\*video_slice_header_parser.h +| |o*fragmenter.cc +| |o*fragmenter.h +| |o*key_rotation_fragmenter.cc +| |o*key_rotation_fragmenter.h +| |o*mp4_media_parser.cc +| |o*mp4_media_parser.h +| |o*mp4_muxer.cc +| |o*mp4_muxer.h +| |o*multi_segment_segmenter.cc +| |o*multi_segment_segmenter.h +| |o*segmenter.cc +| |o*segmenter.h +| |o*single_segment_segmenter.cc +| |o*single_segment_segmenter.h +| |o*sync_sample_iterator.cc +| |o*sync_sample_iterator.h +| |o*track_run_iterator.cc +| |o*track_run_iterator.h +| |o*video_slice_header_parser.cc +| |\*video_slice_header_parser.h | o+mpeg | |o*adts_constants.cc | |\*adts_constants.h @@ -411,7 +411,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions.html b/docs/functions.html index 47a1c4a1d4..75548f79aa 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -233,7 +233,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_b.html b/docs/functions_b.html index 85bec20215..d195b911fe 100644 --- a/docs/functions_b.html +++ b/docs/functions_b.html @@ -238,7 +238,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_c.html b/docs/functions_c.html index 25b0fe8f29..bf0ceefe02 100644 --- a/docs/functions_c.html +++ b/docs/functions_c.html @@ -234,7 +234,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_d.html b/docs/functions_d.html index c5a9346790..bd7f23eab8 100644 --- a/docs/functions_d.html +++ b/docs/functions_d.html @@ -160,7 +160,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_e.html b/docs/functions_e.html index b7ef4dfe60..123c59b935 100644 --- a/docs/functions_e.html +++ b/docs/functions_e.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_eval.html b/docs/functions_eval.html index b865b2ba64..2df60e95a5 100644 --- a/docs/functions_eval.html +++ b/docs/functions_eval.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_f.html b/docs/functions_f.html index fd3b2b0a99..5ce4701fe9 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 4a29990f86..f16c93dd4a 100644 --- a/docs/functions_func.html +++ b/docs/functions_func.html @@ -233,7 +233,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_b.html b/docs/functions_func_b.html index d4ca03f6be..f5dccd9831 100644 --- a/docs/functions_func_b.html +++ b/docs/functions_func_b.html @@ -235,7 +235,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_c.html b/docs/functions_func_c.html index 38bd5f76f8..ad2065e55e 100644 --- a/docs/functions_func_c.html +++ b/docs/functions_func_c.html @@ -234,7 +234,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_d.html b/docs/functions_func_d.html index c037224b11..72721eb085 100644 --- a/docs/functions_func_d.html +++ b/docs/functions_func_d.html @@ -160,7 +160,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_e.html b/docs/functions_func_e.html index d8b2ecb3cd..b055eb6acd 100644 --- a/docs/functions_func_e.html +++ b/docs/functions_func_e.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_f.html b/docs/functions_func_f.html index b9a828a331..0ab338ec8f 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 9056992ed2..1409b86395 100644 --- a/docs/functions_func_g.html +++ b/docs/functions_func_g.html @@ -253,7 +253,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_h.html b/docs/functions_func_h.html index 3fe11f2c98..b3cb24ec37 100644 --- a/docs/functions_func_h.html +++ b/docs/functions_func_h.html @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_i.html b/docs/functions_func_i.html index fa4134418c..6219ec7405 100644 --- a/docs/functions_func_i.html +++ b/docs/functions_func_i.html @@ -215,7 +215,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_k.html b/docs/functions_func_k.html index e12efdf908..ffdf674612 100644 --- a/docs/functions_func_k.html +++ b/docs/functions_func_k.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_l.html b/docs/functions_func_l.html index eeec9f77a9..dd9068520f 100644 --- a/docs/functions_func_l.html +++ b/docs/functions_func_l.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_m.html b/docs/functions_func_m.html index 60b073ad39..f53fa104b5 100644 --- a/docs/functions_func_m.html +++ b/docs/functions_func_m.html @@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_n.html b/docs/functions_func_n.html index e105152c96..a451d6e753 100644 --- a/docs/functions_func_n.html +++ b/docs/functions_func_n.html @@ -171,7 +171,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_o.html b/docs/functions_func_o.html index 9de4370330..36014f3968 100644 --- a/docs/functions_func_o.html +++ b/docs/functions_func_o.html @@ -161,7 +161,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_p.html b/docs/functions_func_p.html index 37db867e56..2e5dae2284 100644 --- a/docs/functions_func_p.html +++ b/docs/functions_func_p.html @@ -219,7 +219,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_r.html b/docs/functions_func_r.html index b999e59940..d7cd6d19e6 100644 --- a/docs/functions_func_r.html +++ b/docs/functions_func_r.html @@ -200,7 +200,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_s.html b/docs/functions_func_s.html index 421fa6c8af..5a34bb9f28 100644 --- a/docs/functions_func_s.html +++ b/docs/functions_func_s.html @@ -276,7 +276,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_t.html b/docs/functions_func_t.html index 9263453990..f602191b7d 100644 --- a/docs/functions_func_t.html +++ b/docs/functions_func_t.html @@ -177,7 +177,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_u.html b/docs/functions_func_u.html index 835917d191..d6bd4e0778 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 ca17af4bfd..7e014cf968 100644 --- a/docs/functions_func_v.html +++ b/docs/functions_func_v.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_w.html b/docs/functions_func_w.html index 8fb21936cb..698270b3a8 100644 --- a/docs/functions_func_w.html +++ b/docs/functions_func_w.html @@ -176,7 +176,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_x.html b/docs/functions_func_x.html index 7fcf1d3b72..8f5b4c94b6 100644 --- a/docs/functions_func_x.html +++ b/docs/functions_func_x.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_~.html b/docs/functions_func_~.html index 7f29888819..3d19b4ae60 100644 --- a/docs/functions_func_~.html +++ b/docs/functions_func_~.html @@ -131,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_g.html b/docs/functions_g.html index af8c214fdc..e032e51417 100644 --- a/docs/functions_g.html +++ b/docs/functions_g.html @@ -253,7 +253,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_h.html b/docs/functions_h.html index bb34b8e86d..811212b48d 100644 --- a/docs/functions_h.html +++ b/docs/functions_h.html @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_i.html b/docs/functions_i.html index 6b40356a49..8d59336e3f 100644 --- a/docs/functions_i.html +++ b/docs/functions_i.html @@ -218,7 +218,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_k.html b/docs/functions_k.html index 36c6e991ad..5052b85d2c 100644 --- a/docs/functions_k.html +++ b/docs/functions_k.html @@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_l.html b/docs/functions_l.html index bd09f5d500..b72e53ae96 100644 --- a/docs/functions_l.html +++ b/docs/functions_l.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_m.html b/docs/functions_m.html index d57401b9ef..296039e765 100644 --- a/docs/functions_m.html +++ b/docs/functions_m.html @@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_n.html b/docs/functions_n.html index 0a0415bf73..c0eb91e44a 100644 --- a/docs/functions_n.html +++ b/docs/functions_n.html @@ -177,7 +177,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_o.html b/docs/functions_o.html index 34205a8b9e..e0cac53dd3 100644 --- a/docs/functions_o.html +++ b/docs/functions_o.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_p.html b/docs/functions_p.html index bfdc43ec6a..815327917d 100644 --- a/docs/functions_p.html +++ b/docs/functions_p.html @@ -225,7 +225,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_r.html b/docs/functions_r.html index 173a53c6f2..4c3efc09b0 100644 --- a/docs/functions_r.html +++ b/docs/functions_r.html @@ -200,7 +200,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_s.html b/docs/functions_s.html index 07b177a961..096c62d356 100644 --- a/docs/functions_s.html +++ b/docs/functions_s.html @@ -291,7 +291,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_t.html b/docs/functions_t.html index 2e5fede2e8..4992e2f69c 100644 --- a/docs/functions_t.html +++ b/docs/functions_t.html @@ -180,7 +180,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_type.html b/docs/functions_type.html index 90cc28ea1a..49a3121ac5 100644 --- a/docs/functions_type.html +++ b/docs/functions_type.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_u.html b/docs/functions_u.html index f911f9be84..7cae84d235 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 ee71b9cde6..2e0f26d9ca 100644 --- a/docs/functions_v.html +++ b/docs/functions_v.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_vars.html b/docs/functions_vars.html index 254df1d493..6f254ebdb4 100644 --- a/docs/functions_vars.html +++ b/docs/functions_vars.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_w.html b/docs/functions_w.html index 2cbc07fdf0..81340148f3 100644 --- a/docs/functions_w.html +++ b/docs/functions_w.html @@ -176,7 +176,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_x.html b/docs/functions_x.html index c6568faba9..14e7e317be 100644 --- a/docs/functions_x.html +++ b/docs/functions_x.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_~.html b/docs/functions_~.html index bb904088d5..1661afd919 100644 --- a/docs/functions_~.html +++ b/docs/functions_~.html @@ -131,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/hierarchy.html b/docs/hierarchy.html index a898752cfa..c86ae654ca 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -356,7 +356,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/index.html b/docs/index.html index 51ca15557e..e606b6388d 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 c73f6caa39..5945364118 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 5eb98ef0fd..f85cd5f03b 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 5ceec3b374..d8cb1ee043 100644 --- a/docs/namespaces.html +++ b/docs/namespaces.html @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');