Commit graph

453 commits

Author SHA1 Message Date
jpadmana
45e6939f7d am 935799d6: Addition of EFFECT_CMD_OFFLOAD for effects offload
* commit '935799d63f0d654f350a640001077616572a4b63':
  Addition of EFFECT_CMD_OFFLOAD for effects offload
2013-08-29 14:09:31 -07:00
jpadmana
935799d63f Addition of EFFECT_CMD_OFFLOAD for effects offload
Added EFFECT_CMD_OFFLOAD command to audio effect control
interface. It is used by the framework to indicate if
the playback thread the effect is attached to is offloaded
of not.

Added effect flag EFFECT_FLAG_OFFLOAD_SUPPORTED indicating if
the effect implementation supports offloading to a DSP.

Change-Id: I26553576657d3aa9cd0cdcd5785c813b02f48136
Signed-off-by: jpadmana <jayashree.r.padmanaban@intel.com>
Signed-off-by: Eric Laurent <elaurent@google.com>
2013-08-28 17:52:03 -07:00
Glenn Kasten
59caeb14a7 Merge "Fix file permissions" into klp-dev 2013-08-22 22:26:35 +00:00
destradaa
9c9c541c8a am 69e82d2d: Merge "Fix typo in FlpHal" into klp-dev
* commit '69e82d2df615b77ff868309b8f2c0323eadb42c5':
  Fix typo in FlpHal
2013-08-22 12:43:20 -07:00
destradaa
06b77aa4e1 Fix typo in FlpHal
Change-Id: I0a0598c4755052e071d793fbacf0aa25dfca6e5c
2013-08-21 12:41:19 -07:00
Glenn Kasten
08708c5e1f Fix file permissions
Change-Id: Iffc2941d98ee16796cf3d44dec1cfa376d9362bb
2013-08-20 12:49:27 -07:00
Mathias Agopian
0370e93286 am 5ba249e3: Merge "Define a range for device specific sensors" into klp-dev
* commit '5ba249e34a3840881a03e545ffba77cde5bf28ba':
  Define a range for device specific sensors
2013-08-19 16:06:51 -07:00
Mathias Agopian
5ba249e34a Merge "Define a range for device specific sensors" into klp-dev 2013-08-19 22:59:16 +00:00
Mathias Agopian
1599ec6755 Define a range for device specific sensors
Bug: 9551417
Change-Id: I5412d9c063743a0e99e8839a0758337c72a8725e
2013-08-19 14:41:12 -07:00
Matthew Xie
9386bdf0f7 am aaf337dc: Merge "Add support for AbsoluteVolume" into klp-dev
* commit 'aaf337dccb23f04ed4a59f2f371326c93cb5c96f':
  Add support for AbsoluteVolume
2013-08-18 12:50:59 -07:00
Matthew Xie
aaf337dccb Merge "Add support for AbsoluteVolume" into klp-dev 2013-08-18 19:46:01 +00:00
Jesse Hall
de14c82906 am fc0ff2a8: Add HWC_DISPLAY_VIRTUAL and adjust display count constants
* commit 'fc0ff2a8700eb11aef7a961b279d846c8a1c04c5':
  Add HWC_DISPLAY_VIRTUAL and adjust display count constants
2013-08-17 21:35:22 -07:00
Satya Calloji
fe9728dfa1 Add support for AbsoluteVolume
Add support for AbsoluteVolume in HAL

bug 9595622

Change-Id: Iaf08b81b61aa07ebaa83f4bd6cc9e82171947aa1

Conflicts:
	include/hardware/bt_rc.h
2013-08-16 12:32:55 -07:00
Jesse Hall
fc0ff2a870 Add HWC_DISPLAY_VIRTUAL and adjust display count constants
Both surfaceflinger and HWC implementations have been defining these
themselves, making future changes more difficult. Better to define
them centrally, where they can be updated easily.

Change-Id: I793158b858c84b2470b05f9ea77cc5a0c7e247f1
2013-08-16 11:13:36 -07:00
John Du
cd15c2cce2 am b9844811: Add support for ff/rew
* commit 'b98448119351df9ec7453e0ae92ea408b02294db':
  Add support for ff/rew
2013-08-15 14:58:18 -07:00
John Du
b984481193 Add support for ff/rew
Change-Id: I95d17aa4f54d58596085f8d67e63e277b280a242
(cherry picked from commit a068b57857a6f9f2db335dbb18f1be37e85937c6)
2013-08-15 18:48:47 +00:00
Andre Eisenbach
6481266b17 am 299e43c1: LE: Add peripheral role support (3/4)
* commit '299e43c186a9c8a6611d8c5f61d158436948afe5':
  LE: Add peripheral role support (3/4)
