summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Fix error in AudioEffect command status reporting.Eric Laurent2010-09-243-13/+23
| | | | | | | | | | | | AudioEffect::command() should not interpret the status returned in pReplyData unless the command is ENABLE or DISABLE. Also fixed: - bug in Visualizer::getWAveForm() status reporting. - wrong initialization value for capture buffer in visualizer engine. Change-Id: I60fb0011f9dba96ee74661dec1e8ef441edcaf35
* Merge "Depending on our preference to write 2-byte or 4-byte NALs, patch the ↵Andreas Huber2010-09-231-1/+9
|\ | | | | | | codec specific data 'avcC' accordingly." into gingerbread
| * Depending on our preference to write 2-byte or 4-byte NALs, patch the codec ↵Andreas Huber2010-09-231-1/+9
| | | | | | | | | | | | specific data 'avcC' accordingly. Change-Id: I1423923fafbcac6911218277e2bbfa068e49dcc6
* | Ignore errors from correction parameter query and config for M4v and H263 ↵James Dong2010-09-231-2/+9
| | | | | | | | | | | | | | | | encoders This feature is not essential for camcorder application Change-Id: Id560632207dcf24fe361280ebe8178ea7332f22d
* | Use the advertised profile and level from M4V and H263 video encodersJames Dong2010-09-221-4/+4
|/ | | | | | This is already the case for AVC video encoder Change-Id: I9cc97a03ab457b4bd0b21832c09f6d0aa7f5fc39
* Raise the amount of memory set aside for omx buffer allocations in the test ↵Andreas Huber2010-09-221-1/+1
| | | | | | harness to accomodate the new requirements of some codecs. Change-Id: I73974a336852974e2fb95a9626c1a96f296449eb
* Make sure we drain the avc software decoder's output queue once we run out ↵Andreas Huber2010-09-222-43/+55
| | | | | | of input data. Change-Id: I3d92ebae4951b618a6dfcf42936cc4c63d4de539
* Merge "Fix issue 2913071." into gingerbreadEric Laurent2010-09-211-2/+20
|\
| * Fix issue 2913071.Eric Laurent2010-09-211-2/+20
| | | | | | | | | | | | | | | | | | | | | | Scale audio signal during capture according to peak level so that returned values on 8 bits contain enough information even for weak signals. Also do not reject requests to enable/disable the visualizer if we are already in the requested state. Change-Id: I07a705619764350834e61f82d161761eab688747
* | Merge "This log message is codec specific." into gingerbreadAndreas Huber2010-09-211-1/+1
|\ \
| * | This log message is codec specific.Andreas Huber2010-09-211-1/+1
| |/ | | | | | | Change-Id: I603ae7bd13b186a6df0a26ea9abe073e89276caf
* | Remove stagefright foundation's incompatible logging interface and update ↵Andreas Huber2010-09-2121-435/+298
|/ | | | | | callsites. Change-Id: I45fba7d60530ea0f233ac3695a97306b6dc1795c
* 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
* 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 "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-133-28/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-084-4/+6
|\ \ \ | | | | | | | | | | | | buffer" into gingerbread
| * | | HW audio encoder expects timestamp via kKeyTime from each input bufferJames Dong2010-09-084-4/+6
| |/ / | | | | | | | | | | | | | | | - This fixes media server crashes on droid Change-Id: I7191cadc5275107425ec3ee3d437b2c5295858dc
* | | Modify type of some environmental reverb parametersEric Laurent2010-09-081-14/+16
|/ / | | | | | | | | | | | | | | | | 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-033-4/+16
| | | | | | | | | | | | | | | | | | | | | 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