[PORT FROM R2] atomisp: camera burst capture speed stability issue.
authorziyux.jiang <ziyux.jiang@intel.com>
Thu, 17 Nov 2011 13:59:57 +0000 (21:59 +0800)
committerbuildbot <buildbot@intel.com>
Mon, 19 Dec 2011 13:31:36 +0000 (05:31 -0800)
commit640df87043a6ae5e51b0e02e64ee5a05a259559c
treef2dee33c1269eb47cb68f00df8c83e036ec0eedc
parentbcc4e0941eb743cad82ef956d9a9d5a92d1176ec
[PORT FROM R2] atomisp: camera burst capture speed stability issue.

BZ: 17272

previous yuv-ds algorithm is that the yuv-ds is enabled when
sensor.width > out.width*(1+10%) or sensor.height > out.height*(1+10%).
if that, 6M will be cropped first and then did yuv-ds.
so now we change yuv-ds algorithm to be that the yuv-ds is enabled
when sensor.width > out.width*(1+10%) and sensor.height > out.height*(1+10%).
if that, 6M only will be cropped and no yuv-ds is needed.

Change-Id: If0fbec87b03c8f600df1c6c58ac040af1d51cd10
Orig-Change-Id: I72026f545cf0feee958d357dc59ba4b38f760207
Signed-off-by: ziyux.jiang <ziyux.jiang@intel.com>
Reviewed-on: http://android.intel.com:8080/24347
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Reviewed-by: Hu, Gang A <gang.a.hu@intel.com>
Reviewed-by: Tao, Jing <jing.tao@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Reviewed-on: http://android.intel.com:8080/28012
Reviewed-by: Tuominen, TeemuX <teemux.tuominen@intel.com>
drivers/media/video/atomisp/atomisp_cmd.c