• Home
  • History
  • Annotate
  • only in /hardware/libhardware/modules/camera/
History log of /hardware/libhardware/modules/camera/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5f36d1af134c65fb7ca0aa81206401fad6dbbcc6 13-Jun-2014 Zhijun He <zhijunhe@google.com> Merge "hardware: camera_common: add module open legacy device API"
bcdebf37fbf7ab46b3480278f344987c686bbe50 07-Jun-2014 Zhijun He <zhijunhe@google.com> hardware: camera_common: add module open legacy device API

This adds the module API to open a camera device as lower HAL version legacy
device.

Change-Id: I6616aebc5ec0cef28f675e5dddb334dc6b5dfea9
ameraHAL.cpp
0d1c2a49d675945a34baca364d68c396f03cc3e8 22-May-2014 Elliott Hughes <enh@google.com> Switch libhardware to POSIX dprintf.

Bug: 15022164
Change-Id: Ie4c93318c2e7a947a57e16b220a6abceec59e6aa
amera.cpp
tream.cpp
a82f456c387cb6ff6c5aab7c930a7a61c36ed8ba 22-Apr-2014 Sasha Levitskiy <sanek@google.com> Camera: HAL: 64-bit warning fixit.

Change-Id: Iecc3e1846fbf63c51952d115e1f167cf32135b18
Signed-off-by: Sasha Levitskiy <sanek@google.com>
amera.cpp
ameraHAL.cpp
xampleCamera.cpp
etadata.cpp
tream.cpp
endorTags.cpp
endorTags.h
80df5b529fd6b3cfaccfb2e97e5ebdaf989771ea 24-Jan-2014 Ruben Brunk <rubenbrunk@google.com> camera3: Update maxRegions tag.

Change-Id: I22501cbf7f941d9626b88182e2dda8a13a620d01
xampleCamera.cpp
0ab48411fe6498dded9f3fe4cefe82ce629e1972 28-Jan-2014 Colin Cross <ccross@android.com> am 8ded7780: am 3da0d0f4: am 662e97ee: am aea8c156: Merge "hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"

* commit '8ded7780c6658d6db011f642206726234098388f':
hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
3557abaae2e43428da7559e0a12fb6bd325fab37 25-Jan-2014 Colin Cross <ccross@android.com> hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH

LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it
with LOCAL_MODULE_RELATIVE_PATH.

Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e
ndroid.mk
b35bee2a909819964b58c00628b433d79b1989d1 17-Jan-2014 Ruben Brunk <rubenbrunk@google.com> Fix build. Missing vendor tags header.
ameraHAL.h
61cf9eb920206408a2a9c01cc7a5c5b68107069c 15-Jan-2014 Ruben Brunk <rubenbrunk@google.com> camera3: Update vendor tag spec for HAL 3.2.

- Deprecates vendor tag specification in camera3 device.
- Moves vendor tag ops declaration to camera metadata library and
cleans up definitions.
- Updates the example HAL.

Change-Id: Ifb16bb0d4bbc896bc32d33dd150e7e174af57dad
amera.cpp
amera.h
ameraHAL.h
555676430e4682514681e95fdc2891a8a09bfe03 12-Nov-2013 Alex Ray <aray@google.com> modules: camera: replace pthread mutex with utils'

Change-Id: Id974e4cc743d27d59634023cfdbba545fbb64e5f
amera.cpp
amera.h
tream.cpp
tream.h
62735086edb279ca4c967d66e69f3788e6902b0a 21-Oct-2013 Alex Ray <aray@google.com> modules: camera: Metadata refactor

Add* functions const to protect data being added.
Initiailze metadata object from a camera_metadata_t.
Remove template-specific constructor.
Add convenience "add1" method to abvoid stack-allocated data.
Construct templates manually (in ExampleCamera) from base.

Change-Id: I3201f61e9d32841ea7a769d69242b40d8727c02e
amera.cpp
amera.h
xampleCamera.cpp
xampleCamera.h
etadata.cpp
etadata.h
69f1f9166adea3579353fd3bc14b6a23c43de024 21-Oct-2013 Alex Ray <aray@google.com> modules: camera: dump device and stream state

Change-Id: Iae3badba71f13784dfdd65d6e77b20283437935a
amera.cpp
tream.cpp
tream.h
7915e97d637df3ebbdb9fda542a2657236361e14 18-Oct-2013 Alex Ray <aray@google.com> modules: camera: add vendor tag functionality

Vendor Tag operations were added in module api v2.2

Change-Id: I352a50759d8bb9389d904bb774659e4be883794b
ndroid.mk
ameraHAL.cpp
ameraHAL.h
etadata.h
endorTags.cpp
endorTags.h
61f7a0c1c1aa481d798116e5a218df04630886e6 04-Jul-2013 Alex Ray <aray@google.com> modules: camera: Abstract device-specific camera

