summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/amrnb
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-6.0.1_r46' into HEADJessica Wagantall2016-06-072-0/+48
|\ | | | | | | | | | | Android 6.0.1 release 46 Change-Id: I4fcabf5775aebd2cb8dc0e352d1b1460d3214573
| * DO NOT MERGE Verify OMX buffer sizes prior to accessMarco Nelissen2016-04-212-0/+48
| | | | | | | | | | Bug: 27207275 Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
* | Merge tag 'android-6.0.1_r43' into HEADJessica Wagantall2016-05-033-18/+39
|\ \ | |/ | | | | | | | | | | Ticket: CYNGNOS-2373 Android 6.0.1 release 43 (MOB30J) Change-Id: Ie0ab546349bd8a7eed51c839fba28b809e433fd4
| * Fix AMR decoderMarco Nelissen2016-03-251-7/+7
| | | | | | | | | | | | | | | | Previous change caused EOS to be ignored. Bug: 27843673 Related-to-bug: 27662364 Change-Id: Ia148a88abc861a9b393f42bc7cd63d8d3ae349bc
| * SoftAMR: check input buffer size to avoid overflow.Wei Jia2016-03-253-15/+25
| | | | | | | | | | Bug: 27662364 Change-Id: I47380545ea7d85845e141e722b0d84f498d27145
| * SoftAMR: check output buffer size to avoid overflow.Wei Jia2016-03-251-0/+18
| | | | | | | | | | Bug: 27662364 Change-Id: I7b26892c41d6f2e690e77478ab855c2fed1ff6b0
* | stagefright: Fix CLANG compilation for AMR decoderLeena Winterrowd2016-04-131-1/+1
| | | | | | | | | | | | Fix invalid type in error log's format string. Change-Id: I26aabfcdc1a03c0a7d9cd10fb3b39a660a9be03a
* | Stagefright: Remove unused variables and filesAndreas Gampe2016-03-224-493/+0
| | | | | | | | | | | | | | | | | | | | For build-system CFLAGS clean-up. Bug: 18632512 (cherry picked from commit 765b4172f1ffb2c4e2de89163bb888fa352de664) Change-Id: I765dc394f39f60801843851760fdf9838958d7a4
* | Merge tag 'android-6.0.0_r26' into cm-13.0Ricardo Cerqueira2015-11-052-2/+5
|\ \ | |/ | | | | | | | | Android 6.0.0 release 26 Change-Id: I8a57007bf6efcd8b95c3cebf5e0444345bdd4cda
| * libstagefright: fix A_Refl to return immediately when there is an error.Wei Jia2015-09-042-2/+5
| | | | | | | | | | Bug: 23609206 Change-Id: I2ad25fb208df17f5a5b6d6b356eff2f400627f22
* | Opt out of clang till issues are fixedAravind Asam2015-10-091-0/+1
| | | | | | | | | | | | Needed for moving to clang Change-Id: I984ce0d452bcd9025d743c0f081bb0d22587b106
* | stagefright: Remove assert for corrupt clips for AMRNBMingming Yin2015-10-061-1/+8
|/ | | | | | | | | | | Corrupt AMR NB clips were crashing media player This was due to the assert in the AMRNB decoder. To avoid this, post error and exit if corrupt clip is played. CRs-Fixed: 486681 Change-Id: I4c27a95978015e5493799ca23a3598559ad8bd9d
* libstagefright: Reset AMR decoder on input port flushChaithanya Krishna Bacharaju2015-05-281-1/+9
| | | | | | | | | Fix issue of noise being observed when seeking AMR clip because the AMR decoder states were not reset. Reset decoder state on input port flush, as that is the best indication of a seek. Change-Id: Ic71a014f9a87ebfe5b8520d44420716f7099f5e7
* Add missing includes.Elliott Hughes2015-01-281-0/+1
| | | | Change-Id: Ib697ce44243e7cb07aee60944238e0854d82e9de
* Fix build with clang in C++11 modeBernhard Rosenkränzer2014-11-2731-87/+87
| | | | | | | | | This removes the deprecated register keyword in many places, fixes one instance of passing '\0' where a char* is expected, and 2 switch type narrowing issues. Change-Id: Ie265ac26ff6a61267ad6406dfe237226d97ca9ac Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* Stagefright: Fix unused variables, functions, valuesAndreas Gampe2014-11-253-3/+3
| | | | | | | For build-system CFLAGS clean-up, remove unused functions and variables. Change-Id: Ic3dee56b589ea9a693efa1d72ba394036efff168
* Remove the executable bit from source filesMartin Storsjo2014-11-071-0/+0
| | | | Change-Id: I3c105b7e2736ade22de0bb12f396859816b3adf7
* am 951c2197: am 2b16391d: Merge "Add test for AMR-NB decoder"Glenn Kasten2014-09-112-0/+170
|\ | | | | | | | | * commit '951c2197cc0cf1d7a91388299b74eb12ee04a3e6': Add test for AMR-NB decoder
| * Add test for AMR-NB decoderAshok Bhat2014-06-162-0/+170
| | | | | | | | | | | | | | | | | | | | | | The test accepts a .amr file as input and dumps output PCM in a wav file. To run the test, use following command libstagefright_amrnbdec_test <input amr> <output wav> Change-Id: I2492c2ed4e670c9fd8cb4213201ccbd0cb9bf8fe Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
| * warnings be gone.Andreas Huber2014-04-112-3/+3
| | | | | | | | | | | | | | | | (cherry picked from commit 84333e0475bc911adc16417f4ca327c975cf6c36) Modified by Mark Salyzyn <salyzyn@google.com> to keep merge conflicts or errors downstream to a minimum. Change-Id: Ic3b272f9cbf3155001aabd2f79728f1bc31de613
* | warnings be gone.Andreas Huber2014-02-115-3/+13
|/ | | | Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
* Fix our software decoders to reset (more of) their internal stateAndreas Huber2013-06-032-0/+6
| | | | | | | properly on a transition from idle->loaded. Change-Id: I56ccfeef24c391e50e42b522194206e35c7ab700 related-to-bug: 9105408
* Add liblogYing Wang2013-04-092-2/+2
| | | | | Bug: 8580410 Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
* Fix a number of warnings in stagefright code.Andreas Huber2013-04-041-1/+1
| | | | Change-Id: If3edd00d991851797aeccdfe795a4a405e3a2ea3
* SoftAMR: Signal the right frame formatMartin Storsjo2013-02-171-1/+1
| | | | | | | | | | | The correct enum for the format used is OMX_AUDIO_AMRFrameFormatFSF, which is the same as is used in amrnb/enc/SoftAMRNBEncoder.cpp, amrwbenc/SoftAMRWBEncoder.cpp and in OMXCodec and ACodec. The OMX_AUDIO_AMRFrameFormatConformance enum refers to an odd file format only used for conformance tests, not used in the wild. Change-Id: Idc395fc1d4969e33453522d6ec6526876438c526
* Merge "stagefright amrnb: Remove unused leftover source files"Jean-Baptiste Queru2012-08-166-416/+2
|\
| * stagefright amrnb: Remove unused leftover source filesMartin Storsjo2012-07-106-416/+2
| | | | | | | | | | | | | | | | This allows getting rid of adding the plain common directory (not common/include) to the include paths in projects that use this code, too. Change-Id: Ifb1fe4fc1f5c6f1264cb2b64f7b78e42b1e7833a
* | Merge "stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h"Jean-Baptiste Queru2012-08-164-36/+28
|\ \ | |/
| * stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.hMartin Storsjo2012-07-104-36/+28
| | | | | | | | Change-Id: I6d6f9dc5799750394a853325466ffa2ebec44625
* | Merge "amrnb: Restart the p_xn pointer when retraversing the array on overflow"Jean-Baptiste Queru2012-08-131-1/+2
|\ \
| * | amrnb: Restart the p_xn pointer when retraversing the array on overflowMartin Storsjo2012-07-101-1/+2
| |/ | | | | | | | | | | | | | | | | | | This is a safeguard to avoid issues in a rare codepath. This was committed on the master branch of the opencore repository in commit f532d145194e474cb30d8644b8eee83873ad24cc, based on AOSP contribution 10905. Change-Id: I9688b009bcbe63d88ee5040e883a021aefa30664
* | amrnb: Fix audio distortion in an AMR-NB clipPacketVideo CM2012-07-101-1/+1
|/ | | | | | | | | | This fix had the PacketVideo internal tracking number RIO-9190. This was committed on the master branch of the opencore repository in commit 7d6ccc907d3a15ca2ff74b9c76f122ab87d0ffbe. Change-Id: Icbd7d6fe94e02cae360946cfb6f3b8dc90c8b518
* Add NOTICE and MODULE_LICENSE_APACH2 to libs build under /frameworks/av/James Dong2012-06-136-0/+570
| | | | | Change-Id: I0a3af3e2abdedebd5934f3d941d01c32cfc75e26 related-to-bug: 6647465
* Add "support" for AMR WB comfort noise, no data and speech lost frame typesAndreas Huber2012-05-101-21/+42
| | | | | | | by emitting silence. Change-Id: I27b7f31051f0c9a14adde866305bbc91a827a00c related-to-bug: 6478154
* AV Android make files changesJames Dong2012-03-282-5/+5
| | | | | | | 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
* Merge "ACodec is a little more aggressive in its error checking now."Andreas Huber2012-03-161-0/+12
|\
| * ACodec is a little more aggressive in its error checking now.Andreas Huber2012-03-161-0/+12
| | | | | | | | | | | | Update components to do the right thing. Change-Id: Ibfbad3f53effc16368cca4a0e978d01d54d08a1d
* | Remove obsolete software codec header files and amr encoders.Andreas Huber2012-03-162-250/+0
|/ | | | Change-Id: Ifbdf252ee312c9cb5ab29498f1e06dae8f23faf7
* Switched to use the header files in /frameworks/nativeJames Dong2012-03-122-4/+4
| | | | | | | | and deleted the duplicate header files in /frameworks/base o related-to-bug: 6044887 Change-Id: I17e0692d9a9b5c8796ded36677c833ca8ab36795
* am 254cf597: am 7b6b81f8: am f016dc1b: am f881fa51: Merge "stagefright amr: ↵Jean-Baptiste Queru2012-02-281-1/+2
|\ | | | | | | | | | | | | Avoid C++/C99 for loops with variable declaration" * commit '254cf5973ebe5ebdce9ef261d826e88ed2f67f58': stagefright amr: Avoid C++/C99 for loops with variable declaration
| * stagefright amr: Avoid C++/C99 for loops with variable declarationMartin Storsjo2012-02-271-1/+2
| | | | | | | | | | | | This makes the code compileable in C89 mode, too. Change-Id: I9b76f8bfca148d1aec6081b8db139f351d64cfed
* | am b205a5d8: am 50ee92e9: am d91b744d: am f7f1280e: Merge changes ↵Jean-Baptiste Queru2012-02-2729-67/+93
|\ \ | |/ | | | | | | | | | | | | | | Ib4e27ea3,I4ad55266,Ie32b32c7 * commit 'b205a5d861c5ba31599084a42c7d92549f464dac': stagefright amrnb: Remove extern from table definitions stagefright amrnb: Add includes for prototype declarations of tables stagefright amrnb: Add missing const qualifier to table declarations in headers
| * stagefright amrnb: Remove extern from table definitionsMartin Storsjo2012-02-2424-62/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Local prototype declarations are added where no suitable ones are available in headers. This fixes warnings when compiling as C - while the source files are named .cpp, they actually are compileable as pure C. This was committed on the master branch of the opencore repository in commit a0acb494ea6682ca966b5ebbd3676c89c56d63a6, based on AOSP contribution 10303. Change-Id: Ib4e27ea30302c66e0233e63e5a4652f6339bc940
| * stagefright amrnb: Add includes for prototype declarations of tablesMartin Storsjo2012-02-2415-0/+15
| | | | | | | | | | | | | | | | This was committed on the master branch of the opencore repository in commit da3d0463c999871ee584a0d750be65be65d19b00, based on AOSP contribution 10302. Change-Id: I4ad5526634efecc2d2bb3d2169184b8d4d4d7671
| * stagefright amrnb: Add missing const qualifier to table declarations in headersMartin Storsjo2012-02-245-5/+5
| | | | | | | | | | | | | | | | This was committed on the master branch of the opencore repository in commit 5ce7a6fdf125116ffce2e692e14eafef1c807628, based on AOSP contribution 10301. Change-Id: Ie32b32c7407f449e382c0b4fd2d60a664e0daa33
* | am 78fc0c0b: am 428ece23: am c4aa19a5: am ea227787: Merge changes ↵Jean-Baptiste Queru2012-02-242-3/+3
|\ \ | |/ | | | | | | | | | | | | I903353c5,I822dcc74 * commit '78fc0c0bfae913a4a44011225396ae525b335fb1': stagefright amrnb: Properly negate all values stagefright amrnb: Fix a bug on architectures where long is 64 bit
| * Merge changes I903353c5,I822dcc74Jean-Baptiste Queru2012-02-242-3/+3
| |\ | | | | | | | | | | | | | | | * changes: stagefright amrnb: Properly negate all values stagefright amrnb: Fix a bug on architectures where long is 64 bit
| | * stagefright amrnb: Properly negate all valuesMartin Storsjo2011-05-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initially, input values -32768 weren't negated properly. This was committed on the master branch of the opencore repository in commit f532d145194e474cb30d8644b8eee83873ad24cc, based on AOSP contribution 10906. Change-Id: I903353c5539a8fe94b7fc5f26b95eaeac57df5f4
| | * stagefright amrnb: Fix a bug on architectures where long is 64 bitMartin Storsjo2011-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initially, this code gave a warning "comparison is always false due to limited range of data type" if long was 64 bit. Additionally, the output from the AMR encoder was mostly noise. This was committed on the master branch of the opencore repository in commit f532d145194e474cb30d8644b8eee83873ad24cc, based on AOSP contribution 10904. Change-Id: I822dcc74beeae548d3032ffda759de9c8cd1fcfe
| * | Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)Steve Block2012-01-192-2/+2
| | | | | | | | | | | | Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924