Commit Graph

150 Commits

Author SHA1 Message Date
Bobby Holley
b6b5e959bb Bug 1115749 - Assert that we hold the monitor at all the MP4Demuxer API entry points. r=rillian
MP4Demuxer accesses shared state (index, moofparser) in lots of shared helper
routines, so we should assume that it's not safe to touch the demuxer at all
without holding the lock (unless demonstrated otherwise). This stuff should
probably be redesigned, but that's a problem for another day.
2014-12-29 16:10:16 -08:00
Jean-Yves Avenard
a52d454032 Bug 1111328: Add H264 SPS NAL decoder part #2 (VUI and HDR). r=kentuckyfriedtakahe 2014-12-24 23:11:35 +11:00
Jean-Yves Avenard
c40872326d Bug 1111328: Add H264 SPS NAL decoder. r=kentuckyfriedtakahe 2014-12-24 23:11:35 +11:00
Jean-Yves Avenard
0c7596a490 Bug 1113073: Add H264 3-bytes NAL size support. r=kentuckyfriedtakahe 2014-12-23 14:41:21 +11:00
Jean-Yves Avenard
d7f0a4602f Bug 1113403: Make MP4Sample destructor virtual. r=kinetik 2014-12-23 14:40:29 +11:00
Jean-Yves Avenard
0dabc8a96c Bug 1110534: Add AVC Annex B to AVCC format conversion utility. r=kentuckyfriedtakahe
Based on original code by Baptiste Coudurier extracted from FFmpeg's libavformat
2014-12-23 14:36:09 +11:00
Jean-Yves Avenard
7341bcdb6e Bug 1110534: Use more accurate names in MP4Sample and Annex B utility functions. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Jean-Yves Avenard
c430fe390c Bug 1110534: Retrieve SPS and PPS from AVCC stream when necessary. r=kentuckyfriedtakahe
In avc3 or annex B stream, the AVCC extradata doesn't always contain the SPS and PPS required to
decode the first frame. Add method to extract SPS and PPS and construct an AVCC extradata.
2014-12-23 14:36:09 +11:00
Jean-Yves Avenard
8f57ec0db8 Bug 1110534: Simplify MP4 extradata handling. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Bobby Holley
6d0ec2b9a3 Bug 1114383 - Assert that access to mMoofs goes through a monitor. r=k17e 2014-12-21 22:04:36 -08:00
Jean-Yves Avenard
82b860da6b Bug 1111311: Use 32 bits signed for storing CTS in order to properly calculate PTS. r=kentuckyfriedtakahe 2014-12-17 22:21:10 +11:00
Anthony Jones
3310881371 Bug 1110608 - Add CENC support to MoofParser; r=edwin 2014-12-16 18:10:46 +13:00
Anthony Jones
8fb4e80e99 Bug 1098126 - Fix build bustage; r=mattwoodrow 2014-12-16 18:10:46 +13:00
Anthony Jones
02faa200e5 Bug 1098126 - MoofParser fixes and disable for EME; r=mattwoodrow 2014-12-05 14:01:44 -08:00
Anthony Jones
92e8ac3174 Bug 1098126 - Add CENC support to MoofParser; r=edwin 2014-12-16 18:10:45 +13:00
Anthony Jones
d1939b42de Bug 1098126 - MoofParser forced moof read; r=mattwoodrow 2014-12-16 18:10:45 +13:00
Anthony Jones
38ea3d4cfa Bug 1098126 - Use MoofParser to read fragmented MP4 data; r=mattwoodrow 2014-12-16 18:10:45 +13:00
Anthony Jones
ed2c17e4a0 Bug 1098126 - Remove duplication in MP4 demuxer seek; r=mattwoodrow 2014-12-16 18:10:44 +13:00
Carsten "Tomcat" Book
3034734290 Backed out changeset f3830d09ce0e (bug 1098126) for bustage on a CLOSED TREE 2014-12-15 09:04:00 +01:00
Carsten "Tomcat" Book
c56f3e3222 Backed out changeset 3af0cab9d0de (bug 1098126) 2014-12-15 09:03:12 +01:00
Carsten "Tomcat" Book
6df2459399 Backed out changeset 3ecd5b8c293a (bug 1098126) 2014-12-15 09:03:10 +01:00
Carsten "Tomcat" Book
6822668b05 Backed out changeset 732d6e4e6bed (bug 1098126) 2014-12-15 09:03:08 +01:00
Carsten "Tomcat" Book
0b38e775a5 Backed out changeset 7da16258c33b (bug 1098126) 2014-12-15 09:03:06 +01:00
Nigel Babu
86a7ed283e Backed out changeset cdf7d7507577 (bug 1110608) for non-unified build failure on CLOSED TREE 2014-12-15 12:43:40 +05:30
Anthony Jones
f1040951a5 Bug 1110608 - Add CENC support to MoofParser; r=edwin 2014-12-15 17:43:59 +13:00
Anthony Jones
e67eb4ca12 Bug 1098126 - MoofParser fixes and disable for EME; r=mattwoodrow 2014-12-05 14:01:44 -08:00
Anthony Jones
346dfff41b Bug 1098126 - Add CENC support to MoofParser; r=edwin 2014-12-15 17:43:59 +13:00
Anthony Jones
9861fa319e Bug 1098126 - MoofParser forced moof read; r=mattwoodrow 2014-12-15 17:43:59 +13:00
Anthony Jones
4c94759c2a Bug 1098126 - Use MoofParser to read fragmented MP4 data; r=mattwoodrow 2014-12-15 17:43:58 +13:00
Anthony Jones
6b03fa4598 Bug 1098126 - Remove duplication in MP4 demuxer seek; r=mattwoodrow 2014-12-15 17:43:58 +13:00
Jean-Yves Avenard
b8eb3e2c1f Bug 1109987: Use signed timestamps in mp4 demuxer. r=k17e 2014-12-15 10:07:39 +11:00
Jean-Yves Avenard
9ecccae28a Bug 1107339 - Add VP6F and extend MP3 support in libstagefright. r=k17e 2014-12-04 11:54:06 -08:00
Ryan VanderMeulen
ba53ff1161 Backed out 5 changesets (bug 1098126) for Windows web-platform-test failures.
Backed out changeset 7cf7a6ea28c2 (bug 1098126)
Backed out changeset 21aab02fb41c (bug 1098126)
Backed out changeset 55dba2167b36 (bug 1098126)
Backed out changeset 73c2707c4f60 (bug 1098126)
Backed out changeset 4d6a52c5fb75 (bug 1098126)
2014-12-05 20:09:54 -05:00
Anthony Jones
bf236b5978 Bug 1098126 - Disable MoofParser for EME; r=rillian 2014-12-05 14:17:23 -08:00
Anthony Jones
4a402212d8 Bug 1098126 - Add CENC support to MoofParser; r=edwin 2014-12-05 14:17:23 -08:00
Anthony Jones
e30fe94716 Bug 1098126 - MoofParser forced moof read; r=mattwoodrow 2014-12-05 14:17:23 -08:00
Anthony Jones
41972ef3e8 Bug 1098126 - Use MoofParser to read fragmented MP4 data; r=mattwoodrow 2014-12-05 14:17:23 -08:00
Anthony Jones
162732a26d Bug 1098126 - Remove duplication in MP4 demuxer seek; r=mattwoodrow 2014-12-05 14:17:22 -08:00
Jean-Yves Avenard
e211d708fb Bug 1105661: MP4Sample: use proper delete[] operator. r=k17e
]
2014-11-27 21:09:16 +11:00
Jean-Yves Avenard
4e2434fee9 Bug 1101534 - Add MP4Sample copy constructor. r=k17e 2014-11-28 19:31:57 +11:00
Matt Woodrow
cb9f6864db Bug 1102647 - Accept 4k video sizes in MPEG4Extractor. r=ajones 2014-11-28 13:18:35 +13:00
Matt Woodrow
334bec207c Bug 1102666 - Parse the edts block in MoofParser and offset composition time accordingly. r=ajones 2014-11-26 18:00:31 +13:00
Phil Ringnalda
8b6159b0ac Back out fe0fa358d7bc (bug 1102666)
CLOSED TREE
2014-11-25 21:57:42 -08:00
Matt Woodrow
725f53e3df Bug 1102666 - Parse the edts block in MoofParser and offset composition time accordingly. r=ajones
--HG--
extra : rebase_source : b5be2a267415c0ee675d24110ab2feb1fc10f822
2014-11-26 18:00:31 +13:00
Matt Woodrow
a6aadad565 Bug 1101247 - Handle empty top-level mp4 boxes in MoofParser. r=ajones 2014-11-20 15:00:35 +13:00
Jean-Yves Avenard
62a809499d Bug 1093318 - Pass newer AAC profile levels to the platform decoder module. r=edwin 2014-11-17 09:28:25 +11:00
Ralph Giles
b100812e79 Bug 1093567 - Don't loop forever looking for mp4 tracks. r=ajones.
We were ignoring I/O errors from parseChunk().
We must break instead of returning early so mInitCheck gets set correctly.
2014-11-17 16:20:00 -08:00
James Willcox
ddccc3f031 Bug 1099305 - Disable verbose logging in libstagefright r=cpearce
--HG--
extra : rebase_source : 266f7f77fc0e7819b5222111d7b45a6c9f931c76
2014-11-18 19:29:12 -06:00
Wes Kocher
037d5ade2f Backed out changeset c7a24854801e (bug 1093567) for crashtest orange 2014-11-18 13:12:00 -08:00
Ralph Giles
8743b6bd68 Bug 1093567 - Don't loop forever looking for mp4 tracks. r=ajones.
We were ignoring I/O errors from parseChunk().
2014-11-17 16:20:00 -08:00