2013-08-14 08:16:02 -07:00
Andre Eisenbach
d1d76ba204 am 02223d16: LE: Add instance ID to descriptors (3/4)
* commit '02223d1602c1728b3c94f68059d1b2e76d35dbd3':
  LE: Add instance ID to descriptors (3/4)
2013-08-14 08:16:01 -07:00
Andre Eisenbach
299e43c186 LE: Add peripheral role support (3/4)
Initial stack support for the LE peripheral role.

Change-Id: Ie036432c90c405a331e2fceaf88bf97a46182176
2013-08-14 00:53:11 -07:00
Andre Eisenbach
02223d1602 LE: Add instance ID to descriptors (3/4)
If a remote devices offers multiple descriptors with the same UUID, the
instance ID is used to differentiate between them.

Change-Id: Ia5ab989f222a5cf1b7cb66966ad4f91f2b660708
2013-08-13 19:35:15 -07:00
Glenn Kasten
30c53abeea Merge "Fix typo and remove executable bit on source code files" 2013-08-12 17:07:30 +00:00
Mathias Agopian
af32a8d594 minor changes to sensor HAL interface
Change-Id: Idc415fd0a92482f4f4cd051b458a28d97f251f35
2013-08-06 20:33:38 -07:00
Mathias Agopian
16671c5519 improvements to the batch mode APIs
- also added a flush() method to drain the FIFO before
  the batch timeout has expired

Change-Id: I73cc450fae0a6acf73d8b5d73bcd7a225bfbfe35
2013-08-05 17:07:02 -07:00
Eino-Ville Talvala
9d51856d71 Camera: Add new 3.1 device version
- Add new definition to camera_common
- Update comment in camera3.h

Change-Id: I9d8c594cfdaff40c543e8f9017091b0c06bbf022
2013-07-30 15:03:50 -07:00
Glenn Kasten
6367c2ca3e Fix typo and remove executable bit on source code files
Change-Id: I0ac46bf80a4708d190c148f8b72bfcf4ea1168b1
2013-07-30 10:09:51 -07:00
Alex Ray
dbd278cd07 Merge "camera3: Add flush" 2013-07-26 20:47:51 +00:00
Alex Ray
dc1a7cbe8f Merge "camera3: Pass consumer information in configure_streams" 2013-07-26 20:42:04 +00:00
Zhihai Xu
e495baf7d7 Merge "Add debug menu to enable btsnoop" 2013-07-26 18:28:49 +00:00
Jason Sams
2242385281 Add usage bit for RenderScript.
Change-Id: I3ac3dc8e20e94ee885228febdc8eeb66278054cb
2013-07-16 12:51:13 -07:00
destradaa
d542a20074 Merge "Update FLP HAL definition for thread semantics." 2013-07-13 00:59:04 +00:00
destradaa
b89487944d Update FLP HAL definition for thread semantics.
Change-Id: I3dd1f5c72f0fa62a131b7ce166f3df631bb44394
2013-07-12 17:05:15 -07:00
Etienne Le Grand
00dcc21ea9 Merge "Clarify some comments in the sensor HAL" 2013-07-12 16:17:53 +00:00
Mathias Agopian
3b4732c9d5 bump HWC version to 1.3, add support for float crop rectangle
Change-Id: I8601ecc9f39052000b872805be1637ee73b0d3e1
2013-07-10 15:03:00 -07:00
Etienne Le Grand
f770b7a9b9 Clarify some comments in the sensor HAL
Step count can reset when android restarts
When calling activate() without calling setDelay() before, use a default rate
Uncalibrated magnetometer should not be low pass filtered
The accelerometer can be used for the geomagnetic rotation vector
When batching call retuns an error, it shouldn't change the state. In particular, it shouldn't change the rate.
batch(timeout=0) must always return success
Wake upon fifo full will never be specified when timeout=0
setDelay is not called when in batch mode

Change-Id: I8a437eeedbdc54e5f1f3e644a92e9f781d7add0d
2013-07-10 14:44:27 -07:00
Mathias Agopian
27e16688ec be more explicit about 64 bits values in sensor events
Change-Id: I61e4832ff2c721987c38897924b1b50b758384da
2013-07-08 15:30:54 -07:00
Richard Fitzgerald
f37f187bba Add defines and support for audio offload
- Add non-blocking write support, set_callback() function
- Add pause, resume, flush, drain functions to audio output stream
- Add audio parameter defines for compressed audio metadata
- Extend audio_config_t to include an audio_offload_info_t field
- Add is_offload_supported() function to test whether there is
    hardware decode support for a given compressed audio format
