summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Merge "audioflinger: Nasty hack for adjusting BCM FM volume" into froyoSteve Kondik2010-11-301-1/+3
|\
| * audioflinger: Nasty hack for adjusting BCM FM volumeSteve Kondik2010-11-291-1/+3
| | | | | | | | | | | | | | | | | | Normally this kind of nasty hack could go into libaudio, but on this particular device, we have no access to the source code of libaudio. Put the nasty hack into audioflinger and wrap it in ifdefs. Change-Id: I5e3e495e3bd6b671823967b61ba5ceb49e59a401
* | CAF Continuous AutofocusGiulio Cervera2010-11-281-0/+9
|/ | | | Change-Id: Idfdcf8ac657669b75c5a6219c2f91d20963bbe5b
* Media Player fix for pause after system suspend/resumeSunita Nadampalli2010-11-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Description: During system wide suspend/resume call, the state machine for stagefright player & awesome player are reset and the flags are updated accordingly. But the state variables inside Media player class are left at the play/paused state depending on the current state while suspend call is issued. because of this mismatch in the states between media player and the awesome player, the subsequent calls to isPlaying() query inside media player is setting the state to Paused as a error correction mechanism. since the media player state is incorrectly set as paused, even though it was in started state during suspend, all the subsequent calls to pause will return without any action. Inorder to correct this, the suspend state is introduced in the media player. The current state is saved during suspend and is properly restored on resume call. Validation: Tested AV playback pause/resume several times along with multiple system wide suspend/resume transitions. Change-Id: If7d40260c05899fac551edabaa8051bac1d0d020 Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
* input: Handle extra keys on Vision and Espresso separatelySteve Kondik2010-11-171-6/+12
| | | | | | | | These devices have physical keyboards, but certain keys (? and SYM) are mapped differently. Check the target's name and use the appropriate set of keycodes. Change-Id: Ib91a47beb3681b411bbbd1946d5478334c5f3c33
* input: Fix keymapping and handle www/com key.Steve Kondik2010-11-131-28/+20
| | | | | | | | The keymappings derived when setting up for Espresso were incorrect and causing problems on other keyboards like Vision. Corrected this, and also added handling for the www/com key on Vision. Change-Id: I4303c60498469a24f5ce2b4397b6cf822ac81f67
* camera: Wrap getBufferInfo code in ifdefs.Steve Kondik2010-11-123-13/+17
| | | | | | Define BOARD_CAMERA_USE_GETBUFFERINFO if required. Change-Id: Ieac0bed92c8a1517a6a7730b9636f3591c55bbcb
* Camera: Add support for getBufferInfo APISteve Kondik2010-11-113-1/+19
| | | | | | | | Reworked to avoid ABI breakage. This reverts commit b5d9f64973f06b45423b2216050aa0d2d2513f96. Change-Id: I602faec8e85d80a30dadceed8c7942dc133989b8
* Fix spelling error in Omit FM code when HAVE_FM_RADIO - Change I99fde73bRobert Burns2010-11-081-1/+1
| | | | | | http://review.cyanogenmod.com/210 Change-Id: I810e080a4fc1a02e16fe42a1508c0ad667da8332
* Revert "Revert "audio: Omit FM code when HAVE_FM_RADIO is not set""Steve Kondik2010-11-073-2/+27
| | | | | | | | | Cleaned it up, and fixed a misplaced ifdef that broke the whole damn thing. This reverts commit 568f674b8ef1a83b7ba948b0e53e0dd86207d115. Change-Id: I99fde73b2cf283dde7e9bcb1e73cf86e553324d3
* Revert "audio: Omit FM code when HAVE_FM_RADIO is not set"Steve Kondik2010-11-073-35/+2
| | | | This reverts commit c5358c4b94c2953290988be654b284840551b5bd.
* audio: Omit FM code when HAVE_FM_RADIO is not setMichael Webster2010-11-033-2/+35
| | | | Change-Id: If140f0cd1232f927f4870c5de3f25deac73c3778
* TSLib: Changes made for using TSLibManas Abichandani2010-10-291-0/+13
| | | | | | | | | | | | | These changes are made to make use of TSLib to calibrate events generated from touch screen. ts_read in tslib reads raw events written by touchscreen driver in /dev/input/event0. ts_read then packages all the events between each EV_SYN and sends the final calibrated values to EventHub.cpp along with the list of events raw read. We then send each event seperately in this list to the upper layer. Change-Id: If529e5687620df50cf725edbaa321953df50c0a5
* Revert "frameworks/base: Add rendering statistics to Stagefright"Steve Kondik2010-10-251-3/+0
| | | | | | | | | | | | | This reverts commit 035102c577c51b1509e20c8ebe1a8e8da66e627d. Dear Adobe: Please play by the rules and don't abuse internal parts of Android that aren't meant to be used by external applications. This patch breaks compatibility with the Flash native code, which calls into Stagefright directly. Will revisit after 6.1 because this is useful information for developers.
* Additional keycodes for Vision.Steve Kondik2010-10-141-1/+11
| | | | Change-Id: Ia23ec2da6560945ae31632197a0b8d032cb8abed
* Merge "frameworks/base: Add rendering statistics to Stagefright" into froyoSteve Kondik2010-10-141-0/+3
|\
| * frameworks/base: Add rendering statistics to StagefrightJuan Escamilla2010-10-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rendering statistics can be enabled by setting the property setprop persist.debug.sf.statistics to 1. To disable, set the property to 0. This adds the following logs: -Clip type and duration -Number of frames read by parser -Number of key frames read by parser -Number of frames dropped -Number of frames rendered -First frame latency -Seek position and latency after seek -Pause position -Expected frames per second -Real time delta of video if it's ahead or behind -Maximum time delta of video if it's ahead or behind -Number of occurrences of A/V sync loss -Maximum time of A/V sync loss Change-Id: I3eb9abffb71d3325a88f4bdbbef3f78bd675b056
* | support FM Radio audio routing in audio flingerxinyu2010-10-123-3/+15
|/
* Revert "Camera: Add support for getBufferInfo API"cyanogen2010-09-233-17/+0
| | | | This reverts commit 57495aafa6ab172c2d2cfe32ca8a4fa57f98cb9b.
* Merge "Camera: Add support for getBufferInfo API" into froyoSteve Kondik2010-09-223-0/+17
|\
| * Camera: Add support for getBufferInfo APIKiran Kumar H N2010-09-223-0/+17
| | | | | | | | | | | | | | | | | | Add getBufferInfo() API which gets the recording buffer information from the HAL layer. The opencore uses this API to query the details of the recording buffers allocated by the HAL layer. Add getBufferInfo() to Stub Camera to avoid compilation error for generic/emulator builds.
* | Revert "Revert "Squashed commit of the following:""cyanogen2010-09-221-0/+4
|/ | | | | | This reverts commit 0eb243f1c9610e467f3e238415b80c92ff4e9635. Breaks HTML5 video.
* Revert "Squashed commit of the following:"mtwebster2010-09-211-4/+0
| | | | | | | | | This reverts commit 16263d9f8cc01392c2f3678b381ce897647c8c81. Removing this commit appears to fix web audio sync bug, along with setting: build/target/product/core.mk: media.stagefright.enable-http=false
* camera: Add autofocus support to the media recorderSteve Kondik2010-09-064-0/+4
|
* Merge branch 'froyo' of ↵Steve Kondik2010-08-091-0/+4
|\ | | | | | | | | | | | | git://android.git.kernel.org/platform/frameworks/base into froyo Conflicts: services/java/com/android/server/PowerManagerService.java
| * Merge branch 'froyo' of ↵The Android Open Source Project2010-07-293-3/+2
| |\ | | | | | | | | | git://android.git.kernel.org/platform/frameworks/base into HEAD
| * | Squashed commit of the following:Andreas Huber2010-07-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 4abf16bb04dc9695fedf4007a84f903074312ccd Author: Andreas Huber <andih@google.com> Date: Tue Jul 20 09:21:17 2010 -0700 Support a single format change at the beginning of audio playback. This way the AAC+ decoder may change its output format from what is originally encoded in the audio stream and we'll still play it back correctly. Change-Id: Icc790122744745e9a88099788d4818ca1e265a82 related-to-bug: 2826841 commit 09c74da63e6ad5cb5dafb70f62696d75d2978967 Author: James Dong <jdong@google.com> Date: Sun Jul 18 17:57:01 2010 -0700 Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled. Change-Id: I883c81dad3ea465e71cb5590e89d763671a90ff8 commit f672bf2a782dc7d5fb6325d611a7fe17045dfe9a Author: James Dong <jdong@google.com> Date: Thu Jul 8 20:56:13 2010 -0700 Enable the support for decoding audio with AAC+ and eAAC+ features bug - 282684 Change-Id: I73c8377af3cc4edd3ee7cea86dc3b1c369fbd78b Change-Id: I012f1179e933b6d1345d2368f357576c722485f7
* | | HACK: Allow use of Eclair MemoryDealer for compatibility.Steve Kondik2010-08-083-1/+271
| | | | | | | | | | | | Take #2.
* | | Revert "HACK: Allow use of Eclair MemoryDealer for compatibility."Steve Kondik2010-08-082-264/+1
| | | | | | | | | | | | Patchset is broken. Will recommit a single working patch.
* | | HACK: Allow use of Eclair MemoryDealer for compatibility.Steve Kondik2010-08-082-1/+264
| | |
* | | libmedia: Add support to set camera parametersMohan Kandra2010-08-054-0/+4
| | | | | | | | | | | | Change-Id: I0af0790c9499e983fc21f20985f591eeeaca744c
* | | input: Additional keycodes for EspressoSteve Kondik2010-08-021-1/+19
| | |
* | | Merge branch 'froyo' of ↵Steve Kondik2010-07-303-3/+2
|\ \ \ | | |/ | |/| | | | git://android.git.kernel.org/platform/frameworks/base into froyo
| * | fix inaccurate copyrightsJean-Baptiste Queru2010-07-293-3/+2
| |/ | | | | | | Change-Id: I33b0f68f2da34ca4728211d83159cf32a127f6dd
* | Unhide encoder profiles, add "front" profile.Steve Kondik2010-07-251-2/+3
| |
* | frameworks/base: compilation changesPriya Komarlingam2010-07-182-3/+47
| | | | | | | | | | | | camera changes and audio changes for compilation Change-Id: Ic1ed590eed00e2c7093e6b2f9dc5188b6aee4926
* | frameworks/base: Add setFd api to OverlayOmprakash Dhyade c_odhyad@quicinc.com2010-07-121-0/+2
| | | | | | | | | | | | | | setFd() is for client to pass its own buffer id for Overlay HW engine to directly access. Change-Id: I4e727cdb7d34d24b84bde41892694969ad2d4841
* | Remerge libui.so, libsurfaceflinger_client.so, and libcamera_client.so for ↵Koushik Dutta2010-07-111-0/+9
| | | | | | | | | | | | older devices. Change-Id: I6a1dbe519df3b07292d738ffa9f6be95b794875e
* | add software mouse cursorChih-Wei Huang2010-07-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | This is a rework of mouse cursor for Froyo based on Yi's work and merges all patches into one. Also incorporates the button features from 0xdroid: Menu: Middle button Back: Right button This is more convenient.
* | Raise UNCOMPRESS_DATA_MAX.Steve Kondik2010-06-281-5/+1
| |
* | Add FLAC support to the media frameworkKenny Root2010-06-231-0/+1
|/ | | | | | | | FLAC support is based on Xiph's libFLAC reference library. It only supports 16-bit and 8-bit decoding. 24-bit to 16-bit dithering is not implemented. Change-Id: I1ad65abc29dd2b8446eda8349d3239d3119b8dc7
* Support for customizable socket-read timeouts through the HTTP response.Andreas Huber2010-05-111-0/+1
| | | | | | | | | Specify a response header of "X-SocketTimeout: 15" to override the default timeout of 5 secs with a timeout of 15 seconds. Specify a negative value to disable the timeout altogether. Change-Id: I545adf3d8b3f7efe5f8d081a641c6404440a77db related-to-bug: 2675721
* Add remove method in CameraParameters class.Wu-cheng Li2010-05-111-9/+2
| | | | | bug:2672651 Change-Id: I537c817b5ca6a3d925f22febe9a5769156354d00
* A new OggExtractor/VorbisDecoder combo to support approximate seeking.Andreas Huber2010-05-073-1/+8
| | | | | Change-Id: Id5d0c1c8b1adc62896bb5ed951f7b5cfda811e95 related-to-bug: 2654400
* Merge "Make static versions of libutils and libbinder." into froyoDan Egnor2010-05-061-1/+0
|\
| * Make static versions of libutils and libbinder.Dan Egnor2010-05-061-1/+0
| | | | | | | | | | | | | | | | | | | | Fix some small static-initialization-order issues (and a static- initializers-missing issue) that result from doing so. The static libraries don't actually get used for anything real at the moment -- they're used for perf tests of bug 2660235. Bug: 2660235 Change-Id: Iee2f38f79cc93b395e8d0a5a144ed92461f5ada0
* | Disable vorbis seek when streaming from localhost.Andreas Huber2010-05-063-4/+13
|/ | | | | Change-Id: Icda523ae1c89e26482f1c1767fe3a8b9222bb30f related-to-bug: 2654400
* Support for Ogg Vorbis decoding in stagefright.Andreas Huber2010-05-041-0/+1
| | | | | | | Set the magic property media.stagefright.enable-vorbis to true to use the new implementation instead of the standalon vorbis player for file-based playback. HTTP streaming of vorbis content will always go through stagefright. Change-Id: Ie3843a99fadb22372f89540d0f8d65196e0c2af8 related-to-bug: 2654400
* fix [2599939] "cannot play video" after open/close a video player a dozen of ↵Mathias Agopian2010-04-193-5/+2
| | | | | | | | | | | | | times get rid off the MAP_ONCE flag is MemoryHeapBase (as well as it's functionality), this feature should not be used anymore. the software renderer was incorrectly using the default ctor which set MAP_ONCE, causing the leak. the software renderer itself is incorrectly used while coming back from sleep. Change-Id: I123621f8d140550b864f352bbcd8a5729db12b57
* Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we ↵Andreas Huber2010-04-121-0/+1
| | | | | | | don't have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks. Change-Id: Ic9a9198413431db4ea40bb63b9de91aa8a7183af related-to-bug: 2587341