Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp477 float& rightCutRatio, float& bottomCutRatio, int orient) { in calc_cut() argument
482 swap(topCutRatio, bottomCutRatio); in calc_cut()
489 rightCutRatio = bottomCutRatio; in calc_cut()
490 bottomCutRatio = tmpCutRatio; in calc_cut()
577 bottomCutRatio = 0.0f; in calculate_crop_rects() local
595 bottomCutRatio = (float)(dst_b - sci_b) / (float)dst_h; in calculate_crop_rects()
599 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
603 crop_b -= crop_h * bottomCutRatio; in calculate_crop_rects()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp955 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument
960 swap(topCutRatio, bottomCutRatio); in calc_cut()
967 rightCutRatio = bottomCutRatio; in calc_cut()
968 bottomCutRatio = tmpCutRatio; in calc_cut()
1067 bottomCutRatio = 0.0; in calculate_crop_rects() local
1085 bottomCutRatio = (double)(dst_b - sci_b) / (double)dst_h; in calculate_crop_rects()
1089 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1093 crop_b -= (int)round((double)crop_h * bottomCutRatio); in calculate_crop_rects()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp915 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument
920 swap(topCutRatio, bottomCutRatio); in calc_cut()
927 rightCutRatio = bottomCutRatio; in calc_cut()
928 bottomCutRatio = tmpCutRatio; in calc_cut()
1054 bottomCutRatio = 0.0; in calculate_crop_rects() local
1072 bottomCutRatio = (double)(dst_b - sci_b) / (double)dst_h; in calculate_crop_rects()
1076 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1080 crop_b -= (int)round((double)crop_h * bottomCutRatio); in calculate_crop_rects()