summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Properly flush the AudioTrack/AudioSink on a seek request and make ↵Andreas Huber2010-09-283-0/+14
|\ \ | | | | | | | | | sure that both the mp3 decoder and aac software decoders start fresh after a seek without any dependency on previously decoded content." into gingerbread
| * | Properly flush the AudioTrack/AudioSink on a seek request and make sure that ↵Andreas Huber2010-09-283-0/+14
| | | | | | | | | | | | | | | | | | | | | both the mp3 decoder and aac software decoders start fresh after a seek without any dependency on previously decoded content. Change-Id: I4909fdf19518dbabb6c340e2a31b50dfe6c5b067 related-to-bug: 3029947
* | | Merge "Instead of constantly polling the AudioPlayer to see if it reached ↵Andreas Huber2010-09-283-8/+27
|\ \ \ | |/ / | | | | | | EOS or finished seeking, initiate the notification from the AudioPlayer when the event happens." into gingerbread
| * | Instead of constantly polling the AudioPlayer to see if it reached EOS or ↵Andreas Huber2010-09-283-8/+27
| | | | | | | | | | | | | | | | | | | | | finished seeking, initiate the notification from the AudioPlayer when the event happens. Change-Id: I43875b6adaf96d4e982ef3dfc3d6c8f7034ac51d related-to-bug: 3036592
* | | Merge "Vorbis files may have more samples encoded that should be used, i.e. ↵Andreas Huber2010-09-283-0/+96
|\ \ \ | |/ / | | | | | | we have to trim samples at the end of the stream. This is crucial for proper looping of some audio files." into gingerbread
| * | Vorbis files may have more samples encoded that should be used, i.e. we have ↵Andreas Huber2010-09-283-0/+96
| | | | | | | | | | | | | | | | | | | | | to trim samples at the end of the stream. This is crucial for proper looping of some audio files. related-to-bug: 3036592 Change-Id: Ib142b171c829ed74156c0281d9d4543fcc96c802
* | | Merge "Squashed commit of the following:" into gingerbreadAndreas Huber2010-09-284-42/+820
|\ \ \ | |/ / |/| |
| * | Squashed commit of the following:Andreas Huber2010-09-274-42/+820
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 29a4d3effb05a2e074cb0693316ab1977baeb0b6 Author: Andreas Huber <andih@google.com> Date: Mon Sep 27 12:01:32 2010 -0700 Fully working implementation of MPEG2TSWriter (for AAC and AVC sources). Change-Id: I8a32a47565b647bf6c078c520e39565e08ea0d84 commit f4dec4c3899f3be393508e180d6c07e249d3335e Author: Andreas Huber <andih@google.com> Date: Mon Sep 27 10:36:31 2010 -0700 More reliable identification of MPEG2 transport streams. Don't keep scanning forever in case the stream does not have both audio and video tracks. Change-Id: Icc5b4e8be145b2805e8776559546a6818342aea7 commit 4fe3cc942f9b3d3cf54138b828c41214aa916dd2 Author: Andreas Huber <andih@google.com> Date: Mon Sep 27 08:23:39 2010 -0700 test code Change-Id: I16560a17661407d06497f99ff88230724bb898af commit 64d988b24f49f179a90fa677be11c823959e734b Author: Andreas Huber <andih@google.com> Date: Thu Sep 23 14:42:52 2010 -0700 First shot at supporting writing to an MPEG2 transport stream. Change-Id: Ie537939a99fa3ddc0c7661c47c18277584817c74 Change-Id: If78fd034af8f6e8ceac8dbeff96d5ecb3f6b96dc
* | | Fix media.player dumpsys to output open/mapped files correctly. Bug 2866669.Dave Sparks2010-09-271-2/+4
| |/ |/| | | | | | | | | | | | | | | The dump function whitelists several directories as filters to the output. The mount point changed for SD card in Froyo, and we started filtering files that were open on the SD card. This fix changes the filter for the SD card, and adds the directory for data files as well. Change-Id: I61b67c3d11d93dbd530e8b3566000e79bc037137
* | Merge "Fix track duration calculation if the start timestamp is non-zero" ↵James Dong2010-09-271-3/+36
|\ \ | |/ |/| | | into gingerbread
| * Fix track duration calculation if the start timestamp is non-zeroJames Dong2010-09-271-3/+36
| | | | | | | | | | | | | | o Updated the comments in the patch o Added some additional checks on the timestamp Change-Id: I8ad81eb6bfe358c1db5245cbb52efc905cdc234c
* | Merge "Support other kinds of HTTP redirect in NuHTTPDataSource" into ↵Andreas Huber2010-09-271-1/+6
|\ \ | | | | | | | | | gingerbread
| * | Support other kinds of HTTP redirect in NuHTTPDataSourceAndreas Huber2010-09-271-1/+6
| |/ | | | | | | | | Change-Id: I3268a94cfb48cee9caa8914804d7907ff91d8a8e related-to-bug: 3037686
* | 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