History log of /hardware/libhardware/include/hardware/camera_common.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eec2ee9633339510255c914057ff59ac27b38b25 08-Nov-2017 Emilian Peev <epeev@google.com> camera: Bump device version to 3.5

This version update adds support for session keys and
session parameters.

Bug: 64450664
Test: Camera CTS

Change-Id: Id14dbde5083c974b86b942dfd6e904dbe85e0ee5
/hardware/libhardware/include/hardware/camera_common.h
18782aa54e21ccd23dc53572bc60c53f9d120412 20-Dec-2016 Eino-Ville Talvala <etalvala@google.com> Camera: Update for service changes, part 2

- Indicate that HALv3.0 and v3.1 are no longer supported
- Update tests that reuse camera service plumbing to match
service code changes

Test: Builds
Bug: 32991422
Change-Id: I13b800aea6f65270a2a621bd8a61705160fb2dc8
/hardware/libhardware/include/hardware/camera_common.h
96621f879e805ea941803a5f60a8db7f63ce796c 09-Dec-2015 Yin-Chia Yeh <yinchiayeh@google.com> Merge "Camera: add HAL 3.4 declaration"
3e0b5f65c678398b457f5d637231b10f39116d06 08-Dec-2015 Yin-Chia Yeh <yinchiayeh@google.com> Camera: add HAL 3.4 declaration

Bug: 26070606
Change-Id: I4768da5564eee28e24f8d7393e0544222675d833
/hardware/libhardware/include/hardware/camera_common.h
d4392024d2590569bcf1d94693c0f5a7e096a977 25-Nov-2015 Eino-Ville Talvala <etalvala@google.com> Camera: Mark camera HAL device v2.x as unsupported

Device HAL v2.x is obsolete, and no devices using it are still
supported. Mark it unsupported, and clean up native tests.

Bug: 25866588
Change-Id: I8e0f1448b8ae0eaaf3714f2351746af46c7657a7
/hardware/libhardware/include/hardware/camera_common.h
5c6230ebf613bfd5d479b3b17f5a5b1c0450944e 03-Jun-2015 Chien-Yu Chen <cychen@google.com> Camera: Update for torch callbacks

Clarify that HAL shouldn't send AVAILABLE_OFF in addition to
NOT_AVAILABLE when open() is called.

Update the comments to use the right torch status enums.

Bug: 21475390
Change-Id: If9adf4bd169048fc9760ef504d3a36414cfbb196
/hardware/libhardware/include/hardware/camera_common.h
aee4782839de3103ecebca830a6bd49263a37ad3 07-Apr-2015 Eino-Ville Talvala <etalvala@google.com> Camera: Add HAL module init method.

For use by Camera HAL libraries to perform one-time initialization
steps after the library is loaded.

Bug: 20016050
Change-Id: Ia01ae0eafcadece9124ac2cfcc3b1c3939352843
/hardware/libhardware/include/hardware/camera_common.h
1fa09029a98d183c80f7917380e23b3d0b0db827 10-Mar-2015 Ruben Brunk <rubenbrunk@google.com> camera2: Update HAL docs on eviction behavior.

Bug: 19186859
Change-Id: Ie051f966a758c68d354250c245a87df57a4f4ae3
/hardware/libhardware/include/hardware/camera_common.h
8558510d59f659d83b44728331e88f106ff735c8 25-Feb-2015 Chien-Yu Chen <cychen@google.com> camera_common: change torch status callback API

Update the torch status callback API so that HAL must invoke
the torch status callback whenever the torch status changes
including changes by set_torch_mode().

The problem of the previous approach was camera service needed
to invoke the callback after calling set_torch_mode() and two
sources of the torch status changes (HAL and camera service)
caused a race condition.

Add STATUS_ON and remove STATUS_AVAILABLE which isn't useful
because STATUS_OFF means torch is off and available. STATUS_ON
means torch is on and available.

Bug: 2682206
Change-Id: Ide5d289c5f485404a3ba46e6cb359fa8a52da0bb
/hardware/libhardware/include/hardware/camera_common.h
273def398c21328ce095b01c29d7ac93b3bbf1b8 11-Feb-2015 Chien-Yu Chen <cychen@google.com> camera_common: add -EUSERS to set_torch_mode

To match the public API, seperate camera device in use and other
resources in use errors.

Bug: 2682206
Change-Id: Ie0451931f0c84fc65f3f6294a9f44bec10627afe
/hardware/libhardware/include/hardware/camera_common.h
a40a7cebcdd7495f6dae06755e5a4da3a4446dc4 03-Feb-2015 Chien-Yu Chen <cychen@google.com> Merge "camera_common: add TORCH_MODE_STATUS_OFF"
c65319643abf49d5325b90bbfba51ab39220b0ae 30-Jan-2015 Ruben Brunk <rubenbrunk@google.com> Merge "camera HAL: Update camera_info with simultaneous access information."
ebdf1286e7d68da84f7d23287dcae17a2dbca7e3 17-Jan-2015 Zhijun He <zhijunhe@google.com> camera3: update reprocessing spec

