700 Commits

Author SHA1 Message Date
Chetan Kalyan
5fe46458a5 Overlay: Return error if crop values are invalid
Return an error to the caller if input crop rectangle values are incorrect

Change-Id: Ie1bf9ac0dbcfba0becee0864b44903abd4016873
2011-09-19 19:16:32 -05:00
Saurabh Shah
6ec5b1553f hardware/msm7k : Fix centering of low resolution clips
Change-Id: I90825fd77376325fe9427d1a739be4bec13ff1e3
CRs-fixed: 269485
2011-09-19 19:16:32 -05:00
Naomi Luis
1e95e224d6 libgralloc-qsd8k: Move the OMX format definitions to gpu.cpp
Change-Id: Ieb6e1f07b6e676d6d9556572a61b70780e4483fc
2011-09-19 19:16:32 -05:00
Naomi Luis
7725e18ca3 libcopybit: Add copybit and copybit_c2d changes from Gingerbread
Change-Id: I39ccc7579f89d08eae809b47e434601aee6973a2
2011-09-19 19:16:32 -05:00
Naomi Luis
13ac17278d hwcomposer: Initial version of the Hardware Composer HAL
Initial HWC changes
- Add support to recognize video/camera buffers in the prepare phase
- Use overlays to draw single video/camera layers

Change-Id: I3351b3172fae12d9f6e016ff7e1a2f6a476799b3
2011-09-19 19:16:32 -05:00
Naomi Luis
d1fc805f34 libgralloc-qsd8k: Initial gralloc changes for honeycomb
This commit contains the following changes in the gralloc:
- Add buffertype in the gralloc handle i.e video buffer or UI buffer
- Add support for allocating memory from the /dev/pmem_smipool
- Add support for obtaining the buffer type and the HAL formats from the
input format which could be an OMX format.
- Add buffer type, format, width and height in the gralloc handle

Change-Id: Ie801cfcf5cea9c4b718b75e88abf71be6b087de7
2011-09-19 19:16:32 -05:00
David Ng
155d9fa5fb liboverlay: Add liboverlay and enable for MSM8660 target
liboverlay based on MSM8660-1066 release.

Change-Id: Ic9453d38c5a60b40728e2a3651f7a065d802817e
2011-09-19 19:16:32 -05:00
David Ng
53cb829a9c libaudio-msm8660: Initial commit from MSM8660-1066
Change-Id: I69961d6b29859955ee8ed3d7a7a0c45bdc913209
2011-09-19 19:16:32 -05:00
David Ng
68b2ebce12 librpc: Initial HC commit with Gingerbread version
Snapshot from MSM8660 release 1066.

Change-Id: I7ad104eb64d2807d159c2244c3659fd9dfb1f7b7
2011-09-19 19:16:32 -05:00
David Ng
1cf556fa5b hardware/msm7k: Add 8660 target support
Change-Id: I00e99fa0a3dd04e4e74cb36c515eecede97d7b77
2011-09-19 19:16:32 -05:00
Naomi Luis
a709f0300c libgralloc-qsd8k: Initial gralloc commit
Update the gralloc HAL to match commit:

        commit 4d3c9ca6fabf2b0111ef6b567df7d244e124b9c2
        Author: Arun Kumar K.R <akkr@codeaurora.org>
        Date:   Fri Dec 17 13:14:58 2010 -0800

            libgralloc-qsd8k: Add support for non-aligned width on HDMI

            While creating overlay channel for HDMI consider the aligned
            width and set the crop rectangle to the actual width and height.

