summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue 2285561: New AudioFlinger and audio driver API needed for A/V syncEric Laurent2010-01-264-1/+62
| | | | | | | | | | | | Added getRenderPosition() API to IAudioFlinger to retreive number of audio frames written by AudioFlinger to audio HAL and by DSP to DAC. Added getRenderPosition() API to AudioHardwareInterface to retreive number of audio frames written by DSP to DAC. Exposed AudioTrack::getPosition() to AudioSink() to make it available to media player. Removed excessive log in AudioHardwareGeneric.
* Support for audio recording into AMR NB/WB files as well as audio tracks in ↵Andreas Huber2010-01-264-7/+119
| | | | | | MPEG4 files. related-to-bug: 2295449
* Merge "Fix issue 2378022: AudioService should direct volume control to ↵Eric Laurent2010-01-252-7/+9
|\ | | | | | | STREAM_VOICE_CALL stream when STREAM_VOICE_CALL stream is active."
| * Fix issue 2378022: AudioService should direct volume control to ↵Eric Laurent2010-01-252-7/+9
| | | | | | | | | | | | | | | | | | STREAM_VOICE_CALL stream when STREAM_VOICE_CALL stream is active. Modified AudioService.getActiveStreamType() so that STREAM_VOICE_CALL is selected when a track using this stream type is playing. Chanded isMusicActive() for a more generic isStreamActive(stream) method in AudioSystem, IAudioFlinger and AudioFlinger.
* | Merge "Initial checkin of AudioSource and AMRWriter, a pair of classes ↵Andreas Huber2010-01-253-0/+308
|\ \ | |/ |/| | | supporting pure-audio recording in stagefright."
| * Initial checkin of AudioSource and AMRWriter, a pair of classes supporting ↵Andreas Huber2010-01-253-0/+308
| | | | | | | | | | | | pure-audio recording in stagefright. related-to-bug: 2295449
* | Merge "Fix issue 2363154: Speech synthesis fails to start over A2DP after ↵Eric Laurent2010-01-251-0/+3
|\ \ | |/ |/| | | media server process crash."
| * Fix issue 2363154: Speech synthesis fails to start over A2DP after media ↵Eric Laurent2010-01-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | server process crash. The problem is that after a media_server crash, the value of the A2DP output handle can change. As this value is cached in AudioSystem for all client processes there can be a mismatch between the cached and actual value after a media_server restart. The fix consists in clearing the cached output handles and output to stream map values cached in AudioSystem in AudioFlingerClient::binderDied() which is called when the media_server crashes.
* | The qcom OMX video decoders do not allocate output buffer memory at the time ↵Andreas Huber2010-01-254-5/+31
|/ | | | OMX_AllocateBuffer is called, wait until we received the first FILL_BUFFER_DONE notification until we rely on the buffer data ptr.
* Merge "Make sure to release the renderer before shutting down the hardware ↵Andreas Huber2010-01-221-2/+2
|\ | | | | | | codec, qcom's hardware decoder will otherwise crash."
| * Make sure to release the renderer before shutting down the hardware codec, ↵Andreas Huber2010-01-221-2/+2
| | | | | | | | | | | | qcom's hardware decoder will otherwise crash. related-to-bug: 2387981
* | Add an orientation parameter for overlay, so we can do camera preview in ↵Chih-Chung Chang2010-01-211-1/+1
|/ | | | portrait mode.
* Merge "Fix circular dependency between StagefrightPlayer and AwesomePlayer ↵Andreas Huber2010-01-212-13/+18
|\ | | | | | | that prevented proper cleanup."
| * Fix circular dependency between StagefrightPlayer and AwesomePlayer that ↵Andreas Huber2010-01-212-13/+18
| | | | | | | | | | | | prevented proper cleanup. related-to-bug: 2355922
* | Special-case .wmv and .wma metadata retrieval and playback to use PV if ↵Andreas Huber2010-01-211-0/+13
|/ | | | | | available. related-to-bug: 2381874
* Fix no-copy-overhead OMXCodec implementation to actually work.Andreas Huber2010-01-206-22/+50
|
* Merge "Adds support for 8-bit (unsigned) PCM wave files."Andreas Huber2010-01-202-31/+71
|\
| * Adds support for 8-bit (unsigned) PCM wave files.Andreas Huber2010-01-202-31/+71
| | | | | | | | related-to-bug: 2382428
* | Support for 'iTunes-style' metadata in .mp4 and .3gp files.Andreas Huber2010-01-203-13/+238
|/ | | | related-to-bug: 2368967
* Fix trailing garbage after UCS-2 encoded strings in ID3 V2.Andreas Huber2010-01-191-1/+2
| | | | related-to-bug: 2381919
* Support for ID3 version 1 (and 1.1) tags in .mp3 files.Andreas Huber2010-01-193-12/+159
| | | | related-to-bug: 2375219
* Merge "Avoid unnecessary buffer copying if at all possible, detect if ↵Andreas Huber2010-01-194-7/+42
|\ | | | | | | running in the mediaserver process."
| * Avoid unnecessary buffer copying if at all possible, detect if running in ↵Andreas Huber2010-01-194-7/+42
| | | | | | | | the mediaserver process.
* | Merge "Media server death nodification"James Dong2010-01-194-95/+129
|\ \ | |/ |/|
| * Media server death nodificationJames Dong2010-01-154-95/+129
| |
* | Merge "Squashed commit of the following:"Andreas Huber2010-01-196-267/+499
|\ \
| * | Squashed commit of the following:Andreas Huber2010-01-196-267/+499
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | commit 6689350d7e4dad6d873c1ed95f0a356e3bfd79d1 Author: Andreas Huber <andih@google.com> Date: Tue Jan 19 09:23:02 2010 -0800 Some tweaks to the SampleIterator. commit 5638bff6d31442a219806445c3106d47b081fcab Author: Andreas Huber <andih@google.com> Date: Fri Jan 15 14:46:29 2010 -0800 A much improved implementation of MPEG4 sample table operations through an iterator.
* | Merge "Remove totally unused code from OMX.cpp"Andreas Huber2010-01-191-44/+0
|\ \
| * | Remove totally unused code from OMX.cppAndreas Huber2010-01-191-44/+0
| |/
* | Merge "Make sure the seek test attempts to seek on the very first iteration, ↵Andreas Huber2010-01-191-2/+2
|\ \ | |/ |/| | | as this appears to be a special case that decoders frequently get wrong."
| * Make sure the seek test attempts to seek on the very first iteration, as ↵Andreas Huber2010-01-141-2/+2
| | | | | | | | this appears to be a special case that decoders frequently get wrong.
* | Merge "Squashed commit of the following:"Andreas Huber2010-01-141-41/+71
|\ \
| * | Squashed commit of the following:Andreas Huber2010-01-141-41/+71
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | commit cb11364feefc200f10af6a01f776803acba2792a Author: Andreas Huber <andih@google.com> Date: Thu Jan 14 14:05:36 2010 -0800 Even if the decoder didn't extract the thumbnail at the specified time, accept it for now. commit a54c0244b305caf11e67db49b7d3d8dba5f77751 Author: Andreas Huber <andih@google.com> Date: Thu Jan 14 11:37:15 2010 -0800 Add some checks to make sure we extract the correct thumbnail frame, also revert to the hardware decoders for thumnbail extraction if the software decoders failed.
* | Merge "Fix a few issues with determining the closest sample to a given time ↵Andreas Huber2010-01-141-5/+19
|\ \ | | | | | | | | | in the MPEG4 sampletable implementation."
| * | Fix a few issues with determining the closest sample to a given time in the ↵Andreas Huber2010-01-141-5/+19
| |/ | | | | | | MPEG4 sampletable implementation.
* | Merge "Squashed commit of the following:"Andreas Huber2010-01-141-2/+15
|\ \
| * | Squashed commit of the following:Andreas Huber2010-01-141-2/+15
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | commit 0014ab17f2e0986044327a5ab22159de50b81e0a Author: Andreas Huber <andih@google.com> Date: Thu Jan 14 14:05:09 2010 -0800 Another instance of returning an error instead of asserting makes sense. commit d2cac8c498a65b449a25ec216601830d23c165e7 Author: Andreas Huber <andih@google.com> Date: Thu Jan 14 13:34:33 2010 -0800 Instead of asserting on invalid data (incomplete NAL unit), return an error.
* | Workaround for some hardware decoders not properly signaling ↵Andreas Huber2010-01-141-0/+17
|/ | | | end-of-output-stream properly.
* Support for determining the mime type of media via metadata extraction.Andreas Huber2010-01-139-4/+66
|
* More metadata support.Andreas Huber2010-01-132-3/+14
|
* Merge "Properly respect NALLengthSize in the AVC Configuration header to ↵Andreas Huber2010-01-121-12/+51
|\ | | | | | | determine how many bits encode the nal unit size."
| * Properly respect NALLengthSize in the AVC Configuration header to determine ↵Andreas Huber2010-01-121-12/+51
| | | | | | | | | | | | how many bits encode the nal unit size. related-to-bug: 2363596
* | Merge "b/2353646 Fix music visualizations to also work with audiotrack ↵Marco Nelissen2010-01-122-69/+59
|\ \ | |/ |/| | | callbacks, which stagefright uses. This slightly changes the way the data is stored, since before we were relying on the buffers being written always being at least 4K, whereas the callbacks are generally for smaller amounts of data. Now we append all the data to a big circular buffer, then return chunks of that buffer for visualization. When there are multiple things playing at the same time, this will give the wrong result, but (1) that was the case before as well, and (2) will be fixed once we start visualizing the mixer output instead of the mixer inputs."
| * b/2353646Marco Nelissen2010-01-122-69/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix music visualizations to also work with audiotrack callbacks, which stagefright uses. This slightly changes the way the data is stored, since before we were relying on the buffers being written always being at least 4K, whereas the callbacks are generally for smaller amounts of data. Now we append all the data to a big circular buffer, then return chunks of that buffer for visualization. When there are multiple things playing at the same time, this will give the wrong result, but (1) that was the case before as well, and (2) will be fixed once we start visualizing the mixer output instead of the mixer inputs.
* | Make sure to release the buffer we're not using in case of an error.Andreas Huber2010-01-121-0/+3
|/ | | | related-to-bug: 2366606
* Squashed commit of the following:Andreas Huber2010-01-1215-63/+1178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | commit f81bb1dac5ef107bb0d7d5d756fb1ffa532ba2cc Author: Andreas Huber <andih@google.com> Date: Mon Jan 11 14:55:56 2010 -0800 Support for duration metadata, midi and ogg-vorbis files (in mediascanner) commit 0b1385a0dc156ce27985a1ff757c4c142fd7ec39 Author: Andreas Huber <andih@google.com> Date: Mon Jan 11 14:20:45 2010 -0800 Refactor meta data logic. Container specific metadata is now also returned by the MediaExtractor. commit f9818dfac39c96e5fefe8c8295e60580692d5990 Author: Andreas Huber <andih@google.com> Date: Fri Jan 8 14:26:09 2010 -0800 A first pass at supporting metadata through ID3 tags. commit 476e9e253633336ab790f943e2d6c0cd8991d76a Author: Andreas Huber <andih@google.com> Date: Thu Jan 7 15:48:44 2010 -0800 Initial checkin of ID3 (V2.2 and V2.3) parser for use in stagefright. related-to-bug: 2295456
* Merge "The mp3 decoder should not assert that decoding was successful but ↵Andreas Huber2010-01-111-1/+6
|\ | | | | | | return an error instead."
| * The mp3 decoder should not assert that decoding was successful but return an ↵Andreas Huber2010-01-111-1/+6
| | | | | | | | error instead.
* | Fix an uninitialized read detected by valgrind. The array to be copied is ↵Andreas Huber2010-01-111-1/+1
|/ | | | | | statically sized and not a c-string. related-to-bug: 2366619
* Reorganize some of the stagefright implementation related to metadata.Andreas Huber2010-01-088-88/+83
|