| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
For use by Camera HAL libraries to perform one-time initialization
steps after the library is loaded.
Bug: 20016050
Change-Id: Ia01ae0eafcadece9124ac2cfcc3b1c3939352843
|
|
|
|
|
|
|
| |
- Replace RAW_SENSOR with RAW16
- Remove sRGB formats
Change-Id: Ic5c44878c638c3d3559495ea5685e10fcc2c39e1
|
|
|
|
|
|
|
|
| |
Add torch mode APIs to support flashlight without opening any
camera devices.
Bug: 2682206
Change-Id: Ida46bb878962caf305f3e97051b15e0465fe8c02
|
|
|
|
|
|
| |
Not sure how this slipped past my checkbuild...
Change-Id: Id238887a2a47ced387a6128a772fad3e468096be
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This adds the module API to open a camera device as lower HAL version legacy
device.
Change-Id: I6616aebc5ec0cef28f675e5dddb334dc6b5dfea9
|
|/
|
|
|
| |
Bug: 15022164
Change-Id: Ie4c93318c2e7a947a57e16b220a6abceec59e6aa
|
|
|
|
|
| |
Change-Id: Iecc3e1846fbf63c51952d115e1f167cf32135b18
Signed-off-by: Sasha Levitskiy <sanek@google.com>
|
|
|
|
| |
Change-Id: I22501cbf7f941d9626b88182e2dda8a13a620d01
|
|\
| |
| |
| |
| |
| |
| | |
"hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"
* commit '8ded7780c6658d6db011f642206726234098388f':
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
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| |
| |
| |
| | |
Change-Id: Id974e4cc743d27d59634023cfdbba545fbb64e5f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Change-Id: Iae3badba71f13784dfdd65d6e77b20283437935a
|
| |
| |
| |
| |
| |
| | |
Vendor Tag operations were added in module api v2.2
Change-Id: I352a50759d8bb9389d904bb774659e4be883794b
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Change-Id: I0984b55df0adf8c60b07844003e97b5aac8ece3f
|
|/
|
|
|
|
|
| |
Now that libutils is outside of frameworks, use that for c++-style
scoped tracing and remove the temporary shim header.
Change-Id: I913767aed8ff70abb9299e7a7b318b24a25e23c1
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I085796569ea77336d32907ee2287ff7533b0c122
|
|
|
|
|
|
| |
keep traveling pointer local to the walking loop
Change-Id: I0038007d6e7a45e519b9b2162c674132477879cc
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I4f51e509d86722c18308f4f1312ca3379cffd795
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Type is now enum, not mask.
Change-Id: I264da26a457957a7659154e507970e0303c76e25
|
|
|
|
| |
Change-Id: I4fbd4ad919b855168e3ff5424613271b1fa907af
|
|
|
|
| |
Change-Id: I0a4b389e1850c10e12a65b3c8a5670c78c6746f7
|
|
|
|
| |
Change-Id: Id1aa624d377776a7e37b52978664d30c927595be
|
|
|
|
|
|
|
| |
Basic static metadata statically constructed from preprocessor passes
over an array of camera metadata tags.
Change-Id: I16ea9f4d68120d5a0bc010a4a67b0cbcd761329e
|
|
|
|
| |
Change-Id: If4e377ba0ac327cc02ac2b9765ce5d406b8960a8
|
|
|
|
| |
Change-Id: I158ba833549aee47ca3be5673f6f5d33e455ef59
|
|
|
|
| |
Change-Id: I19c3a6a55a42e60f627702cd4a995664a0dfc4d2
|
|
|
|
| |
Change-Id: Ic1d20dd7f93a0ca3cd2c3af3b33a7a9df47b5e89
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ic21cd58a750411167ef4b060e8d3abc295edc83d
|
|
|
|
| |
Change-Id: I2511653b3d2d21d03785ea220c760e2b65f0b035
|
|
|
|
| |
Change-Id: Ic36fa7c6193086aa6415647ff8fe59cc358dd99f
|
|
|
|
|
|
|
| |
Default camera HAL statically allocates camera devices. Update camera
device to API v3.
Change-Id: Ic53ffcf3b746b9b4011b932e26dbb0f533cba554
|
|
|
|
|
|
|
| |
Refactor the camera module into a single CameraHAL object. Adds
set_callbacks, new in the v2.1 module API.
Change-Id: I4da677c28d7425f545f68998844fcfa4caf0feb9
|
|
|
|
|
|
|
| |
Explicitly hide all symbols from being exported from the camera HAL
except the symbol required to load the module.
Change-Id: I940b24b8d3895f46e63df3c28e43b8cb012bd637
|
|
|
|
| |
Change-Id: I00ee447e6b57bc57fd09b6e7d8c62cb07cb37cf0
|
|
|
|
|
|
|
| |
Avoid duplicating the api docs in the example HAL, instead point to
canonical source for them.
Change-Id: If3f5acb7a73260248bd00ce01cb1c80f230f7188
|
|
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
|