Home | History | Annotate | Download | only in libhwcomposer

Lines Matching refs:topCutRatio

426 static inline void calc_cut(float& leftCutRatio, float& topCutRatio,
432 swap(topCutRatio, bottomCutRatio);
437 leftCutRatio = topCutRatio;
438 topCutRatio = rightCutRatio;
528 float leftCutRatio = 0.0f, rightCutRatio = 0.0f, topCutRatio = 0.0f,
542 topCutRatio = (float)(sci_t - dst_t) / (float)dst_h;
551 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient);
553 crop_t += crop_h * topCutRatio;