Change-Id: I8858d71bb10b2be4c57edb605b5da680f53051dc
2011-09-19 19:16:32 -05:00
The Android Open Source Project
df13c41d1f am 5270e840: Reconcile gingerbread-plus-aosp and honeycomb
* commit '5270e8408cc59774ac7cd6e2f0349fa7038bf7d0':
2011-01-30 12:54:19 -08:00
The Android Open Source Project
7b02ed6fd1 Reconcile gingerbread-plus-aosp and honeycomb
Change-Id: I93cb2dd15d45909b451a35287f9f9d26ec931a13
2011-01-30 12:41:00 -08:00
The Android Open Source Project
c296d66092 Mass merge from gingerbread - do not merge
Change-Id: Ibd8955d17b77e827b5d36763717c8508c78860a3
2011-01-30 12:40:59 -08:00
Jean-Michel Trivi
7c56bddf1d am 39c0d4c0: (-s ours) do not merge bug 3370834 Cherrypick from master CL 79327
* commit '39c0d4c031d479a679900cb540253f42747cb810':
  do not merge bug 3370834 Cherrypick from master CL 79327
2011-01-29 09:54:33 -08:00
Andreas Huber
bdb29f6fce am ad47fcaa: (-s ours) Turning an assertion into an error log.
* commit 'ad47fcaa744f72cd34562730364916b6203535e0':
  Turning an assertion into an error log.
2011-01-27 11:24:10 -08:00
Jean-Michel Trivi
45b87acffd am b8cedf7b: (-s ours) am 39c0d4c0: (-s ours) do not merge bug 3370834 Cherrypick from master CL 79327
* commit 'b8cedf7bc99ad52d739949ea1af1184b489c04da':
  do not merge bug 3370834 Cherrypick from master CL 79327
2011-01-26 14:15:17 -08:00
Jean-Michel Trivi
8d5783dc30 am 39c0d4c0: (-s ours) do not merge bug 3370834 Cherrypick from master CL 79327
* commit '39c0d4c031d479a679900cb540253f42747cb810':
  do not merge bug 3370834 Cherrypick from master CL 79327
2011-01-26 14:12:47 -08:00
Andreas Huber
308b56d70a resolved conflicts for merge of ad47fcaa to honeycomb-plus-aosp
Change-Id: I2946b716b87c9834541cdbac1219c0f54d616281
2011-01-21 10:59:48 -08:00
Jean-Michel Trivi
92e6c00905 do not merge bug 3370834 Cherrypick from master CL 79327
Use input source to determine whether voice reco mode is enabled.

Change-Id: I1efe64904b19575b590ce4b83f44d18b7d064f6b
2011-01-20 12:06:07 -08:00
Andreas Huber
d304649a40 Turning an assertion into an error log.
Change-Id: I276945246449fcad2644805236a9e6b2a212090d
related-to-bug: 3314324
2011-01-18 09:43:30 -08:00
Eric Laurent
95825e3f61 am e784e44a: Fix issue 3158317.
* commit 'e784e44a0402aa4e9489e0b9f2f3d3685cf76a93':
  Fix issue 3158317.
2010-12-01 09:21:11 -08:00
Eric Laurent
cfb25d1036 Fix issue 3158317.
Do not open the input device when opening the input stream but
only when the input stream starts. This avoids blocking the thread
executing openInputStream() on the pcm input driver mutex while this mutex
is constantly acquired and released by the high priority audio
input thread.

It also allows an app to open an input stream while another thread is recording
if it does not use it immediately (useful for voice search and VoIP).

Also did some clean up in output and input stream standby logic.

Change-Id: I69c82f5833f7a034d828001f87e02745d7683b65
2010-11-19 09:13:34 -08:00
Jean-Michel Trivi
0a55195c63 Use input source to determine whether voice reco mode is enabled.
Change-Id: I19245b21320e8e5113740c87c84bc9287564f96a
2010-11-11 10:00:05 -08:00
Andreas Huber
abed0d15a5 am 7d308b99: (-s ours) Support for rotated display of video content.
* commit '7d308b99544a6e8c5387ccee7095a780dcd9f957':
  Support for rotated display of video content.
