Searched refs:topCutRatio (Results 1 - 3 of 3) sorted by relevance

/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_utils.cpp466 static inline void calc_cut(float& leftCutRatio, float& topCutRatio, argument
472 swap(topCutRatio, bottomCutRatio);
477 leftCutRatio = topCutRatio;
478 topCutRatio = rightCutRatio;
568 float leftCutRatio = 0.0f, rightCutRatio = 0.0f, topCutRatio = 0.0f, local
582 topCutRatio = (float)(sci_t - dst_t) / (float)dst_h;
591 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient);
593 crop_t += crop_h * topCutRatio;
/hardware/qcom/display/msm8974/libhwcomposer/
H A Dhwc_utils.cpp427 static void calc_cut(double& leftCutRatio, double& topCutRatio, argument
433 swap(topCutRatio, bottomCutRatio);
438 leftCutRatio = topCutRatio;
439 topCutRatio = rightCutRatio;
529 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, local
543 topCutRatio = (double)(sci_t - dst_t) / (double)dst_h;
552 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient);
554 crop_t += crop_h * topCutRatio;
/hardware/qcom/display/msm8x26/libhwcomposer/
H A Dhwc_utils.cpp426 static inline void calc_cut(float& leftCutRatio, float& topCutRatio, argument
432 swap(topCutRatio, bottomCutRatio);
437 leftCutRatio = topCutRatio;
438 topCutRatio = rightCutRatio;
528 float leftCutRatio = 0.0f, rightCutRatio = 0.0f, topCutRatio = 0.0f, local
542 topCutRatio = (float)(sci_t - dst_t) / (float)dst_h;
551 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient);
553 crop_t += crop_h * topCutRatio;

Completed in 10 milliseconds