Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp476 static inline void calc_cut(float& leftCutRatio, float& topCutRatio, in calc_cut() argument
482 swap(topCutRatio, bottomCutRatio); in calc_cut()
487 leftCutRatio = topCutRatio; in calc_cut()
488 topCutRatio = rightCutRatio; in calc_cut()
576 float leftCutRatio = 0.0f, rightCutRatio = 0.0f, topCutRatio = 0.0f, in calculate_crop_rects() local
590 topCutRatio = (float)(sci_t - dst_t) / (float)dst_h; in calculate_crop_rects()
599 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
601 crop_t += crop_h * topCutRatio; in calculate_crop_rects()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp954 static void calc_cut(double& leftCutRatio, double& topCutRatio, in calc_cut() argument
960 swap(topCutRatio, bottomCutRatio); in calc_cut()
965 leftCutRatio = topCutRatio; in calc_cut()
966 topCutRatio = rightCutRatio; in calc_cut()
1066 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local
1080 topCutRatio = (double)(sci_t - dst_t) / (double)dst_h; in calculate_crop_rects()
1089 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1091 crop_t += (int)round((double)crop_h * topCutRatio); in calculate_crop_rects()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp914 static void calc_cut(double& leftCutRatio, double& topCutRatio, in calc_cut() argument
920 swap(topCutRatio, bottomCutRatio); in calc_cut()
925 leftCutRatio = topCutRatio; in calc_cut()
926 topCutRatio = rightCutRatio; in calc_cut()
1053 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local
1067 topCutRatio = (double)(sci_t - dst_t) / (double)dst_h; in calculate_crop_rects()
1076 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1078 crop_t += (int)round((double)crop_h * topCutRatio); in calculate_crop_rects()