2010-11-08 13:20:27 -08:00
Andreas Huber
e5ff982521 Support for rotated display of video content.
Change-Id: Ia16e096287fb7b2432f7a142647edf4f5f038ced
related-to-bug: 3166122
2010-11-04 14:04:08 -07:00
Joe Onorato
857681cc16 am 637d2d04: Reduce logging.
Merge commit '637d2d047afc8033f91357725474b32b74173c65'

* commit '637d2d047afc8033f91357725474b32b74173c65':
  Reduce logging.
2010-10-19 13:37:06 -07:00
Joe Onorato
51f291d432 Reduce logging.
Remember, the system and main logs are
    - Shared resources
    - Primarily for recording problems
    - To be used only for large grained events during normal operation

Bug: 3104855
Change-Id: I1abde2ae74119ce8ffa69c8b6e8ff278c2c8029e
2010-10-18 19:13:43 -04:00
Jean-Baptiste Queru
1a6c5c1379 Merge f1b90c7d from gingerbread-plus-aosp
Change-Id: I2586418263a2755b69db315dbbae06960e758359
2010-10-18 08:16:55 -07:00
Iliyan Malchev
ba8565847e am b508a485: libaudio-qsd8k: acquire wakelock before starting playback
Merge commit 'b508a4857b07898fb8322a858c4ee9624bcf1180'

* commit 'b508a4857b07898fb8322a858c4ee9624bcf1180':
  libaudio-qsd8k: acquire wakelock before starting playback
2010-10-15 14:01:15 -07:00
Andreas Huber
c2d7566290 Include the framework copy of the OpenMAX headers instead of referencing external/opencore.
Change-Id: I950d84fb6e9c346c7989590f5a341036a5845ab8
related-to-bug: 3101573
2010-10-15 13:32:24 -07:00
Iliyan Malchev
ffb6733c66 libaudio-qsd8k: acquire wakelock before starting playback
This fixes issue 2410711.

Change-Id: I01161b3febc02914f2c7a9ed3c4c9ae121ce181a
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-10-13 19:25:45 -07:00
Mathias Agopian
08b5da348c am 15a9e53f: reject odd widths or heights for YV12 format
Merge commit '15a9e53fbeaf765bfa6ed795d270e5968b30acb8'

* commit '15a9e53fbeaf765bfa6ed795d270e5968b30acb8':
  reject odd widths or heights for YV12 format
2010-09-10 17:24:21 -07:00
Mathias Agopian
9efee771b2 reject odd widths or heights for YV12 format
Change-Id: I66cbb5fbc20630218947cd41552a95503b58e15e
2010-09-10 14:40:10 -07:00
Mathias Agopian
b6eda20485 am ad20ef6b: don\'t revert to ashmem if HW usage bits are set
Merge commit 'ad20ef6be061091a95353fbf71712a3a97618304'

* commit 'ad20ef6be061091a95353fbf71712a3a97618304':
  don't revert to ashmem if HW usage bits are set
2010-08-24 10:24:52 -07:00
Mathias Agopian
1f16706e84 am a91a220a: only set the PRIV_FLAGS_NEEDS_FLUSH flag on PMEM buffers
Merge commit 'a91a220ae435832209702ec59040036d276b63ca'

* commit 'a91a220ae435832209702ec59040036d276b63ca':
  only set the PRIV_FLAGS_NEEDS_FLUSH flag on PMEM buffers
2010-08-24 09:15:32 -07:00
Andreas Huber
20153cc699 Merge "We're no longer using the ISurface-based rendering code on Passion." 2010-08-23 12:31:52 -07:00
Andreas Huber
e32200a872 We're no longer using the ISurface-based rendering code on Passion.
Change-Id: Iee7b086bfcec2552e6f5bfbee974fffa12fe7835
2010-08-23 12:29:52 -07:00
Mathias Agopian
e440088ec8 am e6f90ec4: add qcom specific pixelformats
Merge commit 'e6f90ec4ffe9cdef941a3d0032dfa275c2a302ad'

