summaryrefslogtreecommitdiffstats
path: root/media/webm/webm_cluster_parser.h
Commit message (Collapse)AuthorAgeFilesLines
* Use std::string for decryption key ID in webm parser.xhwang@chromium.org2012-08-021-4/+2
| | | | | | | | | | | TBR=ddorwin@chromium.org BUG=130689 TEST=media_unittests Review URL: https://chromiumcodereview.appspot.com/10826098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149556 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a bunch of dead fields found by Scythe.fischman@chromium.org2012-07-311-4/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10825108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149251 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome-side implementation of media source timestamp offsetvrk@google.com2012-07-271-0/+4
| | | | | | | | | | | | Adds functionality to signal an offset to be applied to the buffers in ChunkDemuxer. Is not triggerable from Chrome yet. BUG=139044 TEST=media_unittests Review URL: https://chromiumcodereview.appspot.com/10803019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148810 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for encrypted WebM files as defined in the RFC.fgalligan@chromium.org2012-07-201-0/+4
| | | | | | | | | | | | | | | | | | | The WebM parser now reads the HMAC and IV from every encrypted Block and stores that information in the DecryptorConfig object. Added two new elements ContentEncAESSettings and AESSettingsCipherMode used by encrypted WebM files. This is a new code review of https://chromiumcodereview.appspot.com/10535029/ patch set 17 after patch set 16 was reverted. BUG=119845 TEST=media_unittests Review URL: https://chromiumcodereview.appspot.com/10810026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147654 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 147169 - Add support for encrypted WebM files as defined in the RFC.jln@chromium.org2012-07-181-4/+0
| | | | | | | | | | | | | | | | | The WebM parser now reads the HMAC and IV from every encrypted Block and stores that information in the DecryptorConfig object. Added two new elements ContentEncAESSettings and AESSettingsCipherMode used by encrypted WebM files. BUG=119845 TEST=media_unittests --gtest_filter=HmacAesDecryptorTest Review URL: https://chromiumcodereview.appspot.com/10535029 TBR=fgalligan@chromium.org Review URL: https://chromiumcodereview.appspot.com/10807003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147172 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for encrypted WebM files as defined in the RFC.fgalligan@chromium.org2012-07-181-0/+4
| | | | | | | | | | | | | | The WebM parser now reads the HMAC and IV from every encrypted Block and stores that information in the DecryptorConfig object. Added two new elements ContentEncAESSettings and AESSettingsCipherMode used by encrypted WebM files. BUG=119845 TEST=media_unittests --gtest_filter=HmacAesDecryptorTest Review URL: https://chromiumcodereview.appspot.com/10535029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147169 0039d316-1c4b-4281-b951-d872f2087c98
* Remove buffer duration calculation from WebMClusterParser and update ↵vrk@chromium.org2012-07-101-12/+0
| | | | | | | | | | | | | | | SourceBufferStream accordingly This removes the work to calculate buffers' durations in WebMClusterParser and modifies SourceBufferStream to no longer need duration information to work. This allows us to fix several bugs. BUG=131695,136418 TEST=media_unittests, go/oiedsb no longer needs Abort()s to work Review URL: https://chromiumcodereview.appspot.com/10692053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145839 0039d316-1c4b-4281-b951-d872f2087c98
* Add support to WebMClusterParser to accept clusters without blocksvrk@chromium.org2012-06-291-0/+2
| | | | | | | | | | BUG=NONE TEST=media_unittests Review URL: https://chromiumcodereview.appspot.com/10673012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145030 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for files that use AltRef frames.acolwell@chromium.org2012-06-061-1/+9
| | | | | | | | | | BUG=131265 TEST=ChunkDemuxerTest.TestWebMFile_AltRefFrames Review URL: https://chromiumcodereview.appspot.com/10542009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140883 0039d316-1c4b-4281-b951-d872f2087c98
* Remove default duration logic from WebM parsing code.acolwell@chromium.org2012-05-301-4/+1
| | | | | | | | | | BUG=130313 TEST=WebMClusterParserTest* Review URL: https://chromiumcodereview.appspot.com/10440093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139615 0039d316-1c4b-4281-b951-d872f2087c98
* Update WebMClusterParser to compute durations for all StreamParserBuffers.acolwell@chromium.org2012-05-181-8/+29
| | | | | | | | | | BUG=127916 TEST=WebMClusterParserTest.* Review URL: https://chromiumcodereview.appspot.com/10382200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137826 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for BlockGroup elements with BlockDuration.acolwell@chromium.org2012-05-161-3/+10
| | | | | | | | | | BUG=127915 TEST=WebMClusterParserTest.ParseBlockGroup & WebMClusterParserTest.ParseSimpleBlockAndBlockGroupMixture. Review URL: https://chromiumcodereview.appspot.com/10391091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137311 0039d316-1c4b-4281-b951-d872f2087c98
* Add StreamParserBuffer to ChunkDemuxervrk@google.com2012-05-021-2/+2
| | | | | | | | | | | This will allow SourceBufferStreams to identify keyframes. BUG=125680 TEST=NONE Review URL: https://chromiumcodereview.appspot.com/10269022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134978 0039d316-1c4b-4281-b951-d872f2087c98
* Add AES decryptor and tests.xhwang@chromium.org2012-03-081-2/+6
| | | | | | | | | | | For now we support decryption in video only. The first encryption key ID in ContentEncodings element will be used as the decryption key ID. Also we assume decryption key is the same as key ID. BUG=117060 TEST=test page with encrypted content plays; added media_unittest Review URL: http://codereview.chromium.org/9298021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125560 0039d316-1c4b-4281-b951-d872f2087c98
* Add multiple WebMParserClient support in WebM parser.xhwang@chromium.org2011-12-291-4/+1
| | | | | | | | | | | | | | When start processing a new List, the current WebMParserClient would be able to specify another WebMParserClient to handle this list. This is achieved by returning the new WebMParserClient by WebMParserClient::OnListStart. BUG=none TEST=passed media_unittests Review URL: http://codereview.chromium.org/9022020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115992 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 115229 - Revert 115214 (caused media_unittests failure in FFmpegGlueTest,acolwell@chromium.org2011-12-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | suspiciously immediately after the code modified in this test.) FFmpegGlueTest failure was a flake. Fix ChunkDemuxer seeks that occur during a partially parsed cluster. BUG=104160 TEST=ChunkDemuxerTest.TestSeekWhileParsingCluster, WebMParserTest.TestReset Review URL: http://codereview.chromium.org/9010001 TBR=acolwell@chromium.org Review URL: http://codereview.chromium.org/8989041 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/9019020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115360 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 115214 (caused media_unittests failure in FFmpegGlueTest,dmazzoni@chromium.org2011-12-211-3/+0
| | | | | | | | | | | | | | | | | | suspiciously immediately after the code modified in this test.) Fix ChunkDemuxer seeks that occur during a partially parsed cluster. BUG=104160 TEST=ChunkDemuxerTest.TestSeekWhileParsingCluster, WebMParserTest.TestReset Review URL: http://codereview.chromium.org/9010001 TBR=acolwell@chromium.org Review URL: http://codereview.chromium.org/8989041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115229 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ChunkDemuxer seeks that occur during a partially parsed cluster.acolwell@chromium.org2011-12-201-0/+3
| | | | | | | | | | BUG=104160 TEST=ChunkDemuxerTest.TestSeekWhileParsingCluster, WebMParserTest.TestReset Review URL: http://codereview.chromium.org/9010001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115214 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support for incremental cluster parsing.acolwell@chromium.org2011-12-131-0/+2
| | | | | | | | | | | BUG=104160 TEST=Covered by ChunkDemuxer unittests. Review URL: http://codereview.chromium.org/8775035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114163 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 114030 - Adding support for incremental cluster parsing.acolwell@chromium.org2011-12-121-2/+0
| | | | | | | | | | | | | BUG=104160 TEST=Covered by ChunkDemuxer unittests. Review URL: http://codereview.chromium.org/8775035 TBR=acolwell@chromium.org Review URL: http://codereview.chromium.org/8921010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114033 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support for incremental cluster parsing.acolwell@chromium.org2011-12-121-0/+2
| | | | | | | | | | BUG=104160 TEST=Covered by ChunkDemuxer unittests. Review URL: http://codereview.chromium.org/8775035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114030 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to media/.avi@chromium.org2011-11-161-7/+7
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8520033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110304 0039d316-1c4b-4281-b951-d872f2087c98
* Improve ChunkDemuxer so AppendData() calls no longer have to be done on ↵acolwell@chromium.org2011-09-301-2/+3
| | | | | | | | | | | | element boundries. BUG=86536 TEST=ChunkDemuxerTest::TestAppendingInPieces Review URL: http://codereview.chromium.org/7981024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103543 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: base/scoped_ptr.h -> base/memory/scoped_ptr.h. (part 4)thestig@chromium.org2011-08-181-4/+5
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7670016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97286 0039d316-1c4b-4281-b951-d872f2087c98
* Adding ChunkDemuxer implementation.acolwell@chromium.org2011-06-291-0/+65
BUG=86536 TEST=ChunkDemuxerTest.* Review URL: http://codereview.chromium.org/7203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90966 0039d316-1c4b-4281-b951-d872f2087c98