Home
last modified time | relevance | path

Searched refs:rightCutRatio (Results 1 – 4 of 4) 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/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()
1053 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local
1062 rightCutRatio = (double)(dst_r - sci_r) / (double)dst_w; in calculate_crop_rects()
1076 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1079 crop_r -= (int)round((double)crop_w * rightCutRatio); in calculate_crop_rects()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp1130 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument
1132 swap(leftCutRatio, rightCutRatio); in calc_cut()
1141 topCutRatio = rightCutRatio; in calc_cut()
1142 rightCutRatio = bottomCutRatio; in calc_cut()
1271 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local
1280 rightCutRatio = (double)(dst_r - sci_r) / (double)dst_w; in calculate_crop_rects()
1294 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1297 crop_r -= (int)round((double)crop_w * rightCutRatio); in calculate_crop_rects()