Alex Ray
9cd49c9c4e
modules: camera: simplify metadata list traversal
...
keep traveling pointer local to the walking loop
Change-Id: I0038007d6e7a45e519b9b2162c674132477879cc
2013-07-09 12:59:42 -07:00
Alex Ray
764e442baf
modules: camera: Shutter notify message support
...
The shutter callback timestamp should originate from the sensor itself,
since it knows exactly when the first line of the frame started
exposing. However, as a fallback (or in the CPU-painting case) query
CLOCK_BOOTTIME instead.
Change-Id: Id57c05525e9c575d009b9deb96a69557fccac16b
2013-07-09 12:19:04 -07:00
Alex Ray
ef079d59d1
Merge "modules: camera: make Metadata a delete-able object"
2013-07-09 19:18:35 +00:00
Alex Ray
18900a8434
Merge "modules: camera: only wait on valid acquire fence"
2013-07-09 19:18:18 +00:00
The Android Open Source Project
1d9b183468
am cb7f5b94
: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
...
* commit 'cb7f5b94a3d683f297ddf839ca4aa897e0927139':
2013-07-08 15:52:25 -07:00
The Android Open Source Project
cb7f5b94a3
Reconcile with jb-mr2-zeroday-release - do not merge
...
Change-Id: I2c24ec07adc57969cc48647a07afca7337923d51
2013-07-08 15:35:35 -07:00
Mathias Agopian
ea83a4b7af
Merge "be more explicit about 64 bits values in sensor events"
2013-07-08 22:33:54 +00: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
The Android Automerger
f780878cd2
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
2013-07-08 05:55:35 -07:00
Alex Ray
90c0af71f6
modules: camera: make Metadata a delete-able object
...
Metadata is currently only used for immutable persistent settings
(static camera characteristics, and the capture templates), but will be
used for dynamic metadata as well. Make it deleteable so we can
create/destroy these at will.
Change-Id: I7372b07b904d5a6b55453093712e0bb2675918b5
2013-07-03 14:32:59 -07:00
Alex Ray
77ecfd76d7
modules: camera: only wait on valid acquire fence
...
Change-Id: I4f51e509d86722c18308f4f1312ca3379cffd795
2013-07-03 14:32:59 -07:00
Alex Ray
2b286dab84
modules: camera: Write back stream parameters
...
max_buffers and usage are read by the framework inside the struct used
to pass the stream configuration parameters; scribble our new
calculated values whever they are updated internally.
Adds logging to stream creation method (reuse/new).
Change-Id: I04e12880820571900f2ae80c27100f8aedcf9d02
2013-07-03 18:01:54 +00:00
Alex Ray
768216ee2c
modules: camera: Fix stream type characterization
...
Type is now enum, not mask.
Change-Id: I264da26a457957a7659154e507970e0303c76e25
2013-07-03 18:00:21 +00:00
Alex Ray
0d2a5220ba
modules: camera: Dirty metadata objects on update
...
Change-Id: I4fbd4ad919b855168e3ff5424613271b1fa907af
2013-07-03 10:55:04 -07:00
Alex Ray
89a82661e0
modules: camera: default request templates
...
Change-Id: I0a4b389e1850c10e12a65b3c8a5670c78c6746f7
2013-07-02 15:47:50 -07:00
Eino-Ville Talvala
b5622ae960
am 43c754f4
: am 4c543a14
: Enable native HAL tests to work for camera3 devices
...
* commit '43c754f49c0cbd31f3a067b6bff4b98829cb3811':
Enable native HAL tests to work for camera3 devices
2013-07-02 12:41:26 -07:00
Eino-Ville Talvala
43c754f49c
am 4c543a14
: Enable native HAL tests to work for camera3 devices
...
* commit '4c543a1456cd34a94e2c3a09879aa65ed8cd2f3a':
Enable native HAL tests to work for camera3 devices
2013-07-02 12:36:39 -07:00
Alex Ray
c6bf2f291d
modules: camera: fix compiler warnings
...
Change-Id: Id1aa624d377776a7e37b52978664d30c927595be
2013-06-28 21:07:42 +00:00
Alex Ray
c6d5e3757b
Merge "modules: camera: add get_camera_info support"
2013-06-28 21:07:01 +00:00
Alex Ray
b0be1039c1
modules: camera: add get_camera_info support
...
Basic static metadata statically constructed from preprocessor passes
over an array of camera metadata tags.
Change-Id: I16ea9f4d68120d5a0bc010a4a67b0cbcd761329e
2013-06-28 13:52:50 -07:00
Eino-Ville Talvala
4c543a1456
Enable native HAL tests to work for camera3 devices
...
Change-Id: Ie11270cc8cf301ec94795b595f0517ee3bad2817
2013-06-27 18:02:24 -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
The Android Open Source Project
6a96df3b33
am 0ab04716
: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
...
* commit '0ab04716dcb05f085edcc80bbed3ecefcbec9c46':
2013-06-26 12:37:51 -07:00
The Android Open Source Project
0ab04716dc
Reconcile with jb-mr2-zeroday-release - do not merge
...
Change-Id: I645db66e377a7f385129f72507f19036d4029445
2013-06-26 12:33:43 -07:00
The Android Automerger
01ad343cdf
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
2013-06-26 12:17: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
1b8e21aa2d
am 1a70c0fd
: libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
...
* commit '1a70c0fd39eed070c2c28fc0731fa689d15931c4':
libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
2013-06-25 19:00:07 -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
Mekala Natarajan
a2ce3e82d5
am 501fc0f1
: Power: Add multimedia hints
...
* commit '501fc0f18249468d485415a3a7f892c644271e63':
Power: Add multimedia hints
2013-06-25 15:11:07 -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
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
fbec860986
Merge "Fused Location Provider HAL interface."
2013-06-11 21:01:37 +00: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
Alex Ray
083315c85b
modules: camera: No-op result submission with request
...
Change-Id: If4e377ba0ac327cc02ac2b9765ce5d406b8960a8
2013-05-29 03:39:00 +00:00
Alex Ray
11bbeefaf9
modules: camera: Input buffer reprocessing scaffolding
...
Change-Id: I158ba833549aee47ca3be5673f6f5d33e455ef59
2013-05-29 03:38:20 +00:00
Alex Ray
bfcbd95a1f
modules: camera: memoize request settings metadata
...
Change-Id: I19c3a6a55a42e60f627702cd4a995664a0dfc4d2
2013-05-29 03:36:19 +00:00
The Android Open Source Project
55ca246b2c
am 94a155a4
: (-s ours) Reconcile with jb-mr2-release - do not merge
...
* commit '94a155a41a562db983e4aa9c51bbeb39438885de':
2013-05-23 08:06:40 -07:00
The Android Open Source Project
94a155a41a
Reconcile with jb-mr2-release - do not merge
...
Change-Id: I31743534d947232b1cce9b36877c58d43e459d08
2013-05-23 08:05:38 -07:00
The Android Automerger
2ffc283435
merge in jb-mr2-release history after reset to jb-mr2-dev
2013-05-23 05:55:23 -07:00
Eino-Ville Talvala
8f0e6de6c7
am b3d4dae4
: am 73dba5e0
: Camera3: Document missing AF transitions.
...
* commit 'b3d4dae427ea06a5ef21fda013694603a1c6ebcc':
Camera3: Document missing AF transitions.
2013-05-22 09:22:45 -07:00
Eino-Ville Talvala
b3d4dae427
am 73dba5e0
: Camera3: Document missing AF transitions.
...
* commit '73dba5e043d44910a8cee4def742f58607fc5894':
Camera3: Document missing AF transitions.
2013-05-22 09:20:06 -07:00
Eino-Ville Talvala
73dba5e043
Camera3: Document missing AF transitions.
...
Bug: 9075581
Change-Id: I7688cee904987f404b4ab7ff0e5212182f85a271
2013-05-21 16:31:27 -07:00
The Android Open Source Project
0441c7a309
am 9b5408ff
: (-s ours) Reconcile with jb-mr2-release - do not merge
...
* commit '9b5408ffd6f6100e6a62d99983e1524c03ac1304':
2013-05-16 05:48:25 -07:00
The Android Open Source Project
9b5408ffd6
Reconcile with jb-mr2-release - do not merge
...
Change-Id: I1e981404c88dd61fe418ae799d599ae4d072555c
2013-05-16 05:43:48 -07:00
The Android Automerger
abd5bc6654
merge in jb-mr2-release history after reset to jb-mr2-dev
2013-05-15 05:55:32 -07:00
Brian Carlstrom
5fc7a383eb
am ee37c3a8
: am 63b64337
: Add larger RSA key sizes
...
* commit 'ee37c3a845ea1de5508ad3059457117170a8e5d5':
Add larger RSA key sizes
2013-05-14 15:59:22 -07:00
Brian Carlstrom
ee37c3a845
am 63b64337
: Add larger RSA key sizes
...
* commit '63b64337fbaa10b282f85a7e887b40ced6d6d632':
Add larger RSA key sizes
2013-05-14 15:56:46 -07:00
Brian Carlstrom
63b64337fb
Add larger RSA key sizes
...
Bug: 8734191
Change-Id: I82413505b32d5cdd2c4330c63d5f66e6b7e34634
2013-05-14 15:32:33 -07:00