* commit 'e6f90ec4ffe9cdef941a3d0032dfa275c2a302ad':
  add qcom specific pixelformats
2010-08-21 09:43:29 -07:00
Mathias Agopian
31f0df4eba don't revert to ashmem if HW usage bits are set
this wouldn't make sense, since the h/w wouldn't be able
to use the buffer. in this case it it better to fail to
let the caller a change to try again with different usage bits.

Change-Id: Ibecaf069b6b58ee9c026affc95a45512660d5881
2010-08-20 16:02:29 -07:00
Mathias Agopian
0ff47fbdac only set the PRIV_FLAGS_NEEDS_FLUSH flag on PMEM buffers
PRIV_FLAGS_NEEDS_FLUSH will trigger an ioctl call into the PMEM
driver in unlock(), so it makes not sense to set this flag for
non pmem buffers.

Change-Id: Ie1e077c10df86d3689b82fa6ce5d6c856fc95688
2010-08-20 11:47:44 -07:00
Mathias Agopian
7461d57eca add qcom specific pixelformats
Change-Id: I70395b93afc4dee13e805649ee2307ffe895aaf1
2010-08-19 13:15:39 -07:00
Jean-Michel Trivi
b98b95ad19 am 249a65a3: Merge "In the car dock, when playing media through the 3.5mm jack, ensure a minimum volume is used, not a fixed volume." into gingerbread
Merge commit '249a65a3a132ff136a7a529f1cf4a13afde9a272'

* commit '249a65a3a132ff136a7a529f1cf4a13afde9a272':
  In the car dock, when playing media through the 3.5mm jack, ensure
2010-08-13 17:24:02 -07:00
Jean-Michel Trivi
04409b1f1c Merge "In the car dock, when playing media through the 3.5mm jack, ensure a minimum volume is used, not a fixed volume." into gingerbread 2010-08-13 08:04:47 -07:00
Jean-Michel Trivi
c080232c70 In the car dock, when playing media through the 3.5mm jack, ensure
a minimum volume is used, not a fixed volume.

Change-Id: Ibcf74989f4fbc436863c2fc1074b98a828b0b0cf
2010-08-12 09:45:13 -07:00
Jamie Gennis
19d7db853a am 972fb887: Merge "Change the constant name identifying the NV21 Adreno format." into gingerbread
Merge commit '972fb8879c46f774daec656b3b1c1f070f04ee3e'

* commit '972fb8879c46f774daec656b3b1c1f070f04ee3e':
  Change the constant name identifying the NV21 Adreno format.
2010-08-09 20:00:57 -07:00
Jean-Michel Trivi
d0bbadab4d am a526b068: Patch from HTC: fix improper device ID selection for BT with noise suppression off. This patch is accompanied by updated ACDB files that define the matching acoustic configuration.
Merge commit 'a526b0683dba50dac8a37ed45e3a08536044e973'

* commit 'a526b0683dba50dac8a37ed45e3a08536044e973':
  Patch from HTC: fix improper device ID selection for BT with noise
2010-08-09 20:00:55 -07:00
Jamie Gennis
81589f521b Merge "Change the constant name identifying the NV21 Adreno format." into gingerbread 2010-08-09 10:42:46 -07:00
Jean-Michel Trivi
e7bbd60ca5 Patch from HTC: fix improper device ID selection for BT with noise
suppression off. This patch is accompanied by updated ACDB files
that define the matching acoustic configuration.

Change-Id: I8cf769c30993e36c4dc07b8df8d234e752d26ffb
2010-08-09 08:59:50 -07:00
Jamie Gennis
38b90c13c4 Change the constant name identifying the NV21 Adreno format.
This updates the qsd8k gralloc to support the new name for the NV21 Adreno
pixel format.

Change-Id: I358bf12db058d3740a5e49ee30d95c2afb708295
2010-08-06 12:09:15 -07:00