OSDN Git Service

Camera2: Increase zoom steps.
authorEino-Ville Talvala <etalvala@google.com>
Fri, 7 Sep 2012 01:08:16 +0000 (18:08 -0700)
committerEino-Ville Talvala <etalvala@google.com>
Fri, 7 Sep 2012 01:08:16 +0000 (18:08 -0700)
10 is too low for smooth zoom; increase number to improve smoothness.

Bug: 7120794
Change-Id: I178cd3890ef37beeff97cadb9e92ceab6d2cad06

services/camera/libcameraservice/camera2/Parameters.h

index e71d086..509cc85 100644 (file)
@@ -141,7 +141,7 @@ struct Parameters {
     } state;
 
     // Number of zoom steps to simulate
-    static const unsigned int NUM_ZOOM_STEPS = 10;
+    static const unsigned int NUM_ZOOM_STEPS = 30;
 
     // Full static camera info, object owned by someone else, such as
     // Camera2Device.