Home
last modified time | relevance | path

Searched refs:leftCutRatio (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp476 static inline void calc_cut(float& leftCutRatio, float& topCutRatio, in calc_cut() argument
479 swap(leftCutRatio, rightCutRatio); in calc_cut()
486 float tmpCutRatio = leftCutRatio; in calc_cut()
487 leftCutRatio = topCutRatio; in calc_cut()
576 float leftCutRatio = 0.0f, rightCutRatio = 0.0f, topCutRatio = 0.0f, in calculate_crop_rects() local
580 leftCutRatio = (float)(sci_l - dst_l) / (float)dst_w; in calculate_crop_rects()
599 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
600 crop_l += crop_w * leftCutRatio; in calculate_crop_rects()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp954 static void calc_cut(double& leftCutRatio, double& topCutRatio, in calc_cut() argument
957 swap(leftCutRatio, rightCutRatio); in calc_cut()
964 double tmpCutRatio = leftCutRatio; in calc_cut()
965 leftCutRatio = topCutRatio; in calc_cut()
1066 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local
1070 leftCutRatio = (double)(sci_l - dst_l) / (double)dst_w; in calculate_crop_rects()
1089 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1090 crop_l += (int)round((double)crop_w * leftCutRatio); in calculate_crop_rects()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp914 static void calc_cut(double& leftCutRatio, double& topCutRatio, in calc_cut() argument
917 swap(leftCutRatio, rightCutRatio); in calc_cut()
924 double tmpCutRatio = leftCutRatio; in calc_cut()
925 leftCutRatio = topCutRatio; in calc_cut()
1053 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local
1057 leftCutRatio = (double)(sci_l - dst_l) / (double)dst_w; in calculate_crop_rects()
1076 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1077 crop_l += (int)round((double)crop_w * leftCutRatio); in calculate_crop_rects()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp1129 static void calc_cut(double& leftCutRatio, double& topCutRatio, in calc_cut() argument
1132 swap(leftCutRatio, rightCutRatio); in calc_cut()
1139 double tmpCutRatio = leftCutRatio; in calc_cut()
1140 leftCutRatio = topCutRatio; in calc_cut()
1271 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local
1275 leftCutRatio = (double)(sci_l - dst_l) / (double)dst_w; in calculate_crop_rects()
1294 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1295 crop_l += (int)round((double)crop_w * leftCutRatio); in calculate_crop_rects()