Also bump the HAL version to 3.3 for reprocessing spec update

Change-Id: I37eda90970eace23c42ba9106d4db1587df8d1b4
/hardware/libhardware/include/hardware/camera_common.h
46edf1ac4735f5cb0a0a7e420e1341783003c689 30-Jan-2015 Chien-Yu Chen <cychen@google.com> camera_common: add TORCH_MODE_STATUS_OFF

Add TORCH_MODE_STATUS_OFF for the case when HAL has to turn off the
torch mode that was turned on by a previous set_torch_mode() call
in order to turn on the torch mode for the current set_torch_mode()
call.

Bug: 2682206
Change-Id: Ia2f717ffaca8c4346ec5fcdf73895160f700f067
/hardware/libhardware/include/hardware/camera_common.h
0388bcd7b30a624a3beea99ac19c3432f9bb3980 16-Jan-2015 Ruben Brunk <rubenbrunk@google.com> camera HAL: Update camera_info with simultaneous access information.

- Add necessary metadata to the camera_info structure to allow
the camera service to determine which devices can be safely
opened and used simultaneously without attempting to open
camera devices.

Change-Id: I4250b4c7e1296ebf4cab07355d6d3be01f17ba1e
/hardware/libhardware/include/hardware/camera_common.h
94e23b297c7742a00379a4f4295d6f8d6008a717 12-Jan-2015 Zhijun He <zhijunhe@google.com> camera: update HAL module API for external camera

Update camera module API 2.4 for usb camera support.

Change-Id: Id8329e31ad0622bdc06c60e87e97c742a9719b3b
/hardware/libhardware/include/hardware/camera_common.h
301591776ff1fdc6acccce3936e74f87a60f9d9d 08-Jan-2015 Chien-Yu Chen <cychen@google.com> camera_common: add torch mode APIs for flashlight

Add torch mode APIs to support flashlight without opening any
camera devices.

Bug: 2682206
Change-Id: Ida46bb878962caf305f3e97051b15e0465fe8c02
/hardware/libhardware/include/hardware/camera_common.h
b5459839759300ce7b6fca3313ac130e1ed9c309 10-Sep-2014 Eino-Ville Talvala <etalvala@google.com> Camera HALs: Promote device HAL v3.2

And deprecate older HALs.

Bug: 17445920
Change-Id: I37a5e53fda3c93080e37ec848f84c702a2c9120b
/hardware/libhardware/include/hardware/camera_common.h
c984be747d009fcd5376c9c629c6fc897ba1f76f 25-Jul-2014 Eino-Ville Talvala <etalvala@google.com> Camera: Define error codes for remaining camera_module methods.

Not previously documented, though already assumed to be this.

Bug: 16514157
Change-Id: I9334fdf672c9772014681a5c346a6f20b51d8213
/hardware/libhardware/include/hardware/camera_common.h
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
/hardware/libhardware/include/hardware/camera_common.h
84d35492b145cebc000f8fd72818eb25b8e65c04 01-May-2014 Stewart Miles <smiles@google.com> Described restrictions for common HAL object methods.

Inheritance of HAL object is performed by composing a child structure of a
single parent structure located at offset 0 followed by new data members
and function pointers in the child structure.

For example,

struct child {
struct parent common;
int a_data_member;
void (*a_method)(struct child *c, int v);
};

HAL code assumes this layout when accessing child structures given a pointer
to a parent structure such that users write code like the following...

void child_method(struct *parent, int v) {
struct child * c = (struct child*)parent;
// do stuff with c
}

Code above will break if a member is added before "common" in "struct child".

This change adds comments that describe the restriction on the location of
parent HAL objects within a derived HAL object. HAL objects that already
have comments that describe the required location of parent objects are not
modified.

Change-Id: Ibe4300275286ef275b2097534c84f1029d761d87
/hardware/libhardware/include/hardware/camera_common.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
/hardware/libhardware/include/hardware/camera_common.h
19b2ceafe41e318ebe68f4b0dfeca73822d553e4 13-Jun-2013 Alex Ray <aray@google.com> hardware: camera_common: add module vendor tag ops

This updates the camera module API to have vendor-specific tag support.

Vendor-specific metadata tags could be contained in static camera
characteristics, so we need a method of accessing vendor tag information
from the module level (and not just with a device open).

Bug: 10612133
Change-Id: I28e8c769f8112ff4f745f3f1b5472e8a718f1356
/hardware/libhardware/include/hardware/camera_common.h
9d51856d71b4aa25ca925b1ee7d9950878847f63 30-Jul-2013 Eino-Ville Talvala <etalvala@google.com> Camera: Add new 3.1 device version

