Lines Matching refs:dst_ratio
3593 float dst_ratio = 1.0f;3599 dst_ratio = (float)dst_w / (float)dst_h;3601 if (src_ratio != dst_ratio) {3602 if (src_ratio <= dst_ratio) {3605 *crop_h = src_w / dst_ratio;3606 } else { //(src_ratio > dst_ratio)3608 *crop_w = src_h * dst_ratio;