OSDN Git Service

Camera2/3: Create JPEG stream unconditionally.
authorEino-Ville Talvala <etalvala@google.com>
Mon, 10 Jun 2013 22:12:01 +0000 (15:12 -0700)
committerEino-Ville Talvala <etalvala@google.com>
Tue, 11 Jun 2013 21:44:47 +0000 (14:44 -0700)
commita9c64a9398ac2e6173f99e252f305808a34cab1c
tree324ccc6b93f727f08febe50abe63d102ede9e6fa
parentba696bbff88d5627beaa0be95be78ba30138983d
Camera2/3: Create JPEG stream unconditionally.

Instead of creating the JPEG output stream only at first use,
create it at time of preview start. This is important for reducing
the first-capture latency on HAL3 devices, and for ZSL on them.

Bug: 9339858
Change-Id: I4296f706cfd151c47ef315149e87d01fe554aaa4
services/camera/libcameraservice/Camera2Client.cpp