OSDN Git Service

Revise camera HAL 2, and add unit test skeleton.
authorEino-Ville Talvala <etalvala@google.com>
Thu, 22 Mar 2012 20:11:05 +0000 (13:11 -0700)
committerEino-Ville Talvala <etalvala@google.com>
Wed, 11 Apr 2012 18:23:31 +0000 (11:23 -0700)
commitfed0c0244b569e0bae4280af145a94ef3b1a1468
treeecfe0c5b13cdfccbede81d79fbab4060a8b00731
parentc65a2fe3925f46b4d4301cef97b308dbc3e22da9
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
include/hardware/camera2.h
tests/camera2/Android.mk [new file with mode: 0644]
tests/camera2/camera2.cpp [new file with mode: 0644]