ExampleCamera represents a specific (e.g. front or back) camera device,
and contains all the device and logic for that device/sensor.

Change-Id: Iecc1a1d905501a66edb6e3994ff93d8761b82f8b
ndroid.mk
amera.cpp
amera.h
ameraHAL.cpp
xampleCamera.cpp
xampleCamera.h
3e8a9fe5e03d2bd5e450c904e08ed60c29cf7df9 15-Oct-2013 Alex Ray <aray@google.com> modules: camera: Add android.jpeg.maxSize metadata

Change-Id: I0984b55df0adf8c60b07844003e97b5aac8ece3f
amera.cpp
ea80382be17ab288622506475b8f15d9d8ebee80 15-Oct-2013 Alex Ray <aray@google.com> modules: camera: Update trace headers to libutils

Now that libutils is outside of frameworks, use that for c++-style
scoped tracing and remove the temporary shim header.

Change-Id: I913767aed8ff70abb9299e7a7b318b24a25e23c1
ndroid.mk
amera.cpp
etadata.cpp
copedTrace.h
tream.cpp
0f82f5a73a9ea6462706c807dc1a5a2cf2333ea1 17-Jul-2013 Alex Ray <aray@google.com> modules: camera: Separate locking for static characteristics

Static camera characteristics can be queried on any device at any time.
Separate the locking for it from the rest of the device to eliminate any
contention between operations on the device and static characteristic
initialization.

Change-Id: I8076378699f274e70c6318e537df4758972de9db
amera.cpp
amera.h
bd1468921eac095f43e1d0e9a5a2584ae834d90e 19-Jul-2013 Zhijun He <zhijunhe@google.com> modules: camera: Fix build break due to metadata change

Change-Id: I085796569ea77336d32907ee2287ff7533b0c122
amera.cpp
9cd49c9c4e4fcb3f1fad4c86b60b0e929a5dce9a 09-Jul-2013 Alex Ray <aray@google.com> modules: camera: simplify metadata list traversal

keep traveling pointer local to the walking loop

Change-Id: I0038007d6e7a45e519b9b2162c674132477879cc
etadata.cpp
764e442baf0b53284a986b7ed91578fdab42142f 04-Jun-2013 Alex Ray <aray@google.com> 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
amera.cpp
amera.h
90c0af71f67ea99da34f67f4739a8687247e01b7 01-Jun-2013 Alex Ray <aray@google.com> 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
etadata.cpp
77ecfd76d79ba3e864ee8cea331e6fac41a1ea45 30-May-2013 Alex Ray <aray@google.com> modules: camera: only wait on valid acquire fence

Change-Id: I4f51e509d86722c18308f4f1312ca3379cffd795
amera.cpp
2b286dab84b2a0524c1deed67fea92200e598c6e 30-May-2013 Alex Ray <aray@google.com> 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
amera.cpp
tream.cpp
tream.h
768216ee2c90ecbbc73121b528e60c82ff668eb5 03-Jul-2013 Alex Ray <aray@google.com> modules: camera: Fix stream type characterization

Type is now enum, not mask.

Change-Id: I264da26a457957a7659154e507970e0303c76e25
amera.cpp
tream.cpp
0d2a5220ba789bae7f180f8fecbc35379bcc3059 03-Jul-2013 Alex Ray <aray@google.com> modules: camera: Dirty metadata objects on update

Change-Id: I4fbd4ad919b855168e3ff5424613271b1fa907af
etadata.cpp
etadata.h
89a82661e07c49eaab07013be5ea03b84ea2715a 29-May-2013 Alex Ray <aray@google.com> modules: camera: default request templates

Change-Id: I0a4b389e1850c10e12a65b3c8a5670c78c6746f7
amera.cpp
amera.h
etadata.cpp
etadata.h
c6bf2f291ddca5e8807268f89733e9f6637b4303 29-May-2013 Alex Ray <aray@google.com> modules: camera: fix compiler warnings

Change-Id: Id1aa624d377776a7e37b52978664d30c927595be
amera.cpp
ameraHAL.cpp
b0be1039c136f85778dffaf761af3d09907e21aa 29-May-2013 Alex Ray <aray@google.com> 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
ndroid.mk
amera.cpp
amera.h
ameraHAL.cpp
etadata.cpp
etadata.h
083315c85baf28098637684d2307ee8d4df337c6 27-Apr-2013 Alex Ray <aray@google.com> modules: camera: No-op result submission with request

Change-Id: If4e377ba0ac327cc02ac2b9765ce5d406b8960a8
ndroid.mk
amera.cpp
amera.h
11bbeefaf9ba410916ec03a5c6869fe4eb67d672 26-Apr-2013 Alex Ray <aray@google.com> modules: camera: Input buffer reprocessing scaffolding

