summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Android side of the fix for [2121211] Sholes has stutter during animationsMathias Agopian2009-09-171-0/+1
| | | | a new method, compostionComplete() is added to the framebuffer hal, it is used by surfaceflinger to signal the driver that the composition is complete, BEFORE it releases its client. This gives a chance to the driver to
* add basic time stats for surfaces lock timeMathias Agopian2009-09-171-8/+20
|
* Merge change 25158 into eclairAndroid (Google) Code Review2009-09-161-0/+1
|\ | | | | | | | | * changes: Another software color conversion implementation, this time OMX_QCOM_COLOR_FormatYVU420SemiPlanar => rgb565.
| * Another software color conversion implementation, this time ↵Andreas Huber2009-09-151-0/+1
| | | | | | | | OMX_QCOM_COLOR_FormatYVU420SemiPlanar => rgb565.
* | Implement issue #1780928: Need support hiding nav keys.Dianne Hackborn2009-09-151-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | This implements support for devices whose hardware can hide their navigation keys. It works much like the existing keyboardHidden configuration, and for compatibility uses the same configuration change bit. Also add FLAG_TURN_ON_SCREEN for windows, which has the system cause the screen to be turned on when the window is displayed. Great fun when used with FLAG_SHOW_WHEN_LOCKED! Change-Id: I0b867f19af85cfd8786a14cea194b34f7bdd9b7a
* | fix [2122448] android_native_window_t::setUsage() only reallocates the first ↵Mathias Agopian2009-09-151-2/+1
| | | | | | | | | | | | | | | | buffer Take 2. We needed to check that the usage flags are "good enough" as opposed to "the same". This reverts commit 8f17a762fe9e9f31e4e86cb60ff2bfb6b10fdee6.
* | Revert "fix [2122448] android_native_window_t::setUsage() only reallocates ↵Mathias Agopian2009-09-151-1/+2
| | | | | | | | | | | | the first buffer" This reverts commit 486aa963b63e20b7910e1004cebb4f0afabbd80f.
* | fix [2122448] android_native_window_t::setUsage() only reallocates the first ↵Mathias Agopian2009-09-151-2/+1
|/ | | | buffer
* Merge change 25128 into eclairAndroid (Google) Code Review2009-09-151-0/+10
|\ | | | | | | | | * changes: Support CbYCrY -> RGB565 color conversion in IOMXRenderer.
| * Support CbYCrY -> RGB565 color conversion in IOMXRenderer.Andreas Huber2009-09-151-0/+10
| |
* | Added an API IOMX::createRendererFromJavaSurface.Andreas Huber2009-09-151-2/+11
|/ | | | This api allows to instantiate a renderer by specifying the hosting java Surface object. This hides the implementation details of (java-)Surface, (native-)Surface and friends.
* Fix 2083478: Camera needs an auto-focus cancel APIChih-Chung Chang2009-09-153-0/+14
| | | | Change-Id: I13bda991b32aee47e82b5cf9d43b3021c416a9a2
* Merge change 24947 into eclairAndroid (Google) Code Review2009-09-141-0/+2
|\ | | | | | | | | * changes: make sure to update the tail pointer when undoing a dequeue
| * make sure to update the tail pointer when undoing a dequeueMathias Agopian2009-09-141-0/+2
| |
* | process: Switch to common cutils sched_policy apiSan Mehat2009-09-121-5/+0
|/ | | | Signed-off-by: San Mehat <san@google.com>
* Move JPEGSource.{cpp,h} into libstagefright.Andreas Huber2009-09-111-0/+58
|
* Merge change 24643 into eclairAndroid (Google) Code Review2009-09-101-2/+3
|\ | | | | | | | | * changes: fix [2112575] stuck on DequeueCondition for a surface that doesn't exist anymore
| * fix [2112575] stuck on DequeueCondition for a surface that doesn't exist anymoreMathias Agopian2009-09-101-2/+3
| | | | | | | | this also fixes part of [2111536] Device is soft rebooted after ending the call through voice dialer
* | Merge change 24642 into eclairAndroid (Google) Code Review2009-09-101-4/+12
|\ \ | |/ | | | | | | * changes: make sure conditions will return when the status of a surface is not NO_ERROR
| * make sure conditions will return when the status of a surface is not NO_ERRORMathias Agopian2009-09-101-4/+12
| |
* | Process: Add support for using scheduler policies instead of cgroups.San Mehat2009-09-101-0/+5
| | | | | | | | | | | | Preference is given to cgroups if available. Signed-off-by: San Mehat <san@google.com>
* | Media MIME types now have corresponding constants in MediaDefs.h, new codec ↵Andreas Huber2009-09-102-1/+72
|/ | | | enumeration API.
* Minor API change in MPEG4Writer, support for amr output into MPEG4 containers.Andreas Huber2009-09-091-3/+3
|
* Added a .amr file extractor (for AMR-NB and AMR-WB content).Andreas Huber2009-09-092-3/+57
|
* Merge change 24179 into eclairAndroid (Google) Code Review2009-09-091-0/+1
|\ | | | | | | | | * changes: Support encoding amr-wb content in stagefright.
| * Support encoding amr-wb content in stagefright.Andreas Huber2009-09-081-0/+1
| |
* | Merge change 24335 into eclairAndroid (Google) Code Review2009-09-091-0/+3
|\ \ | | | | | | | | | | | | * changes: use broadcast() instead of signal() when signaling the condition-variable Thread::RequestExitAndWait() is waiting for
| * | use broadcast() instead of signal() when signaling the condition-variable ↵Mathias Agopian2009-09-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Thread::RequestExitAndWait() is waiting for we could have several thread waiting on the condition and they all need to wake-up. also added a debug "mTid" field in the class, which contains the tid of the thread (as opposed to pthread_t), this is useful when debugging under gdb for instance.
* | | Fix issue 1992233: DTMF tones on Sholes is really long.Eric Laurent2009-09-081-1/+2
|/ / | | | | | | | | Add a parameter to ToneGenerator.startTone() allowing the caller to specify the tone duration. This is used by the phone application to have a precise control on the DTMF tone duration which was not possible with the use of delayed messaged. Also modified AudioFlinger output threads so that 0s are written to the audio output stream when no more tracks are ready to mix instead of just sleeping. This avoids an issue where the end of a previous DTMF tone could stay in audio hardware buffers and be played just before the beginning of the next DTMF tone.
* | Merge changes 24119,24120 into eclairAndroid (Google) Code Review2009-09-088-178/+352
|\ \ | | | | | | | | | | | | | | | * changes: delete old and unused source files fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly
| * | fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properlyMathias Agopian2009-09-078-178/+352
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rewrote SurfaceFlinger's buffer management from the ground-up. The design now support an arbitrary number of buffers per surface, however the current implementation is limited to four. Currently only 2 buffers are used in practice. The main new feature is to be able to dequeue all buffers at once (very important when there are only two). A client can dequeue all buffers until there are none available, it can lock all buffers except the last one that is used for composition. The client will block then, until a new buffer is enqueued. The current implementation requires that buffers are locked in the same order they are dequeued and enqueued in the same order they are locked. Only one buffer can be locked at a time. eg. Allowed sequence: DQ, DQ, LOCK, Q, LOCK, Q eg. Forbidden sequence: DQ, DQ, LOCK, LOCK, Q, Q
* | Add basic metadata retrieval support for midi, ogg, etc.James Dong2009-09-082-0/+34
|/ | | | Bug 2050320
* Merge change 23835 into eclairAndroid (Google) Code Review2009-09-031-10/+11
|\ | | | | | | | | * changes: When encountering a .nomedia file, notify the MediaScannerClient, so that it can erase the data column for entries that are in the folder containing the .nomedia file. This prevents us from deleting (via a delete trigger) files when somebody adds a .nomedia file after the fact.
| * When encountering a .nomedia file, notify the MediaScannerClient,Marco Nelissen2009-09-031-10/+11
| | | | | | | | | | | | | | so that it can erase the data column for entries that are in the folder containing the .nomedia file. This prevents us from deleting (via a delete trigger) files when somebody adds a .nomedia file after the fact.
* | Setting the component role appears to be mandatory now for all mime types.Andreas Huber2009-09-021-0/+2
| | | | | | | | Also using CODEC_LOGV instead of vanilla LOGV to include the component name the message related to.
* | Some work to make audio encoding work.Andreas Huber2009-09-022-1/+6
|/
* Squashed commit of the following:Andreas Huber2009-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | commit c45bfbb97ccd05982008df47181f9c73abaf0497 Author: Andreas Huber <andih@google.com> Date: Tue Sep 1 15:58:12 2009 -0700 This quirk should not be enabled by default in order to make the bug reproducible by the vendor. commit 21d72e80e795fcae53d9c3bcc8ba6312b081e420 Author: Andreas Huber <andih@google.com> Date: Tue Sep 1 15:55:45 2009 -0700 Undoing the hack to temporarily give up the lock to facilitate reading from the buffer source. This simply causes too many issues, there need to be independent threads providing input buffers and dequeuing output buffers. commit 84d507def8999c146ce124cc8edfe106c9ca70c2 Author: Andreas Huber <andih@google.com> Date: Tue Sep 1 15:16:23 2009 -0700 The AAC components appear to output stereo data even if the input data is mono...
* Squashed commit of the following:Andreas Huber2009-08-273-262/+3
| | | | | | | | | | | | | | commit 3fa5f3ce910f34da0cedb8bcce1bd593db7eb740 Author: Andreas Huber <andih@google.com> Date: Thu Aug 27 14:48:54 2009 -0700 Getting rid of more code now obsolete with the departure of OMXDecoder. commit e0d923ec0c7bb60bec8eb97739036a4c70c0feef Author: Andreas Huber <andih@google.com> Date: Thu Aug 27 14:33:06 2009 -0700 Remove obsoleted OMXDecoder class. OMXDecoder is dead, long live OMXCodec.
* Merge change 22897 into eclairAndroid (Google) Code Review2009-08-271-0/+1
|\ | | | | | | | | * changes: Fix issue 2045911: Camera Shutter tone does not play correctly while listening to music.
| * Fix issue 2045911: Camera Shutter tone does not play correctly while ↵Eric Laurent2009-08-271-0/+1
| | | | | | | | | | | | listening to music. Add the possibility to delay routing and volume commands in AudioPolicyClientInterface. The delay is not blocking for the caller.
* | An attempt to fix a deadlock between OMXCodec::start and upstream ::readAndreas Huber2009-08-271-0/+1
| |
* | Another quirk, some OMX components fail to properly flush before shutdown ↵Andreas Huber2009-08-261-0/+1
|/ | | | and we must do it for them...
* assert => CHECK in stagefright.Andreas Huber2009-08-261-0/+2
|
* Keep up with latest changes to overlay handling on that unnamable platform.Andreas Huber2009-08-262-0/+2
|
* Calculate specular lighting correctlyMartin Storsjo2009-08-251-0/+1
| | | | | | Since the lighting calculations are done in object space, the vector from the object to the viewer also needs to be transformed to object space.
* Make sure not to ask for more buffers when we know that there won't be any, ↵Andreas Huber2009-08-251-1/+8
| | | | added a quirk for the aac decoder.
* Merge change 22092 into eclairAndroid (Google) Code Review2009-08-202-1/+5
|\ | | | | | | | | * changes: Dynamically allocate a pair of MemoryHeaps according buffer count/sizes required by the OMX component, respect JPEG compressed size.
| * Dynamically allocate a pair of MemoryHeaps according buffer count/sizes ↵Andreas Huber2009-08-202-1/+5
| | | | | | | | required by the OMX component, respect JPEG compressed size.
* | Add offset handling in MemoryHeapBase classBenny Wong2009-08-201-2/+2
|/
* fix a bug that caused the PixelFormat viewed by Surface to be wrong.Mathias Agopian2009-08-191-0/+3
| | | | | what happened is that the efective pixel format is calculated by SF but Surface nevew had access to it directly. in particular this caused query(FORMAT) to return the requested format instead of the effective format.