Lines Matching refs:topCutRatio
427 static void calc_cut(double& leftCutRatio, double& topCutRatio,
433 swap(topCutRatio, bottomCutRatio);
438 leftCutRatio = topCutRatio;
439 topCutRatio = rightCutRatio;
529 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0,
543 topCutRatio = (double)(sci_t - dst_t) / (double)dst_h;
552 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient);
554 crop_t += crop_h * topCutRatio;