OSDN Git Service

Defer the ZSL stream by 500 ms
authorPaul Rohde <codelogic@google.com>
Wed, 1 Apr 2015 18:14:37 +0000 (11:14 -0700)
committerPaul Rohde <codelogic@google.com>
Thu, 2 Apr 2015 17:55:22 +0000 (10:55 -0700)
commitffae1b53110ddae98b810bdb9a5c9dc210d96551
tree3544ddc577010eb36ef6c1599ca81cc8184a0c96
parentd03edd0bad7f888200cdb3e060ac2013adb2dedc
Defer the ZSL stream by 500 ms

This forces the preview to start before the ZSL stream is
attached, and then attaches the ZSL stream to the repeating
request after a 500ms delay to give the system time to allocate
the underlying buffers for the ZSL image readers.

Bug: 19076469
Change-Id: I75ea28ead5b009e0f65f5f00c0522bcb2219cb22
src/com/android/camera/one/v2/SimpleOneCameraFactory.java
src/com/android/camera/one/v2/ZslOneCameraFactory.java
src/com/android/camera/one/v2/commands/zsl/BasicPreviewCommandFactory.java [new file with mode: 0644]
src/com/android/camera/one/v2/commands/zsl/PreviewCommandFactory.java [new file with mode: 0644]
src/com/android/camera/one/v2/commands/zsl/ZslPreviewCommand.java [new file with mode: 0644]
src/com/android/camera/one/v2/commands/zsl/ZslPreviewCommandFactory.java [new file with mode: 0644]
src/com/android/camera/one/v2/common/BasicCameraFactory.java