summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/XINGSeeker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Better handle invalid duration in Xing/VBRI tagsMarco Nelissen2012-06-131-6/+9
| | | | | | b/6654637 Change-Id: Ie92eddd84ef5914b77dbadaacd80b4de6cd66e1c
* Parse mp3 encoder padding/delayMarco Nelissen2012-03-201-3/+29
| | | | | | Get the mp3 encoder padding and delay from a XING frame or iTunSMPB tag. Change-Id: Icde598c8857d7e7c187a718f478ee9799d6a1b8a
* Skip XING/VBRI frame when decodingMarco Nelissen2012-03-161-106/+51
| | | | | | | Don't send the XING/VBRI frame to the decoder, as it will result in extra data being output. Also clean up the XING seeker code a bit. Change-Id: I714a94180edae9bedc1bc0c96bf382fe6f928ac6
* Fix Xing seeking when TOC[0] == 0Marco Nelissen2012-03-141-9/+13
| | | | | | | | | | A file purchased from the Amazon mp3 store had two 0 entries at the start of the TOC (presumably because there was a lot of silence at the beginning, which compresses well), which made TOC based seeking think the TOC was not valid. b/6170518 Change-Id: Ie7135b4af06ebb925f63a374be780cf3a9404347
* Use unsigned char to store table of contents retrieved from XING header.Gloria Wang2011-07-151-3/+3
| | | | | | | | Our compiler treats char default to unsigned (trygon-eng on master branch). If I force "signed char" for the table of contents array, some MediaFramework tests for VBR mp3 would fail. Change-Id: I725e2d4dfe57ff36fdb1d65fe3184f7ab41ad695
* Remove log spamMike Lockwood2011-04-241-2/+0
| | | | | Change-Id: I3182576158c7c0410c19036a580fd46c6ab079f9 Signed-off-by: Mike Lockwood <lockwood@android.com>
* 64-bit file size/offset support for media frameworkJames Dong2010-11-181-4/+4
| | | | Change-Id: I3452bc2c0f1d990cc67285df2fce1f9f86ff8e10
* Some refactoring and added support for another form of vbr headers.Andreas Huber2010-11-091-0/+223
related-to-bug: 3172324 Change-Id: Ic364da09eac7f0a815f9ceb719b6baa8a76e3730