Home | History | Annotate | Download | only in HAL

Lines Matching refs:ratio

726  * DESCRIPTION: create string obj contains array of zoom ratio values
1162 // that has same preview aspect ratio
1168 double ratio = (double)livesnapshot_sizes_tbl[i].width /
1170 if (fabs(previewAspectRatio - ratio) <= ASPECT_TOLERANCE) {
1180 ALOGI("%s: Cannot find matching aspect ratio, choose max of preview or video size", __func__);
1291 // Try to find a size matches aspect ratio and has the largest width
1297 double ratio =
1299 if (fabs(ratio - picAspectRatio) > ASPECT_TOLERANCE) {