History log of /hardware/libhardware/include/hardware/camera2.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/camera2.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/camera2.h
cecacd4e71c35fd50dbe1e9855cbab0faa17b550 28-Sep-2012 Alex Ray <aray@google.com> Camera2: Change JPEG transport header

The way buffers are passed to JPEG encoders makes it difficult to
account for a header offset. This explains moving the header to
the end, and clarifies the required header packing.

Bug: 7108816
Change-Id: I569cd0cde37bd6fd7110fbc95d7fced9a55cff9c
/hardware/libhardware/include/hardware/camera2.h
ada3a97820dd48d513350d1365a3040d570bab6e 19-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add JPEG transport header

To simplify passing compressed JPEG data between the HAL and the
camera service, add a transport header for use with JPEG streams.

Bug: 7108816
Change-Id: I91060051f59032e66eaaab3ee9f651badd1f2ac0
/hardware/libhardware/include/hardware/camera2.h
9633d506b798cfd44172f467b59b2305b19b9b00 14-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add CAMERA2_HAL_PIXEL_FORMAT_ZSL temporarily.

Until all HAL implementations move to the new gralloc format selection
scheme, define FORMAT_ZSL for indicating ZSL streams.

Bug: 6243944
Change-Id: I90249beaaca5da80c9464eedd6aa9d3648bb56cc
/hardware/libhardware/include/hardware/camera2.h
7f8dd0ad2d3d40b57c8359971a351fd194668613 04-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Revert "Revert "Add reprocess method, redefine gralloc ZSL usage flag""

Missing project ready to go.

This reverts commit 536148699beffcc4e6a2ced7c41fbbc3bcfa9886

Change-Id: I101343b443be6febe160685de6d72ddbf7e6aea5
/hardware/libhardware/include/hardware/camera2.h
3b98ffb168119f657befb1e3204183401ef4fd4f 04-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Revert "Add reprocess method, redefine gralloc ZSL usage flag"

More dependent projects than I realized

This reverts commit 7fa4a7e706cd8da0a4fd6722ff3b00b8088a01ae

Change-Id: I813ffde0f8d602fd6d75186bf82e93c7ffed9a9a
/hardware/libhardware/include/hardware/camera2.h
70d87bf07ecd686a2860980fb8e7d18fb2312dbd 31-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Add reprocess method, redefine gralloc ZSL usage flag

- Camera2: Add allocate_reprocess_stream_from_stream for ZSL usecases
- Gralloc: Make GRALLOC_USAGE_HW_CAMERA_ZSL be simply
GRALLOC_USAGE_HW_CAMERA_READ | GRALLOC_USAGE_HW_CAMERA_WRITE
- Gralloc: Add GRALLOC_USAGE_HW_CAMERA_MASK

Change-Id: Icd8ac1f786e3adb6a422f27f03a5a4cb04a815cc
/hardware/libhardware/include/hardware/camera2.h
2388a2dc91979364d96e49456b189f904f0267f3 28-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED

Align camera2's management of platform-opaque formats with rest of
framework. Instead of using CAMERA2_PIXEL_FORMAT_OPAQUE, use
HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED as the format for both the
camera HAL and for gralloc, and depend on the gralloc usage flags to
let the gralloc module select the appropriate real format for specific
stream endpoints.

Add a new gralloc usage for ZSL mode, where the camera service will
hold a streaming circular buffer of opaque full-resolution images
during camera preview. Since this is an opaque format that needs to be
optimized for 30fps operation, need gralloc to be aware of this use
case.

Bug: 6243944
Change-Id: If7f2516649381ce9bcffe4e319b63cbc068f643f
/hardware/libhardware/include/hardware/camera2.h
f7a60c464a03f251deb87489d48d2249e6d31ff2 03-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add ZSL pixel format, AF CANCEL trigger, lots of docs

- Add CAMERA2_HAL_PIXEL_FORMAT_ZSL
- Add CAMERA2_TRIGGER_CANCEL_AUTOFOCUS
- Add documentation to describe how AUTOFOCUS and CANCEL_AUTOFOCUS
triggers interact with AF state, mode, and notifications.
- Other minor edits

Bug: 6243944
Change-Id: I679c40cfe08e62d3a5851839f748fe2292bbfae7
/hardware/libhardware/include/hardware/camera2.h
fa7a91d3d2a7f99612446f61beb29cc9e215d0ba 22-May-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add JPEG capture test.

Bug: 6243944
Change-Id: Ifdf16f34b13df1e5bfe501eb7e6083862c71240a
/hardware/libhardware/include/hardware/camera2.h
08a6e5e374c57361275173e18eea120587627adf 18-May-2012 Eino-Ville Talvala <etalvala@google.com> I am a HAL of constant structure.

Bug: 6243944
Change-Id: I126313f75f5f7165d3ca96f52054866c4fb6bee0
/hardware/libhardware/include/hardware/camera2.h
6adfd6b8ce32f042d001296f08e5b439af2635c1 15-May-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add test for construct_default_request.

Bug: 6243944
Change-Id: I59b03d7ebece2a4b7672b265bd9f960b3faea621
/hardware/libhardware/include/hardware/camera2.h
567b4a24fa9fedf0086af5e0bb8e45bd3294bc9d 23-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Substantial cleanup of camera2 HAL, and some initial unit tests

- Clean up const/struct usage in HAL
- Add user pointer to notify callback
- Revamp allocate_stream, now it picks its own ID.
- Much simpler stream interface
- Merged request/reprocess input queues
- Frame queue interface no longer a mirror of request queue
- Added triggers/notifications
- Added default request creation
- Lots of comments

Unit tests added:

- Lots of utility code to speed up test writing
- Basic open/close
- Capturing 1 raw buffer (request input, frame output, buffer output)
- Capturing a burst of 10 raw buffers

Bug: 6243944
Change-Id: I490bd5df81079a44c43d87b02c9a7f7ca251f531
/hardware/libhardware/include/hardware/camera2.h
fed0c0244b569e0bae4280af145a94ef3b1a1468 22-Mar-2012 Eino-Ville Talvala <etalvala@google.com> Revise camera HAL 2, and add unit test skeleton.

- Add missing method in stream_ops (set_buffers_geometry)

- Remove extra method in stream_ops (set_swap_interval)

- Document metadata queue protocol

- Change metadata queue methods to be set/get through function calls
only, instead of a struct member in the HAL device ops.

- Change vendor extension tag query methods to be retrieved by a get
call, instead of a struct member in the HAL device ops.

- Add basic gtest unit test skeleton, which currently just returns
static info from all camera devices.

Change-Id: I94117097b0243023ad60638070cc7f0cefec18e6
/hardware/libhardware/include/hardware/camera2.h
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/camera2.h
daacbf40167040991382009523cb29a60b02abf2 22-Mar-2012 Eino-Ville Talvala <etalvala@google.com> Fix camera2.h header.

Change-Id: Ibcc93279da2180743d7bbe2561f2bf10879ae08e
/hardware/libhardware/include/hardware/camera2.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/camera2.h