OSDN Git Service

camera2: Fix video snapshot for HAL 2.* devices.
authorRuben Brunk <rubenbrunk@google.com>
Tue, 9 Sep 2014 23:20:53 +0000 (16:20 -0700)
committerRuben Brunk <rubenbrunk@google.com>
Tue, 9 Sep 2014 23:20:53 +0000 (16:20 -0700)
commit6551e1ede59f4a3043fb141159ca67bd2c85a911
tree53caae10974c1c2ec1461e22acd9daa4e1d37dc4
parent767fc12e58422eef14aa40a5e7ffefd0b3949b82
camera2: Fix video snapshot for HAL 2.* devices.

Bug: 15408128

- Lazily destroy ZSL stream when ZslProcessor is updated, or
  when the camera client is disconnected, allowing HAL 2.*
  devices that rely on the ZSL stream to capture video snapshots
  to function correctly.

Change-Id: Ia5cf14c62acda4d9c640440dc5b8e0796dc0b3fa
services/camera/libcameraservice/Android.mk
services/camera/libcameraservice/api1/Camera2Client.cpp
services/camera/libcameraservice/api1/client2/ZslProcessor.cpp
services/camera/libcameraservice/api1/client2/ZslProcessor.h
services/camera/libcameraservice/api1/client2/ZslProcessorInterface.cpp [new file with mode: 0644]
services/camera/libcameraservice/api1/client2/ZslProcessorInterface.h