Home
last modified time | relevance | path

Searched refs:cur_ratio (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraCommon.cpp254 double cur_ratio, expected_ratio; in getMatchingDimension() local
256 cur_ratio = (double)cur_dim.width / (double)cur_dim.height; in getMatchingDimension()
258 if (fabs(cur_ratio - expected_ratio) > ASPECT_RATIO_TOLERANCE) { in getMatchingDimension()
259 if (cur_ratio < expected_ratio) { in getMatchingDimension()
268 expected_ratio, cur_ratio, exp_dim.width, exp_dim.height); in getMatchingDimension()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraParameters.cpp13307 double cur_ratio = (double)scale_tbl[i].width / (double)scale_tbl[i].height; in checkScaleSizeTable() local
13308 if (fabs(supported_ratio - cur_ratio) > ASPECT_TOLERANCE) { in checkScaleSizeTable()