Searched refs:cur_ratio (Results 1 – 2 of 2) sorted by relevance
254 double cur_ratio, expected_ratio; in getMatchingDimension() local256 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()
13307 double cur_ratio = (double)scale_tbl[i].width / (double)scale_tbl[i].height; in checkScaleSizeTable() local13308 if (fabs(supported_ratio - cur_ratio) > ASPECT_TOLERANCE) { in checkScaleSizeTable()