These constants should be used by HAL implementations to indicate
which versions of the module and device APIs they support.
Change-Id: I4b6eae278481545694e6a1827833b5958c26720c
At higher levels, SurfaceTextures include timestamp information in
their buffers. For accurate timestamps, they need to be set by the
driver code. This change adds the needed method into
preview_stream_ops.
Timestamp behavior is documented in SurfaceTexture.java, and
system/core/include/window.h, as well as here.
Bug-Id: 5081132
Change-Id: Id285f8e26edecf605444bc4b9e6eea9b224f9d31
Giving HAL control of locking buffer instead of locking in dequeue buffer.
Change-Id: I2640b784218fa67ccb051c13b24f2d3dda48ce9a
Signed-off-by: Iliyan Malchev <malchev@google.com>
-- add a callback to camera_memory_t that can be used to free the requested
memory
-- memory requests are in the form of N buffers S bytes each
-- data callbacks pass an index to a buffer in addition to the camera_memory
pointer
Change-Id: I368139809f25a662d8895f205e3b87fa5046a4b2
Signed-off-by: Iliyan Malchev <malchev@google.com>
camera.h
-- a HAL module for the camera, camera_module_t, which can be queried for the
number and orientation of the available camera sensors. A camera sensor is
also opened through this module, and is represented by:
-- a HAL device for each camera sensor, camera_device_t, which encapsulates all
the functionality of the base class CameraHardwareInterface;
Change-Id: I79a9524ceeafc4275581c009d7b9c0fa05eed764
Signed-off-by: Iliyan Malchev <malchev@google.com>