- Change audio_stream_frame_size() to handle offloaded streams.
    For an offloaded stream the size is always counted in bytes
    (frame size == 1) and the number of channels is irrelevant.

Change-Id: I5b82c3fdcfa1456502d0042888f166bf02d8d54b
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Eric Laurent <elaurent@google.com>
2013-06-27 17:16:24 -07:00
Iliyan Malchev
12dc899cb6 am 1b8e21aa: am 1a70c0fd: libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
* commit '1b8e21aa2d4a48c3c0777929e723817995881f70':
  libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
2013-06-25 19:02:03 -07:00
Iliyan Malchev
1a70c0fd39 libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
Bug: 9581070
Change-Id: Ifb47ed0d4fc201732ca6593d41317ec356ead2ba
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-06-25 18:55:59 -07:00
Jaikumar Ganesh
e61cdea04b Merge "Changes to fused location hardware hal." 2013-06-26 01:28:35 +00:00
Mekala Natarajan
d3d8cd25e9 am a2ce3e82: am 501fc0f1: Power: Add multimedia hints
* commit 'a2ce3e82d5b3667683f3b413e9896fa30b2a9e11':
  Power: Add multimedia hints
2013-06-25 17:02:04 -07:00
Kevin Tang
d2c966fa2b Changes to fused location hardware hal.
1. Added some comments.
2. Added device context information.

Change-Id: I0db21778b60339c92b4951aee4facb1148020198
2013-06-25 14:27:46 -07:00
Alex Ray
5f2fd854b3 camera3: Add flush
Flush is used to quiesce a camera device as quickly as possible, which
can be used to deal with a pathological client (requests a frame
duration of hours then dying) as well as speed up stream configuration
changes when the outstanding requests data isn't required.

Change-Id: Ie822efae8c705bd64d63c0eab7e9c291ecb570ef
2013-06-24 14:01:00 -07:00
Alex Ray
2ce219a746 camera3: Pass consumer information in configure_streams
HALs seem to need to know the gralloc usage flags of the opposite
endpoint (producer/consumer) of a stream at configure time.
Instead of adding another call to pass stream information, we just
pass the usage flags in the existing usage field.

Change-Id: I745baf2c4dd9123273d811b9bd52ae68c854b70c
2013-06-20 18:28:57 -07:00
Mekala Natarajan
501fc0f182 Power: Add multimedia hints
Add hints for video encode and decode use cases. These
hints are sent when the relevant use case starts and ends.
Clients can also send metadata along with the hint to provide
context to the power HAL so that it can make more informed
decisions about how to tweak system-level parameters.

Bug: 9325608
Change-Id: I4731acbe50a7401a95ec9231c4e1a4795098fcd4
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-06-20 09:54:28 -07:00
Jaikumar Ganesh
b951dee9e6 Fused Location Provider HAL interface.
Fused location allows for fusion of information from
multiple source like GPS, Wifi, Cell, Bluetooth, Sensors etc
to get a location. Doing this in hardware is useful because
it can be done completely in the baseband without waking up the AP.

Change-Id: Ib007839ff51b7e87e8d62f0ff9fea1c4a474b1d1
2013-06-11 11:45:04 -07:00
Zhihai Xu
a17b75bb17 Add debug menu to enable btsnoop
bug: 8059358
Change-Id: Ib28ffe12d9b42726a0c12ecb144624862745e9ca
2013-06-10 20:23:45 -07:00
Eino-Ville Talvala
73dba5e043 Camera3: Document missing AF transitions.
Bug: 9075581

Change-Id: I7688cee904987f404b4ab7ff0e5212182f85a271
2013-05-21 16:31:27 -07:00
Jesse Hall
4ed61b22e0 Merge "Move virtual displays out of HWC 1.2, mark experimental" into jb-mr2-dev 2013-05-08 20:53:34 +00:00
Eino-Ville Talvala
c6ff6c40dd Merge "gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888" into jb-mr2-dev 2013-05-08 16:55:15 +00:00
Jesse Hall
380f45dade Move virtual displays out of HWC 1.2, mark experimental
Bug: 8384764
Change-Id: I388ff3f46893b395e5c4187242f51ad7bb58da24
2013-05-07 12:03:27 -07:00