summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/SampleTable.h
Commit message (Collapse)AuthorAgeFilesLines
* Impose a size bound for dynamically allocated tables in stbl.Pawin Vongmasa2016-07-201-2/+7
| | | | | | | | | | Impose a restriction of 200MiB for tables in stsc, stts, ctts and stss boxes. Also change mTimeToSample from Vector to array. Bug: 29367429 Change-Id: I953bea9fe0590268cf27376740f582dc88563d42 Merge conflict resolution of ag/1170200 to mnc-mr2-release
* SampleTable.cpp: Fixed a regression caused by a fix for bugPawin Vongmasa2016-04-211-0/+1
| | | | | | | | | | | | | | | 28076789. Detail: Before the original fix (Id207f369ab7b27787d83f5d8fc48dc53ed9fcdc9) for 28076789, the code allowed a time-to-sample table size to be 0. The change made in that fix disallowed such situation, which in fact should be allowed. This current patch allows it again while maintaining the security of the previous fix. Bug: 28288202 Bug: 28076789 Change-Id: I1c9a60c7f0cfcbd3d908f24998dde15d5136a295
* Resolve merge conflict when cp'ing ag/931301 to mnc-mr1-releaseZach Jang2016-04-211-1/+2
| | | | Change-Id: I079d1db2d30d126f8aed348bd62451acf741037d
* libstagefright: fix handling of mSampleTimeEntries and mNumSampleSizes in ↵Wei Jia2015-08-181-2/+3
| | | | | | | SampleTable. Bug: 23247055 Change-Id: I29ef59c7ff09248063714e5013f7c33f66c5eebd
* stagefright: Fix seeking in MPEG4 containerLajos Molnar2014-07-171-1/+9
| | | | | | | | - seek based on user-visible timestamp - seek to previous, next and closest exactly Bug: 12786906 Change-Id: I2d5e1fbff6469b6f081a284be2222a4cb50aa754
* Expose sample duration in MPEG4Extractor.Robert Shih2014-04-251-1/+2
| | | | | Bug: 12782113 Change-Id: I75ee361243c5382d9288349c554deb7bed952782
* Remove an O(n^2) algorithm in MPEG4Extractor.cpp to speed up seeks in long ↵Andreas Huber2011-09-191-2/+4
| | | | | | | | | streams containing B-frames. Change-Id: Ie4dc734d2c2d5a5ce84674bb883f4b27e2278642 related-to-bug: 5336497
* Make sure we have all the sample table metadata before declaring a track valid.Andreas Huber2011-08-171-0/+2
| | | | | Change-Id: I2dfbc3e6017b5cd264e4cccfa47d19047b2e7f31 related-to-bug: 5178976
* Remove streamability verification, it's taking too long. Also...Andreas Huber2011-04-151-1/+11
| | | | | | | | make sure that findSampleAtTime uses composition time instead of decoding time, at the expense of extra memory. Change-Id: I67d09389b3df7ed265f614bdd0b142ca7f19f86a related-to-bug: 4294536
* Make sure timestamps attached to encoded media are composition timestamps.Andreas Huber2011-02-031-0/+8
| | | | | | | | not decoding timestamps. Obviously there is no difference between them if the content in question does not involve frame reordering. Change-Id: Iac4d06cfeb8a136f735c1148e98cac340d3ef893 related-to-bug: 3398314
* 64-bit file size/offset support for media frameworkJames Dong2010-11-181-10/+10
| | | | Change-Id: I3452bc2c0f1d990cc67285df2fce1f9f86ff8e10
* Support for communicating if a buffer read from the _extractor_ is a sync ↵Andreas Huber2010-08-061-1/+4
| | | | | | | sample or not. Change-Id: Ie71506224d937cfff1fa1273bfac31c47db8845f related-to-bug: 2900534
* Support finer seek control on MediaSources.Andreas Huber2010-07-211-5/+8
| | | | | | related-to-bug: 2858448 Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1
* Squashed commit of the following:Andreas Huber2010-01-191-13/+27
| | | | | | | | | | | | | | commit 6689350d7e4dad6d873c1ed95f0a356e3bfd79d1 Author: Andreas Huber <andih@google.com> Date: Tue Jan 19 09:23:02 2010 -0800 Some tweaks to the SampleIterator. commit 5638bff6d31442a219806445c3106d47b081fcab Author: Andreas Huber <andih@google.com> Date: Fri Jan 15 14:46:29 2010 -0800 A much improved implementation of MPEG4 sample table operations through an iterator.
* Extract video thumbnails from the largest sync sample among the first 20.Andreas Huber2009-10-221-0/+2
| | | | Also fixes OMXCodec seek behaviour on the very first call to OMXCodec::read()
* Separated private from public header files.Andreas Huber2009-10-131-0/+109