summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/amrnb
Commit message (Collapse)AuthorAgeFilesLines
* AMRNB: use Frame_Type_3GPP defined in frame_type_3gpp.h instead.Chia-chi Yeh2010-09-293-55/+19
| | | | | | | 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-212-2/+4
| | | | | | 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
* For issue #2651381, allow library prelinking.Dan Bornstein2010-05-051-2/+0
| | | | Change-Id: I119348b55ad0015a286e9c94709977cd1973a7e1
* Update AMR codec.Dave Sparks2010-04-011-1/+1
| | | | Change-Id: I8ecd2712863f6962b762f26898002912d1c77afb
* Properly fill in the component name for the software decoders.Andreas Huber2010-03-302-0/+4
| | | | | Change-Id: I92071481f7ed94922b10856c981e507a9eec4c0c related-to-bug: 2557787
* Report a runtime error rather than asserting if the amr software decoder ↵Andreas Huber2010-03-181-1/+9
| | | | | | reads more data than it was given(!) Change-Id: I0a7ad65051a6663a583ea82da5fc75227dcdbbfa
* Initial checkin of software AMR NB encoder based on PV source code.Andreas Huber2009-12-11110-0/+39504
|
* Propagate duration from input to output only if available, support multiple ↵Andreas Huber2009-12-111-7/+14
| | | | full frames of audio per input buffer in AMR/AAC decoders.
* Initial checkin of software AVC video decoder based on PV source code.Andreas Huber2009-12-102-5/+3
|
* Initial check in of AMR (NB and WB) decoders based on PV source code.Andreas Huber2009-12-10223-0/+58025