summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove stagefright foundation's incompatible logging interface and update ↵Andreas Huber2010-09-2122-472/+310
| | | | | | callsites. Change-Id: I45fba7d60530ea0f233ac3695a97306b6dc1795c
* Merge "Another attempt for fixing AAC+/eAAC+ related issue" into gingerbreadJames Dong2010-09-212-12/+59
|\
| * Another attempt for fixing AAC+/eAAC+ related issueJames Dong2010-09-202-12/+59
| | | | | | | | | | | | | | | | | | The decoder has to decode the very first two frames (decoder specific data + first data frame) in order to be really sure whether a stream is AAC or AAC+/eAAC+. bug - 2966336 Change-Id: Ib12a07285933df0d6c346370a12f70e99e811881
* | Rename FOCUS_MODE_CONTINUOUS to FOCUS_MODE_CONTINUOUS_VIDEO.Wu-cheng Li2010-09-212-7/+9
|/ | | | | | | | | | This constant is not public yet. Continuous autofocus should behave differently in still camera and camcorder. In camcorder, lens movement may be more smooth. And the triggers to start a new focus search may be different. If there is a need, FOCUS_MODE_CONTINUOUS_PHOTO can be added in the future. Change-Id: I05df9e491aca37829be3df92a73b952f26c86a4a
* Add a check to track a problem the monkey script has been triggering.Marco Nelissen2010-09-171-0/+3
| | | | Change-Id: If3896946d993cbab2442e17740f18efd7e753a3b
* Make sure the message dispatcher stays around until after OMX_FreeHandle is ↵Andreas Huber2010-09-172-3/+7
| | | | | | finished in case it posts some more messages during shutdown. Clear the source as soon as possible in OMXCodec's destructor. Change-Id: I9c896cf07dea0c3201b6f074dbaf27e6d85cd784
* Register the new OMX components.Andreas Huber2010-09-171-0/+6
| | | | Change-Id: I795287c63073ca86ad0f97d6afcfc85c401dc984
* Merge "Make sure the .wav extractor does not read data outside the bounds of ↵Andreas Huber2010-09-161-1/+12
|\ | | | | | | the 'data' box." into gingerbread
| * Make sure the .wav extractor does not read data outside the bounds of the ↵Andreas Huber2010-09-161-1/+12
| | | | | | | | | | | | | | 'data' box. Change-Id: Icf18f9224d97e6a78328dd429ebc3a3433e5cecd related-to-bug: 3007790
* | Merge "Make sure stagefright -o terminates even if we're using a raw audio ↵Andreas Huber2010-09-161-1/+3
|\ \ | | | | | | | | | source (such as .wav pcm)" into gingerbread
| * | Make sure stagefright -o terminates even if we're using a raw audio source ↵Andreas Huber2010-09-161-1/+3
| |/ | | | | | | | | | | (such as .wav pcm) Change-Id: Iec809df89e6b75706cf5b1ce21006c2e217e018f
* | Merge "Fixed a bug in the query to the supported profiles and levels" into ↵James Dong2010-09-161-2/+5
|\ \ | | | | | | | | | gingerbread
| * | Fixed a bug in the query to the supported profiles and levelsJames Dong2010-09-161-2/+5
| |/ | | | | | | | | | | | | According to OMX spec, the levels returned is the max level settings. In fact, we could not enum all the levels. Change-Id: Ib1cba74100512800a5761c7567894c7ea5b5a452
* | Sometimes the avc software decoder will signal that a frame is ready but ↵Andreas Huber2010-09-161-4/+11
|/ | | | | | | then unexpectedly fail to return the frame... stop asserting on that and return an error instead. Change-Id: I6c0782b51b57e9be0fd410bd34078dc3c2b088d6 related-to-bug: 3005156
* A ThreadedSource wraps around an existing MediaSource and reads output ↵Andreas Huber2010-09-164-0/+289
| | | | | | buffers on a separate thread. It's now used for the vpx decoder to decode frames ahead of time to improve playback performance. Change-Id: I57a798b00adeb2c8056e85aab29a2b57aef00b63
* Merge "Fix problem in lvm effect bundle wrapper" into gingerbreadEric Laurent2010-09-161-123/+127
|\
| * Fix problem in lvm effect bundle wrapperEric Laurent2010-09-161-123/+127
| | | | | | | | | | | | | | | | When an effect was deleted while enabled, the count of enabled effects in the bundle was not decremented. Resulted a state where if another effect was still enabled, its process function was called only every other time. Change-Id: I59a0c5b7f50f416a9ecadae297b42912e56ddd51
* | Merge "Upgrade to the latest .webm project code." into gingerbreadAndreas Huber2010-09-151-5/+7
|\ \
| * | Upgrade to the latest .webm project code.Andreas Huber2010-09-151-5/+7
| | | | | | | | | | | | Change-Id: I645eff9b7c10bf33144977e6093663407af402e2
* | | Merge "Add some explicit error log messages" into gingerbreadJames Dong2010-09-153-7/+11
|\ \ \
| * | | Add some explicit error log messagesJames Dong2010-09-143-7/+11
| | |/ | |/| | | | | | | Change-Id: I8a69157b75a67f0d3c19f05775a8cb0629232299
* | | Merge "Fix audio input sample timestamp when audio driver loses audio ↵James Dong2010-09-151-1/+4
|\ \ \ | |_|/ |/| | | | | samples" into gingerbread
| * | Fix audio input sample timestamp when audio driver loses audio samplesJames Dong2010-09-141-1/+4
| |/ | | | | | | Change-Id: Ic0f1489f710929af50e7714867ae5153b3242dd8
* | Merge "Various fixes to improve resilience of the rtsp stack against ↵Andreas Huber2010-09-153-36/+84
|\ \ | |/ |/| | | spurious errors instead of asserting." into gingerbread
| * Various fixes to improve resilience of the rtsp stack against spurious ↵Andreas Huber2010-09-153-36/+84
| | | | | | | | | | | | errors instead of asserting. Change-Id: Idbec5996ed0675c70e911b9c0514961fea099fb4
* | Fix volume problems with insert revertEric Laurent2010-09-134-57/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use a constant input level to the reverb engine and implement volume control in the insert reverb. This avoids the volume spikes when an effect that was inserted after the reverb is disabled or removed. - Fix clicks (one silent buffer) at the end of the reverb disable period. - Modified volume management in audioflinger so that the volume ramp is also done by the insert effect if present when the track is paused (avoids clicks). - Increased room level for all presets. Also fixed problems with output stage session (-1): - effect bundle wrapper was not designed to support session -1 - the permission check in audioflinger for using session -1 failed due to a wrong usage of getCallingPid() Change-Id: Id1ff51327263364bf71d3f2668fa5cde4311d84f
* | Merge "LVM release 1.09 delivery" into gingerbreadEric Laurent2010-09-104-135/+69
|\ \
| * | LVM release 1.09 deliveryEric Laurent2010-09-094-135/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Reverb: - 1 channel mixed has gain zero - core componenet now only outputs STEREO samples - wrapper now handles only STEREO from the Reverb Core - Bass Boost: - increase scratch memory Change-Id: I00ae31051cc40a7006fc993420facfeb4d30dc52
* | | TimedEventQueue now explicitly sets its scheduling policy to foreground as ↵Andreas Huber2010-09-091-0/+4
| | | | | | | | | | | | | | | | | | | | | it should. Change-Id: I630c9fb51686d87a4075f01a6d7f6f9139ddcb4b related-to-bug: 2944452
* | | Merge "Instead of asserting return a runtime error if the maximum sample ↵Andreas Huber2010-09-091-1/+5
|\ \ \ | | | | | | | | | | | | size cannot be determined." into gingerbread
| * | | Instead of asserting return a runtime error if the maximum sample size ↵Andreas Huber2010-09-091-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | cannot be determined. Change-Id: Icf17ed04323f5415e0f9f1e4fd9f19ca60ce15ac related-to-bug: 2602446
* | | | Merge "When 32-bit offset is used, if the requested max file size is greater ↵James Dong2010-09-091-3/+4
|\ \ \ \ | |/ / / |/| | | | | | | than the 32-bit offset limit, set the limit to the max 32-bit offset limit." into gingerbread
| * | | When 32-bit offset is used,James Dong2010-09-081-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | if the requested max file size is greater than the 32-bit offset limit, set the limit to the max 32-bit offset limit. Change-Id: Ie74cbed98469721d4280a0b87491e888948f0046
* | | | Instead of asserting, publish no tracks if an MP3Extractor is used on ↵Andreas Huber2010-09-092-40/+41
| |/ / |/| | | | | | | | | | | | | | | | | non-mp3 content. Change-Id: I26db4524c5306bf2346438d2bd359c5cfb95cead related-to-bug: 2900419
* | | Merge "HW audio encoder expects timestamp via kKeyTime from each input ↵James Dong2010-09-085-4/+7
|\ \ \ | | | | | | | | | | | | buffer" into gingerbread
| * | | HW audio encoder expects timestamp via kKeyTime from each input bufferJames Dong2010-09-085-4/+7
| |/ / | | | | | | | | | | | | | | | - This fixes media server crashes on droid Change-Id: I7191cadc5275107425ec3ee3d437b2c5295858dc
* | | Modify type of some environmental reverb parametersEric Laurent2010-09-082-24/+26
|/ / | | | | | | | | | | | | | | | | Changed type of decay time, reverb delay and reflections delay parameters from signed to unsigned int to match OpenSL ES interface definition. Also fixed some type casts in lvm reverb wrapper. Change-Id: I5ca5e76a87c2590f01f031f3168355586ef22556
* | Merge "LVM release 1.08 delivery." into gingerbreadEric Laurent2010-09-035-41/+69
|\ \
| * | LVM release 1.08 delivery.Eric Laurent2010-09-035-41/+69
| | | | | | | | | | | | | | | | | | | | | | | | - Changed bundle SamplesToExit to 0.1 secs - Added SamplesToExit to Revreb - Removed mixer from Core reverb Change-Id: I675ec22889f20ef35a0ac427600c2654111c397e
* | | Merge "Not all audio source has the drift time information" into gingerbreadJames Dong2010-09-033-12/+15
|\ \ \ | |/ / |/| |
| * | Not all audio source has the drift time informationJames Dong2010-09-033-12/+15
| | | | | | | | | | | | Change-Id: I74e502376348ca4a6ffaa7492bed35c1355e7e62
* | | Ogg files can be tagged to be automatically looping, this setting always ↵Andreas Huber2010-09-034-4/+18
| | | | | | | | | | | | | | | | | | | | | overrides the MediaPlayer's setLooping setting. Change-Id: Ifb564c6cdf6137eac14869f9ca7d471f05a5556a related-to-bug: 2974691
* | | Merge "Properly buffer a certain amount of data on streaming sources before ↵Andreas Huber2010-09-032-88/+119
|\ \ \ | |/ / |/| | | | | finishing prepare()." into gingerbread
| * | Properly buffer a certain amount of data on streaming sources before ↵Andreas Huber2010-09-032-88/+119
| | | | | | | | | | | | | | | | | | | | | finishing prepare(). Change-Id: I39bf3c6dafcbe003b51dea4795742dcd8548f207 related-to-bug: 2875110
* | | Remove unused/debugging code from MP4 file writerJames Dong2010-09-033-204/+53
| | | | | | | | | | | | | | | | | | o also makes nal length in the recorded file modifiable at runtime Change-Id: I731b4dde7070d8d9628b36b523a5b2c011c7c2cf
* | | Better file size estimateJames Dong2010-09-022-34/+104
|/ / | | | | | | | | | | | | | | | | When the recorded file becomes large, the metadata size can no longer be ignored. This makes it possible to save the recorded file when the storage becomes almost full at the end of the recording session. Change-Id: Ief038080f825c9946ce550949c03e914aec1e31a
* | Merge "Calculate audio media drift time from AudioSource" into gingerbreadJames Dong2010-09-028-32/+63
|\ \
| * | Calculate audio media drift time from AudioSourceJames Dong2010-09-018-32/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Fix problem in AudioEffect::command() status." into gingerbreadEric Laurent2010-09-021-5/+9
|\ \ \ | |/ / |/| |
| * | Fix problem in AudioEffect::command() status.Eric Laurent2010-09-021-5/+9
| | | | | | | | | | | | | | | | | | | | | The *pReplyData argument of the command() function was left unitialized by EffectHandle::command() when command was EFFECT_CMD_ENABLE, EFFECT_CMD_DISABLE and EFFECT_CMD_SET_PARAM_COMMIT. Change-Id: I91a19817ead2a8cfbdd8e2d77ca270c7ce9d5bd4