History log of /packages/apps/Camera2/src/com/android/camera/one/v2/commands/ZslPreviewCommand.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7e39f8b015985fc0e539e14c193286065b5e51d4 09-May-2015 Pengchong Jin <pengchong@google.com> WAR of the face detection failure

This patch gives a work-around of the face detection failure that
occurs when the ZSL camera is used. It forces to request a preview
frame followed by a 5-frame ZSL burst before requesting the repeated
preview and ZSL streams. It also hides the first preview frame in order
to avoid potential janks. We do this only for L, Nexus 6 and Haleakala.

Bug: 20724126

Change-Id: I40b7861e07570ed53135b2d8d182b65c5799adac
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/ZslPreviewCommand.java
5f1f618eb3df6b9a2f8554e97e8410467b642653 15-Apr-2015 Paul Rohde <codelogic@google.com> Send a warmup burst to the camera before attaching the preview.

This reduces startup jank by submitting a warmup burst of n
frames to the camera before the preview surface is attached to
the camera. This ensures the large internal buffers are
allocated by the HAL before the preview stream is attached. The
change will delay the preview by n frames in exchange for a
smoother preview once the preview is actually shown.

Bug: 19076469

Change-Id: I5abb8b49a64c35686c014001a45239f4eccfe34d
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/ZslPreviewCommand.java