Change-Id: I158ba833549aee47ca3be5673f6f5d33e455ef59
amera.cpp
amera.h
bfcbd95a1f1aa41f665da5ce78cd7a0098c58f69 20-Mar-2013 Alex Ray <aray@google.com> modules: camera: memoize request settings metadata

Change-Id: I19c3a6a55a42e60f627702cd4a995664a0dfc4d2
amera.cpp
amera.h
8a8f86bbe6cd0d62c81b7f0f7414b74e1aa20f37 01-Mar-2013 Alex Ray <aray@google.com> modules: camera: Add buffer registration scaffold

Change-Id: Ic1d20dd7f93a0ca3cd2c3af3b33a7a9df47b5e89
amera.cpp
tream.cpp
tream.h
bcaf788434b0f4fcc4f194ca01d94cd59eb912a9 01-Mar-2013 Alex Ray <aray@google.com> modules: camera: Add Streams

Adds a Stream object, and configureStreams support in parsing the
provided stream_array. Streams are naively setup for sync-less software
painting.

Change-Id: Ibbd90e3e2c7fa984dd5d2dcbd4da7bf4dad43aa1
ndroid.mk
amera.cpp
amera.h
tream.cpp
tream.h
c16e56dd43643d9013a72ddc42ab08e72f485382 29-Apr-2013 Alex Ray <aray@google.com> modules: camera: Add scoped trace helper

This c++ helper class is normally provided by frameworks/native's
libutils, but cannot be used from the context of a hardware module. For
now just add the required functionality locally in the hardware module.

Change-Id: I5b399cbeb1c017a95baf19456dbf20569e677fbe
amera.cpp
copedTrace.h
005c9da54402e28eab5b8d52b729268a94ef4d61 05-Mar-2013 Alex Ray <aray@google.com> modules: camera: remove unused variable

Change-Id: Ic21cd58a750411167ef4b060e8d3abc295edc83d
ameraHAL.cpp
af3a4617b4dd3c231ac94f20e6d171c4bcb42b20 29-Apr-2013 Alex Ray <aray@google.com> modules: camera: fix dump log message

Change-Id: I2511653b3d2d21d03785ea220c760e2b65f0b035
amera.cpp
1f8af678c9ef28090fad3dcb13eec84aab499ac7 01-Mar-2013 Alex Ray <aray@google.com> modules: camera: make Camera object id const

Change-Id: Ic36fa7c6193086aa6415647ff8fe59cc358dd99f
amera.h
a0ed4bead4d7a9b9031f7cefe0ef49a951443461 26-Feb-2013 Alex Ray <aray@google.com> modules: camera: Camera v3 Devices

Default camera HAL statically allocates camera devices. Update camera
device to API v3.

Change-Id: Ic53ffcf3b746b9b4011b932e26dbb0f533cba554
amera.cpp
amera.h
ameraHAL.cpp
ameraHAL.h
819cfd87bad560fbd89747371088ad35aaef8d43 21-Feb-2013 Alex Ray <aray@google.com> modules: camera: Update to v2.1 camera module API

Refactor the camera module into a single CameraHAL object. Adds
set_callbacks, new in the v2.1 module API.

Change-Id: I4da677c28d7425f545f68998844fcfa4caf0feb9
ameraHAL.cpp
ameraHAL.h
bb13a3231d24bf640e7060fee3a18643f7a9f0db 19-Feb-2013 Alex Ray <aray@google.com> modules: camera: Hide HAL symbols DO NOT MERGE

Explicitly hide all symbols from being exported from the camera HAL
except the symbol required to load the module.

Change-Id: I940b24b8d3895f46e63df3c28e43b8cb012bd637
ndroid.mk
ameraHAL.cpp
ed6b8a771038acdb08a6c55abfe563d75acb63fa 27-Dec-2012 Alex Ray <aray@google.com> modules: camera: Add tracing

Change-Id: I00ee447e6b57bc57fd09b6e7d8c62cb07cb37cf0
ndroid.mk
amera.cpp
a48dd3fb34ac5b83bd397f53833f6dcc3469df76 19-Dec-2012 Alex Ray <aray@google.com> modules: camera: Defer documenting API

Avoid duplicating the api docs in the example HAL, instead point to
canonical source for them.

Change-Id: If3f5acb7a73260248bd00ce01cb1c80f230f7188
amera.h
7ee0b7aac252dd2758e9344c12cf5f72415c5ace 06-Nov-2012 Alex Ray <aray@google.com> Reference Camera v2 HAL Implementation

This is meant to be an example and a reference for device manufacturers
on how to build a new Camera v2 HAL. This first patch has basic
configuration and entry/exit.

Change-Id: Ib4166e2eadb813228af38ec31a1215940c070bbf
ndroid.mk
amera.cpp
amera.h
ameraHAL.cpp