Home
last modified time | relevance | path

Searched refs:rightCutRatio (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp477 float& rightCutRatio, float& bottomCutRatio, int orient) { in calc_cut() argument
479 swap(leftCutRatio, rightCutRatio); in calc_cut()
488 topCutRatio = rightCutRatio; in calc_cut()
489 rightCutRatio = bottomCutRatio; in calc_cut()
576 float leftCutRatio = 0.0f, rightCutRatio = 0.0f, topCutRatio = 0.0f, in calculate_crop_rects() local
585 rightCutRatio = (float)(dst_r - sci_r) / (float)dst_w; in calculate_crop_rects()
599 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
602 crop_r -= crop_w * rightCutRatio; in calculate_crop_rects()
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_utils.cpp428 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument
430 swap(leftCutRatio, rightCutRatio); in calc_cut()
439 topCutRatio = rightCutRatio; in calc_cut()
440 rightCutRatio = bottomCutRatio; in calc_cut()
527 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local
536 rightCutRatio = (double)(dst_r - sci_r) / (double)dst_w; in calculate_crop_rects()
550 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
553 crop_r -= crop_w * rightCutRatio; in calculate_crop_rects()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp955 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument
957 swap(leftCutRatio, rightCutRatio); in calc_cut()
966 topCutRatio = rightCutRatio; in calc_cut()
967 rightCutRatio = bottomCutRatio; in calc_cut()
1066 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local
1075 rightCutRatio = (double)(dst_r - sci_r) / (double)dst_w; in calculate_crop_rects()
1089 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1092 crop_r -= (int)round((double)crop_w * rightCutRatio); in calculate_crop_rects()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp915 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument
917 swap(leftCutRatio, rightCutRatio); in calc_cut()
926 topCutRatio = rightCutRatio; in calc_cut()
927 rightCutRatio = bottomCutRatio; in calc_cut()
1052 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local
1061 rightCutRatio = (double)(dst_r - sci_r) / (double)dst_w; in calculate_crop_rects()
1075 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1078 crop_r -= (int)round((double)crop_w * rightCutRatio); in calculate_crop_rects()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp1128 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument
1130 swap(leftCutRatio, rightCutRatio); in calc_cut()
1139 topCutRatio = rightCutRatio; in calc_cut()
1140 rightCutRatio = bottomCutRatio; in calc_cut()
1269 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local
1278 rightCutRatio = (double)(dst_r - sci_r) / (double)dst_w; in calculate_crop_rects()
1292 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1295 crop_r -= (int)round((double)crop_w * rightCutRatio); in calculate_crop_rects()