summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/opus/dec/SoftOpus.cpp
Commit message (Collapse)AuthorAgeFilesLines
* DO NOT MERGE codecs: check OMX buffer size before use in (vorbis|opus)decWonsik Kim2016-04-211-1/+6
| | | | | Bug: 27833616 Change-Id: I1ccdd16a00741da072527a6d13e87fd7c7fe8c54
* DO NOT MERGE Verify OMX buffer sizes prior to accessMarco Nelissen2016-04-211-0/+16
| | | | | Bug: 27207275 Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
* SoftOpus: Fix output buffer capacity.Vignesh Venkatasubramanian2015-06-111-7/+7
| | | | | | | | | | | | | The output buffer size as per opus project's sample decoder [1] is 960*6*channel_count. Whereas in SoftOpus, we use 960*6 (without the channel count multiplier. Fixing it to include maximum number of channels possible as the multiplier. [1] http://git.xiph.org/?p=opus-tools.git;a=blob;f=src/opusdec.c;h=d085f04eacdfd49759ffdb73db805562ba396720;hb=f2a2e88b47f6f24083a37be476f140f677fe7160#l571 BUG=20721050 Change-Id: I323891a1b11491782bc093477b09e7757b885674
* libstagefright/SoftOpus: Ignore CSD resubmissionsVignesh Venkatasubramanian2015-06-031-0/+8
| | | | | | | | | | NuPlayerDecoder re-submits the CSDs on seek. Opus decoder does not need the CSDs on seek. So, we merely ignore the resubmissions of CSD in SoftOpus so that it is not passed to the decoder thereby screwing up its state. Bug: 21565945 Change-Id: Ia74f4b1733e42171131484a6a7f3fd923fe26434
* opus: Support for > 2 channelsVignesh Venkatasubramanian2015-01-261-3/+9
| | | | | | | | This CL adds support for Opus streams that have more than 2 channels. It also fixes a bug where codec delay and seek preroll are not transferred during metadata to message conversion. Change-Id: Ia9748d4f7024368b2aa3c5cbd27f8016c859ea00
* stagefright: SoftOpus: add explicit include filesLajos Molnar2014-03-031-11/+14
| | | | | | Also resolved new warnings Change-Id: I41423b20f80400567bf192c4b4e95c6a29d84782
* Opus Matroska support in OpenMaxVignesh Venkatasubramanian2014-03-031-0/+537
Adding Openmax component for libopus software decoder. This can decode opus audio files embedded in matroska containers. Change-Id: I7e0691cfc6d719c4e927b9efbd05a3143be49abc Note: This CL is part of adding Opus support to Android.