summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-13surfaceflinger: Silence warnings for missing earlysuspend support.linaro_android_4.0.3_snowball_mmJon Medhurst
Earlysuspend is gone from the Android 3.3 kernel but surfaceflinger still expects it to exist. Apparently this is know about upstream and fixed, but this hasn't been pushed out into 4.0.x We don't know what the upstream fix is, so for now we will change the code to fail silently if the frame-buffer earlysuspend files are missing. This fixes LP bug #906210 Change-Id: Id1e30981ac1c94cc59b31515d51e52fbed9e88d9 Signed-off-by: Jon Medhurst <tixy@linaro.org>
2012-04-10changes for awesomeplayerRaghavendra Patil
To avoid hang of android applications add setSurface in Awesomeplayer Change-Id: I4dad4c64d65277499faf0d84291aa9690dc2b670 Signed-off-by: Raghavendra Patil <raghavendra.patil_2@stericsson.com> Committed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-04-10Add support for update of audio output latency on SnowballNaveen Agarwal
Adds mechanisms enabling AudioPlayer to receive updated latency values for the audio output. The possibility to update the latency value is needed because the latency values for some devices (e.g., A2DP devices) are not known until they have been opened. Latency value updates will also occur when output device is exchanged on-the-fly during playback (e.g., audio output is moved from headset to A2DP device). This patch modifies the MediaPlayerService::open() function declaration which is part of an Android internal interface. Although, this is a backward compatible change since only a default parameter is added. ST-Ericsson ID: 372587 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12221 Introduce backward compatible changes to exposed interfaces Change-Id: I2edf117bf22305232dec67a27e9a00002c01e197 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41850 Reviewed-by: Stefan EKENBERG <stefan.ekenberg@stericsson.com> Reviewed-by: Axel FAGERSTEDT <axel.fagerstedt@stericsson.com> Tested-by: Naveen AGARWAL <naveen.agarwal@stericsson.com> Reviewed-by: Naveen AGARWAL <naveen.agarwal@stericsson.com> Reviewed-by: Devinder THAKUR <devinder.thakur@stericsson.com> Committed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-04-05Adding multimedia extensionPatrik Ryd
More specifically: - Add support for ST-Ericsson native pixel formats and conversion to and from these formats. - The Khronos headers are out of date and Mali extensions are missing from the extension headers. GLES2/gl2ext.h has been updated with the missing ARM extensions. - ST-Ericsson audio support for multimedia. - ST-Ericsson video support for multimedia. - Support for FM Audio in framework. Change-Id: Ic79f25078cf50c4cfba5b41b0dba318f33a5d37a Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com> Committed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-02-28Origen: Add extra CFLAGS in correct orderlinaro_android_4.0.3Amit Pundir
Rearranging Additional CFLAGS order because they are being overriden by the CFLAGS definition later in the Android.mk file. Change-Id: I0407cffb0551e6991f8067397d23008a336cfa6d Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2012-02-27Merge "Origen: Add support for Samsung Codec" into linaro_android_4.0.3Zach Pfeffer
2012-02-27Origen: Add support for Samsung CodecAnnamalai Lakshmanan
Samsung/Origen specific code wrapped under SAMSUNG_CODEC_SUPPORT macro. Change-Id: Ib74b32829b2aeaf5ea899a3d6f83c8019ed928d5 Signed-off-by: Annamalai Lakshmanan <annamalai.l@samsung.com> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2012-02-24Revert "Don't believe the PV decoder's lies..."Vishal Bhoj
We see corruption in timestamp and hence framedrop while playing an MPEG4 file. Reverting this commit fixes the issue. This reverts commit 977702929b085882aa7a748711cc3280f3195fbe. Change-Id: I75566c21e6a383794d9873f02baf7a06882cddc4 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2012-02-17libstagefright: Work around gcc 4.7 bugBernhard Rosenkraenzer
When using gcc 4.7, use -O2 instead of -Os to work around compiler bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52294 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2012-02-17frameworks/base: Make sure Singleton instantiations are exportedBernhard Rosenkraenzer
This fixes using Singletons across shared library borders with gcc 4.7 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2012-02-16stagefright: Fix build with gcc 4.7Bernhard Rosenkraenzer
Make it build with gcc 4.7's added strictness Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2012-02-16frameworks/base: gcc 4.7 compile fixesBernhard Rosenkraenzer
Make sure we can compile even with gcc 4.7's added strictness Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2012-01-31Merge "camera: merged http://review.omapzoom.org/#change,14346 to fix race ↵Zach Pfeffer
condition while image capture" into linaro_android_4.0.3
2012-01-31camera: merged http://review.omapzoom.org/#change,14346 toVishal Bhoj
fix race condition while image capture Change-Id: I56d11ea05ecf969d8dbb6f65451884a1f9c3ed02 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2012-01-30MediaFrameworkTestRunner.java: put the super.onCreate method at endYongqin Liu
call the super.onCreate method at end of onCreate method, so that the argument's value passed from command line can be get. Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Change-Id: Ib9745b697410d5dec5d0d8fc7711c69980dff320
2012-01-17Merge "For Bug #915434. vexpress: ECM does not set DNS address" into ↵Vishal Bhoj
linaro_android_4.0.3
2012-01-16For Bug #915434. vexpress: ECM does not set DNS addressKejun ZHOU
Change-Id: Id408e011a309951abc84837c7729a15f1d76a622 Signed-off-by: Kejun ZHOU <kejun.zhou@linaro.org>
2012-01-12Merge "Pm.java: add function to get verison with package" into ↵Zach Pfeffer
linaro_android_4.0.3
2012-01-12Pm.java: add function to get verison with packageYongqin Liu
add -v option to [list packages] subcommand to get the version information of each listed packages. the BP is: https://blueprints.launchpad.net/linaro-android/+spec/linaro-android-commit-test-tools-source Change-Id: I994b86a67a736af8af2a6b3498432e0ba65663e5 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2012-01-12Merge "update ECM for 4.0.3" into linaro_android_4.0.3Zach Pfeffer
2012-01-11update ECM for 4.0.3Kejun ZHOU
Change-Id: I39e0a20947c7f0f5f0d8be9b12fc7980d1082a81 Signed-off-by: Kejun ZHOU <kejun.zhou@linaro.org>
2012-01-09ensure compiler supports -fltoAndy Doan
Change Iec2950b1d8fef30ef5530551b094e97c7ee91fa7 enabled -flto in all builds. However, not all compilers support this option. This changes ensures the flag is only used when its supported Change-Id: I29c1ae41eac6c5c03c944b1200b22171bcbc0719 Signed-off-by: Andy Doan <andy.doan@linaro.org>
2012-01-09Merge "core: return 1080P res for HDMI for panda" into linaro_android_4.0.3Vishal Bhoj
2012-01-08opengl: Work around linaro-gcc bug 879725Bernhard Rosenkraenzer
linaro-gcc 4.6-2011.10 ICEs when building matrix.cpp with -fmodulo-sched when tuning for cortex-a8 (cortex-a9 is ok). Until the compiler is fixed, disable -fmodulo-sched if we're targeting cortex-a8 based devices, such as iMX53. Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> Change-Id: I2cd8eee31b6fda507188ca709b3d4c00c6d01404
2012-01-08opengl: Enable -flto and -ffast-mathBernhard Rosenkraenzer
OpenGL can be built with -ffast-math and -flto without regressions. Enable them for an extra speed boost. Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> Change-Id: Iec2950b1d8fef30ef5530551b094e97c7ee91fa7
2012-01-08core: return 1080P res for HDMI for pandaVishal Bhoj
For panda the HDMI monitor is detected as mirrored display and core/java/android/view/Display.java returns 720P resolution which has been hardcoded for Galaxy Nexus use case. Presently there is no logic of reading it from HDMI. Changing the Hardcoded resolution to 1080P for pandaboard. Fixes the bug: https://bugs.launchpad.net/linaro-android/+bug/908956 Change-Id: Id77a1c7928fd0ce4d4cd16039c1e7aff5faa3e69 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2012-01-04fix build break when using prebuilt toolchainAndy Doan
When doing a build with the prebuilt 4.4 toolchain a duplicate symbol error is hit. This is due to the fact this symbol is really defined system/core/include/system/window.h Change-Id: I9dac8e4f483422a7d42ab0d305ece61197f936b9 Signed-off-by: Andy Doan <andy.doan@linaro.org>
2011-12-27frameworks/base: Unify branchesBernhard Rosenkraenzer
This adds the changes from the linaro_android_4.0.3_snowball branch, surrounded by ifdefs to prevent them from breaking other boards. This should obsolete the linaro_android_4.0.3_* branches. Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> Change-Id: I9158b85b4790c8d85947878e1743789b01d4add7
2011-12-18Fix duplicate onCreateBernhard Rosenkraenzer
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2011-12-17frameworks/base: Disable H/w GL rendering based on propertyVishal Bhoj
"ro.nohardwaregfx" can be set to true to have software rendering.The property could be set for each board by adding the 2 lines to device.mk file. PRODUCT_PROPERTY_OVERRIDES += \ ro.nohardwaregfx=true Change-Id: I79ee7d98599f6fd632e43ad38cfc546ef73e8c61 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2011-12-17Revert "frameworks/base: Fix various aliasing violations"Zach Pfeffer
This reverts commit e494389d542f755a11a3dab66167efe547170f92
2011-12-17Revert "Stagefright: Fix thumbnail generation crashes"Zach Pfeffer
This reverts commit 579543928af18e2db155749dc62979120881c2d2
2011-12-17Revert "Stagefright: Improve parsing in AH263Assembler"Zach Pfeffer
This reverts commit de7c5d2ed830443a05a5b02b96b23b5253ed468f
2011-12-17Revert "Stagefright: Provide crop info to native window"Zach Pfeffer
This reverts commit ea532f064e7ad949d0e31a83911bebc0ef7ab701 Build https://android-build.linaro.org/builds/~linaro-android/staging-panda/#build=140 isn't booting, rolling back.
2011-12-17Stagefright: Provide crop info to native windowStefanEkenberg
Moves the execution of native_window_set_crop() to after the execution of native_window_set_buffers_geometry(). This is done since otherwise the cropping information will be cleared by the call to native_window_set_buffers_geometry() in when it arrives in SurfaceTextureClient::setBuffersDimension(). Change-Id: I0e9ac4d2d65f82f6138b9e8773b0740da1e951bd Signed-off-by: StefanEkenberg <stefan.ekenberg@linaro.org>
2011-12-17frameworks/base: Fix various aliasing violationsBernhard Rosenkraenzer
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2011-12-17Revert "frameworks/base: Disable hardware rendering for now"Vishal Bhoj
This reverts commit 4abc51753c40d39701beae07a658ef0364c0c245.
2011-12-17Stagefright: Improve parsing in AH263AssemblerStefanEkenberg
Improves the parsing of the H263 payload header in order to support playback of more H263 contents. This patch removes check of the * RR field which must be ignored by receivers (as specified in RFC4629). * PLEN field and also modifies the parser to remove any present extra picture header (PLEN>0) from the bit stream. * PEBIT because its value can be ignored since the extra picture header is not forwarded to the decoder anyway. Note that the extra error resilience provided by an extra picture header (PLEN>0) is still not utilized because of this patch. The patch only enables the H263 parser to correctly ignore the extra picture header. Change-Id: I1781d9f740cb0c5e15a28bc839d8ce39c6c8fcd0 Signed-off-by: StefanEkenberg <stefan.ekenberg@linaro.org>
2011-12-17Stagefright: Fix thumbnail generation crashesStefanEkenberg
Fixes two crashes that commonly occur when generating thumbnails using the Vanilla video decoders. * In OMXCodec it must be possible for the decoders to return the input buffers in an EMPTY_BUFFER_DONE call in case a decoder error has occurred. Otherwise an assert will be triggered when OMXCodec goes back to OMX_StateIdle (since not all buffers are owned by OMXCodec). * In SimpleSoftOMXComponent is must be allowed for a state change from OMX_StateIdle to OMX_StateIdle. Otherwise the assert will be triggered when the decoder fails to get a frame, error is triggered, and two state transitions are put in the message queue since OMXNodeInstance may additionally force a transition to state idle in the call to freeNode() (while the first state transition message is still in the message queue). Change-Id: Ibc88d3baa640f99537d8950784c05afc5e01c0f5 Signed-off-by: StefanEkenberg <stefan.ekenberg@linaro.org>
2011-12-17libstagefright: Fix aliasing violationsBernhard Rosenkraenzer
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2011-12-17screenshot: Add include path to where png.h can be foundTony Mansson
Change-Id: I720b2bb2b939f6d2b879974961b3e5613426b453
2011-12-17frameworks/base: Fix aliasing violationsBernhard Rosenkraenzer
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2011-12-17frameworks/base: Fix aliasing violationsBernhard Rosenkraenzer
This makes it possible to build the code without disabling the strict-aliasing optimization in gcc. Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2011-12-17MediaSamplesTest: add test for play various format media filesYongqin Liu
modify Android.mk to make it be built into images when building at eng version. The blueprint is below: https://blueprints.launchpad.net/lava-android-test/+spec/lava-android-test-run-mmtest-in-lava Change-Id: Ia9b18eff04ee730c33cca85761f8d71d8b9e66c1 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2011-12-17aapt: update interfaces to libpng 1.5.7 beta 01Chao Yang
Libpng 1.5.7 beta 01 is integrated, where some interfaces are changed and some structures are not visible to libpng clients any more. The structure information can be retrieved through specific interfaces. The call to png_set_filler() is removed as it can corrupt some png files. This function was used for libpng 1.2.4, but actually it did nothing in aapt. Remove a building warning in ZipFile.h. Change-Id: I92ca6a2c0d734f9a5187d5a7f6727b8be0e77133
2011-12-17frameworks/base: Disable hardware rendering for nowBernhard Rosenkraenzer
Disable hardware rendering for now - let's get a build with software rendering using purely free stuff going first... Author: Vishal Bhoj <Vishal.Bhoj@linaro.org> Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkraenzer@linaro.org>
2011-12-17frameworks/base: Assorted build fixesBernhard Rosenkraenzer
Assorted build fixes for gcc 4.6 and -DNDEBUG Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2011-12-15SurfaceMediaSource: use the HW_TEXTURE usage bitandroid-4.0.3_r1Jamie Gennis
This change makes SurfaceMediaSource request Gralloc buffers with the HW_TEXTURE usage bit rather than the VIDEO_ENCODER bit. It is a temporary workaround for what is likely a Gralloc bug. Bug: 5771063 Change-Id: I9cce615e80fc14a1644fae27ba06970c262dd179
2011-12-15merge in ics-mr1-release history after reset to ics-mr1The Android Automerger
2011-12-15SurfaceMediaSource: use the HW_TEXTURE usage bitJamie Gennis
This change makes SurfaceMediaSource request Gralloc buffers with the HW_TEXTURE usage bit rather than the VIDEO_ENCODER bit. It is a temporary workaround for what is likely a Gralloc bug. Bug: 5771063 Change-Id: I9cce615e80fc14a1644fae27ba06970c262dd179