summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* get rid of HAL pixelformats 5551 and 4444Mathias Agopian2013-07-261-2/+0
| | | | Change-Id: I196ee30ed57707ed4cc46fb3a9c5c07c5bac6fff
* Merge "camera3: Add flush"Alex Ray2013-07-261-0/+45
|\
| * camera3: Add flushAlex Ray2013-06-241-0/+45
| | | | | | | | | | | | | | | | | | 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
* | Merge "camera3: Pass consumer information in configure_streams"Alex Ray2013-07-261-0/+26
|\ \ | |/
| * camera3: Pass consumer information in configure_streamsAlex Ray2013-06-201-0/+26
| | | | | | | | | | | | | | | | | | 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
* | Merge "Add debug menu to enable btsnoop"Zhihai Xu2013-07-261-0/+2
|\ \
| * | Add debug menu to enable btsnoopZhihai Xu2013-06-101-0/+2
| | | | | | | | | | | | | | | bug: 8059358 Change-Id: Ib28ffe12d9b42726a0c12ecb144624862745e9ca
* | | Merge "Code changes for offload support in hardware libhardware"Eric Laurent2013-07-251-1/+10
|\ \ \
| * | | Code changes for offload support in hardware libhardwareRichard Fitzgerald2013-07-181-1/+10
| | | | | | | | | | | | | | | | Change-Id: Icfe9bf4b4768bbdcb11e6c77ac26163018f9c7c8
* | | | modules: camera: Fix build break due to metadata changeZhijun He2013-07-181-5/+5
| | | | | | | | | | | | | | | | Change-Id: I085796569ea77336d32907ee2287ff7533b0c122
* | | | Camera2Test: fix build break due to metadata changeZhijun He2013-07-181-11/+14
|/ / / | | | | | | | | | Change-Id: I1b81f14fe0f093a7d29d0b0facdb1886d521d256
* | | Merge "Add usage bit for RenderScript."Jason Sams2013-07-161-0/+3
|\ \ \
| * | | Add usage bit for RenderScript.Jason Sams2013-07-161-0/+3
| | | | | | | | | | | | | | | | Change-Id: I3ac3dc8e20e94ee885228febdc8eeb66278054cb
* | | | always pass the BufferQueue explicitely to consumersYing Wang2013-07-151-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | to fix tests build. Change-Id: Ifec605926324683ac9b12b8ed3cbfb6ac02ec18c
* | | | Merge "always pass the BufferQueue explicitely to consumers"Mathias Agopian2013-07-161-1/+2
|\ \ \ \ | |/ / / |/| | |
| * | | always pass the BufferQueue explicitely to consumersMathias Agopian2013-07-121-1/+2
| | | | | | | | | | | | | | | | Change-Id: Ie13b251d6bfadd533fa045ec5d3299ee8ae752af
* | | | Merge "Update FLP HAL definition for thread semantics."destradaa2013-07-131-7/+12
|\ \ \ \
| * | | | Update FLP HAL definition for thread semantics.destradaa2013-07-121-7/+12
| | | | | | | | | | | | | | | | | | | | Change-Id: I3dd1f5c72f0fa62a131b7ce166f3df631bb44394
* | | | | Merge "Camera tests: Add variable burst test"Eino-Ville Talvala2013-07-132-1/+506
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Camera tests: Add variable burst testEino-Ville Talvala2013-07-122-1/+506
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default, this test runs through a range of application-set exposure, frame duration, and sensitivity values, and verifies that the duration of capture, and in some cases the brightness, match what's expected. Optionally, it can use environment variables to specify the burst parameters, and to enable dumping the captured YUV images to flash for later debugging. Change-Id: I647d360344ef3684e99c86c369e96ac82e62fc96
* | | | | Merge "Clarify some comments in the sensor HAL"Etienne Le Grand2013-07-121-13/+36
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Clarify some comments in the sensor HALEtienne Le Grand2013-07-101-13/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge "bump HWC version to 1.3, add support for float crop rectangle"Mathias Agopian2013-07-102-2/+19
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | bump HWC version to 1.3, add support for float crop rectangleMathias Agopian2013-07-102-2/+19
| | | | | | | | | | | | | | | | | | | | Change-Id: I8601ecc9f39052000b872805be1637ee73b0d3e1
* | | | | modules: camera: simplify metadata list traversalAlex Ray2013-07-091-3/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | keep traveling pointer local to the walking loop Change-Id: I0038007d6e7a45e519b9b2162c674132477879cc
* | | | modules: camera: Shutter notify message supportAlex Ray2013-07-092-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "modules: camera: make Metadata a delete-able object"Alex Ray2013-07-091-0/+10
|\ \ \ \
| * | | | modules: camera: make Metadata a delete-able objectAlex Ray2013-07-031-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge "modules: camera: only wait on valid acquire fence"Alex Ray2013-07-091-8/+11
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | modules: camera: only wait on valid acquire fenceAlex Ray2013-07-031-8/+11
| | | | | | | | | | | | | | | | Change-Id: I4f51e509d86722c18308f4f1312ca3379cffd795
* | | | am cb7f5b94: (-s ours) Reconcile with jb-mr2-zeroday-release - do not mergeThe Android Open Source Project2013-07-080-0/+0
|\ \ \ \ | | | | | | | | | | | | | | | * commit 'cb7f5b94a3d683f297ddf839ca4aa897e0927139':
| * \ \ \ Reconcile with jb-mr2-zeroday-release - do not mergeThe Android Open Source Project2013-07-080-0/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Change-Id: I2c24ec07adc57969cc48647a07afca7337923d51
| | * \ \ \ merge in jb-mr2-zeroday-release history after reset to jb-mr2-devThe Android Automerger2013-07-080-0/+0
| | |\ \ \ \
* | | \ \ \ \ Merge "be more explicit about 64 bits values in sensor events"Mathias Agopian2013-07-081-26/+32
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |
| * | | | | | be more explicit about 64 bits values in sensor eventsMathias Agopian2013-07-081-26/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I61e4832ff2c721987c38897924b1b50b758384da
* | | | | | | modules: camera: Write back stream parametersAlex Ray2013-07-033-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | modules: camera: Fix stream type characterizationAlex Ray2013-07-032-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Type is now enum, not mask. Change-Id: I264da26a457957a7659154e507970e0303c76e25
* | | | | | | modules: camera: Dirty metadata objects on updateAlex Ray2013-07-032-14/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4fbd4ad919b855168e3ff5424613271b1fa907af
* | | | | | | modules: camera: default request templatesAlex Ray2013-07-024-2/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0a4b389e1850c10e12a65b3c8a5670c78c6746f7
* | | | | | | am 43c754f4: am 4c543a14: Enable native HAL tests to work for camera3 devicesEino-Ville Talvala2013-07-028-47/+126
|\ \ \ \ \ \ \ | |/ / / / / / |/| / / / / / | |/ / / / / | | | | | | * commit '43c754f49c0cbd31f3a067b6bff4b98829cb3811': Enable native HAL tests to work for camera3 devices
| * | | | | am 4c543a14: Enable native HAL tests to work for camera3 devicesEino-Ville Talvala2013-07-028-47/+126
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit '4c543a1456cd34a94e2c3a09879aa65ed8cd2f3a': Enable native HAL tests to work for camera3 devices
| | * | | | Enable native HAL tests to work for camera3 devicesEino-Ville Talvala2013-06-278-47/+126
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie11270cc8cf301ec94795b595f0517ee3bad2817
* | | | | | modules: camera: fix compiler warningsAlex Ray2013-06-282-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id1aa624d377776a7e37b52978664d30c927595be
* | | | | | Merge "modules: camera: add get_camera_info support"Alex Ray2013-06-286-2/+430
|\ \ \ \ \ \
| * | | | | | modules: camera: add get_camera_info supportAlex Ray2013-06-286-2/+430
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Basic static metadata statically constructed from preprocessor passes over an array of camera metadata tags. Change-Id: I16ea9f4d68120d5a0bc010a4a67b0cbcd761329e
* | | | | | | Add defines and support for audio offloadRichard Fitzgerald2013-06-272-13/+112
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* | | | | | am 0ab04716: (-s ours) Reconcile with jb-mr2-zeroday-release - do not mergeThe Android Open Source Project2013-06-260-0/+0
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | * commit '0ab04716dcb05f085edcc80bbed3ecefcbec9c46':
| * | | | | Reconcile with jb-mr2-zeroday-release - do not mergeThe Android Open Source Project2013-06-260-0/+0
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | Change-Id: I645db66e377a7f385129f72507f19036d4029445
| | * | | | merge in jb-mr2-zeroday-release history after reset to jb-mr2-devThe Android Automerger2013-06-260-0/+0
| | |\ \ \ \ | | | |/ / / | | |/| | |
* | | | | | am 1b8e21aa: am 1a70c0fd: libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODEIliyan Malchev2013-06-251-0/+3
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit '1b8e21aa2d4a48c3c0777929e723817995881f70': libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE