atomisp: mt9e013: reduce preview's skip frame num to 0
authors <xiaolu.liu@intel.com>
Fri, 27 Apr 2012 12:36:40 +0000 (08:36 -0400)
committerbuildbot <buildbot@intel.com>
Sat, 28 Apr 2012 21:50:25 +0000 (14:50 -0700)
BZ: 31998

Previously when start preview, sensor told HAL to skip first 1 frames because 3A init param is not
valid in first 2 frames so they are green.

Now 3A init param invalid issue have been fixed. So don't need to skip frames.

This patch will work with HAL patch to total save ~67ms (33msx2) in launch2preview latency.
Signed-off-by: s <xiaolu.liu@intel.com>
Change-Id: Ibbe5f43f322a250e28a6c6c99a3ca069d64335a5
Reviewed-on: http://android.intel.com:8080/46545
Reviewed-by: Liu, Xiaolu <xiaolu.liu@intel.com>
Reviewed-by: Wada, Yoshio <yoshio.wada@intel.com>
Reviewed-by: Bhat, Sheethal <sheethal.bhat@intel.com>
Reviewed-by: Xia, Yu Y <yu.y.xia@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Hu, Gang A <gang.a.hu@intel.com>
Tested-by: Hu, Gang A <gang.a.hu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/media/video/mt9e013.c

index e3cd8a6..06374f2 100644 (file)
@@ -79,7 +79,8 @@ static struct mt9e013_resolution mt9e013_res_preview[] = {
                 .regs =        mt9e013_PREVIEW_30fps   ,
                 .bin_factor_x =        2,
                 .bin_factor_y =        2,
-                .skip_frames = 1,
+                .skip_frames = 0, /*change skip num from 1 to 0 after 3A init
+                                    param invalid issue fixed*/
        },
        {
                 .desc =        "WIDE_PREVIEW_30fps"    ,