summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/aacdec
Commit message (Collapse)AuthorAgeFilesLines
* 64-bit: Correction to OMX_U32 and OMX_S32Glenn Kasten2014-04-021-2/+2
| | | | Change-Id: I9c41bb34c35595ac19a7ab8faaacde8cb4fa9a15
* Fix aac decoder flushMarco Nelissen2014-04-021-0/+6
| | | | | | b/8543366 Change-Id: I746ffed6289486b802a2292bfc492ea6c780ed0b
* Fix decoder EOS handlingMarco Nelissen2014-04-022-115/+104
| | | | | | | | | | Conceptually it should be the same whether EOS is signalled on the last buffer holding data, or an empty buffer that follows. Make it so that this actually behaves the same for mp3, AAC and Vorbis. b/8747869 Change-Id: Idece8ef45689a3ffaf70fb45d19862d7b93b2f92
* Revert "Fix decoder EOS handling"Eric Laurent2013-08-302-104/+115
| | | | | | | This reverts commit 9da36a6c8df70a5c8179ac78fab33cfbb5078cb2. Bug: 10571297. Change-Id: I76f20fe34872ea54fce626077462fb86c8c3f02e
* Fix decoder EOS handlingMarco Nelissen2013-08-302-115/+104
| | | | | | | | | | Conceptually it should be the same whether EOS is signalled on the last buffer holding data, or an empty buffer that follows. Make it so that this actually behaves the same for mp3, AAC and Vorbis. b/8747869 Change-Id: Idece8ef45689a3ffaf70fb45d19862d7b93b2f92
* Fix our software decoders to reset (more of) their internal stateAndreas Huber2013-06-031-0/+3
| | | | | | | properly on a transition from idle->loaded. Change-Id: I56ccfeef24c391e50e42b522194206e35c7ab700 related-to-bug: 9105408
* Make sure the drain buffer is big enoughMarco Nelissen2013-04-161-3/+6
| | | | | | b/8614909 Change-Id: I9d973dcd74100b793791359c262b821207ff9ddd
* Merge "Better default AAC DRC setting" into jb-mr2-devJean-Michel Trivi2013-04-161-0/+3
|\
| * Better default AAC DRC settingJean-Michel Trivi2013-04-151-0/+3
| | | | | | | | | | | | | | | | By default, use boost and attenuation together. bug 7140036 Change-Id: Ie0565f9e5cd24f7a59b5a218b4e6186661832601
* | Fix AAC decoder reconfigurationMarco Nelissen2013-04-151-0/+6
|/ | | | | | | | The recent flush() changed made the codec behave differently after a reconfigure. Now we reset its state properly again. b/8543366 Change-Id: I8807b5ab02249b43fc1cf315d4e8d4ceb3f9b298
* Merge "Fix MediaCodec.flush()" into jb-mr2-devMarco Nelissen2013-04-122-55/+51
|\
| * Fix MediaCodec.flush()Marco Nelissen2013-04-122-55/+51
| | | | | | | | | | | | | | | | | | | | There were two problems here. One was that the skip/cut buffer wasn't cleared when it should be, and the second was that we were always sending the first buffer of encoded data to the AAC decoder twice. b/8543366 Change-Id: Ic040edabf16cccd1f6ef8c9e5c9cfbacbdd8a089
* | Add liblogYing Wang2013-04-091-1/+1
|/ | | | | Bug: 8580410 Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
* Make codecs reconfigurableMarco Nelissen2012-12-182-0/+6
| | | | Change-Id: I3dd46cb4401493becbf6152f4dcd5a8f1e9a0b44
* AAC DRC reference level for mobile is -16dBJean-Michel Trivi2012-10-191-1/+1
| | | | | | | | | Use -16dB as the default DRC reference level when decoding streams with DRC metadata. Bug 7370764 Change-Id: I900cee22f32384a5657fb041b69d42657bcddf09
* Bug 7170947 Configure AAC decoder for mobile DRC settingsJean-Michel Trivi2012-10-021-5/+37
| | | | | | | | | | | | Configure the AAC decoder to use the modile DRC settings when decoding streams with DRC metadata. Settings are: - target reference level of -12dB - DRC compression factor (attenuation) at max These settings can be overridden by platform properties if the default values are to be modified. Change-Id: If329fe566497685b735abe4e4b9a5e01697c063b
* Fix buffer size issue for multichannel HE-AACJean-Michel Trivi2012-09-091-1/+2
| | | | | | | Decoding of HE-AAC fails due to output buffer size being too small. Size output buffer size according to maximum number of channels. Change-Id: I6b10842cf7ba3da1f4b4075b1f7f5404bf76be41
* Fix AAC DRC metadata being ignoredJean-Michel Trivi2012-08-131-0/+5
| | | | | | | | | The decoder will bypass all DRC processing during decode unless any of the DRC parameters is set. The fix consists in setting the DRC reference level to its default value when after the decoder is initialized. Change-Id: Ibb8355ab8c3c65020c5eef0752957040f7316c2a
* Merge "Remove the no longer used PV software aac decoder." into jb-mr1-devAndreas Huber2012-08-07339-82369/+19
|\
| * Remove the no longer used PV software aac decoder.Andreas Huber2012-08-07339-82369/+19
| | | | | | | | Change-Id: Ia260f706780b66dc16a108aaa8780f68970380bd
* | Only emit padding at the end of the stream in the aac and mp3 decodersAndreas Huber2012-08-071-16/+36
|/ | | | | | if we actually discarded content at the beginning of the stream. Change-Id: I1e79835bb3a02350060a137b94f85f2c90f4a12b
* Revert input buffer count for the SoftAAC* decoders back to 4.Andreas Huber2012-06-202-2/+2
| | | | | | | | | | | | | | This improves the netflix bandwidth change responsiveness. With the old count of 32 the audio decoder running at a higher priority would starve the video decoder for about 1 sec while draining the input data. I haven't been able to break any stream playback using MediaCodec using the lower count, even though I'm sure I had a good reason to increase it in the first place (see bug 6478823) Change-Id: I7fd3e71794b0cc1570ea9d27d1d869ab1e1750c4 related-to-bug: 6685031
* Add NOTICE and MODULE_LICENSE_APACH2 to libs build under /frameworks/av/James Dong2012-06-132-0/+190
| | | | | Change-Id: I0a3af3e2abdedebd5934f3d941d01c32cfc75e26 related-to-bug: 6647465
* Update make fileDave Burke2012-06-121-2/+1
| | | | Change-Id: I7dbd128245f584df2689457df0dd12ce888cf8ef
* Only send port settings changed if the number of channels and sample rate ↵James Dong2012-05-301-6/+12
| | | | | | | are both known to be valid. Change-Id: I9f8813eedc95db202488d8860cf485bdb8e69e11 related-to-bug: 6553089
* Precautionary logging to identify a potential infinite loop.Dave Burke2012-05-291-0/+3
| | | | | Bug: 6571063 Change-Id: I433659c6da333d5acd25ad03cb7f4a6ab0b6a4a5
* Property to enable AAC 5.1 pass-through.Dave Burke2012-05-253-3/+18
| | | | | Bug: 6275957 Change-Id: I8debdce872fc8287a4f6340f1790e02c075886e3
* Revert "Revert to PV for AAC codec for FactoryROM."Dave Burke2012-05-211-2/+2
| | | | | | This reverts commit d7d79a2bbf38d1d19ec7cc8d6a514fc999b5c444. Change-Id: I7076feab31ab64fccd364699280d821011edc099
* Revert to PV for AAC codec for FactoryROM.Dave Burke2012-05-211-2/+2
| | | | Change-Id: I72cf856685c0c4bae745646f870a0415d416afb5
* Add more verbose ADTS error logging to SoftAAC.Andreas Huber2012-05-212-20/+46
| | | | | | | and fix the corresponding code in SoftAAC2. Change-Id: I6c745fb6e8e093708fdfe2861963b0a35fa7b912 related-to-bug: 6519161
* Instead of asserting on malformed ADTS headers or insufficient data,Andreas Huber2012-05-181-18/+43
| | | | | | | stop decoding and signal a runtime error. Change-Id: Ib66a17a2908273f65a92999951439cc6f0752164 related-to-bug: 6519161
* Don't reconfigure stream after outputing data.Dave Burke2012-05-181-17/+40
| | | | | | | Handle invalid configuration. Bug: 6519161 Change-Id: Ib2d38bee769e63e627c93d7f3839c3a55de694e9
* Robustness - use defaults if we see bogus sample rate / channels from decoder.Dave Burke2012-05-171-5/+6
| | | | | Bug: 6498711 Change-Id: I6950d316a292cfd0cb516ee6d95b6af071b08fdc
* Handle stream changes at any point in the stream.Dave Burke2012-05-172-34/+15
| | | | | | | Also, handle discontinuity properly (was using wrong flag before). Bug: 6498711 Change-Id: I18a6684f7dc96aa04b1e8113b54ec1053895ca98
* Clear the decoder input buffer after it signalled an error to be able to ↵Andreas Huber2012-05-171-1/+3
| | | | | | | continue. Change-Id: I06d43723dea7688d63cfb05e7fc7754672788562 related-to-bug: 6419102
* Add informational logging to track 0 channel issue.Dave Burke2012-05-171-3/+3
| | | | | | Bug #: 6498711 Change-Id: I952777923569511a171fe8b79eab579625eda073
* Add logging for invalid channel count or sample rate.Dave Burke2012-05-151-0/+3
| | | | Change-Id: I2e2145e4b258923cf6c2907106345b7172c12280
* Remove ASC workaround (now fixed in Franhofer library).Dave Burke2012-05-121-9/+0
| | | | Change-Id: Ia0ce8155def9f6dea85da7f88942ac1b11c16823
* Increase AAC software decoder's buffer count. Refactor how clientsAndreas Huber2012-05-114-6/+8
| | | | | | | of ACodec get notified about codec buffers and buffer ids. Change-Id: I962f873262dae7aa7b43f5f68a6d60268282f91e related-to-bug: 6478823
* Make decoder more robust to inaccurate ASCs.Dave Burke2012-05-101-0/+9
| | | | | | Bug: 6408518 Bug: 6463794 Change-Id: Ice4ae327bc53e9d826adce572a2706e045eacd62
* Added support for HE-AAC recordingDave Burke2012-04-301-20/+30
| | | | | | | | | Fixed bug in decoder related to sample rates / channel counts Made decoder follow Fraunhofer pattern Log if bitrate not available Bug: 6275957 Change-Id: I47a8e29358fa4a88ebc73fe02d46a2bfb96c64fe
* Account for new AAC decoder's delayMarco Nelissen2012-04-262-1/+19
| | | | | | | | This drops the first block of decoded samples, and flushes the decoder at the end of the stream to get the last bit of valid data. b/774846 Change-Id: I1ae61b3e0619444441d160f33903eb61f57c6d31
* Handle reconfiguration properly.Dave Burke2012-04-251-1/+1
| | | | | | Bug 6388957. Change-Id: I61a86ed6fdad99497535249acda5e4a325911918
* Make sure we restore our input buffer to its original state if we want to ↵Andreas Huber2012-04-202-10/+26
| | | | | | revisit it. Change-Id: Iab62562c4dea13520751c37c9448c0b19c82d739
* Revert "Temporary revert of new AAC codec to fix build"Dave Burke2012-04-191-1/+1
| | | | This reverts commit f356cc9c9995ba292bf116f1cb28a6caa1b65fd2.
* Temporary revert of new AAC codec to fix buildDave Burke2012-04-191-1/+1
| | | | Change-Id: I5c7f0360883fc68e313d10b1aa5dac1463fae7fb
* Make AAC 5.1 workDave Burke2012-04-173-32/+18
| | | | | | Fix bug with pausing audio Change-Id: Icd6b095dac8d1a68b027de853d11ae02cc070b10
* Add support for a new AAC decoder library.Dave Burke2012-04-023-172/+770
| | | | Change-Id: I867bf95f7c20503e55b38d0087ac027647834f37
* AV Android make files changesJames Dong2012-03-281-2/+2
| | | | | | | o plus a few file relocation: ActivityManager.cpp/h, SoundPool.h, etc o remove some runtime dependencies to libandroid, libandroid_runtime, etc Change-Id: I047a47c5fb361dd5cf85cd98798c39f629a75d10
* Provisional support for secure decryption of media streams.Andreas Huber2012-03-262-3/+47
| | | | Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe