BZ: 18089
sensor settings for 720p was wrong.
output size is smaller than reqiurement.
This is a quick and dirty hack that adds special case for
this particular problem in the resolution selection function.
Change-Id: I540f965e5b0301ed809fbcb0a5e334bad8472c6e
Orig-Change-Id: Icfc7061585a02fbf77f4be92c3a77a0f9d64c3ba
Signed-off-by: Lasse Kantola <lasse.kantola@intel.com>
Reviewed-on: http://android.intel.com:8080/27151
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Von Oerthel, Jurgen <jurgen.von.oerthel@intel.com>
Reviewed-by: Kaikumaa, Timo <timo.kaikumaa@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-on: http://android.intel.com:8080/29597
Reviewed-by: Lampila, KalleX <kallex.lampila@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: buildbot <buildbot@intel.com>
struct mt9e013_resolution *tmp_res = NULL;
s32 m = LARGEST_ALLOWED_RATIO_MISMATCH;
+ /* Quick-and-dirty hack related 720p FOV bug. */
+ if (w == 1552 && h == 880)
+ return 4; /* 720p_strong_dvs_30fps */
+
for (j = 0; j < 2; ++j) {
for (i = 0; i < N_RES; i++) {
tmp_res = &mt9e013_res[i];