summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/amrnb/enc
Commit message (Collapse)AuthorAgeFilesLines
* DO NOT MERGE Verify OMX buffer sizes prior to accessMarco Nelissen2016-04-211-0/+28
| | | | | Bug: 27207275 Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
* Fix build with clang in C++11 modeBernhard Rosenkränzer2014-11-2712-36/+36
| | | | | | | | | 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-251-1/+1
| | | | | | | For build-system CFLAGS clean-up, remove unused functions and variables. Change-Id: Ic3dee56b589ea9a693efa1d72ba394036efff168
* warnings be gone.Andreas Huber2014-02-112-1/+5
| | | | Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
* Add liblogYing Wang2013-04-091-1/+1
| | | | | Bug: 8580410 Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
* Fix a number of warnings in stagefright code.Andreas Huber2013-04-041-1/+1
| | | | Change-Id: If3edd00d991851797aeccdfe795a4a405e3a2ea3
* Merge "stagefright amrnb: Remove unused leftover source files"Jean-Baptiste Queru2012-08-161-2/+1
|\
| * stagefright amrnb: Remove unused leftover source filesMartin Storsjo2012-07-101-2/+1
| | | | | | | | | | | | | | | | 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
* | 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
* 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
* 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
* 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-121-1/+1
| | | | | | | | 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-274-6/+10
|\ \ | |/ | | | | | | | | | | | | | | 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-244-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-244-0/+4
| | | | | | | | | | | | | | | | This was committed on the master branch of the opencore repository in commit da3d0463c999871ee584a0d750be65be65d19b00, based on AOSP contribution 10302. Change-Id: I4ad5526634efecc2d2bb3d2169184b8d4d4d7671
* | am 78fc0c0b: am 428ece23: am c4aa19a5: am ea227787: Merge changes ↵Jean-Baptiste Queru2012-02-241-2/+2
|\ \ | |/ | | | | | | | | | | | | 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-241-2/+2
| |\ | | | | | | | | | | | | | | | * 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
| * | Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)Steve Block2012-01-191-1/+1
| | | | | | | | | | | | Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924
| * | Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)Steve Block2012-01-191-2/+2
| | | | | | | | | | | | Change-Id: I8fbdfa7a7581f481968dbb65aa40f7042936d7cb
* | | Move away from MediaDebug and use ADebug insteadJames Dong2012-02-101-2/+2
| | | | | | | | | | | | Change-Id: I963a3b6f79a7292891973cbeeaf3378b38629f08
* | | The software AMR NB encoder is now an OMX component.Andreas Huber2012-02-013-0/+503
| | | | | | | | | | | | Change-Id: I890eab052a7c36409b8b694c964884e28dd8d8fc
* | | Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* | | Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block2012-01-061-2/+2
|/ / | | | | | | | | | | | | See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
* | Report call status from AudioSource::start() to file writerJames Dong2011-10-261-1/+5
|/ | | | | Change-Id: I5109dc87a92170dede4eaa58b039efe6d8b7c330 related-to-bug: 5514288
* AMRNB: use Frame_Type_3GPP defined in frame_type_3gpp.h instead.Chia-chi Yeh2010-09-291-20/+1
| | | | | | | This allows gsmamr_enc.h and gsmamr_dec.h to be included in the same file without conflict definition. Change-Id: I1c8dac235c122735ba14a1af2fda48c0f8d9f87b
* HW audio encoder expects timestamp via kKeyTime from each input bufferJames Dong2010-09-081-1/+1
| | | | | | - This fixes media server crashes on droid Change-Id: I7191cadc5275107425ec3ee3d437b2c5295858dc
* Not all audio source has the drift time informationJames Dong2010-09-031-4/+5
| | | | Change-Id: I74e502376348ca4a6ffaa7492bed35c1355e7e62
* Calculate audio media drift time from AudioSourceJames Dong2010-09-011-2/+14
| | | | | | | | | | | | | | | | | | | The problem was that the time to receive an output buffer from an audio encoder is different because the encoder does not need to read from the source for all output buffers. This leads to large fluctuation in terms of wall clock duration between two neighboring audio sample outputs from the audio encoder. As a result, the media time for the video track after adjustment using the drifting changes wildly sometimes. This patch addresses this issue by only updating the media drift time when an audio source input buffer is read. the wall clock for the audio track is also calculated at the same time when the input audio buffer is read at AudioSource. bug - 2959800 Change-Id: I3174aa182f744784b540f0a7198524d4eee8bd7b
* Support finer seek control on MediaSources.Andreas Huber2010-07-211-1/+2
| | | | | | related-to-bug: 2858448 Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1
* Added encoding parameters set up for H263 video encoderJames Dong2010-06-291-2/+8
| | | | | | | | Also: - Allowed start() call when encoder already starts and stop() call when encoder has not started yet - Handled default value for audio/video sources/encoders and file output format Change-Id: I03b2f7d3cf570baa0fd011a8c0ad200f2f2a5da1
* Audio/video sync during recording (second part)James Dong2010-06-211-1/+1
| | | | Change-Id: Iba0b35f57fdeac7ee1da16899406bf4b957a2c8c
* Initial software encoder checkinsJames Dong2010-05-191-17/+6
| | | | Change-Id: I27f387db23594e46384c4eb3a0093ce220bb6b60
* Properly fill in the component name for the software decoders.Andreas Huber2010-03-301-0/+2
| | | | | Change-Id: I92071481f7ed94922b10856c981e507a9eec4c0c related-to-bug: 2557787
* Initial checkin of software AMR NB encoder based on PV source code.Andreas Huber2009-12-11110-0/+39504