- Add new definition to camera_common
- Update comment in camera3.h

Change-Id: I9d8c594cfdaff40c543e8f9017091b0c06bbf022
/hardware/libhardware/include/hardware/camera_common.h
152b50fda66a1fe2b4ed96ec54da96d10f8ac37c 18-Mar-2013 Igor Murashkin <iam@google.com> camera_common.h: Add STATUS_ENUMERATING enum

Change-Id: I0986d37364a2666d493cb771fa76967aa051ca5d
/hardware/libhardware/include/hardware/camera_common.h
9acc74043b4fd236fbfea492ba8ef3764d9dc079 08-Feb-2013 Alex Ray <aray@google.com> libhardware: Add camera_info typedef

Change-Id: I67ce80c886723d4dba7f799b6b135aa7026c2187
/hardware/libhardware/include/hardware/camera_common.h
d76f8af6d4d79e22d9a924710e5d8444c8e4ed8f 14-Feb-2013 Eino-Ville Talvala <etalvala@google.com> WIP: Camera HAL module 2.1, device 2.1

- Support a simple callback from camera HAL module to framework, to
indicate a change to module configuration or status.

- Add support for per-instance metadata to camera 2 device HAL.

Change-Id: I25699ff096c4f3578b9e54c7e6e60ce2449adc82
/hardware/libhardware/include/hardware/camera_common.h
d2a877536a1fe22101cf40def1b6d07e35c3868a 28-Nov-2012 Eino-Ville Talvala <etalvala@google.com> Camera device HAL 3.0

- High-level behavior is identical to device HAL 2.0
- Interface is cleaned up and simplified greatly

Change-Id: Ia867bbf9484be2256470f4acfab7fc3d47e408f4
/hardware/libhardware/include/hardware/camera_common.h
18dff4eb6311b4c34f2df73561c3a812a5f917cd 14-Feb-2013 Alex Ray <aray@google.com> Revert "libhardware: Add camera_info typedef"

This reverts commit 71cb21980a8f6a7ab3b5f86b6d81e8584769f489.
/hardware/libhardware/include/hardware/camera_common.h
71cb21980a8f6a7ab3b5f86b6d81e8584769f489 08-Feb-2013 Alex Ray <aray@google.com> libhardware: Add camera_info typedef

Change-Id: Icfc0b2dc7739313a6266938f0e2b46fa823ba61e
/hardware/libhardware/include/hardware/camera_common.h
b8b6439598ecc5faecfce8d43f3418b057714b4c 24-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Make static_camera_characteristics const.

Disallow modification to static characteristics structure, and clarify
ownership and lifetime of the structure.

Also update test code accordingly.

Bug: 6243944
Change-Id: I6921d6889937212867efb99aa3881ab3ffc4f6f9
/hardware/libhardware/include/hardware/camera_common.h
dde2a9d4b5129fa836d211a75f0040bf552c94c9 26-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Revert "Camera2: Make static_camera_characteristics const."

Needs a third change that's not yet done with review.

This reverts commit c9ec8a656b59912f496880d3a63c0decd490f09d

Change-Id: Ic3e465e1308cbf107a250ec17b73a59a35e52f9f
/hardware/libhardware/include/hardware/camera_common.h
d959ec5297c19b9b8f1760c9237030bf931b5803 24-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Make static_camera_characteristics const.

Disallow modification to static characteristics structure, and clarify
ownership and lifetime of the structure.

Also update test code accordingly.

Bug: 6243944
Change-Id: Ib8de5e9d6580187b21a5ae9a28a3d24f1d083f7b
/hardware/libhardware/include/hardware/camera_common.h
e911e4c160a2569efeb4a83bb3a73daa49bc927a 28-Mar-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Add specific version number constants to Camera HAL."
ddc026e39344169f64f4696174a4d1269d069557 28-Mar-2012 Eino-Ville Talvala <etalvala@google.com> Add specific version number constants to Camera HAL.

These constants should be used by HAL implementations to indicate
which versions of the module and device APIs they support.

Change-Id: I4b6eae278481545694e6a1827833b5958c26720c
/hardware/libhardware/include/hardware/camera_common.h
d0ca70d834f4c69bf798b5ac6a47a20f0ba908d1 27-Mar-2012 James Dong <jdong@google.com> Fixed an incorrect path for the include header file in a comment

Change-Id: I9c6f76279b54c2de66a31f751afc9222c345eb47
/hardware/libhardware/include/hardware/camera_common.h
8bf364ef20331ebcc23b1f72121434a98bc5c567 22-Dec-2011 Eino-Ville Talvala <etalvala@google.com> Reorganize camera HAL, and add versioning support.

Includes a draft of camera device HAL 2.

Change-Id: I5f56a8c54a33d0ca039360185822a9c22436cab8
/hardware/libhardware/include/hardware/camera_common.h